WO2023284870A1 - Control method and control device - Google Patents

Control method and control device Download PDF

Info

Publication number
WO2023284870A1
WO2023284870A1 PCT/CN2022/106080 CN2022106080W WO2023284870A1 WO 2023284870 A1 WO2023284870 A1 WO 2023284870A1 CN 2022106080 W CN2022106080 W CN 2022106080W WO 2023284870 A1 WO2023284870 A1 WO 2023284870A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
user
sound source
display
source angle
Prior art date
Application number
PCT/CN2022/106080
Other languages
French (fr)
Chinese (zh)
Inventor
穆聪聪
修建竹
卢可敬
杨香斌
高娜
颜贝
Original Assignee
海信视像科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202110799098.1A external-priority patent/CN114283798A/en
Priority claimed from CN202110817639.9A external-priority patent/CN114286144A/en
Priority claimed from CN202111041999.0A external-priority patent/CN113784186B/en
Application filed by 海信视像科技股份有限公司 filed Critical 海信视像科技股份有限公司
Priority to CN202280048658.2A priority Critical patent/CN117616486A/en
Publication of WO2023284870A1 publication Critical patent/WO2023284870A1/en

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services

Definitions

  • the embodiments of the present application relate to the technical field of smart home appliances, and in particular, to a control method and a control device.
  • a user can use a control device to control an electronic device.
  • the control device can be a remote controller, and the electronic device can be a TV.
  • the user can use the remote control to control the TV to achieve the purpose of switching programs.
  • it is necessary to carry out Bluetooth pairing between the control device and the electronic device, and the control device can be used to control the electronic device only after the pairing is successful.
  • Bluetooth pairing is performed between the control device and the electronic device in the related art, the user needs to perform Bluetooth pairing according to the prompts on the device.
  • the Bluetooth pairing process is relatively complicated, which brings bad user experience to the user.
  • voice interaction function In addition, with the development of voice interaction technology, more and more electronic devices such as home terminal equipment have a voice interaction function. Using the voice interaction function, the user can voice control these terminal devices to perform corresponding operations, such as starting and stopping. For the voice interaction of the handheld control device, the way of raising and waking can be used to trigger the handheld control device to start the voice interaction function. For example, if the user picks up the remote control from the desktop, the voice interaction function of the remote control can be triggered.
  • the application provides a control device, including:
  • a user interface for receiving an input signal
  • a controller respectively connected to the display and the user interface, configured to:
  • pairing is performed with the device via Bluetooth.
  • the present application provides a method for controlling pairing between a control device and a device, including:
  • pairing is performed with the device via Bluetooth.
  • FIG. 1 shows a usage scenario of a display device according to some embodiments
  • FIG. 2 shows a block diagram of a hardware configuration of a control device 100 according to some embodiments
  • FIG. 3 shows a block diagram of a hardware configuration of a display device 200 according to some embodiments
  • FIG. 4 shows a software configuration diagram in a display device 200 according to some embodiments
  • Fig. 5 shows a schematic structural diagram of a terminal device according to some embodiments
  • Fig. 6 shows a schematic diagram of a software architecture of a terminal device according to some embodiments
  • FIG. 7 exemplarily shows a flow chart of a method for controlling a control device to perform pairing with a device according to some embodiments
  • FIG. 8 exemplarily shows a schematic diagram of a user interface of a mobile terminal
  • FIG. 9 exemplarily shows another schematic diagram of a user interface of a mobile terminal
  • FIG. 10 exemplarily shows another schematic diagram of a user interface of a mobile terminal
  • Fig. 11 exemplarily shows a schematic diagram of the principle of voice interaction according to some embodiments.
  • Fig. 12 exemplarily shows a schematic frame diagram of a sound receiving system of a control device according to some embodiments
  • Fig. 13 exemplarily shows a schematic diagram of a sound source angle calculation method of a control device according to some embodiments
  • Fig. 14 exemplarily shows a schematic diagram of a sound source angle scene of a control device according to some embodiments
  • Fig. 15 exemplarily shows a signaling diagram of a sound collection method of a control device according to some embodiments
  • Fig. 16 shows a schematic diagram of a user interface of a terminal device according to some embodiments.
  • Fig. 17 shows a schematic diagram of setting an identity authentication mode in a display device in some embodiments
  • Fig. 18 shows a flowchart of a communication connection between a display device and a terminal device in some embodiments
  • Fig. 19 shows a schematic diagram of a terminal interface of a terminal device in some embodiments.
  • Fig. 20 shows a flowchart of interaction between a terminal device and a server in some embodiments
  • Fig. 21 shows a flow chart of the server obtaining a set of control instructions in some embodiments
  • Figure 22 shows a schematic diagram of a terminal interface of a terminal device in some embodiments
  • Figure 23a shows a schematic diagram of a control interface of a terminal device in some embodiments
  • Fig. 23b shows a schematic diagram of another control interface of the terminal device in some embodiments.
  • Fig. 24 shows a flowchart of a terminal device controlling a display device in some embodiments
  • Fig. 25 shows a schematic flowchart of an embodiment of a communication control method
  • Fig. 26 shows a schematic flowchart of an embodiment of a communication control method.
  • Fig. 1 is a schematic diagram of a usage scenario of a display device according to an embodiment.
  • an electronic device 200 such as a display device also performs data communication with a server 400 , and a user can operate the display device 200 through a terminal device 300 or a control device 100 .
  • the control device 100 can also control other devices, such as electronic devices such as refrigerators, air conditioners, washing machines, and household lights.
  • control device 100 may be a remote control, and the communication between the remote control and the display device includes infrared protocol communication, Bluetooth protocol communication, and other short-distance communication methods, etc., and the display device 200 is controlled by wireless or other wired methods.
  • the wireless mode may be direct connection or non-direct connection, and may be routed or not routed.
  • the user can control the display device 200 by inputting user commands through buttons on the remote controller, voice input, control panel input, and the like.
  • the terminal device 300 may include any one of a mobile terminal, a tablet computer, a computer, a notebook computer, an AR/VR device, and the like.
  • the terminal device 300 can also be used to control the display device 200 .
  • the display device 200 is controlled using an application program running on the smart device.
  • the app can be configured to provide users with various controls in an intuitive user interface (UI) on the screen associated with the smart device.
  • UI intuitive user interface
  • the terminal device 300 and the display device 200 are capable of data communication.
  • the display device 200 can also be controlled in a way other than the control device 100 and the terminal device 300, for example, the display device 200 can directly receive the user's voice command control through the module for acquiring voice commands configured inside the display device 200. , the user's voice command control can also be received through the voice control device installed outside the display device 200.
  • Fig. 2 is a configuration block diagram of the control device 100 according to some embodiments.
  • the control device 100 includes a controller 110 , a communication interface 130 , a user input/output interface 140 , a memory, and a power supply.
  • the control device 100 can receive the user's input operation instruction, and convert the operation instruction into an instruction that the display device 200 can recognize and respond to, and play an intermediary role between the user and the display device 200 .
  • the communication interface 130 is used for communicating with the outside, and includes at least one of a WIFI chip, a Bluetooth module, NFC or an alternative module.
  • the user input/output interface 140 includes at least one of a microphone, a touch pad, a sensor, a button or an alternative module.
  • FIG. 3 is a block diagram of a hardware configuration of a display device 200 according to some embodiments.
  • the display device 200 includes a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface. at least one.
  • the controller includes a processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, a first interface to an nth interface for input/output.
  • the communicator 220 is a component for communicating with external devices or servers according to various communication protocol types.
  • the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module and other network communication protocol chips or near field communication protocol chips, and an infrared receiver.
  • the display device 200 may establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220 .
  • the user input interface can be used to receive a control signal of the control device 100 (such as an infrared remote controller, etc.).
  • the detector 230 is used to collect signals of the external environment or interaction with the outside.
  • the detector 230 includes a light receiver, which is a sensor for collecting ambient light intensity; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environmental scenes, user attributes or user interaction gestures, or , the detector 230 includes a sound collector, such as a microphone, for receiving external sound.
  • the external device interface 240 may include but not limited to the following: high-definition multimedia interface (HDMI), analog or data high-definition component input interface (component), composite video input interface (CVBS), USB input interface ( Any one or more interfaces such as USB), RGB port, etc.
  • HDMI high-definition multimedia interface
  • component analog or data high-definition component input interface
  • CVBS composite video input interface
  • USB input interface Any one or more interfaces such as USB
  • RGB port etc.
  • the controller 250 and the tuner-demodulator 210 may be located in different split devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box Wait.
  • control device 100 also includes a display.
  • the system is divided into four layers, from top to bottom are respectively the application (Applications) layer (abbreviated as “application layer”), application framework (Application Framework) layer (abbreviated as “framework layer”) "), Android runtime (Android runtime) and system library layer (referred to as “system runtime layer”), and the kernel layer.
  • application layer application layer
  • application framework Application Framework
  • Android runtime Android runtime
  • system library layer system library layer
  • Fig. 5 is a block diagram of a hardware configuration of a terminal device 300 shown in some embodiments of the present application.
  • terminal device 300 shown in FIG. 5 is only an example, and the terminal device 300 may have more or fewer components than those shown in FIG. 5, two or more components may be combined, or Different component configurations are possible.
  • the various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
  • the terminal device 300 includes: a radio frequency (radio frequency, RF) circuit 310, a memory 320, a display unit 130, a camera 340, a sensor 350, an audio circuit 360, and a wireless fidelity (Wireless Fidelity, Wi-Fi) module 370 , a controller such as a processor 380 , a Bluetooth module 381 , and a power supply 390 and other components.
  • RF radio frequency
  • Fig. 6 is a block diagram showing a software structure of a terminal device 300 according to some embodiments of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces.
  • the Android system is divided into four layers, which are respectively the application program layer, the application program framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer from top to bottom.
  • the application layer can consist of a series of application packages.
  • the application package may include application programs such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
  • application programs such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
  • the terminal device 300 in the embodiment of the present application may be a mobile phone, a tablet computer, a wearable device, a notebook computer, a TV, and the like.
  • the above display device may be an example of a terminal device.
  • the control device in order to perform manipulation, the control device needs to establish a certain communication link with the home appliance for signal interaction, that is, the control device needs to perform communication pairing with the home appliance.
  • the method according to the embodiment of the present application may include: obtaining a device list to control the display to display the device list; receiving a user operation command for selecting a device control in the device list ; Broadcast a broadcast packet carrying the device identifier of the device corresponding to the device control to multiple devices, so that the device sends a Bluetooth pairing request based on the device identifier; in response to receiving the Bluetooth pairing request from the device, communicate with the device
  • the above devices are paired via Bluetooth. Therefore, the control device and the device can automatically complete the Bluetooth pairing, so that the user is not aware of the pairing process between the control device and the device, and the user experience is improved.
  • Fig. 7 exemplarily shows a flow chart of a method for controlling a control device to perform pairing with a device according to some embodiments. As shown in Figure 7,
  • the control device receives an instruction to display a device list to determine whether the control device is currently connected to the Internet.
  • the instruction for displaying the device list may be generated by controlling the device to start up.
  • a preset application is installed in the control device, and an instruction to display the device list is generated by opening the preset application. Since the device list needs to be delivered from the server, in this embodiment of the application, before obtaining the device list, it is necessary to determine whether the control device is currently connected to the Internet.
  • step S200 the control device acquires the device list, and controls the display to display the device list.
  • the user can log in a user account on the control device, and the device list includes all devices bound with the user account, and the devices bound with the user account can be understood as devices to be controlled by the control device.
  • the step of the control device obtaining the device list and controlling the display to display the device list includes: the control device sends a request for obtaining the device list to the server, the request carries a user account, and the server uses the user account to find corresponding device list, and send the device list to the control device, and the control device receives the device list sent by the server, and controls the display to display the device list.
  • the device list includes device identifiers of devices, and the device identifiers are in a one-to-one correspondence with devices, and each device has a unique device identifier.
  • the device identifier can be composed of numbers, and the device identifier can also be composed of letters.
  • the device identifier can also be composed of numbers and letters.
  • the device is not limited to The specific form of identification.
  • the control display displays a notification that the device is not connected to the network.
  • the user can connect the control device to the network according to the prompt.
  • the control device obtain the device list, and control the display to display the device list.
  • the notification of not being connected to the Internet can be represented by text or by a picture, and the form of the notification of not being connected to the Internet is not limited in this application.
  • the control device is provided with a reminder light, and the notification of not being connected to the Internet can also be completed through the reminder light.
  • the color of the reminder light can be controlled to be red, and it can also be completed by controlling the reminder light to blink.
  • the following uses an example to illustrate how to bind a user account to a device.
  • the user interface of the mobile terminal is shown in FIG. 8 .
  • an add device control 501 is set on the user interface, and the user clicks the add device control, and the page jumps to the user interface shown in FIG. 9 .
  • the control device when the display is a touch screen, the user can touch the position on the display interface corresponding to adding the device control to realize the operation of clicking to add the device control.
  • the control device is provided with operation keys, for example, the operation keys include an up key, a down key, a left key, a right key and a confirmation key. The user can move the focus to the add device control by pressing the operation button, and press the confirmation key on the control device to complete the operation of clicking the add device control.
  • device categories are displayed, for example, categories such as air conditioners, refrigerators, washing machines, and smart door locks. Click the category corresponding to the device to be added.
  • the user interface displays air conditioner subcategories, including air conditioners of different brands and air conditioners of different uses.
  • the refrigerator subcategory is clicked, the user interface jumps, as shown in FIG. 10 .
  • the mac addresses corresponding to the refrigerators are displayed.
  • the mac address of smart refrigerator 1 is 228c7ffb
  • the mac address of smart refrigerator 2 is 006b2a7b .
  • the device list can be pre-stored content, and the device identification of the device that can be controlled by the control device is preset. stored in the device list.
  • the control device may, in response to receiving a user operation command to select a device control in the device list, broadcast a broadcast packet carrying the device identifier of the device corresponding to the device control.
  • the user can directly select the device to be controlled, and select the device control of the device.
  • the control device and the device can be paired without additional operations. Improve user experience.
  • control device includes a bluetooth service, and uses the bluetooth service to broadcast a broadcast packet carrying a device identifier through a bluetooth broadcast (BLE broadcast).
  • BLE broadcast a bluetooth broadcast
  • the list of devices displayed on the user interface includes a device control that can be configured with focus.
  • the display is a touch screen, and it is recognized that the user's touch position on the display is located at the corresponding position of the device control on the user interface, and the user operation of selecting the device control in the device list can be completed.
  • the user operation of the selected device control is completed through an operation button on the control device.
  • the device that has received the broadcast packet may parse the broadcast packet to determine whether to send a Bluetooth pairing request to the control device.
  • any device whose system is the Android system can receive the broadcast packet.
  • the device includes a Bluetooth service
  • the Bluetooth service analyzes the broadcast packet to determine whether to send a Bluetooth pairing request to the control device.
  • the determination of whether to send a Bluetooth pairing request may be based on device identification.
  • the step of the device parsing the broadcast packet for determining whether to send a Bluetooth pairing request to the control device includes:
  • the broadcast packet in the embodiment of the present application includes the device identifier of the device corresponding to the device control in the device list selected by the user.
  • Judging whether the device identifier in the broadcast packet is the same as the device identifier of the device that received the broadcast packet Since the broadcast packet is broadcast to multiple devices, each device needs to determine whether the device identifier in the broadcast packet is the same as the device identifier of the device that received the broadcast packet, and determine whether to process the broadcast packet.
  • the device processes the broadcast packet and sends a Bluetooth pairing request to the control device.
  • the device includes a Bluetooth service, and the Bluetooth service is configured to send a Bluetooth pairing request to the control device.
  • the Bluetooth pairing request is not sent to the control device.
  • the device identifier in the broadcast packet is different from the device identifier of the device that received the broadcast packet, the device does not process the content of the broadcast packet, and does not send a Bluetooth pairing request to the control device.
  • the broadcast packet is only intended to be sent to the device with the device ID carried in the broadcast packet.
  • the devices send a Bluetooth pairing request to the control device.
  • the device sends a Bluetooth pairing request to the controlling device.
  • the control device receives the Bluetooth pairing request, and performs pairing with the device.
  • the method further includes: if the pairing is not successful, repeating the step of sending the broadcast packet carrying the device identification of the device corresponding to the device control to all devices in the device list until the number of repeated executions reaches a preset number of times.
  • the user in order to avoid the pairing failure between the control device and the device due to special circumstances, the user is affected to control the device through the control device.
  • the pairing is not successful, repeat the operation of sending broadcast packets until the number of executions reaches the preset number of times, which can improve the error tolerance rate of the embodiment of the present application and avoid affecting the user's use of the control device to control the device due to accidental events.
  • the preset number of times may be three times.
  • the method further includes: after repeating the step of broadcasting the broadcast packet carrying the device identifier of the device corresponding to the device control, controlling the display to display a pairing exception prompt.
  • the abnormal pairing prompt can be expressed by text or by a picture, and the abnormal pairing prompt is not limited in this application.
  • the control device is provided with a reminder light, and the pairing abnormality reminder can also be completed through the reminder light.
  • the color of the reminder light can be controlled to be red, and it can also be completed by controlling the reminder light to blink.
  • the method further includes: if the pairing is successful, establishing a connection between the control device and the device for controlling the device.
  • the control device can control the device.
  • the control device can adjust the internal temperature of the refrigerator through the control device. It can be understood that the embodiment of the present application automatically completes the Bluetooth pairing process between the control device and the device during the process of implementing the control device to operate the device, and the user is not aware of the Bluetooth pairing process, which improves the user experience.
  • a control device for implementing the above control method, and the control device may include: a display for displaying a user interface; a user interface for receiving an input signal; a controller for communicating with the display and the The user interface is connected, and it is configured to: obtain a device list to control the display to display the device list; receive a user operation command for selecting a device control in the device list via the user interface; broadcast to multiple devices carrying all The device controls a broadcast packet corresponding to the device identification of the device, so that the device sends a Bluetooth pairing request based on the device identification; and in response to receiving the Bluetooth pairing request from the device, performs pairing with the device via Bluetooth.
  • a method for pairing a control device with a device and a control device in the embodiment of the present application, in the process of the user controlling the device, the control device and the device automatically complete the Bluetooth pairing, so that the user can pair the control device with the device. No perception, improve user experience.
  • the device in the embodiment of the present application may also be applied to speech recognition.
  • a speech recognition network architecture provided by the embodiment of the present application is described below with reference to FIG. 11 .
  • FIG. 11 is a schematic diagram of a speech recognition network architecture provided by an embodiment of the present application.
  • the smart device is used to receive input information and output processing results of the information.
  • the speech recognition service device is an electronic device deployed with a speech recognition service
  • the semantic service device is an electronic device deployed with a semantic service
  • the business service device is an electronic device deployed with a business service.
  • the electronic device here may include a server, a computer, etc.
  • the speech recognition service, semantic service (also called a semantic engine) and business service here are web services that can be deployed on the electronic device, wherein the speech recognition service is used for audio Recognized as text, the semantic service is used for semantic analysis of the text, and the business service is used to provide specific services such as the weather query service of Moji Weather, the music query service of QQ Music, etc.
  • the speech recognition service is used for audio Recognized as text
  • the semantic service is used for semantic analysis of the text
  • the business service is used to provide specific services such as the weather query service of Moji Weather, the music query service of QQ Music, etc.
  • the process of processing the information input to the smart device based on the architecture shown in FIG. 11 is described below as an example. Taking the information input to the smart device as a query sentence input by voice as an example, the above process may include the following three processes :
  • the smart device After receiving the query sentence input by voice, the smart device can upload the audio of the query sentence to the voice recognition service device, so that the voice recognition service device can recognize the audio as text through the voice recognition service and return it to the smart device.
  • the smart device before uploading the audio of the query sentence to the speech recognition service device, the smart device may perform denoising processing on the audio of the query sentence, where the denoising processing may include steps such as removing echo and environmental noise.
  • the smart device uploads the text of the query sentence recognized by the speech recognition service to the semantic service device, so that the semantic service device can perform semantic analysis on the text through the semantic service to obtain the business field and intention of the text.
  • the semantic service device sends a query instruction to the corresponding business service device to obtain the query result given by the business service.
  • the smart device can obtain and output the query result from the semantic service device.
  • the semantic service device can also send the semantic analysis result of the query sentence to the smart device, so that the smart device can output the feedback sentence in the semantic analysis result.
  • FIG. 11 is only an example, and does not limit the protection scope of the present application. In the embodiment of the present application, other architectures may also be used to implement similar functions. For example, all or part of the three processes may be completed by a smart terminal, which will not be described in detail here.
  • the smart device shown in Figure 11 can be a display device, such as a smart TV, and the function of the speech recognition service device can be realized by the cooperation of the sound collector and the controller set on the display device, and the semantic service device and business service device The functions of can be realized by the controller of the display device, or by the server of the display device.
  • voice interaction function With the development of voice interaction technology, more and more home terminal devices have a voice interaction function. Using the voice interaction function, the user can voice control these terminal devices to perform corresponding operations, such as starting and stopping.
  • the voice interaction for the control device usually requires the user to press a button, or the user needs to input a wake-up word to trigger the control device to start the voice interaction function.
  • a method of lifting to wake is also defined. For example, if the user picks up the remote control from the desktop, the voice interaction function of the remote control can be triggered.
  • Fig. 12 is a schematic diagram of the framework of the radio system of the control device.
  • the control device may include a sound collection system, and the system includes at least a user layer, a sensing layer and a system layer.
  • the user layer is the layer where the user performs an input operation to input a signal.
  • the sensing layer is provided with various sensors for sensing the user's operation and converting the user's operation into a level of related signals.
  • the system layer is the layer that receives signals and performs related operations on other components based on the received signals.
  • the main chip in the system layer is the controller.
  • the system layer may also include storage modules, power supplies and other components.
  • the storage module can store preset parameters and other information.
  • the main chip in the embodiment of the present application may be set in the control device, or in other devices controlled by the control device.
  • the control device is a remote control
  • the main chip can be set in the display device or in the remote control.
  • the main chip is set in the control device to illustrate the solution.
  • control device can be mobile phone, wearable device, AR (Augmented Reality, augmented reality)/VR (Virtual Reality, virtual reality) device, tablet computer, notebook computer, UMPC (Ultra-mobile Personal Computer, super mobile personal computer), netbook, PDA (Personal Digital Assistant, personal digital assistant) and other arbitrary terminals, the embodiments of the present application do not make any restrictions on this.
  • the information input by the user may include: picking up the operation of the control device, and inputting voice.
  • the sensing layer may include a sound collector and a screen lift sensor.
  • the sound collector is used to collect the voice signal input by the user, and the lifting screen sensor is used to detect whether there is an operation of picking up the control device.
  • the sound collector may be a microphone, and the screen lift sensor may be an acceleration sensor.
  • An accelerometer is a sensor capable of measuring acceleration. It usually consists of mass block, damper, elastic element, sensitive element and adjustment circuit. During the acceleration process, the sensor uses Newton's second law to obtain the acceleration value by measuring the inertial force on the mass block. According to different sensor sensitive elements, common acceleration sensors include capacitive, inductive and so on.
  • the acceleration sensor used in this embodiment of the present application is not limited, for example, a three-axis acceleration sensor may be used.
  • the acceleration change can be detected by the acceleration sensor.
  • the acceleration sensor generates a screen-up signal according to the acceleration change, and sends the screen-up signal to the main chip.
  • the main chip After the main chip receives the screen-up signal, it controls the start of the sound collector. After the sound collector is started, it starts to collect the voice signal input by the user.
  • control device may also include a display.
  • the main chip After the main chip receives the screen-up signal sent by the acceleration sensor, it controls the display to light up the screen. Prompts, such as "whether to perform voice interaction", can be displayed on the user interface that lights up the screen.
  • the sound collector collects the voice signal input by the user, it sends the voice signal to the main chip.
  • the main chip calculates the sound source angle between the user and the control device according to the voice signal. If the sound source angle between the user and the control device is within the preset sound source angle range, it means that the user intends to perform voice interaction, and voice recognition processing is performed on the collected voice signal.
  • the speech recognition processing process belongs to the prior art, and this application does not describe it in detail. After the speech recognition processing, the process of judging the intention and executing the intention according to the recognition result also belongs to the prior art, and the present application will not describe it in detail.
  • the sound source angle between the user and the control device is not within the preset sound source angle range, it means that the user does not intend to perform voice interaction, and no voice recognition processing is performed on the collected voice signal.
  • the sound collector may be a microphone array, and the microphone array includes at least two microphones. Calculate the sound source angle between the user and the control device according to the voice signal, specifically:
  • Fig. 13 is a schematic diagram of a method for calculating a sound source angle.
  • the far-field incident signal is the voice signal input by the user
  • the wave front refers to a spherical surface formed from the sound source to the propagation direction when the sound wave propagates. From a long distance, the wave front can be regarded as a plane, which is also convenient for calculation.
  • p microphones 1, 2...p-2, p-1, p are shown.
  • the formula for calculating the time difference between the arrival of the voice signal from the sound source at each microphone is:
  • p is the number of microphones
  • d is the distance between two adjacent microphones
  • the sound source angle may specifically be the angle between the user and the central axis of the control device.
  • the matrix can be constructed according to the above formula:
  • x1...xp is the X coordinate value of the microphone
  • y1...yp is the Y coordinate value of the microphone
  • p sound source angle values can be obtained.
  • the final sound source angle value can be calculated by using the least square method.
  • the specific calculation process belongs to the prior art, and the present application does not elaborate on it in detail.
  • other sound source localization methods may also be adopted in this embodiment of the present application. For example, energy spectrum estimation methods in space based on high-resolution spectrum estimation. The basic principle is to use spatial spectrum scanning to obtain the corresponding received energy at each angle. Further, the angle of the maximum received energy is determined as the angle of arrival of the sound source.
  • the preset sound source angle range in this embodiment of the present application may be set by a user based on experience. For example, if the preset sound source angle is set to 90° ⁇ 15°, if the calculated sound source angle is within the range of 90° ⁇ 15°, it can be determined that the user intends to perform voice interaction. At this point, the user may pick up the control device, and place the microphone of the control device within a range of positions that are within 15° of left-right deviation directly in front of the user's mouth. If the calculated sound source angle is not within the range of 90° ⁇ 15°, it can be determined that the user does not intend to perform voice interaction. At this time, it may be that the user just picks up the control device, but does not place the microphone of the control device directly in front of the user's mouth within a range of positions where the left and right deviation does not exceed 15°.
  • the sound source angle at position B is 90°. If the user is at position A, and the angle between the user and the central axis of the control device is 10°, the sound source angle is 90° ⁇ 10°, and it can be determined that the user intends to perform voice interaction. If the user is at position C, and the angle between the user and the central axis of the control device is 50°, the sound source angle is 90° ⁇ 50°, which is not within the preset sound source angle range. It may be determined that the user does not intend to perform voice interaction.
  • the main chip if it is determined that the sound source angle is within the preset sound source angle range, it is further determined whether the result of the voice activity detection is end. If the voice activity detection result is incomplete, it means that the user is still inputting voice signals. The sound collector continuously collects the voice signal input by the user. The main chip finally performs speech recognition processing according to the complete speech signal. If the result of the voice activity detection is end, it means that the user does not continue to input the voice signal. The main chip performs speech recognition processing according to the currently collected speech signal.
  • the user inputs a voice signal "turn on the TV".
  • the main chip of the remote control determines that the sound source angle is within the preset sound source angle range, that is, it is determined that the user has a voice interaction intention.
  • the user continues to input the voice signal "jump to the central set", and the result of the voice activity detection at this time is not completed.
  • the sound collector continues to collect the voice signal input by the user, and obtains the complete voice signal "turn on the TV, jump to the central set”. Finally, perform voice recognition processing on the completed voice signal "turn on the TV, jump to the central set". If the user does not continue to input the voice signal after it is determined that the user has a voice interaction intention, the result of the voice activity detection at this time is ended. Finally, the voice recognition process is performed according to the current voice signal "turn on the TV".
  • the collection of the voice signal input by the user is stopped.
  • the control device has a display, the result of performing speech recognition processing on the speech signal is finally displayed on the display.
  • the screen of the control display is turned off.
  • a controller such as a processor receives a screen-up signal and controls the start of the sound collector, but the sound collector does not collect a voice signal
  • the prompt "Please say it again” can be displayed on the display, and at the same time Sound an alarm to alert the user. If the sound collector has not collected a voice signal within the preset time period, it is determined that the user has no voice interaction intention, and the display is controlled to turn off the screen. If the voice collector collects voice signals within the preset time period, it is determined that the user has voice interaction intentions, and voice recognition processing is performed on the collected voice signals.
  • the present application further provides a sound collection method for a control device. As shown in FIG. 15 , from S1501 to S1502 , the user picks up the control device, and the screen lift sensor detects that the user picks up the control device, generates a screen lift signal, and sends the screen lift signal to the processor.
  • the controller such as the processor controls the start of the sound collector after receiving the screen-up signal.
  • the sound collector collects the voice signal input by the user, and sends the voice signal to the processor.
  • the processor calculates the sound source angle between the user and the control device according to the voice signal.
  • the sound collector is a microphone array, and the microphone array includes at least two microphones. Calculate the sound source angle between the user and the control device according to the voice signal, the specific steps are:
  • the sound source angle between the user and the control device is calculated according to the distance between two adjacent microphones and the time difference between two adjacent microphones receiving voice signals. Among them, the sound source angle is the angle between the user and the central axis of the control device
  • the processor continues to receive the voice signal, and finally performs voice recognition processing on the complete voice signal. If the result of the voice activity detection is ended, it means that the sound collector cannot continue to collect the voice signal input by the user. Then the processor performs speech recognition processing on the current speech signal.
  • the sound collector is controlled to stop collecting the voice signal input by the user.
  • the control device also includes a display.
  • the processor When receiving the screen lift signal sent by the screen lift sensor, the processor also controls the display to turn on the screen. After the screen is turned on, if the sound source angle is within the preset sound source angle range, the result of performing speech recognition processing on the speech signal will be displayed on the display. If the sound source angle is not within the preset sound source angle range, the control display turns off the screen.
  • the terminal device may also be used instead of the controller as the control device to control the household electrical appliances.
  • the control device of the embodiment of the present application can not only use infrared signals to control household appliances, but also adopt AIOT (Artificial Intelligence & Internet of Things, artificial intelligence Internet of Things) cloud intelligent control method, through the cloud of the embodiment of the present application
  • AIOT Artificial Intelligence & Internet of Things, artificial intelligence Internet of Things
  • the server is used to control the home appliances to realize the corresponding functions, so that there is no need to combine the remote controllers for control, which improves the user experience.
  • the terminal device acquires corresponding data from the server by sending a data request to the server.
  • a media resource information acquisition request is made to the server to obtain the media resource information from the server, where the media resource information at least includes a media resource identifier, for example, may also include a media resource name.
  • users can select media assets on the media asset platform of terminal devices (such as mobile phones), and put the selected media assets on TV or other display devices for playback through push operations.
  • both the terminal device and the pushed display device are installed with a video playback application.
  • the video playback application installed in the terminal device 300 is referred to as the first application
  • the display device 300 is referred to as the first application.
  • the video playing application installed in 200 is named as the second application.
  • the second application may be a system application or a third-party application.
  • Fig. 16 is a schematic diagram of a user interface of a terminal device (such as the terminal device 300 in Fig. 1 ) shown according to some embodiments of the present application.
  • the user can open a corresponding application program by touching an application icon on the user interface, or open a corresponding folder by touching a folder icon on the user interface.
  • a terminal device includes a display unit, a communication unit, and a controller such as a processor.
  • the display unit is used for displaying the terminal interface
  • the communication unit is used for communicating with the display device and the server.
  • the terminal device can be a mobile terminal, a notebook computer or a tablet computer.
  • the server includes a communicator and a processor, and the communicator is configured to communicate with the terminal device and the display device.
  • the user can use the terminal device to communicate with the display device, so as to realize information interaction between the terminal device and the display device.
  • the user can manipulate the terminal device to download some media resources from the display device, or upload the media resources in the terminal device to the display device for playback.
  • the user can also use the terminal device to send some control commands to the display device to control the display device to realize corresponding functions.
  • the terminal device can be used to realize the function of the remote control.
  • the display device may be provided with a communication mode.
  • the communication mode When the communication mode is off, the display device will not receive the communication connection request sent by the terminal device. At this time, the display device does not allow the terminal device to communicate with each other, and the display device will not exchange information with any terminal device at this time.
  • the communication mode When the communication mode is turned on, the display device will receive a communication connection request sent by the terminal device. At this time, the display device may allow the terminal device to communicate with the display device, so as to realize information interaction.
  • the user can input a communication mode start command to the display device, and when the processor receives the communication mode start command, it can control the display device to enter the communication mode.
  • the user may send a communication mode activation instruction to the display device by operating a designated key of the remote controller.
  • a communication mode button is set on the remote controller.
  • the remote controller can send a communication mode start command to the processor, and the processor controls the display device to enter the communication mode.
  • the processor can control the display device to exit the communication mode.
  • the correspondence between the communication mode command and multiple remote control keys may also be bound in advance, and when the user touches multiple keys bound to the communication mode command, the remote control sends out the communication mode command.
  • the keys bound to the communication mode command are direction keys (left, down, left, down) in turn, that is, when the user touches the keys (left, down, left, down) continuously within a preset time
  • the remote controller sends the communication mode command to the processor.
  • the user can use a sound collector of the display device, such as a microphone, to send a communication mode instruction to the display device through voice input, so as to control the display device to enter the communication mode.
  • a sound collector of the display device such as a microphone
  • An intelligent voice system may be installed in the display device, and the intelligent voice system may recognize the user's voice to extract the instruction content input by the user.
  • the user can enter a preset wake-up word through the microphone to activate the intelligent voice system, so that the processor can respond to the user's input.
  • the communication mode option can also be set in the UI interface of the display device, and when the user clicks on this option, the display device can be controlled to enter or exit the communication mode.
  • an identity authentication mode when the display device is in the communication mode, an identity authentication mode may be further set in consideration of security.
  • the identity authentication mode is off, the display device will not perform identity authentication on the terminal device, and at this time the terminal device can directly communicate with the display device. That is, when the terminal device sends a communication connection request to the display device, the display device may directly perform a communication connection with the terminal device without verifying the communication connection request.
  • the display device When the identity authentication mode is turned on, the display device will authenticate the terminal device. That is, when the display device receives the communication connection request sent by the terminal device, it will verify the communication connection request, and when the verification is passed, the communication connection request is allowed, so as to communicate with the terminal device.
  • Fig. 17 is a schematic diagram showing an identity authentication mode set in a device in some embodiments. Wherein, when the user chooses to turn on the communication mode, he may further choose to turn on the identity authentication mode or turn off the identity authentication mode.
  • Fig. 18 is a flowchart of a communication connection between a display device and a terminal device in some embodiments.
  • the terminal device when the display device is in the communication mode, can communicate and interact with the display device. In step S1801, the terminal device needs to send a communication connection request to the display device, and the display device can further determine whether to establish a communication connection with the terminal device.
  • the communication connection request may be a search command.
  • the terminal device can send the search command to the network, specifically, the search command can be sent to the multicast address of the local area network.
  • All devices in the LAN can receive the search command through the multicast address. Therefore, when the terminal device and the display device are connected to a local area network, the display device can obtain the search instruction from the multicast address. When the display device acquires the search instruction, it can be considered that the terminal device has sent a communication connection request.
  • the display device determines its own network information and physical address, and can send its own network information to the terminal device.
  • the display device may send a Location URL (uniform resource locator, uniform resource locator) to the terminal device, and the UPL may include the IP address of the display device.
  • Location URL uniform resource locator, uniform resource locator
  • the display device can also send its own physical address (that is, the MAC address) to the terminal device, and the MAC address is used to identify the network card of the display device.
  • the MAC address is used to identify the network card of the display device.
  • the terminal device may generate a device information acquisition request according to the network information and the physical address. Wherein, the device information obtaining request is used to obtain device information of the display device. And at S1805, the terminal device may send a device information acquisition request to the display device.
  • the display device may send its own device information to the terminal device.
  • the display device may allow the communication connection request sent by the terminal device, that is, allow the terminal device and the display device to communicate and interact. Further, the display device can establish a communication connection with the terminal device.
  • the terminal device When the terminal device receives the device information sent by the display device, it realizes the communication connection with the display device, and at this time, the terminal device can communicate and interact with the display device. For example, the terminal device may send some control instructions to the display device, so that the display device realizes corresponding functions.
  • the device information of the display device may include information such as DeviceId (device ID), brand name, model name, and FeatureCode (feature code).
  • the device ID represents the ID information of the display device, which is the unique identification attribute of each display device.
  • the brand name and model name are the factory parameters of the display device, and are generally fixed names.
  • the user can establish a communication connection between the terminal device and the display device by binding and associating the terminal device with the display device.
  • Fig. 19 is a schematic diagram of a terminal interface of a terminal device in some embodiments.
  • the terminal device can include a "connect device” control, and the user can click the "connect device” control to instruct the terminal device to scan for connectable display devices in the local area network, and at the same time trigger to enter the corresponding device list page.
  • the device list page is displayed, the user can select the display device to be connected on this page.
  • the terminal device may send a device information acquisition request to the display device.
  • the display device may send its own device information to the terminal device.
  • the display device can be bound and associated with the terminal device, that is, a communication connection can be established.
  • the user can also log in his own account in the terminal device. After the user uses the terminal device to bind and associate with a certain display device, the user's account is also bound and associated with the display device.
  • different communication connection types may also be used.
  • the user can use the network to directly bind the terminal device and the display device, so as to realize the communication connection between the terminal device and the display device.
  • the terminal device can directly search for the display device in the local area network, or send the search command to the local area network.
  • an AIOT network connection manner may be used to implement a communication connection between the terminal device and the display device.
  • the manner of these network connections is set as the first type of communication connection.
  • the user can also bind and associate the terminal device and the display device by means of an infrared connection, so as to realize the communication connection between the terminal device and the display device.
  • the terminal device can transmit infrared signals to the display device, and the display device converts the infrared signal into an electrical signal, and further decodes and demodulates the corresponding information, so that the display device can establish a communication connection with the terminal device. Further, the terminal device can obtain the device information of the display device.
  • the infrared connection is set as the second type of communication connection.
  • the terminal device when it is detected that the terminal device establishes a communication connection with the display device, the user may use the terminal device to control the display device. At this time, the terminal device can function as a remote controller.
  • the terminal device can control the display unit to display a control interface, and the control interface includes a plurality of control instructions for controlling the display device.
  • the terminal device can send the control instruction to the display device, so that the display device can realize a corresponding function.
  • Fig. 20 shows a flowchart of interaction between a terminal device and a server in some embodiments.
  • the processor may acquire device information of the display device.
  • the processor may further acquire the communication connection information of the communication connection between the terminal device and the display device.
  • the communication connection information may include communication connection types of the terminal device and the display device. It can also include displaying device network information as well as physical address.
  • the type of the communication connection is the first type of communication connection or the second type of communication connection.
  • the processor may control the communication unit to send the communication connection information and device information to the server, so as to further determine the control commands currently supported by the display device.
  • the server may obtain the set of control instructions.
  • the control command set includes all control commands supported by the display device and the terminal device when they are connected in communication.
  • the terminal device may interact with the server to obtain a set of control instructions, and generate a control interface according to the set of control instructions.
  • the controller of the server may acquire the set of control instructions according to the communication connection information and device information.
  • Fig. 21 is a flow chart of the server obtaining a set of control instructions in some embodiments.
  • control instructions that the display device can support may also be different.
  • the terminal device can send the first type of control command to the display device, namely
  • the AIOT control command can also send the second type of control command to the display device, that is, the infrared control command.
  • the display device can support two kinds of control commands.
  • the terminal device can only send the second type of control command to the display device, that is, infrared Control commands, but the first type of control commands cannot be sent.
  • the display device only supports the second type of control commands, but not the first type of control commands.
  • the server needs to determine the control instructions supported by the display device according to the communication connection information.
  • the controller may detect the type of communication connection between the display device and the terminal device.
  • the processor may obtain all first-type control instructions and all second-type control instructions supported by the display device from the preset instruction database, that is, all control instructions that the display device can support.
  • an instruction database is preset in the server. All control commands supported by each display device are stored in the command database.
  • the display device can support two kinds of control commands: AIOT control commands and infrared control commands.
  • the infrared control instruction is an instruction supported by the traditional remote controller.
  • each infrared control command corresponds to an operation of the display device, and the real-time control is strong, but the infrared control command cannot support some more complicated functions. For example, setting the volume or brightness value of the display device to a specific value, this function cannot be realized by infrared control commands.
  • AIOT control instructions are difficult to implement.
  • the number keys and direction keys in the remote control because the user generally touches these keys multiple times or continuously, requires multiple rapid interactions between the terminal device and the display device, resulting in AIOT control commands that cannot realize these functions.
  • an AIOT control command can correspond to multiple operations of the display device, such as adjusting the volume of the display device from the current value to a specific value. If a traditional remote control is used, the user needs to issue multiple instructions to adjust the volume, but using AIOT control Instructions only need one instruction to realize, thus greatly improving the user's operation efficiency.
  • the embodiment of the present application comprehensively considers the advantages of the two kinds of control instructions, and integrates the two kinds of control instructions in the terminal device, so as to maximize the user experience.
  • the AIOT control instructions can be stored in the form of pure instructions.
  • the infrared control commands can be stored in the form of infrared code values, and each infrared control command corresponds to an infrared code value.
  • all AIOT control commands that it can support can be formed into an AIOT command set.
  • the AIOT command set and infrared code library corresponding to the display device can be queried.
  • display devices of the same brand can support the same control commands, so display devices of the same brand can share the AIOT command set and infrared code library.
  • the AIOT command set and infrared code library can be integrated, and the All the control instructions of the first type and the control instructions of the second type are processed to obtain a complete set, so as to generate a set of control instructions.
  • the control instruction set includes all the control instructions supported by the display device and the type of each control instruction under the current communication connection status.
  • the server may also determine whether the display device supports the second type of communication connection according to the device information of the display device , that is, whether to support infrared control.
  • the controller can simultaneously obtain the AIOT command set and infrared code library corresponding to the display device from the preset command database according to the device ID of the display device, and can All first-type control commands and all second-type control commands supported by the display device are obtained.
  • all the first-type control instructions and the second-type control instructions can be processed in a complete set, so as to obtain a set of control instructions.
  • the controller can obtain only the AIOT command set corresponding to the display device in the preset command database according to the device ID of the display device, so as to obtain the display device. All first-class control commands supported by the device. At this time, all the first-type control instructions together constitute a control instruction set.
  • the processor can obtain the infrared code library corresponding to the display device from the instruction database according to the device ID, so as to obtain all second-type control instructions supported by the display device. At this time, all the second-type control instructions together constitute a control instruction set.
  • the processor may store the control instruction set.
  • a display device instruction library may be set in the server. Further, the processor may store the control instruction set of each display device into the display device instruction library.
  • the server can obtain the control command set under the current communication connection condition of the display device, and update the new control command set in the display device command library.
  • the user can use the terminal device to control the display device.
  • Fig. 22 is a schematic diagram of a terminal interface of a terminal device in some embodiments.
  • the terminal device may include a "control device” control, and the user may click the "control device” control to instruct the terminal device to confirm all display devices that have established communication connections, and at the same time trigger to enter the corresponding control list page.
  • the control list page is displayed, the user can select the display device to be controlled on the page.
  • the user may click a certain display device in the control list page, so as to input an instruction to control the display device.
  • the terminal device may send a control instruction set acquisition request to the server.
  • the control instruction set acquisition request is used to acquire the control instruction set of the display device.
  • the server may send the control command set of the display device to the terminal device.
  • the terminal device may generate a control interface according to the set of control instructions.
  • the display unit can be controlled to display the control interface.
  • the control interface may include multiple control instructions in the control instruction set, so that the user can control the display device according to the control interface.
  • the two control instructions may have the same instruction.
  • the control instruction "mute the display device" may exist in the form of the first type of control instruction or in the form of the second type of control instruction, thus causing the same control instruction to appear repeatedly.
  • the priority for the type of control command for example: AIOT control command > infrared control command. That is, when a control command can be either an AIOT control command or an infrared control command, the AIOT control command is preferentially set.
  • the priority can also be set as: infrared control command>AIOT control command, that is, the priority of the control command is set to the infrared control command.
  • the type of each control instruction can also be set according to the needs of the user, which is not specifically limited in this embodiment of the present application.
  • the terminal device After determining all the control commands supported by the display device under the current communication connection and the type of each control command, the terminal device can generate a control interface according to these control commands and display it on the display unit.
  • the processor can analyze the set of control instructions to obtain all the control instructions that the display device can support and the value of each control instruction under the current communication connection. command type.
  • each control instruction may convert each control instruction into an operation control, each operation control is a control instruction, and each operation control may have a separate icon. At this point, these icons can be generated into a control interface for the user to operate.
  • Fig. 23a is a schematic diagram of a control interface of a terminal device in some embodiments.
  • the control interface includes 9 kinds of operation controls: power control 1101, program source control 1102, return control 1103, main interface control 1104, keyboard switching control 1105, signal source control 1106, image recognition control 1107 and volume Settings interface 1108 .
  • the power control 1101 is used to control the turning on and off of the display device, and can be set as an AIOT control command or an infrared control command.
  • the program source control 1102 is a numeric keyboard, which is used to adjust the program source currently played by the display device. The user can press a specific number key to switch to the corresponding TV program, or switch TV programs back and forth according to the sequence of the program source.
  • the return control 1103 is used to return to the user's last operation, and can be set as an AIOT control command or an infrared control command.
  • the main interface control 1104 is used to return to the main interface of the display device, and can be set as an AIOT control command or an infrared control command.
  • the keyboard switching control 1105 is used to switch the displayed keyboard.
  • the keyboard includes a numeric keypad and a direction keypad, which can be set as AIOT control commands or infrared control commands.
  • the signal source control 1106 is used to display a list of signal sources of the display device, including signal sources such as HDMI, USB, ATV, etc., for the user to choose, and can be set as an AIOT control command or an infrared control command.
  • the image recognition control 1107 is used to recognize the image displayed by the display device, and needs to be set as an AIOT control command.
  • the volume setting interface 1108 is used to adjust the volume of the display device to a preset volume value, which can be adjusted to 50, and needs to be set as an AIOT control command. In the current control interface, when the user clicks the keyboard switching control 1105, the numeric keypad in the control interface will be switched to a direction keypad.
  • Fig. 23b is a schematic diagram of another control interface of a terminal device in some embodiments.
  • the focus control 1109 is a directional keyboard, and the user can use this control to adjust the focus position in the display device, which needs to be set as an infrared control command.
  • the user may use the control interface to control the display device to control the display device according to the control instruction triggered on the control interface. For example, by clicking or touching a certain control in the control interface, a corresponding control instruction is input.
  • Fig. 24 is a flowchart of a terminal device controlling a display device in some embodiments.
  • a controller such as a processor may detect the user's operation on the control interface, so as to determine the control command input by the user.
  • the terminal device can send the control instruction input by the user to the display device.
  • the display device receives the corresponding control instruction, and can analyze the control instruction, so as to determine the function corresponding to the control instruction, and implement it.
  • the terminal device may detect the instruction type of the control instruction.
  • the terminal device when it is detected at S2403 that the control command input by the user is the first type of control command, that is, the AIOT control command, at S2404, the terminal device needs to first send the control command input by the user and the device information of the display device to To the server, specifically, the control instruction and the device ID of the display device may be sent to the server.
  • the server can determine which display device the user wants to control according to the device ID of the display device. At this time, the server may send the control instruction input by the user to the corresponding display device. Further, after receiving the control instruction, the display device can realize the function corresponding to the control instruction.
  • the terminal device may directly send the control command input by the user to the display device.
  • the infrared code value of the control command can be sent to the display device.
  • the display device converts the infrared code value into an electrical signal, it can decode the electrical signal, demodulate the corresponding control command, and realize the corresponding function.
  • the terminal device may send the device information of the display device and the communication connection information between the terminal device and the display device to the server.
  • the server can further integrate the AIOT control commands and infrared control commands that the display device can support, and send them to the terminal device. Therefore, the terminal device can send two types of control commands to the display device without the user using a remote controller, thereby improving user experience.
  • the embodiment of the present application provides a communication control method, which is applied to a terminal device. As shown in FIG. 25, the method includes the following steps:
  • the terminal device establishes a communication connection with the display device, and acquire communication connection information and device information of the display device, where the communication connection information includes a communication connection type.
  • the embodiment of the present application provides a communication control method applied to a server, as shown in FIG. 26, the method includes the following steps:
  • S1402. Acquire a set of control instructions according to the communication connection information and the device information, where the set of control instructions includes all control instructions supported by the display device and the terminal device when they are connected in communication.
  • the embodiment of the present application also provides a communication control method, which includes the following steps:
  • the terminal device When the terminal device detects that a communication connection is established with the display device, it determines communication connection information and device information of the display device, where the communication connection information includes a communication connection type.
  • the terminal device sends the communication connection information and device information to the server.
  • the server obtains a control command set according to the communication connection information and the device information, and the control command set includes all control commands supported by the display device and the terminal device when they are connected in communication.
  • the terminal device In response to an instruction input by the user indicating to control the display device, the terminal device sends a control instruction set acquisition request to the server, and the control instruction set acquisition request is used to acquire the control instruction set.
  • the server sends the set of control instructions to the terminal device.
  • the terminal device generates a control interface according to the set of control instructions, and controls the display unit to display the control interface, so that the user can control the display device according to the control interface.

