Television interaction control method and device, television and storage medium
By introducing a two-way communication module into the TV, two-way communication with external devices is achieved, and the problem of single interaction mode in traditional TV is solved, improving interactivity and user experience.
Patent Information
- Application Number
- CN202411229485.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-12-06
AI Technical Summary
Traditional TVs do not have smart systems, and the interaction between users and TVs is limited, and there is a lack of more diverse interaction methods.
The two-way communication module is adopted to realize the two-way communication between the TV and external devices through the Bluetooth module, receive and send data packets, analyze data types and perform corresponding output actions, enhancing the interactiveness of the TV.
In the absence of an intelligent system, the data interaction capability between the TV and external devices is improved, and the user interaction experience and functionality are enhanced.
Smart Images

Figure CN119094828A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of television technology, and in particular to a television interactive control method, device, television, and storage medium. Background Art
[0002] With the development of digital TV technology in the past decade and the popularization of mobile phones, TVs have gradually developed towards intelligence and personalization to meet the personalized needs of different customers. In conventional TV use, it is usually through the TV's intelligent system to communicate and interact with other devices.
[0003] However, not all TVs are equipped with smart systems. For TVs that are not equipped with smart systems, the ways to interact with them are relatively limited. Users can only interact with the TV through a physical remote control, and the functions are relatively simple.
[0004] Therefore, how to add more diverse interactive methods to traditional televisions without equipping them with intelligent systems has become a technical problem that needs to be solved urgently.
[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0006] The main purpose of the present application is to provide a method and device for interactive control of a television, a television and a storage medium, aiming to solve the technical problem of how to improve the interactivity of a television without installing an intelligent system.
[0007] To achieve the above-mentioned purpose, the present application proposes a method for interactive control of a television, the method being applied to a television, the television comprising: a two-way communication module; the method comprising:
[0008] When the television is used as a receiver, receiving a first data packet output by an external device through the two-way communication module;
[0009] Parsing the first data packet according to the data type of the first data packet to obtain parsed data;
[0010] Outputting the parsed data according to the output action corresponding to the preset data type;
[0011] When the television acts as a sender, the pre-sent second data packet is output to the external device through the two-way communication module, so that the external device outputs the second data packet.
[0012] In one embodiment, the two-way communication module includes: a Bluetooth module; before the step of receiving the first data packet output by the external device through the two-way communication module, the method further includes:
[0013] When receiving a receiving instruction, switching the Bluetooth module to a discoverable state;
[0014] Upon receiving the first scanning request, sending first authentication information to the external device that initiated the first scanning request;
[0015] When a connection request in response to the first authentication information is received, a communication connection is established with the external device.
[0016] In one embodiment, the step of parsing the first data packet according to the data type of the first data packet to obtain parsed data includes:
[0017] Analyze the header of the first data packet to obtain the data type and encoding method of the first data packet;
[0018] The packet body of the first data packet is decoded according to the data type and the encoding method to obtain parsed data.
[0019] In one embodiment, the data type includes: a sound type; and the step of outputting the parsed data according to the preset corresponding output action of the data type includes:
[0020] Determining in a preset action library that the output action corresponding to the sound type is output through a speaker;
[0021] Converting the parsed data into audio data in a preset audio format;
[0022] The audio data is output through a speaker of the television.
[0023] In one embodiment, the data type includes: a playlist type; and the step of outputting the parsed data according to the preset corresponding output action of the data type includes:
[0024] Determining in a preset action library that the output action corresponding to the playlist type is output through a display screen;
[0025] Parsing the song names included in the data type and the song data corresponding to each of the song names, wherein the song data includes: audio data and video data;
[0026] Storing the song titles and the song data in a preset storage space of the television in correspondence;
[0027] Converting each of the song titles into a playlist page according to a preset playlist template, and displaying the playlist page through a display screen of the television, wherein the playlist page includes a plurality of option controls corresponding to each of the song titles;
[0028] When it is detected that a target option control is triggered, searching the preset storage space for target audio data and target video data corresponding to the song name of the target option control;
[0029] The target video data is presented through the display screen, and the audio data is output through the speakers of the television.
[0030] In one embodiment, before the step of outputting the pre-sent second data packet to the external device through the bidirectional communication module, the method further includes:
[0031] When receiving the sending instruction, broadcasting a second scanning request through the Bluetooth module;
[0032] receiving a plurality of second authentication information based on the second scanning request;
[0033] Determining target authentication information corresponding to the external device to be connected in each of the second authentication information;
[0034] A connection request is sent to the device address in the target authentication information to establish a communication connection with the external device.
[0035] In one embodiment, before the step of outputting the pre-sent second data packet to the external device through the bidirectional communication module, the method further includes:
[0036] Acquiring the sound data of the television in real time;
[0037] The sound data is encapsulated into a second data packet according to a preset encapsulation format by the two-way communication module.
[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes an interactive control device for a television, wherein the device is arranged on the television, and the television comprises: a two-way communication module; the device comprises:
[0039] A receiving module, used for receiving a first data packet output by an external device through the two-way communication module when the television is used as a receiving party;
[0040] A parsing module, configured to parse the first data packet according to the data type of the first data packet to obtain parsed data;
[0041] An output module, configured to output the parsed data according to a preset output action corresponding to the data type;
[0042] The sending module is used for outputting the pre-sent second data packet to the external device through the two-way communication module when the television acts as a sender, so that the external device outputs the second data packet.
[0043] In addition, to achieve the above-mentioned purpose, the present application also proposes a television, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the interactive control method of the television as described above.
[0044] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the interactive control method of the television as described above are implemented.
[0045] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the interactive control method of a television as described above are implemented.
[0046] The present application provides an interactive control method for a television. The present application enables a television set that is not equipped with an intelligent system to perform two-way communication with an external device through a two-way communication module. When the television acts as a receiver, the first data packet output by the external device to the television is received through the two-way communication module, and then the first data packet is analyzed. According to the data type of the first data packet, a corresponding output action is selected to output the first data packet. When the television acts as an outputter, the second data packet of the television itself is output to the external device, so that the external device can output the second data packet of the television to realize interaction with the external device.
[0047] In summary, the present application realizes two-way communication between the TV and external devices by setting up a two-way communication module, so that the TV can interact with other external devices for data without an intelligent system, thereby improving the interactivity of the TV. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] 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.
[0049] 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 work.
[0050] Figure 1 A flowchart diagram of a first embodiment of the interactive control method for a television of the present application;
[0051] Figure 2A diagram showing a connection framework between a television and an external device involved in an embodiment of the interactive control method for a television of the present application;
[0052] Figure 3 A schematic diagram of a receiving communication flow provided for Embodiment 2 of the interactive control method for a television of the present application;
[0053] Figure 4 A schematic diagram of the module structure of the interactive control device for a television according to an embodiment of the present application;
[0054] Figure 5 Schematic diagram of the device structure of the hardware operating environment involved in the interactive control method of the television in the embodiment of the present application.
[0055] 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
[0056] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0057] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0058] The main solution of the embodiment of the present application is: when the TV acts as a receiver, a first data packet output by an external device is received through the two-way communication module; the first data packet is parsed according to the data type of the first data packet to obtain parsed data; the parsed data is output according to the preset corresponding output action of the data type; when the TV acts as a sender, a pre-sent second data packet is output to the external device through the two-way communication module, so that the external device outputs the second data packet.
[0059] In this embodiment, for the convenience of description, the following description is made with the television as the execution subject.
[0060] With the development of digital TV technology in the past decade and the popularization of mobile phones, TVs have gradually developed towards intelligence and personalization to meet the personalized needs of different customers. In conventional TV use, it is usually through the TV's intelligent system to communicate and interact with other devices.
[0061] However, not all TVs are equipped with smart systems. For TVs that are not equipped with smart systems, the ways to interact with them are relatively limited. Users can only interact with the TV through a physical remote control, and the functions are relatively simple.
[0062] Therefore, how to add more diverse interactive methods to traditional televisions without equipping them with intelligent systems has become a technical problem that needs to be solved urgently.
[0063] In response to the above problems, the present application provides an interactive control method for a television. The present application enables a television without an intelligent system installed to communicate bidirectionally with an external device through a bidirectional communication module. When the television acts as a receiver, the first data packet output by the external device to the television is received through the bidirectional communication module, and then the first data packet is analyzed. According to the data type of the first data packet, a corresponding output action is selected to output the first data packet. When the television acts as an outputter, the second data packet of the television itself is output to the external device, so that the external device can output the second data packet of the television to realize interaction with the external device.
[0064] In summary, the present application realizes two-way communication between the TV and external devices by setting up a two-way communication module, so that the TV can interact with other external devices for data without an intelligent system, thereby improving the interactivity of the TV.
[0065] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a television, etc., or an electronic device, television, etc. capable of realizing the above functions. The following takes a television as an example to illustrate this embodiment and the following embodiments.
[0066] Based on this, the embodiment of the present application provides an interactive control method for a television, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the interactive control method of the television of the present application.
[0067] In this embodiment, the interactive control method of a television is applied to a television, and the television comprises: a two-way communication module; the method comprises steps S10 to S40:
[0068] Step S10, when the television is used as a receiver, receiving a first data packet output by an external device through the two-way communication module;
[0069] It should be noted that, in this embodiment, the first data packet refers to a data packet sent by an external device, which includes a specific type of data. The two-way communication module refers to a communication module that can support data transmission and reception at the same time. In this embodiment, the two-way communication module can be a Wi-Fi module, a Bluetooth module, a USB module or any other module that supports two-way data transmission.
[0070] In this embodiment, when the user uses the television as a receiving party in the interaction, the first data packet from the external device is received through the built-in two-way communication module.
[0071] Step S20, parsing the first data packet according to the data type of the first data packet to obtain parsed data;
[0072] It should be noted that, in this embodiment, the data type refers to the category of data contained in the data packet, such as audio data, video data, control commands, etc., and the parsed data refers to the data after parsing, which can be in the specific form of audio samples, video frames, control instructions, etc.
[0073] In this embodiment, the television parses the data packet according to the data type field in the first data packet, and extracts specific parsed data therefrom. The parsed data refers to data converted into a format that the television can understand and process according to the type of the data packet.
[0074] Furthermore, in a feasible implementation manner, the above step S20 may include steps S21 to S22:
[0075] Step S21, analyzing the header of the first data packet to obtain the data type and encoding method of the first data packet;
[0076] It should be noted that, in this embodiment, the packet header refers to the header information of the data packet, which includes metadata about the data packet, such as data type, encoding method, etc. The encoding method refers to the encoding format of the data in the data packet, such as MP3, AAC, H.264, etc.
[0077] In this embodiment, the data packet is first split into a packet header and a packet body, and the television first analyzes the packet header of the first data packet to determine the data type of the data packet and the data encoding method.
[0078] Step S22: decode the body of the first data packet according to the data type and the encoding method to obtain parsed data.
[0079] It should be noted that, in this embodiment, the packet body refers to the payload portion of the data packet, which includes the actual data.
[0080] In this embodiment, the television decodes the packet body of the first data packet according to the data type and encoding method, thereby obtaining parsed data that can be understood and processed by the television.
[0081] Step S30, outputting the parsed data according to the preset corresponding output action of the data type;
[0082] It should be noted that, in this embodiment, the output action refers to a specific operation performed by the television according to the type of parsed data, such as playing audio, displaying video, etc.
[0083] In this embodiment, the TV will execute a preset output action according to the data type of the parsed data, which means that the TV will decide how to process the data according to the data type, such as playing audio, displaying video or executing a certain control command.
[0084] Step S40, when the television acts as a sender, outputs the pre-sent second data packet to the external device through the two-way communication module, so that the external device outputs the second data packet.
[0085] It should be noted that, in this embodiment, the second data packet is a data packet sent by the television to the external device, and includes data of a specific type.
[0086] In this embodiment, when the user uses the television as the sender, the pre-sent second data packet is sent to the external device through the two-way communication module, and the external device can output the second data packet after receiving the second data packet.
[0087] In this embodiment, through the above steps, two-way data interaction is achieved between the television and the external device, thereby enhancing the functionality of the television and the user interaction experience.
[0088] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above embodiment 1 can be referred to the above introduction, and will not be repeated later. On this basis, the two-way communication module includes: a Bluetooth module; before the above step S10, the method may also include steps A10 to A30:
[0089] Step A10, when receiving the receiving instruction, switching the Bluetooth module to a discoverable state;
[0090] It should be noted that, in this embodiment, please refer to Figure 2 , Figure 2 This is a connection framework diagram of a television and an external device involved in an embodiment of the interactive control method of the television of the present application, such as Figure 2 As shown, the Bluetooth module is set in the TV and connected to the chip data of the TV. At the same time, it is connected to other external devices such as headphones, mobile phones, microphones, etc. through Bluetooth. The receiving instruction refers to the instruction to set the Bluetooth module of the TV to the receiving state, and the discoverable state refers to the state in which the Bluetooth device can be searched by other Bluetooth devices.
[0091] In this embodiment, when the TV receives a receiving instruction for starting the Bluetooth pairing process, it switches its built-in Bluetooth module to a state that can be discovered by other Bluetooth devices. The Bluetooth module begins to broadcast a special signal indicating that the device is in pairing mode and can be searched and connected by other devices.
[0092] Step A20, upon receiving the first scanning request, sending first authentication information to the external device that initiated the first scanning request;
[0093] It should be noted that, in this embodiment, the first scanning request is a search request sent by the external device to find a pairable Bluetooth device, and the first authentication information refers to information sent by the TV to the external device for authenticating and confirming the pairing process.
[0094] In this embodiment, when the Bluetooth module of the TV is in a discoverable state, if the TV receives a first scanning request from an external device, the TV will send first authentication information to the external device. The first authentication information may include some necessary pairing information so that the external device can confirm whether to pair with the TV.
[0095] Step A30: upon receiving a connection request in response to the first authentication information, establishing a communication connection with the external device.
[0096] It should be noted that, in this embodiment, the connection request refers to a request sent by an external device to the television for establishing a Bluetooth connection.
[0097] In this embodiment, after receiving the first authentication information, the external device will send a connection request to confirm the establishment of a connection with the Bluetooth module of the television. At this time, the television will receive the connection request and establish a communication connection with the external device.
[0098] Furthermore, in a feasible implementation manner, the data type includes: sound type; the above step S30 may include steps S31 to S33:
[0099] Step S31, determining in a preset action library that the output action corresponding to the sound type is output through a speaker;
[0100] It should be noted that, in this embodiment, the preset action library refers to a series of predefined operation sets stored inside the TV, and each data type has a corresponding output action.
[0101] In this embodiment, the television will search for an operation corresponding to the sound type in a preset action library, and for data of the sound type, the television will determine that the corresponding output action is output through a speaker.
[0102] Step S32, converting the parsed data into audio data in a preset audio format;
[0103] It should be noted that, in this embodiment, the preset audio format refers to one or more audio formats supported by the television, such as WAV, MP3, AAC, etc.
[0104] In this embodiment, the TV converts the parsed data into a preset audio format so as to be played through the speakers.
[0105] Step S33: output the audio data through the speaker of the television.
[0106] In this embodiment, after the audio data in the preset audio format is obtained, the audio data is output through the speaker, so that the sound of the external device can be played through the television.
[0107] For example, in order to help understand the receiving communication implementation process of the interactive control method of the television obtained by combining this embodiment with the above-mentioned embodiment 1, please refer to Figure 3 , Figure 3 A schematic diagram of a receiving communication flow of an interactive control method for a television is provided, specifically:
[0108] When the user uses the mobile phone as a peripheral module and wants to communicate with the TV, the user turns on the Bluetooth function of the mobile phone and the TV, then uses the mobile phone to search for Bluetooth, and after finding the Bluetooth address of the TV, matches with the TV. At this time, the mode of the Bluetooth module of the TV is passive receiving mode. When the mobile phone is pairing, if it is not paired, the matching steps are repeated until the n+1th match is successful. Then the Bluetooth module receives the audio data sent by the external device, decodes it through the TV main control unit, and then outputs the sound through the sound output unit. The sound output unit is usually a speaker, so that the audio in the mobile phone can be played through the TV.
[0109] Based on the first embodiment and / or the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the first embodiment and / or the second embodiment can be referred to the above description, and will not be described in detail later. On this basis, the data types include: playlist type; the above step S30 can also include B10 to B60:
[0110] Step B10, determining in a preset action library that the output action corresponding to the song list type is output through a display screen;
[0111] In this embodiment, the TV will search for operations corresponding to the playlist type in a preset action library. For data of the playlist type, the TV will determine the corresponding output action as outputting the playlist page through the display screen.
[0112] Step B20, parsing the song names included in the data type and the song data corresponding to each of the song names, wherein the song data includes: audio data and video data;
[0113] In this embodiment, the TV will further parse the playlist type data to extract the song names and the audio data and video data corresponding to each song.
[0114] Step B30, storing each song title and each song data in a preset storage space of the television in correspondence;
[0115] In this embodiment, the television stores the parsed song name and its corresponding audio data and video data in a preset storage space of the television.
[0116] Step B40, converting each of the song titles into a song list page according to a preset song list template, and displaying the song list page through the display screen of the television, wherein the song list page includes a plurality of option controls corresponding to each of the song titles;
[0117] In this embodiment, the TV will generate a playlist page based on a preset playlist template and display it through the display screen. The playlist page contains a list of song titles. There is an option control next to each song title, and the user can use these option controls to choose to play a song.
[0118] Step B50, when it is detected that the target option control is triggered, searching the preset storage space for target audio data and target video data corresponding to the song name of the target option control;
[0119] In this embodiment, when the user triggers an option control on the playlist page through a remote control or other input device, the TV will find the corresponding song name according to the triggered option control, and search for the audio data and video data of the song in the preset storage space.
[0120] Step B60, displaying the target video data through the display screen, and outputting the audio data through the speakers of the TV.
[0121] In this embodiment, the television plays the target video data through the display screen and plays the corresponding audio data through the speaker.
[0122] As an example, when a user wants to use a TV to sing karaoke, the user can connect the microphone to the TV via Bluetooth or other means. The TV can play the sound of the microphone through the speaker in real time as mentioned in the above embodiment. At the same time, the user can connect an external device to the TV via Bluetooth or a USB interface. The TV imports the song list stored in the external device and automatically generates a song list request interface according to a preset template. After the user selects the song he wants to sing, the audio and MV of the song can be played through the TV, and the human voice in the microphone can be played at the same time, allowing the user to achieve the effect of home karaoke.
[0123] In addition, a vocal elimination function can be built into the TV to automatically eliminate the vocals in the audio of the imported song, further improving the user's karaoke experience using the TV.
[0124] Based on the first to third embodiments of the present application, in the fourth embodiment of the present application, the same or similar contents as those of the first to third embodiments can be referred to the above description, and will not be repeated in the following. On this basis, before the above step S40, the method may further include steps C10 to C40:
[0125] Step C10, when receiving the sending instruction, broadcasting a second scanning request through the Bluetooth module;
[0126] In this embodiment, when the user uses the TV as the sender and issues a sending instruction to the TV, the TV will broadcast a second scanning request through its built-in Bluetooth module. This request is for searching for surrounding connectable Bluetooth devices.
[0127] Step C20, receiving a plurality of second authentication information based on the second scanning request;
[0128] In this embodiment, the television receives second authentication information from surrounding connectable Bluetooth devices based on the previously broadcast second scanning request. The second authentication information usually includes basic information of the device, such as the device name, device address, etc.
[0129] Step C30, determining the target authentication information corresponding to the external device to be connected in each of the second authentication information;
[0130] In this embodiment, from the received multiple second authentication information, the television determines specific target authentication information corresponding to an external device to be connected. The external device can be a device of a specific type or a device selected by the user.
[0131] Step C40: Send a connection request to the device address in the target authentication information to establish a communication connection with the external device.
[0132] In this embodiment, the TV will send a connection request to the device address specified in the target authentication information to try to establish a Bluetooth connection with the external device. Once the connection is successful, the TV can transmit data with the external device.
[0133] Furthermore, before the above step S40, the method may further include steps D10 to D20:
[0134] Step D10, acquiring the sound data of the television in real time;
[0135] Step D20: encapsulate the sound data into a second data packet according to a preset encapsulation format through the two-way communication module.
[0136] In this embodiment, the TV will obtain the sound data generated by its internal sound processor in real time. The sound data can come from the content played by the TV, such as live programs, movies, games, etc., and then encapsulate the obtained sound data according to a preset encapsulation format to form a second data packet that can be transmitted. The encapsulation process usually includes encoding the sound data into a specific format, such as SBC, AAC, aptX, etc., and adding necessary packet header information to facilitate transmission and parsing at the receiving end.
[0137] Through the above steps, the TV can obtain sound data in real time and encapsulate it into a second data packet so that it can be sent to the external device through the Bluetooth module. In this way, the external device (such as Bluetooth headphones, Bluetooth speakers, etc.) can receive these data packets and extract sound data from them for playback. The whole process ensures the effective transmission of sound data and improves the audio experience of users when using external devices.
[0138] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the interactive control method of the television of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.
[0139] This application also provides an interactive control device for a television, please refer to Figure 4 The interactive control device of the television is arranged on the television, and the television comprises: a two-way communication module; the device comprises:
[0140] A receiving module 10, configured to receive a first data packet output by an external device through the two-way communication module when the television is used as a receiver;
[0141] A parsing module 20, configured to parse the first data packet according to the data type of the first data packet to obtain parsed data;
[0142] An output module 30, configured to output the parsed data according to a preset output action corresponding to the data type;
[0143] The sending module 40 is used for outputting the pre-sent second data packet to the external device through the two-way communication module when the television acts as a sender, so that the external device outputs the second data packet.
[0144] Optionally, the two-way communication module includes: a Bluetooth module; and the interactive control device of the television is further used for:
[0145] When a receiving instruction is received, the Bluetooth module is switched to a discoverable state; when a first scanning request is received, first authentication information is sent to the external device that initiates the first scanning request; when a connection request in response to the first authentication information is received, a communication connection is established with the external device.
[0146] Optionally, the parsing module is also used to:
[0147] The packet header of the first data packet is analyzed to obtain the data type and encoding method of the first data packet; and the packet body of the first data packet is decoded according to the data type and the encoding method to obtain parsed data.
[0148] Optionally, the data type includes: sound type; the output module is also used for:
[0149] Determine in a preset action library that the output action corresponding to the sound type is output through a speaker; convert the parsed data into audio data in a preset audio format; and output the audio data through the speaker of the television.
[0150] Optionally, the data type includes: playlist type; the output module is also used for:
[0151] Determine in a preset action library that the output action corresponding to the playlist type is output through a display screen; parse the song names included in the data type and the song data corresponding to each of the song names, wherein the song data includes: audio data and video data; store each of the song names and each of the song data in a preset storage space of the TV in correspondence; convert each of the song names into a playlist page according to a preset playlist template, and display the playlist page through the display screen of the TV, wherein the playlist page includes multiple option controls corresponding to each of the song names; when it is detected that a target option control is triggered, search the preset storage space for target audio data and target video data corresponding to the song name of the target option control; display the target video data through the display screen, and output the audio data through the speaker of the TV.
[0152] Optionally, the interactive control device of the television is also used for:
[0153] When a sending instruction is received, a second scanning request is broadcasted through the Bluetooth module; multiple second authentication information are received based on the second scanning request; target authentication information corresponding to the external device to be connected is determined in each second authentication information; and a connection request is sent to the device address in the target authentication information to establish a communication connection with the external device.
[0154] Optionally, the interactive control device of the television is also used for:
[0155] Acquire the sound data of the television in real time; and encapsulate the sound data into a second data packet according to a preset encapsulation format through the two-way communication module.
[0156] The interactive control device for a television provided in the present application adopts the interactive control method for a television in the above-mentioned embodiment, and can solve the technical problem of how to improve the interactivity of a television without an intelligent system. Compared with the prior art, the beneficial effects of the interactive control device for a television provided in the present application are the same as the beneficial effects of the interactive control method for a television provided in the above-mentioned embodiment, and other technical features in the interactive control device for a television are the same as the features disclosed in the above-mentioned embodiment method, which will not be described in detail here.
[0157] The present application provides a television, comprising: 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 interactive control method of the television in the above-mentioned embodiment 1.
[0158] Reference below Figure 5 , which shows a schematic diagram of the structure of a television suitable for implementing the embodiments of the present application. The television in the embodiments of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The television shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0159] like Figure 5As shown, the television may include a processing device 1001 (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 (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the television are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. Communication device 1009 can allow the television to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a television with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0160] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes 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 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0161] The television provided by the present application adopts the interactive control method of the television in the above embodiment, which can solve the technical problem of how to improve the interactivity of the television without installing an intelligent system. Compared with the prior art, the beneficial effects of the television provided by the present application are the same as the beneficial effects of the interactive control method of the television provided by the above embodiment, and other technical features in the television are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0162] It should be understood that the various parts disclosed in this application can be implemented by 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.
[0163] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0164] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the interactive control method of a television in the above-mentioned embodiment.
[0165] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. 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: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can 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 appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0166] The computer-readable storage medium may be included in the television, or may exist independently without being installed in the television.
[0167] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the television, the television:
[0168] When the television acts as a receiver, a first data packet output by an external device is received through the two-way communication module; the first data packet is parsed according to the data type of the first data packet to obtain parsed data; the parsed data is output according to the preset corresponding output action of the data type; when the television acts as a sender, a pre-sent second data packet is output to the external device through the two-way communication module, so that the external device outputs the second data packet.
[0169] The computer program code for performing the operation of the present application can 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" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on the remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer can 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 can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0170] 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 application. 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 a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0171] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0172] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned interactive control method of the television, and can solve the technical problem of how to improve the interactivity of the television without an intelligent system. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the interactive control method of the television provided by the above-mentioned embodiment, and will not be repeated here.
[0173] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned interactive control method of a television when executed by a processor.
[0174] The computer program product provided by the present application can solve the technical problem of how to improve the interactivity of a television without an intelligent system. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the interactive control method of a television provided by the above embodiment, and will not be described in detail here.
[0175] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A television interactive control method, characterized in that: The method is applied to a television, the television comprising: a two-way communication module; the method comprises: When the television is used as a receiver, receiving a first data packet output by an external device through the two-way communication module; Parsing the first data packet according to the data type of the first data packet to obtain parsed data; Outputting the parsed data according to the output action corresponding to the preset data type; When the television acts as a sender, the pre-sent second data packet is output to the external device through the two-way communication module, so that the external device outputs the second data packet.
2. The interactive control method of a television according to claim 1, characterized in that: The two-way communication module includes: a Bluetooth module; before the step of receiving a first data packet output by an external device through the two-way communication module, the method further includes: When receiving a receiving instruction, switching the Bluetooth module to a discoverable state; Upon receiving the first scanning request, sending first authentication information to the external device that initiated the first scanning request; When a connection request in response to the first authentication information is received, a communication connection is established with the external device.
3. The interactive control method of a television according to claim 1, characterized in that: The step of parsing the first data packet according to the data type of the first data packet to obtain parsed data includes: Analyze the header of the first data packet to obtain the data type and encoding method of the first data packet; The packet body of the first data packet is decoded according to the data type and the encoding method to obtain parsed data.
4. The interactive control method of a television according to claim 1, characterized in that: The data type includes: sound type; the step of outputting the parsed data according to the preset corresponding output action of the data type includes: Determining in a preset action library that the output action corresponding to the sound type is output through a speaker; Converting the parsed data into audio data in a preset audio format; The audio data is output through a speaker of the television.
5. The interactive control method of a television according to claim 1, characterized in that: The data type includes: a playlist type; and the step of outputting the parsed data according to the preset corresponding output action of the data type includes: Determining in a preset action library that the output action corresponding to the playlist type is output through a display screen; Parsing the song names included in the data type and the song data corresponding to each of the song names, wherein the song data includes: audio data and video data; Storing the song titles and the song data in a preset storage space of the television in correspondence; Converting each of the song titles into a playlist page according to a preset playlist template, and displaying the playlist page through a display screen of the television, wherein the playlist page includes a plurality of option controls corresponding to each of the song titles; When it is detected that a target option control is triggered, searching the preset storage space for target audio data and target video data corresponding to the song name of the target option control; The target video data is presented through the display screen, and the audio data is output through the speakers of the television.
6. The interactive control method of a television according to claim 2, characterized in that: Before the step of outputting the pre-sent second data packet to the external device through the bidirectional communication module, the method further includes: When receiving the sending instruction, broadcasting a second scanning request through the Bluetooth module; receiving a plurality of second authentication information based on the second scanning request; Determining target authentication information corresponding to the external device to be connected in each of the second authentication information; A connection request is sent to the device address in the target authentication information to establish a communication connection with the external device.
7. The interactive control method of a television according to claim 1, characterized in that: Before the step of outputting the pre-sent second data packet to the external device through the bidirectional communication module, the method further includes: Acquiring the sound data of the television in real time; The sound data is encapsulated into a second data packet according to a preset encapsulation format by the two-way communication module.
8. An interactive control device for a television, characterized in that: The device is arranged on a television, and the television comprises: a two-way communication module; the device comprises: A receiving module, used for receiving a first data packet output by an external device through the two-way communication module when the television is used as a receiving party; A parsing module, configured to parse the first data packet according to the data type of the first data packet to obtain parsed data; An output module, configured to output the parsed data according to a preset output action corresponding to the data type; The sending module is used for outputting the pre-sent second data packet to the external device through the two-way communication module when the television acts as a sender, so that the external device outputs the second data packet.
9. A television, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the interactive control method for a television according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the interactive control method of a television according to any one of claims 1 to 7 are implemented.
