Method and device for interaction between local area network equipment and television fast application, computer equipment and readable storage medium
Through the fast application SDK, the interaction between TV and mobile terminals is realized in the LAN environment, and the problems of complex interaction and untimely response in the existing technology are solved, and a convenient, efficient and personalized interactive experience is achieved.
Patent Information
- Application Number
- CN202411423531.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2025-03-04
AI Technical Summary
In the prior art, the interaction between the television and the mobile terminal in the local area network environment has problems such as complex operation, untimely response and limited functions, which cannot meet the user's convenient, rich and personalized interactive experience needs.
Through the fast application SDK, the TV device receives a protocol search request initiated by the mobile terminal in the local area network and sends device information. After the mobile terminal stores and verifies the device information, it sends a quick application command to create an application mapping relationship with the fast application SDK, and passes custom events through the SDK to achieve efficient interaction between the TV and the mobile terminal.
It realizes convenient, efficient and personalized interaction between TV and mobile terminals within the LAN, and improves the user's interactive experience.
Smart Images

Figure CN119562126A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of television interaction, and in particular to a method, device, computer equipment and readable storage medium based on interaction between a local area network device and a television quick application. Background Art
[0002] With the popularization of smart devices and the development of network technology, people have an increasing demand for efficient interaction between different devices in a local area network environment. In current technologies, the interaction between TV and mobile terminals often has problems such as complex operation, untimely response, and limited functions, which cannot meet users' expectations for convenient, rich, and personalized interactive experience. Summary of the invention
[0003] The object of the present invention is to provide a method, device, computer equipment and readable storage medium based on the interaction between a local area network device and a TV quick application.
[0004] In a first aspect, an embodiment of the present invention provides a method for interaction between a local area network device and a TV quick application, which is applied to a system for interaction between a local area network device and a TV quick application, wherein the system for interaction between a local area network device and a TV quick application comprises a TV device and a mobile terminal, wherein the TV device and the mobile terminal are in the same local area network, and the method comprises:
[0005] The television device receives the protocol search request initiated by the mobile terminal in the local area network through the quick application SDK, and sends the television device information to the mobile terminal;
[0006] The mobile terminal stores the television device information in a device list;
[0007] The mobile terminal selects the television device information from the device list and sends a quick application launch instruction;
[0008] The quick application SDK responds to the quick application launch instruction and establishes an application mapping relationship;
[0009] The mobile terminal transparently transmits the custom event through the quick application SDK based on the application mapping relationship;
[0010] The quick application SDK responds and gives feedback after receiving the custom event.
[0011] In a possible implementation, the method further includes:
[0012] The television device sends a custom event to the mobile terminal through the quick application SDK based on the application mapping relationship;
[0013] The mobile terminal performs response feedback after receiving the custom event.
[0014] In a possible implementation, the television device receives the protocol search request initiated by the mobile terminal in the local area network through the quick application SDK, and sends the television device information to the mobile terminal, including:
[0015] The television device receives a protocol search request initiated by the mini-program or integrated protocol SDK of the mobile terminal in the local area network through the quick application SDK, and sends the television device information to the mobile terminal.
[0016] In a possible implementation, the custom event includes device discovery, built-in command call, and custom command.
[0017] In a possible implementation, the built-in command call includes a command class call and a query class call;
[0018] The command class call includes launching a quick app, launching a TV native app, operating a remote control button, and closing one or more quick apps;
[0019] The query class calls include querying SDK information, querying SDK integrated host information, querying running quick application information, and querying dongle remote control information inserted into the device.
[0020] In a possible implementation, the transparent transmission of the custom event through the quick app SDK includes:
[0021] If the custom event does not include the built-in command, the custom event is transparently transmitted to the upper-layer quick application.
[0022] In a possible implementation, the method further includes:
[0023] Before sending the quick application launch instruction, the mobile terminal verifies the validity of the television device information, and executes the sending operation after the verification is passed.
[0024] In a second aspect, an embodiment of the present invention provides an apparatus for interacting with a TV quick application based on a local area network device, which is applied to a system for interacting with a TV quick application based on a local area network device, wherein the system for interacting with a TV quick application based on a local area network device includes a TV device and a mobile terminal, wherein the TV device and the mobile terminal are in the same local area network, and the method includes:
[0025] An access module, used for the television device to receive a protocol search request initiated by the mobile terminal in the local area network through the quick application SDK, and send television device information to the mobile terminal; the mobile terminal stores the television device information in a device list;
[0026] The mobile terminal selects the television device information from the device list and sends a quick application launch instruction; the quick application SDK responds to the quick application launch instruction and establishes an application mapping relationship;
[0027] The interactive module is used for the mobile terminal to transparently transmit the custom event through the quick application SDK based on the application mapping relationship; the quick application SDK responds and feedbacks after receiving the custom event.
[0028] An embodiment of the present invention provides a computer device, comprising a processor and a non-volatile memory storing computer instructions, wherein when the computer instructions are executed by the processor, the computer device executes the method described in at least one possible implementation of the first aspect.
[0029] In a fourth aspect, an embodiment of the present invention provides a readable storage medium, wherein the readable storage medium includes a computer program, and when the computer program is run, the computer device where the readable storage medium is located is controlled to execute the method described in at least one possible implementation manner of the first aspect.
[0030] Compared with the prior art, the beneficial effects provided by the present invention include: using a method, device, computer device and readable storage medium based on interaction between a local area network device and a TV quick application disclosed in the present invention, including: first, the TV device receives a protocol search request initiated by a mobile terminal in a local area network through a quick application SDK and then sends device information, the mobile terminal stores this information in a device list, selects and sends a quick application launch instruction, the quick application SDK responds to establish an application mapping relationship, the mobile terminal transmits a custom event based on this relationship through the quick application SDK, and the quick application SDK responds to feedback after receiving it, thereby realizing convenient, efficient and personalized interaction between the TV and the mobile terminal in the local area network. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can also be obtained based on these drawings without creative work.
[0032] Figure 1 A schematic diagram of the steps of a method for interaction between a local area network device and a TV quick application provided by an embodiment of the present invention;
[0033] Figure 2 A schematic block diagram of the structure of an apparatus for interaction between a local area network device and a TV quick application provided by an embodiment of the present invention;
[0034] Figure 3 A schematic block diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions 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 part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0036] The specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings.
[0037] In order to solve the technical problems in the aforementioned background technology, Figure 1 A flow chart of a method for interaction between a local area network device and a TV quick application provided in an embodiment of the present disclosure is provided. The method for interaction between a local area network device and a TV quick application is applied to a system for interaction between a local area network device and a TV quick application. The system for interaction between a local area network device and a TV quick application includes a TV device and a mobile terminal. The TV device and the mobile terminal are in the same local area network. The method for interaction between a local area network device and a TV quick application is described in detail below.
[0038] Step S201, the television device receives a protocol search request initiated by the mobile terminal in the local area network through the quick application SDK, and sends television device information to the mobile terminal;
[0039] Step S202, the mobile terminal stores the television device information in a device list;
[0040] Step S203, the mobile terminal selects the television device information from the device list and sends a quick application launch instruction;
[0041] Step S204, the quick application SDK responds to the quick application launch instruction and establishes an application mapping relationship;
[0042] Step S205, the mobile terminal transparently transmits the custom event through the quick application SDK based on the application mapping relationship;
[0043] Step S206: the quick app SDK responds and gives feedback after receiving the custom event.
[0044] In the embodiment of the present invention, for example, assume that in a home LAN environment, a user is holding a mobile phone (i.e., a mobile terminal) and is ready to interact with a smart TV (i.e., a TV device) at home. The user opens a specific application on the mobile phone, and the applet or integrated protocol SDK in the application starts to send a protocol search request in the LAN.
[0045] At this time, the smart TV is turned on and connected to the Internet, and its internal quick application SDK has been listening to relevant requests in the local area network. When receiving a protocol search request from the user's mobile phone, the quick application SDK recognizes this request and immediately obtains relevant information about the TV device.
[0046] This information may include the TV model, current display resolution, installed quick app list, installed native app list, supported remote control types and button functions, etc. After obtaining these detailed information, the quick app SDK packages the TV device information and sends it back to the user's mobile phone via the local area network.
[0047] For example, the model of a TV may be "XX brand 55-inch 4K smart TV" with a display resolution of 3840×2160. The installed quick apps include "Video Player", "Music Player", "Game Hall", etc., and the native apps include "iQiyi", "Tencent Video", "Youku", etc. The supported remote control type is an infrared remote control, and the button functions include the power button, volume up and down buttons, channel switching buttons, etc.
[0048] After the user's mobile phone receives the device information sent back by the smart TV, the application on the mobile phone will parse and process the information, and then store the detailed information of these TV devices in the device list according to certain formats and rules.
[0049] In the device list, each TV device may have a unique identifier, such as the TV's MAC address or device name, and various attributes and function information related to the TV device may also be recorded.
[0050] For example, in the device list, the record about the smart TV at home may be as follows:
[0051] Device name: Living room smart TV;
[0052] MAC address: XX:XX:XX:XX:XX:XX;
[0053] Model: XX brand 55-inch 4K smart TV;
[0054] Resolution: 3840×2160;
[0055] Quick apps installed: video player, music player, game lobby;
[0056] Native apps installed: iQiyi, Tencent Video, Youku;
[0057] Remote control type: infrared remote control;
[0058] Button functions: power, volume +, volume -, channel +, channel -;
[0059] In this way, when the user needs to interact with the TV, he can easily find and select the corresponding TV device from the device list.
[0060] After a while, the user wants to use the "Video Player" quick app to watch a movie on the TV. He opens the app on his phone and enters the device list interface. In the device list, he finds the previously stored information of the smart TV in his living room and clicks to select it.
[0061] Then, the user finds the "Launch Quick App" function button in the application and selects the "Video Player" quick app. The application on the mobile phone will generate a specific quick app launch command based on the user's selection and send the command to the smart TV via the local area network.
[0062] For example, the format of the quick app launch instruction may be: "Launch the video player quick app on the living room smart TV", which includes the TV identifier (such as the MAC address) and the name of the quick app to be launched.
[0063] After the smart TV receives the quick app launch command sent by the user's mobile phone, the internal quick app SDK will immediately parse and process the command.
[0064] The quick app SDK first confirms whether the TV identifier in the command matches the current TV device. If the match is successful, the quick app SDK will establish an application mapping relationship within the TV system.
[0065] This application mapping relationship records the correspondence between the request to launch the quick app initiated by the mobile phone and the actual operation to be performed by the TV. For example, the established application mapping relationship may be "when receiving an instruction to launch the video player quick app from the user's mobile phone, launch the video player quick app on the TV."
[0066] After the application mapping relationship is established, the quick application SDK will prepare to execute the operation of launching the quick application.
[0067] While the smart TV successfully establishes the application mapping relationship and is preparing to launch the quick application, the user may also perform some other operations on the mobile phone.
[0068] For example, if a user wants to adjust the playback quality of the video player quick app on the TV, he selects the "HD quality" option in the mobile app. The mobile app will generate a custom event based on the user's selection, such as "Adjust the quality of the video player quick app on the living room smart TV to HD".
[0069] Then, based on the application mapping relationship established previously, the mobile phone transparently transmits this custom event to the quick application SDK of the smart TV through the local area network.
[0070] After the smart TV's quick app SDK receives the custom event transmitted from the mobile phone, it will immediately parse and process it.
[0071] If it is a custom event for adjusting the image quality, the quick app SDK will pass this event to the video player quick app that is being started. After receiving this instruction, the video player quick app will adjust its own playback quality to HD and feedback the adjustment result to the quick app SDK.
[0072] The quick application SDK will then send feedback information on successful adjustment back to the user's mobile phone through the local area network. After receiving the feedback, the mobile application will display a prompt message "Image quality adjustment successful" on the interface to let the user know that his operation has been successfully executed.
[0073] Suppose that when watching a video, the user feels that the sound is too low and sends a custom event of "increase volume" through the mobile phone. After receiving it, the quick application SDK of the smart TV will pass it to the TV system, and the TV system will increase the volume and feedback the result of the volume increase to the mobile phone, and the mobile phone will display "volume increased".
[0074] For example, if a user wants to switch to the next video in the video player quick app, he clicks the "switch video" button on the phone, which generates and sends the corresponding custom event. After the smart TV receives it, the video player quick app will switch to the next video and feedback the switching result to the phone.
[0075] Through this interactive process, users can use their mobile phones to conveniently control quick applications on smart TVs and realize various personalized operations and functions.
[0076] In the embodiments of the present invention, the following implementation modes are also provided.
[0077] The television device sends a custom event to the mobile terminal through the quick application SDK based on the application mapping relationship;
[0078] The mobile terminal performs response feedback after receiving the custom event.
[0079] In the embodiment of the present invention, illustratively, it is assumed that in a home environment, there is a smart TV and a mobile phone in the same local area network.
[0080] When a user is using a smart TV, for example, the user is watching a movie through a quick app on the TV. When the movie plays to a highlight, the quick app on the TV detects this scene and decides to send a custom event to the mobile terminal.
[0081] This custom event may be a "highlight reminder", which contains information such as the name of the current movie, the playing time, etc. The quick application SDK on the TV packages and encodes this custom event based on the application mapping relationship established previously with the mobile terminal, and then sends it to the mobile terminal through the local area network.
[0082] For example, the movie currently playing on TV is "Avatar", and the 50th minute is judged as a highlight segment. The custom event information sent may be: "The movie "Avatar" enters the highlight segment at the 50th minute."
[0083] At this time, the user's mobile phone is connected to the Internet and has the relevant application turned on. After the mobile phone receives the custom event sent by the TV through the quick application SDK, the application will parse and process it.
[0084] The mobile app recognizes that this is a reminder from the TV about the highlights of the movie, and a notification may pop up on the screen, saying "The Avatar you are watching on TV has entered the highlights at the 50th minute."
[0085] After seeing this notification, the user can choose different response methods. If the user is very interested in this highlight clip, he or she may click the "Switch to TV to watch immediately" button on the notification. The mobile application will generate a response event based on the user's choice, such as "The user chooses to switch to TV to watch immediately", and then send this response back to the quick application SDK on the TV through the local area network.
[0086] When the TV receives the response from the mobile phone, the quick app can take corresponding actions based on the response, such as pausing the current playback and waiting for the user to switch back to the TV to continue watching.
[0087] For another example, if the custom event received by the mobile phone is "The TV is running low on power and will automatically shut down", the mobile app may pop up a reminder "The TV will automatically shut down, do you want to save the current viewing progress immediately?" If the user selects "Yes", the mobile phone will send a response of "Save the current TV viewing progress" to the TV. After receiving it, the TV quick app SDK will perform the operation of saving the progress.
[0088] Assume again that the custom event sent by the TV is "The current quick app has a new version that can be updated". After receiving it, the mobile phone prompts the user "There is a new version of the TV quick app, do you want to update it immediately?" The user chooses "No", and the mobile phone feedbacks to the TV "The user chooses not to update for now."
[0089] Through such interaction, TV devices and mobile terminals can achieve more intelligent and convenient collaboration, providing users with a better user experience.
[0090] In the embodiment of the present invention, the television device receives the protocol search request initiated by the mobile terminal in the local area network through the quick application SDK, and sends the television device information to the mobile terminal, which can be implemented through the following examples.
[0091] The television device receives a protocol search request initiated by the mini-program or integrated protocol SDK of the mobile terminal in the local area network through the quick application SDK, and sends the television device information to the mobile terminal.
[0092] In the embodiment of the present invention, illustratively, an ordinary family has a feature-rich smart TV and mobile terminals of each family member, such as a mobile phone and a tablet computer.
[0093] On a weekend afternoon, a family member wants to interact with the smart TV at home through his mobile phone. He opens a specific application on the phone, which contains a small program or an SDK that has integrated relevant protocols.
[0094] When a user clicks a specific button in the application or triggers a specific operation, the small program or integrated protocol SDK on the mobile phone will initiate a protocol search request in the home LAN.
[0095] At this point, the smart TV at home is turned on and connected to the Internet, and its internal quick application SDK has been running continuously in the background and listening to various requests within the local area network.
[0096] When the Quick App SDK receives a protocol search request from a user's mobile phone, it will immediately identify and process it. This request contains specific identifiers and information so that the TV can accurately understand that this is a legitimate search request from within the home LAN.
[0097] After receiving the request, the quick app SDK will quickly obtain detailed information about the TV device, which covers various key features and configurations of the TV.
[0098] For example, the brand of the TV is the well-known "XX brand", the model is "XX series 65-inch ultra-high-definition smart TV", the operating system version is the latest "XX operating system 5.0 version", the installed quick applications include "fitness tutorials", "food cooking guides" and "children's story park", and the installed native applications are "Mango TV", "Bilibili" and "TikTok TV version". At the same time, the TV supports Bluetooth and Wi-Fi connections, has 4K resolution and HDR display functions, and the sound system has surround sound effects.
[0099] After obtaining this rich and detailed TV device information, the quick app SDK will organize and package this information according to the pre-set format and protocol.
[0100] Then, through the home LAN, the quick application SDK will accurately send the sorted TV device information back to the user's mobile phone.
[0101] After the user's mobile phone receives this information, its application will parse and process the data, and display the information of the TV device in a clear and easy-to-understand manner on the application interface, such as presenting it in a list format, with each TV device having a detailed description and identification.
[0102] In this way, users can clearly understand the various functions and features of smart TVs at home and prepare for subsequent operations and interactions.
[0103] For example, a few days later, another family member wants to interact with the TV through his tablet. Similarly, when he triggers a protocol search request in the application on the tablet, the smart TV's quick application SDK will receive the request in the same process and obtain and send the TV device information.
[0104] Assuming that the TV has been updated during this period, such as installing a new "online learning" quick application, the device information sent to the user's tablet will include the latest application information.
[0105] Or, if the TV system is upgraded to improve performance and stability, the latest system version information will also be included in the device information sent to the user's tablet, allowing the user to keep up to date with the latest status and functions of the TV.
[0106] Through such an accurate and efficient information exchange process, family members can easily and quickly obtain the latest information from smart TVs, thereby better utilizing the various functions and applications of the TV and enhancing the convenience and fun of family entertainment and life.
[0107] In the embodiment of the present invention, the custom events include device discovery, built-in command calls, and custom commands.
[0108] In the embodiment of the present invention, illustratively, in an intelligent office environment, multiple mobile terminals and multiple display devices are in the same local area network.
[0109] Device discovery: An employee user walks into a conference room with a mobile phone and opens a specific application. At this time, the applet or integrated protocol SDK in the mobile phone initiates a protocol search request to the local area network. After receiving the request, the quick application SDK in the server sends the information of the smart TV, projector and other devices in the conference room back to the user's mobile phone. This device information includes the name, model, and current working status of the device (such as whether it is turned on, whether it is in use, etc.). After receiving this information, the user's mobile phone displays it on the application interface, and the user discovers the available devices in the conference room.
[0110] Built-in command calls:
[0111] Launch a quick app: The user is going to show a presentation on the smart TV. He selects the smart TV in the mobile app, clicks "Launch quick app", and then selects the "Presentation viewer" quick app. The quick app SDK responds to this instruction and launches the corresponding quick app on the smart TV, ready to receive the presentation file sent by the user from the mobile phone.
[0112] Launching the TV native app: Another employee user wanted to play a video file on the projector, so he sent a command from his mobile phone to launch the native app "Video Player" installed on the projector. After receiving the command, the quick app SDK successfully launched the native app on the projector.
[0113] Remote control button operation: During a meeting, the user feels that the volume of the smart TV is too loud, so he presses the volume down button on the virtual remote control on his mobile phone. The quick app SDK receives this button operation instruction and lowers the TV volume.
[0114] Close one or more quick apps: After the meeting, in order to save resources, the administrator user chooses to close the quick apps such as "Presentation Viewer" and "Image Browser" running on the smart TV through the mobile phone. The quick app SDK receives the close command and terminates the operation of these quick apps.
[0115] Custom commands:
[0116] The company has developed a quick app specifically for meeting management, which contains some custom commands. For example, employee Xiao Zhou sends this custom command on his mobile phone. After receiving it, the quick app SDK switches the display mode of the smart TV to split screen so that multiple contents can be displayed at the same time.
[0117] Another example is "Synchronize mobile phone files to all display devices". When there are new important files that need to be displayed on multiple display devices, employee Xiao Chen sends this custom command, and after the quick application SDK responds, the file is synchronized to all relevant display devices.
[0118] Through the implementation of these custom events, the flexibility and efficiency of equipment control in the office environment are greatly improved, meeting various usage requirements.
[0119] In the embodiment of the present invention, the built-in command call includes a command class call and a query class call;
[0120] The command class call includes launching a quick app, launching a TV native app, operating a remote control button, and closing one or more quick apps;
[0121] The query class calls include querying SDK information, querying SDK integrated host information, querying running quick application information, and querying dongle remote control information inserted into the device.
[0122] In an embodiment of the present invention, illustratively, in a modern smart home environment, there is a spacious living room equipped with a smart TV and mobile terminals of multiple family members, such as mobile phones and tablet computers.
[0123] Command class call:
[0124] Pull up the quick application:
[0125] On a weekend night, a family member wants to play a game on the smart TV. He picks up his phone, opens the TV control app, selects the "Pull up quick app" option, and then selects the "XX game" quick app from the list. The applet or integrated protocol SDK in the phone sends this request to the local area network. After receiving this request, the quick app SDK in the server immediately launches the "XX game" quick app on the smart TV. After a while, the game startup interface appears on the smart TV screen, and the user can happily start the game.
[0126] Pull up the TV native application:
[0127] The user wants to watch a live sports event. He uses a tablet computer, selects "Open TV native app" in the control app, and then specifies the "XX Sports Live" native app. After the tablet computer sends the request, the quick app SDK responds quickly and opens the "XX Sports Live" app on the smart TV, and the user quickly sees the exciting sports game.
[0128] Remote control button operation:
[0129] While watching a sports event, the user felt that the TV volume was a little low, so he clicked the virtual volume increase button on the tablet's control interface. This button operation instruction was sent to the server, and after the quick application SDK received it, it immediately turned up the volume of the smart TV, allowing the user to hear the game commentary and live sound more clearly.
[0130] Close one or more quick apps:
[0131] When the sports event is over, the user decides not to use the previously opened game quick app and other quick apps that are not needed temporarily. The user picks up the tablet again, selects the "Close one or more quick apps" option, and then checks quick apps such as "XX game" and "XX video". The tablet sends the close request to the server, and the quick app SDK receives it and closes the selected quick apps one by one, freeing up the system resources of the TV.
[0132] Query class call:
[0133] Query SDK information:
[0134] The home network experienced some fluctuations, resulting in a short delay in the interaction between the smart TV and the mobile terminal. The user was curious about this problem, so he opened the control app on his phone and selected "Query SDK Information" to learn about the running status and version information of the quick app SDK. After the phone sent the request, the quick app SDK received it and fed back the relevant SDK information, such as version number, update time, running log, etc., to the phone. By viewing this information, the user has a clearer understanding of the current system situation.
[0135] Query the host information of SDK integration:
[0136] A new guest has come to the house and is very interested in the functions of the smart TV. In order to introduce the performance of the TV to the guest, the user selects "Query SDK integrated host information" on the mobile phone, including the hardware configuration of the TV (such as processor model, memory size, storage capacity), operating system version, etc. After receiving the request, the quick application SDK sends this detailed host information to the mobile phone, and the user can show the powerful functions of the TV to the guest.
[0137] Query the running quick application information:
[0138] The user wants to know which quick apps are currently running on the TV and their resource usage. She uses her mobile phone to select the "Query running quick app information" function. After receiving the request, the quick app SDK will feedback the name of the running quick app, the memory occupied, the CPU usage and other information to the user's mobile phone. By viewing this information, the user decides whether to close some infrequently used quick apps to optimize the performance of the TV.
[0139] Query the dongle remote control information inserted into the device:
[0140] The user found that the TV remote control was not very responsive, and he suspected that there was a problem with the dongle remote device plugged into the TV. So he selected "Query the dongle remote information plugged into the device" on his mobile phone. After receiving the request, the quick application SDK sent the connection status, battery level, signal strength and other information of the dongle remote control to the mobile phone. Based on this information, the user determined that the problem was caused by insufficient battery in the remote control, and replaced the battery in time to solve the problem of the remote control.
[0141] Through these rich and diverse built-in command calls, family members can control and manage smart TVs more conveniently and efficiently, meeting various usage needs and improving the smart home experience.
[0142] In the embodiment of the present invention, the transparent transmission of the custom event through the quick application SDK can be implemented by the following example: If the custom event does not include the built-in command, the custom event is transparently transmitted to the upper-layer quick application.
[0143] In an embodiment of the present invention, for example, in a smart home theater scenario, there is a high-end smart TV in the room, and the mobile devices of the family members are all in the same local area network. One night, the family members get together to watch a movie. The user opens the control application on the mobile phone and wants to perform some special operations on the TV.
[0144] The user clicks a custom button in the app, which generates a custom event of "adjusting the color saturation of the screen to 80%". This event is not a built-in command. The phone sends this custom event to the local area network.
[0145] After receiving this custom event, the quick app SDK in the server immediately makes a judgment and finds that this event does not belong to the built-in command call and query call, for example, it is not a built-in command such as "launch quick app" or "launch TV native app", nor is it a query command such as "query SDK information".
[0146] After confirming this situation, the quick app SDK transmits this custom event to the upper-level quick app according to the rules.
[0147] After the upper-level quick application receives the custom event of "adjusting the color saturation of the screen to 80%", it immediately performs corresponding processing. The image processing module in the quick application starts working and adjusts the color of the currently playing screen according to the specified saturation value of 80%.
[0148] After the adjustment is completed, the quick app will feedback the successful adjustment result to the quick app SDK, and the quick app SDK will then send this result back to the user's mobile phone. The application on the mobile phone will display "Screen color saturation adjustment successful" to let the user know that his operation has taken effect.
[0149] For example, when watching a movie, the user feels that the sound effect of the movie is not ideal, so he enters a custom event "enhance the bass effect to 50%" in the mobile app. This event is also not a built-in command. After the quick app SDK receives it, it will be transparently transmitted to the upper-level quick app.
[0150] The audio processing module in the upper-level quick app adjusts the sound and enhances the bass effect to a specified 50%. After the adjustment is completed, the result is fed back to the quick app SDK and the user's mobile phone.
[0151] Let's assume that the user wants to implement a special function, such as "when the movie reaches a specific time point, a plot introduction window will pop up automatically." He sets up this custom event on his mobile phone and sends it.
[0152] The quick app SDK determines that it is not a built-in command and transparently passes it to the upper-level quick app. The timing and window management modules in the upper-level quick app start working, and when the movie plays to the specified time point, the plot introduction window pops up as required.
[0153] Another time, a user wanted the TV to automatically switch to a specific viewing mode based on the type of movie currently playing, such as switching to "dynamic mode" when watching an action movie or switching to "soft mode" when watching an art film. He set up and sent this custom event on his phone.
[0154] The quick app SDK recognizes and transparently transmits the content. The upper-level quick app switches the mode according to the movie type and feeds back the result.
[0155] Through such a mechanism, even various non-standard and personalized requirements raised by users, as long as they are sent through custom events and are not built-in commands, can be accurately transmitted to the upper-level quick application for processing, greatly enriching the user's control and usage experience of smart TVs.
[0156] In the embodiments of the present invention, the following implementation modes are also provided.
[0157] Before sending the quick application launch instruction, the mobile terminal verifies the validity of the television device information, and executes the sending operation after the verification is passed.
[0158] In the embodiment of the present invention, the following is an exemplary description of a very detailed scenario of the steps in the above technical content with the server as the execution subject:
[0159] In a warm family, there is a smart TV and mobile terminals such as mobile phones and tablets of multiple family members.
[0160] On a weekend afternoon, a family member is preparing to launch a quick app on the smart TV through his mobile phone. Before he clicks to send the command to launch the quick app, the application in the mobile phone first verifies the validity of the TV device information previously obtained and stored.
[0161] The phone will check the integrity of the TV device information, such as whether it contains key information such as the TV model, MAC address, installed quick app list, etc. If some key information is missing, it may prompt "TV device information is incomplete and quick app cannot be launched."
[0162] Next, the phone will verify the online status of the TV device. It will send a simple detection signal to the TV via the local area network. If it receives a response from the TV within a certain period of time, it means that the TV is online and can be connected; if it does not receive a response, it may prompt "The TV device is offline and the quick application cannot be launched."
[0163] Then, the phone will also check the compatibility of the TV device. For example, if the quick app to be launched requires a specific operating system version, the phone will compare the TV's operating system version with the quick app's requirements. If the TV's operating system version is too low to support it, the phone will prompt "The TV operating system version is incompatible and the quick app cannot be launched."
[0164] Suppose the quick app that the user wants to launch this time is a high-definition video player that has requirements for display resolution. The phone will check whether the TV's display resolution meets the minimum requirements of the quick app. If not, the phone will prompt "The TV display resolution is insufficient, which may affect the use of the quick app."
[0165] After a series of validity verifications, when all checks are passed, the mobile phone confirms that the TV device can normally receive and process the command to launch the quick application, and then the sending operation will be executed.
[0166] For example, if the user successfully passes all verifications, the mobile phone sends a command to the TV to launch the HD video player quick app. After the TV receives the command, the quick app SDK responds and launches the quick app, and the user can enjoy HD videos on the TV.
[0167] Another time, a family member also wanted to launch a quick app, but during the validity verification, it was found that the MAC address in the TV device information did not match the TV in the current LAN. The mobile phone prompted "TV device information is incorrect, verification failed". The user successfully sent the command to launch the quick app after re-obtaining the correct TV device information.
[0168] Through such a validity verification mechanism, it can be ensured that the quick application launch command sent by the mobile terminal to the TV is valid, thereby improving the success rate and stability of the interaction and bringing a better user experience.
[0169] In order to more clearly describe the solution implemented in this application, a relatively complete implementation scheme is provided below.
[0170] The mini program or the mobile client with integrated protocol SDK initiates a protocol search request to the device in the local area network.
[0171] After receiving the request, the quick application SDK in the local area network returns the device information. The mobile phone receives the device information and records it in the device list.
[0172] On the mobile phone, select a device in the device list to initiate a command to launch the quick app.
[0173] The quick app SDK responds to the launch action, establishes a relationship mapping for the app launch, and notifies the app of the launch event.
[0174] The mobile phone can continue to send custom events to the device, and the SDK will pass them to the quick app.
[0175] After receiving a custom event, the quick app can respond.
[0176] Quick apps can actively send commands to the mobile phone (for example, a quick app on the large screen sends a payment launch command to the mobile phone, and the mobile phone can launch WeChat payment).
[0177] The mobile phone can respond to the instruction result (for example, inform the payment result).
[0178] All the above communication processes follow its own protocol format, which can realize device discovery, built-in command calls and custom commands. The built-in command implementations include:
[0179] Command class:
[0180] Launch the quick app;
[0181] Pull up the native apps installed on the TV;
[0182] All remote control button (key value) operations;
[0183] Close one, multiple, or all quick apps.
[0184] Query class:
[0185] SDK information;
[0186] SDK integrated host information
[0187] Running quick application information;
[0188] Insert the dongle remote control information of the device;
[0189] If the sent command does not hit the built-in command, it will be transparently transmitted to the upper-layer quick application.
[0190] Please refer to Figure 2 , Figure 2 An apparatus 110 for interaction between a local area network device and a TV quick application provided in an embodiment of the present invention is applied to a system for interaction between a local area network device and a TV quick application, wherein the system for interaction between a local area network device and a TV quick application comprises a TV device and a mobile terminal, wherein the TV device and the mobile terminal are in the same local area network, and the method comprises:
[0191] The access module 1101 is used for the television device to receive the protocol search request initiated by the mobile terminal in the local area network through the quick application SDK, and send the television device information to the mobile terminal; the mobile terminal stores the television device information in the device list; the mobile terminal selects the television device information from the device list and sends a quick application launch instruction; the quick application SDK responds to the quick application launch instruction and establishes an application mapping relationship;
[0192] The interaction module 1102 is used for the mobile terminal to transparently transmit the custom event through the quick application SDK based on the application mapping relationship; the quick application SDK responds and feedbacks after receiving the custom event.
[0193] It should be noted that the implementation principle of the aforementioned device 110 for interacting with a TV quick application based on a local area network device can refer to the implementation principle of the aforementioned method for interacting with a TV quick application based on a local area network device, and will not be repeated here. It should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. For example, the device 110 for interacting with a TV quick application based on a local area network device can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and a processing element of the above device can call and execute the function of the device 110 based on the interaction between a local area network device and a TV quick application. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in a processor element or an instruction in software form.
[0194] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors (digital signal processors, DSPs), or one or more field programmable gate arrays (FPGAs), etc. For another example, when a module above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0195] The embodiment of the present invention provides a computer device 100, which includes a processor and a non-volatile memory storing computer instructions. When the computer instructions are executed by the processor, the computer device 100 executes the aforementioned device 110 for interacting with a TV quick application based on a local area network device. Figure 3 As shown, Figure 3The computer device 100 is a block diagram of a structure of a computer device 100 provided in an embodiment of the present invention. The computer device 100 includes a device 110 for interacting with a TV quick application based on a local area network device, a memory 111, a processor 112, and a communication unit 113.
[0196] To achieve data transmission or interaction, the memory 111, the processor 112 and the communication unit 113 are electrically connected to each other directly or indirectly. For example, these elements can be electrically connected to each other through one or more communication buses or signal lines. The device 110 for interacting with a TV quick application based on a local area network device includes at least one software function module that can be stored in the memory 111 in the form of software or firmware or solidified in the operating system (OS) of the computer device 100. The processor 112 is used to execute the device 110 for interacting with a TV quick application based on a local area network device stored in the memory 111, such as the software function modules and computer programs included in the device 110 for interacting with a TV quick application based on a local area network device.
[0197] An embodiment of the present invention provides a readable storage medium, the readable storage medium includes a computer program, and when the computer program is running, the computer device where the readable storage medium is located is controlled to execute the aforementioned method based on interaction between a local area network device and a TV quick application.
[0198] For illustrative purposes, the foregoing description is made with reference to specific embodiments. However, the above illustrative discussion is not intended to be exhaustive or to limit the present disclosure to the precise form disclosed. Numerous modifications and variations are possible in accordance with the above teachings. These embodiments are selected and described in order to best illustrate the principles of the present disclosure and its practical application, so that those skilled in the art can best utilize the present disclosure and utilize various embodiments with different modifications to suit the intended specific application.
Claims
1. A method for interaction between a local area network device and a TV quick application, characterized in that: Applied to a system for interacting with a local area network device and a TV quick application, the system for interacting with a local area network device and a TV quick application comprises a TV device and a mobile terminal, the TV device and the mobile terminal are in the same local area network, and the method comprises: The television device receives the protocol search request initiated by the mobile terminal in the local area network through the quick application SDK, and sends the television device information to the mobile terminal; The mobile terminal stores the television device information in a device list; The mobile terminal selects the television device information from the device list and sends a quick application launch instruction; The quick application SDK responds to the quick application launch instruction and establishes an application mapping relationship; The mobile terminal transparently transmits the custom event through the quick application SDK based on the application mapping relationship; The quick application SDK responds and gives feedback after receiving the custom event.
2. The method according to claim 1, characterized in that The method further comprises: The television device sends a custom event to the mobile terminal through the quick application SDK based on the application mapping relationship; The mobile terminal performs response feedback after receiving the custom event.
3. The method according to claim 1, characterized in that The television device receives the protocol search request initiated by the mobile terminal in the local area network through the quick application SDK, and sends the television device information to the mobile terminal, including: The television device receives a protocol search request initiated by the mini-program or integrated protocol SDK of the mobile terminal in the local area network through the quick application SDK, and sends the television device information to the mobile terminal.
4. The method according to claim 1, characterized in that: The custom events include device discovery, built-in command calls, and custom commands.
5. The method according to claim 4, characterized in that The built-in command calls include command class calls and query class calls; The command class call includes launching a quick app, launching a TV native app, operating a remote control button, and closing one or more quick apps; The query class calls include querying SDK information, querying SDK integrated host information, querying running quick application information, and querying dongle remote control information inserted into the device.
6. The method according to claim 4, characterized in that The transparent transmission of custom events through the quick application SDK includes: If the custom event does not include the built-in command, the custom event is transparently transmitted to the upper-layer quick application.
7. The method according to claim 1, characterized in that The method further comprises: Before sending the quick application launch instruction, the mobile terminal verifies the validity of the television device information, and executes the sending operation after the verification is passed.
8. A device based on interaction between a local area network device and a TV quick application, characterized in that: Applied to a system for interacting with a local area network device and a TV quick application, the system for interacting with a local area network device and a TV quick application comprises a TV device and a mobile terminal, the TV device and the mobile terminal are in the same local area network, and the method comprises: An access module is used for the television device to receive a protocol search request initiated by the mobile terminal in the local area network through the quick application SDK, and send the television device information to the mobile terminal; the mobile terminal stores the television device information in a device list; the mobile terminal selects the television device information from the device list and sends a quick application launch instruction; the quick application SDK responds to the quick application launch instruction and establishes an application mapping relationship; The interactive module is used for the mobile terminal to transparently transmit the custom event through the quick application SDK based on the application mapping relationship; the quick application SDK responds and feedbacks after receiving the custom event.
9. A computer device, characterized in that: The computer device comprises a processor and a non-volatile memory storing computer instructions. When the computer instructions are executed by the processor, the computer device executes the method according to any one of claims 1 to 7.
10. A readable storage medium, characterized in that: The readable storage medium includes a computer program, and when the computer program is executed, the computer device where the readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.