CN114501393A - Display device, control apparatus pairing method, and storage medium - Google Patents
Display device, control apparatus pairing method, and storage medium Download PDFInfo
- Publication number
- CN114501393A CN114501393A CN202111658560.2A CN202111658560A CN114501393A CN 114501393 A CN114501393 A CN 114501393A CN 202111658560 A CN202111658560 A CN 202111658560A CN 114501393 A CN114501393 A CN 114501393A
- Authority
- CN
- China
- Prior art keywords
- pairing
- control device
- display
- information
- display device
- 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
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- 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/42225—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details characterized by types of remote control, e.g. universal remote control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/50—Secure pairing of devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/60—Context-dependent security
- H04W12/69—Identity-dependent
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
- H04W48/10—Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Databases & Information Systems (AREA)
- Selective Calling Equipment (AREA)
Abstract
本公开涉及一种显示设备、控制装置配对方法及存储介质,应用于显示技术领域,解决现有技术中需要用户手动将之前与显示设备配对连接的控制装置解除配对之后,才能进行显示设备与新的控制装置之间的配对连接的问题。该显示设备包括:第一显示器;第一控制器,被配置为:接收第一控制装置发送的配对标识信息,基于配对标识信息确定第一控制装置为目标类型控制装置;获取显示设备的当前配对信息,若当前配对信息表征显示设备已成功与第二控制装置配对,控制取消与第二控制装置的配对,并与第一控制装置配对。
The present disclosure relates to a display device, a control device pairing method, and a storage medium, which are applied to the field of display technology and solve the problem in the prior art that the user manually unpairs the control device previously paired with the display device before the display device can be paired with a new device. The problem with the pairing connection between the control devices. The display device includes: a first display; a first controller configured to: receive pairing identification information sent by a first control device, and determine, based on the pairing identification information, that the first control device is a target type control device; and acquire the current pairing of the display device information, if the current pairing information indicates that the display device has been successfully paired with the second control device, control to cancel the pairing with the second control device and pair with the first control device.
Description
技术领域technical field
本公开涉及显示技术领域,尤其涉及一种显示设备、控制装置配对方法及存储介质。The present disclosure relates to the field of display technology, and in particular, to a display device, a control device pairing method, and a storage medium.
背景技术Background technique
随着显示设备进入智能时代,显示设备的功能越来越丰富多样。现有的控制装置(例如遥控器)一般是为了实现对与其对应的显示设备的远程遥控,因此控制装置和显示设备是一对一进行配对并且连接,当有新的控制装置要接入显示设备时,需要用户手动将之前配对连接的控制装置解除配对,才能进行显示设备与新的控制装置之间的配对连接。上述方法需要用户手动操作,浪费时间且体验感较差。As display devices enter the era of intelligence, the functions of display devices are becoming more and more diverse. The existing control device (such as a remote control) is generally used to realize remote control of the corresponding display device. Therefore, the control device and the display device are paired and connected one-to-one. When a new control device needs to be connected to the display device When the user needs to manually unpair the previously paired control device, the pairing connection between the display device and the new control device can be performed. The above method requires manual operation by the user, which wastes time and has poor experience.
发明内容SUMMARY OF THE INVENTION
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种显示设备、控制装置配对方法及存储介质,可以在显示设备与新的控制装置进行配对连接时,无需手动解除之前与显示设备配对连接的控制装置,减少用户的操作,满足用户的控制装置切换需求。In order to solve the above-mentioned technical problems or at least partially solve the above-mentioned technical problems, the present disclosure provides a display device, a control device pairing method and a storage medium. The display device is paired and connected to the control device, which reduces the user's operation and meets the user's control device switching needs.
第一方面,本公开提供了一种显示设备,该显示设备包括:In a first aspect, the present disclosure provides a display device, the display device comprising:
第一显示器;the first display;
第一控制器,被配置为:The first controller, configured as:
接收第一控制装置发送的配对标识信息,基于所述配对标识信息确定所述第一控制装置为目标类型控制装置;receiving pairing identification information sent by a first control device, and determining, based on the pairing identification information, that the first control device is a target type control device;
获取所述显示设备的当前配对信息,若所述当前配对信息表征所述显示设备已成功与第二控制装置配对,控制取消与所述第二控制装置的配对,并与所述第一控制装置配对。Obtain the current pairing information of the display device, if the current pairing information indicates that the display device has been successfully paired with the second control device, control to cancel the pairing with the second control device, and connect with the first control device pair.
本公开一些实施例中,所述第一控制器,还被配置为:In some embodiments of the present disclosure, the first controller is further configured to:
控制取消与所述第二控制装置的配对之前,确定所述显示设备的配对模式为目标模式。Before controlling to cancel the pairing with the second control device, it is determined that the pairing mode of the display device is the target mode.
在本公开一些实施例中,所述第一控制器,还被配置为:In some embodiments of the present disclosure, the first controller is further configured to:
控制取消与所述第二控制装置的配对之前,确定所述显示设备的配对模式为非目标模式,并在所述第一显示器上显示提示信息,所述提示信息用于指示用户选择是否取消与所述第二控制装置的配对,接收用户的取消与所述第二控制装置配对的指示信息。Before controlling to cancel the pairing with the second control device, determine that the pairing mode of the display device is a non-target mode, and display prompt information on the first display, the prompt information is used to instruct the user to choose whether to cancel the pairing with the device. For the pairing of the second control device, the user's instruction information of canceling the pairing with the second control device is received.
在本公开一些实施例中,所述第一控制器,具体被配置为:若所述当前配对信息表征所述显示设备已成功与第二控制装置配对,控制调用取消配对接口取消与所述第二控制装置的配对,并调用配对接口与所述第一控制装置配对。In some embodiments of the present disclosure, the first controller is specifically configured to: if the current pairing information indicates that the display device has been successfully paired with the second control apparatus, control calling an unpairing interface to cancel the pairing with the first controller. The two control devices are paired, and the pairing interface is called to pair with the first control device.
在本公开一些实施例中,所述第一控制器,具体被配置为:在预设时间段内扫描到所述第一控制装置的第一广播包,所述第一广播包中包括:第一配对信息;调用所述配对接口基于所述第一广播包中的第一配对信息与所述第一控制装置配对。In some embodiments of the present disclosure, the first controller is specifically configured to: scan a first broadcast packet of the first control device within a preset time period, where the first broadcast packet includes: a first broadcast packet of the first control device. pairing information; invoking the pairing interface to pair with the first control device based on the first pairing information in the first broadcast packet.
在本公开一些实施例中,所述第一控制器,还被配置为:In some embodiments of the present disclosure, the first controller is further configured to:
在预设时间段内未扫描到所述第一控制装置的广播包,则获取所述第二控制装置的第二广播包,所述第二广播包中包括:第二配对信息;调用所述配对接口基于所述第二广播包中的第二配对信息与所述第二控制装置配对。If the broadcast packet of the first control device is not scanned within a preset time period, the second broadcast packet of the second control device is acquired, and the second broadcast packet includes: second pairing information; The pairing interface is paired with the second control device based on the second pairing information in the second broadcast packet.
第二方面,本公开提供一种第一控制装置,包括:In a second aspect, the present disclosure provides a first control device, comprising:
第二显示器,被配置为:显示用户确定的开始配对消息;The second display is configured to: display a start pairing message determined by the user;
第二控制器,被配置为:根据所述开始配对消息向对应的显示设备的第一控制器发送配对标识信息,以使所述第一控制器基于所述配对标识信息确定所述第一控制装置为目标类型控制装置时,获取所述显示设备的当前配对信息,若所述当前配对信息表征所述显示设备已成功与第二控制装置配对,控制取消与所述第二控制装置的配对,并与所述第一控制装置配对。A second controller configured to: send pairing identification information to a first controller of a corresponding display device according to the pairing start message, so that the first controller determines the first control based on the pairing identification information When the device is a target type control device, obtain the current pairing information of the display device, if the current pairing information indicates that the display device has been successfully paired with the second control device, control to cancel the pairing with the second control device, and paired with the first control device.
第三方面,本公开提供一种控制装置配对方法,包括:In a third aspect, the present disclosure provides a control device pairing method, including:
接收第一控制装置发送的配对标识信息,基于所述配对标识信息确定所述第一控制装置为目标类型控制装置;receiving pairing identification information sent by a first control device, and determining, based on the pairing identification information, that the first control device is a target type control device;
获取显示设备的当前配对信息,若所述当前配对信息表征所述显示设备已成功与第二控制装置配对,控制取消与所述第二控制装置的配对,并与所述第一控制装置配对。Acquire current pairing information of the display device. If the current pairing information indicates that the display device has been successfully paired with the second control device, control to cancel the pairing with the second control device and pair with the first control device.
在本公开一些实施例中,所述方法还包括:In some embodiments of the present disclosure, the method further includes:
控制取消与所述第二控制装置的配对之前,确定所述显示设备的配对模式为目标模式。Before controlling to cancel the pairing with the second control device, it is determined that the pairing mode of the display device is the target mode.
在本公开一些实施例中,所述方法还包括:In some embodiments of the present disclosure, the method further includes:
控制取消与所述第二控制装置的配对之前,确定所述显示设备的配对模式为非目标模式,并在所述第一显示器上显示提示信息,所述提示信息用于指示用户选择是否取消与所述第二控制装置的配对,接收用户的取消与所述第二控制装置配对的指示信息。Before controlling to cancel the pairing with the second control device, determine that the pairing mode of the display device is a non-target mode, and display prompt information on the first display, the prompt information is used to instruct the user to choose whether to cancel the pairing with the device. For the pairing of the second control device, the user's instruction information of canceling the pairing with the second control device is received.
在本公开一些实施例中,所述若所述当前配对信息表征所述显示设备已成功与第二控制装置配对,控制取消与所述第二控制装置的配对,并与所述第一控制装置配对,包括:In some embodiments of the present disclosure, if the current pairing information indicates that the display device has been successfully paired with the second control device, the control cancels the pairing with the second control device, and controls the display device to be paired with the first control device. Pairing, including:
若所述当前配对信息表征所述显示设备已成功与第二控制装置配对,控制调用取消配对接口取消与所述第二控制装置的配对,并调用配对接口与所述第一控制装置配对。If the current pairing information indicates that the display device has been successfully paired with the second control device, the control invokes the unpairing interface to cancel the pairing with the second control device, and invokes the pairing interface to pair with the first control device.
在本公开一些实施例中,所述方法还包括:In some embodiments of the present disclosure, the method further includes:
在预设时间段内扫描到所述第一控制装置的第一广播包,所述第一广播包中包括:第一配对信息;A first broadcast packet of the first control device is scanned within a preset time period, and the first broadcast packet includes: first pairing information;
调用所述配对接口基于所述第一广播包中的第一配对信息与所述第一控制装置配对。Invoking the pairing interface to pair with the first control device based on the first pairing information in the first broadcast packet.
在本公开一些实施例中,所述方法还包括:In some embodiments of the present disclosure, the method further includes:
在预设时间段内未扫描到所述第一控制装置的广播包,则获取所述第二控制装置的第二广播包,所述第二广播包中包括:第二配对信息;调用所述配对接口基于所述第二广播包中的第二配对信息与所述第二控制装置配对。If the broadcast packet of the first control device is not scanned within a preset time period, the second broadcast packet of the second control device is acquired, and the second broadcast packet includes: second pairing information; The pairing interface is paired with the second control device based on the second pairing information in the second broadcast packet.
第四方面,本公开提供了一种计算机可读存储介质,包括:计算机可读存储介质上存储计算机程序,计算机程序被处理器执行时实现如第三方面所示的控制装置配对方法。In a fourth aspect, the present disclosure provides a computer-readable storage medium, comprising: storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the control device pairing method shown in the third aspect is implemented.
第五方面,本公开提供了一种计算机程序产品,其特征在于,包括:当计算机程序产品在计算机上运行时,使得计算机实现如第三方面所示的控制装置配对方法。In a fifth aspect, the present disclosure provides a computer program product, which is characterized by comprising: when the computer program product runs on a computer, enabling the computer to implement the control device pairing method shown in the third aspect.
本公开实施例提供的技术方案与现有技术相比具有如下优点:本公开首先接收由第一控制装置发送的配对标识信息,根据该配对标识信息能够确定第一控制装置是否为目标类型控制装置,在确定第一控制装置为目标类型控制装置时获取显示设备的当前配对信息,如果根据当前配对信息确定显示设备已成功与第二控制装置配对,则控制取消与第二控制装置的配对,并与第一控制装置进行配对,从而在进行控制装置配对切换时,无需手动解除之前与显示设备配对连接的控制装置,减少用户的操作,提高切换的效率,满足用户的控制装置切换需求。Compared with the prior art, the technical solutions provided by the embodiments of the present disclosure have the following advantages: the present disclosure firstly receives the pairing identification information sent by the first control device, and can determine whether the first control device is a target type control device according to the pairing identification information , when it is determined that the first control device is the target type control device, the current pairing information of the display device is obtained, and if it is determined according to the current pairing information that the display device has been successfully paired with the second control device, the control cancels the pairing with the second control device, and It is paired with the first control device, so that when the control device is paired and switched, there is no need to manually release the control device previously paired with the display device, which reduces the user's operation, improves the switching efficiency, and meets the user's control device switching needs.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the accompanying drawings that are required to be used in the description of the embodiments or the prior art will be briefly introduced below. In other words, on the premise of no creative labor, other drawings can also be obtained from these drawings.
图1为根据本公开一个或多个实施例的显示设备与控制装置之间操作场景的示意图;FIG. 1 is a schematic diagram of an operation scenario between a display device and a control apparatus according to one or more embodiments of the present disclosure;
图2为根据本公开一个或多个实施例的控制设备100的硬件配置框图;FIG. 2 is a block diagram of the hardware configuration of the
图3为根据本公开一个或多个实施例的显示设备200的硬件配置框图;3 is a block diagram of a hardware configuration of a
图4为根据本公开一个或多个实施例的显示设备200中软件配置示意图;FIG. 4 is a schematic diagram of software configuration in the
图5为根据本公开一个或多个实施例的显示设备200中应用程序的图标控件界面显示示意图;FIG. 5 is a schematic diagram of displaying an icon control interface of an application in a
图6A为根据本公开一个或多个实施例进行控制装置配对的系统框架图;6A is a system block diagram for pairing control devices according to one or more embodiments of the present disclosure;
图6B为根据本公开一个或多个实施例进行控制装置配对的架构图;6B is an architectural diagram of control device pairing according to one or more embodiments of the present disclosure;
图6C为根据本公开一个或多个实施例进行控制装置配对的流程图;FIG. 6C is a flowchart of control device pairing according to one or more embodiments of the present disclosure;
图7A为根据本公开一个或多个实施例进行控制装置配对方法的流程图;7A is a flowchart of a method for pairing a control device according to one or more embodiments of the present disclosure;
图7B为根据本公开一个或多个实施例进行控制装置配对方法的场景示意图;7B is a schematic diagram of a scenario of a method for pairing a control device according to one or more embodiments of the present disclosure;
图8为根据本公开一个或多个实施例进行另一控制装置配对方法的流程图;FIG. 8 is a flowchart of another control device pairing method according to one or more embodiments of the present disclosure;
图9为根据本公开一个或多个实施例进行控制装置配对方法的交互过程示意图;9 is a schematic diagram of an interaction process of a control device pairing method according to one or more embodiments of the present disclosure;
具体实施方式Detailed ways
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments may be combined with each other under the condition of no conflict.
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。Many specific details are set forth in the following description to facilitate a full understanding of the present disclosure, but the present disclosure can also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, and Not all examples.
针对显示设备,尤其是智能显示设备,通常是采用将其控制装置,例如遥控器与智能显示设备一对一进行配对并且连接,从而实现对智能显示设备的远程遥控。上述配对过程为用户提供了了极大的便利,且能够保证智能显示设备在使用过程中的安全性。For a display device, especially a smart display device, a control device, such as a remote control, is usually paired and connected one-to-one with the smart display device, so as to realize the remote control of the smart display device. The above pairing process provides users with great convenience, and can ensure the security of the smart display device during use.
现有技术在进行控制装置切换时,假设用户想将控制装置A与当前显示设备进行配对,在配对过程中确定当前显示设备已与控制装置B成功建立配对,那么用户需要先手动解除当前显示设备与控制装置B的配对,然后进行当前显示设备与控制装置A的配对,上述控制装置切换过程中用户的操作较多,浪费时间。When switching the control device in the prior art, it is assumed that the user wants to pair the control device A with the current display device, and it is determined during the pairing process that the current display device has been successfully paired with the control device B, then the user needs to manually release the current display device first. Pairing with the control device B, and then pairing the current display device with the control device A, the above-mentioned control device switching process requires many operations by the user, which wastes time.
为解决上述问题,本公开在接收到控制装置A发送的配对标识信息,根据该配对标识信息确定控制装置为目标类型控制装置,如智能蓝牙遥控器时,获取显示设备的当前配对信息,如果根据当前配对信息确定显示设备已成功与控制装置B,如非智能蓝牙遥控器配对,则控制取消与控制装置B的配对,并与控制装置A配对,上述配对过程中,无需手动解除显示设备与控制装置B的配对,能够减少用户的操作,提高切换的效率,满足用户的控制装置切换需求。In order to solve the above problem, the present disclosure obtains the current pairing information of the display device when receiving the pairing identification information sent by the control device A, and determines that the control device is a target type control device according to the pairing identification information, such as a smart bluetooth remote control, if according to the The current pairing information determines that the display device has been successfully paired with the control device B. If the non-smart Bluetooth remote control is paired, the control will cancel the pairing with the control device B and pair with the control device A. During the above pairing process, there is no need to manually release the display device and the control device. The pairing of the device B can reduce the user's operation, improve the switching efficiency, and meet the user's control device switching requirements.
图1为一些实施例中的场景示意图一。如图1所示,用户可通过智能设备300或控制装置100(例如,第一控制装置和第二控制装置)操作显示设备200。控制装置100可以为遥控器,遥控器和显示设备200的通信包括红外协议通信、蓝牙协议通信、无线或其他有线方式来控制显示设备200。用户可以通过第一控制装置上按键、语音输入以及控制面板输入等输入用户指令,来控制显示设备200。当控制装置100为蓝牙控制装置时,在显示设备200中安装有蓝牙配对应用程序,以使用户能够通过该蓝牙配对应用程序与蓝牙控制装置进行配对连接,从而达到对显示设备200进行控制的目的。FIG. 1 is a schematic diagram 1 of a scenario in some embodiments. As shown in FIG. 1 , the user may operate the
在一些实施例的场景中,若用户想将智能蓝牙控制装置(例如智能蓝牙遥控器)与智能电视机进行配对从而达到对智能电视机进行控制的目的,则需要先通过智能蓝牙控制装置向智能电视机中安装的蓝牙配对应用程序发送配对标识信息,配对标识信息可以为能够标识智能蓝牙控制装置的身份的信息,例如键值信息或者其他信息等。蓝牙配对应用程序在接收到智能蓝牙控制装置发送的配对标识信息之后,根据该配对标识信息确定智能蓝牙控制装置为目标类型控制装置时,获取智能电视机的当前配对信息,以便在根据当前配对信息确定智能电视机已成功与其他蓝牙控制装置配对时,控取消制智能电视机与其他蓝牙控制装置的配对,并将智能电视机与智能蓝牙控制装置进行配对,从而快速实现控制装置的切换,提升用户的使用体验。In the scenarios of some embodiments, if a user wants to pair a smart Bluetooth control device (such as a smart Bluetooth remote control) with a smart TV to achieve the purpose of controlling the smart TV, he needs to first send the smart Bluetooth control device to the smart TV. The Bluetooth pairing application installed in the TV sends pairing identification information, and the pairing identification information may be information that can identify the identity of the smart Bluetooth control device, such as key value information or other information. After receiving the pairing identification information sent by the smart Bluetooth control device, the Bluetooth pairing application determines that the smart Bluetooth control device is the target type control device according to the pairing identification information, and obtains the current pairing information of the smart TV, so as to use the current pairing information according to the current pairing information. When it is determined that the smart TV has been successfully paired with other Bluetooth control devices, control to cancel the pairing of the smart TV and other Bluetooth control devices, and pair the smart TV with the smart Bluetooth control device, so as to quickly realize the switching of control devices and improve the User experience.
在一些实施例中,移动终端300可与显示设备200安装软件应用,通过网络通信协议实现连接通信,实现一对一控制操作的和数据通信的目的。也可以将移动终端300上显示音视频内容传输到显示设备200上,实现同步显示功能。显示设备200还与服务器400通过多种通信方式进行数据通信,可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器400可以是一个集群,也可以是多个集群,可以包括一类或多类服务器。服务器400可以向显示设备200提供各种内容和互动。显示设备200,可以为液晶显示器、OLED显示器或者投影显示设备等。显示设备200除了提供广播接收电视功能之外,还可以附加提供计算机支持功能的智能网络电视功能。In some embodiments, the
图2示例性示出了根据示例性实施例中控制装置100为第一控制装置时的配置框图。如图2所示,第一控制装置包括第二控制器110、通信接口130、用户输入/输出接口140、存储器以及供电电源。控制装置100可接收用户的输入操作指令,且将操作指令转换为显示设备200可识别和响应的指令,起用户与显示设备200之间交互中介作用。通信接口130用于和外部通信,包含WIFI芯片,蓝牙模块,NFC或可替代模块中的至少一种。用户输入/输出接口140包含麦克风,触摸板,传感器,按键或可替代模块中的至少一种。FIG. 2 exemplarily shows a configuration block diagram when the
本公开中,第一控制装置为智能控制装置。In the present disclosure, the first control device is an intelligent control device.
在一些实施例中,控制装置100还可以为第二控制装置,第二控制装置可以为智能控制装置,也可以为非智能控制装置,其能够通过相应的配对方式与显示设备配对连接,例如,蓝牙配对方式。在第二控制装置为非智能控制装置的情况下,通过控制装置与显示设备200进行配对时,第一控制装置的配对优先级高于第二控制装置。In some embodiments, the
图3示出了根据示例性实施例中显示设备200的硬件配置框图。如图3所示显示设备200包括调谐解调器210、通信器220、检测器230、外部装置接口240、第一控制器250、第一显示器260、音频输出接口270、存储器、供电电源、用户接口280中的至少一种。第一控制器250包括中央处理器,视频处理器,音频处理器,图形处理器,RAM,ROM,用于输入/输出的第一接口至第n接口。第一显示器260可为液晶显示器、OLED显示器、触控显示器以及投影显示器中的至少一种,还可以为一种投影装置和投影屏幕。调谐解调器210通过有线或无线接收方式接收广播电视信号,以及从多个无线或有线广播电视信号中解调出音视频信号,如以及EPG数据信号。通信器220是用于根据各种通信协议类型与外部设备或服务器进行通信的组件。例如:通信器可以包括Wifi模块,蓝牙模块,有线以太网模块等其他网络通信协议芯片或近场通信协议芯片,以及红外接收器中的至少一种。显示设备200可以通过通信器220与外部控制设备100或服务器400建立控制信号和数据信号的发送和接收。检测器230用于采集外部环境或与外部交互的信号。第一控制器250和调谐解调器210可以位于不同的分体设备中,即调谐解调器210也可在第一控制器250所在的主体设备的外置设备中,如外置机顶盒等。外部装置接口240可以包括但不限于如下:高清多媒体接口接口(HDMI)、模拟或数据高清分量输入接口(分量)、复合视频输入接口(CVBS)、USB输入接口(USB)、RGB端口等任一个或多个接口。也可以是上述多个接口形成的复合性的输入/输出接口。用户接口280可用于接收控制装置100(如:红外遥控器等)的控制信号。FIG. 3 is a block diagram showing a hardware configuration of the
在一些实施例中,第一控制器250,通过存储在存储器上中各种软件控制程序,来控制显示设备的工作和响应用户的操作。第一控制器250控制显示设备200的整体操作。用户可在第一显示器260上显示的图形用户界面(GUI)输入用户命令,则用户输入接口通过图形用户界面(GUI)接收用户输入命令。或者,用户可通过输入特定的声音或手势进行输入用户命令,则用户输入接口通过传感器识别出声音或手势,来接收用户输入命令。In some embodiments, the
在一些实施例中,“用户界面”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。用户界面常用的表现形式是图形用户界面(Graphic User Interface,简称GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、窗口和控件等界面元素,其中控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素中的至少一种。In some embodiments, a "user interface" is a medium interface for interaction and information exchange between an application program or an operating system and a user, which enables conversion between an internal form of information and a form acceptable to the user. A commonly used form of user interface is a graphical user interface (Graphic User Interface, GUI for short), which refers to a user interface related to computer operations displayed in a graphical manner. It can be an interface element such as an icon, window, and control displayed on the display screen of an electronic device, wherein the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. at least one of the visual interface elements.
图4为根据本公开一个或多个实施例的显示设备200中软件配置示意图,如图4所示,将系统分为四层,从上至下分别为应用程序(Applications)层(简称“应用层”),应用程序框架(Application Framework)层(简称“框架层”),安卓运行时(Android runtime)和系统库层(简称“系统运行库层”),以及内核层。FIG. 4 is a schematic diagram of software configuration in the
在一些实施例中,应用程序层中运行有至少一个应用程序,这些应用程序可以是操作系统自带的窗口(Window)程序、系统设置程序或时钟程序等;也可以是第三方开发者所开发的应用程序。在具体实施时,应用程序层中的应用程序包括但不限于以上举例。In some embodiments, at least one application program runs in the application program layer, and these application programs may be a Window program, a system setting program, or a clock program that comes with the operating system; they may also be developed by third-party developers. s application. During specific implementation, the applications in the application layer include but are not limited to the above examples.
在一些实施例中,应用程序框架层为应用程序提供应用编程接口(ApplicationProgramming Interface,简称API)和编程框架。应用程序框架层包括一些预先定义的函数。应用程序框架层相当于一个处理中心,这个中心决定让应用层中的应用程序做出动作。应用程序通过API接口,可在执行中访问系统中的资源和取得系统的服务。In some embodiments, the application framework layer provides an application programming interface (Application Programming Interface, API for short) and a programming framework for the application. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center, which decides to let the applications in the application layer take action. The application program can access the resources in the system and obtain the services of the system during execution through the API interface.
在一些实施例中,应用程序框架层中可以包括管理器(Managers),内容提供者(Content Provider)等,其中管理器包括以下模块中的至少一个:活动管理器(ActivityManager)用于和系统中正在运行的所有活动进行交互;位置管理器(Location Manager)用于给系统服务或应用提供了系统位置服务的访问;文件包管理器(Package Manager)用于检索当前安装在设备上的应用程序包相关的各种信息;通知管理器(NotificationManager)用于控制通知消息的显示和清除;窗口管理器(Window Manager)用于管理用户界面上的括图标、窗口、工具栏、壁纸和桌面部件。In some embodiments, the application framework layer may include managers (Managers), content providers (Content Provider), etc., wherein the manager includes at least one of the following modules: Activity Manager (ActivityManager) is used for and in the system Interacts with all running activities; Location Manager is used to provide system services or applications with access to system location services; Package Manager is used to retrieve application packages currently installed on the device Various related information; Notification Manager (NotificationManager) is used to control the display and clearing of notification messages; Window Manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers and desktop components on the user interface.
在一些实施例中,活动管理器用于管理各个应用程序的生命周期以及通常的导航回退功能,比如控制应用程序的退出、打开、后退等。窗口管理器用于管理所有的窗口程序,比如获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕,控制显示窗口变化(例如将显示窗口缩小显示、抖动显示、扭曲变形显示等)等。In some embodiments, the activity manager is used to manage the life cycle of the various applications and general navigation rollback functions, such as controlling the exit, opening, rollback, etc. of the application. The window manager is used to manage all window programs, such as obtaining the size of the display screen, judging whether there is a status bar, locking the screen, taking screenshots, and controlling the change of the display window (such as reducing the display window, shaking display, distorting display, etc.), etc.
在一些实施例中,系统运行库层为上层即框架层提供支撑,当框架层被使用时,安卓操作系统会运行系统运行库层中包含的C/C++库以实现框架层要实现的功能。In some embodiments, the system runtime layer provides support for the upper layer, that is, the framework layer. When the framework layer is used, the Android operating system will run the C/C++ library included in the system runtime layer to implement the functions to be implemented by the framework layer.
在一些实施例中,内核层是硬件和软件之间的层,至少包含以下驱动中的至少一种:音频驱动、显示驱动、蓝牙驱动、摄像头驱动、WIFI驱动、USB驱动、HDMI驱动、传感器驱动(如指纹传感器,温度传感器,压力传感器等)、以及电源驱动等。In some embodiments, the kernel layer is a layer between hardware and software, at least including at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power drive.
图5为根据本公开一个或多个实施例的显示设备200中应用程序的图标控件界面显示示意图,如图5中所示,应用程序层包含至少一个应用程序可以在显示器中显示对应的图标控件,如:直播电视应用程序图标控件、视频点播应用程序图标控件、媒体中心应用程序图标控件、应用程序中心图标控件、游戏应用图标控件等。直播电视应用程序,可以通过不同的信号源提供直播电视。视频点播应用程序,可以提供来自不同存储源的视频。不同于直播电视应用程序,视频点播提供来自某些存储源的视频显示。媒体中心应用程序,可以提供各种多媒体内容播放的应用程序。应用程序中心,可以提供储存各种应用程序。FIG. 5 is a schematic diagram of displaying an icon control interface of an application in a
在一些实施例中,上述显示设是具有显示功能的终端设备,例如电视机、手机、电脑、学习机等。该显示设备中:In some embodiments, the above-mentioned display device is a terminal device with a display function, such as a television, a mobile phone, a computer, a learning machine, and the like. On this display device:
输出接口(第一显示器260,和/或,音频输出接口270),被配置为输出用户交互信息;an output interface (the
通信器220,用于与服务器400进行通信;a communicator 220 for communicating with the
用户接口280,被配置为:接收用户的输入;
第一控制器250,被配置为:接收第一控制装置发送的配对标识信息,基于配对标识信息确定第一控制装置为目标类型控制装置;The
获取显示设备的当前配对信息,若当前配对信息表征显示设备已成功与第二控制装置配对,控制取消与第二控制装置的配对,并与第一控制装置配对。The current pairing information of the display device is acquired. If the current pairing information indicates that the display device has been successfully paired with the second control device, the control is to cancel the pairing with the second control device and pair with the first control device.
在一些实施例中,第一控制器,还被配置为:In some embodiments, the first controller is further configured to:
控制取消与第二控制装置的配对之前,确定显示设备的配对模式为目标模式。Before controlling to cancel the pairing with the second control device, it is determined that the pairing mode of the display device is the target mode.
在一些实施例中,第一控制器,还被配置为:In some embodiments, the first controller is further configured to:
控制取消与第二控制装置的配对之前,确定显示设备的配对模式为非目标模式,并在第一显示器上显示提示信息,提示信息用于指示用户选择是否取消与第二控制装置的配对,接收用户的取消与第二控制装置配对的指示信息。Before controlling to cancel the pairing with the second control device, determine that the pairing mode of the display device is the non-target mode, and display prompt information on the first display, where the prompt information is used to instruct the user to choose whether to cancel the pairing with the second control device, receive Indication information of the user's cancellation of pairing with the second control device.
在一些实施例中,第一控制器,具体被配置为:In some embodiments, the first controller is specifically configured to:
若当前配对信息表征显示设备已成功与第二控制装置配对,控制调用取消配对接口取消与第二控制装置的配对,并调用配对接口与第一控制装置配对。If the current pairing information indicates that the display device has been successfully paired with the second control device, the control invokes the unpairing interface to cancel the pairing with the second control device, and invokes the pairing interface to pair with the first control device.
在一些实施例中,第一控制器,具体被配置为:In some embodiments, the first controller is specifically configured to:
在预设时间段内扫描到第一控制装置的第一广播包,第一广播包中包括:第一配对信息;The first broadcast packet of the first control device is scanned within a preset time period, and the first broadcast packet includes: first pairing information;
调用配对接口基于第一广播包中的第一配对信息与第一控制装置配对。The pairing interface is invoked to pair with the first control device based on the first pairing information in the first broadcast packet.
在一些实施例中,第一控制器,还被配置为:In some embodiments, the first controller is further configured to:
在预设时间段内未扫描到第一控制装置的广播包,则获取第二控制装置的第二广播包,第二广播包中包括:第二配对信息;If the broadcast packet of the first control device is not scanned within the preset time period, the second broadcast packet of the second control device is acquired, and the second broadcast packet includes: second pairing information;
调用配对接口基于第二广播包中的第二配对信息与第二控制装置配对。The pairing interface is invoked to pair with the second control device based on the second pairing information in the second broadcast packet.
在一些实施例中上述显示设备可以为具有操作系统的显示设备,该显示设备的操作系统可以为安卓操作系统、iOS操作系统等,下面以安卓操作系统为例进行介绍。In some embodiments, the above-mentioned display device may be a display device having an operating system, and the operating system of the display device may be an Android operating system, an iOS operating system, or the like. The following description will be given by taking the Android operating system as an example.
综上所述,本公开首先接收由第一控制装置发送的配对标识信息,根据该配对标识信息能够确定第一控制装置是否为目标类型控制装置,在确定第一控制装置为目标类型控制装置时获取显示设备的当前配对信息,如果根据当前配对信息确定显示设备已成功与第二控制装置配对,则控制取消与第二控制装置的配对,并与第一控制装置进行配对,从而在进行控制装置配对切换时,无需手动解除之前与显示设备配对连接的控制装置,减少用户的操作,提高切换的效率,满足用户的控制装置切换需求。To sum up, the present disclosure firstly receives the pairing identification information sent by the first control device, and can determine whether the first control device is a target type control device according to the pairing identification information, and when it is determined that the first control device is a target type control device Obtain the current pairing information of the display device, and if it is determined according to the current pairing information that the display device has been successfully paired with the second control device, control to cancel the pairing with the second control device, and pair with the first control device, so as to control the device During pairing switching, there is no need to manually release the control device previously paired with the display device, which reduces user operations, improves switching efficiency, and satisfies the user's control device switching needs.
图6A为根据本公开一个或多个实施例进行控制装置配对的系统框架图,如图6A所示,该系统中可以包括接收模块601、确定模块602以及控制模块603,其中接收模块601、确定模块602以及控制模块603可以配置在显示设备中安装的蓝牙配对应用程序中。用户想要将第一控制装置与显示设备进行配对连接时,先通过第一控制装置向显示设备中安装的蓝牙配对应用程序发送配对标识信息,该系统通过接收模块601接收第一控制装置发送的配对标识信息,然后通过确定模块602对接收到的配对标识信息进行分析,从而确定第一控制装置为目标类型控制装置,最后通过控制模块603获取显示设备的当前配对信息,如果根据当前配对信息确定显示设备已成功与第二控制装置配对,则控制取消显示设备与第二控制装置的配对,并将显示设备与第一控制装置配对。其中,第一控制装置和第二控制装置的类别不同。FIG. 6A is a system frame diagram of pairing control devices according to one or more embodiments of the present disclosure. As shown in FIG. 6A , the system may include a
基于上述系统框架,本公开在安卓系统中的实现如图6B所示,安卓系统中主要包括应用层、框架层、系统运行库层以及内核层,实现逻辑主要在应用层体现,其中包括接收模块、确定模块以及控制模块。Based on the above system framework, the implementation of the present disclosure in the Android system is shown in FIG. 6B . The Android system mainly includes an application layer, a framework layer, a system runtime layer, and a kernel layer, and the implementation logic is mainly embodied in the application layer, including the receiving module. , determine the module and control the module.
如图6C所示,本公开实施例中提供的控制装置配对方法结合图6A中的接收模块601、确定模块602以及控制模块603得以实现,能够在进行控制装置配对切换时,无需手动解除之前与显示设备配对连接的控制装置,减少用户的操作,提高切换的效率,满足用户的控制装置切换需求。As shown in FIG. 6C , the control device pairing method provided in the embodiment of the present disclosure is implemented in combination with the receiving
本公开实施例中提供的控制装置配对方法,可以在用户想要将与显示设备配对的第二控制装置切换为第一控制装置时,先通过配对标识信息确定第一控制装置为目标类型控制装置,再通过显示设备中安装的蓝牙配对应用程序控制取消显示设备与第二控制装置的配对,并与第一控制装置配对,从而达到自动切换的效果。为了更加详细的说明本方案,以下将以示例性的方式结合图7A进行说明,可以理解的是,图7A中所涉及的步骤在实际实现时可以包括更多的步骤,或者更少的步骤,并且这些步骤之间的顺序也可以不同,以能够实现本公开实施例中提供的控制装置配对方法为准,本公开实施例不做限定。In the control device pairing method provided in the embodiment of the present disclosure, when the user wants to switch the second control device paired with the display device to the first control device, the first control device can be determined as the target type control device through the pairing identification information first. , and then use the Bluetooth pairing application program installed in the display device to control to cancel the pairing between the display device and the second control device, and to pair with the first control device, so as to achieve the effect of automatic switching. In order to describe the solution in more detail, the following will be described in conjunction with FIG. 7A in an exemplary manner. It is understood that the steps involved in FIG. 7A may include more steps or fewer steps in actual implementation, In addition, the sequence of these steps may also be different, which is subject to the realization of the control device pairing method provided in the embodiment of the present disclosure, which is not limited in the embodiment of the present disclosure.
如图7A所示,图7A为根据本公开一个或多个实施例进行控制装置配对方法的流程图,应用于显示设备,该控制装置配对方法具体包括:As shown in FIG. 7A , FIG. 7A is a flowchart of a method for pairing a control device according to one or more embodiments of the present disclosure, which is applied to a display device. The method for pairing a control device specifically includes:
S710,接收第一控制装置发送的配对标识信息,基于配对标识信息确定第一控制装置为目标类型控制装置。S710: Receive pairing identification information sent by the first control apparatus, and determine, based on the pairing identification information, that the first control apparatus is a target type control apparatus.
其中,第一控制装置可以为智能控制装置,例如智能遥控器,其能够通过相应的配对方式与显示设备配对连接,例如,蓝牙配对方式。本公开主要以配置有显示屏以及相应操作系统的智能控制装置来进行说明。配对标识信息可以理解为能够标识第一控制装置的身份的信息,例如键值信息、厂商自定义信息或者其他信息等。目标类型控制装置可以理解为符合预设条件的智能控制装置,预设条件可以是设计人员预先定义的,也可以视具体情况而定,本公开不做具体限制。The first control device may be an intelligent control device, such as an intelligent remote control, which can be paired and connected with the display device through a corresponding pairing method, such as a Bluetooth pairing method. The present disclosure mainly describes an intelligent control device configured with a display screen and a corresponding operating system. The pairing identification information may be understood as information that can identify the identity of the first control device, such as key value information, manufacturer-defined information, or other information. The target type control device may be understood as an intelligent control device that complies with preset conditions, and the preset conditions may be pre-defined by the designer, or may be determined according to specific circumstances, which are not specifically limited in the present disclosure.
当用户想要进行控制装置切换,即:将与显示设备配对的第二控制装置切换为第一控制装置时,需要对第一控制装置进行操作,通过触发控制装置切换指令,第一控制装置接收到用户触发的控制装置切换指令后,向显示设备中安装的配对应用程序发送配对标识信息,配对应用程序在接收到该配对标识信息后,通过对该配对标识信息进行分析,具体可以将配对标识信息与目标类型控制装置对应的标识信息进行比对,在二者一致的情况下能够确定第一控制装置为目标类型控制装置。When the user wants to switch the control device, that is, to switch the second control device paired with the display device to the first control device, the first control device needs to be operated. By triggering the control device switching instruction, the first control device receives After the control device switching instruction triggered by the user, the pairing identification information is sent to the pairing application installed in the display device. After receiving the pairing identification information, the pairing application analyzes the pairing identification information, and can specifically identify the pairing identification. The information is compared with the identification information corresponding to the target type control device, and if the two are consistent, it can be determined that the first control device is the target type control device.
在一些实施例中,配对应用程序与第一控制装置的配对方式对应,例如,假设第一控制装置为智能蓝牙控制装置,则配对应用程序为蓝牙配对应用程序。In some embodiments, the pairing application corresponds to the pairing method of the first control device. For example, if the first control device is a smart Bluetooth control device, the pairing application is a Bluetooth pairing application.
示例性的,当配对标识信息为键值信息时,通过对键值信息进行分析,具体是将该键值信息与目标类型控制装置对应的键值信息进行比对,若二者一致,则确定第一控制装置为目标类型控制装置;若二者不一致,则确定第一控制装置为非目标类型控制装置。Exemplarily, when the pairing identification information is key-value information, the key-value information is analyzed, specifically, the key-value information is compared with the key-value information corresponding to the target type control device, and if the two are consistent, it is determined. The first control device is a target type control device; if the two are inconsistent, it is determined that the first control device is a non-target type control device.
示例性的,当配对标识信息为厂商自定义信息时,通过对厂商自定义信息中的内容进行分析,根据其中的内容能够确定第一控制装置是否为目标类型控制装置,例如,当其中的内容为a时,确定第一控制装置为目标类型控制装置;当其中的内容为b时,确定第一控制装置为非目标类型控制装置。Exemplarily, when the pairing identification information is manufacturer-defined information, by analyzing the content in the manufacturer-defined information, it can be determined whether the first control device is a target type control device according to the content, for example, when the content is When it is a, it is determined that the first control device is a target type control device; when the content is b, it is determined that the first control device is a non-target type control device.
S720,获取显示设备的当前配对信息,若当前配对信息表征显示设备已成功与第二控制装置配对,控制取消与第二控制装置的配对,并与第一控制装置配对。S720: Acquire current pairing information of the display device. If the current pairing information indicates that the display device has been successfully paired with the second control device, control to cancel the pairing with the second control device and pair with the first control device.
其中,第二控制装置可以为智能控制装置,例如智能遥控器,也可以为非智能控制装置,例如,普通的遥控器(不带有显示屏,通过按键方式触发的遥控器),其能够通过相应的配对方式与显示设备配对连接,例如,蓝牙配对方式。Wherein, the second control device may be an intelligent control device, such as a smart remote control, or a non-intelligent control device, such as an ordinary remote control (without a display screen, a remote control triggered by buttons), which can be controlled by The corresponding pairing method is paired with the display device, for example, the Bluetooth pairing method.
第一控制器在确定第一控制装置为目标类型控制装置后,获取显示设备的当前配对信息,具体可以通过查询显示设备的配对列表获取,还可以通过其他方式获取,本公开不做具体限制。第一控制器根据当前配对信息能够确定显示设备当前是否已经与控制装置相连以及在显示设备当前已经与控制装置相连的情况下,具体是与哪个控制装置相连。如果当前配对信息表征的是显示设备已成功与第二控制装置配对,那么此时第一控制器需要控制取消显示设备与第二控制装置的配对,并将显示设备与第一控制装置配对,从而达到控制装置切换的目的。After determining that the first control device is the target type control device, the first controller obtains the current pairing information of the display device. Specifically, it can be obtained by querying the pairing list of the display device, and can also be obtained by other methods, which are not specifically limited in the present disclosure. The first controller can determine, according to the current pairing information, whether the display device is currently connected to the control device and, if the display device is currently connected to the control device, to which control device it is specifically connected. If the current pairing information represents that the display device has been successfully paired with the second control device, then the first controller needs to control to cancel the pairing of the display device and the second control device, and pair the display device with the first control device, so as to To achieve the purpose of switching the control device.
在一些实施例中,上述方法还具体包括:In some embodiments, the above method further specifically includes:
控制取消与第二控制装置的配对之前,确定显示设备的配对模式为目标模式。Before controlling to cancel the pairing with the second control device, it is determined that the pairing mode of the display device is the target mode.
其中,目标模式可以理解为按照预设条件划分的能直接进行取消配对的模式,预设条件可以为配对连接的距离、配对连接的时间、配对连接的场景等,本公开不做具体限制。例如,目标模式可以为显示设备与第二控制装置的配对连接距离为3m。The target mode can be understood as a mode that can directly cancel the pairing according to the preset conditions, and the preset conditions can be the distance of the pairing connection, the time of the pairing connection, the scene of the pairing connection, etc., which are not specifically limited in the present disclosure. For example, the target mode may be that the paired connection distance between the display device and the second control device is 3m.
具体的,显示设备与第二控制装置的配对模式不同时,相应的取消配对的方法可能也不相同,因此第一控制器在控制取消与第二控制装置的配对之前,还需要确定显示设备的配对模式为目标模式,以便在配对模式为目标模式时,控制直接取消与第二控制装置的配对。Specifically, when the pairing modes of the display device and the second control device are different, the corresponding unpairing methods may also be different. Therefore, before the first controller cancels the pairing with the second control device, it is also necessary to determine the The pairing mode is the target mode, so that when the pairing mode is the target mode, the control directly cancels the pairing with the second control device.
本公开中,通过确定显示设备的配对模式为目标模式,能够直接取消与第二控制装置的配对,无需用户的手动操作,为用户节省时间,提高用户的使用体验。In the present disclosure, by determining the pairing mode of the display device as the target mode, the pairing with the second control device can be directly cancelled without manual operation by the user, which saves time for the user and improves the user experience.
在一些实施例中,上述方法还具体包括:In some embodiments, the above method further specifically includes:
控制取消与第二控制装置的配对之前,确定显示设备的配对模式为非目标模式,并在第一显示器上显示提示信息,该提示信息用于指示用户选择是否取消与第二控制装置的配对,接收用户的取消与第二控制装置配对的指示信息。Before controlling to cancel the pairing with the second control device, determine that the pairing mode of the display device is a non-target mode, and display prompt information on the first display, the prompt information is used to instruct the user to choose whether to cancel the pairing with the second control device, Receive instruction information of canceling pairing with the second control device from the user.
其中,非目标模式可以理解为按照预设条件划分的不直接进行取消配对的模式,预设条件可以为配对连接的距离、配对连接的时间、配对连接的场景等,本公开不做具体限制。例如,非目标模式可以为显示设备与第二控制装置的配对连接距离为10cm。The non-target mode can be understood as a mode that does not directly cancel the pairing according to preset conditions. The preset conditions can be the distance of the pairing connection, the time of the pairing connection, the scene of the pairing connection, etc., which are not specifically limited in the present disclosure. For example, the non-target mode may be that the pairing distance between the display device and the second control device is 10 cm.
示例性的,在显示设备的第一显示器上显示提示信息可以是在显示器上弹出的一个新的界面,界面中显示文字“是否取消与第二控制装置的配对,若取消,则点击下方的是;若不取消,则点击下方的否”。Exemplarily, the prompt information displayed on the first display of the display device may be a new interface popped up on the display, and the interface displays the text “Whether to cancel the pairing with the second control device, if canceled, then click Yes below. ; if not, click No below.
具体的,由于在配对模式为目标模式时,能够控制直接取消与第二控制装置的配对,那么在确定显示设备的配对模式为非目标模式时,则不直接控制取消与第二控制装置的配对,此时需要在显示设备的第一显示器上显示提示信息,通过该提示信息能够指示用户选择是否取消与第二控制装置的配对,用户在看到该提示信息之后,会进行相应的操作,例如选择取消与第二控制装置的配对或者选择不取消与第二控制装置的配对,并在接收到用户的取消与第二控制装置配对的指示信息后,控制取消与第二控制装置的配对。Specifically, since when the pairing mode is the target mode, it is possible to directly cancel the pairing with the second control device, so when it is determined that the pairing mode of the display device is the non-target mode, it is not directly controlled to cancel the pairing with the second control device , at this time, a prompt message needs to be displayed on the first display of the display device. The prompt message can instruct the user to choose whether to cancel the pairing with the second control device. After seeing the prompt message, the user will perform corresponding operations, such as Choose to cancel the pairing with the second control device or choose not to cancel the pairing with the second control device, and after receiving the user's instruction to cancel the pairing with the second control device, control to cancel the pairing with the second control device.
本公开中,通过上述方法在第二控制装置与显示设备的配对模式为非目标模式的情况下,通过第一显示器为用户提供提示信息,使得不同模式下的取消配对过程更灵活,适用性更强,同时提高用户的参与感以及使用体验。In the present disclosure, when the pairing mode between the second control device and the display device is the non-target mode, the first display provides prompt information to the user through the above method, so that the unpairing process in different modes is more flexible and more applicable. Strong, while improving the user's sense of participation and experience.
在一些实施例中,在显示器上弹出的一个新的界面上显示提示信息时,界面的弹出位置可以为显示器的中央区域,也可以为显示器的左上方区域、左下方区域、右上方区域以及右下方区域等,本公开对该界面的弹出位置不做具体限制。In some embodiments, when prompt information is displayed on a new interface popped up on the display, the pop-up position of the interface may be the central area of the display, or may be the upper left area, lower left area, upper right area, and right area of the display. The lower area, etc., the present disclosure does not specifically limit the pop-up position of the interface.
在一些实施例中,若提示信息所在的界面弹出第一预设时间之后,未接收到用户的任何操作,则隐藏该界面或者等待第二预设时间之后再弹出该界面。In some embodiments, if no operation from the user is received after the interface where the prompt information is located pops up for a first preset time, the interface is hidden or the interface pops up after a second preset time.
其中,第一预设时间和第二预设时间可以用户自定义,也可以为操作系统设置,还可以视具体情况而定,本公开不做具体限制。此外,本公开对第一预设时间和第二预设时间的大小不做具体限制。The first preset time and the second preset time may be user-defined, may also be set by the operating system, or may be determined according to specific circumstances, which are not specifically limited in the present disclosure. In addition, the present disclosure does not specifically limit the sizes of the first preset time and the second preset time.
本公开中,在提示信息所在的界面弹出第一预设时间之后,未接收到用户的任何操作的情况下,通过隐藏该界面能够避免用户在使用显示设备时受到干扰,通过等待第二预设时间之后再弹出该界面能够使得用户在上一次弹出该界面时未看到的情况下,能够接收到界面中所显示的提示信息。In the present disclosure, after the interface where the prompt information is located pops up for the first preset time, if no operation from the user is received, by hiding the interface, the user can be prevented from being disturbed when using the display device, and by waiting for the second preset time Popping up the interface after the time allows the user to receive the prompt information displayed in the interface under the circumstance that the user did not see the interface when the interface was popped up last time.
在一些实施例中,若当前配对信息表征显示设备已成功与第二控制装置配对,控制取消与第二控制装置的配对,并与第一控制装置配对,具体包括:In some embodiments, if the current pairing information indicates that the display device has been successfully paired with the second control device, controlling to cancel the pairing with the second control device and pair with the first control device, specifically including:
若当前配对信息表征显示设备已成功与第二控制装置配对,控制调用取消配对接口取消与第二控制装置的配对,并调用配对接口与第一控制装置配对。If the current pairing information indicates that the display device has been successfully paired with the second control device, the control invokes the unpairing interface to cancel the pairing with the second control device, and invokes the pairing interface to pair with the first control device.
具体的,如果第一控制器根据当前配对信息确定显示设备已成功与第二控制装置配对,那么为了实现控制装置的切换,需要控制调用显示设备中操作系统中的取消配对接口取消与第二控制装置的配对,并调用操作系统中的配对接口与第一控制装置配对。Specifically, if the first controller determines that the display device has been successfully paired with the second control device according to the current pairing information, in order to realize the switching of the control device, it is necessary to control and call the unpairing interface in the operating system of the display device to cancel the pairing with the second control device. device pairing, and call the pairing interface in the operating system to pair with the first control device.
示例性的,当显示设备中操作系统为安卓系统时,取消配对接口可以为removeBond接口,配对接口可以为createBond接口。Exemplarily, when the operating system in the display device is the Android system, the unpairing interface may be the removeBond interface, and the pairing interface may be the createBond interface.
本公开中,通过直接调用操作系统中的取消配对接口取消与第二控制装置的配对,以及调用操作系统中的配对接口与第一控制装置配对,简单高效,且无需人工参与。In the present disclosure, the pairing with the second control device is cancelled by directly calling the unpairing interface in the operating system, and the pairing with the first control device is called by calling the pairing interface in the operating system, which is simple and efficient, and does not require manual participation.
在一些实施例中,上述方法还具体包括:In some embodiments, the above method further specifically includes:
在预设时间段内扫描到第一控制装置的第一广播包,第一广播包中包括:第一配对信息;调用配对接口基于第一广播包中的第一配对信息与第一控制装置配对。The first broadcast packet of the first control device is scanned within a preset time period, and the first broadcast packet includes: first pairing information; the pairing interface is called to pair with the first control device based on the first pairing information in the first broadcast packet .
其中,预设时间段可以为预先设置好的时间段,例如每隔30s为一个时间段,也可以视具体情况而定,本公开不做具体限制。第一广播包可以理解为第一控制装置向显示设备发送的与配对相关的信息包。第一配对信息中可以包括第一控制装置的地址(ControllerAddress)、第一控制装置的标志(Flag)、第一控制装置的服务标识号(ServiceID)、第一控制装置的厂商自定义数据(Manufacturer Specific Data)以及第一控制装置的外观(Appearance)中的至少一种。The preset time period may be a preset time period, for example, every 30s is a time period, or it may be determined according to specific circumstances, which is not specifically limited in the present disclosure. The first broadcast packet may be understood as a pairing-related information packet sent by the first control apparatus to the display device. The first pairing information may include the address (ControllerAddress) of the first control device, the flag (Flag) of the first control device, the service identification number (ServiceID) of the first control device, and the manufacturer-defined data (Manufacturer) of the first control device. Specific Data) and at least one of the appearance (Appearance) of the first control device.
示例性的,表1为某个第一广播包中包含的具体内容,如下表1所示:Exemplarily, Table 1 is the specific content included in a certain first broadcast packet, as shown in Table 1 below:
表1Table 1
具体的,若第一控制器在预设时间段内扫描到第一控制装置的第一广播包,通过对第一广播包进行解析,能够得到第一配对信息,此时通过调用操作系统中的配对接口能够基于第一广播包中的第一配对信息与第一控制装置配对。在配对成功后,调用第一控制装置的connect(连接)接口就能够进行显示设备与第一控制装置的配对连接。Specifically, if the first controller scans the first broadcast packet of the first control device within a preset time period, the first pairing information can be obtained by parsing the first broadcast packet. At this time, by calling the The pairing interface can pair with the first control device based on the first pairing information in the first broadcast packet. After the pairing is successful, invoking the connect (connection) interface of the first control apparatus enables pairing and connection between the display device and the first control apparatus.
本公开中,通过上述方法进行显示设备与第一控制装置的配对,能够提高配对效率,提高使用体验。In the present disclosure, the pairing of the display device and the first control device is performed by the above method, which can improve the pairing efficiency and improve the use experience.
在一些实施例中,上述方法还具体包括:In some embodiments, the above method further specifically includes:
在预设时间段内未扫描到第一控制装置的广播包,则获取第二控制装置的第二广播包,第二广播包中包括:第二配对信息;调用配对接口基于第二广播包中的第二配对信息与第二控制装置配对。If the broadcast packet of the first control device is not scanned within the preset time period, the second broadcast packet of the second control device is acquired, and the second broadcast packet includes: second pairing information; calling the pairing interface based on the second broadcast packet The second pairing information is paired with the second control device.
其中,第二广播包可以理解为第二控制装置向显示设备发送的与配对相关的信息包。第二配对信息可以包括第二控制装置的地址、第二控制装置的标志、第二控制装置的服务标识号、第二控制装置的厂商自定义数据以及第二控制装置的外观中的至少一种。The second broadcast packet may be understood as a pairing-related information packet sent by the second control apparatus to the display device. The second pairing information may include at least one of the address of the second control device, the logo of the second control device, the service identification number of the second control device, the manufacturer-defined data of the second control device, and the appearance of the second control device .
需要说明的是,在第一控制装置与第二控制装置不同的情况下,第一配对信息和第二配对信息中的具体内容也不相同。It should be noted that, when the first control device and the second control device are different, the specific contents of the first pairing information and the second pairing information are also different.
具体的,若第一控制器在预设时间段内未扫描到第一控制装置的广播包,则获取第二控制装置的第二广播包,并对第二广播包进行解析,得到第二配对信息,然后调用操作系统中的配对接口基于第二广播包中的第二配对信息与第二控制装置配对。Specifically, if the first controller does not scan the broadcast packet of the first control device within the preset time period, it acquires the second broadcast packet of the second control device, and parses the second broadcast packet to obtain the second pairing information, and then call the pairing interface in the operating system to pair with the second control device based on the second pairing information in the second broadcast packet.
本公开中,通过上述方法在未扫描到第一控制装置的广播包时,获取第二控制装置的第二广播包,从而进行显示设备与第二控制装置的配对,能够提高避免因长时间扫描不到第一广播包而浪费用户的时间以及最终没有配对的控制装置供用户使用,从而影响使用体验。In the present disclosure, when the broadcast packet of the first control device is not scanned by the above method, the second broadcast packet of the second control device is acquired, so as to perform pairing of the display device and the second control device, which can improve the avoidance of scanning for a long time. Without the first broadcast package, the user's time is wasted, and ultimately there is no paired control device for the user to use, thereby affecting the use experience.
在一些实施例中,获取显示设备的当前配对信息,若当前配对信息表征显示设备未与其他控制装置配对,控制与第一控制装置配对。In some embodiments, the current pairing information of the display device is acquired, and if the current pairing information indicates that the display device is not paired with another control device, the control is paired with the first control device.
具体的,第一控制器在获取显示设备的当前配对信息之后,如果根据当前配对信息确定显示设备未与其他控制装置配对,则说明显示设备处于未配对状态,此时也无需取消配对,因此能够直接控制显示设备与第一控制装置配对。Specifically, after acquiring the current pairing information of the display device, if the first controller determines that the display device is not paired with other control devices according to the current pairing information, it means that the display device is in an unpaired state, and there is no need to cancel the pairing at this time, so it can The display device is directly controlled to be paired with the first control device.
在一些实施例中,若当前配对信息表征显示设备未与其他控制装置配对,控制调用配对接口与第一控制装置配对。In some embodiments, if the current pairing information indicates that the display device is not paired with another control device, the control invokes the pairing interface to pair with the first control device.
具体的,在根据当前配对信息确定显示设备未与其他控制装置配对的情况下,通过调用操作系统中的配对接口能够实现显示设备与第一控制装置的配对。Specifically, in the case where it is determined according to the current pairing information that the display device is not paired with other control devices, the pairing of the display device and the first control device can be realized by invoking a pairing interface in the operating system.
本公开实施例中所涉及的实施例中,在逻辑上不存在冲突的情况下,可以进行组合使用。The embodiments involved in the embodiments of the present disclosure may be used in combination if there is no logical conflict.
示例性的,图7B为根据本公开一个或多个实施例进行控制装置配对方法的场景示意图,如图7B所示:Exemplarily, FIG. 7B is a schematic diagram of a scenario of a method for pairing a control device according to one or more embodiments of the present disclosure, as shown in FIG. 7B :
用户在打开智能电视机701后,通过触发智能蓝牙遥控器702(第一控制装置,带有显示屏)向智能电视机701发送遥控器切换指令,此时智能蓝牙遥控器702会向智能电视机701发送配对标识信息,智能电视机701接收智能蓝牙遥控器702发送的配对标识信息,基于该配对标识信息确定当前控制装置为智能控制装置,然后获取智能电视机701的当前配对信息,如果根据当前配对信息确定智能电视机701已成功与非智能蓝牙遥控器703(第二控制装置)配对,并且智能电视机701与非智能蓝牙遥控器703的配对模式为非目标模式(假设为近距离模式),则在智能电视机701的显示器上弹出一个新的界面,界面中显示文字“是否取消与非智能蓝牙遥控器的配对,若取消,则点击下方的是;若不取消,则点击下方的否”。若用户点击是,则智能电视机701能够接收到用户的取消与非智能蓝牙遥控器配对的指示信息,从而通过智能电视机701的控制器控制取消智能电视机701与非智能蓝牙遥控器703的配对,并将智能电视机701与智能蓝牙遥控器702进行配对,从而达到控制装置切换的目的。After turning on the
在一些实施例中,显示设备还包括:In some embodiments, the display device further includes:
检测器,被配置为:在第一控制装置为智能控制装置,第二控制装置为非智能控制装置的情况下,对显示设备的版本进行检测,并根据显示设备的版本确定第一控制装置与第二控制装置的配对优先级,以使第一控制器在预设时间段内扫描到第一控制装置与第二控制装置时,根据第一控制装置与第二控制装置的配对优先级确定待配对的控制装置。The detector is configured to: when the first control device is an intelligent control device and the second control device is a non-intelligent control device, detect the version of the display device, and determine the first control device and the display device according to the version of the display device. The pairing priority of the second control device, so that when the first controller scans the first control device and the second control device within the preset time period, it determines the pending control device according to the pairing priority of the first control device and the second control device. paired controls.
具体的,在第一控制装置为智能控制装置,第二控制装置为非智能控制装置的情况下,显示设备需要对第一控制装置和第二控制装置兼容,而显示设备的版本与第一控制装置和第二控制装置的配对优先级相对应,因此,检测器需要对显示设备的版本进行检测,获取显示设备当前对应的版本,并根据显示设备的版本确定第一控制装置与第二控制装置的配对优先级,以便第一控制器在预设时间段内同时扫描到第一控制装置与第二控制装置时,能够根据第一控制装置与第二控制装置的配对优先级确定具体是将哪个控制装置与显示设备进行配对,避免出现多个控制装置均能进行配对,而控制器无法确定将哪一个控制装置与显示设备进行配对的情况。Specifically, when the first control device is an intelligent control device and the second control device is a non-intelligent control device, the display device needs to be compatible with the first control device and the second control device, and the version of the display device is compatible with the first control device. The pairing priorities of the device and the second control device correspond. Therefore, the detector needs to detect the version of the display device, obtain the version currently corresponding to the display device, and determine the first control device and the second control device according to the version of the display device. so that when the first controller scans the first control device and the second control device at the same time within a preset time period, it can determine which one to use according to the pairing priority of the first control device and the second control device. The control device is paired with the display device to avoid a situation where multiple control devices can be paired, and the controller cannot determine which control device is paired with the display device.
在一些实施例中,检测器,具体被配置为:In some embodiments, the detector is specifically configured to:
在第一控制装置为智能控制装置,第二控制装置为非智能控制装置的情况下,When the first control device is an intelligent control device and the second control device is a non-intelligent control device,
当显示设备的版本是预设版本时,第一控制装置的配对优先级高于第二控制装置的配对优先级;When the version of the display device is the preset version, the pairing priority of the first control device is higher than the pairing priority of the second control device;
当显示设备的版本不是预设版本时,第一控制装置的配对优先级与第二控制装置的配对优先级相同。When the version of the display device is not the preset version, the pairing priority of the first control device is the same as the pairing priority of the second control device.
其中,预设版本可以理解为预先设定的版本,例如高级版本,也可以视具体情况而定,本公开不做具体限制。Wherein, the preset version may be understood as a preset version, such as an advanced version, which may also be determined according to specific circumstances, which is not specifically limited in the present disclosure.
具体的,在第一控制装置为智能控制装置,第二控制装置为非智能控制装置的情况下,如果显示设备的版本是预设版本,那么第一控制装置的配对优先级高于第二控制装置的配对优先级,即:第一控制器在预设时间段内同时扫描到第一控制装置与第二控制装置时,控制与第一控制装置进行配对;如果显示设备的版本不是预设版本,那么第一控制装置的配对优先级与第二控制装置的配对优先级相同,即:第一控制器在预设时间段内同时扫描到第一控制装置与第二控制装置时,根据第一控制装置被搜索到的时间与第二控制装置被搜索到的时间的先后顺序,控制与先搜索到的控制装置进行优先配对。Specifically, in the case where the first control device is an intelligent control device and the second control device is a non-intelligent control device, if the version of the display device is a preset version, the pairing priority of the first control device is higher than that of the second control device The pairing priority of the device, that is: when the first controller scans the first control device and the second control device at the same time within the preset time period, the control is paired with the first control device; if the version of the display device is not the preset version , then the pairing priority of the first control device is the same as the pairing priority of the second control device, that is: when the first controller scans the first control device and the second control device simultaneously within a preset time period, according to the first control device The sequence of the time when the control device is searched and the time when the second control device is searched, the control is preferentially paired with the control device searched first.
在一些实施例中,第一控制器,还被配置为:In some embodiments, the first controller is further configured to:
在控制显示设备与第一控制装置配对之后,清除配对信息。After the control display device is paired with the first control device, the pairing information is cleared.
本公开中,通过上述方法能够防止配对列表中配对信息较多时,对控制装置配对造成干扰,以及无法搜索到新的控制装置。In the present disclosure, the above-mentioned method can prevent that when there is a lot of pairing information in the pairing list, the pairing of the control device is disturbed and a new control device cannot be searched.
本公开中,通过上述方法,能够解决第一控制器在预设时间段内同时扫描到多个控制装置的配对问题,适用性更高,也更符合实际情况。In the present disclosure, the above method can solve the pairing problem that the first controller scans multiple control devices simultaneously within a preset time period, which is more applicable and more in line with the actual situation.
综上所述,本公开通过在显示设备上执行上述控制装置配对方法,首先通过显示设备的第一控制器接收由第一控制装置发送的配对标识信息,根据该配对标识信息能够确定第一控制装置是否为目标类型控制装置,在确定第一控制装置为目标类型控制装置时获取显示设备的当前配对信息,如果根据当前配对信息确定显示设备已成功与第二控制装置配对,则控制取消与第二控制装置的配对,并与第一控制装置进行配对,从而在进行控制装置配对切换时,无需手动解除之前与显示设备配对连接的控制装置,减少用户的操作,提高切换的效率,满足用户的控制装置切换需求。To sum up, in the present disclosure, by executing the above-mentioned control device pairing method on the display device, firstly, the first controller of the display device receives the pairing identification information sent by the first control device, and the first control device can be determined according to the pairing identification information. Whether the device is a target type control device, when it is determined that the first control device is a target type control device, the current pairing information of the display device is obtained, and if it is determined according to the current pairing information that the display device has been successfully paired with the second control device, the control cancels the connection with the first control device. The second control device is paired and paired with the first control device, so that when the control device is paired and switched, there is no need to manually release the control device that was previously paired with the display device, which reduces the user's operation, improves the switching efficiency, and meets the user's needs. Control device switching requirements.
如图8所示,图8为根据本公开一个或多个实施例进行另一控制装置配对方法的流程图,应用于第一控制装置,该控制装置配对方法具体包括:As shown in FIG. 8 , FIG. 8 is a flowchart of another control device pairing method according to one or more embodiments of the present disclosure, applied to the first control device, and the control device pairing method specifically includes:
S810,显示用户确定的开始配对消息。S810, displaying a pairing start message determined by the user.
第一控制装置中配置有第二显示屏,当用户触发第一控制装置中的开始配对入口后,该第二显示屏能够显示用户确定的开始配对消息。The first control device is configured with a second display screen, and when the user triggers the pairing start entry in the first control device, the second display screen can display a pairing start message determined by the user.
S820,根据开始配对消息向对应的显示设备的第一控制器发送配对标识信息,以使第一控制器基于配对标识信息确定第一控制装置为目标类型控制装置时,获取显示设备的当前配对信息,若当前配对信息表征显示设备已成功与第二控制装置配对,控制取消与第二控制装置的配对,并与第一控制装置配对。S820, send pairing identification information to the first controller of the corresponding display device according to the pairing start message, so that when the first controller determines that the first control device is the target type control device based on the pairing identification information, obtain the current pairing information of the display device , if the current pairing information indicates that the display device has been successfully paired with the second control device, control to cancel the pairing with the second control device and pair with the first control device.
第一控制装置中的第二控制器根据开始配对消息向与第一控制装置对应的显示设备的第一控制器发送配对标识信息,第一控制器在接收到第一控制装置发送的配对标识信息后,通过对该配对标识信息进行分析,能够确定第一控制装置为目标类型控制装置。然后第一控制器在确定第一控制装置为目标类型控制装置后,获取显示设备的当前配对信息,如果根据当前配对信息确定显示设备已成功与第二控制装置配对,则控制取消显示设备与第二控制装置的配对,从而达到控制装置切换的目的。The second controller in the first control device sends the pairing identification information to the first controller of the display device corresponding to the first control device according to the start pairing message, and the first controller receives the pairing identification information sent by the first control device. Then, by analyzing the pairing identification information, it can be determined that the first control device is the target type control device. Then, after determining that the first control device is the target type control device, the first controller obtains the current pairing information of the display device, and if it is determined according to the current pairing information that the display device has been successfully paired with the second control device, it controls the cancellation of the display device and the second control device. The pairing of the two control devices can achieve the purpose of switching the control devices.
在一些实施例中,第一控制装置中配置有开始蓝牙配对入口和取消蓝牙配对入口,开始蓝牙配对入口和取消蓝牙配对入口能够在第二显示屏显示,以便用户通过触发开始蓝牙配对入口使得第一控制装置接收到开始蓝牙配对指令,以及用户通过触发取消蓝牙配对入口使得第一控制装置接收到取消蓝牙配对指令。In some embodiments, the first control device is configured with an entry for starting Bluetooth pairing and an entry for canceling pairing, and the entry for starting Bluetooth pairing and entry for canceling pairing can be displayed on the second display screen, so that the user can trigger the entry for starting Bluetooth pairing to make the first entry A control device receives an instruction to start Bluetooth pairing, and the user triggers an entry for canceling Bluetooth pairing so that the first control device receives an instruction to cancel Bluetooth pairing.
示例性的,当第一控制装置为智能控制装置时,用户可以通过以下方式输入控制装置切换指令:语音输入、触控输入以及手势输入等,本公开对此不做具体限制。例如,用户可以输入语音“将当前与显示设备配对的第二控制装置切换为第一控制装置”。Exemplarily, when the first control device is an intelligent control device, the user may input the control device switching instruction in the following ways: voice input, touch input, gesture input, etc., which is not specifically limited in the present disclosure. For example, the user may input a voice "switch the second control device currently paired with the display device to the first control device".
在一些实施例中,当切换指令为语音输入时,智能控制装置响应于当前用户的语音信息,识别并获取该语音输入对应的控制装置切换指令,其中,控制装置切换指令可以通过语音识别方式得到。In some embodiments, when the switching instruction is a voice input, the intelligent control device, in response to the voice information of the current user, recognizes and obtains the control device switching instruction corresponding to the voice input, wherein the control device switching instruction can be obtained through voice recognition. .
在另一些实施例中,当切换指令为触控输入时,智能控制装置响应于当前用户的触控操作,能够确定出对应的控制装置切换指令,例如,当用户通过触控操作点击“开始配对”按钮,则确定用户对应的指令为配对指令。In other embodiments, when the switching instruction is a touch input, the intelligent control device can determine the corresponding control device switching instruction in response to the current user's touch operation. For example, when the user clicks "Start pairing" through the touch operation ” button, the command corresponding to the user is determined to be a pairing command.
在一些实施例中,第一控制装置能够获取到自身的配对状态以及当前是否有配对信息,并根据该配对状态以及当前是否有配对信息向用户展示不同的显示界面,以供用户根据不同的显示界面触发对应的操作。In some embodiments, the first control device can obtain its own pairing status and whether there is currently pairing information, and display different display interfaces to the user according to the pairing status and whether there is currently pairing information, so that the user can display different interfaces according to different The interface triggers the corresponding operation.
示例性的,若当前没有配对信息,则向用户展示开始配对的显示界面;若当前有配对信息,且配对状态为已连接,则向用户展示取消配对的显示界面;若当前有配对信息,且配对状态为未连接,则向用户展示取消配对或者与已配对信息对应的控制装置进行回连的显示界面。Exemplarily, if there is currently no pairing information, a display interface for starting pairing is displayed to the user; if there is currently pairing information and the pairing status is connected, a display interface for unpairing is displayed to the user; if there is currently pairing information, and If the pairing state is not connected, a display interface for canceling the pairing or connecting back to the control device corresponding to the paired information is displayed to the user.
在一些实施例中,第一控制装置中还包括HOGP(HID over GATT Profile)服务模块,该HOGP服务模块的主要作用为:In some embodiments, the first control device further includes a HOGP (HID over GATT Profile) service module, and the main functions of the HOGP service module are:
1、为第一控制装置提供binder开始配对的通信接口和binder取消配对的通信接口,以使第一控制装置根据开始配对的通信接口触发开始配对的功能以及根据取消配对的通信接口触发取消配对的功能;1. Provide the first control device with a communication interface for the binder to start pairing and a communication interface for the binder to cancel the pairing, so that the first control device triggers the function of starting pairing according to the communication interface for starting pairing and triggers the function for canceling the pairing according to the communication interface for canceling the pairing. Function;
2、向显示设备发送配对标识信息,以使显示设备中安装的配对应用程序在接收到该配对标识信息之后,能够基于该配对标识信息确定第一控制装置为目标类型控制装置;2. Sending pairing identification information to the display device, so that after receiving the pairing identification information, the pairing application program installed in the display device can determine the first control device as the target type control device based on the pairing identification information;
3、发送低功耗蓝牙(Bluetooth low energy,简称BLE)广播包(即第一广播包),以使显示设备的第一控制器能够在在预设时间段内扫描到第一控制装置的第一广播包,并调用配对接口基于第一广播包中的第一配对信息与第一控制装置配对。3. Send a Bluetooth low energy (Bluetooth low energy, BLE for short) broadcast packet (ie, the first broadcast packet), so that the first controller of the display device can scan the first controller of the first control device within a preset time period. a broadcast packet, and the pairing interface is invoked to pair with the first control device based on the first pairing information in the first broadcast packet.
在一些实施例中,第二控制器还被配置为:In some embodiments, the second controller is further configured to:
在显示设备与第一控制装置配对之后,清除第一控制装置中的配对信息。After the display device is paired with the first control device, the pairing information in the first control device is cleared.
本公开中,通过上述方法能够防止在第一控制装置的配对列表中配对信息较多时,无法与新的显示设备进行配对,影响用户的正常使用。In the present disclosure, the above method can prevent that when there is a lot of pairing information in the pairing list of the first control device, it cannot be paired with a new display device, which affects the normal use of the user.
综上所述,本公开通过在第一控制装置上执行上述控制装置配对方法,首先通过第一控制装置的第二显示屏显示用户确定的开始配对消息,接着通过第一控制装置中的第二控制器根据开始配对消息向与第一控制装置对应的显示设备的第一控制器发送配对标识信息,第一控制器在接收到第一控制装置发送的配对标识信息后,通过对该配对标识信息进行分析,能够确定第一控制装置为目标类型控制装置。然后第一控制器在确定第一控制装置为目标类型控制装置后,获取显示设备的当前配对信息,如果根据当前配对信息确定显示设备已成功与第二控制装置配对,则控制取消显示设备与第二控制装置的配对,并与第一控制装置配对,从而在进行控制装置配对切换时,无需手动解除之前与显示设备配对连接的控制装置,减少用户的操作,提高切换的效率,满足用户的控制装置切换需求。To sum up, in the present disclosure, by executing the above-mentioned control device pairing method on the first control device, firstly, the user-determined pairing start message is displayed on the second display screen of the first control device, and then the pairing start message determined by the user is displayed on the second display screen of the first control device. The controller sends pairing identification information to the first controller of the display device corresponding to the first control device according to the start pairing message, and after receiving the pairing identification information sent by the first control device, the first controller passes the pairing identification information through the pairing identification information. Through analysis, it can be determined that the first control device is the target type control device. Then, after determining that the first control device is the target type control device, the first controller obtains the current pairing information of the display device, and if it is determined according to the current pairing information that the display device has been successfully paired with the second control device, it controls the cancellation of the display device and the second control device. The second control device is paired with the first control device, so that when the control device is paired and switched, there is no need to manually release the control device that was paired and connected to the display device, which reduces the user's operation, improves the switching efficiency, and satisfies the user's control. Device switching requirements.
如图所9示,图9为根据本公开一个或多个实施例进行控制装置配对方法的交互过程示意图。As shown in FIG. 9 , FIG. 9 is a schematic diagram of an interaction process of a method for pairing a control device according to one or more embodiments of the present disclosure.
S901,发送配对标识信息。S901, sending pairing identification information.
S902,基于配对标识信息确定第一控制装置为目标类型控制装置。S902 , based on the pairing identification information, determine that the first control device is a target type control device.
S903,获取显示设备的当前配对信息,若当前配对信息表征显示设备已成功与第二控制装置配对。S903: Acquire current pairing information of the display device, if the current pairing information indicates that the display device has been successfully paired with the second control device.
S904,发送取消与第二控制装置的配对的消息。S904, sending a message for canceling the pairing with the second control device.
S905,发送与第一控制装置配对的消息。S905, send a message paired with the first control device.
本公开实施例提供一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述控制装置配对方法执行的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present disclosure provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process performed by the above-mentioned control device pairing method can be implemented, and the same technical effect can be achieved. , in order to avoid repetition, it will not be repeated here.
其中,该计算机可读存储介质可以为只读存储器(Read-Only Memory,ROM)、随机存取存储器(RandomAccess Memory,RAM)、磁碟或者光盘等。Wherein, the computer-readable storage medium may be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, or the like.
本公开提供一种计算机程序产品,其特征在于,包括:当所述计算机程序产品在计算机上运行时,使得所述计算机实现上述的控制装置配对方法。The present disclosure provides a computer program product, which is characterized by comprising: when the computer program product runs on a computer, causing the computer to implement the above-mentioned control device pairing method.
为了方便解释,已经结合具体的实施方式进行了上述说明。但是,上述在一些实施例中讨论不是意图穷尽或者将实施方式限定到上述公开的具体形式。根据上述的教导,可以得到多种修改和变形。上述实施方式的选择和描述是为了更好的解释原理以及实际的应用,从而使得本领域技术人员更好的使用实施方式以及适于具体使用考虑的各种不同的变形的实施方式。For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above discussion in some embodiments is not intended to be exhaustive or to limit implementations to the specific forms disclosed above. Numerous modifications and variations are possible in light of the above teachings. The above embodiments have been chosen and described to better explain the principles and practical applications, so as to enable those skilled in the art to better utilize the embodiments and various modified embodiments suitable for specific use considerations.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111658560.2A CN114501393A (en) | 2021-12-30 | 2021-12-30 | Display device, control apparatus pairing method, and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111658560.2A CN114501393A (en) | 2021-12-30 | 2021-12-30 | Display device, control apparatus pairing method, and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114501393A true CN114501393A (en) | 2022-05-13 |
Family
ID=81497121
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111658560.2A Pending CN114501393A (en) | 2021-12-30 | 2021-12-30 | Display device, control apparatus pairing method, and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114501393A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118632381A (en) * | 2024-07-08 | 2024-09-10 | 深圳市乐翔电气有限公司 | USB wireless connection method, device, storage medium and terminal equipment |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009003373A1 (en) * | 2007-07-03 | 2009-01-08 | Ivt(Beijing) Software Technology Inc. | Switching method, equipment and system for bluetooth connection equipments |
| CN105611358A (en) * | 2015-12-26 | 2016-05-25 | 小米科技有限责任公司 | Control method and device of smart devices |
| CN111447602A (en) * | 2020-06-17 | 2020-07-24 | 成都极米科技股份有限公司 | Bluetooth device, Bluetooth preemption method and device thereof, and computer-readable storage medium |
| CN111741456A (en) * | 2020-06-17 | 2020-10-02 | 成都极米科技股份有限公司 | Bluetooth device, Bluetooth preemption method and device thereof, and computer-readable storage medium |
| CN112218385A (en) * | 2019-07-11 | 2021-01-12 | 上海博泰悦臻网络技术服务有限公司 | Bluetooth management method and mobile terminal |
| CN112419695A (en) * | 2020-11-16 | 2021-02-26 | 微讯智造(广州)电子有限公司 | Bluetooth remote control system and Bluetooth matching method |
| CN113507702A (en) * | 2021-05-28 | 2021-10-15 | 西安闻泰信息技术有限公司 | Bluetooth connection method, device, vehicle-mounted Bluetooth device and storage medium |
-
2021
- 2021-12-30 CN CN202111658560.2A patent/CN114501393A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009003373A1 (en) * | 2007-07-03 | 2009-01-08 | Ivt(Beijing) Software Technology Inc. | Switching method, equipment and system for bluetooth connection equipments |
| CN105611358A (en) * | 2015-12-26 | 2016-05-25 | 小米科技有限责任公司 | Control method and device of smart devices |
| CN112218385A (en) * | 2019-07-11 | 2021-01-12 | 上海博泰悦臻网络技术服务有限公司 | Bluetooth management method and mobile terminal |
| CN111447602A (en) * | 2020-06-17 | 2020-07-24 | 成都极米科技股份有限公司 | Bluetooth device, Bluetooth preemption method and device thereof, and computer-readable storage medium |
| CN111741456A (en) * | 2020-06-17 | 2020-10-02 | 成都极米科技股份有限公司 | Bluetooth device, Bluetooth preemption method and device thereof, and computer-readable storage medium |
| CN112419695A (en) * | 2020-11-16 | 2021-02-26 | 微讯智造(广州)电子有限公司 | Bluetooth remote control system and Bluetooth matching method |
| CN113507702A (en) * | 2021-05-28 | 2021-10-15 | 西安闻泰信息技术有限公司 | Bluetooth connection method, device, vehicle-mounted Bluetooth device and storage medium |
Non-Patent Citations (1)
| Title |
|---|
| 摸爬滚打的程序媛: "【Android】蓝牙开发——经典蓝牙:配对与解除配对 & 实现配对或连接时不弹出配对框", pages 1 - 7, Retrieved from the Internet <URL:https://blog.csdn.net/qq_38950819/article/details/103352982> * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118632381A (en) * | 2024-07-08 | 2024-09-10 | 深圳市乐翔电气有限公司 | USB wireless connection method, device, storage medium and terminal equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112367543B (en) | Display device, mobile terminal, screen projection method and screen projection system | |
| CN114296670A (en) | Display equipment and control method for multi-equipment screen projection on same screen display | |
| CN112272417B (en) | double-Bluetooth sound box reconnection method and display device | |
| CN113064645B (en) | Startup interface control method and display device | |
| CN112911380B (en) | Display device and connection method with Bluetooth device | |
| CN112463750A (en) | File synchronization method and display device | |
| US20230319227A1 (en) | Switching method for audio output channel, and display apparatus | |
| CN115278822A (en) | Display apparatus, control apparatus, and broadcast source scanning method | |
| CN114501393A (en) | Display device, control apparatus pairing method, and storage medium | |
| WO2022193732A1 (en) | Switching control method for audio output channel, and display device | |
| CN115150644A (en) | Application awakening method of display device, mobile terminal and server | |
| CN118612734A (en) | Display device and hotspot connection control method | |
| CN117896560A (en) | Display device and channel signal switching method | |
| CN115665468B (en) | Screen projection method and device and electronic equipment | |
| CN114915810B (en) | Media resource pushing method and intelligent terminal | |
| CN114915818B (en) | A method for pushing media assets and an intelligent terminal | |
| CN115567748A (en) | Display device and Bluetooth pairing control method | |
| CN115278634A (en) | Display device and Bluetooth scanning method | |
| CN113992963A (en) | Display device and screen projection method | |
| CN113542852A (en) | Display device and control method for fast pairing with external device | |
| CN114302131A (en) | Display device and black screen detection method | |
| CN115278322B (en) | Display device, control device, and control method for display device | |
| CN114554259B (en) | Control device, display device and device information acquisition method | |
| CN119520887A (en) | Display device and WiFi scanning control method | |
| CN114666642A (en) | Display device, split screen control method and storage medium |
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 |