Abstract

The present application discloses a control method and a control device. The control device comprises: a display used for displaying a user interface; a user input interface used for receiving an input signal; and a controller respectively connected to the display and the user interface. The controller is configured to: acquire a device list so as to control the display to display the device list; receive, via the user interface, a user operation command of a device control in the selected device list; broadcast, to a plurality of devices, a broadcast packet carrying a device identifier of a device corresponding to the device control, so that the device sends, on the basis of the device identifier, a Bluetooth pairing request; and in response to the Bluetooth pairing request received from the device, perform pairing with the device via Bluetooth.

Description

控制方法及控制设备Control method and control equipment
相关申请的交叉引用Cross References to Related Applications
本申请要求于2021年7月20日提交的申请号为202110817639.9、于2021年7月15日提交的申请号为202110799098.1、以及于2021年9月7日提交的申请号为202111041999.0的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the application number 202110817639.9 submitted on July 20, 2021, the application number 202110799098.1 submitted on July 15, 2021, and the Chinese patent application with application number 202111041999.0 submitted on September 7, 2021 priority, the entire contents of which are incorporated by reference into this application.
技术领域technical field
本申请实施例涉及智能家电技术领域,尤其涉及一种控制方法及控制设备。The embodiments of the present application relate to the technical field of smart home appliances, and in particular, to a control method and a control device.
背景技术Background technique
相关技术中,用户利用控制设备可以操控电子设备,例如,控制设备可以为遥控器,电子设备可以为电视,用户利用遥控器操控电视以达到切换节目的目的。在利用控制装置操控设备之前,需要将控制设备和电子设备进行蓝牙配对,配对成功后方可使用控制设备操控该电子设备。但是,相关技术中控制设备和电子设备进行蓝牙配对时,需要用户根据设备上的提示进行蓝牙配对,蓝牙配对过程比较复杂,给用户带来不好的使用体验。In the related art, a user can use a control device to control an electronic device. For example, the control device can be a remote controller, and the electronic device can be a TV. The user can use the remote control to control the TV to achieve the purpose of switching programs. Before using the control device to control the device, it is necessary to carry out Bluetooth pairing between the control device and the electronic device, and the control device can be used to control the electronic device only after the pairing is successful. However, when Bluetooth pairing is performed between the control device and the electronic device in the related art, the user needs to perform Bluetooth pairing according to the prompts on the device. The Bluetooth pairing process is relatively complicated, which brings bad user experience to the user.
此外,随着语音交互技术的发展,越来越多的诸如家用终端设备的电子设备中都具备语音交互功能。利用语音交互功能,用户可语音控制这些终端设备执行相应的操作,例如启动、停止运转等。针对手持控制设备的语音交互,可以使用抬起唤醒的方式来触发手持控制设备开启语音交互功能。例如,用户从桌面上拿起遥控器,就可以触发遥控器的语音交互功能。In addition, with the development of voice interaction technology, more and more electronic devices such as home terminal equipment have a voice interaction function. Using the voice interaction function, the user can voice control these terminal devices to perform corresponding operations, such as starting and stopping. For the voice interaction of the handheld control device, the way of raising and waking can be used to trigger the handheld control device to start the voice interaction function. For example, if the user picks up the remote control from the desktop, the voice interaction function of the remote control can be triggered.
然而,在抬起唤醒的方式中,如果用户仅仅是拿起手持控制设备,而没有语音交互意图。此时如果用户同时在说话,则易造成误收音的情况发生,导致用户使用体验较差。However, in the way of raising to wake up, if the user just picks up the handheld control device without voice interaction intention. At this time, if the user is talking at the same time, it is easy to cause false reception, resulting in poor user experience.
发明内容Contents of the invention
本申请提供了一种控制设备,包括:The application provides a control device, including:
显示器,用于显示用户界面;a display for displaying a user interface;
用户接口,用于接收输入信号;a user interface for receiving an input signal;
控制器,分别与所述显示器和所述用户接口连接,其被配置为:a controller, respectively connected to the display and the user interface, configured to:
获取设备列表,以控制显示器显示所述设备列表;Acquiring a device list, so as to control the display to display the device list;
经由所述用户接口接收选中设备列表中的设备控件的用户操作命令;receiving a user operation command for selecting a device control in the device list via the user interface;
向多个设备广播携带有所述设备控件对应设备的设备标识的广播包,以使所述设备基于设备标识来发送蓝牙配对请求;以及broadcasting a broadcast packet carrying the device identifier of the device corresponding to the device control to multiple devices, so that the device sends a Bluetooth pairing request based on the device identifier; and
响应于接收到来自所述设备的蓝牙配对请求,与所述设备经由蓝牙进行配对。In response to receiving a Bluetooth pairing request from the device, pairing is performed with the device via Bluetooth.
本申请提供了一种用于控制控制设备和设备之间进行配对的方法,包括:The present application provides a method for controlling pairing between a control device and a device, including:
获取设备列表,以控制显示器显示所述设备列表;Acquiring a device list, so as to control the display to display the device list;
接收选中设备列表中的设备控件的用户操作命令;Receive the user operation command of the device control in the selected device list;
向多个设备广播携带有所述设备控件对应设备的设备标识的广播包,以使所述设备基于设备标识来发送蓝牙配对请求;Broadcasting a broadcast packet carrying the device identifier of the device corresponding to the device control to multiple devices, so that the device sends a Bluetooth pairing request based on the device identifier;
响应于接收到来自所述设备的蓝牙配对请求,与所述设备经由蓝牙进行配对。In response to receiving a Bluetooth pairing request from the device, pairing is performed with the device via Bluetooth.
附图说明Description of drawings
下面将参照附图对本申请的实施例进行描述,其中:Embodiments of the application will be described below with reference to the accompanying drawings, wherein:
图1示出了根据一些实施例的显示设备的使用场景;FIG. 1 shows a usage scenario of a display device according to some embodiments;
图2示出了根据一些实施例的控制设备100的硬件配置框图;FIG. 2 shows a block diagram of a hardware configuration of a control device 100 according to some embodiments;
图3示出了根据一些实施例的显示设备200的硬件配置框图;FIG. 3 shows a block diagram of a hardware configuration of a display device 200 according to some embodiments;
图4示出了根据一些实施例的显示设备200中软件配置图;FIG. 4 shows a software configuration diagram in a display device 200 according to some embodiments;
图5示出了根据一些实施例的终端设备的结构示意图;Fig. 5 shows a schematic structural diagram of a terminal device according to some embodiments;
图6示出了根据一些实施例的终端设备的软件架构示意图;Fig. 6 shows a schematic diagram of a software architecture of a terminal device according to some embodiments;
图7中示例性示出了根据一些实施例的一种用于控制控制设备和设备进行配对的方法的流程图;FIG. 7 exemplarily shows a flow chart of a method for controlling a control device to perform pairing with a device according to some embodiments;
图8中示例性示出了移动终端的一种用户界面示意图;FIG. 8 exemplarily shows a schematic diagram of a user interface of a mobile terminal;
图9中示例性示出了移动终端的又一种用户界面示意图;FIG. 9 exemplarily shows another schematic diagram of a user interface of a mobile terminal;
图10中示例性示出了移动终端的另一种用户界面示意图;FIG. 10 exemplarily shows another schematic diagram of a user interface of a mobile terminal;
图11示例性示出了根据一些实施例的语音交互原理的示意图;Fig. 11 exemplarily shows a schematic diagram of the principle of voice interaction according to some embodiments;
图12示例性示出了根据一些实施例的控制设备的收音系统框架示意图;Fig. 12 exemplarily shows a schematic frame diagram of a sound receiving system of a control device according to some embodiments;
图13示例性示出了根据一些实施例中控制设备的声源角度计算方法示意图;Fig. 13 exemplarily shows a schematic diagram of a sound source angle calculation method of a control device according to some embodiments;
图14示例性示出了根据一些实施例中控制设备声源角度场景示意图;Fig. 14 exemplarily shows a schematic diagram of a sound source angle scene of a control device according to some embodiments;
图15示例性示出了根据一些实施例的一种控制设备的收音方法信令图;Fig. 15 exemplarily shows a signaling diagram of a sound collection method of a control device according to some embodiments;
图16示出了根据一些实施例的终端设备的用户界面示意图;Fig. 16 shows a schematic diagram of a user interface of a terminal device according to some embodiments;
图17示出了一些实施例中显示设备中设置身份认证模式的示意图;Fig. 17 shows a schematic diagram of setting an identity authentication mode in a display device in some embodiments;
图18示出了一些实施例中显示设备和终端设备进行通信连接的流程图;Fig. 18 shows a flowchart of a communication connection between a display device and a terminal device in some embodiments;
图19示出了一些实施例中终端设备的终端界面的示意图;Fig. 19 shows a schematic diagram of a terminal interface of a terminal device in some embodiments;
图20示出了一些实施例中终端设备和服务器的交互流程图;Fig. 20 shows a flowchart of interaction between a terminal device and a server in some embodiments;
图21示出了一些实施例中服务器获取控制指令集合的流程图;Fig. 21 shows a flow chart of the server obtaining a set of control instructions in some embodiments;
图22示出了一些实施例中终端设备的终端界面的示意图;Figure 22 shows a schematic diagram of a terminal interface of a terminal device in some embodiments;
图23a示出了一些实施例中终端设备的一个控制界面的示意图;Figure 23a shows a schematic diagram of a control interface of a terminal device in some embodiments;
图23b示出了一些实施例中终端设备的又一个控制界面的示意图;Fig. 23b shows a schematic diagram of another control interface of the terminal device in some embodiments;
图24示出了一些实施例中终端设备控制显示设备的流程图;Fig. 24 shows a flowchart of a terminal device controlling a display device in some embodiments;
图25示出了通信控制方法的一个实施例的流程示意图;Fig. 25 shows a schematic flowchart of an embodiment of a communication control method;
图26示出了通信控制方法的一个实施例的流程示意图。Fig. 26 shows a schematic flowchart of an embodiment of a communication control method.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例进行描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。The following will describe the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments.
需要说明的是,本申请中对于术语的简要说明,仅是为了方便理解接下来描述的实施 方式,而不是意图限定本申请的实施方式。除非另有说明,这些术语应当按照其普通和通常的含义理解。It should be noted that the brief description of terms in this application is only for the convenience of understanding the implementations described below, and is not intended to limit the implementations of this application. These terms are to be understood according to their ordinary and usual meaning unless otherwise stated.
图1为根据实施例中显示设备的使用场景的示意图。如图1所示,诸如显示设备的电子设备200还与服务器400进行数据通信,用户可通过终端设备300或控制设备100操作显示设备200。另外,控制设备100还可以操控其他设备,例如冰箱、空调、洗衣机、家用电灯等电子设备。Fig. 1 is a schematic diagram of a usage scenario of a display device according to an embodiment. As shown in FIG. 1 , an electronic device 200 such as a display device also performs data communication with a server 400 , and a user can operate the display device 200 through a terminal device 300 or a control device 100 . In addition, the control device 100 can also control other devices, such as electronic devices such as refrigerators, air conditioners, washing machines, and household lights.
在一些实施例中,控制设备100可以是遥控器,遥控器和显示设备的通信包括红外协议通信或蓝牙协议通信,及其他短距离通信方式等,通过无线或其他有线方式来控制显示设备200。其中,无线方式可以是直连和非直连,可以是经过路由的,也可以是不经过路由的。用户可以通过遥控器上按键,语音输入、控制面板输入等输入用户指令,来控制显示设备200。In some embodiments, the control device 100 may be a remote control, and the communication between the remote control and the display device includes infrared protocol communication, Bluetooth protocol communication, and other short-distance communication methods, etc., and the display device 200 is controlled by wireless or other wired methods. Wherein, the wireless mode may be direct connection or non-direct connection, and may be routed or not routed. The user can control the display device 200 by inputting user commands through buttons on the remote controller, voice input, control panel input, and the like.
设备在一些实施例中,终端设备300可以包括移动终端、平板电脑、计算机、笔记本电脑,AR/VR设备等中的任意一种。Device In some embodiments, the terminal device 300 may include any one of a mobile terminal, a tablet computer, a computer, a notebook computer, an AR/VR device, and the like.
在一些实施例中,也可以使用终端设备300以控制显示设备200。例如,使用在智能设备上运行的应用程序控制显示设备200。该应用程序通过配置可以在与智能设备关联的屏幕上,在直观的用户界面(UI)中为用户提供各种控制。In some embodiments, the terminal device 300 can also be used to control the display device 200 . For example, the display device 200 is controlled using an application program running on the smart device. The app can be configured to provide users with various controls in an intuitive user interface (UI) on the screen associated with the smart device.
在一些实施例中,终端设备300和显示设备200能够进行数据通信。In some embodiments, the terminal device 300 and the display device 200 are capable of data communication.
在一些实施例中,显示设备200还可以采用除了控制设备100和终端设备300之外的方式进行控制,例如,可以通过显示设备200设备内部配置的获取语音指令的模块直接接收用户的语音指令控制,也可以通过显示设备200设备外部设置的语音控制设备来接收用户的语音指令控制。In some embodiments, the display device 200 can also be controlled in a way other than the control device 100 and the terminal device 300, for example, the display device 200 can directly receive the user's voice command control through the module for acquiring voice commands configured inside the display device 200. , the user's voice command control can also be received through the voice control device installed outside the display device 200.
图2为根据一些实施例中控制设备100的配置框图。如图2所示,控制设备100包括控制器110、通信接口130、用户输入/输出接口140、存储器、供电电源。控制设备100可接收用户的输入操作指令,且将操作指令转换为显示设备200可识别和响应的指令,起用用户与显示设备200之间交互中介作用。Fig. 2 is a configuration block diagram of the control device 100 according to some embodiments. As shown in FIG. 2 , the control device 100 includes a controller 110 , a communication interface 130 , a user input/output interface 140 , a memory, and a power supply. The control device 100 can receive the user's input operation instruction, and convert the operation instruction into an instruction that the display device 200 can recognize and respond to, and play an intermediary role between the user and the display device 200 .
在一些实施例中,通信接口130用于和外部通信,包含WIFI芯片,蓝牙模块,NFC或可替代模块中的至少一种。In some embodiments, the communication interface 130 is used for communicating with the outside, and includes at least one of a WIFI chip, a Bluetooth module, NFC or an alternative module.
在一些实施例中,用户输入/输出接口140包含麦克风,触摸板,传感器,按键或可替代模块中的至少一种。In some embodiments, the user input/output interface 140 includes at least one of a microphone, a touch pad, a sensor, a button or an alternative module.
图3为根据一些实施例的显示设备200的硬件配置框图。FIG. 3 is a block diagram of a hardware configuration of a display device 200 according to some embodiments.
在一些实施例中,显示设备200包括调谐解调器210、通信器220、检测器230、外部设备接口240、控制器250、显示器260、音频输出接口270、存储器、供电电源、用户接口中的至少一种。In some embodiments, the display device 200 includes a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface. at least one.
在一些实施例中控制器包括处理器,视频处理器,音频处理器,图形处理器,RAM,ROM,用于输入/输出的第一接口至第n接口。In some embodiments the controller includes a processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, a first interface to an nth interface for input/output.
设备在一些实施例中,通信器220是用于根据各种通信协议类型与外部设备或服务器进行通信的组件。例如:通信器可以包括Wifi模块,蓝牙模块,有线以太网模块等其他网络通信协议芯片或近场通信协议芯片,以及红外接收器中的至少一种。显示设备200可以通过通信器220与外部控制设备100或服务器400建立控制信号和数据信号的发送和接 收。Devices In some embodiments, the communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example, the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display device 200 may establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220 .
在一些实施例中,用户输入接口,可用于接收控制设备100(如:红外遥控器等)的控制信号。In some embodiments, the user input interface can be used to receive a control signal of the control device 100 (such as an infrared remote controller, etc.).
在一些实施例中,检测器230用于采集外部环境或与外部交互的信号。例如,检测器230包括光接收器,用于采集环境光线强度的传感器;或者,检测器230包括图像采集器,如摄像头,可以用于采集外部环境场景、用户的属性或用户交互手势,再或者,检测器230包括声音采集器,如麦克风等,用于接收外部声音。In some embodiments, the detector 230 is used to collect signals of the external environment or interaction with the outside. For example, the detector 230 includes a light receiver, which is a sensor for collecting ambient light intensity; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environmental scenes, user attributes or user interaction gestures, or , the detector 230 includes a sound collector, such as a microphone, for receiving external sound.
在一些实施例中,外部设备接口240可以包括但不限于如下:高清多媒资接口接口(HDMI)、模拟或数据高清分量输入接口(分量)、复合视频输入接口(CVBS)、USB输入接口(USB)、RGB端口等任一个或多个接口。In some embodiments, the external device interface 240 may include but not limited to the following: high-definition multimedia interface (HDMI), analog or data high-definition component input interface (component), composite video input interface (CVBS), USB input interface ( Any one or more interfaces such as USB), RGB port, etc.
在一些实施例中,控制器250和调谐解调器210可以位于不同的分体设备中,即调谐解调器210也可在控制器250所在的主体设备的外置设备中,如外置机顶盒等。In some embodiments, the controller 250 and the tuner-demodulator 210 may be located in different split devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box Wait.
在一些实施例中,控制设备100还包括显示器。In some embodiments, the control device 100 also includes a display.
参见图4,在一些实施例中,将系统分为四层,从上至下分别为应用程序(Applications)层(简称“应用层”),应用程序框架(Application Framework)层(简称“框架层”),安卓运行时(Android runtime)和系统库层(简称“系统运行库层”),以及内核层。Referring to Fig. 4, in some embodiments, the system is divided into four layers, from top to bottom are respectively the application (Applications) layer (abbreviated as "application layer"), application framework (Application Framework) layer (abbreviated as "framework layer") "), Android runtime (Android runtime) and system library layer (referred to as "system runtime layer"), and the kernel layer.
图5为本申请在一些实施例中示出的终端设备300的硬件配置框图。Fig. 5 is a block diagram of a hardware configuration of a terminal device 300 shown in some embodiments of the present application.
应该理解的是,图5所示终端设备300仅是一个范例,并且终端设备300可以具有比图5中所示的更多的或者更少的部件,可以组合两个或多个的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the terminal device 300 shown in FIG. 5 is only an example, and the terminal device 300 may have more or fewer components than those shown in FIG. 5, two or more components may be combined, or Different component configurations are possible. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
如图5所示,终端设备300包括:射频(radio frequency,RF)电路310、存储器320、显示单元130、摄像头340、传感器350、音频电路360、无线保真(Wireless Fidelity,Wi-Fi)模块370、诸如处理器380的控制器、蓝牙模块381、以及电源390等部件。As shown in Figure 5, the terminal device 300 includes: a radio frequency (radio frequency, RF) circuit 310, a memory 320, a display unit 130, a camera 340, a sensor 350, an audio circuit 360, and a wireless fidelity (Wireless Fidelity, Wi-Fi) module 370 , a controller such as a processor 380 , a Bluetooth module 381 , and a power supply 390 and other components.
图6是本申请根据一些实施例示出的终端设备300的软件结构框图。其中,分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。应用程序层可以包括一系列应用程序包。Fig. 6 is a block diagram showing a software structure of a terminal device 300 according to some embodiments of the present application. Among them, the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces. In some embodiments, the Android system is divided into four layers, which are respectively the application program layer, the application program framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer from top to bottom. The application layer can consist of a series of application packages.
如图6所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in FIG. 6, the application package may include application programs such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
本申请实施例中的终端设备300可以为手机、平板电脑、可穿戴设备、笔记本电脑以及电视等。上面的显示设备可以是终端设备的一种例子。The terminal device 300 in the embodiment of the present application may be a mobile phone, a tablet computer, a wearable device, a notebook computer, a TV, and the like. The above display device may be an example of a terminal device.
在本申请的实施例中,为了进行操控,控制设备需要与家电设备建立一定通信链接以进行信号交互,也就是说,控制设备要与家电设备进行通信配对。本申请实施例中,在用户实现操控设备的过程中,根据本申请实施例的方法可以包括:获取设备列表,以控制显示器显示所述设备列表;接收选中设备列表中的设备控件的用户操作命令;向多个设备广播携带有所述设备控件对应设备的设备标识的广播包,以使所述设备基于设备标识来发送蓝牙配对请求;响应于接收到来自所述设备的蓝牙配对请求,与所述设备 经由蓝牙进行配对。从而控制设备和设备可以自动完成蓝牙配对,使用户对控制设备和设备的配对过程无感知,提高用户的使用体验。In the embodiment of the present application, in order to perform manipulation, the control device needs to establish a certain communication link with the home appliance for signal interaction, that is, the control device needs to perform communication pairing with the home appliance. In the embodiment of the present application, in the process of the user controlling the device, the method according to the embodiment of the present application may include: obtaining a device list to control the display to display the device list; receiving a user operation command for selecting a device control in the device list ; Broadcast a broadcast packet carrying the device identifier of the device corresponding to the device control to multiple devices, so that the device sends a Bluetooth pairing request based on the device identifier; in response to receiving the Bluetooth pairing request from the device, communicate with the device The above devices are paired via Bluetooth. Therefore, the control device and the device can automatically complete the Bluetooth pairing, so that the user is not aware of the pairing process between the control device and the device, and the user experience is improved.
图7中示例性示出了根据一些实施例的用于控制控制设备和设备进行配对的方法的流程图。如图7所示,Fig. 7 exemplarily shows a flow chart of a method for controlling a control device to perform pairing with a device according to some embodiments. As shown in Figure 7,
在步骤S100,控制设备接收显示设备列表的指令,来判断控制设备当前是否联网。一些实施例中,所述显示设备列表的指令,可以通过控制设备开机生成。一些实施例中,所述控制设备中安装预设应用,通过打开预设应用,生成显示设备列表的指令。由于设备列表需要从服务器中下发,所以本申请实施例中,在获取设备列表之前,需要判断控制设备当前是否联网,所述联网是指控制设备接入网络,可以通过网络与服务器连接。In step S100, the control device receives an instruction to display a device list to determine whether the control device is currently connected to the Internet. In some embodiments, the instruction for displaying the device list may be generated by controlling the device to start up. In some embodiments, a preset application is installed in the control device, and an instruction to display the device list is generated by opening the preset application. Since the device list needs to be delivered from the server, in this embodiment of the application, before obtaining the device list, it is necessary to determine whether the control device is currently connected to the Internet.
如果为是,则在步骤S200,控制设备获取设备列表,并控制显示器显示设备列表。需要说明的是,用户在控制设备上可以登录用户账号,所述设备列表中包括利用用户账号绑定的所有设备,所述用户账号绑定的设备可以理解为待被控制设备操控的设备。If yes, then in step S200, the control device acquires the device list, and controls the display to display the device list. It should be noted that the user can log in a user account on the control device, and the device list includes all devices bound with the user account, and the devices bound with the user account can be understood as devices to be controlled by the control device.
一些实施例中,所述控制设备获取设备列表,并控制显示器显示设备列表的步骤包括:所述控制设备发送获取设备列表的请求到服务器,该请求中携带有用户账号,服务器利用用户账号查找到对应的设备列表,并下发所述设备列表到控制设备,所述控制设备接收服务器下发的设备列表,并控制显示器显示所述设备列表。In some embodiments, the step of the control device obtaining the device list and controlling the display to display the device list includes: the control device sends a request for obtaining the device list to the server, the request carries a user account, and the server uses the user account to find corresponding device list, and send the device list to the control device, and the control device receives the device list sent by the server, and controls the display to display the device list.
一些实施例中,所述设备列表中包括设备的设备标识,该设备标识与设备是一一对应的关系,每个设备存在唯一的设备标识。示例性的,所述设备标识可以由数字组成,所述设备标识还可以通过字母组成,另外,所述设备标识还可以通过数字和字母共同组成,本申请实施例中,并不限制所述设备标识的具体形式。In some embodiments, the device list includes device identifiers of devices, and the device identifiers are in a one-to-one correspondence with devices, and each device has a unique device identifier. Exemplarily, the device identifier can be composed of numbers, and the device identifier can also be composed of letters. In addition, the device identifier can also be composed of numbers and letters. In this embodiment of the application, the device is not limited to The specific form of identification.
否则(即所述控制装置控制设备未联网),在S300,控制显示器显示未联网提示。用户可以根据该提示,将控制设备联网。当控制设备联网时,获取设备列表,并控制显示器显示设备列表。本申请实施例中,所述未联网提示可以通过文字表示,也可以通过图片表示,本申请中并不限制所述未联网提示的形式。一些实施例中,所述控制设备上设置有提示灯,所述未联网提示也可以通过提示灯完成,示例性的,可以控制提示灯颜色为红色,还可以通过控制提示灯闪烁完成。Otherwise (that is, the control device is not connected to the network), at S300, the control display displays a notification that the device is not connected to the network. The user can connect the control device to the network according to the prompt. When the control device is connected to the network, obtain the device list, and control the display to display the device list. In the embodiment of the present application, the notification of not being connected to the Internet can be represented by text or by a picture, and the form of the notification of not being connected to the Internet is not limited in this application. In some embodiments, the control device is provided with a reminder light, and the notification of not being connected to the Internet can also be completed through the reminder light. For example, the color of the reminder light can be controlled to be red, and it can also be completed by controlling the reminder light to blink.
下面通过一个示例,说明如何将用户账号和设备绑定。The following uses an example to illustrate how to bind a user account to a device.
图8中示出移动终端的用户界面。如图8所示,在该用户界面上设置有添加设备控件501,用户点击添加设备控件,页面跳转到如图9所示的用户界面。The user interface of the mobile terminal is shown in FIG. 8 . As shown in FIG. 8 , an add device control 501 is set on the user interface, and the user clicks the add device control, and the page jumps to the user interface shown in FIG. 9 .
一些实施例中,当显示器为触摸屏时,用户可以触碰显示界面上与添加设备控件对应的位置,实现点击添加设备控件的操作。另一些实施例中,所述控制设备上设置有操作按键,示例性的,所述操作按键包括上键、下键、左键、右键和确认键。用户可以通过按压操作按键,将焦点移动到添加设备控件上,并按压控制设备上的确认键,完成点击添加设备控件的操作。In some embodiments, when the display is a touch screen, the user can touch the position on the display interface corresponding to adding the device control to realize the operation of clicking to add the device control. In some other embodiments, the control device is provided with operation keys, for example, the operation keys include an up key, a down key, a left key, a right key and a confirmation key. The user can move the focus to the add device control by pressing the operation button, and press the confirmation key on the control device to complete the operation of clicking the add device control.
在图9所示的用户界面中显示有设备分类,例如,空调、冰冷、洗衣机、智能门锁等分类。点击需要添加设备对应的分类。当用户选择空调分类时,用户界面上显示有空调子分类,包括不同品牌的空调以及不同用途的空调。一些实施例中,当点击冰箱子分类,用户界面跳转,如图10所示。在图10所示的用户界面中显示有冰箱子分类下的所有冰箱,同时,显示有冰箱对应的mac地址,示例性的,智能冰箱1的mac地址为228c7ffb,智能 冰箱2的mac地址为006b2a7b。用户可以根据自身需要,点击对应的冰箱控件,并按压用户界面中设置的下一步控件,发送绑定指令。当对应的冰箱接收该绑定指令,并在绑定成功后,将冰箱对应的设备标识存储在设备列表中。In the user interface shown in FIG. 9 , device categories are displayed, for example, categories such as air conditioners, refrigerators, washing machines, and smart door locks. Click the category corresponding to the device to be added. When the user selects an air conditioner category, the user interface displays air conditioner subcategories, including air conditioners of different brands and air conditioners of different uses. In some embodiments, when the refrigerator subcategory is clicked, the user interface jumps, as shown in FIG. 10 . In the user interface shown in Figure 10, all refrigerators under the refrigerator sub-category are displayed, and at the same time, the mac addresses corresponding to the refrigerators are displayed. For example, the mac address of smart refrigerator 1 is 228c7ffb, and the mac address of smart refrigerator 2 is 006b2a7b . Users can click the corresponding refrigerator control according to their own needs, and press the next step control set in the user interface to send the binding instruction. When the corresponding refrigerator receives the binding instruction, and after the binding is successful, the device identifier corresponding to the refrigerator is stored in the device list.
本申请实施例中,生成设备列表也采用其他方式,在此不做限制,示例性的,所述设备列表可以为预先存储的内容,将预先设定的可以被控制设备操控的设备的设备标识存储在设备列表中。In the embodiment of the present application, other methods are also used to generate the device list, which is not limited here. For example, the device list can be pre-stored content, and the device identification of the device that can be controlled by the control device is preset. stored in the device list.
接下来,在步骤S400,控制设备可以响应于接收到选中设备列表中的设备控件的用户操作命令,广播携带有设备控件对应设备的设备标识的广播包。需要说明的是,本申请实施例中用户可以直接选择希望操控的设备,并选中该设备的设备控件,在实现利用控制设备操控设备的过程中,实现控制设备和设备的配对,无需额外操作,提高用户的使用体验。Next, in step S400, the control device may, in response to receiving a user operation command to select a device control in the device list, broadcast a broadcast packet carrying the device identifier of the device corresponding to the device control. It should be noted that in the embodiment of the present application, the user can directly select the device to be controlled, and select the device control of the device. In the process of using the control device to control the device, the control device and the device can be paired without additional operations. Improve user experience.
一些实施例中,所述控制设备包括蓝牙服务,利用蓝牙服务通过蓝牙广播(BLE广播)的方式广播携带有设备标识的广播包。In some embodiments, the control device includes a bluetooth service, and uses the bluetooth service to broadcast a broadcast packet carrying a device identifier through a bluetooth broadcast (BLE broadcast).
一些实施例中,在用户界面上显示的设备列表中包括设备控件,该设备控件可以被配置焦点。一些实施例中,显示器为触摸屏,识别到用户在显示器的触碰位置位于设备控件在用户界面上的对应位置上,可以完成选中设备列表中的设备控件的用户操作。一些实施例中,通过控制设备上的操作按键完成选中设备控件的用户操作。In some embodiments, the list of devices displayed on the user interface includes a device control that can be configured with focus. In some embodiments, the display is a touch screen, and it is recognized that the user's touch position on the display is located at the corresponding position of the device control on the user interface, and the user operation of selecting the device control in the device list can be completed. In some embodiments, the user operation of the selected device control is completed through an operation button on the control device.
在步骤S500,接收到广播包的设备可以解析该广播包以确定是否发送蓝牙配对请求到控制设备。一些实施例中,任何系统为安卓系统的设备均可以接收到广播包。In step S500, the device that has received the broadcast packet may parse the broadcast packet to determine whether to send a Bluetooth pairing request to the control device. In some embodiments, any device whose system is the Android system can receive the broadcast packet.
一些实施例中,所述设备包括蓝牙服务,通过蓝牙服务解析所述广播包以确定是否发送蓝牙配对请求到控制设备。In some embodiments, the device includes a Bluetooth service, and the Bluetooth service analyzes the broadcast packet to determine whether to send a Bluetooth pairing request to the control device.
在一些实施例中,可以基于设备标识来确定是否发送蓝牙配对请求。In some embodiments, the determination of whether to send a Bluetooth pairing request may be based on device identification.
一些实施例中,所述设备解析广播包用于确定是否发送蓝牙配对请求到控制设备的步骤包括:In some embodiments, the step of the device parsing the broadcast packet for determining whether to send a Bluetooth pairing request to the control device includes:
解析所述广播包,得到所述广播包中的设备标识。本申请实施例中所述广播包中包括用户选中设备列表中的设备控件对应设备的设备标识。Parsing the broadcast packet to obtain the device identifier in the broadcast packet. The broadcast packet in the embodiment of the present application includes the device identifier of the device corresponding to the device control in the device list selected by the user.
判断所述广播包中的设备标识与接收到广播包的设备的设备标识是否相同。由于所述广播包被广播到多个设备,所以每个设备均需要判断广播包中的设备标识与接收到广播包的设备的设备标识是否相同,确定是否需要处理该广播包。Judging whether the device identifier in the broadcast packet is the same as the device identifier of the device that received the broadcast packet. Since the broadcast packet is broadcast to multiple devices, each device needs to determine whether the device identifier in the broadcast packet is the same as the device identifier of the device that received the broadcast packet, and determine whether to process the broadcast packet.
如果相同,则发送所述蓝牙配对请求到控制设备。本申请实施例中,如果相同,则设备对该广播包进行处理,发送蓝牙配对请求到控制设备。If they are the same, then send the Bluetooth pairing request to the control device. In the embodiment of the present application, if they are the same, the device processes the broadcast packet and sends a Bluetooth pairing request to the control device.
本申请实施例中,所述设备包括蓝牙服务,所述蓝牙服务被配置为发送蓝牙配对请求到控制设备。In this embodiment of the present application, the device includes a Bluetooth service, and the Bluetooth service is configured to send a Bluetooth pairing request to the control device.
如果不相同,则不发送所述蓝牙配对请求到控制设备。本申请实施例中,如果广播包中的设备标识与接收到广播包的设备的设备标识不同,则设备不对该广播包的内容进行处理,不发送蓝牙配对请求到控制设备。If not, the Bluetooth pairing request is not sent to the control device. In the embodiment of the present application, if the device identifier in the broadcast packet is different from the device identifier of the device that received the broadcast packet, the device does not process the content of the broadcast packet, and does not send a Bluetooth pairing request to the control device.
本申请实施例中,虽然多个设备均能接收到广播包,但是实际上该广播包只为了发送到广播包携带的设备标识的设备,当广播包中的设备标识与接收到该广播包的设备的设备标识相同时,设备发送蓝牙配对请求到控制设备。In the embodiment of this application, although multiple devices can receive the broadcast packet, in fact the broadcast packet is only intended to be sent to the device with the device ID carried in the broadcast packet. When the device identifiers of the devices are the same, the devices send a Bluetooth pairing request to the control device.
一些实施例中,所述设备发送蓝牙配对请求到控制设备。最后,在步骤S600,控制设 备接收该蓝牙配对请求,并与该设备执行配对。所述方法还包括:如果未配对成功,重复执行发送携带有设备控件对应设备的设备标识的广播包到设备列表中的所有设备的步骤,直至重复执行次数达到预设次数。In some embodiments, the device sends a Bluetooth pairing request to the controlling device. Finally, in step S600, the control device receives the Bluetooth pairing request, and performs pairing with the device. The method further includes: if the pairing is not successful, repeating the step of sending the broadcast packet carrying the device identification of the device corresponding to the device control to all devices in the device list until the number of repeated executions reaches a preset number of times.
本申请实施例中,为了避免由于特殊情况导致控制设备和设备的配对失败,影响用户通过控制设备操控设备。当未配对成功时,重复执行发送广播包的操作,直至执行次数达到预设次数,这样可以提高本申请实施例的容错率,避免因为偶发事件,影响用户利用控制设备操控设备,示例性的,所述预设次数可以为三次。In the embodiment of the present application, in order to avoid the pairing failure between the control device and the device due to special circumstances, the user is affected to control the device through the control device. When the pairing is not successful, repeat the operation of sending broadcast packets until the number of executions reaches the preset number of times, which can improve the error tolerance rate of the embodiment of the present application and avoid affecting the user's use of the control device to control the device due to accidental events. For example, The preset number of times may be three times.
一些实施例中,所述方法还包括:如果重复执行广播携带有设备控件对应设备的设备标识的广播包的步骤后,控制显示器显示配对异常提示。In some embodiments, the method further includes: after repeating the step of broadcasting the broadcast packet carrying the device identifier of the device corresponding to the device control, controlling the display to display a pairing exception prompt.
本申请实施例中,所述配对异常提示可以通过文字表示,也可以通过图片表示,本申请中并不限制所述配对异常提示。一些实施例中,所述控制设备上设置有提示灯,所述配对异常提示也可以通过提示灯完成,示例性的,可以控制提示灯颜色为红色,还可以通过控制提示灯闪烁完成。In the embodiment of the present application, the abnormal pairing prompt can be expressed by text or by a picture, and the abnormal pairing prompt is not limited in this application. In some embodiments, the control device is provided with a reminder light, and the pairing abnormality reminder can also be completed through the reminder light. For example, the color of the reminder light can be controlled to be red, and it can also be completed by controlling the reminder light to blink.
一些实施例中,所述方法还包括:如果配对成功,则控制设备与设备建立连接,用于操控设备。本申请实施例中,当控制设备和设备蓝牙配对成功,此时控制设备可以操控设备,示例性的,当控制设备和冰箱蓝牙配对成功,用户可以通过控制设备调节冰箱内部温度等。可以理解的是,本申请实施例在实现控制设备操作设备的过程中,自动完成了控制设备和设备的蓝牙配对过程,用户对该蓝牙配对过程无感知,提高了用户的使用体验。In some embodiments, the method further includes: if the pairing is successful, establishing a connection between the control device and the device for controlling the device. In this embodiment of the application, when the Bluetooth pairing between the control device and the device is successful, the control device can control the device. For example, when the Bluetooth pairing between the control device and the refrigerator is successful, the user can adjust the internal temperature of the refrigerator through the control device. It can be understood that the embodiment of the present application automatically completes the Bluetooth pairing process between the control device and the device during the process of implementing the control device to operate the device, and the user is not aware of the Bluetooth pairing process, which improves the user experience.
在一些实施例中,还提供了用于实现上述控制方法的控制设备,控制设备可以包括:显示器,用于显示用户界面;用户接口,用于接收输入信号;控制器,分别与所述显示器和所述用户接口连接,其被配置为:获取设备列表,以控制显示器显示所述设备列表;经由所述用户接口接收选中设备列表中的设备控件的用户操作命令;向多个设备广播携带有所述设备控件对应设备的设备标识的广播包,以使所述设备基于设备标识来发送蓝牙配对请求;以及响应于接收到来自所述设备的蓝牙配对请求,与所述设备经由蓝牙进行配对。In some embodiments, a control device for implementing the above control method is also provided, and the control device may include: a display for displaying a user interface; a user interface for receiving an input signal; a controller for communicating with the display and the The user interface is connected, and it is configured to: obtain a device list to control the display to display the device list; receive a user operation command for selecting a device control in the device list via the user interface; broadcast to multiple devices carrying all The device controls a broadcast packet corresponding to the device identification of the device, so that the device sends a Bluetooth pairing request based on the device identification; and in response to receiving the Bluetooth pairing request from the device, performs pairing with the device via Bluetooth.
上述实施例中,一种控制设备和设备的配对方法及控制设备,本申请实施例在用户实现操控设备的过程中,控制设备和设备自动完成蓝牙配对,使用户对控制设备和设备的配对过程无感知,提高用户的使用体验。In the above-mentioned embodiments, a method for pairing a control device with a device and a control device, in the embodiment of the present application, in the process of the user controlling the device, the control device and the device automatically complete the Bluetooth pairing, so that the user can pair the control device with the device. No perception, improve user experience.
本申请实施例的设备还可以应用于语音识别。为清楚说明本申请的实施例,下面结合图11对本申请实施例提供的一种语音识别网络架构进行描述。The device in the embodiment of the present application may also be applied to speech recognition. In order to clearly illustrate the embodiment of the present application, a speech recognition network architecture provided by the embodiment of the present application is described below with reference to FIG. 11 .
图11为本申请实施例提供的一种语音识别网络架构示意图。参见图11,智能设备用于接收输入的信息以及输出对该信息的处理结果。语音识别服务设备为部署有语音识别服务的电子设备,语义服务设备为部署有语义服务的电子设备,业务服务设备为部署有业务服务的电子设备。这里的电子设备可包括服务器、计算机等,这里的语音识别服务、语义服务(也可称为语义引擎)和业务服务为可部署在电子设备上的web服务,其中,语音识别服务用于将音频识别为文本,语义服务用于对文本进行语义解析,业务服务用于提供具体的服务如墨迹天气的天气查询服务、QQ音乐的音乐查询服务等。在一个实施例中,图23所示架构中可存在部署有不同业务服务的多个实体服务设备,也可以一个或多个实体服务设备中集合一项或多项功能服务。FIG. 11 is a schematic diagram of a speech recognition network architecture provided by an embodiment of the present application. Referring to FIG. 11 , the smart device is used to receive input information and output processing results of the information. The speech recognition service device is an electronic device deployed with a speech recognition service, the semantic service device is an electronic device deployed with a semantic service, and the business service device is an electronic device deployed with a business service. The electronic device here may include a server, a computer, etc., and the speech recognition service, semantic service (also called a semantic engine) and business service here are web services that can be deployed on the electronic device, wherein the speech recognition service is used for audio Recognized as text, the semantic service is used for semantic analysis of the text, and the business service is used to provide specific services such as the weather query service of Moji Weather, the music query service of QQ Music, etc. In one embodiment, there may be multiple entity service devices deployed with different business services in the architecture shown in FIG. 23 , or one or more functional services may be integrated in one or more entity service devices.
一些实施例中,下面对基于图11所示架构处理输入智能设备的信息的过程进行举例描述,以输入智能设备的信息为通过语音输入的查询语句为例,上述过程可包括如下三个过程:In some embodiments, the process of processing the information input to the smart device based on the architecture shown in FIG. 11 is described below as an example. Taking the information input to the smart device as a query sentence input by voice as an example, the above process may include the following three processes :
[语音识别][Speech Recognition]
智能设备可在接收到通过语音输入的查询语句后,将该查询语句的音频上传至语音识别服务设备,以由语音识别服务设备通过语音识别服务将该音频识别为文本后返回至智能设备。在一个实施例中,将查询语句的音频上传至语音识别服务设备前,智能设备可对查询语句的音频进行去噪处理,这里的去噪处理可包括去除回声和环境噪声等步骤。After receiving the query sentence input by voice, the smart device can upload the audio of the query sentence to the voice recognition service device, so that the voice recognition service device can recognize the audio as text through the voice recognition service and return it to the smart device. In one embodiment, before uploading the audio of the query sentence to the speech recognition service device, the smart device may perform denoising processing on the audio of the query sentence, where the denoising processing may include steps such as removing echo and environmental noise.
[语义理解][semantic understanding]
智能设备将语音识别服务识别出的查询语句的文本上传至语义服务设备,以由语义服务设备通过语义服务对该文本进行语义解析,得到文本的业务领域、意图等。The smart device uploads the text of the query sentence recognized by the speech recognition service to the semantic service device, so that the semantic service device can perform semantic analysis on the text through the semantic service to obtain the business field and intention of the text.
[语义响应][semantic response]
语义服务设备根据对查询语句的文本的语义解析结果,向相应的业务服务设备下发查询指令以获取业务服务给出的查询结果。智能设备可从语义服务设备获取该查询结果并输出。作为一个实施例,语义服务设备还可将对查询语句的语义解析结果发送至智能设备,以由智能设备输出该语义解析结果中的反馈语句。According to the semantic analysis result of the text of the query statement, the semantic service device sends a query instruction to the corresponding business service device to obtain the query result given by the business service. The smart device can obtain and output the query result from the semantic service device. As an embodiment, the semantic service device can also send the semantic analysis result of the query sentence to the smart device, so that the smart device can output the feedback sentence in the semantic analysis result.
需要说明的是,图11所示架构只是一种示例,并非对本申请保护范围的限定。本申请实施例中,也可采用其他架构来实现类似功能,例如:三个过程全部或部分可以由智能终端来完成,在此不做赘述。It should be noted that the architecture shown in FIG. 11 is only an example, and does not limit the protection scope of the present application. In the embodiment of the present application, other architectures may also be used to implement similar functions. For example, all or part of the three processes may be completed by a smart terminal, which will not be described in detail here.
在一些实施例中,图11所示的智能设备可为显示设备,如智能电视,语音识别服务设备的功能可由显示设备上设置的声音采集器和控制器配合实现,语义服务设备和业务服务设备的功能可由显示设备的控制器实现,或者由显示设备的服务器来实现。In some embodiments, the smart device shown in Figure 11 can be a display device, such as a smart TV, and the function of the speech recognition service device can be realized by the cooperation of the sound collector and the controller set on the display device, and the semantic service device and business service device The functions of can be realized by the controller of the display device, or by the server of the display device.
随着语音交互技术的发展,越来越多的家用终端设备中都具备语音交互功能。利用语音交互功能,用户可语音控制这些终端设备执行相应的操作,例如启动、停止运转等。With the development of voice interaction technology, more and more home terminal devices have a voice interaction function. Using the voice interaction function, the user can voice control these terminal devices to perform corresponding operations, such as starting and stopping.
目前针对控制设备的语音交互,通常是需要用户按压按键,或者需要用户输入唤醒词,触发控制设备开启语音交互功能。为了提升用户体验,除了这两种方式,还定义了一种抬起唤醒的方式。例如,用户从桌面上拿起遥控器,就可以触发遥控器的语音交互功能。At present, the voice interaction for the control device usually requires the user to press a button, or the user needs to input a wake-up word to trigger the control device to start the voice interaction function. In order to improve the user experience, in addition to these two methods, a method of lifting to wake is also defined. For example, if the user picks up the remote control from the desktop, the voice interaction function of the remote control can be triggered.
然而,在抬起唤醒的方式中,如果用户仅仅是拿起控制设备,而没有语音交互意图。此时如果用户同时在说话,则易产生误收音的情况,导致用户使用体验较差。However, in the way of raising to wake up, if the user just picks up the control device without voice interaction intention. At this time, if the user is talking at the same time, it is easy to generate a situation of false reception, resulting in poor user experience.
图12为控制设备的收音系统框架示意图。为了解决上述问题,如图12所示,根据本申请实施例的的控制设备可以包括收音系统,该系统包括至少用户层、传感层以及系统层。用户层为用户进行输入操作以输入信号的层级。传感层设置有各类传感器,用于感应用户的操作,将用户的操作转换为相关信号的层级。系统层为接收信号,并根据接收的信号对其他部件执行相关操作的层级。系统层中主要为主芯片,即控制器。系统层中还可以包括存储模块,电源等部件。存储模块可以存储预设参数等信息。Fig. 12 is a schematic diagram of the framework of the radio system of the control device. In order to solve the above problems, as shown in FIG. 12 , the control device according to the embodiment of the present application may include a sound collection system, and the system includes at least a user layer, a sensing layer and a system layer. The user layer is the layer where the user performs an input operation to input a signal. The sensing layer is provided with various sensors for sensing the user's operation and converting the user's operation into a level of related signals. The system layer is the layer that receives signals and performs related operations on other components based on the received signals. The main chip in the system layer is the controller. The system layer may also include storage modules, power supplies and other components. The storage module can store preset parameters and other information.
需要说明的是,本申请实施例中的主芯片可以设置在控制设备中,也可以设置在其他被控制设备控制的设备中。例如,控制设备为遥控器时,主芯片可以设置在显示设备中,也可以设置在遥控器中。本申请实施例以主芯片设置在控制设备中进行方案的阐述。另外需要说明的是,本申请提供的控制设备可以为手机、可穿戴设备、AR(Augmented Reality, 增强现实)/VR(Virtual Reality,虚拟现实)设备、平板电脑、笔记本电脑、UMPC(Ultra-mobile Personal Computer,超级移动个人计算机)、上网本、PDA(Personal Digital Assistant,个人数字助理)等任意终端,本申请的实施例对此不作任何限制。It should be noted that the main chip in the embodiment of the present application may be set in the control device, or in other devices controlled by the control device. For example, when the control device is a remote control, the main chip can be set in the display device or in the remote control. In the embodiment of the present application, the main chip is set in the control device to illustrate the solution. In addition, it should be noted that the control device provided by this application can be mobile phone, wearable device, AR (Augmented Reality, augmented reality)/VR (Virtual Reality, virtual reality) device, tablet computer, notebook computer, UMPC (Ultra-mobile Personal Computer, super mobile personal computer), netbook, PDA (Personal Digital Assistant, personal digital assistant) and other arbitrary terminals, the embodiments of the present application do not make any restrictions on this.
在一些实施例中,在用户层中,用户输入的信息可以包括:拿起控制设备的操作,输入语音。In some embodiments, in the user layer, the information input by the user may include: picking up the operation of the control device, and inputting voice.
传感层可以包括声音采集器和抬屏传感器。声音采集器用于采集用户输入的语音信号,抬屏传感器用于检测是否有拿起控制设备的操作。声音采集器可以为麦克风,抬屏传感器可以为加速度传感器。The sensing layer may include a sound collector and a screen lift sensor. The sound collector is used to collect the voice signal input by the user, and the lifting screen sensor is used to detect whether there is an operation of picking up the control device. The sound collector may be a microphone, and the screen lift sensor may be an acceleration sensor.
加速度传感器是一种能够测量加速度的传感器。通常由质量块、阻尼器、弹性元件、敏感元件和适调电路等部分组成。传感器在加速过程中,通过对质量块所受惯性力的测量,利用牛顿第二定律获得加速度值。根据传感器敏感元件的不同,常见的加速度传感器包括电容式、电感式等。本申请实施例采用的加速度传感器不作限制,例如可以采用三轴加速度传感器。An accelerometer is a sensor capable of measuring acceleration. It usually consists of mass block, damper, elastic element, sensitive element and adjustment circuit. During the acceleration process, the sensor uses Newton's second law to obtain the acceleration value by measuring the inertial force on the mass block. According to different sensor sensitive elements, common acceleration sensors include capacitive, inductive and so on. The acceleration sensor used in this embodiment of the present application is not limited, for example, a three-axis acceleration sensor may be used.
如果控制设备被用户拿起,则能够通过加速度传感器检测到加速度变化。加速度传感器根据加速度变化生成抬屏信号,并将该抬屏信号发送至主芯片。主芯片在接收到抬屏信号后,控制声音采集器启动。声音采集器启动后,开始采集用户输入的语音信号。If the control device is picked up by the user, the acceleration change can be detected by the acceleration sensor. The acceleration sensor generates a screen-up signal according to the acceleration change, and sends the screen-up signal to the main chip. After the main chip receives the screen-up signal, it controls the start of the sound collector. After the sound collector is started, it starts to collect the voice signal input by the user.
在一些实施例中,控制设备还可以包括显示器。主芯片在接收到加速度传感器发送的抬屏信号后,控制显示器点亮屏幕。点亮屏幕的用户界面上可以显示提示语,例如“是否进行语音交互”。In some embodiments, the control device may also include a display. After the main chip receives the screen-up signal sent by the acceleration sensor, it controls the display to light up the screen. Prompts, such as "whether to perform voice interaction", can be displayed on the user interface that lights up the screen.
声音采集器采集用户输入的语音信号后,将语音信号发送至主芯片。主芯片根据该语音信号计算用户与控制设备的声源角度。如果用户与控制设备的声源角度在预设声源角度范围之内,则表示用户意图进行语音交互,则对采集的语音信号进行语音识别处理。需要说明的是,语音识别处理过程属于现有技术,本申请不进行详细的阐述。在进行语音识别处理后,再根据识别结果进行意图判断和意图执行的过程也属于现有技术,本申请不进行详细的阐述。After the sound collector collects the voice signal input by the user, it sends the voice signal to the main chip. The main chip calculates the sound source angle between the user and the control device according to the voice signal. If the sound source angle between the user and the control device is within the preset sound source angle range, it means that the user intends to perform voice interaction, and voice recognition processing is performed on the collected voice signal. It should be noted that the speech recognition processing process belongs to the prior art, and this application does not describe it in detail. After the speech recognition processing, the process of judging the intention and executing the intention according to the recognition result also belongs to the prior art, and the present application will not describe it in detail.
如果用户与控制设备的声源角度不在预设声源角度范围之内,则表示用户没有意图进行语音交互,则不对采集的语音信号进行语音识别处理。If the sound source angle between the user and the control device is not within the preset sound source angle range, it means that the user does not intend to perform voice interaction, and no voice recognition processing is performed on the collected voice signal.
在一些实施例中,声音采集器可以为麦克风阵列,麦克风阵列中包括至少两个麦克风。根据语音信号计算用户与控制设备之间的声源角度,具体为:In some embodiments, the sound collector may be a microphone array, and the microphone array includes at least two microphones. Calculate the sound source angle between the user and the control device according to the voice signal, specifically:
图13为声源角度计算方法示意图。在图13中,远场入射信号为用户输入的语音信号,波阵面是指声波传播时,从声源向传播方向形成一个球面。从远距离看,波阵面可以看作为平面,也方便计算。图13中示出p个麦克风1、2…p-2、p-1、p。声源发出的语音信号到达各个麦克风的时间差的计算公式为:Fig. 13 is a schematic diagram of a method for calculating a sound source angle. In FIG. 13 , the far-field incident signal is the voice signal input by the user, and the wave front refers to a spherical surface formed from the sound source to the propagation direction when the sound wave propagates. From a long distance, the wave front can be regarded as a plane, which is also convenient for calculation. In Fig. 13 p microphones 1, 2...p-2, p-1, p are shown. The formula for calculating the time difference between the arrival of the voice signal from the sound source at each microphone is:
Figure PCTCN2022106080-appb-000001
Figure PCTCN2022106080-appb-000001
其中,p是麦克风个数,d是相邻两颗麦克风之间的距离,为用户与控制设备之间的声源角度。如图26所示,声源角度具体可以为用户与控制设备的中轴线之间的角度。根据上述公式可以构建矩阵:Wherein, p is the number of microphones, d is the distance between two adjacent microphones, and is the sound source angle between the user and the control device. As shown in FIG. 26 , the sound source angle may specifically be the angle between the user and the central axis of the control device. The matrix can be constructed according to the above formula:
Figure PCTCN2022106080-appb-000002
Figure PCTCN2022106080-appb-000002
其中,x1…xp为麦克风的X坐标值,y1…yp为麦克风的Y坐标值…为声源发出的语音信号到达相邻两颗麦克风的时间差。根据该矩阵,可以得到p个声源角度值。最后,可以利用最小二乘法计算得到最终的声源角度值。具体的计算过程为现有技术,本申请不作详细的阐述。除了上述时间到达差的声源定位方法,本申请实施例还可以采取其他声源定位方法。例如基于高分辨率谱估计等空间中能量谱估计方法。其基本原理是利用空间谱扫描的方式,获得每个角度上对应的接收到的能量大小。进一步将接收到的最大能量的角度,确定为声源到达的角度。Among them, x1...xp is the X coordinate value of the microphone, y1...yp is the Y coordinate value of the microphone ... is the time difference between the arrival of the voice signal from the sound source to two adjacent microphones. According to the matrix, p sound source angle values can be obtained. Finally, the final sound source angle value can be calculated by using the least square method. The specific calculation process belongs to the prior art, and the present application does not elaborate on it in detail. In addition to the above-mentioned sound source localization method based on time difference of arrival, other sound source localization methods may also be adopted in this embodiment of the present application. For example, energy spectrum estimation methods in space based on high-resolution spectrum estimation. The basic principle is to use spatial spectrum scanning to obtain the corresponding received energy at each angle. Further, the angle of the maximum received energy is determined as the angle of arrival of the sound source.
本申请实施例中的预设声源角度范围可以由用户根据经验进行设定。例如,将预设声源角度设定为90°±15°,则如果计算得到的声源角度在90°±15°范围之内,可以确定用户有意图进行语音交互。此时可能是用户拿起控制设备,将控制设备的麦克风放置在用户嘴部正前方的左右偏移不超过15°的位置范围内。如果计算得到的声源角度不在90°±15°范围之内,可以确定用户没有意图进行语音交互。此时可能是用户只是拿起控制设备,但是没有将控制设备的麦克风放置在用户嘴部的正前方得到左右偏移不超过15°的位置范围内。The preset sound source angle range in this embodiment of the present application may be set by a user based on experience. For example, if the preset sound source angle is set to 90°±15°, if the calculated sound source angle is within the range of 90°±15°, it can be determined that the user intends to perform voice interaction. At this point, the user may pick up the control device, and place the microphone of the control device within a range of positions that are within 15° of left-right deviation directly in front of the user's mouth. If the calculated sound source angle is not within the range of 90°±15°, it can be determined that the user does not intend to perform voice interaction. At this time, it may be that the user just picks up the control device, but does not place the microphone of the control device directly in front of the user's mouth within a range of positions where the left and right deviation does not exceed 15°.
例如,如图14所示,如果用户在B位置上,则用户在控制设备的正前方,在B位置上声源角度为90°。如果用户在A位置上,用户与控制设备中轴线之间的夹角为10°,则声源角度为90°±10°,可以确定用户意图进行语音交互。如果用户在C位置上,用户与控制设备中轴线之间的夹角为50°,则声源角度为90°±50°,该角度值不在预设声源角度范围内。可以确定用户没有意图进行语音交互。For example, as shown in FIG. 14 , if the user is at position B, the user is directly in front of the control device, and the sound source angle at position B is 90°. If the user is at position A, and the angle between the user and the central axis of the control device is 10°, the sound source angle is 90°±10°, and it can be determined that the user intends to perform voice interaction. If the user is at position C, and the angle between the user and the central axis of the control device is 50°, the sound source angle is 90°±50°, which is not within the preset sound source angle range. It may be determined that the user does not intend to perform voice interaction.
在一些实施例中,如果确定声源角度在预设声源角度范围之内时,则进一步判断语音活动检测结果是否为结束。如果语音活动检测结果为未结束时,则表示用户还在继续输入语音信号。声音采集器接续采集用户输入的语音信号。主芯片最后根据完整的语音信号进行语音识别处理。如果语音活动检测结果为结束,则表示用户没有继续输入语音信号。主芯片根据当前采集的语音信号进行语音识别处理。In some embodiments, if it is determined that the sound source angle is within the preset sound source angle range, it is further determined whether the result of the voice activity detection is end. If the voice activity detection result is incomplete, it means that the user is still inputting voice signals. The sound collector continuously collects the voice signal input by the user. The main chip finally performs speech recognition processing according to the complete speech signal. If the result of the voice activity detection is end, it means that the user does not continue to input the voice signal. The main chip performs speech recognition processing according to the currently collected speech signal.
示例性的,用户拿起遥控器后,输入语音信号“打开电视”。遥控器的主芯片判断声源角度在预设声源角度范围之内,即确定用户有语音交互意图。此时用户继续输入语音信号“跳到中央一套”,则此时语音活动检测结果为未结束。声音采集器继续采集用户输入的语音信号,得到完整的语音信号“打开电视,跳到中央一套”。最后对完成的语音信号“打开电视,跳到中央一套”进行语音识别处理。如果在确定用户有语音交互意图之后,用户没有继续输入语音信信号,则此时语音活动检测结果为结束。最后根据当前语音信号“打开电视”进行语音识别处理。Exemplarily, after the user picks up the remote controller, the user inputs a voice signal "turn on the TV". The main chip of the remote control determines that the sound source angle is within the preset sound source angle range, that is, it is determined that the user has a voice interaction intention. At this time, the user continues to input the voice signal "jump to the central set", and the result of the voice activity detection at this time is not completed. The sound collector continues to collect the voice signal input by the user, and obtains the complete voice signal "turn on the TV, jump to the central set". Finally, perform voice recognition processing on the completed voice signal "turn on the TV, jump to the central set". If the user does not continue to input the voice signal after it is determined that the user has a voice interaction intention, the result of the voice activity detection at this time is ended. Finally, the voice recognition process is performed according to the current voice signal "turn on the TV".
在一些实施例中,如果声源角度不在预设声源角度范围之内,不论语音活动检测结果为未结束还是结束,都停止采集用户输入的语音信号。In some embodiments, if the sound source angle is not within the preset sound source angle range, regardless of whether the voice activity detection result is not finished or finished, the collection of the voice signal input by the user is stopped.
在一些实施例中,如果声源角度在预设声源角度范围之内,并且控制设备具有显示器,则最后将对语音信号执行语音识别处理后的结果显示在显示器上。In some embodiments, if the sound source angle is within the preset sound source angle range, and the control device has a display, the result of performing speech recognition processing on the speech signal is finally displayed on the display.
在一些实施例中,如果声源角度不在预设声源角度范围之内,则在确定不在预设声源 角度范围之内之后,控制显示器的屏幕熄灭。In some embodiments, if the sound source angle is not within the preset sound source angle range, after it is determined that it is not within the preset sound source angle range, the screen of the control display is turned off.
在一些实施例中,如果诸如处理器的控制器接收到抬屏信号,控制声音采集器启动后,但是声音采集器未采集到语音信号,可以在显示器上显示提示语“请再说一遍”,同时发出警报声提醒用户。如果在预设时间段内声音采集器还未采集到语音信号,则确定用户没有语音交互意图,控制显示器熄灭屏幕。如果在预设时间段内声音采集器采集到语音信号,则确定用户有语音交互意图,则对采集的语音信号进行语音识别处理。In some embodiments, if a controller such as a processor receives a screen-up signal and controls the start of the sound collector, but the sound collector does not collect a voice signal, the prompt "Please say it again" can be displayed on the display, and at the same time Sound an alarm to alert the user. If the sound collector has not collected a voice signal within the preset time period, it is determined that the user has no voice interaction intention, and the display is controlled to turn off the screen. If the voice collector collects voice signals within the preset time period, it is determined that the user has voice interaction intentions, and voice recognition processing is performed on the collected voice signals.
基于上述实施例,本申请还提供一种控制设备的收音方法。如图15所示,在S1501至S1502,用户拿起控制设备,抬屏传感器检测到用户拿起控制设备的操作后,生成抬屏信号,并将抬屏信号发送至处理器。Based on the foregoing embodiments, the present application further provides a sound collection method for a control device. As shown in FIG. 15 , from S1501 to S1502 , the user picks up the control device, and the screen lift sensor detects that the user picks up the control device, generates a screen lift signal, and sends the screen lift signal to the processor.
在S1503,诸如处理器的控制器接收到抬屏信号后,控制声音采集器启动。而在S1504至S1505,声音采集器采集用户输入的语音信号,并将语音信号发送至处理器。At S1503, the controller such as the processor controls the start of the sound collector after receiving the screen-up signal. From S1504 to S1505, the sound collector collects the voice signal input by the user, and sends the voice signal to the processor.
在S1506,处理器根据语音信号计算用户与控制设备之间的声源角度。At S1506, the processor calculates the sound source angle between the user and the control device according to the voice signal.
接下来,在S1507判断声源角度是否字预设声源角度范围内。如果声源角度在预设声源角度范围之内,则在S1508对语音信号执行语音识别处理。Next, at S1507, it is judged whether the sound source angle is within the preset sound source angle range. If the sound source angle is within the preset sound source angle range, perform speech recognition processing on the speech signal at S1508.
如果声源角度不在预设声源角度范围之内,则不对语音信号执行语音识别处理。If the sound source angle is not within the preset sound source angle range, no speech recognition processing is performed on the speech signal.
在一些实施例中,声音采集器为麦克风阵列,麦克风阵列包括至少两个麦克风。根据语音信号计算用户与控制设备之间的声源角度,具体步骤为:In some embodiments, the sound collector is a microphone array, and the microphone array includes at least two microphones. Calculate the sound source angle between the user and the control device according to the voice signal, the specific steps are:
根据相邻两个麦克风之间的距离和相邻两个麦克风接收到语音信号的时间差,计算用户与控制设备之间的声源角度。其中,声源角度为用户与控制设备的中轴线之间的角度The sound source angle between the user and the control device is calculated according to the distance between two adjacent microphones and the time difference between two adjacent microphones receiving voice signals. Among them, the sound source angle is the angle between the user and the central axis of the control device
在一些实施例中,如果声源角度在预设声源角度范围之内,继续判断语音活动检测结果是否结束。如果语音活动检测结果为未结束,表示声音采集器仍能继续采集到用户输入的语音信号。则处理器继续接收语音信号,最后对完整的语音信号进行语音识别处理。如果语音活动检测结果为结束,表示声音采集器不能再继续采集到用户输入的语音信号。则处理器对当前的语音信号进行语音识别处理。In some embodiments, if the sound source angle is within the preset sound source angle range, continue to determine whether the voice activity detection result is over. If the voice activity detection result is incomplete, it means that the sound collector can still continue to collect the voice signal input by the user. Then the processor continues to receive the voice signal, and finally performs voice recognition processing on the complete voice signal. If the result of the voice activity detection is ended, it means that the sound collector cannot continue to collect the voice signal input by the user. Then the processor performs speech recognition processing on the current speech signal.
在一些实施例中,如果声源角度不在预设声源角度范围之内,则无论语音活动检测结果是否结束,都控制声音采集器停止采集用户输入的语音信号。In some embodiments, if the sound source angle is not within the preset sound source angle range, no matter whether the voice activity detection result ends, the sound collector is controlled to stop collecting the voice signal input by the user.
在一些实施例中,控制设备还包括显示器。在接收到抬屏传感器发送的抬屏信号时,处理器还控制显示器点亮屏幕。点亮屏幕后,如果声源角度在预设声源角度范围之内,则将对语音信号执行语音识别处理之后的结果显示在显示器上。如果声源角度不在预设声源角度范围之内,则控制显示器熄灭屏幕。In some embodiments, the control device also includes a display. When receiving the screen lift signal sent by the screen lift sensor, the processor also controls the display to turn on the screen. After the screen is turned on, if the sound source angle is within the preset sound source angle range, the result of performing speech recognition processing on the speech signal will be displayed on the display. If the sound source angle is not within the preset sound source angle range, the control display turns off the screen.
在本申请的实施例中,还可以以终端设备来代替控制器作为控制设备对家电设备实现控制。此外,本申请的实施例的控制设备不仅可以使用红外信号来控制家电设备,还可以采用AIOT(Artificial Intelligence & Internet of Things,人工智能物联网)云端智能控制的方式,通过本申请实施例的云端服务器,来控制家电设备,以实现相应的功能,从而无需组合遥控器来进行控制,提升了用户体验。In the embodiment of the present application, the terminal device may also be used instead of the controller as the control device to control the household electrical appliances. In addition, the control device of the embodiment of the present application can not only use infrared signals to control household appliances, but also adopt AIOT (Artificial Intelligence & Internet of Things, artificial intelligence Internet of Things) cloud intelligent control method, through the cloud of the embodiment of the present application The server is used to control the home appliances to realize the corresponding functions, so that there is no need to combine the remote controllers for control, which improves the user experience.
通常,终端设备通过向服务器发送数据请求,以从服务器获取对应的数据。例如,向服务器获取媒资信息请求,以从服务器获取媒资信息,这里的媒资信息至少包括媒资标识,例如,还可以包括媒资名称。基于推送功能,用户可以在终端设备(如手机)的媒资平台上选择媒资,通过推送操作将选择的媒资投放到电视或者其他显示设备进行播放。Generally, the terminal device acquires corresponding data from the server by sending a data request to the server. For example, a media resource information acquisition request is made to the server to obtain the media resource information from the server, where the media resource information at least includes a media resource identifier, for example, may also include a media resource name. Based on the push function, users can select media assets on the media asset platform of terminal devices (such as mobile phones), and put the selected media assets on TV or other display devices for playback through push operations.
需要说明的是,终端设备和被推送的显示设备中都安装有播放视频应用,为便于说明,在下述实施例中,将终端设备300中安装的视频播放应用称为第一应用,将显示设备200中安装的视频播放应用命名为第二应用。其中,第二应用可以是系统应用,也可以是第三方应用。It should be noted that both the terminal device and the pushed display device are installed with a video playback application. For the convenience of description, in the following embodiments, the video playback application installed in the terminal device 300 is referred to as the first application, and the display device 300 is referred to as the first application. The video playing application installed in 200 is named as the second application. Wherein, the second application may be a system application or a third-party application.
图16是本申请根据一些实施例示出的一种终端设备(例如图1的终端设备300)用户界面示意图。在一些具体实施中,用户通过触摸用户界面上的应用图标可以打开相应的应用程序,或者通过触摸用户界面上的文件夹图标可以打开相应的文件夹。Fig. 16 is a schematic diagram of a user interface of a terminal device (such as the terminal device 300 in Fig. 1 ) shown according to some embodiments of the present application. In some specific implementations, the user can open a corresponding application program by touching an application icon on the user interface, or open a corresponding folder by touching a folder icon on the user interface.
在本申请的实施例中,分别提供了一种终端设备和服务器。终端设备包括显示单元、通信单元和诸如处理器的控制器。显示单元用于显示终端界面,通信单元用于与显示设备和服务器进行通信连接。终端设备可以是移动终端、笔记本电脑或平板电脑。服务器包括通信器和处理器,通信器被配置为与终端设备和显示设备进行通信连接。In the embodiments of the present application, a terminal device and a server are respectively provided. A terminal device includes a display unit, a communication unit, and a controller such as a processor. The display unit is used for displaying the terminal interface, and the communication unit is used for communicating with the display device and the server. The terminal device can be a mobile terminal, a notebook computer or a tablet computer. The server includes a communicator and a processor, and the communicator is configured to communicate with the terminal device and the display device.
在一些实施例中,用户可以使用终端设备和显示设备进行通信连接,从而实现终端设备和显示设备之间的信息交互。In some embodiments, the user can use the terminal device to communicate with the display device, so as to realize information interaction between the terminal device and the display device.
例如,用户可以操控终端设备从显示设备中下载一些媒资资源,也可以将终端设备中的媒资资源上传至显示设备进行播放。用户还可以利用终端设备发送一些控制指令至显示设备,以控制显示设备实现相应的功能,此时,可以利用终端设备实现遥控器的功能。For example, the user can manipulate the terminal device to download some media resources from the display device, or upload the media resources in the terminal device to the display device for playback. The user can also use the terminal device to send some control commands to the display device to control the display device to realize corresponding functions. At this time, the terminal device can be used to realize the function of the remote control.
在一些实施例中,显示设备可以设置有通信模式。当通信模式关闭时,显示设备不会接收终端设备发送的通信连接请求。此时显示设备不允许终端设备进行通信连接,此时显示设备不会和任何终端设备进行信息交互。当通信模式开启时,显示设备会接收终端设备发送的通信连接请求。此时,显示设备可以允许终端设备和显示设备进行通信连接,从而实现信息交互。用户可以向显示设备输入通信模式开启指令,当处理器接收到通信模式开启指令时,可以控制显示设备进入通信模式。In some embodiments, the display device may be provided with a communication mode. When the communication mode is off, the display device will not receive the communication connection request sent by the terminal device. At this time, the display device does not allow the terminal device to communicate with each other, and the display device will not exchange information with any terminal device at this time. When the communication mode is turned on, the display device will receive a communication connection request sent by the terminal device. At this time, the display device may allow the terminal device to communicate with the display device, so as to realize information interaction. The user can input a communication mode start command to the display device, and when the processor receives the communication mode start command, it can control the display device to enter the communication mode.
在一些实施例中,用户可以通过操作遥控器的指定按键,向显示设备发送通信模式开启指令。在实际应用的过程中预先绑定通信模式开启指令与遥控器按键之间的对应关系。例如,在遥控器上设置一个通信模式按键,当用户触控该按键时,遥控器可以发送通信模式开启指令至处理器,此时处理器控制显示设备进入通信模式。当用户再次触控该按键时,处理器可以控制显示设备退出通信模式。In some embodiments, the user may send a communication mode activation instruction to the display device by operating a designated key of the remote controller. In the process of actual application, the corresponding relationship between the command for starting the communication mode and the keys of the remote controller is bound in advance. For example, a communication mode button is set on the remote controller. When the user touches the button, the remote controller can send a communication mode start command to the processor, and the processor controls the display device to enter the communication mode. When the user touches the button again, the processor can control the display device to exit the communication mode.
在一些实施例中,也可以预先绑定通信模式指令与多个遥控器按键之间的对应关系,当用户触控与通信模式指令绑定的多个按键时,遥控器发出通信模式指令。在一可行性实施例中,通信模式指令绑定的按键依次为方向键(左、下、左、下),即当用户在预设时间内连续触控按键(左、下、左、下)的情况下,遥控器才发送通信模式指令至处理器。采用上述绑定方法,可以避免通信模式指令由于用户的误操作而发出。本申请实施例仅是示例性的提供几种通信模式指令与按键之间的绑定关系,在实际应用的过程中可以根据用户的习惯设定通信模式指令与按键之间的绑定关系,在此不做过多的限定。In some embodiments, the correspondence between the communication mode command and multiple remote control keys may also be bound in advance, and when the user touches multiple keys bound to the communication mode command, the remote control sends out the communication mode command. In a feasible embodiment, the keys bound to the communication mode command are direction keys (left, down, left, down) in turn, that is, when the user touches the keys (left, down, left, down) continuously within a preset time In the case of , the remote controller sends the communication mode command to the processor. By adopting the above-mentioned binding method, it is possible to prevent the communication mode command from being issued due to a user's misoperation. The embodiment of the present application is only an example to provide the binding relationship between several communication mode commands and keys. In the process of actual application, the binding relationship between communication mode commands and keys can be set according to the user's habits. This is not too restrictive.
在一些实施例中,用户可以使用显示设备的声音采集器,例如麦克风,通过语音输入的方式,向显示设备发送通信模式指令,以控制显示设备进入通信模式。显示设备中可以设置有智能语音系统,智能语音系统可以对用户的语音进行识别,以提取用户输入的指令内容。用户可以通过麦克风输入预设的唤醒词,从而启动智能语音系统,从而处理器可以对用户输入的指令做出响应。并在一定时间内输入通信模式指令,使得显示设备进入通信 模式。例如,用户可以输入“某某同学”,以启动智能语音系统。再输入“进入通信模式”,实现向显示设备发送通信模式指令。In some embodiments, the user can use a sound collector of the display device, such as a microphone, to send a communication mode instruction to the display device through voice input, so as to control the display device to enter the communication mode. An intelligent voice system may be installed in the display device, and the intelligent voice system may recognize the user's voice to extract the instruction content input by the user. The user can enter a preset wake-up word through the microphone to activate the intelligent voice system, so that the processor can respond to the user's input. And input the communication mode command within a certain period of time, so that the display device enters the communication mode. For example, the user can input "so-and-so classmate" to activate the intelligent voice system. Then enter "Enter Communication Mode" to send communication mode instructions to the display device.
还可以在显示设备的UI界面中设置通信模式选项,当用户点击该选项时,可以控制显示设备进入或退出通信模式。The communication mode option can also be set in the UI interface of the display device, and when the user clicks on this option, the display device can be controlled to enter or exit the communication mode.
在一些实施例中,当显示设备处于通信模式下,考虑到安全性,还可以进一步设置身份认证模式。当身份认证模式关闭时,显示设备不会对终端设备进行身份认证,此时终端设备可以直接和显示设备进行通信连接。即当终端设备向显示设备发送通信连接请求时,显示设备可以不对通信连接请求进行验证,从而直接和终端设备进行通信连接。In some embodiments, when the display device is in the communication mode, an identity authentication mode may be further set in consideration of security. When the identity authentication mode is off, the display device will not perform identity authentication on the terminal device, and at this time the terminal device can directly communicate with the display device. That is, when the terminal device sends a communication connection request to the display device, the display device may directly perform a communication connection with the terminal device without verifying the communication connection request.
当身份认证模式开启时,显示设备会对终端设备进行身份认证。即当显示设备接收到终端设备发送的通信连接请求时,会对通信连接请求进行验证,当验证通过时,允许通信连接请求,从而和终端设备进行通信连接。When the identity authentication mode is turned on, the display device will authenticate the terminal device. That is, when the display device receives the communication connection request sent by the terminal device, it will verify the communication connection request, and when the verification is passed, the communication connection request is allowed, so as to communicate with the terminal device.
图17为一些实施例中显示设备中设置身份认证模式的示意图。其中,当用户选择开启通信模式时,可以进一步选择开启身份认证模式或者关闭身份认证模式。Fig. 17 is a schematic diagram showing an identity authentication mode set in a device in some embodiments. Wherein, when the user chooses to turn on the communication mode, he may further choose to turn on the identity authentication mode or turn off the identity authentication mode.
图18为一些实施例中显示设备和终端设备进行通信连接的流程图。Fig. 18 is a flowchart of a communication connection between a display device and a terminal device in some embodiments.
在一些实施例中,当显示设备处于通信模式下,终端设备可以和显示设备进行通信交互。在步骤S1801,终端设备需要将通信连接请求发送至显示设备,显示设备进一步可以确定是否要与终端设备进行通信连接。In some embodiments, when the display device is in the communication mode, the terminal device can communicate and interact with the display device. In step S1801, the terminal device needs to send a communication connection request to the display device, and the display device can further determine whether to establish a communication connection with the terminal device.
在一些实施例中,通信连接请求可以是搜索指令。终端设备可以发送搜索指令至网络中,具体可以发送搜索指令至局域网的组播地址。In some embodiments, the communication connection request may be a search command. The terminal device can send the search command to the network, specifically, the search command can be sent to the multicast address of the local area network.
局域网中所有的设备通过组播地址均可以接收到该搜索指令。因此,当终端设备和显示设备接入到一个局域网络中时,显示设备可以从组播地址中获取到搜索指令。当显示设备获取到搜索指令时,则可以认为终端设备发送了通信连接请求。All devices in the LAN can receive the search command through the multicast address. Therefore, when the terminal device and the display device are connected to a local area network, the display device can obtain the search instruction from the multicast address. When the display device acquires the search instruction, it can be considered that the terminal device has sent a communication connection request.
在步骤S1802至S1803,显示设备获取到该通信连接请求后,显示设备确定自身的网络信息和物理地址,并可以将自身的网络信息发送至终端设备。例如,显示设备可以将Location URL(uniform resource locator,统一资源定位符)发送至终端设备,UPL中可以包括显示设备的IP地址。In steps S1802 to S1803, after the display device obtains the communication connection request, the display device determines its own network information and physical address, and can send its own network information to the terminal device. For example, the display device may send a Location URL (uniform resource locator, uniform resource locator) to the terminal device, and the UPL may include the IP address of the display device.
显示设备还可以将自身的物理地址(即MAC地址)发送至终端设备,MAC地址用于标识显示设备的网卡。The display device can also send its own physical address (that is, the MAC address) to the terminal device, and the MAC address is used to identify the network card of the display device.
在步骤S1804,终端设备在接收到显示设备发送的网络信息以及物理地址后,可以根据网络信息和物理地址生成设备信息获取请求。其中,设备信息获取请求用于获取显示设备的设备信息。并在S1805终端设备可以将设备信息获取请求发送至显示设备。In step S1804, after receiving the network information and the physical address sent by the display device, the terminal device may generate a device information acquisition request according to the network information and the physical address. Wherein, the device information obtaining request is used to obtain device information of the display device. And at S1805, the terminal device may send a device information acquisition request to the display device.
在一些实施例中,在接收到设备信息获取请求后,显示设备可以将自身的设备信息发送给终端设备。同时,显示设备可以允许终端设备发送的通信连接请求,即允许终端设备和显示设备进行通信交互。进一步的,显示设备可以和终端设备建立通信连接。In some embodiments, after receiving the device information acquisition request, the display device may send its own device information to the terminal device. At the same time, the display device may allow the communication connection request sent by the terminal device, that is, allow the terminal device and the display device to communicate and interact. Further, the display device can establish a communication connection with the terminal device.
终端设备在接收到显示设备发送的设备信息时,即实现了与显示设备的通信连接,此时,终端设备可以和显示设备进行通信交互。例如,终端设备可以向显示设备发送一些控制指令,以使显示设备实现相应的功能。When the terminal device receives the device information sent by the display device, it realizes the communication connection with the display device, and at this time, the terminal device can communicate and interact with the display device. For example, the terminal device may send some control instructions to the display device, so that the display device realizes corresponding functions.
显示设备的设备信息可以包括DeviceId(设备ID)、品牌名称、型号名称和FeatureCode(特征代码)等信息。其中,设备ID表示显示设备的ID信息,是每个显示设备的唯一标 识属性。品牌名称以及型号名称为显示设备的出厂参数,一般是固定的名称。The device information of the display device may include information such as DeviceId (device ID), brand name, model name, and FeatureCode (feature code). Wherein, the device ID represents the ID information of the display device, which is the unique identification attribute of each display device. The brand name and model name are the factory parameters of the display device, and are generally fixed names.
在一些实施例中,用户可以通过将终端设备和显示设备进行绑定关联,从而实现将终端设备和显示设备建立通信连接。In some embodiments, the user can establish a communication connection between the terminal device and the display device by binding and associating the terminal device with the display device.
在一些实施例中,用户可以使用终端设备直接搜索局域网中的所有显示设备。图19为一些实施例中终端设备的终端界面的示意图。In some embodiments, the user can use the terminal device to directly search for all display devices in the local area network. Fig. 19 is a schematic diagram of a terminal interface of a terminal device in some embodiments.
终端设备中可以包括“连接设备”控件,用户可以通过点击“连接设备”控件,以指示终端设备扫描局域网中可连接的显示设备,同时触发进入对应的设备列表页面。当显示出设备列表页面时,用户可以该页面中选择要连接的显示设备。The terminal device can include a "connect device" control, and the user can click the "connect device" control to instruct the terminal device to scan for connectable display devices in the local area network, and at the same time trigger to enter the corresponding device list page. When the device list page is displayed, the user can select the display device to be connected on this page.
当检测到用户点击某个显示设备后,终端设备可以向该显示设备发送设备信息获取请求。在接收到设备信息获取请求后,显示设备可以将自身的设备信息发送给终端设备。同时,显示设备可以和终端设备进行绑定关联,即建立通信连接。After detecting that the user clicks on a certain display device, the terminal device may send a device information acquisition request to the display device. After receiving the device information acquisition request, the display device may send its own device information to the terminal device. At the same time, the display device can be bound and associated with the terminal device, that is, a communication connection can be established.
在一些实施例中,用户还可以在终端设备中登录自己的账号。当用户使用终端设备和某个显示设备绑定关联后,用户的账号也和该显示设备进行了绑定关联。In some embodiments, the user can also log in his own account in the terminal device. After the user uses the terminal device to bind and associate with a certain display device, the user's account is also bound and associated with the display device.
在一些实施例中,当用户使用终端设备和显示设备建立通信连接时,还可以采用不同的通信连接类型。In some embodiments, when the user uses the terminal device and the display device to establish a communication connection, different communication connection types may also be used.
用户可以利用网络直接将终端设备和显示设备进行绑定关联,从而实现终端设备和显示设备的通信连接。终端设备可以直接在局域网中搜索显示设备,也可以将搜索指令发送至局域网中。例如,当显示设备为AIOT设备时,可以采用AIOT网络连接方式,从而实现终端设备和显示设备的通信连接。本申请实施例中将这些网络连接的方式设为第一类通信连接。The user can use the network to directly bind the terminal device and the display device, so as to realize the communication connection between the terminal device and the display device. The terminal device can directly search for the display device in the local area network, or send the search command to the local area network. For example, when the display device is an AIOT device, an AIOT network connection manner may be used to implement a communication connection between the terminal device and the display device. In the embodiment of the present application, the manner of these network connections is set as the first type of communication connection.
用户也可以采用红外连接的方式将终端设备和显示设备进行绑定关联,实现终端设备和显示设备的通信连接。终端设备可以向显示设备发射红外信号,显示设备再将红外信号转换为电信号,并进一步进行解码,解调出相应的信息,从而使得显示设备可以与终端设备建立通信连接。进一步的,终端设备可以得到显示设备的设备信息。本申请实施例中将红外连接的方式设为第二类通信连接。The user can also bind and associate the terminal device and the display device by means of an infrared connection, so as to realize the communication connection between the terminal device and the display device. The terminal device can transmit infrared signals to the display device, and the display device converts the infrared signal into an electrical signal, and further decodes and demodulates the corresponding information, so that the display device can establish a communication connection with the terminal device. Further, the terminal device can obtain the device information of the display device. In the embodiment of the present application, the infrared connection is set as the second type of communication connection.
在一些实施例中,当检测到终端设备与显示设备建立通信连接时,用户可以使用终端设备对显示设备进行控制。此时,终端设备可以起到遥控器的作用。In some embodiments, when it is detected that the terminal device establishes a communication connection with the display device, the user may use the terminal device to control the display device. At this time, the terminal device can function as a remote controller.
终端设备可以控制显示单元中显示控制界面,控制界面中包括多个用于控制显示设备的控制指令。当用户点击控制界面中的某个控制指令时,终端设备可以将该控制指令发送至显示设备,以使显示设备实现相应的功能。The terminal device can control the display unit to display a control interface, and the control interface includes a plurality of control instructions for controlling the display device. When the user clicks on a certain control instruction in the control interface, the terminal device can send the control instruction to the display device, so that the display device can realize a corresponding function.
需要说明的是,当终端设备和显示设备采用AIOT云端智能控制的方式进行交互时,由于AIOT能够控制的功能有限,因此还需要在终端设备的控制界面中整合一些红外连接时的控制指令,从而使得终端设备可以完全控制显示设备,而不需要再利用遥控器进行操作,以提升用户的体验性。It should be noted that when the terminal device and the display device interact using the AIOT cloud intelligent control method, due to the limited functions that AIOT can control, it is also necessary to integrate some control commands during the infrared connection in the control interface of the terminal device, so that This enables the terminal device to completely control the display device without using a remote controller for operation, so as to improve user experience.
图20示出了一些实施例中终端设备和服务器的交互流程图。Fig. 20 shows a flowchart of interaction between a terminal device and a server in some embodiments.
在一些实施例中,在S2001,当检测到终端设备与某个显示设备建立通信连接时,处理器可以获取该显示设备的设备信息。同时,处理器还可以进一步获取终端设备和显示设备进行通信连接的通信连接信息。通信连接信息可以包括终端设备和显示设备的通信连接类型。还可以包括显示设备网络信息以及物理地址。In some embodiments, at S2001, when it is detected that the terminal device establishes a communication connection with a certain display device, the processor may acquire device information of the display device. At the same time, the processor may further acquire the communication connection information of the communication connection between the terminal device and the display device. The communication connection information may include communication connection types of the terminal device and the display device. It can also include displaying device network information as well as physical address.
具体可以判断通信连接类型是第一类通信连接或者第二类通信连接。Specifically, it may be determined that the type of the communication connection is the first type of communication connection or the second type of communication connection.
在确定通信连接信息和显示设备的设备信息后,在S2002处理器可以控制通信单元,将通信连接信息和设备信息发送至服务器,从而进一步确定显示设备当前能够支持的控制指令。After determining the communication connection information and the device information of the display device, at S2002 the processor may control the communication unit to send the communication connection information and device information to the server, so as to further determine the control commands currently supported by the display device.
在一些实施例中,在接收到终端设备发送的通信连接信息和设备信息后,在S2003服务器可以获取控制指令集合。控制指令集合中包括显示设备与终端设备通信连接时所支持的所有控制指令。并且在S2004至S2006,终端设备可以与服务器进行交互以获得控制指令集合,并根据该控制指令集合生成控制界面。In some embodiments, after receiving the communication connection information and device information sent by the terminal device, at S2003 the server may obtain the set of control instructions. The control command set includes all control commands supported by the display device and the terminal device when they are connected in communication. And from S2004 to S2006, the terminal device may interact with the server to obtain a set of control instructions, and generate a control interface according to the set of control instructions.
具体的,服务器的控制器可以根据通信连接信息和设备信息获取控制指令集合。图21为一些实施例中服务器获取控制指令集合的流程图。Specifically, the controller of the server may acquire the set of control instructions according to the communication connection information and device information. Fig. 21 is a flow chart of the server obtaining a set of control instructions in some embodiments.
需要说明的是,当显示设备和终端设备的通信连接类型不同时,显示设备能够支持的控制指令也可能不同。It should be noted that when the communication connection types of the display device and the terminal device are different, the control instructions that the display device can support may also be different.
当显示设备和终端设备采用第一类通信连接的方式进行通信连接时,即终端设备利用AIOT云端智能控制的方式对显示设备进行控制时,终端设备可以向显示设备发送第一类控制指令,即AIOT控制指令,也可以向显示设备发送第二类控制指令,即红外控制指令。此时,在第一类通信连接的方式下,显示设备可以支持两种控制指令。When the display device and the terminal device use the first type of communication connection for communication connection, that is, when the terminal device uses the AIOT cloud intelligent control method to control the display device, the terminal device can send the first type of control command to the display device, namely The AIOT control command can also send the second type of control command to the display device, that is, the infrared control command. At this time, in the first type of communication connection mode, the display device can support two kinds of control commands.
当显示设备和终端设备采用第二类通信连接的方式进行通信连接时,即终端设备利用红外控制的方式对显示设备进行控制时,终端设备只能向显示设备发送第二类控制指令,即红外控制指令,但是不能发送第一类控制指令。此时,显示设备仅仅支持第二类控制指令,而不支持第一类控制指令。When the display device and the terminal device use the second type of communication connection for communication connection, that is, when the terminal device uses infrared control to control the display device, the terminal device can only send the second type of control command to the display device, that is, infrared Control commands, but the first type of control commands cannot be sent. At this time, the display device only supports the second type of control commands, but not the first type of control commands.
因此,服务器需要根据通信连接信息确定显示设备支持的控制指令。具体的,控制器可以对显示设备和终端设备的通信连接类型进行检测。Therefore, the server needs to determine the control instructions supported by the display device according to the communication connection information. Specifically, the controller may detect the type of communication connection between the display device and the terminal device.
在一些实施例中,如果检测到通信连接类型为第一类通信连接,说明显示设备在当前的通信连接情况下,既支持第一类控制指令,又支持第二类控制指令。此时,处理器可以在预设的指令数据库中获取显示设备支持的所有第一类控制指令和所有第二类控制指令,即显示设备能够支持的所有的控制指令。In some embodiments, if it is detected that the communication connection type is the first type of communication connection, it means that the display device supports both the first type of control instruction and the second type of control instruction under the current communication connection situation. At this point, the processor may obtain all first-type control instructions and all second-type control instructions supported by the display device from the preset instruction database, that is, all control instructions that the display device can support.
需要说明的是,服务器中预先设置有一个指令数据库。指令数据库中存储有每个显示设备支持的所有控制指令。It should be noted that an instruction database is preset in the server. All control commands supported by each display device are stored in the command database.
显示设备可以支持两种控制指令:AIOT控制指令和红外控制指令。其中,红外控制指令是传统遥控器可以支持的指令。一般来说,每个红外控制指令对应显示设备的一次操作,实时控制性较强,但是红外控制指令不能支持一些较为复杂的功能。例如,将显示设备的音量或亮度值等设置为特定数值,这种功能是红外控制指令无法实现的。The display device can support two kinds of control commands: AIOT control commands and infrared control commands. Wherein, the infrared control instruction is an instruction supported by the traditional remote controller. Generally speaking, each infrared control command corresponds to an operation of the display device, and the real-time control is strong, but the infrared control command cannot support some more complicated functions. For example, setting the volume or brightness value of the display device to a specific value, this function cannot be realized by infrared control commands.
AIOT控制指令的实时控制性较差,对于一些需要快速响应的功能,AIOT控制指令较难实现。例如,遥控器中的数字按键和方向按键,由于用户一般会多次或连续触控这些按键,因此需要终端设备和显示设备快速的多次交互,导致AIOT控制指令无法实现这些功能。但是一个AIOT控制指令可以对应显示设备的多次操作,例如将显示设备设备的音量从当前数值调节至特定的数值,如果用传统遥控器则需要用户发出多次调节音量的指令,但利用AIOT控制指令的话则只需要一个指令即可实现,因此大大提高了用户的操作效率。The real-time controllability of AIOT control instructions is poor, and for some functions that require quick response, AIOT control instructions are difficult to implement. For example, the number keys and direction keys in the remote control, because the user generally touches these keys multiple times or continuously, requires multiple rapid interactions between the terminal device and the display device, resulting in AIOT control commands that cannot realize these functions. However, an AIOT control command can correspond to multiple operations of the display device, such as adjusting the volume of the display device from the current value to a specific value. If a traditional remote control is used, the user needs to issue multiple instructions to adjust the volume, but using AIOT control Instructions only need one instruction to realize, thus greatly improving the user's operation efficiency.
本申请实施例综合考虑到两种控制指令的优势,在终端设备中将两种控制指令进行融 合,以期最大化提高用户的体验性。The embodiment of the present application comprehensively considers the advantages of the two kinds of control instructions, and integrates the two kinds of control instructions in the terminal device, so as to maximize the user experience.
在显示设备可以支持的两种指令中,AIOT控制指令可以用纯指令的形式进行存储。红外控制指令可以用红外码值的形式进行存储,每个红外控制指令都对应一个红外码值。Among the two types of instructions that the display device can support, the AIOT control instructions can be stored in the form of pure instructions. The infrared control commands can be stored in the form of infrared code values, and each infrared control command corresponds to an infrared code value.
因此,对于显示设备来说,可以将其能够支持的所有AIOT控制指令形成一个AIOT指令集合。将其能够支持的所有红外控制指令形成一个红外码库。即每个显示设备都会对应一个AIOT指令集合和一个红外码库。Therefore, for a display device, all AIOT control commands that it can support can be formed into an AIOT command set. Form an infrared code library with all the infrared control commands it can support. That is, each display device will correspond to an AIOT instruction set and an infrared code library.
在指令数据库中,根据显示设备的设备ID即可查询该显示设备对应的AIOT指令集合和红外码库。In the command database, according to the device ID of the display device, the AIOT command set and infrared code library corresponding to the display device can be queried.
在一些实施例中,同一个品牌的显示设备能够支持的控制指令可以是相同的,因此同一个品牌的显示设备可以共用AIOT指令集合和红外码库。In some embodiments, display devices of the same brand can support the same control commands, so display devices of the same brand can share the AIOT command set and infrared code library.
在一些实施例中,如果检测到通信连接类型为第一类通信连接,在确定了显示设备对应的AIOT指令集合和红外码库后,可以将AIOT指令集合和红外码库进行整合,并对其中所有的第一类控制指令和第二类控制指令进行取全集处理,从而生成控制指令集合。控制指令集合中包括显示设备当前通信连接状态下,支持的所有的控制指令以及每个控制指令的类型。In some embodiments, if it is detected that the communication connection type is the first type of communication connection, after determining the AIOT command set and infrared code library corresponding to the display device, the AIOT command set and infrared code library can be integrated, and the All the control instructions of the first type and the control instructions of the second type are processed to obtain a complete set, so as to generate a set of control instructions. The control instruction set includes all the control instructions supported by the display device and the type of each control instruction under the current communication connection status.
在一些实施例中,如果检测到通信连接类型为第一类通信连接,考虑到终端设备可以不支持红外控制的情况,服务器还可以根据显示设备的设备信息判断显示设备是否支持第二类通信连接,即是否支持红外控制。In some embodiments, if it is detected that the communication connection type is the first type of communication connection, considering that the terminal device may not support infrared control, the server may also determine whether the display device supports the second type of communication connection according to the device information of the display device , that is, whether to support infrared control.
如果检测到显示设备支持第二类通信连接,即支持红外控制,控制器可以根据显示设备的设备ID,在预设的指令数据库中同时获取该显示设备对应的AIOT指令集合和红外码库,可以得到该显示设备支持的所有第一类控制指令和所有第二类控制指令。If it is detected that the display device supports the second type of communication connection, that is, it supports infrared control, the controller can simultaneously obtain the AIOT command set and infrared code library corresponding to the display device from the preset command database according to the device ID of the display device, and can All first-type control commands and all second-type control commands supported by the display device are obtained.
此时,可以对所有的第一类控制指令和第二类控制指令取全集处理,从而得到控制指令集合。At this time, all the first-type control instructions and the second-type control instructions can be processed in a complete set, so as to obtain a set of control instructions.
如果检测到显示设备不第二类通信连接,即不支持红外控制,控制器可以根据显示设备的设备ID,在预设的指令数据库中只获取该显示设备对应的AIOT指令集合,从而得到该显示设备支持的所有第一类控制指令。此时,所有的第一类控制指令共同构成控制指令集合。If it is detected that the display device is not connected to the second type of communication, that is, it does not support infrared control, the controller can obtain only the AIOT command set corresponding to the display device in the preset command database according to the device ID of the display device, so as to obtain the display device. All first-class control commands supported by the device. At this time, all the first-type control instructions together constitute a control instruction set.
在一些实施例中,如果检测到通信连接类型为第二类通信连接,说明终端设备无法向显示设备发送AIOT控制指令,显示设备在当前的通信连接情况下,仅仅支持第二类控制指令。此时,处理器可以根据设备ID,在指令数据库中获取该显示设备对应的红外码库,从而得到该显示设备支持的所有第二类控制指令。此时,所有的第二类控制指令共同构成控制指令集合。In some embodiments, if it is detected that the communication connection type is the second type of communication connection, it means that the terminal device cannot send the AIOT control command to the display device, and the display device only supports the second type of control command under the current communication connection condition. At this time, the processor can obtain the infrared code library corresponding to the display device from the instruction database according to the device ID, so as to obtain all second-type control instructions supported by the display device. At this time, all the second-type control instructions together constitute a control instruction set.
在一些实施例中,在确定显示设备的控制指令集合后,处理器可以将控制指令集合进行存储。In some embodiments, after the control instruction set of the display device is determined, the processor may store the control instruction set.
服务器中可以设置有显示设备指令库。进一步的,处理器可以将每个显示设备的控制指令集合存储到该显示设备指令库中。A display device instruction library may be set in the server. Further, the processor may store the control instruction set of each display device into the display device instruction library.
当某个显示设备和终端设备的通信连接类型发生改变时,服务器可以获取该显示设备当前通信连接情况下的控制指令集合,并将新的控制指令集合在显示设备指令库中更新。When the communication connection type between a certain display device and the terminal device changes, the server can obtain the control command set under the current communication connection condition of the display device, and update the new control command set in the display device command library.
在一些实施例中,当显示设备和终端设备建立通信连接后,用户可以使用终端设备控 制显示设备。In some embodiments, after a communication connection is established between the display device and the terminal device, the user can use the terminal device to control the display device.
图22为一些实施例中终端设备的终端界面的示意图。Fig. 22 is a schematic diagram of a terminal interface of a terminal device in some embodiments.
终端设备中可以包括“控制设备”控件,用户可以通过点击该“控制设备”控件,以指示终端设备确认已经建立通信连接的所有显示设备,同时触发进入对应的控制列表页面。当显示出控制列表页面时,用户可以该页面中选择要控制的显示设备。The terminal device may include a "control device" control, and the user may click the "control device" control to instruct the terminal device to confirm all display devices that have established communication connections, and at the same time trigger to enter the corresponding control list page. When the control list page is displayed, the user can select the display device to be controlled on the page.
在一些实施例中,用户可以点击控制列表页面中的某个显示设备,从而输入指示控制显示设备的指令。In some embodiments, the user may click a certain display device in the control list page, so as to input an instruction to control the display device.
响应于该指令,终端设备可以发送控制指令集合获取请求至服务器。其中,控制指令集合获取请求用于获取该显示设备的控制指令集合。In response to the instruction, the terminal device may send a control instruction set acquisition request to the server. Wherein, the control instruction set acquisition request is used to acquire the control instruction set of the display device.
在接收到终端设备发送的控制指令集合获取请求后,服务器可以将该显示设备的控制指令集合发送至终端设备。After receiving the control command set acquisition request sent by the terminal device, the server may send the control command set of the display device to the terminal device.
在一些实施例中,终端设备在接收到控制指令集合后,可以根据该控制指令集合生成控制界面。同时,可以控制显示单元显示该控制界面。控制界面中可以包括控制指令集合中的多个控制指令,从而使得用户可以根据控制界面控制显示设备。In some embodiments, after receiving the set of control instructions, the terminal device may generate a control interface according to the set of control instructions. At the same time, the display unit can be controlled to display the control interface. The control interface may include multiple control instructions in the control instruction set, so that the user can control the display device according to the control interface.
在一些实施例中,当终端设备接收到的控制指令集合中同时包含第一类控制指令和第二类控制指令时,两种控制指令中可能存在相同指令的情况。例如,对于控制指令“将显示设备静音”,既可以以第一类控制指令的形式存在,也可以以第二类控制指令的形式存在,从而造成同一个控制指令重复出现的情况。In some embodiments, when the control instruction set received by the terminal device includes both the first type of control instruction and the second type of control instruction, the two control instructions may have the same instruction. For example, the control instruction "mute the display device" may exist in the form of the first type of control instruction or in the form of the second type of control instruction, thus causing the same control instruction to appear repeatedly.
此时,可以对控制指令的类型设置优先级,例如:AIOT控制指令>红外控制指令。即当一个控制指令既可以是AIOT控制指令,也可以是红外控制指令时,优先设置为AIOT控制指令。优先级还可以设定为:红外控制指令>AIOT控制指令,即控制指令优先设置为红外控制指令。也可以根据用户的需求自行设置每个控制指令的类型,本申请实施例不做具体限定。At this point, you can set the priority for the type of control command, for example: AIOT control command > infrared control command. That is, when a control command can be either an AIOT control command or an infrared control command, the AIOT control command is preferentially set. The priority can also be set as: infrared control command>AIOT control command, that is, the priority of the control command is set to the infrared control command. The type of each control instruction can also be set according to the needs of the user, which is not specifically limited in this embodiment of the present application.
在确定了显示设备当前通信连接情况下支持的所有控制指令以及每个控制指令的类型后,终端设备可以根据这些控制指令生成控制界面并在显示单元中进行显示。After determining all the control commands supported by the display device under the current communication connection and the type of each control command, the terminal device can generate a control interface according to these control commands and display it on the display unit.
在一些实施例中,在根据该控制指令集合生成控制界面时,处理器可以对控制指令集合进行解析,得到显示设备再当前通信连接的情况下,能够支持的所有控制指令以及每个控制指令的指令类型。In some embodiments, when the control interface is generated according to the set of control instructions, the processor can analyze the set of control instructions to obtain all the control instructions that the display device can support and the value of each control instruction under the current communication connection. command type.
进一步的,处理器可以将每个控制指令转换为一个操作控件,每个操作控件即为一个控制指令,同时每个操作控件可以具有单独的图标。此时,可以将这些图标生成控制界面,以供用户进行操作。Further, the processor may convert each control instruction into an operation control, each operation control is a control instruction, and each operation control may have a separate icon. At this point, these icons can be generated into a control interface for the user to operate.
图23a为一些实施例中终端设备的一个控制界面的示意图。如图23a所示,该控制界面中包括9种操作控件:电源控件1101、节目源控件1102、返回控件1103、主界面控件1104、键盘切换控件1105、信号源控件1106、图像识别控件1107以及音量设置界面1108。其中,电源控件1101用于控制显示设备的开启与关闭,可以设置为AIOT控制指令或红外控制指令。节目源控件1102为数字键盘,用于调节显示设备当前播放的节目源,用户可以按下特定的数字键转换到相应的电视节目,也可以按照节目源的顺序前后切换电视节目,需要设置为红外控制指令。返回控件1103用于返回用户的上一次操作,可以设置为AIOT控制指令或红外控制指令。主界面控件1104用于返回显示设备的主界面,可以设置为AIOT 控制指令或红外控制指令。键盘切换控件1105用于切换显示的键盘,键盘包括数字键盘和方向键盘,可以设置为AIOT控制指令或红外控制指令。信号源控件1106用于显示显示设备的信号源列表,包括HDMI、USB、ATV等信号源,以供用户选择,可以设置为AIOT控制指令或红外控制指令。图像识别控件1107用于对显示设备显示的图像进行识别,需要设置为AIOT控制指令。音量设置界面1108用于将显示设备的音量调节为预设的音量值,可以是调节为50,需要设置为AIOT控制指令。在当前控制界面下,当用户点击键盘切换控件1105时,控制界面中的数字键盘会切换为方向键盘。Fig. 23a is a schematic diagram of a control interface of a terminal device in some embodiments. As shown in Figure 23a, the control interface includes 9 kinds of operation controls: power control 1101, program source control 1102, return control 1103, main interface control 1104, keyboard switching control 1105, signal source control 1106, image recognition control 1107 and volume Settings interface 1108 . Wherein, the power control 1101 is used to control the turning on and off of the display device, and can be set as an AIOT control command or an infrared control command. The program source control 1102 is a numeric keyboard, which is used to adjust the program source currently played by the display device. The user can press a specific number key to switch to the corresponding TV program, or switch TV programs back and forth according to the sequence of the program source. It needs to be set to infrared Control instruction. The return control 1103 is used to return to the user's last operation, and can be set as an AIOT control command or an infrared control command. The main interface control 1104 is used to return to the main interface of the display device, and can be set as an AIOT control command or an infrared control command. The keyboard switching control 1105 is used to switch the displayed keyboard. The keyboard includes a numeric keypad and a direction keypad, which can be set as AIOT control commands or infrared control commands. The signal source control 1106 is used to display a list of signal sources of the display device, including signal sources such as HDMI, USB, ATV, etc., for the user to choose, and can be set as an AIOT control command or an infrared control command. The image recognition control 1107 is used to recognize the image displayed by the display device, and needs to be set as an AIOT control command. The volume setting interface 1108 is used to adjust the volume of the display device to a preset volume value, which can be adjusted to 50, and needs to be set as an AIOT control command. In the current control interface, when the user clicks the keyboard switching control 1105, the numeric keypad in the control interface will be switched to a direction keypad.
图23b为一些实施例中终端设备的又一个控制界面的示意图。如图23b所示,焦点控件1109位方向键盘,用户可以利用该控件调节显示设备中的焦点位置,需要设置为红外控制指令。Fig. 23b is a schematic diagram of another control interface of a terminal device in some embodiments. As shown in Figure 23b, the focus control 1109 is a directional keyboard, and the user can use this control to adjust the focus position in the display device, which needs to be set as an infrared control command.
在一些实施例中,用户可以利用控制界面,根据在控制界面上触发的控制指令控制显示设备对显示设备进行控制。例如,通过对控制界面中某个控件进行点击或触控,从而输入对应的控制指令。In some embodiments, the user may use the control interface to control the display device to control the display device according to the control instruction triggered on the control interface. For example, by clicking or touching a certain control in the control interface, a corresponding control instruction is input.
图24为一些实施例中终端设备控制显示设备的流程图。Fig. 24 is a flowchart of a terminal device controlling a display device in some embodiments.
如图24所示,在步骤S2401,诸如处理器的控制器可以检测用户对控制界面的操作,从而确定用户输入的控制指令。As shown in FIG. 24, in step S2401, a controller such as a processor may detect the user's operation on the control interface, so as to determine the control command input by the user.
终端设备可以将用户输入的控制指令发送给显示设备。在S2402,显示设备接收到相应的控制指令,并且可以对该控制指令进行解析,从而确定该控制指令对应的功能,并予以实现。The terminal device can send the control instruction input by the user to the display device. In S2402, the display device receives the corresponding control instruction, and can analyze the control instruction, so as to determine the function corresponding to the control instruction, and implement it.
在确定用户输入的控制指令后,终端设备可以检测该控制指令的指令类型。After determining the control instruction input by the user, the terminal device may detect the instruction type of the control instruction.
在一些实施例中,在S2403当检测到用户输入的控制指令为第一类控制指令时,即AIOT控制指令时,在S2404,终端设备需要先将用户输入的控制指令和显示设备的设备信息发送至服务器,具体可以将该控制指令和显示设备的设备ID发送至服务器。In some embodiments, when it is detected at S2403 that the control command input by the user is the first type of control command, that is, the AIOT control command, at S2404, the terminal device needs to first send the control command input by the user and the device information of the display device to To the server, specifically, the control instruction and the device ID of the display device may be sent to the server.
服务器根据显示设备的设备ID可以确定用户想要控制的是哪一个显示设备。此时,服务器可以将用户输入的控制指令发送给对应的显示设备。进一步的,显示设备在接收到控制指令后,可以实现该控制指令对应的功能。The server can determine which display device the user wants to control according to the device ID of the display device. At this time, the server may send the control instruction input by the user to the corresponding display device. Further, after receiving the control instruction, the display device can realize the function corresponding to the control instruction.
在一些实施例中,在S2405,当检测到用户输入的控制指令为第二类控制指令时,即红外控制指令时,在S2406终端设备可以直接将用户输入的控制指令直接发送至显示设备。具体的,可以将控制指令的红外码值发送给显示设备。显示设备将红外码值转换为电信号后,可以对电信号进行解码,解调出相应的控制指令,并实现相应的功能。In some embodiments, at S2405, when it is detected that the control command input by the user is a second type of control command, that is, an infrared control command, at S2406 the terminal device may directly send the control command input by the user to the display device. Specifically, the infrared code value of the control command can be sent to the display device. After the display device converts the infrared code value into an electrical signal, it can decode the electrical signal, demodulate the corresponding control command, and realize the corresponding function.
本申请实施例中,终端设备可以将显示设备的设备信息,以及终端设备和显示设备的通信连接信息发送至服务器。服务器进一步可以整合出显示设备能够支持的AIOT控制指令和红外控制指令,并发送给终端设备。从而使得终端设备可以发送两种类型的控制指令至显示设备,而不需要用户在使用遥控器,从而提高了用户的体验性。In the embodiment of the present application, the terminal device may send the device information of the display device and the communication connection information between the terminal device and the display device to the server. The server can further integrate the AIOT control commands and infrared control commands that the display device can support, and send them to the terminal device. Therefore, the terminal device can send two types of control commands to the display device without the user using a remote controller, thereby improving user experience.
本申请实施例提供了一种通信控制方法,应用于终端设备,如图25所示,该方法包括以下步骤:The embodiment of the present application provides a communication control method, which is applied to a terminal device. As shown in FIG. 25, the method includes the following steps:
S1301、检测到终端设备与显示设备建立通信连接,获取通信连接信息和显示设备的设备信息,所述通信连接信息包括通信连接类型。S1301. Detect that the terminal device establishes a communication connection with the display device, and acquire communication connection information and device information of the display device, where the communication connection information includes a communication connection type.
S1302、将所述通信连接信息和所述设备信息发送至服务器,以使服务器根据所述通 信连接信息和所述设备信息获取控制指令集合,所述控制指令集合中包括显示设备与终端设备通信连接时所支持的所有控制指令。S1302. Send the communication connection information and the device information to the server, so that the server obtains a control instruction set according to the communication connection information and the device information, and the control instruction set includes the communication connection between the display device and the terminal device All control commands supported at the time.
S1303、响应于用户输入的指示控制显示设备的指令,发送用于获取控制指令集合的请求至所述服务器。S1303. Send a request for acquiring a set of control instructions to the server in response to an instruction input by the user indicating to control the display device.
S1304、根据服务器发送的所述控制指令集合生成控制界面,并控制显示单元显示所述控制界面,以使用户根据在所述控制界面上触发的控制指令控制显示设备。S1304. Generate a control interface according to the control instruction set sent by the server, and control the display unit to display the control interface, so that the user controls the display device according to the control instruction triggered on the control interface.
本申请实施例提供了一种通信控制方法,应用于服务器,如图26所示,该方法包括以下步骤:The embodiment of the present application provides a communication control method applied to a server, as shown in FIG. 26, the method includes the following steps:
S1401、接收终端设备发送的通信连接信息和显示设备的设备信息,所述通信连接信息包括终端设备与显示设备建立通信连接时的通信连接类型。S1401. Receive communication connection information and device information of the display device sent by the terminal device, where the communication connection information includes a communication connection type when the terminal device establishes a communication connection with the display device.
S1402、根据所述通信连接信息和所述设备信息获取控制指令集合,所述控制指令集合中包括显示设备与终端设备通信连接时所支持的所有控制指令。S1402. Acquire a set of control instructions according to the communication connection information and the device information, where the set of control instructions includes all control instructions supported by the display device and the terminal device when they are connected in communication.
S1403、响应于终端设备发送的用于获取控制指令集合的请求,将所述控制指令集合发送至终端设备,以使终端设备根据所述控制指令集合生成控制界面,并显示所述控制界面。S1403. In response to the request sent by the terminal device for acquiring a control instruction set, send the control instruction set to the terminal device, so that the terminal device generates a control interface according to the control instruction set, and displays the control interface.
本申请实施例还提供一种通信控制方法,该方法包括以下步骤:The embodiment of the present application also provides a communication control method, which includes the following steps:
终端设备在检测到与显示设备建立通信连接时,确定通信连接信息和显示设备的设备信息,所述通信连接信息包括通信连接类型。When the terminal device detects that a communication connection is established with the display device, it determines communication connection information and device information of the display device, where the communication connection information includes a communication connection type.
终端设备将通信连接信息和设备信息发送至服务器。The terminal device sends the communication connection information and device information to the server.
服务器根据通信连接信息和设备信息获取控制指令集合,控制指令集合中包括显示设备与终端设备通信连接时所支持的所有控制指令。The server obtains a control command set according to the communication connection information and the device information, and the control command set includes all control commands supported by the display device and the terminal device when they are connected in communication.
响应于用户输入的指示控制显示设备的指令,终端设备发送控制指令集合获取请求至服务器,控制指令集合获取请求用于获取控制指令集合。In response to an instruction input by the user indicating to control the display device, the terminal device sends a control instruction set acquisition request to the server, and the control instruction set acquisition request is used to acquire the control instruction set.
服务器将控制指令集合发送至终端设备。The server sends the set of control instructions to the terminal device.
终端设备根据控制指令集合生成控制界面,并控制显示单元显示控制界面,以使用户根据控制界面控制显示设备。The terminal device generates a control interface according to the set of control instructions, and controls the display unit to display the control interface, so that the user can control the display device according to the control interface.
本说明书中各个实施例之间相同相似的部分互相参照即可,在此不再赘述。For the same and similar parts among the various embodiments in this specification, only reference should be made to each other, and details will not be repeated here.
以上各实施例仅用以说明本申请的实施方式,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的实施方式进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不脱离本公开的范围。The above embodiments are only used to illustrate the implementation of the present application, not to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still apply to the foregoing embodiments Modifications are made to the implementations described in the examples, or equivalent replacements are made to some or all of the technical features; and these modifications or replacements do not depart from the scope of the present disclosure.

