Smart TV control method, electronic device and readable storage medium

By receiving and parsing voice control data to obtain multimedia control instructions, the problem of low intelligence of smart TVs when playing mobile phone media data is solved, complex control operations of multimedia data are realized, and the intelligence of smart TVs is improved.

CN115988277BActive Publication Date: 2024-09-24SHENZHEN SKYWORTH RGB ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211567052.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-07
Publication Date
2024-09-24
Estimated Expiration
2042-12-07

AI Technical Summary

Technical Problem

Existing smart TVs have low intelligence when playing mobile phone media data and cannot perform complex control operations.

Method used

By receiving multimedia data sent by mobile devices, determining the data type, matching the corresponding control instruction set, collecting voice control data, parsing the voice control data to obtain multimedia control instructions, and then controlling the playback status of multimedia data.

Benefits of technology

It realizes complex operations on multimedia data through voice control and improves the intelligence of smart TVs in playing mobile phone media data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115988277B
    Figure CN115988277B
Patent Text Reader

Abstract

The present application discloses a smart TV control method, device, electronic device and readable storage medium, which are applied to the field of smart TV technology. The smart TV control method includes: receiving multimedia data sent by a mobile device and playing the multimedia data; determining the data type of the multimedia data, matching the corresponding control instruction set according to the data type; collecting voice control data; parsing the voice control data according to the control instruction set to obtain the corresponding multimedia control instruction; and controlling the playback state of the multimedia data according to the multimedia control instruction. The present application solves the technical problem of low intelligence of smart TV playing mobile phone media data in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of smart televisions, and in particular to a smart television control method, device, electronic device and readable storage medium. Background Art

[0002] With the improvement of living standards and the increasingly perfect smart TV systems and functions, smart TVs have gradually entered the lives of consumers, and the market share of smart TVs is also increasing, and they are deeply loved by users. In the current smart TV products, audio and video data on the mobile phone can be played on the smart TV, but in the actual playback process of users, it is necessary to pause and switch the data being played. When playing mobile phone media data on smart TVs, only relatively simple control instructions can be completed, and more complex control operations cannot be performed. Summary of the invention

[0003] The main purpose of the present application is to provide a smart TV control method, device, electronic device and readable storage medium, aiming to solve the technical problem of low intelligence of smart TV playing mobile phone media data in the prior art.

[0004] To achieve the above object, the present application provides a smart TV control method, which is applied to a smart TV device. The smart TV control method includes:

[0005] Receiving multimedia data sent by a mobile device and playing the multimedia data;

[0006] Determine a data type of the multimedia data, and match a corresponding control instruction set according to the data type;

[0007] Collect voice control data;

[0008] Parsing the voice control data according to the control instruction set to obtain corresponding multimedia control instructions;

[0009] The playing state of the multimedia data is controlled according to the multimedia control instruction.

[0010] Optionally, the step of parsing the voice control data according to the control instruction set to obtain corresponding multimedia control instructions includes:

[0011] Performing voice recognition on the voice control data to obtain a voice control instruction;

[0012] Extracting at least one voice keyword from the voice control instruction;

[0013] Matching the voice keyword with each preset instruction in the control instruction set to obtain the preset instruction that matches successfully;

[0014] The preset instruction that is successfully matched is used as the multimedia control instruction.

[0015] Optionally, the step of matching the voice keyword with each preset instruction in the control instruction set to obtain the preset instruction that matches successfully includes:

[0016] Determine the word meaning type corresponding to each of the voice keywords, wherein the word meaning type includes one or more of an execution action, a control subject, and a control condition;

[0017] Obtaining each preset instruction in the control instruction set;

[0018] If there are multiple meaning types for each of the voice keywords, each of the meaning types is traversed, and a preset instruction in each of the preset instructions that matches the traversed meaning type is determined, and the preset instruction that matches the traversed meaning type is used as a successfully matched preset instruction.

[0019] Optionally, after the step of obtaining each preset instruction in the control instruction set, the method further includes:

[0020] If each of the voice keywords fails to match each of the preset instructions, it is determined that each of the word meaning types does not match each of the voice keywords, the smart TV control is terminated, and a recognition failure reminder is sent. Based on the recognition failure reminder, the voice control instructions are re-collected and the execution step is: the voice control data is parsed according to the control instruction set to obtain the corresponding multimedia control instructions.

[0021] Optionally, the step of receiving multimedia data sent by a mobile device and playing the multimedia data includes:

