CN111818377A - A kind of control method of multimedia unit, electronic equipment and remote control device - Google Patents
A kind of control method of multimedia unit, electronic equipment and remote control device Download PDFInfo
- Publication number
- CN111818377A CN111818377A CN202010658158.3A CN202010658158A CN111818377A CN 111818377 A CN111818377 A CN 111818377A CN 202010658158 A CN202010658158 A CN 202010658158A CN 111818377 A CN111818377 A CN 111818377A
- Authority
- CN
- China
- Prior art keywords
- pairing
- remote control
- control device
- electronic device
- random code
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
- H04N21/42206—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
- H04N21/42221—Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
- H04N21/42206—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
- H04N21/42222—Additional components integrated in the remote control device, e.g. timer, speaker, sensors for detecting position, direction or movement of the remote control, microphone or battery charging device
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Selective Calling Equipment (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种多媒体单元的控制方法、电子设备和遥控装置。The present invention relates to the technical field of communication, and in particular, to a control method of a multimedia unit, an electronic device and a remote control device.
背景技术Background technique
目前,智能电视上普遍配置有摄像头,在使用摄像头的过程中需要保护用户的隐私。相关技术中针对带有摄像头的产品的隐私保护方案主要包括在在智能电视上增加物理开关以控制摄像头开关,或者对摄像头进行物理遮挡,但上述方案不便于用户操作。At present, smart TVs are generally equipped with cameras, and users' privacy needs to be protected in the process of using the cameras. The privacy protection solutions for products with cameras in the related art mainly include adding a physical switch on the smart TV to control the camera switch, or physically blocking the camera, but the above solutions are inconvenient for users to operate.
发明内容SUMMARY OF THE INVENTION
本发明提供一种多媒体单元的控制方法、电子设备和遥控装置,为用户在操作上提供了极大的便利性。The present invention provides a control method, electronic device and remote control device for a multimedia unit, which provide great convenience for users in operation.
第一方面,本发明实施例提供了一种图像显示方法,应用于电子设备,包括:In a first aspect, an embodiment of the present invention provides an image display method, applied to an electronic device, including:
接收遥控装置发送的解锁指令,解锁指令包括随机码;Receive the unlocking instruction sent by the remote control device, and the unlocking instruction includes a random code;
判断存储的随机码和解锁指令中的随机码是否一致;Determine whether the stored random code is consistent with the random code in the unlock instruction;
若判断出存储的随机码和解锁指令中的随机码一致,根据解锁指令控制多媒体单元解锁。If it is determined that the stored random code is consistent with the random code in the unlocking instruction, the multimedia unit is controlled to be unlocked according to the unlocking instruction.
在一种可能的实现方式中,接收遥控装置发送的解锁指令之前,还包括:In a possible implementation manner, before receiving the unlocking instruction sent by the remote control device, the method further includes:
接收遥控装置发送的锁闭指令,锁闭指令包括随机码;Receive the locking command sent by the remote control device, and the locking command includes a random code;
存储随机码;store random code;
根据锁闭指令控制多媒体单元锁闭。The multimedia unit is controlled to be locked according to the locking instruction.
在一种可能的实现方式中,还包括:In a possible implementation, it also includes:
接收遥控装置发送的配对请求;Receive the pairing request sent by the remote control device;
根据预先设置的通信协议与遥控装置进行配对;Pairing with the remote control device according to the preset communication protocol;
当与遥控装置配对成功时,向遥控装置发送配对成功消息,配对成功消息包括随机码;When pairing with the remote control device is successful, send a pairing success message to the remote control device, and the pairing success message includes a random code;
当与遥控装置配对失败时,向遥控装置发送配对失败消息。When pairing with the remote control device fails, a pairing failure message is sent to the remote control device.
在一种可能的实现方式中,还包括:In a possible implementation, it also includes:
当接收到配对请求时,记录第一开始时间点;When a pairing request is received, record the first start time point;
当与遥控装置配对成功时,记录第一完成时间点;When pairing with the remote control device is successful, record the first completion time point;
根据第一开始时间点和第一完成时间点,生成第一配对时间段;generating a first pairing time period according to the first start time point and the first completion time point;
判断第一配对时间段是否小于预设的配对时间阈值;determining whether the first pairing time period is less than a preset pairing time threshold;
若判断出第一配对时间段小于配对时间阈值,继续执行向遥控装置发送配对成功消息的步骤。If it is determined that the first pairing time period is less than the pairing time threshold, the step of sending a pairing success message to the remote control device is continued.
在一种可能的实现方式中,还包括:In a possible implementation, it also includes:
若判断出第一配对时间段大于或等于配对时间阈值,则向遥控装置发送配对失败消息。If it is determined that the first pairing time period is greater than or equal to the pairing time threshold, a pairing failure message is sent to the remote control device.
在一种可能的实现方式中,还包括:In a possible implementation, it also includes:
向遥控装置发送配对请求;Send a pairing request to the remote control;
接收遥控装置发送的配对成功消息;Receive the pairing success message sent by the remote control device;
向遥控装置发送随机码。Send a random code to the remote control.
在一种可能的实现方式中,多媒体单元包括摄像头或者麦克风。In a possible implementation manner, the multimedia unit includes a camera or a microphone.
第二方面,本发明实施例提供了一种多媒体单元的控制方法,应用于遥控装置,包括:In a second aspect, an embodiment of the present invention provides a method for controlling a multimedia unit, which is applied to a remote control device, including:
接收用户输入的解锁操作;Receive the unlock operation entered by the user;
响应于解锁操作,生成解锁指令,解锁指令包括随机码;In response to the unlocking operation, an unlocking instruction is generated, and the unlocking instruction includes a random code;
向电子设备发送解锁指令。Send an unlock instruction to the electronic device.
在一种可能的实现方式中,接收用户输入的解锁操作之前,还包括:In a possible implementation manner, before receiving the unlocking operation input by the user, the method further includes:
接收用户输入的锁闭操作;Receive user input for locking operations;
响应于锁闭操作生成随机码;generating a random code in response to a locking operation;
存储随机码;store random code;
响应于锁闭操作,生成锁闭指令,锁闭指令包括随机码;in response to the locking operation, generating a locking instruction, the locking instruction including a random code;
向电子设备发送锁闭指令。Send a lock command to the electronic device.
在一种可能的实现方式中,还包括:In a possible implementation, it also includes:
向电子设备发送配对请求;send a pairing request to an electronic device;
接收电子设备发送的配对成功消息,配对成功消息包括随机码;Receive a pairing success message sent by the electronic device, where the pairing success message includes a random code;
存储随机码。Store random codes.
在一种可能的实现方式中,还包括:In a possible implementation, it also includes:
接收电子设备发送的配对请求;Receive a pairing request sent by an electronic device;
根据预先设置的通信协议与电子设备进行配对;Pairing with electronic devices according to a preset communication protocol;
当与电子设备配对成功时,向电子设备发送配对成功消息;When pairing with the electronic device is successful, send a pairing success message to the electronic device;
接收电子设备发送的随机码;Receive random codes sent by electronic devices;
存储随机码;store random code;
当与电子设备配对失败时,向电子设备发送配对失败消息。When pairing with the electronic device fails, a pairing failure message is sent to the electronic device.
在一种可能的实现方式中,还包括:In a possible implementation, it also includes:
当接收到配对请求时,记录第二开始时间点;When receiving the pairing request, record the second start time point;
当与电子设备配对成功时,记录第二完成时间点;When pairing with the electronic device is successful, record the second completion time point;
根据第二开始时间点和第二完成时间点,生成第二配对时间段;generating a second pairing time period according to the second start time point and the second completion time point;
判断第二配对时间段是否小于预设的配对时间阈值;determining whether the second pairing time period is less than a preset pairing time threshold;
若判断出第二配对时间段小于配对时间阈值,继续执行向电子设备发送配对成功消息的步骤。If it is determined that the second pairing time period is less than the pairing time threshold, the step of sending a pairing success message to the electronic device is continued.
在一种可能的实现方式中,还包括:In a possible implementation, it also includes:
若判断出第二配对时间段大于或等于配对时间阈值,则向电子设备发送配对失败消息。If it is determined that the second pairing time period is greater than or equal to the pairing time threshold, a pairing failure message is sent to the electronic device.
第三方面,本发明实施例提供了一种电子设备,设备包括:In a third aspect, an embodiment of the present invention provides an electronic device, the device comprising:
显示屏;一个或多个多媒体单元;一个或多个第二处理器;第二存储器;多个应用程序;以及一个或多个计算机程序,其中一个或多个计算机程序被存储在第二存储器中,一个或多个计算机程序包括指令,当指令被设备执行时,使得电子设备执行以下步骤:a display screen; one or more multimedia units; one or more second processors; a second memory; a plurality of application programs; and one or more computer programs, wherein the one or more computer programs are stored in the second memory , the one or more computer programs include instructions that, when executed by the device, cause the electronic device to perform the following steps:
接收遥控装置发送的解锁指令,解锁指令包括随机码;Receive the unlocking instruction sent by the remote control device, and the unlocking instruction includes a random code;
判断存储的随机码和解锁指令中的随机码是否一致;Determine whether the stored random code is consistent with the random code in the unlock instruction;
若判断出存储的随机码和解锁指令中的随机码一致,根据解锁指令控制多媒体单元解锁。If it is determined that the stored random code is consistent with the random code in the unlocking instruction, the multimedia unit is controlled to be unlocked according to the unlocking instruction.
在一种可选的实现方式中,当指令被设备执行时,使得设备具体执行以下步骤:In an optional implementation manner, when the instruction is executed by the device, the device is caused to specifically perform the following steps:
接收遥控装置发送的锁闭指令,锁闭指令包括随机码;Receive the locking command sent by the remote control device, and the locking command includes a random code;
存储随机码;store random code;
根据锁闭指令控制多媒体单元锁闭。The multimedia unit is controlled to be locked according to the locking instruction.
在一种可选的实现方式中,当指令被设备执行时,使得设备具体执行以下步骤:In an optional implementation manner, when the instruction is executed by the device, the device is caused to specifically perform the following steps:
接收遥控装置发送的配对请求;Receive the pairing request sent by the remote control device;
根据预先设置的通信协议与遥控装置进行配对;Pairing with the remote control device according to the preset communication protocol;
当与遥控装置配对成功时,向遥控装置发送配对成功消息,配对成功消息包括随机码;When pairing with the remote control device is successful, send a pairing success message to the remote control device, and the pairing success message includes a random code;
当与遥控装置配对失败时,向遥控装置发送配对失败消息。When pairing with the remote control device fails, a pairing failure message is sent to the remote control device.
在一种可选的实现方式中,当指令被设备执行时,使得设备具体执行以下步骤:In an optional implementation manner, when the instruction is executed by the device, the device is caused to specifically perform the following steps:
当接收到配对请求时,记录第一开始时间点;When a pairing request is received, record the first start time point;
当与遥控装置配对成功时,记录第一完成时间点;When pairing with the remote control device is successful, record the first completion time point;
根据第一开始时间点和第一完成时间点,生成第一配对时间段;generating a first pairing time period according to the first start time point and the first completion time point;
判断第一配对时间段是否小于预设的配对时间阈值;determining whether the first pairing time period is less than a preset pairing time threshold;
若判断出第一配对时间段小于配对时间阈值,继续执行向遥控装置发送配对成功消息的步骤。If it is determined that the first pairing time period is less than the pairing time threshold, the step of sending a pairing success message to the remote control device is continued.
在一种可选的实现方式中,当指令被设备执行时,使得设备具体执行以下步骤:In an optional implementation manner, when the instruction is executed by the device, the device is caused to specifically perform the following steps:
若判断出第一配对时间段大于或等于配对时间阈值,则向遥控装置发送配对失败消息。If it is determined that the first pairing time period is greater than or equal to the pairing time threshold, a pairing failure message is sent to the remote control device.
在一种可选的实现方式中,当指令被设备执行时,使得设备具体执行以下步骤:In an optional implementation manner, when the instruction is executed by the device, the device is caused to specifically perform the following steps:
向遥控装置发送配对请求;Send a pairing request to the remote control;
接收遥控装置发送的配对成功消息;Receive the pairing success message sent by the remote control device;
向遥控装置发送随机码。。Send a random code to the remote control. .
第四方面,本发明实施例提供了一种遥控装置,装置包括:In a fourth aspect, an embodiment of the present invention provides a remote control device, the device comprising:
一个或多个第一处理器;第一存储器;多个应用程序;以及一个或多个计算机程序,其中一个或多个计算机程序被存储在第一存储器中,一个或多个计算机程序包括指令,当指令被设备执行时,使得遥控装置执行以下步骤:one or more first processors; a first memory; a plurality of application programs; and one or more computer programs, wherein the one or more computer programs are stored in the first memory, the one or more computer programs comprising instructions, When the command is executed by the device, the remote control device is caused to perform the following steps:
接收用户输入的解锁操作;Receive the unlock operation entered by the user;
响应于解锁操作,生成解锁指令,解锁指令包括随机码;In response to the unlocking operation, an unlocking instruction is generated, and the unlocking instruction includes a random code;
向电子设备发送解锁指令。Send an unlock instruction to the electronic device.
在一种可选的实现方式中,当指令被装置执行时,使得装置具体执行以下步骤:In an optional implementation manner, when the instruction is executed by the apparatus, the apparatus is caused to specifically perform the following steps:
接收用户输入的锁闭操作;Receive user input for locking operations;
响应于锁闭操作生成随机码;generating a random code in response to a locking operation;
存储随机码;store random code;
响应于锁闭操作,生成锁闭指令,锁闭指令包括随机码;in response to the locking operation, generating a locking instruction, the locking instruction including a random code;
向电子设备发送锁闭指令。Send a lock command to the electronic device.
在一种可选的实现方式中,当指令被装置执行时,使得装置具体执行以下步骤:In an optional implementation manner, when the instruction is executed by the apparatus, the apparatus is caused to specifically perform the following steps:
向电子设备发送配对请求;send a pairing request to an electronic device;
接收电子设备发送的配对成功消息,配对成功消息包括随机码;Receive a pairing success message sent by the electronic device, where the pairing success message includes a random code;
存储随机码。Store random codes.
在一种可选的实现方式中,当指令被装置执行时,使得装置具体执行以下步骤:In an optional implementation manner, when the instruction is executed by the apparatus, the apparatus is caused to specifically perform the following steps:
接收电子设备发送的配对请求;Receive a pairing request sent by an electronic device;
根据预先设置的通信协议与电子设备进行配对;Pairing with electronic devices according to a preset communication protocol;
当与电子设备配对成功时,向电子设备发送配对成功消息;When pairing with the electronic device is successful, send a pairing success message to the electronic device;
接收电子设备发送的随机码;Receive random codes sent by electronic devices;
存储随机码;store random code;
当与电子设备配对失败时,向电子设备发送配对失败消息。When pairing with the electronic device fails, a pairing failure message is sent to the electronic device.
在一种可选的实现方式中,当指令被装置执行时,使得装置具体执行以下步骤:In an optional implementation manner, when the instruction is executed by the apparatus, the apparatus is caused to specifically perform the following steps:
当接收到配对请求时,记录第二开始时间点;When receiving the pairing request, record the second start time point;
当与电子设备配对成功时,记录第二完成时间点;When pairing with the electronic device is successful, record the second completion time point;
根据第二开始时间点和第二完成时间点,生成第二配对时间段;generating a second pairing time period according to the second start time point and the second completion time point;
判断第二配对时间段是否小于预设的配对时间阈值;determining whether the second pairing time period is less than a preset pairing time threshold;
若判断出第二配对时间段小于配对时间阈值,继续执行向电子设备发送配对成功消息的步骤。If it is determined that the second pairing time period is less than the pairing time threshold, the step of sending a pairing success message to the electronic device is continued.
在一种可选的实现方式中,当指令被装置执行时,使得装置具体执行以下步骤:In an optional implementation manner, when the instruction is executed by the apparatus, the apparatus is caused to specifically perform the following steps:
若判断出第二配对时间段大于或等于配对时间阈值,则向电子设备发送配对失败消息。If it is determined that the second pairing time period is greater than or equal to the pairing time threshold, a pairing failure message is sent to the electronic device.
第五方面,本发明实施例提供了一种计算机可读存储介质,应用于电子设备,所述计算机可读存储介质用于设备执行的程序代码,所述程序代码包括用于执行第一方面或者第一方面的任一可能的实现方式中的方法的指令。In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, which is applied to an electronic device, where the computer-readable storage medium is used for program code executed by the device, and the program code includes a program code for executing the first aspect or Instructions for the method in any possible implementation of the first aspect.
第六方面,本发明实施例提供了一种计算机可读存储介质,应用于遥控装置,所述计算机可读存储介质用于装置执行的程序代码,所述程序代码包括用于执行第二方面或者第二方面的任一可能的实现方式中的方法的指令。In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, which is applied to a remote control device, where the computer-readable storage medium is used for program code executed by the device, and the program code includes a program code for executing the second aspect or Instructions for the method in any possible implementation of the second aspect.
本发明实施例提供的技术方案中,电子设备接收遥控装置发送的解锁指令,解锁指令包括随机码;若判断出存储的随机码和解锁指令中的随机码一致,根据解锁指令控制多媒体单元解锁;通过遥控装置对电子设备发送指令,不需要用户直接对电子设备操作,为用户在操作上提供了极大的便利性。In the technical solution provided by the embodiment of the present invention, the electronic device receives the unlocking instruction sent by the remote control device, and the unlocking instruction includes a random code; if it is determined that the stored random code is consistent with the random code in the unlocking instruction, the multimedia unit is controlled to unlock according to the unlocking instruction; Sending an instruction to the electronic device through the remote control device does not require the user to directly operate the electronic device, which provides great convenience for the user in operation.
【附图说明】【Description of drawings】
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1为本发明实施例提供的一种多媒体单元的控制系统的系统架构图;1 is a system architecture diagram of a control system for a multimedia unit provided by an embodiment of the present invention;
图2a为本发明实施例提供的一种遥控器的外观结构图;Fig. 2a is the appearance structure diagram of a kind of remote control provided by the embodiment of the present invention;
图2b为本发明实施例提供的物理开关的一种应用状态示意图;2b is a schematic diagram of an application state of a physical switch provided by an embodiment of the present invention;
图2c为本发明实施例提供的物理开关的另一种应用状态示意图FIG. 2c is a schematic diagram of another application state of the physical switch provided by the embodiment of the present invention
图3为本发明实施例提供的一种遥控装置的系统结构图;3 is a system structure diagram of a remote control device provided by an embodiment of the present invention;
图4为本发明实施例提供的一种电子设备的结构示意图,4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention,
图5为本发明实施例提供的一种电子设备的系统结构图;FIG. 5 is a system structure diagram of an electronic device according to an embodiment of the present invention;
图6为本发明实施例提供的一种多媒体单元的控制方法的流程图;6 is a flowchart of a method for controlling a multimedia unit according to an embodiment of the present invention;
图7为本发明实施例提供的一种电子设备与遥控装置配对的流程图;FIG. 7 is a flowchart of pairing an electronic device and a remote control device according to an embodiment of the present invention;
图8为本发明实施例提供的又一种电子设备与遥控装置配对的流程图。FIG. 8 is a flowchart of yet another electronic device pairing with a remote control device according to an embodiment of the present invention.
具体实施方式Detailed ways
为了更好的理解本发明的技术方案,下面结合附图对本发明实施例进行详细描述。In order to better understand the technical solutions of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
应当明确,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。It should be understood that the described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. As used in the embodiments of the present invention and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise.
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" used in this document is only an association relationship to describe the associated objects, indicating that there may be three kinds of relationships, for example, A and/or B, which may indicate that A exists alone, and A and B exist at the same time. B, there are three cases of B alone. In addition, the character "/" in this text generally indicates that the related objects are an "or" relationship.
应当理解,尽管在本发明实施例中可能采用术语第一、第二等来描述设定阈值,但这些设定阈值不应限于这些术语。这些术语仅用来将设定阈值彼此区分开。例如,在不脱离本发明实施例范围的情况下,第一设定阈值也可以被称为第二设定阈值,类似地,第二设定阈值也可以被称为第一设定阈值。It should be understood that although the terms first, second, etc. may be used to describe the set thresholds in the embodiments of the present invention, these set thresholds should not be limited to these terms. These terms are only used to distinguish set thresholds from one another. For example, without departing from the scope of the embodiments of the present invention, the first set threshold may also be referred to as the second set threshold, and similarly, the second set threshold may also be referred to as the first set threshold.
目前,市场上带有摄像头的电子设备层出不穷,配置有摄像头的电子设备给用户的学习和娱乐带来便利的同时,对用户的隐私也存在一定的暴露风险。为解决用户的隐私安全问题,行业内在电子设备上增加了隐私保护方案。At present, electronic devices with cameras are emerging in an endless stream on the market. While electronic devices equipped with cameras bring convenience to users' learning and entertainment, they also present a certain risk of exposure to users' privacy. In order to solve the privacy and security issues of users, the industry has added privacy protection solutions to electronic devices.
一种相关技术中,可通过在电子设备上设置物理开关以控制摄像头的方式实现对用户隐私的保护。摄像头包括升降式摄像头,用户可根据需要开启或关闭物理开关,以控制摄像头的升降。若用户开启物理开关,则摄像头处于解锁状态时,摄像头从电子设备内部升起;若用户关闭物理开关,则摄像头处于锁闭状态时,摄像头降至电子设备内部,此时无法再通过其它应用程序调用摄像头,除非用户开启物理开关。但是,由于物理开关设置于电子设备上,且用户在使用摄像头时与电子设备的距离通常较远,用户无法原地不动对电子设备上的物理开关进行操作,需移动至电子设备所在位置并对电子设备上的物理开关进行操作,因此这种方式不便于用户对物理开关进行操作。再者,将物理开关设置于电子设备上会影响电子设备的美观度,导致电子设备的视觉效果较差。In a related art, the protection of user privacy can be achieved by setting a physical switch on the electronic device to control the camera. The camera includes a lift-type camera, and the user can turn on or off a physical switch as needed to control the lift of the camera. If the user turns on the physical switch, when the camera is in the unlocked state, the camera rises from the inside of the electronic device; if the user turns off the physical switch, when the camera is in the locked state, the camera falls to the inside of the electronic device, and no other applications can be used at this time. Invoke the camera unless the user turns on a physical switch. However, since the physical switch is installed on the electronic device, and the user is usually far away from the electronic device when using the camera, the user cannot operate the physical switch on the electronic device without moving, and needs to move to the location of the electronic device and The physical switch on the electronic device is operated, so it is inconvenient for the user to operate the physical switch. Furthermore, arranging the physical switch on the electronic device will affect the aesthetics of the electronic device, resulting in poor visual effect of the electronic device.
另一种相关技术中,可通过在摄像头上增加遮挡片的方式实现对用户隐私的保护。其中,遮挡片可包括滑片、挡片或粘贴磁吸。当用户使用摄像头时,可以移开遮挡片以暴露出摄像头;当用户关闭摄像头时,可以通过遮挡片直接遮挡住摄像头的镜头,使得摄像头无法进行正常成像,以此来保护用户隐私。但是,遮挡片是设置在摄像头上的,因此需要用户足够靠近电子设备才能够对遮挡片进行操作,便利性较差,也会影响电子设备的视觉效果。In another related art, the protection of user privacy can be achieved by adding a shielding sheet on the camera. Wherein, the blocking sheet may include a sliding sheet, a blocking sheet or a sticking magnetic attraction. When the user uses the camera, the cover sheet can be removed to expose the camera; when the user closes the camera, the lens of the camera can be directly blocked by the cover sheet, so that the camera cannot perform normal imaging, so as to protect the user's privacy. However, the shielding sheet is set on the camera, so the user needs to be close enough to the electronic device to be able to operate the shielding sheet, which is inconvenient and affects the visual effect of the electronic device.
综上所述,相关技术提供的隐私保护方案中会导致用户操作不方便且电子设备不够美观。为了解决上述技术问题,本发明实施例中,电子设备接收遥控装置发送的解锁指令,解锁指令包括随机码;若判断出存储的随机码和解锁指令中的随机码一致,根据解锁指令控制多媒体单元解锁。本发明实施例的方案可通过遥控装置对电子设备发送指令,以实现对多媒体单元进行控制,不需要用户直接对电子设备上的物理开关进行操作,为用户在操作上提供了极大的便利性。本发明实施例中,电子设备通过判断存储的随机码和解锁指令中的随机码是否一致,从而控制多媒体单元是否解锁,并未在电子设备上设置用于控制多媒体单元的物理开关,从而提高了电子设备的美观度。To sum up, the privacy protection solutions provided by the related technologies may result in inconvenient user operations and unsightly electronic devices. In order to solve the above technical problems, in the embodiment of the present invention, the electronic device receives the unlocking instruction sent by the remote control device, and the unlocking instruction includes a random code; if it is determined that the stored random code is consistent with the random code in the unlocking instruction, the multimedia unit is controlled according to the unlocking instruction Unlock. The solution of the embodiment of the present invention can send an instruction to the electronic device through the remote control device to realize the control of the multimedia unit, and does not require the user to directly operate the physical switch on the electronic device, which provides great convenience for the user in operation . In the embodiment of the present invention, the electronic device controls whether the multimedia unit is unlocked by judging whether the stored random code is consistent with the random code in the unlocking instruction, and no physical switch for controlling the multimedia unit is set on the electronic device, thereby improving the The aesthetics of electronic devices.
图1为本发明实施例提供的一种多媒体单元的控制系统的系统架构图,如图1所示,该系统包括:遥控装置1和电子设备2。FIG. 1 is a system architecture diagram of a control system for a multimedia unit according to an embodiment of the present invention. As shown in FIG. 1 , the system includes: a remote control device 1 and an
本发明实施例中,遥控装置1可包括遥控器或终端设备。例如,终端设备可包括手机或者平板电脑。In this embodiment of the present invention, the remote control apparatus 1 may include a remote control or a terminal device. For example, the terminal device may include a mobile phone or a tablet computer.
本发明实施例中,电子设备2包括包含多媒体单元的设备,电子设备2包括但不限于电视机、桌面型计算机、膝上型计算机、手持计算机、可穿戴设备、头戴式显示器、阅读器设备、便携式音乐播放器、便携式游戏机、笔记本电脑、超级移动个人计算机(ultra-mobilepersonal computer,简称:UMPC)、上网本,以及蝉窝电话、个人数字助理(personaldigital assistant,简称:PDA)、增强现实(augmented reality,简称:AR)、虚拟现实(virtual reality,简称:VR)设备。In this embodiment of the present invention, the
遥控装置1用于接收用户输入的锁闭操作,响应于锁闭操作生成随机码,存储随机码;响应于锁闭操作生成锁闭指令,该锁闭指令包括随机码向电子设备2发送锁闭指令。电子设备2用于存储该随机码,并根据锁闭指令控制多媒体单元锁闭。The remote control device 1 is used to receive a locking operation input by a user, generate a random code in response to the locking operation, and store the random code; instruction. The
遥控装置1用于接收用户输入的解锁操作;响应于解锁操作生成解锁指令,该解锁指令包括随机码;向电子设备2发送解锁指令。电子设备2用于判断存储的随机码与解锁指令中的随机码是否一致;若判断出存储的随机码与解锁指令中的随机码一致,根据解锁指令控制多媒体单元解锁。The remote control device 1 is configured to receive an unlocking operation input by a user; generate an unlocking instruction in response to the unlocking operation, the unlocking instruction including a random code; and send the unlocking instruction to the
在首次使用遥控装置1时或者将原有的遥控装置更换为新的遥控装置1时,需要将遥控装置1和电子设备2进行配对。遥控装置1用于向电子设备2发送配对请求。电子设备2用于根据预先设置的通信协议与遥控装置1进行配对,电子设备2当与遥控装置1配对成功时,向遥控装置1发送配对成功消息,该配对成功消息包括随机码;电子设备2当与遥控装置1配对失败时,向遥控装置1发送配对失败消息。遥控装置1用于存储接收到的随机码。电子设备2还用于当接收到配对请求时,记录第一开始时间点,当与遥控装置1配对成功时,记录第一完成时间点。电子设备2还用于根据第一开始时间点和第一完成时间点,生成第一配对时间段。电子设备2还用于判断第一配对时间段是否小于预设的配对时间阈值,若是,继续执行电子设备2向遥控装置1发送配对成功消息的步骤;若否,电子设备2向遥控装置1发送配对失败消息。作为另一种可选方案,电子设备2还用于向遥控装置1发送配对请求。遥控装置1还用于根据预先设置的通信协议与电子设备2进行配对,遥控装置1当与电子设备2配对成功时,向电子设备2发送配对成功消息。电子设备2还用于向遥控装置1发送随机码。遥控装置1还用于存储接收到的随机码;遥控装置1当与电子设备2配对失败时,向电子设备2发送配对失败消息。遥控装置1还用于当接收到配对请求时,记录第二开始时间点,当与电子设备2配对成功时,记录第二完成时间点。遥控装置1还用于根据第二开始时间点和第二完成时间点,生成第二配对时间段。遥控装置1还用于判断第二配对时间段是否小于配对时间阈值,若是,继续执行向电子设备2发送配对成功消息的步骤;若否,遥控装置1向电子设备2发送配对失败消息。When using the remote control device 1 for the first time or when replacing the original remote control device with a new remote control device 1 , the remote control device 1 and the
图2a为本发明实施例提供的一种遥控器的结构示意图,如图2a所示,以遥控装置为遥控器为例,遥控器包括壳体10、物理开关11、电源键12和控制键。其中,物理开关11、电源键12和控制键均设置于壳体10上。Figure 2a is a schematic structural diagram of a remote controller according to an embodiment of the present invention. As shown in Figure 2a, taking the remote controller as an example, the remote controller includes a
图2b为本发明实施例提供的物理开关的一种应用状态示意图,图2c为本发明实施例提供的物理开关的另一种应用状态示意图,如图2b和图2c所示,物理开关11为实体开关,物理开关11用于控制摄像头的解锁或锁闭。物理开关11的右侧设置有摄像头的开关图标20,开关图标20设置于壳体10上,开关图标20用于标示物理开关11控制的摄像头的当前状态,当前状态包括解锁状态或锁闭状态。作为一种可选方案,开关图标20也可以设置于物理开关11的左侧,本发明实施例对开关图标20的位置不作限制。物理开关11包括多种形态,例如:物理开关11包括滑动开关、拨动开光、按压开关或船型开关。以物理开关11包括滑动开关为例,如图2b和图2c所示,物理开关11包括滑片111和滑道112。滑道112用于为滑片111提供滑行轨道,滑道112上设置有明确的解锁标识(ON)和锁闭标识(OFF)。如图2b所示,当滑片111沿滑道112滑动到“ON”侧时,此时解锁标识“ON”被滑片111遮挡,遥控装置1向电子设备2发送解锁指令,电子设备2根据解锁指令通过应用程序调用多媒体单元,使得多媒体单元处于解锁状态;如图2c所示,当滑片111沿滑道112滑动到“OFF”侧时,此时解锁标识“OFF”被滑片111遮挡,遥控装置1向电子设备2发送锁闭指令,电子设备2根据锁闭指令通过应用程序调用多媒体单元,使得多媒体单元处于锁闭状态。FIG. 2b is a schematic diagram of an application state of the physical switch provided by the embodiment of the present invention, and FIG. 2c is a schematic diagram of another application state of the physical switch provided by the embodiment of the present invention. As shown in FIG. 2b and FIG. 2c, the
如图2a所示,电源键12用于接收用户输入的开关操作,根据开关操作开启或关闭电子设备2。As shown in FIG. 2a, the
作为一种可选方案,控制键包括菜单键13、返回键14、环形方向键15和选择键16中之一或其任意组合。其中,环形方向键15包括向上键151、向下键152、向左键153和向右键154。菜单键13用于接收用户输入的启动菜单操作,根据启动菜单操作调用菜单界面;返回键14用于接收用户输入的返回操作,根据返回操作返回上一层界面;向上键151用于接收用户输入的向上操作,根据向上操作进行向上选择,用户可以通过输入向上操作进行向上调节当前频道或向上选择菜单栏的功能选项;向下键152用于接收用户输入的向下操作,根据向下操作进行向下选择,用户可以通过输入向下操作进行向下调节当前频道或向下选择菜单栏的功能选项;向左键153用于接收用户输入的向左操作,根据向左操作进行向左选择,用户可以通过输入向左操作进行将音量调小或向左选择菜单栏的功能选项;向右键154用于接收用户输入的向右操作,根据向右操作进行向右选择,用户可以通过输入向右操作进行将音量调大或向右选择菜单栏的功能选项;选择键16用于接收用户输入的确认操作,根据确认操作对当前选择进行确认。As an optional solution, the control keys include one of the
作为一种可选方案,遥控器还包括工作指示灯17,工作指示灯17设置于壳体10上。工作指示灯17用于根据接收到的指令亮起指定颜色的灯光。As an optional solution, the remote control further includes a
作为一种可选方案,遥控器还包括第一扬声器18,第一扬声器18设置于壳体10上。第一扬声器18用于根据接收到的指令播放指定类型的声音。As an optional solution, the remote control further includes a
作为一种可选方案,遥控器还包括显示屏19,显示屏19设置于壳体10上。显示屏19用于显示图像、视频、应用程序或提示信息。例如:用户按下遥控器的菜单键13,则显示屏19会显示出菜单界面。显示屏19包括液晶显示屏(liquid crystal display,简称:LCD)、有机发光二极管(organic light-emitting diode,简称:OLED)显示屏、有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,简称:AMOLED)显示屏、柔性发光二极管(flex light-emitting diode,简称:FLED)显示屏、迷你LED(Mini LED)显示屏、微型LED(Micro LED)显示屏、微型OLED(Micro-OLED)显示屏或量子点发光二极管(quantum dot light emitting diodes,简称:QLED)显示屏。在一些实施例中,遥控器可以包括一个或者多个显示屏19。As an optional solution, the remote control further includes a
图2a仅为本发明实施例提供的示例性的一种遥控器的结构示意图,遥控器还可以为其他结构,本发明对遥控器的结构不作限制。FIG. 2a is only a schematic structural diagram of an exemplary remote controller provided by an embodiment of the present invention. The remote controller may also have other structures, and the present invention does not limit the structure of the remote controller.
图3为本发明实施例提供的一种遥控装置的系统结构图,如图3所示,遥控装置1包括一个或多个第一处理器41、第一通信单元和第一存储器43。其中,第一处理器41与第一通信单元和第一存储器43连接。FIG. 3 is a system structure diagram of a remote control device according to an embodiment of the present invention. As shown in FIG. 3 , the remote control device 1 includes one or more first processors 41 , a first communication unit, and a first memory 43 . The first processor 41 is connected to the first communication unit and the first memory 43 .
第一处理器41、第一通信单元和第一存储器43之间可以通过内部连接通路互相通信,传递控制和/或数据信号,该第一存储器43用于存储计算机程序,该第一处理器41用于从该第一存储器43中调用并运行该计算机程序。The first processor 41, the first communication unit and the first memory 43 can communicate with each other through an internal connection path to transmit control and/or data signals. The first memory 43 is used to store computer programs, and the first processor 41 For calling and running the computer program from the first memory 43 .
进一步地,为了使得遥控装置1的功能更加完善,该遥控装置1还可以包括第一扬声器18,第一扬声器18与第一处理器41连接,第一扬声器18用于播放指定类型的声音。Further, in order to make the functions of the remote control device 1 more complete, the remote control device 1 may further include a
进一步地,为了使得遥控装置1的功能更加完善,该遥控装置1还可以包括第一显示单元45,第一显示单元45可以包括显示屏。Further, in order to make the functions of the remote control device 1 more complete, the remote control device 1 may further include a first display unit 45, and the first display unit 45 may include a display screen.
进一步地,遥控装置1还可以包括交互单元48,交互单元48与第一处理器41连接。作为一种可选方案,若遥控装置1包括遥控器时,交互单元48包括物理开关11。作为另一种可选方案,交互单元48包括语音单元,语音单元用于接收用户输入的语音,并将语音发送至第一处理器41,第一处理器41根据语音生成操作指令,并执行操作指令。例如:用户说出“请播放中央少儿频道”的语音,语音单元接收该语音,并将该语音发送至第一处理器;第一处理器根据该语音生成调频至中央少儿频道的操作指令,并执行该操作指令,即:将当前的频道调至中央少儿频道。Further, the remote control device 1 may further include an interaction unit 48 , and the interaction unit 48 is connected to the first processor 41 . As an optional solution, if the remote control device 1 includes a remote control, the interaction unit 48 includes a
本发明实施例中,第一通信单元包括无线通信模块42和/或移动通信模块49。In this embodiment of the present invention, the first communication unit includes a wireless communication module 42 and/or a mobile communication module 49 .
无线通信模块42可以提供应用在遥控装置1上的包括无线局域网(wirelesslocal area networks,简称:WLAN)(如无线保真(wireless fidelity,简称:Wi-Fi)网络),蓝牙(bluetooth,简称:BT),全球导航卫星系统(global navigation satellite system,简称:GNSS),调频(frequency modulation,简称:FM),近距离无线通信技术(near fieldcommunication,简称:NFC),红外技术(infrared,简称:IR)等无线通信的解决方案。无线通信模块42可以是集成至少一个通信处理模块的一个或多个器件。进一步地,遥控装置1还可以包括第一天线46。无线通信模块42经由第一天线46接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器42。无线通信模块42还可以从第一处理器41接收待发送的信号,对其进行调频,放大,经第一天线46转为电磁波辐射出去。The wireless communication module 42 can provide wireless local area networks (wireless local area networks, referred to as: WLAN) (such as wireless fidelity (wireless fidelity, referred to as: Wi-Fi) networks), Bluetooth (bluetooth, referred to as: BT) applied on the remote control device 1 ), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR) and other wireless communication solutions. The wireless communication module 42 may be one or more devices integrating at least one communication processing module. Further, the remote control device 1 may further include a first antenna 46 . The wireless communication module 42 receives the electromagnetic wave via the first antenna 46 , modulates and filters the electromagnetic wave signal, and sends the processed signal to the processor 42 . The wireless communication module 42 can also receive the signal to be sent from the first processor 41 , perform frequency modulation on it, amplify the signal, and then convert it into electromagnetic waves for radiation through the first antenna 46 .
移动通信模块49可以提供应用在遥控装置1上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块49可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,简称:LNA)等。进一步地,遥控装置1还可以包括第二天线50。移动通信模块49可以由第二天线50接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块49还可以对经调制解调处理器调制后的信号放大,经第二天线50转为电磁波辐射出去。在一些实施例中,移动通信模块49的至少部分功能模块可以被设置于第一处理器41中。在一些实施例中,移动通信模块49的至少部分功能模块可以与第一处理器41的至少部分模块被设置在同一个器件中。The mobile communication module 49 can provide a solution including 2G/3G/4G/5G wireless communication applied on the remote control device 1 . The mobile communication module 49 may include at least one filter, a switch, a power amplifier, a low noise amplifier (low noise amplifier, LNA for short), and the like. Further, the remote control device 1 may further include a second antenna 50 . The mobile communication module 49 can receive electromagnetic waves from the second antenna 50, filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 49 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the second antenna 50 . In some embodiments, at least part of the functional modules of the mobile communication module 49 may be provided in the first processor 41 . In some embodiments, at least part of the functional modules of the mobile communication module 49 may be provided in the same device as at least part of the modules of the first processor 41 .
本发明实施例中,第一天线46和无线通信模块42耦合,第二天线50和移动通信模块49耦合,使得遥控装置1可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,简称:GSM),通用分组无线服务(general packet radio service,简称:GPRS),码分多址接入(code division multiple access,简称:CDMA),宽带码分多址(wideband code divisionmultiple access,简称:WCDMA),时分码分多址(time-division code division multipleaccess,简称:TDSCDMA),长期演进(long term evolution,简称:LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,简称:GPS),全球导航卫星系统(global navigation satellite system,简称:GLONASS),北斗卫星导航系统(beidou navigation satellite system,简称:BDS),准天顶卫星系统(quasi-zenith satellite system,简称:QZSS)和/或星基增强系统(satellite basedaugmentation systems,简称:SBAS)。In the embodiment of the present invention, the first antenna 46 is coupled with the wireless communication module 42, and the second antenna 50 is coupled with the mobile communication module 49, so that the remote control device 1 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM for short), general packet radio service (GPRS for short), code division multiple access (code division multiple access, Abbreviation: CDMA), wideband code division multiple access (wideband code division multiple access, abbreviation: WCDMA), time division code division multiple access (time-division code division multiple access, abbreviation: TDSCDMA), long term evolution (long term evolution, abbreviation: LTE) , BT, GNSS, WLAN, NFC, FM, and/or IR technology, etc. The GNSS may include a global positioning system (GPS for short), a global navigation satellite system (GLONASS for short), a Beidou navigation satellite system (BDS for short), a standard A quasi-zenith satellite system (QZSS for short) and/or a satellite based augmentation system (SBAS for short).
上述第一处理器41可以和第一存储器43可以合成一个处理装置,更常见的是彼此独立的部件,第一处理器41用于执行第一存储器43中存储的程序代码来实现上述功能。具体实现时,该第一存储器43也可以集成在第一处理器41中,或者,独立于第一处理器41。The above-mentioned first processor 41 and the first memory 43 may be combined into a processing device, and more commonly, they are independent components, and the first processor 41 is used to execute the program codes stored in the first memory 43 to realize the above functions. During specific implementation, the first memory 43 may also be integrated in the first processor 41 , or be independent of the first processor 41 .
进一步地,上述遥控装置1还可以包括电源47,用于给遥控装置1中的各种器件或电路提供电源。Further, the above-mentioned remote control device 1 may further include a power supply 47 for providing power to various devices or circuits in the remote control device 1 .
应理解,图3所示的遥控装置1能够实现图6和图7所示方法实施例的各个过程。遥控装置1中的各个模块的操作和/或功能,分别为了实现下述方法实施例中的相应流程。It should be understood that the remote control device 1 shown in FIG. 3 can implement each process of the method embodiment shown in FIG. 6 and FIG. 7 . The operations and/or functions of each module in the remote control device 1 are respectively to implement the corresponding processes in the following method embodiments.
本发明各实施例中,涉及的第一处理器41可以例如包括中央处理器(centralprocessing unit,简称:CPU)、微处理器、微控制器或数字信号处理器,还可包括图形处理器(Graphics Processing Unit,简称:GPU)、神经网络处理器(neural-networkprocessing unit,简称:NPU)和图像信号处理器(image signal processor,简称:ISP),该第一处理器41还可包括必要的硬件加速器或逻辑处理硬件电路,如特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本发明技术方案程序执行的集成电路等。此外,第一处理器41可以具有操作一个或多个软件程序的功能,软件程序可以存储在第一存储器43中。In each embodiment of the present invention, the involved first processor 41 may include, for example, a central processing unit (central processing unit, CPU for short), a microprocessor, a microcontroller, or a digital signal processor, and may also include a graphics processor (Graphics Processor). Processing Unit, referred to as GPU), neural network processor (neural-network processing unit, referred to as: NPU) and image signal processor (image signal processor, referred to as: ISP), the first processor 41 may also include necessary hardware accelerators Or a logic processing hardware circuit, such as an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the technical solution of the present invention, and the like. In addition, the first processor 41 may have a function of operating one or more software programs, and the software programs may be stored in the first memory 43 .
第一存储器43可以是只读存储器(read-only memory,ROM)、可存储静态信息和指令的其它类型的静态存储设备或可存储信息和指令的其它类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其它磁存储设备,或者还可以是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其它介质等。The first memory 43 may be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, or other types of dynamic storage devices that can store information and instructions, or can be an electrically programmable device. Erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, Digital Versatile Disc, Blu-ray Disc, etc.), magnetic disk storage medium, or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, etc. .
下面具体描述遥控装置中的各结构与电子设备在控制多媒体单元过程中的交互:The interaction of each structure in the remote control device and the electronic equipment in the process of controlling the multimedia unit is specifically described below:
交互单元48用于接收用户输入的锁闭操作;第一处理器41用于响应于闭锁操作生成随机码;第一存储器43用于存储随机码;第一处理器41用于响应于锁闭操作生成锁闭指令,该锁闭指令包括随机码;第一通信单元用于向电子设备2发送锁闭指令,以供电子设备2存储该随机码,并根据锁闭指令控制多媒体单元锁闭。The interaction unit 48 is used for receiving the locking operation input by the user; the first processor 41 is used for generating a random code in response to the locking operation; the first memory 43 is used for storing the random code; the first processor 41 is used for responding to the locking operation A locking instruction is generated, the locking instruction includes a random code; the first communication unit is used for sending a locking instruction to the
交互单元48还用于接收用户输入的解锁操作;第一处理器41用于响应于解锁操作生成解锁指令,该解锁指令包括随机码;第一通信单元用于向电子设备2发送解锁指令;电子设备2判断存储的随机码与解锁指令中的随机码是否一致,若判断出存储的随机码与解锁指令中的随机码一致,根据解锁指令控制多媒体单元解锁。The interaction unit 48 is further configured to receive an unlocking operation input by the user; the first processor 41 is configured to generate an unlocking instruction in response to the unlocking operation, and the unlocking instruction includes a random code; the first communication unit is configured to send the unlocking instruction to the
第一通信单元用于向电子设备2发送配对请求;电子设备2用于根据预先设置的通信协议与遥控装置1进行配对,电子设备2当与遥控装置1配对成功时,向第一通信单元送配对成功消息,该配对成功消息包括随机码;电子设备2当与遥控装置1配对失败时,向第一通信单元发送配对失败消息;第一通信单元将随机码发送至第一存储器43;第一存储器43用于存储接收到的随机码。电子设备2还用于当接收到配对请求时,记录第一开始时间点,当与遥控装置1配对成功时,记录第一完成时间点。电子设备2还用于根据第一开始时间点和第一完成时间点,生成第一配对时间段。电子设备2还用于判断第一配对时间段是否小于预设的配对时间阈值,若是,继续执行电子设备2向第一通信单元发送配对成功消息的步骤;若否,电子设备2向第一通信单元发送配对失败消息。The first communication unit is used for sending a pairing request to the
作为另一种可选方案,电子设备2用于向第一通信单元发送配对请求;第一通信单元用于将配对请求发送至第一处理器41;第一处理器41用于根据预先设置的通信协议与电子设备2进行配对,第一处理器41还用于当与电子设备2配对成功时,向第一通信单元发送配对成功消息;第一通信单元还用于向电子设备2发送配对成功消息;电子设备2用于向第一通信单元发送随机码;第一通信单元用于将随机码发送至第一存储器43;第一存储器43用于存储该随机码;第一处理器41还用于当与电子设备2配对失败时,向第一通信单元发送配对失败消息;第一通信单元用于像电子设备2发送配对失败消息。第一通信单元还用于当接收到配对请求时,将配对请求发送至第一处理器41;第一处理器41还用于当接收到配对请求时,记录第二开始时间点,当与电子设备2配对成功时,记录第二完成时间点;第一处理器41还用于根据第二开始时间点和第二完成时间点,生成第二配对时间段;第一处理器41还用于判断第二配对时间段是否小于配对时间阈值,若是,继续执行第一通信单元向电子设备2发送配对成功消息的步骤;若否,第一通信单元向电子设备2发送配对失败请求。As another optional solution, the
图4为本发明实施例提供的一种电子设备的结构示意图,如图4所示,电子设备2包括壳体21、多媒体单元22和显示屏23。多媒体单元22与显示屏23连接。其中,壳体21包括开口211。FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in FIG. 4 , the
开口211设置于壳体21上,开口211用于为多媒体单元22提供升降通道。The
多媒体单元22包括摄像头或者麦克风,摄像头用于采集视频信息,麦克风用于采集音频信息。进一步地,该电子设备2还包括升降件212,多媒体单元22设置于升降件212上,升降件212可以是任何具有升降功能的部件,本发明实施例对此升降件212的类型不作限定。例如:升降件212包括弹簧装置,弹簧的高度可以伸长或压缩,当弹簧伸长时,多媒体单元22通过开口211弹出壳体21;当弹簧压缩时多媒体单元22通过开口211收回到壳体21内。The multimedia unit 22 includes a camera or a microphone. The camera is used to collect video information, and the microphone is used to collect audio information. Further, the
显示屏23设置于壳体21的表面,用于显示多媒体单元22采集的视频。显示屏23包括液晶显示屏(liquid crystal display,简称:LCD)、有机发光二极管(organic light-emitting diode,简称:OLED)显示屏、有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitti diode,简称:AMOLED)显示屏、柔性发光二极管(flex light-emitting diode,简称:FLED)显示屏、迷你LED(Mini LED)显示屏、微型LED(Micro LED)显示屏、微型OLED(Micro-OLED)显示屏或量子点发光二极管(quantum dotlight emitting diodes,简称:QLED)显示屏。在一些实施例中,遥控装置可以包括一个或者多个显示屏23。The
作为一种可选方案,电子设备2还包括第二扬声器24,第二扬声器24设置于壳体21的侧面,第二扬声器24用于播放多媒体单元22采集的音频。As an optional solution, the
作为另一种可选方案,电子设备2还包括电源键25。电源键25设置于壳体21上,电源键25用于接收用户输入的开关操作,根据开关操作开启或关闭电子设备2。As another optional solution, the
图5为本发明实施例提供的一种电子设备的系统结构图,如图5所示,电子设备包括一个或多个第二处理器51、第二通信单元、第二存储器53、多媒体单元22和电动执行机构55。其中,第二处理器51与第二通信单元、第二存储器53、多媒体单元22和电动执行机构55连接。其中,多媒体单元22包括摄像头221或麦克风222。FIG. 5 is a system structure diagram of an electronic device according to an embodiment of the present invention. As shown in FIG. 5 , the electronic device includes one or more second processors 51 , a second communication unit, a second memory 53 , and a multimedia unit 22 and electric actuator 55. Wherein, the second processor 51 is connected with the second communication unit, the second memory 53 , the multimedia unit 22 and the electric actuator 55 . The multimedia unit 22 includes a camera 221 or a microphone 222 .
第二处理器51、第二通信单元和第二存储器53之间可以通过内部连接通路互相通信,传递控制和/或数据信号,该第二存储器53用于存储计算机程序,该第二处理器51用于从该第二存储器53中调用并运行该计算机程序。The second processor 51, the second communication unit and the second memory 53 can communicate with each other through an internal connection path to transmit control and/or data signals. The second memory 53 is used to store computer programs, and the second processor 51 For calling and running the computer program from the second memory 53 .
本发明实施例中,第二通信单元包括无线通信模块52和/或移动通信模块58。In this embodiment of the present invention, the second communication unit includes a wireless communication module 52 and/or a mobile communication module 58 .
无线通信模块52可以提供应用在电子设备2上的包括无线局域网(wirelesslocalarea networks,简称:WLAN)(如无线保真(wireless fidelity,简称:Wi-Fi)网络),蓝牙(bluetooth,简称:BT),全球导航卫星系统(global navigation satellite system,简称:GNSS),调频(frequency modulation,简称:FM),近距离无线通信技术(near fieldcommunication,简称:NFC),红外技术(infrared,简称:IR)等无线通信的解决方案。无线通信模块52可以是集成至少一个通信处理模块的一个或多个器件。进一步地,电子设备2还可以包括第一天线56。无线通信模块52经由第一天线56接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器52。无线通信模块52还可以从第二处理器51接收待发送的信号,对其进行调频,放大,经第一天线56转为电磁波辐射出去。The wireless communication module 52 can provide wireless local area networks (wireless local area networks, referred to as: WLAN) (such as wireless fidelity (wireless fidelity, referred to as: Wi-Fi) networks), Bluetooth (bluetooth, referred to as: BT) applied on the
移动通信模块58可以提供应用在电子设备2上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块58可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,简称:LNA)等。进一步地,遥控装置1还可以包括第二天线59。移动通信模块58可以由第二天线59接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块58还可以对经调制解调处理器调制后的信号放大,经第二天线59转为电磁波辐射出去。在一些实施例中,移动通信模块58的至少部分功能模块可以被设置于第二处理器51中。在一些实施例中,移动通信模块58的至少部分功能模块可以与第二处理器51的至少部分模块被设置在同一个器件中。The mobile communication module 58 can provide wireless communication solutions including 2G/3G/4G/5G etc. applied to the
本发明实施例中,第一天线56和无线通信模块52耦合,第二天线59和移动通信模块58耦合,使得电子设备2可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,简称:GSM),通用分组无线服务(general packet radio service,简称:GPRS),码分多址接入(code division multiple access,简称:CDMA),宽带码分多址(wideband code divisionmultiple access,简称:WCDMA),时分码分多址(time-division code division multipleaccess,简称:TDSCDMA),长期演进(long term evolution,简称:LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global posi tioning system,简称:GPS),全球导航卫星系统(global navigation satellite system,简称:GLONASS),北斗卫星导航系统(bei dou navigation satellite system,简称:BDS),准天顶卫星系统(quasi-zenith satellite system,简称:QZSS)和/或星基增强系统(satellite basedaugmentation systems,简称:SBAS)。本发明实施例中,电动执行机构55包括马达或继电器,电子设备2中配置有多媒体电路。以电动执行机构55包括继电器为例,继电器本质上是一种可以控制通断的开关,当继电器接收到第一处理器发送的锁闭指令,可根据锁闭指令控制多媒体电路通路,进而通过通路的多媒体电路控制多媒体单元22锁闭,多媒体单元22锁闭后继电器控制多媒体电路断开,等待下一次指令。In this embodiment of the present invention, the first antenna 56 is coupled to the wireless communication module 52, and the second antenna 59 is coupled to the mobile communication module 58, so that the
进一步地,为了使得电子设备2的功能更加完善,该电子设备2还可以包括第二显示单元57,第二显示单元57可以包括显示屏,显示屏用于显示图像、视频或应用程序。Further, in order to make the functions of the
进一步地,为了使得电子设备2的功能更加完善,该电子设备2还可以包括第二扬声器24,第二扬声器24与第二处理器51连接,第二扬声器24用于播放指定类型的声音。Further, in order to make the function of the
上述第二处理器51可以和第二存储器53可以合成一个处理装置,更常见的是彼此独立的部件,第二处理器51用于执行第二存储器53中存储的程序代码来实现上述功能。具体实现时,该第二存储器53也可以集成在第二处理器51中,或者,独立于第二处理器51。The above-mentioned second processor 51 and the second memory 53 can be combined into a processing device, and more commonly, they are independent components, and the second processor 51 is used to execute the program codes stored in the second memory 53 to realize the above-mentioned functions. During specific implementation, the second memory 53 may also be integrated in the second processor 51 , or be independent of the second processor 51 .
应理解,图5所示的电子设备2能够实现图6和图7所示方法实施例的各个过程。电子设备2中的各个模块的操作和/或功能,分别为了实现下述方法实施例中的相应流程。It should be understood that the
本发明实施例中,涉及的第二处理器51可以例如包括中央处理器(centralprocessing unit,CPU)、微处理器、微控制器或数字信号处理器,还可包括GPU、NPU和ISP,该第一处理器41还可包括必要的硬件加速器或逻辑处理硬件电路,如特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本发明技术方案程序执行的集成电路等。此外,第二处理器51可以具有操作一个或多个软件程序的功能,软件程序可以存储在第二存储器53中。In the embodiment of the present invention, the involved second processor 51 may include, for example, a central processing unit (central processing unit, CPU), a microprocessor, a microcontroller, or a digital signal processor, and may also include a GPU, an NPU, and an ISP. A processor 41 may also include necessary hardware accelerators or logic processing hardware circuits, such as application-specific integrated circuits (ASICs), or one or more integrated circuits for controlling the execution of programs in the technical solution of the present invention, etc. . In addition, the second processor 51 may have a function of operating one or more software programs, and the software programs may be stored in the second memory 53 .
第二存储器53可以是只读存储器(read-only memory,ROM)、可存储静态信息和指令的其它类型的静态存储设备或可存储信息和指令的其它类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其它磁存储设备,或者还可以是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其它介质等。The second memory 53 can be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, or other types of dynamic storage devices that can store information and instructions, or can be electrically Erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, Digital Versatile Disc, Blu-ray Disc, etc.), magnetic disk storage medium, or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, etc. .
下面具体描述电子设备中的各结构与遥控装置在控制多媒体单元过程中的交互:The interaction between each structure in the electronic equipment and the remote control device in the process of controlling the multimedia unit is specifically described below:
遥控装置1用于接收用户输入的锁闭操作,生成并存储随机码;遥控装置1响应于锁闭操作生成锁闭指令并向第二通信单元发送锁闭指令,锁闭指令包括随机码;第二存储设备53用于存储第二通信单元接收到的随机码;第二处理器51用于根据锁闭指令通过电动执行机构55控制多媒体单元22锁闭。The remote control device 1 is used to receive the locking operation input by the user, and generate and store a random code; the remote control device 1 generates a locking instruction in response to the locking operation and sends the locking instruction to the second communication unit, and the locking instruction includes the random code; The second storage device 53 is used to store the random code received by the second communication unit; the second processor 51 is used to control the multimedia unit 22 to be locked through the electric actuator 55 according to the locking instruction.
遥控装置1还用于接收用户输入的解锁操作;遥控装置1响应于解锁操作生成解锁指令,并向第二通信单元发送解锁指令,解锁指令包括随机码;第二处理器51还用于判断存储的随机码与解锁指令中的随机码是否一致;若判断出存储的随机码与解锁指令中的随机码一致,根据解锁指令通过电动执行55控制多媒体单元22解锁。The remote control device 1 is also used to receive the unlocking operation input by the user; the remote control device 1 generates an unlocking instruction in response to the unlocking operation, and sends the unlocking instruction to the second communication unit, and the unlocking instruction includes a random code; the second processor 51 is also used to determine the storage Whether the random code stored in 1 is consistent with the random code in the unlocking instruction; if it is determined that the stored random code is consistent with the random code in the unlocking instruction, control the multimedia unit 22 to unlock through the electric execution 55 according to the unlocking instruction.
遥控装置1还用于向第二通信单元发送配对请求;第二通信单元用于将配对请求发送至第二处理器51;第二处理器51用于根据预先设置的通信协议与遥控装置1进行配对,第二处理器51当与遥控装置1配对成功时,向第二通信单元发送配对成功消息,该配对成功消息包括随机码;第二通信单元用于将配对成功消息发送至遥控装置1;遥控装置1用于存储该随机码;第二处理器51与遥控装置1配对失败时,向第二通信单元发送配对失败消息。第二处理器51还用于当接收到配对请求时,记录第一开始时间点,当与遥控装置1配对成功时,记录第一完成时间点。第二处理器51还用于根据第一开始时间点和第一完成时间点,生成第一配对时间段。第二处理器51还用于判断第一配对时间段是否小于预设的配对时间阈值,若是,继续执行第二通信单元向遥控装置1发送配对成功消息的步骤;若否,第二通信单元向遥控装置1发送配对失败消息The remote control device 1 is also used to send a pairing request to the second communication unit; the second communication unit is used to send the pairing request to the second processor 51 ; the second processor 51 is used to communicate with the remote control device 1 according to a preset communication protocol. pairing, when the second processor 51 is successfully paired with the remote control device 1, it sends a pairing success message to the second communication unit, where the pairing success message includes a random code; the second communication unit is used for sending the pairing success message to the remote control device 1; The remote control device 1 is used for storing the random code; when the second processor 51 fails to pair with the remote control device 1, it sends a pairing failure message to the second communication unit. The second processor 51 is further configured to record the first start time point when receiving the pairing request, and record the first completion time point when the pairing with the remote control device 1 is successful. The second processor 51 is further configured to generate a first pairing time period according to the first start time point and the first completion time point. The second processor 51 is further configured to judge whether the first pairing time period is less than the preset pairing time threshold, and if so, continue to perform the step of the second communication unit sending a pairing success message to the remote control device 1; if not, the second communication unit to The remote control device 1 sends a pairing failure message
作为另一种可选方案,第二通信单元还用于向遥控装置1发送配对请求;遥控装置1还用于根据预先设置的通信协议与电子设备2进行配对,遥控装置1当与电子设备2配对成功时,向第二通信单元发送配对成功消息;第二通信单元还用于将配对成功消息发送至第二处理器51;第二处理器51用于从第二存储器53中获取随机码,并将随机码发送至第二通信单元;第二通信单元还用于将随机码发送至遥控装置1;遥控装置1还用于存储接收到的随机码;遥控装置1当与电子设备2配对失败时,向第二通信单元发送配对失败消息。遥控装置1还用于当接收到配对请求时,记录第二开始时间点,当与电子设备2配对成功时,记录第二完成时间点。遥控装置1还用于根据第二开始时间点和第二完成时间点,生成第二配对时间段。遥控装置1还用于判断第二配对时间段是否小于配对时间阈值,若是,继续执行向第二通信单元发送配对成功消息的步骤;若否,遥控装置1向第二通信单元发送配对失败消息。As another optional solution, the second communication unit is also used for sending a pairing request to the remote control device 1; the remote control device 1 is also used for pairing with the
本发明实施例提供的技术方案中,电子设备接收遥控装置发送的解锁指令,解锁指令包括随机码;若判断出存储的随机码和解锁指令中的随机码一致,根据解锁指令控制多媒体单元解锁。本发明实施例的方案可通过遥控装置对电子设备发送指令,以实现对多媒体单元进行控制,不需要用户直接对电子设备上的物理开关进行操作,为用户在操作上提供了极大的便利性。本发明实施例中,电子设备通过判断存储的随机码和解锁指令中的随机码是否一致,从而控制多媒体单元是否解锁,并未在电子设备上设置用于控制多媒体单元的物理开关,从而提高了电子设备的美观度。In the technical solution provided by the embodiment of the present invention, the electronic device receives the unlocking instruction sent by the remote control device, and the unlocking instruction includes a random code; if it is determined that the stored random code is consistent with the random code in the unlocking instruction, the multimedia unit is controlled to unlock according to the unlocking instruction. The solution of the embodiment of the present invention can send an instruction to the electronic device through the remote control device to realize the control of the multimedia unit, and does not require the user to directly operate the physical switch on the electronic device, which provides great convenience for the user in operation . In the embodiment of the present invention, the electronic device controls whether the multimedia unit is unlocked by judging whether the stored random code is consistent with the random code in the unlocking instruction, and no physical switch for controlling the multimedia unit is set on the electronic device, thereby improving the The aesthetics of electronic devices.
图6为本发明实施例提供的一种多媒体单元的控制方法的流程图,如图6所示,该方法包括:FIG. 6 is a flowchart of a method for controlling a multimedia unit provided by an embodiment of the present invention. As shown in FIG. 6 , the method includes:
步骤102、遥控装置接收用户输入的锁闭操作。
以电子设备为智能电视为例,对步骤102至步骤118进行描述。假设当前场景为用户使用智能电视自带的摄像头进行拍照,拍照完毕则关闭摄像头,当遥控装置包括遥控器时,用户需要拿起遥控器,进行锁闭操作,即:将物理开关拨动到“OFF”侧,以向遥控装置输入锁闭操作。Taking the electronic device as a smart TV as an example, steps 102 to 118 will be described. Assume that the current scene is that the user uses the camera that comes with the smart TV to take pictures, and the camera is turned off after taking pictures. When the remote control device includes a remote control, the user needs to pick up the remote control and perform the locking operation, that is, toggle the physical switch to " OFF” side to input the lock operation to the remote control unit.
本发明实施例中,用户通过实体的物理开关进行手动锁闭操作,相比于单纯的软件方案更具有实操性,可以解决普遍用户认为单纯软件方案不靠谱的心理担忧;且将物理开关设置于遥控装置上,可以方便用户操作以及查看多媒体单元状态,增强用户体验感,同时提高了电子设备的美观度。In the embodiment of the present invention, the user performs a manual locking operation through a physical physical switch, which is more practical than a simple software solution, and can solve the psychological worry of common users that a simple software solution is unreliable; By being arranged on the remote control device, it is convenient for the user to operate and check the state of the multimedia unit, enhance the user experience, and at the same time improve the aesthetics of the electronic device.
本发明实施例中,当遥控装置包括终端设备时,用户可以通过显示屏显示的锁闭按钮进行锁闭操作,即:点击锁闭按钮,以向遥控装置输入锁闭操作。In this embodiment of the present invention, when the remote control device includes a terminal device, the user can perform a locking operation through the lock button displayed on the display screen, that is, click the lock button to input the lock operation to the remote control device.
步骤104、遥控装置响应于锁闭操作生成随机码,并存储随机码。
本发明实施例中,遥控装置中的第一处理器响应于锁闭操作,生成随机码。随机码包括随机生成的一串密码,具有不可复制性,可以有效防范随机码被盗取的风险,确保随机码的安全,从而保证了用户隐私的安全性。In this embodiment of the present invention, the first processor in the remote control device generates a random code in response to the locking operation. The random code includes a randomly generated string of passwords, which is non-reproducible and can effectively prevent the risk of the random code being stolen, ensure the security of the random code, and thus ensure the security of user privacy.
本发明实施例中,遥控装置将生成的随机码存储至第一存储器中。若第一存储器中存储有上一次生成的随机码,则将上一次生成的随机码从第一存储器中删除,将当前生成的随机码进行存储,即:将当前生成的随机码覆盖上一次生成的随机码。In this embodiment of the present invention, the remote control device stores the generated random code in the first memory. If the random code generated last time is stored in the first memory, delete the random code generated last time from the first memory, and store the random code currently generated, that is, overwrite the random code generated last time with the currently generated random code. random code.
由于本发明实施例中采用的存储器具有非易时性,因此,即使遥控装置掉电失灵,存储器中存储的随机码也不会丢失,为掉电失灵的遥控装置更换电池或充电后,处理器依然可以从存储器中获取存储的随机码。Since the memory used in the embodiment of the present invention is non-volatile, even if the remote control device fails to power down, the random code stored in the memory will not be lost. The stored random code can still be retrieved from the memory.
步骤106、遥控装置响应于锁闭操作生成锁闭指令,并向电子设备发送锁闭指令,锁闭指令包括随机码。Step 106: The remote control device generates a locking instruction in response to the locking operation, and sends the locking instruction to the electronic device, where the locking instruction includes a random code.
具体地,遥控装置通过第一通信单元向电子设备的第二通信单元发送锁闭指令;第一通信单元通过锁闭指令向第二通信单元发送生成的随机码,以供电子设备的第二存储器将接收到的随机码进行存储,为后续第二处理器判断随机码的一致性提供依据。Specifically, the remote control device sends a locking instruction to the second communication unit of the electronic device through the first communication unit; the first communication unit sends the generated random code to the second communication unit through the locking instruction, for the second memory of the electronic device The received random code is stored to provide a basis for the subsequent second processor to judge the consistency of the random code.
步骤108、电子设备存储随机码。
本发明实施例中,电子设备的第二存储器对接收到的随机码进行存储,为后续第二处理器判断随机码的一致性提供依据。In the embodiment of the present invention, the second memory of the electronic device stores the received random code, so as to provide a basis for the subsequent second processor to judge the consistency of the random code.
由于本发明实施例中采用的存储器具有非易时性,因此,即使电子设备掉电失灵,存储器中存储的随机码也不会丢失,为掉电失灵的电子设备更换电池或充电后,处理器依然可以从存储器中获取存储的随机码。Since the memory used in the embodiments of the present invention is non-volatile, even if the electronic device fails when power is turned off, the random code stored in the memory will not be lost. The stored random code can still be retrieved from the memory.
步骤110、电子设备根据锁闭指令控制多媒体单元锁闭。
本发明实施例中,多媒体单元包括摄像头或者麦克风。In this embodiment of the present invention, the multimedia unit includes a camera or a microphone.
本发明实施例中,电子设备包括第二处理器、第二通信单元和电动执行机构,第二通信单元接收到锁闭指令后,第一处理器向电动执行机构发送锁闭指令,使得电动执行机构控制多媒体单元锁闭。In this embodiment of the present invention, the electronic device includes a second processor, a second communication unit, and an electric actuator. After the second communication unit receives the locking instruction, the first processor sends a locking instruction to the electric actuator, so that the electric actuator The mechanism controls the locking of the multimedia unit.
在一个具体的方案中,若多媒体单元设置于升降件上,则电动执行机构接收到锁闭指令后,控制多媒体单元沿壳体的开口下降至电子设备内部,此时多媒体单元处于锁闭状态。In a specific solution, if the multimedia unit is arranged on the lifting member, after receiving the locking instruction, the electric actuator controls the multimedia unit to descend into the electronic device along the opening of the casing, and the multimedia unit is in a locked state at this time.
步骤112、遥控装置接收用户输入的解锁操作。Step 112: The remote control device receives the unlocking operation input by the user.
以多媒体单元为摄像头为例,摄像头关闭后,此时用户需要与他人进行视频通话。当遥控装置包括遥控器时,用户需要拿起遥控器,进行解锁操作,即:将物理开关拨动到“ON”侧,以向遥控装置输入解锁操作。Taking the multimedia unit as the camera as an example, after the camera is turned off, the user needs to make a video call with others. When the remote control device includes a remote control, the user needs to pick up the remote control and perform an unlocking operation, that is, toggle the physical switch to the "ON" side to input the unlocking operation to the remote control device.
本发明实施例中,用户通过实体的物理开关进行手动解锁操作,相比于单纯的软件方案更具有实操性,可以解决普遍用户认为单纯软件方案不靠谱的心理担忧;且将物理开关设置于遥控装置上,可以方便用户操作以及查看多媒体单元状态,增强用户体验感,同时提高了电子设备的美观度。In the embodiment of the present invention, the manual unlocking operation performed by the user through the physical physical switch is more practical than the simple software solution, and can solve the psychological worry of common users that the simple software solution is unreliable; and the physical switch is set On the remote control device, it is convenient for the user to operate and check the status of the multimedia unit, enhance the user experience, and at the same time improve the aesthetics of the electronic device.
本发明实施例中,当遥控装置包括终端设备时,用户可以通过显示屏显示的解锁按钮进行锁闭操作,即:点击解锁按钮,以向遥控装置输入解锁操作。In this embodiment of the present invention, when the remote control device includes a terminal device, the user can perform a locking operation through the unlock button displayed on the display screen, that is, click the unlock button to input the unlock operation to the remote control device.
步骤114、遥控装置响应于解锁操作生成解锁指令,并向电子设备发送解锁指令,解锁指令包括随机码。Step 114: The remote control device generates an unlocking instruction in response to the unlocking operation, and sends the unlocking instruction to the electronic device, where the unlocking instruction includes a random code.
本发明实施例中,遥控装置包括第一存储器、第一处理器和第一通信单元,第一存储器存储有随机码,该随机码是上一次锁闭时存储的随机码;第一处理器从第一存储器中获取随机码,将随机码封装于解锁指令中;第一通信单元将解锁指令发送至第二通信单元。In this embodiment of the present invention, the remote control device includes a first memory, a first processor, and a first communication unit, the first memory stores a random code, and the random code is the random code stored in the last lock; The random code is obtained in the first memory, and the random code is encapsulated in the unlocking instruction; the first communication unit sends the unlocking instruction to the second communication unit.
步骤116、电子设备判断存储的随机码和解锁指令中的随机码是否一致,若是,执行步骤118;若否,流程结束。Step 116: The electronic device determines whether the stored random code is consistent with the random code in the unlocking instruction, if yes, executes
本发明实施例中,解锁指令用于指示电子设备对多媒体单元进行解锁。In this embodiment of the present invention, the unlocking instruction is used to instruct the electronic device to unlock the multimedia unit.
本发明实施例中,电子设备包括第二通信单元、第二存储器和第二处理器,第二存储器中存储有随机码;第二通信单元接收第一通信单元发送的解锁指令,解锁指令中包括随机码;第二处理器从第二存储器中获取存储的随机码,并将存储的随机码与解锁指令中的随机码进行比较,判断存储的随机码与解锁指令中的随机码是否一致,若是,执行步骤118;若否,流程结束。In this embodiment of the present invention, the electronic device includes a second communication unit, a second memory, and a second processor, where a random code is stored in the second memory; the second communication unit receives an unlocking instruction sent by the first communication unit, and the unlocking instruction includes random code; the second processor obtains the stored random code from the second memory, compares the stored random code with the random code in the unlocking instruction, and judges whether the stored random code is consistent with the random code in the unlocking instruction, and if so , go to step 118; if not, the process ends.
本步骤中,电子设备的第二处理器若判断出存储的随机码与解锁指令中的随机码一致,表明验证通过,可以开启多媒体单元,继续执行步骤118;若判断出存储的随机码与解锁指令中的随机码不一致,表明验证不通过,为确保用户隐私不被暴露,不能开启多媒体单元,流程结束。In this step, if the second processor of the electronic device determines that the stored random code is consistent with the random code in the unlocking instruction, it indicates that the verification is passed, the multimedia unit can be turned on, and the process continues to step 118; if it is determined that the stored random code is the same as the unlocking instruction The random codes in the instructions are inconsistent, indicating that the verification fails. To ensure that the user's privacy is not exposed, the multimedia unit cannot be turned on, and the process ends.
步骤118、电子设备根据解锁指令控制多媒体单元解锁。Step 118: The electronic device controls the multimedia unit to unlock according to the unlocking instruction.
本发明实施例中,电子设备包括第二处理器、第二通信单元和电动执行机构,第二通信单元接收到解锁指令后,第二处理器向电动执行机构发送解锁指令,使得电动执行机构控制多媒体单元解锁。In this embodiment of the present invention, the electronic device includes a second processor, a second communication unit, and an electric actuator. After the second communication unit receives the unlocking instruction, the second processor sends an unlocking instruction to the electric actuator, so that the electric actuator controls the The multimedia unit is unlocked.
在一个具体的方案中,若多媒体单元设置于升降件上,则电动执行机构接收到解锁指令后,控制多媒体单元沿壳体的开口上升至电子设备外部,直至多媒体单元完全升起,此时多媒体单元处于解锁状态,电子设备可以通过应用程序调用摄像头,以使用户可以与他人进行视频通话。In a specific solution, if the multimedia unit is arranged on the lifting member, after the electric actuator receives the unlocking instruction, it controls the multimedia unit to rise to the outside of the electronic device along the opening of the casing until the multimedia unit is completely raised, at which time the multimedia unit is The unit is unlocked and the electronics can invoke the camera through the app to allow the user to make video calls with others.
进一步地,若首次使用遥控装置时,电子设备需要与遥控装置进行配对;或者,遥控装置丢失或损坏,需要更换遥控装置时,电子设备需要与新的遥控装置进行配对。图7为本发明实施例提供的一种电子设备与遥控装置配对的流程图,如图7所示,该方法包括:Further, if the remote control device is used for the first time, the electronic device needs to be paired with the remote control device; or, when the remote control device is lost or damaged, and the remote control device needs to be replaced, the electronic device needs to be paired with the new remote control device. FIG. 7 is a flowchart of pairing an electronic device and a remote control device provided by an embodiment of the present invention. As shown in FIG. 7 , the method includes:
步骤202、遥控装置向电子设备发送配对请求。Step 202: The remote control apparatus sends a pairing request to the electronic device.
具体地,遥控装置的第一通信单元向电子设备的第二通信单元发送配对请求。Specifically, the first communication unit of the remote control device sends a pairing request to the second communication unit of the electronic device.
本发明实施例中,配对的过程需要在电子设备已启动的状态下进行。In this embodiment of the present invention, the pairing process needs to be performed in a state where the electronic device has been started.
以电子设备为智能电视,遥控装置为遥控器为例,对步骤202至步骤210进行描述。假设当前场景为用户的遥控器已丢失,购置了新的遥控器,但新的遥控器与正在使用的电子设备不匹配,则需要将智能电视与新的遥控器进行配对。用户需要通过向遥控装置输入配对操作,以触发遥控装置的第一通信单元向电子设备中的第二通信单元发送配对请求。例如:配对操作包括按住“菜单”键保持设定时间,设定时间可以根据实际情况进行设置,例如:设定时间为10秒。Taking the electronic device as a smart TV and the remote control device as a remote controller as an example, steps 202 to 210 will be described. Assuming that the current scenario is that the user's remote control has been lost and a new remote control has been purchased, but the new remote control does not match the electronic device being used, the smart TV needs to be paired with the new remote control. The user needs to input a pairing operation to the remote control device to trigger the first communication unit of the remote control device to send a pairing request to the second communication unit in the electronic device. For example, the pairing operation includes pressing and holding the "Menu" button for the set time. The set time can be set according to the actual situation, for example: the set time is 10 seconds.
步骤204、电子设备根据预先设置的通信协议与遥控装置进行配对。Step 204: The electronic device is paired with the remote control device according to a preset communication protocol.
本发明实施例中,通信协议包括NFC协议、WIFI协议或蓝牙协议。In the embodiment of the present invention, the communication protocol includes the NFC protocol, the WIFI protocol or the Bluetooth protocol.
本发明实施例中,预先设置电子设备与遥控装置之间的通信协议,电子设备根据通信协议按照协议标准流程与遥控装置进行配对。例如:电子设备与遥控装置之间的通信协议是WIFI协议,则电子设备根据WIFI协议进行配对。例如:电子设备与遥控装置之间的通信协议是蓝牙协议,则电子设备根据蓝牙协议进行配对。例如:电子设备与遥控装置之间的通信协议是NFC协议,则电子设备根据NFC协议进行配对。In the embodiment of the present invention, a communication protocol between the electronic device and the remote control device is preset, and the electronic device is paired with the remote control device according to the communication protocol according to the standard procedure of the protocol. For example, if the communication protocol between the electronic device and the remote control device is the WIFI protocol, the electronic device is paired according to the WIFI protocol. For example, the communication protocol between the electronic device and the remote control device is the Bluetooth protocol, and the electronic device is paired according to the Bluetooth protocol. For example, the communication protocol between the electronic device and the remote control device is the NFC protocol, and the electronic device is paired according to the NFC protocol.
本发明实施例中,电子设备当与遥控装置配对成功时,继续执行步骤206;电子设备当与遥控装置配对失败时,向遥控装置发送配对失败消息。In the embodiment of the present invention, when the electronic device is successfully paired with the remote control device, the process proceeds to step 206; when the electronic device fails to be paired with the remote control device, the electronic device sends a pairing failure message to the remote control device.
进一步地,电子设备若接收到配对请求,记录第一开始时间点;电子设备若与遥控装置配对成功,记录第一完成时间点;电子设备根据第一开始时间点和第一完成时间点,生成配对时间段;电子设备判断配对时间段是否小于预设的配对时间阈值,若是,则继续执行步骤206;若否,则电子设备向遥控装置发送配对失败消息。其中,预设的配对时间阈值可根据实际情况进行设置。例如:配对时间阈值为30秒。Further, if the electronic device receives the pairing request, record the first start time point; if the electronic device is successfully paired with the remote control device, record the first completion time point; the electronic device generates according to the first start time point and the first completion time point. Pairing time period; the electronic device determines whether the pairing time period is less than the preset pairing time threshold, and if so, proceeds to step 206; if not, the electronic device sends a pairing failure message to the remote control device. The preset pairing time threshold can be set according to the actual situation. For example: the pairing time threshold is 30 seconds.
本发明实施例中,电子设备根据配对失败消息生成提醒指令。In this embodiment of the present invention, the electronic device generates a reminder instruction according to the pairing failure message.
例如:提醒指令可包括应用程序内部消息推送、指定颜色的灯光或指定类型的声音。For example, a reminder command can include an in-app message push, a specified color of light, or a specified type of sound.
例如:当遥控装置包括终端设备时,终端设备安装有应用程序,可以通过推送应用程序内部消息通知用户本次配对失败,请重新尝试。For example, when the remote control device includes a terminal device, and the terminal device has an application program installed, the user can be notified by pushing an internal message of the application program that the pairing fails, please try again.
例如:当遥控装置包括遥控器时,设置遥控器的工作指示灯呈现红色表示配对失败。For example: when the remote control device includes a remote control, the working indicator of the remote control is set to be red, indicating that the pairing fails.
步骤206、电子设备向遥控装置发送配对成功消息,配对成功消息包括随机码。Step 206: The electronic device sends a pairing success message to the remote control device, where the pairing success message includes a random code.
本发明实施例中,电子设备的第二处理器从第二存储器中获取存储的随机码,将随机码封装于配对成功消息中,并将配对成功消息发送至第二通信单元;第二通信单元向遥控装置的第一通信单元发送配对成功消息,以通知用户电子设备与遥控装置已配对成功。In the embodiment of the present invention, the second processor of the electronic device acquires the stored random code from the second memory, encapsulates the random code in the pairing success message, and sends the pairing success message to the second communication unit; the second communication unit A pairing success message is sent to the first communication unit of the remote control device to notify the user that the electronic equipment and the remote control device have been paired successfully.
本发明实施例中,电子设备根据配对成功消息生成提醒指令,以提醒用户配对成功。In the embodiment of the present invention, the electronic device generates a reminder instruction according to the pairing success message, so as to remind the user that the pairing is successful.
例如:当遥控装置包括终端设备时,终端设备安装有应用程序,可以通过推送应用程序内部消息通知用户已配对成功。For example, when the remote control device includes a terminal device, the terminal device has an application program installed, and the user can be notified that the pairing has been successful by pushing an internal message of the application program.
例如:当遥控装置包括遥控器时,设置遥控器的工作指示灯呈现绿色表示配对成功。For example: when the remote control device includes a remote control, the working indicator of the set remote control is green to indicate that the pairing is successful.
步骤208、遥控装置存储随机码,流程结束。Step 208: The remote control device stores the random code, and the process ends.
本发明实施例中,遥控装置的第一通信单元将接收到的随机码发送至第一处理器;第一处理器将随机码存储至第一存储器,流程结束。In the embodiment of the present invention, the first communication unit of the remote control device sends the received random code to the first processor; the first processor stores the random code in the first memory, and the process ends.
本发明实施例中,在电子设备与新的遥控装置进行重新配对的过程中是后台自动进行的,不需要增加用户界面的配对操作,无需用户参与,简化了配对步骤,提高了配对成功率,增强用户体验感。In the embodiment of the present invention, the re-pairing process of the electronic device and the new remote control device is automatically performed in the background, and there is no need to increase the pairing operation of the user interface, and no user participation is required, which simplifies the pairing steps and improves the pairing success rate. Enhance user experience.
图8为本发明实施例提供的又一种电子设备与遥控装置配对的流程图,如图8所示,该方法包括:FIG. 8 is another flowchart of pairing an electronic device and a remote control device provided by an embodiment of the present invention. As shown in FIG. 8 , the method includes:
步骤302、电子设备向遥控装置发送配对请求。
具体地,电子设备的第二通信单元向遥控装置的第一通信单元发送配对请求。Specifically, the second communication unit of the electronic device sends a pairing request to the first communication unit of the remote control device.
本发明实施例中,配对的过程需要在电子设备已启动的状态下进行。In this embodiment of the present invention, the pairing process needs to be performed in a state where the electronic device has been started.
以电子设备为智能电视,遥控装置为遥控器为例,对步骤302至步骤310进行描述。假设当前场景为用户首次使用新购置的智能电视,则需要将智能电视与遥控器进行配对。用户需要通过向电子设备输入配对操作,以触发电子设备的第二通信单元向遥控装置中的第一通信单元发送配对请求。例如:配对操作包括按住“电源”键保持设定时间,设定时间可以根据实际情况进行设置,例如:设定时间为10秒。Taking the electronic device as a smart TV and the remote control device as a remote controller as an example, steps 302 to 310 will be described. Assuming that the current scenario is that the user uses the newly purchased smart TV for the first time, the smart TV needs to be paired with the remote control. The user needs to input a pairing operation to the electronic device to trigger the second communication unit of the electronic device to send a pairing request to the first communication unit in the remote control device. For example: the pairing operation includes pressing and holding the "power" button for the set time, and the set time can be set according to the actual situation, for example: the set time is 10 seconds.
步骤304、遥控装置根据预先设置的通信协议与电子设备进行配对。Step 304: The remote control device is paired with the electronic device according to a preset communication protocol.
本发明实施例中,通信协议包括NFC协议、WIFI协议或蓝牙协议。In the embodiment of the present invention, the communication protocol includes the NFC protocol, the WIFI protocol or the Bluetooth protocol.
本发明实施例中,预先设置电子设备与遥控装置之间的通信协议,遥控装置根据通信协议按照协议标准流程与电子设备进行配对。例如:电子设备与遥控装置之间的通信协议是WIFI协议,则遥控装置根据WIFI协议进行配对。例如:电子设备与遥控装置之间的通信协议是蓝牙协议,则遥控装置根据蓝牙协议进行配对。例如:电子设备与遥控装置之间的通信协议是NFC协议,则遥控装置根据NFC协议进行配对。In the embodiment of the present invention, a communication protocol between the electronic device and the remote control device is preset, and the remote control device is paired with the electronic device according to the communication protocol according to the standard procedure of the protocol. For example, the communication protocol between the electronic device and the remote control device is the WIFI protocol, and the remote control device is paired according to the WIFI protocol. For example, the communication protocol between the electronic device and the remote control device is the Bluetooth protocol, and the remote control device is paired according to the Bluetooth protocol. For example, the communication protocol between the electronic device and the remote control device is the NFC protocol, and the remote control device is paired according to the NFC protocol.
本发明实施例中,遥控装置当与电子设备配对成功时,继续执行步骤306;遥控装置当与电子设备配对失败时,向电子设备发送配对失败消息。In this embodiment of the present invention, when the remote control device is successfully paired with the electronic device, the process proceeds to step 306; when the remote control device fails to be paired with the electronic device, the remote control device sends a pairing failure message to the electronic device.
进一步地,遥控装置若接收到配对请求,记录第二开始时间点;遥控装置若与电子设备配对成功,记录第二完成时间点;遥控装置根据第二开始时间点和第二完成时间点,生成配对时间段;遥控装置判断配对时间段是否小于预设的配对时间阈值,若是,则继续执行步骤306;若否,则遥控装置向电子设备发送配对失败消息。其中,预设的配对时间阈值可根据实际情况进行设置。例如:配对时间阈值为30秒。Further, if the remote control device receives the pairing request, record the second start time point; if the remote control device is successfully paired with the electronic device, record the second completion time point; the remote control device generates according to the second start time point and the second completion time point. Pairing time period; the remote control device determines whether the pairing time period is less than the preset pairing time threshold, and if so, proceeds to step 306; if not, the remote control device sends a pairing failure message to the electronic device. The preset pairing time threshold can be set according to the actual situation. For example: the pairing time threshold is 30 seconds.
本发明实施例中,遥控装置根据配对失败消息生成提醒指令。In the embodiment of the present invention, the remote control device generates a reminder instruction according to the pairing failure message.
例如:若电子设备安装有应用程序,可以将应用程序内部消息通过显示屏进行显示,以通知用户配对失败。For example, if an application is installed on the electronic device, an internal message of the application may be displayed on the display screen to notify the user that the pairing fails.
步骤306、遥控装置向电子设备发送配对成功消息。Step 306: The remote control device sends a pairing success message to the electronic device.
本发明实施例中,遥控装置根据配对成功消息生成提醒指令,以提醒用户配对成功。In the embodiment of the present invention, the remote control device generates a reminder instruction according to the pairing success message, so as to remind the user that the pairing is successful.
例如:若电子设备安装有应用程序,可以将应用程序内部消息通过显示屏进行显示,以通知用户已配对成功。For example, if an application is installed on the electronic device, an internal message of the application may be displayed on the display screen to notify the user that the pairing has been successful.
步骤308、电子设备向遥控装置发送随机码。Step 308: The electronic device sends a random code to the remote control device.
本发明实施例中,电子设备的第二处理器从第二存储器中获取存储的随机码,并将随机码发送至第二通信单元;第二通信单元向遥控装置的第一通信单元发送随机码。In this embodiment of the present invention, the second processor of the electronic device acquires the stored random code from the second memory, and sends the random code to the second communication unit; the second communication unit sends the random code to the first communication unit of the remote control device .
步骤310、遥控装置存储随机码,流程结束。Step 310: The remote control device stores the random code, and the process ends.
本发明实施例中,遥控装置的第一通信单元将接收到的随机码发送至第一处理器;第一处理器将随机码存储至第一存储器,流程结束。In the embodiment of the present invention, the first communication unit of the remote control device sends the received random code to the first processor; the first processor stores the random code in the first memory, and the process ends.
本发明实施例中,在电子设备与新的遥控装置进行重新配对的过程中是后台自动进行的,不需要增加用户界面的配对操作,无需用户参与,简化了配对步骤,提高了配对成功率,增强用户体验感。In the embodiment of the present invention, the re-pairing process of the electronic device and the new remote control device is automatically performed in the background, and there is no need to increase the pairing operation of the user interface, and no user participation is required, which simplifies the pairing steps and improves the pairing success rate. Enhance user experience.
本发明实施例提供的多媒体单元的控制方法的技术方案中,电子设备接收遥控装置发送的解锁指令,解锁指令包括随机码;若判断出存储的随机码和解锁指令中的随机码一致,根据解锁指令控制多媒体单元解锁。本发明实施例的方案可通过遥控装置对电子设备发送指令,以实现对多媒体单元进行控制,不需要用户直接对电子设备上的物理开关进行操作,为用户在操作上提供了极大的便利性。本发明实施例中,电子设备通过判断存储的随机码和解锁指令中的随机码是否一致,从而控制多媒体单元是否解锁,并未在电子设备上设置用于控制多媒体单元的物理开关,从而提高了电子设备的美观度。In the technical solution of the method for controlling a multimedia unit provided by the embodiment of the present invention, the electronic device receives an unlocking instruction sent by a remote control device, and the unlocking instruction includes a random code; if it is determined that the stored random code is consistent with the random code in the unlocking instruction, according to the unlocking instruction The instruction controls the unlocking of the multimedia unit. The solution of the embodiment of the present invention can send an instruction to the electronic device through the remote control device to realize the control of the multimedia unit, and does not require the user to directly operate the physical switch on the electronic device, which provides great convenience for the user in operation . In the embodiment of the present invention, the electronic device controls whether the multimedia unit is unlocked by judging whether the stored random code is consistent with the random code in the unlocking instruction, and no physical switch for controlling the multimedia unit is set on the electronic device, thereby improving the The aesthetics of electronic devices.
本申请还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当该指令在计算机上运行时,使得计算机执行如上述图6和图7所示的多媒体单元的控制方法中的各个步骤。The present application also provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on the computer, the computer executes the control of the multimedia unit shown in FIG. 6 and FIG. 7 above. steps in the method.
本发明还提供了一种包含指令的计算机程序产品,当该计算机程序产品在计算机或任一至少一种处理器上运行时,使得计算机执行如图6和图7所示的多媒体单元的控制方法中的各个步骤。The present invention also provides a computer program product containing instructions, when the computer program product runs on a computer or any at least one processor, the computer executes the control method of the multimedia unit as shown in FIG. 6 and FIG. 7 . in each step.
本发明还提供一种芯片,包括处理器。该处理器用于读取并运行存储器中存储的计算机程序,以执行本申请提供的多媒体单元的控制方法执行的相应操作和/或流程。The present invention also provides a chip including a processor. The processor is configured to read and run the computer program stored in the memory, so as to execute the corresponding operations and/or procedures performed by the method for controlling the multimedia unit provided in this application.
本发明实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示单独存在A、同时存在A和B、单独存在B的情况。其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项”及其类似表达,是指的这些项中的任意组合,包括单项或复数项的任意组合。例如,a,b和c中的至少一项可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In the embodiments of the present invention, "at least one" refers to one or more, and "multiple" refers to two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can indicate the existence of A alone, the existence of A and B at the same time, and the existence of B alone. where A and B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c may be single or multiple.
本领域普通技术人员可以意识到,本文中公开的实施例中描述的各单元及算法步骤,能够以电子硬件、计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the units and algorithm steps described in the embodiments disclosed herein can be implemented by a combination of electronic hardware, computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本发明所提供的几个实施例中,任一功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。In the several embodiments provided by the present invention, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, removable hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本发明的具体实施方式,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。本发明的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present invention. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included within the protection scope of the present invention. The protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (27)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010658158.3A CN111818377A (en) | 2020-07-09 | 2020-07-09 | A kind of control method of multimedia unit, electronic equipment and remote control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010658158.3A CN111818377A (en) | 2020-07-09 | 2020-07-09 | A kind of control method of multimedia unit, electronic equipment and remote control device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111818377A true CN111818377A (en) | 2020-10-23 |
Family
ID=72842143
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010658158.3A Pending CN111818377A (en) | 2020-07-09 | 2020-07-09 | A kind of control method of multimedia unit, electronic equipment and remote control device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111818377A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2856308Y (en) * | 2005-08-24 | 2007-01-10 | 田强 | Memory digital code lock |
CN101067358A (en) * | 2007-03-20 | 2007-11-07 | 姜君凯 | Trick lock mechanism |
CN102110319A (en) * | 2009-12-24 | 2011-06-29 | 比亚迪股份有限公司 | Wireless code hopping system, device and method for remote control door lock |
US20120038454A1 (en) * | 2009-05-04 | 2012-02-16 | Zte Corporation | Gate Control System and Method of Remote Unlocking by Validated Users |
CN104851169A (en) * | 2015-05-25 | 2015-08-19 | 惠州Tcl移动通信有限公司 | Wireless smart lock and unlocking control method thereof |
CN105303651A (en) * | 2014-07-30 | 2016-02-03 | 许加庆 | Bluetooth based two-way communication automatic locking system and method |
CN206667972U (en) * | 2016-08-31 | 2017-11-24 | 托斯卡尼(上海)酒店管理有限公司 | Intelligent padlock and intelligent padlock system |
CN109035500A (en) * | 2018-07-02 | 2018-12-18 | 深圳市沃特沃德股份有限公司 | Open the method and APP client of intelligent door lock |
CN208335313U (en) * | 2018-06-04 | 2019-01-04 | 南昌航空大学 | The controllable permission blue-tooth intelligence door lock of cell phone application |
CN111127709A (en) * | 2019-12-17 | 2020-05-08 | 重庆邮电大学 | A kind of car door lock key preparation method |
-
2020
- 2020-07-09 CN CN202010658158.3A patent/CN111818377A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2856308Y (en) * | 2005-08-24 | 2007-01-10 | 田强 | Memory digital code lock |
CN101067358A (en) * | 2007-03-20 | 2007-11-07 | 姜君凯 | Trick lock mechanism |
US20120038454A1 (en) * | 2009-05-04 | 2012-02-16 | Zte Corporation | Gate Control System and Method of Remote Unlocking by Validated Users |
CN102110319A (en) * | 2009-12-24 | 2011-06-29 | 比亚迪股份有限公司 | Wireless code hopping system, device and method for remote control door lock |
CN105303651A (en) * | 2014-07-30 | 2016-02-03 | 许加庆 | Bluetooth based two-way communication automatic locking system and method |
CN104851169A (en) * | 2015-05-25 | 2015-08-19 | 惠州Tcl移动通信有限公司 | Wireless smart lock and unlocking control method thereof |
CN206667972U (en) * | 2016-08-31 | 2017-11-24 | 托斯卡尼(上海)酒店管理有限公司 | Intelligent padlock and intelligent padlock system |
CN208335313U (en) * | 2018-06-04 | 2019-01-04 | 南昌航空大学 | The controllable permission blue-tooth intelligence door lock of cell phone application |
CN109035500A (en) * | 2018-07-02 | 2018-12-18 | 深圳市沃特沃德股份有限公司 | Open the method and APP client of intelligent door lock |
CN111127709A (en) * | 2019-12-17 | 2020-05-08 | 重庆邮电大学 | A kind of car door lock key preparation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12058145B2 (en) | Device control method and device | |
US9380439B2 (en) | Device, system and method for confidentially communicating a security alert | |
US9692953B2 (en) | Camera-lens automatic pop-up assembly | |
CN114173204B (en) | Message prompting method, electronic equipment and system | |
CN113496426B (en) | Method, electronic device and system for recommending services | |
US20250165209A1 (en) | Enhanced video call method and system, and electronic device | |
CN113163052B (en) | An emergency call method and electronic device | |
US10174965B2 (en) | Methods and apparatuses for switching state | |
EP3076745B1 (en) | Methods and apparatuses for controlling wireless access point | |
EP2924552B1 (en) | Method and mobile terminal for executing user instructions | |
CN106878554B (en) | A kind of theft preventing method of mobile terminal, device and mobile terminal | |
CN114063951B (en) | Screen projection abnormity processing method and electronic equipment | |
CN113343193B (en) | Identity verification method and device and electronic equipment | |
US9936455B2 (en) | Systems and methods for reducing electromagnetic radiation emitted from a wireless headset | |
WO2020078332A1 (en) | Negotiation method based on voice call translation capability, and electronic devices | |
WO2020051852A1 (en) | Method for recording and displaying information in communication process, and terminals | |
WO2024001940A1 (en) | Vehicle searching method and apparatus, and electronic device | |
US9392098B2 (en) | Dummy terminal and main body | |
US10199075B2 (en) | Method and playback device for controlling working state of mobile terminal, and storage medium | |
CN111818377A (en) | A kind of control method of multimedia unit, electronic equipment and remote control device | |
CN111225111A (en) | Function control method, function control device, and storage medium | |
WO2022252812A1 (en) | Information protection method and electronic device | |
EP3086528A1 (en) | Method and device for controlling access of smart device | |
CN106375744A (en) | Information projection method and device | |
CN108011882B (en) | Method, device and system for data synchronization |
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 |
Application publication date: 20201023 |
|
RJ01 | Rejection of invention patent application after publication |