Claims (20)

  1. 一种控制设备,包括:A control device comprising:
    显示器,用于显示用户界面;a display for displaying a user interface;
    用户输入接口,用于接收输入信号;控制器,分别与所述显示器和所述用户接口连接,其被配置为:The user input interface is used to receive input signals; the controller is connected to the display and the user interface respectively, and is configured to:
    获取设备列表,以控制显示器显示所述设备列表;Acquiring a device list, so as to control the display to display the device list;
    经由所述用户接口接收选中设备列表中的设备控件的用户操作命令;receiving a user operation command for selecting a device control in the device list via the user interface;
    向多个设备广播携带有所述设备控件对应设备的设备标识的广播包,以使所述设备基于设备标识来发送蓝牙配对请求;以及broadcasting a broadcast packet carrying the device identifier of the device corresponding to the device control to multiple devices, so that the device sends a Bluetooth pairing request based on the device identifier; and
    响应于接收到来自所述设备的蓝牙配对请求,与所述设备经由蓝牙进行配对。In response to receiving a Bluetooth pairing request from the device, pairing is performed with the device via Bluetooth.
  2. 根据权利要求1所述的控制设备,其中,所述控制器还被配置为:在所述配对未成功时,重复执行广播携带有所述设备控件对应设备的设备标识的广播包,直至重复执行次数达到预设次数。The control device according to claim 1, wherein the controller is further configured to: when the pairing is not successful, repeatedly broadcast the broadcast packet carrying the device identifier of the device corresponding to the device control until repeated execution The number of times reaches the preset number of times.
  3. 根据权利要求2所述的控制设备,其中,所述控制器还被配置为:在重复执行次数达到所述预定次数时,控制显示器显示配对异常提示。The control device according to claim 2, wherein the controller is further configured to: when the number of repeated executions reaches the predetermined number of times, control the display to display a pairing abnormal prompt.
  4. 根据权利要求1所述的控制设备,其中,所述控制器还被配置为:在配对成功时,建立所述控制设备与所述设备之间的通信连接,以操控所述设备。The control device according to claim 1, wherein the controller is further configured to: when the pairing is successful, establish a communication connection between the control device and the device, so as to control the device.
  5. 根据权利要求1所述的控制设备,其中,所述设备基于设备标识来发送蓝牙配对请求进一步包括:The control device according to claim 1, wherein said device sending a Bluetooth pairing request based on a device identification further comprises:
    解析接收到的所述广播包,以获得所述广播包中的设备标识;Parsing the received broadcast packet to obtain the device identifier in the broadcast packet;
    判断所述广播包中携带的设备标识与所述设备的设备标识是否相同;以及judging whether the device identifier carried in the broadcast packet is the same as the device identifier of the device; and
    在设备标识相同的情况下,发送所述蓝牙配对请求到所述控制设备。In the case that the device identifiers are the same, the Bluetooth pairing request is sent to the control device.
  6. 根据权利要求1所述的控制设备,其中,所述控制器还被配置为:The control device according to claim 1, wherein the controller is further configured to:
    在获取所述设备列表之前,判断所述控制设备当前是否联网;以及Before obtaining the device list, determine whether the control device is currently connected to the Internet; and
    在所述控制设备联网时,所述获取设备列表。When the control device is connected to the network, the device list is obtained.
  7. 根据权利要求1所述的控制设备,其中,所述控制设备还包括:声音采集器,被配置为采集用户输入的语音信号;以及传感器,被配置为检测所述控制设备是否被抬起;The control device according to claim 1, wherein the control device further comprises: a sound collector configured to collect a voice signal input by a user; and a sensor configured to detect whether the control device is lifted;
    其中,所述控制器还被配置为:Wherein, the controller is also configured as:
    响应于从所述抬屏传感器接收的抬屏信号,控制所述声音采集器启动语音信号的采集,所述抬屏信号用于指示所述控制设备已被抬起;controlling the sound collector to start the collection of voice signals in response to a screen lift signal received from the screen lift sensor, the screen lift signal being used to indicate that the control device has been lifted;
    根据所述语音信号计算用户与所述控制设备之间的声源角度;以及calculating a sound source angle between the user and the control device based on the speech signal; and
    基于所述声源角度与预设的角度范围,确定是否对所述语音信号执行语音识别,determining whether to perform speech recognition on the speech signal based on the sound source angle and a preset angle range,
    其中,当所述声源角度在预设声源角度范围之内时,对所述语音信号执行语音识别处理。Wherein, when the sound source angle is within a preset sound source angle range, performing speech recognition processing on the speech signal.
  8. 根据权利要求7所述的控制设备,其中,所述声音采集器包括至少两个麦克风,所述控制器进一步被配置为:The control device according to claim 7, wherein the sound collector includes at least two microphones, and the controller is further configured to:
    根据相邻两个麦克风之间的距离和相邻两个麦克风接收到所述语音信号的时间差,计算用户与所述控制设备之间的声源角度,其中,所述声源角度为用户与所述控制设 备的中轴线之间的角度。Calculate the sound source angle between the user and the control device according to the distance between two adjacent microphones and the time difference between two adjacent microphones receiving the voice signal, wherein the sound source angle is the distance between the user and the control device. The angle between the central axes of the control devices described above.
  9. 根据权利要求7所述的控制设备,其中,所述控制器还被配置为:当所述声源角度在预设声源角度范围之内,以及语音活动检测结果为未结束时,继续接收所述语音信号,以及对接收的完整的所述语音信号进行语音识别处理,其中,所述语音活动检测结果为未结束时,所述声音采集器继续采集到用户输入的语音信号;或The control device according to claim 7, wherein the controller is further configured to: when the sound source angle is within the preset sound source angle range and the voice activity detection result is not finished, continue to receive the the voice signal, and perform voice recognition processing on the received complete voice signal, wherein, when the voice activity detection result is not finished, the voice collector continues to collect the voice signal input by the user; or
    当所述声源角度在预设声源角度范围之内,以及所述语音活动检测结果为结束时,对当前采集的所述语音信号执行语音识别处理,其中,所述语音活动检测结果为结束时,所述声音采集器不能继续采集到用户输入的语音信号。When the sound source angle is within a preset sound source angle range, and the voice activity detection result is end, perform speech recognition processing on the currently collected voice signal, wherein the voice activity detection result is end , the sound collector cannot continue to collect the voice signal input by the user.
  10. 根据权利要求7所述的控制设备,其中,所述控制器还被配置为:The control device according to claim 7, wherein the controller is further configured to:
    当所述声源角度不在所述预设声源角度范围之内时,停止采集用户输入的语音信号。When the sound source angle is not within the preset sound source angle range, stop collecting the voice signal input by the user.
  11. 根据权利要求7所述的控制设备,其中,所述控制器还被配置为:响应于从所述抬屏传感器接收的抬屏信号,控制所述显示器点亮屏幕。The control device according to claim 7, wherein the controller is further configured to control the display to turn on a screen in response to a screen lift signal received from the screen lift sensor.
  12. 根据权利要求11所述的控制设备,其中,所述控制器还被配置为:当所述声源角度在所述预设声源角度范围之内时,将对所述语音信号执行语音识别处理的结果显示在所述显示器上。The control device according to claim 11, wherein the controller is further configured to perform speech recognition processing on the speech signal when the sound source angle is within the preset sound source angle range The results are shown on the display.
  13. 根据权利要求11所述的控制设备,其中,所述控制器还被配置为:当所述声源角度不在所述预设声源角度范围之内时,控制所述显示器熄灭屏幕。The control device according to claim 11, wherein the controller is further configured to: when the sound source angle is not within the preset sound source angle range, control the display to turn off the screen.
  14. 一种用于控制设备的方法,包括:A method for controlling a device comprising:
    获取设备列表,以控制显示器显示所述设备列表;Acquiring a device list, so as to control the display to display the device list;
    接收选中设备列表中的设备控件的用户操作命令;Receive the user operation command of the device control in the selected device list;
    向多个设备广播携带有所述设备控件对应设备的设备标识的广播包,以使所述设备基于设备标识来发送蓝牙配对请求;Broadcasting a broadcast packet carrying the device identifier of the device corresponding to the device control to multiple devices, so that the device sends a Bluetooth pairing request based on the device identifier;
    响应于接收到来自所述设备的蓝牙配对请求,与所述设备经由蓝牙进行配对。In response to receiving a Bluetooth pairing request from the device, pairing is performed with the device via Bluetooth.
  15. 根据权利要求14所述的方法,其中,所述方法还包括:在未配对成功时,重复执行广播携带有设备控件对应设备的设备标识的广播包,直至重复执行次数达到预设次数。The method according to claim 14, wherein the method further comprises: when the pairing is not successful, repeating the broadcasting of the broadcast packet carrying the device identification of the device corresponding to the device control until the number of repeated executions reaches a preset number of times.
  16. 根据权利要求14所述的方法,其中,所述方法还包括:在配对成功时,建立控制设备与设备之间的通信连接,以操控所述设备。The method according to claim 14, further comprising: when the pairing is successful, establishing a communication connection between the control device and the device to control the device.
  17. 根据权利要求14所述的方法,其中,所述设备基于设备标识来发送蓝牙配对请求进一步包括:The method of claim 14, wherein the device sending a Bluetooth pairing request based on the device identification further comprises:
    解析接收到的所述广播包,以获得所述广播包中的设备标识;Parsing the received broadcast packet to obtain the device identifier in the broadcast packet;
    判断所述广播包中的设备标识与所述设备的设备标识是否相同;以及judging whether the device identifier in the broadcast packet is the same as the device identifier of the device; and
    在设备标识相同的情况下,发送所述蓝牙配对请求到所述控制设备。In the case that the device identifiers are the same, the Bluetooth pairing request is sent to the control device.
  18. 根据权利要求14所述的方法,其中,The method of claim 14, wherein,
    响应于从抬屏传感器接收的抬屏信号时,控制声音采集器启动语音信号的采集,所述抬屏信号用于指示控制设备已被抬起;When responding to the lifting screen signal received from the lifting screen sensor, the control sound collector starts the collection of the voice signal, and the lifting screen signal is used to indicate that the control device has been lifted;
    根据所述语音信号计算用户与所述控制设备之间的声源角度;以及calculating a sound source angle between the user and the control device based on the speech signal; and
    基于所述声源角度与预设的角度范围,确定是否对所述语音信号执行语音识别,determining whether to perform speech recognition on the speech signal based on the sound source angle and a preset angle range,
    其中,当所述声源角度在预设声源角度范围之内时,对所述语音信号执行语音识别处理。Wherein, when the sound source angle is within a preset sound source angle range, performing speech recognition processing on the speech signal.
  19. 根据权利要求18所述的方法,其中,所述声音采集器包括至少两个麦克风,根据语音信号计算用户与所述手持设备之间的声源角度进一步包括:The method according to claim 18, wherein the sound collector includes at least two microphones, and calculating the sound source angle between the user and the handheld device according to the voice signal further comprises:
    根据相邻两个麦克风之间的距离和相邻两个麦克风接收到所述语音信号的时间差,计算用户与所述控制设备之间的声源角度,其中,所述声源角度为用户与所述控制设备的中轴线之间的角度。Calculate the sound source angle between the user and the control device according to the distance between two adjacent microphones and the time difference between two adjacent microphones receiving the voice signal, wherein the sound source angle is the distance between the user and the control device. The angle between the central axes of the control devices described above.
  20. 根据权利要求18所述的方法,其中,所述方法还包括:当在所述声源角度在预设声源角度范围之内,以及语音活动检测结果为未结束时,继续接收所述语音信号,以及对接收的完整的所述语音信号进行语音识别处理,其中,所述语音活动检测结果为未结束时,所述声音采集器继续采集到用户输入的语音信号;或The method according to claim 18, wherein the method further comprises: when the sound source angle is within the preset sound source angle range and the voice activity detection result is not over, continue to receive the voice signal , and performing voice recognition processing on the received complete voice signal, wherein, when the voice activity detection result is not finished, the voice collector continues to collect the voice signal input by the user; or
    在所述声源角度在预设声源角度范围之内,以及所述语音活动检测结果为结束时,对当前采集的所述语音信号执行语音识别处理,其中,所述语音活动检测结果为结束时,所述声音采集器不能继续采集到用户输入的语音信号。When the sound source angle is within a preset sound source angle range and the voice activity detection result is end, perform speech recognition processing on the currently collected voice signal, wherein the voice activity detection result is end , the sound collector cannot continue to collect the voice signal input by the user.