[0022] Receiving multimedia stream data sent by a mobile device, wherein the mobile device encapsulates the multimedia stream data according to source data;

[0023] Decoding the multimedia stream data to obtain multimedia data;

[0024] The multimedia data is played.

[0025] Optionally, before the step of receiving multimedia data sent by a mobile device and playing the multimedia data, the step further includes:

[0026] After the mobile device sends a connection request, determining a connection mode of the television device;

[0027] If the connection mode is a sender mode, modifying the preset transmission protocol configuration to the protocol configuration information to switch the connection mode to a receiver mode;

[0028] A data transmission connection is established with the mobile device in a receiving end mode.

[0029] Optionally, the step of controlling the playback state of the multimedia data according to the multimedia control instruction includes:

[0030] Converting the multimedia control instruction into a multimedia control signal;

[0031] The multimedia control signal is sent back to the mobile device, so that the mobile device can control the playing state of the source data according to the multimedia control signal, thereby controlling the playing state of the multimedia data.

[0032] To achieve the above-mentioned purpose, the present application further provides a smart TV control device, which is applied to a smart TV device, and the smart TV control device comprises:

[0033] A multimedia receiving module, used for receiving multimedia data sent by a mobile device and playing the multimedia data;

[0034] A data type module, used to determine the data type of the multimedia data and match a corresponding control instruction set according to the data type;

[0035] Voice acquisition module, used to collect voice control data;

[0036] A voice analysis module, used for analyzing the voice control data according to the control instruction set to obtain corresponding multimedia control instructions;

[0037] A control module is used to control the playing state of the multimedia data according to the multimedia control instruction.

[0038] Optionally, the speech analysis module is further used for:

[0039] Performing voice recognition on the voice control data to obtain a voice control instruction;

[0040] Extracting at least one voice keyword from the voice control instruction;

[0041] Matching the voice keyword with each preset instruction in the control instruction set to obtain the preset instruction that matches successfully;

[0042] The preset instruction that is successfully matched is used as the multimedia control instruction.

[0043] Optionally, the speech analysis module is further used for:

[0044] Determine the word meaning type corresponding to each of the voice keywords, wherein the word meaning type includes one or more of an execution action, a control subject, and a control condition;

[0045] Obtaining each preset instruction in the control instruction set;

[0046] If there are multiple meaning types for each of the voice keywords, each of the meaning types is traversed, and a preset instruction in each of the preset instructions that matches the traversed meaning type is determined, and the preset instruction that matches the traversed meaning type is used as a successfully matched preset instruction.

[0047] Optionally, the speech analysis module is further used for:

[0048] If each of the voice keywords fails to match each of the preset instructions, it is determined that each of the word meaning types does not match each of the voice keywords, the smart TV control is terminated, and a recognition failure reminder is sent. Based on the recognition failure reminder, the voice control instructions are re-collected and the execution step is: the voice control data is parsed according to the control instruction set to obtain the corresponding multimedia control instructions.

[0049] Optionally, the multimedia receiving module is further used for:

[0050] Receiving multimedia stream data sent by a mobile device, wherein the mobile device encapsulates the multimedia stream data according to source data;

[0051] Decoding the multimedia stream data to obtain multimedia data;

[0052] The multimedia data is played.

[0053] Optionally, the smart TV control device is also used for:

[0054] After the mobile device sends a connection request, determining a connection mode of the television device;

[0055] If the connection mode is a sender mode, modifying the preset transmission protocol configuration to the protocol configuration information to switch the connection mode to a receiver mode;

[0056] A data transmission connection is established with the mobile device in a receiving end mode.

[0057] Optionally, the control module is further used for:

[0058] Converting the multimedia control instruction into a multimedia control signal;

[0059] The multimedia control signal is sent back to the mobile device, so that the mobile device can control the playing state of the source data according to the multimedia control signal, thereby controlling the playing state of the multimedia data.

[0060] The present application also provides an electronic device, comprising: a memory, a processor, and a program of the smart TV control method stored in the memory and executable on the processor. When the program of the smart TV control method is executed by the processor, the steps of the smart TV control method as described above can be implemented.

[0061] The present application also provides a readable storage medium, which is a computer-readable storage medium. The computer-readable storage medium stores a program for implementing the smart TV control method. When the program of the smart TV control method is executed by a processor, the steps of the smart TV control method as described above are implemented.

[0062] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned smart TV control method when executed by a processor.

[0063] The present application provides a smart TV control method, device, electronic device and readable storage medium, namely, receiving multimedia data sent by a mobile device and playing the multimedia data; determining the data type of the multimedia data, matching a corresponding control instruction set according to the data type; collecting voice control data; parsing the voice control data according to the control instruction set to obtain corresponding multimedia control instructions; controlling the playback state of the multimedia data according to the multimedia control instructions, thereby realizing voice control of the playback of multimedia data. For different types of multimedia data, it is necessary to determine the corresponding control instructions according to the specific data type. By obtaining the voice control data and performing specific analysis, combined with control instructions of multiple data types, more complex control operations can be performed on the media data being played, thereby improving the intelligence of the smart TV in playing mobile phone media data. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0065] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0066] Figure 1 This is a flowchart of the first embodiment of the smart TV control method of the present application;

[0067] Figure 2 This is the structure diagram of the Bluetooth protocol stack for this application;

[0068] Figure 3 A schematic diagram of the data relationship between the mobile device and the smart TV device in this application in sending multimedia data;

[0069] Figure 4 This is a flow chart of the second embodiment of the smart TV control method of the present application;

[0070] Figure 5 A schematic diagram of the structural relationship of the smart TV control device of this application;

[0071] Figure 6 Schematic diagram of the device structure of the hardware operating environment involved in the smart TV control method in the embodiment of the present application.

[0072] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0073] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.

[0074] Embodiment 1

[0075] The present application embodiment provides a smart TV control method. In the first embodiment of the smart TV control method of the present application, refer to Figure 1 , the smart TV control method comprises:

[0076] Step S10, receiving multimedia data sent by a mobile device and playing the multimedia data;

[0077] Step S20, determining the data type of the multimedia data, and matching a corresponding control instruction set according to the data type;

[0078] Step S30, collecting voice control data;

[0079] Step S40, parsing the voice control data according to the control instruction set to obtain corresponding multimedia control instructions;

[0080] Step S50: controlling the playing state of the multimedia data according to the multimedia control instruction.

[0081] In this embodiment, it should be noted that, when applied to smart TVs, since Android TV has a better audio and video experience, the speaker function is generally better than that of mobile phones, PCs and other devices. The mobile device is a mobile device that supports Android voice, and the multimedia data can be video data or audio data. The control instruction set has different instruction contents according to different types of multimedia data. The voice control data is usually collected by a TV device or a mobile device and sent to a smart TV. At present, smart TVs under Android TV can support remote control to obtain voice control data, and also support far-field voice to obtain voice control data. It can be a control voice instruction recorded for a TV device or a mobile device. The multimedia control instruction is to play multimedia The control results when collecting voice control data, such as play, pause, next song and other controls, can be used to control the playback state. When playing audio data, it corresponds to the audio control instruction set, and when playing video data, it corresponds to the video control instruction set. The two may have different multimedia control instructions for the same voice control data. Similarly, different control instruction sets can be set for different groups of people. For example, there are obvious differences in language organization between adults and young children. In the same sentence, the meanings expressed by the two may be different. After collecting the voice control data, the present application can match the control instruction set again according to the voice control data. If the voice control data is for an adult, the control instruction set for the adult is matched. If the voice control data is for a young child, the control instruction set for the young child is matched, so as to accurately analyze the user's voice instructions.

[0082] The Bluetooth protocol group also defines the specification of multimedia control: Audio / Video Remote Control Profile (AVRCP). AVRCP is designed to provide a standard application programming interface for controlling televisions, high-fidelity (Hi-Fi) devices, etc. This profile is used to allow a single remote control device (or other device) to control all A / V devices accessible to the user. It can be used in conjunction with the Advanced Audio Distribution Profile (A2DP). The typical application of A2DP is to send audio data from a music player to headphones or speakers. A2DP defines two roles: Audio Source, which is the audio input end that encodes the audio data and sends it to the Sink end. After receiving the audio data, the Audio Sink (audio receiver) performs decoding operations to restore the audio.

[0083] Exemplarily, steps S10 to S50 include:

[0084] According to the Bluetooth mode, it acts as a sink to receive multimedia data sent by the mobile device, and plays the multimedia data according to the request of the mobile device, determines the data type of the received multimedia data, and matches the control instruction set preset by the system according to the data type, collects the sound emitted by the user around the smart TV as voice control data, parses the voice control data according to the control instruction set, obtains the corresponding multimedia control instructions, and controls the playback status of the multimedia data according to the multimedia control instructions.

[0085] It should be noted that when the user is unable to move, the playback status can be controlled by voice only.

[0086] Before step S10, before the step of receiving multimedia data sent by a mobile device and playing the multimedia data, the method further includes:

[0087] Step A10, after the mobile device sends a connection request, determining a connection mode of the television device;

[0088] Step A20, if the connection mode is the sender mode, modify the preset transmission protocol configuration to the protocol configuration information to switch the connection mode to the receiver mode;

[0089] Step A30: establishing a data transmission connection with the mobile device in a receiving end mode.

[0090] In this embodiment, it should be noted that A2DP defines two roles: the Audio Source (audio source) audio input end encodes the audio data and sends it to the Sink end, and the Audio Sink (audio receiver) decodes the audio data after receiving the audio data to restore the audio. When the input end needs to be converted to the output end, the Bluetooth mode needs to be switched from the sender (source) mode to the receiver (sink) mode.

[0091] The system Bluetooth service uses JNI to interact with the Bluetooth protocol stack and uses Binder IPC with applications. Developers access various Bluetooth profiles through system services. Figure 2 shown.

[0092] Among them, the application layer software (APPLICATION FRAMEWORK) interacts with the Bluetooth hardware through the Bluetooth API, and the application layer calls the Bluetooth API through the Binder IPC; the Bluetooth system service (BLUETOOTH PROCESS) is an Android APP, located in the packages / apps / Bluetooth directory, and also implements the Bluetooth service and profiles interface located in the Android framework layer. The application layer Bluetooth APP, as the core process of the system bluetooth, has the main task of calling the Bluetooth HAL layer through JNI to complete the Bluetooth request; the JNI code related to Bluetooth is located in the packages / apps / Bluetooth / jni path. JNI calls the HAL layer code, and when certain Bluetooth operations occur, it will also accept callbacks from the HAL layer, such as when a Bluetooth device is discovered; the hardware abstraction layer defines the Bluetooth API and the standard interface called by the Bluetooth process. Implementing these standard interfaces can ensure the normal operation of Bluetooth devices. The relevant header files of the hardware abstraction layer are placed in

[0093] In hardware / libhardware / include / hardware / bt_*.h, HAL consists of the Bluetooth core specification abstraction layer and the Bluetooth application specification hardware abstraction layer; the default Bluetooth stack is located in the system / bt directory. This stack implements a generic Bluetooth HAL, which can be customized by extending and changing the configuration; custom extensions and HCI layer tracking can be implemented by creating libbt-vendor modules and developing these components.

[0094] The protocol configuration information supported by the Android Bluetooth protocol stack includes HeadsetService, A2dpService, A2dpSinkService, HidService, HealthService, PanService, GattService, BluetoothMapService, HeadsetClientService, AvrcpControllerService, SapService, PbapClientService. The default transmission protocol configuration profile_supported_a2dp_sink and profile_supported_avrcp_controller of Android TV are disabled, so we need to enable the corresponding services so that TV can act as a sink and support the avrcp protocol. Figure 3As shown, the TV device switches from the Source end to the Sink end (Source, the source of the digital audio stream, responsible for sending the source data to the Sink end; Sink, the receiver of the digital audio stream, responsible for receiving the source data sent by the Source), and is discovered and connected by other devices as a discoverable device (slave device), but cannot search and connect to other Bluetooth devices. At this time, it can accept audio and other code streams from connected devices (such as mobile phones). When the TV is in the sink state, the mobile phone can discover and connect to the device.

[0095] Exemplarily, steps A10 to A30 include:

[0096] After the mobile device sends a connection request, the connection mode of the TV device is determined. If the connection mode is the sender mode, the Bluetooth mode of the TV device is switched from the sender mode to the receiver mode. If the switch is successful, a Bluetooth connection is established with the mobile device in the receiver mode. If the switch fails, an attempt is made to switch again, and after the number of attempts to switch again exceeds a preset number, the smart TV control is directly terminated. At this time, there is a possibility that the TV device does not support the receiver (sink) mode.

[0097] It should be noted that Bluetooth devices are usually divided into Source end for sending code streams and Sink end for receiving code streams. After entering the App interface related to this application, the TV device switches from Source end to Sink end, and is discovered and connected by other devices as a discoverable device (slave device). Android TV supports voice control. Users input media control commands through voice. After the APP receives the voice command, it controls the playback, pause, and other states of the mobile phone media through the Bluetooth AVRCP control protocol.

[0098] In addition, to operate A2DP related functions in Android, we must first obtain the A2DP proxy object. Through the proxy object, we can obtain the device list, so when the TV becomes a sink, it can display the connected devices through the proxy object, and will not display them if they are disconnected. At the same time, the A2DP proxy object can connect the device. If the connected Bluetooth device is disconnected or a previously connected device is detected, it can try to automatically connect by caching the ID of the previous device.

[0099] In step S10, the step of receiving multimedia data sent by a mobile device and playing the multimedia data includes:

[0100] Step S11, receiving multimedia stream data sent by a mobile device, wherein the mobile device encapsulates the multimedia stream data according to source data;

[0101] Step S12, decoding the multimedia stream data to obtain multimedia data;

[0102] Step S13: playing the multimedia data.

[0103] In this embodiment, it should be noted that the audio input end of the Audio Source encodes the audio data and sends it to the Sink end. After receiving the audio data, the Audio Sink performs a decoding operation to restore the audio.

[0104] In step S50, the step of controlling the playing state of the multimedia data according to the multimedia control instruction includes:

[0105] Step S51, converting the multimedia control instruction into a multimedia control signal;

[0106] Step S52: sending the multimedia control signal back to the mobile device, so that the mobile device can control the playing state of the source data according to the multimedia control signal, thereby controlling the playing state of the multimedia data.

[0107] In this embodiment, it should be noted that the multimedia control signal is a multimedia control instruction obtained from the television device and converted into a signal sent to the mobile device, and the playback status is the playback status when the television device plays multimedia data, such as pause, playing, etc.

[0108] Exemplarily, step S51 to step S52 include:

[0109] After receiving the multimedia control instruction, the multimedia control instruction is converted into a multimedia control signal, and the multimedia control signal is sent to the mobile device. After the mobile device receives the multimedia control signal, the playback status of the multimedia data is controlled through the Bluetooth AVRCP control protocol.

[0110] The embodiment of the present application provides a smart TV control method, namely, receiving multimedia data sent by a mobile device and playing the multimedia data; determining the data type of the multimedia data, and matching a corresponding control instruction set according to the data type; collecting voice control data; parsing the voice control data according to the control instruction set to obtain corresponding multimedia control instructions; controlling the playback state of the multimedia data according to the multimedia control instructions, thereby realizing voice control of the playback of multimedia data. For different types of multimedia data, it is necessary to determine the corresponding control instructions according to the specific data type. By obtaining the voice control data and performing specific analysis, combined with control instructions of multiple data types, more complex control operations can be performed on the media data being played, thereby improving the intelligence of the smart TV in playing mobile phone media data.

[0111] Embodiment 2

[0112] Further, refer to Figure 4 Based on the first embodiment of the present application, in another embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated hereafter. On this basis, in step S40, the step of parsing the voice control data according to the control instruction set to obtain the corresponding multimedia control instruction includes:

[0113] Step S41, performing voice recognition on the voice control data to obtain a voice control instruction;

[0114] Step S42, extracting at least one voice keyword from the voice control instruction;

[0115] Step S43, matching the voice keyword with each preset instruction in the control instruction set to obtain the preset instruction that matches successfully;

[0116] Step S44: taking the successfully matched preset instruction as a multimedia control instruction.

[0117] In this embodiment, it should be noted that the voice control instruction is the instruction information obtained by voice recognition of the obtained voice control data, the voice keyword is a word with a separate meaning in the voice control instruction, and the voice keyword usually includes representative key words, such as "play", "next song", "pause" and other keywords, and the preset instruction is a control instruction preset in the control instruction set, wherein the operation of the same preset instruction may be different in the control instruction set corresponding to different data types. The multimedia control instruction is the instruction corresponding to the control instruction set obtained according to the data type.

[0118] Exemplarily, steps S41 to S44 include:

[0119] Perform speech recognition on the speech control data to obtain recognized voice control instructions, extract speech keywords from the recognized voice control instructions, match the speech keywords with each preset instruction in the obtained control instruction set to obtain a successfully matched preset instruction, and use the successfully matched preset instruction as a multimedia control instruction.

[0120] In step S43, the step of matching the voice keyword with each preset instruction in the control instruction set to obtain the preset instruction that matches successfully includes:

[0121] Step B10 determines the word meaning type corresponding to each of the voice keywords, wherein the word meaning type includes one or more of an execution action, a control subject, and a control condition;

[0122] Step B20, obtaining each preset instruction in the control instruction set;

[0123] Step B30, if there are multiple semantic types for each of the voice keywords, then traverse each of the semantic types, determine the preset instructions in each of the preset instructions that match the traversed semantic type, and use the preset instructions that match the traversed semantic type as preset instructions that have successfully matched.

[0124] In this embodiment, it should be noted that when there are multiple voice keywords, they can be divided into different categories according to their meanings, such as execution action keywords "pause", "play", "increase", "skip", etc., control subject keywords "volume", "brightness", "color", etc., control condition keywords "2s" (for example, pause 2s), "10" (for example, increase the volume by 10), etc. There are multiple preset instructions in the control instruction set, including various types of execution action keywords, control subject keywords, and control condition keywords.

[0125] Exemplarily, steps B10 to B30 include:

[0126] The extracted voice keywords are classified into execution action keywords, control subject keywords and control condition keywords according to their respective meanings, which can be one or more of them. The meaning type corresponding to each of the voice keywords is determined, and the meaning type includes one or more of execution action, control subject and control condition, and each preset instruction in the obtained control instruction set is obtained. The execution action keywords, control subject keywords and control condition keywords are matched with each preset instruction in turn. If each voice keyword has multiple meaning types, each meaning type is traversed to determine the preset instructions in each preset instruction that match the traversed meaning type, and the preset instructions that match the traversed meaning type are used as preset instructions that have been successfully matched. If the match fails, it means that the voice keyword is meaningless and the current smart TV control is invalid.

[0127] In step B20, after the step of obtaining each preset instruction in the control instruction set, the method further includes:

[0128] Step C10, if each of the voice keywords fails to match each of the preset instructions, it is determined that each of the word meaning types does not match each of the voice keywords, the smart TV control is terminated, and a recognition failure reminder is sent. Based on the recognition failure reminder, the voice control instructions are re-collected, and the execution step: the voice control data is parsed according to the control instruction set to obtain the corresponding multimedia control instructions.

[0129] Exemplarily, step C10 includes:

[0130] If all voice keywords fail to match with all preset instructions, it is determined that all word meaning types do not match with all voice keywords, the smart TV control is terminated, and a recognition failure reminder is sent. Based on the recognition failure reminder, the voice control instructions are re-collected and the execution steps are: the voice control data is parsed according to the control instruction set to obtain the corresponding multimedia control instructions.

[0131] An embodiment of the present application provides a method for obtaining multimedia control instructions based on voice, that is, performing voice recognition on the voice control data to obtain voice control instructions; extracting at least one voice keyword from the voice control instructions; matching the voice keywords with each preset instruction in the control instruction set to obtain the preset instructions that are successfully matched; and using the preset instructions that are successfully matched as multimedia control instructions, thereby achieving the acquisition of more specific and complex control instructions based on voice.

[0132] Embodiment 3

[0133] The present application also provides a method Figure 5 The smart TV control device shown is applied to a smart TV device, and the smart TV control device includes:

[0134] The multimedia receiving module D10 is used to receive multimedia data sent by the mobile device and play the multimedia data;

[0135] A data type module D20, used to determine the data type of the multimedia data, and match a corresponding control instruction set according to the data type;

[0136] The voice acquisition module D30 is used to collect voice control data;

[0137] A voice analysis module D40, used to analyze the voice control data according to the control instruction set to obtain corresponding multimedia control instructions;

[0138] The control module D50 is used to control the playing state of the multimedia data according to the multimedia control instruction.

[0139] Optionally, the speech analysis module D40 is further used for:

[0140] Performing voice recognition on the voice control data to obtain a voice control instruction;

[0141] Extracting at least one voice keyword from the voice control instruction;

[0142] Matching the voice keyword with each preset instruction in the control instruction set to obtain the preset instruction that matches successfully;

[0143] The preset instruction that is successfully matched is used as the multimedia control instruction.

[0144] Optionally, the speech analysis module D40 is further used for:

[0145] Determine the word meaning type corresponding to each of the voice keywords, wherein the word meaning type includes one or more of an execution action, a control subject, and a control condition;

[0146] Obtaining each preset instruction in the control instruction set;

[0147] If there are multiple meaning types for each of the voice keywords, each of the meaning types is traversed, and a preset instruction in each of the preset instructions that matches the traversed meaning type is determined, and the preset instruction that matches the traversed meaning type is used as a successfully matched preset instruction.

[0148] Optionally, the speech analysis module D40 is further used for:

[0149] If each of the voice keywords fails to match each of the preset instructions, it is determined that each of the word meaning types does not match each of the voice keywords, the smart TV control is terminated, and a recognition failure reminder is sent. Based on the recognition failure reminder, the voice control instructions are re-collected and the execution step is: the voice control data is parsed according to the control instruction set to obtain the corresponding multimedia control instructions.

[0150] Optionally, the multimedia receiving module D10 is further used for:

[0151] Receiving multimedia stream data sent by a mobile device, wherein the mobile device encapsulates the multimedia stream data according to source data;

[0152] Decoding the multimedia stream data to obtain multimedia data;

[0153] The multimedia data is played.

[0154] Optionally, the smart TV control device is also used for:

[0155] After the mobile device sends a connection request, determining a connection mode of the television device;

[0156] If the connection mode is a sender mode, modifying the preset transmission protocol configuration to the protocol configuration information to switch the connection mode to a receiver mode;

[0157] A data transmission connection is established with the mobile device in a receiving end mode.

[0158] Optionally, the control module D50 is further used for:

[0159] Converting the multimedia control instruction into a multimedia control signal;

[0160] The multimedia control signal is sent back to the mobile device, so that the mobile device can control the playing state of the source data according to the multimedia control signal, thereby controlling the playing state of the multimedia data.

[0161] The smart TV control device provided by the present invention adopts the smart TV control method in the above-mentioned embodiment 1 or embodiment 2, and solves the technical problem that the smart TV plays mobile phone media data with low intelligence. Compared with the prior art, the beneficial effects of the smart TV control device provided by the embodiment of the present invention are the same as the beneficial effects of the smart TV control method provided by the above-mentioned embodiment, and other technical features in the smart TV control device are the same as the features disclosed in the above-mentioned embodiment method, which will not be repeated here.

[0162] Embodiment 4

[0163] An embodiment of the present invention provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the smart TV control method in the above-mentioned embodiment one.

[0164] Reference below Figure 6 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. The electronic device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0165] like Figure 6 As shown, the electronic device E90 may include a processing device E10 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory E20 (ROM) or a program loaded from a storage device into a random access memory E30 (RAM). In RAME30, various programs and data required for the operation of the electronic device are also stored. The processing device E10, ROME20, and RAME30 are connected to each other via a bus. An input / output (I / O) interface E4 is also connected to the bus.

[0166] Typically, the following systems can be connected to the I / O interface: input devices E50 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices E60 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices E70 including, for example, a magnetic tape, a hard disk, etc.; and communication devices E80. The communication device E80 can allow the electronic device E90 to communicate wirelessly or wired with other devices to exchange data. Although electronic devices with various systems are shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have alternatively.

[0167] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device E70, or installed from ROM E20. When the computer program is executed by a processing device, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0168] The electronic device provided by the present invention adopts the smart TV control method in the above-mentioned embodiment 1 or embodiment 2 to solve the technical problem that the smart TV plays mobile phone media data with low intelligence. Compared with the prior art, the beneficial effects of the electronic device provided by the embodiment of the present invention are the same as the beneficial effects of the smart TV control method provided by the above-mentioned embodiment 1, and other technical features in the electronic device are the same as the features disclosed in the above-mentioned embodiment method, which will not be described in detail here.

[0169] It should be understood that the various parts of the present disclosure can be implemented with hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0170] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

[0171] Embodiment 5

[0172] This embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, and the computer-readable program instructions are used to execute the method for controlling a smart TV in the first embodiment above.

[0173] The computer-readable storage medium provided in the embodiment of the present invention may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0174] The computer-readable storage medium may be included in the electronic device, or may exist independently without being installed in the electronic device.

[0175] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by an electronic device, the electronic device: receives multimedia data sent by a mobile device and plays the multimedia data; determines the data type of the multimedia data, and matches a corresponding control instruction set according to the data type; collects voice control data; parses the voice control data according to the control instruction set to obtain corresponding multimedia control instructions; and controls the playback status of the multimedia data according to the multimedia control instructions.

[0176] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0177] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0178] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of the module does not limit the unit itself in some cases.

[0179] The computer-readable storage medium provided by the present invention stores computer-readable program instructions for executing the above-mentioned smart TV control method, which solves the technical problem that the smart TV plays mobile phone media data with low intelligence. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiment of the present invention are the same as the beneficial effects of the smart TV control method provided by the above-mentioned embodiment 1 or embodiment 2, and will not be repeated here.

[0180] Embodiment 6

[0181] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned smart TV control method when executed by a processor.

[0182] The computer program product provided by the present application solves the technical problem that the smart TV plays mobile phone media data with low intelligence. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present invention are the same as the beneficial effects of the smart TV control method provided by the above-mentioned embodiment 1 or embodiment 2, which will not be described in detail here.

[0183] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.

Claims

1. A smart TV control method, characterized in that: Applied to a television device, the smart television control method comprises: Receiving multimedia data sent by a mobile device and playing the multimedia data; Determine a data type of the multimedia data, and match a corresponding control instruction set according to the data type; Collect voice control data; Parsing the voice control data according to the control instruction set to obtain corresponding multimedia control instructions; Controlling the playing state of the multimedia data according to the multimedia control instruction; Before the step of receiving multimedia data sent by a mobile device as a receiving end and playing the multimedia data, the method further includes: After the mobile device sends a Bluetooth connection request, determining a connection mode of the television device; If the connection mode is a sender mode, modifying the preset transmission protocol configuration to the protocol configuration information to switch the connection mode to a receiver mode; Establishing a data transmission connection with the mobile device in a receiving end mode; Wherein, the step of controlling the playing state of the multimedia data according to the multimedia control instruction comprises: Converting the multimedia control instruction into a multimedia control signal; The multimedia control signal is sent back to the mobile device, so that the mobile device can control the playing state of the source data according to the multimedia control signal based on the Bluetooth AVRCP control protocol, thereby controlling the playing state of the multimedia data.

2. The smart TV control method according to claim 1, characterized in that: The step of parsing the voice control data according to the control instruction set to obtain corresponding multimedia control instructions includes: Performing voice recognition on the voice control data to obtain a voice control instruction; Extracting at least one voice keyword from the voice control instruction; Matching the voice keyword with each preset instruction in the control instruction set to obtain the preset instruction that matches successfully; The preset instruction that is successfully matched is used as the multimedia control instruction.

3. The smart TV control method according to claim 2, characterized in that: The step of matching the voice keyword with each preset instruction in the control instruction set to obtain the preset instruction that matches successfully includes: Determine the word meaning type corresponding to each of the voice keywords, wherein the word meaning type includes one or more of an execution action, a control subject, and a control condition; Obtaining each preset instruction in the control instruction set; If there are multiple meaning types for each of the voice keywords, each of the meaning types is traversed, and a preset instruction in each of the preset instructions that matches the traversed meaning type is determined, and the preset instruction that matches the traversed meaning type is used as a successfully matched preset instruction.

4. The smart TV control method according to claim 3, characterized in that: After the step of obtaining each preset instruction in the control instruction set, the method further includes: If each of the voice keywords fails to match each of the preset instructions, it is determined that each of the word meaning types does not match each of the voice keywords, the smart TV control is terminated, and a recognition failure reminder is sent. Based on the recognition failure reminder, the voice control instructions are re-collected and the execution step is: the voice control data is parsed according to the control instruction set to obtain the corresponding multimedia control instructions.

5. The smart TV control method according to claim 1, characterized in that: The step of receiving multimedia data sent by a mobile device and playing the multimedia data comprises: Receiving multimedia stream data sent by a mobile device, wherein the mobile device encapsulates the multimedia stream data according to source data; Decoding the multimedia stream data to obtain multimedia data; The multimedia data is played.

6. A smart TV control device, characterized in that: Applied to television equipment, the smart television control device comprises: A multimedia receiving module, used for receiving multimedia data sent by a mobile device and playing the multimedia data; A data type module, used to determine the data type of the multimedia data and match a corresponding control instruction set according to the data type; Voice acquisition module, used to collect voice control data; A voice analysis module, used for analyzing the voice control data according to the control instruction set to obtain corresponding multimedia control instructions; A control module, used for controlling the playing state of the multimedia data according to the multimedia control instruction; Wherein, the smart TV control device is also used for: After the mobile device sends a Bluetooth connection request, determining a connection mode of the television device; If the connection mode is a sender mode, modifying the preset transmission protocol configuration to the protocol configuration information to switch the connection mode to a receiver mode; Establishing a data transmission connection with the mobile device in a receiving end mode; Wherein, the control module is specifically used for: Converting the multimedia control instruction into a multimedia control signal; The multimedia control signal is sent back to the mobile device, so that the mobile device can control the playing state of the source data according to the multimedia control signal based on the Bluetooth AVRCP control protocol, thereby controlling the playing state of the multimedia data.

7. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the smart TV control method according to any one of claims 1 to 5.

8. A readable storage medium, characterized in that: The readable storage medium stores a program for implementing the smart TV control method, and the program for implementing the smart TV control method is executed by a processor to implement the steps of the smart TV control method as claimed in any one of claims 1 to 5.