PCT/CN2022/106080 2021-07-15 2022-07-15 Control method and control device WO2023284870A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202280048658.2A CN117616486A (en) 2021-07-15 2022-07-15 Control method and control device

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN202110799098.1A CN114283798A (en) 2021-07-15 2021-07-15 Radio receiving method of handheld device and handheld device
CN202110799098.1 2021-07-15
CN202110817639.9A CN114286144A (en) 2021-07-20 2021-07-20 Control device and equipment pairing method and control device
CN202110817639.9 2021-07-20
CN202111041999.0 2021-09-07
CN202111041999.0A CN113784186B (en) 2021-09-07 2021-09-07 Terminal device, server, and communication control method

Publications (1)

Publication Number Publication Date
WO2023284870A1 true WO2023284870A1 (en) 2023-01-19

Family

ID=84919060

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/106080 WO2023284870A1 (en) 2021-07-15 2022-07-15 Control method and control device

Country Status (2)

Country Link
CN (1) CN117616486A (en)
WO (1) WO2023284870A1 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004294945A (en) * 2003-03-28 2004-10-21 Toshiba Corp Speech recognition apparatus
CN104540190A (en) * 2014-12-30 2015-04-22 广州视源电子科技股份有限公司 Bluetooth device matching method and system
US20170083494A1 (en) * 2015-09-17 2017-03-23 Samsung Electronics Co., Ltd. Electronic device and operation control method therefor
CN109710080A (en) * 2019-01-25 2019-05-03 华为技术有限公司 A kind of screen control and sound control method and electronic equipment
CN112233404A (en) * 2020-10-14 2021-01-15 成都极米科技股份有限公司 Bluetooth connection method, Bluetooth remote controller, terminal device and storage medium
CN112911380A (en) * 2021-01-15 2021-06-04 海信视像科技股份有限公司 Display device and connection method with Bluetooth device
CN113271579A (en) * 2021-05-24 2021-08-17 杭州涂鸦信息技术有限公司 Bluetooth device control method, client, computer device and readable storage medium
CN114283798A (en) * 2021-07-15 2022-04-05 海信视像科技股份有限公司 Radio receiving method of handheld device and handheld device
CN114286144A (en) * 2021-07-20 2022-04-05 海信视像科技股份有限公司 Control device and equipment pairing method and control device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004294945A (en) * 2003-03-28 2004-10-21 Toshiba Corp Speech recognition apparatus
CN104540190A (en) * 2014-12-30 2015-04-22 广州视源电子科技股份有限公司 Bluetooth device matching method and system
US20170083494A1 (en) * 2015-09-17 2017-03-23 Samsung Electronics Co., Ltd. Electronic device and operation control method therefor
CN109710080A (en) * 2019-01-25 2019-05-03 华为技术有限公司 A kind of screen control and sound control method and electronic equipment
CN112233404A (en) * 2020-10-14 2021-01-15 成都极米科技股份有限公司 Bluetooth connection method, Bluetooth remote controller, terminal device and storage medium
CN112911380A (en) * 2021-01-15 2021-06-04 海信视像科技股份有限公司 Display device and connection method with Bluetooth device
CN113271579A (en) * 2021-05-24 2021-08-17 杭州涂鸦信息技术有限公司 Bluetooth device control method, client, computer device and readable storage medium
CN114283798A (en) * 2021-07-15 2022-04-05 海信视像科技股份有限公司 Radio receiving method of handheld device and handheld device
CN114286144A (en) * 2021-07-20 2022-04-05 海信视像科技股份有限公司 Control device and equipment pairing method and control device

Also Published As

Publication number Publication date
CN117616486A (en) 2024-02-27

Similar Documents

Publication Publication Date Title
US10834237B2 (en) Method, apparatus, and storage medium for controlling cooperation of multiple intelligent devices with social application platform
US20190304448A1 (en) Audio playback device and voice control method thereof
CN105634881B (en) Application scene recommendation method and device
CN105100190B (en) The methods, devices and systems that the control planning of account and equipment is managed
CN113766292B (en) Display device
CN106549977B (en) A kind of binding relationship methods, devices and systems for establishing account and equipment
JP2017521968A (en) Device binding method, apparatus, program, and recording medium
CN111602344A (en) Bluetooth communication method and dual-mode Bluetooth terminal
KR102159443B1 (en) Provide remote keyboard service
US10965972B2 (en) Method for contents playback with continuity and electronic device therefor
US11320963B2 (en) Display device and operating method thereof
CN111405321B (en) Video acquisition method, display device and server
WO2021120586A1 (en) Account synchronization method, mobile device and smart television
US11671556B2 (en) Method of performing video call and display device
WO2023284870A1 (en) Control method and control device
CN113784186B (en) Terminal device, server, and communication control method
CN108141697B (en) Electronic device, corollary device and method for operating electronic device
CN111526392B (en) Video acquisition method, display device and server
US11625471B2 (en) Method for providing autofill function and electronic device including the same
WO2023000914A1 (en) Display device
CN116320564A (en) Display device, terminal device, and device control method
WO2023284562A1 (en) Control device, household appliance, and control method
WO2023012260A1 (en) Display apparatus, terminal device and communication connection method
CN116980851A (en) Method and device for sharing subroutines between locomotives, electronic equipment and storage medium
CN117827140A (en) Intelligent terminal and volume adjusting method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22841503

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE