Method and device for determining television application operation mode

By determining the operating mode of the TV application by the shell program running on the TV terminal, the lack of scientificity and flexibility caused by the dependence of TV applications on TV systems in the prior art is solved, and a more scientific and flexible operation management is achieved.

CN117412128BActive Publication Date: 2025-08-19北京视游互动科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311489678.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-09
Publication Date
2025-08-19
Estimated Expiration
2043-11-09

AI Technical Summary

Technical Problem

The operation and management process of existing TV applications relies on TV systems and lacks scientificity and flexibility.

Method used

The shell program running on the TV terminal provides the operating environment for the TV application. The target shell program obtains the terminal's operating environment information and determines that the operating mode of the TV application is a local or cloud operating mode based on this information.

Benefits of technology

It realizes the scientificity and flexibility of the operation and management process of TV applications, and breaks away from the limitations on the TV system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117412128B_ABST
    Figure CN117412128B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for determining the operating mode of a television application, the method comprising: starting and running a target shell program corresponding to a target television application, the target shell program running on a target television terminal, and providing an operating environment for the target television application; the target shell program obtaining operating environment information of the target television terminal, and based on the operating environment information, determining whether the operating mode of the target television application is a local operating mode or a cloud operating mode. In this method, since the target shell program runs on the target television terminal and provides an operating environment for the target television application, the operating mode of the television application can be determined without being restricted by the television system. The operating mode of the target television application can be determined as a local operating mode or a cloud operating mode through the target shell program, making the operation and management process of the target television application more scientific and flexible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of television application technology, and more particularly to a method for determining a television application operation mode. The present application also relates to a device for determining a television application operation mode, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the advent of the era of network smart TV, the network TV application market can provide users with a variety of TV applications. Network smart TV has a fully open platform and is equipped with an operating system. Users can install and uninstall software, games and other application software provided by third-party service providers. It can realize various application services such as live TV, video on demand, TV games, digital music, stock finance, life and health, system optimization tools, learning, etc. Users can use network smart TV to perform related application operations, such as browsing the web, watching videos, chatting, playing games, etc. During this process, network smart TV can handle various application operations accordingly.

[0003] Existing TV applications are all installed on the TV system of the network smart TV and run based on the TV system. For example, users download TV applications from the network TV application market and install them in the installation directory of the TV system, and then run the TV applications. The operation and management processes of TV applications all rely on the TV system, which limits the operation mode of TV applications and lacks scientificity and flexibility. Summary of the Invention

[0004] Embodiments of the present application provide a method for determining a television application operating mode, a device for determining a television application operating mode, an electronic device, and a computer-readable storage medium to address the problem in the prior art that the operation and management processes of television applications are dependent on the television system, which restricts the operating mode of the television application and lacks scientificity and flexibility.

[0005] An embodiment of the present application provides a method for determining a television application operation mode, the method comprising:

[0006] The target shell program corresponding to the target TV application is started and run, wherein the target shell program runs on the target TV terminal and provides an operating environment for the target TV application;

[0007] The target shell program obtains the operating environment information of the target television terminal;

[0008] The target shell program determines, based on the operating environment information, whether the operating mode of the target TV application is a local operating mode or a cloud operating mode.

[0009] In one embodiment, the target shell program obtains the operating environment information of the target television terminal, including: the target shell program obtains memory space occupancy data and / or hardware configuration data of the target television terminal;

[0010] Correspondingly, the target shell program determines, based on the operating environment information, whether the operating mode of the target TV application is a local operating mode or a cloud operating mode, including:

[0011] The target shell program determines that the operation mode of the target television application is the local operation mode in response to the memory space occupation data of the target television terminal not exceeding a predetermined threshold and / or the hardware configuration data of the target television terminal meeting the local operation requirement of the target television application;

[0012] Alternatively, the target shell program determines that the operating mode of the target TV application is the cloud operating mode in response to the memory space occupancy data of the target TV terminal exceeding a predetermined threshold, and / or the hardware configuration data of the target TV terminal meeting the cloud operating requirements of the target TV application.

[0013] In one embodiment, the method further includes: in response to the target TV application's running mode being a local running mode, the target shell program running the application package of the target TV application to install the target TV application; the target shell program starting to run the target TV application.

[0014] In one embodiment, the method further includes: the target shell program downloading and installing the application package of the target TV application according to a preset storage path; or

[0015] The target shell program detects whether the application package of the target TV application needs to be updated; if so, the target shell program updates the application package of the target TV application.

[0016] In one embodiment, the method further includes: in response to the target TV application operating in a cloud operating mode, the target shell program running a streaming program package corresponding to the target TV application to install a streaming application for streaming the target TV application running in the cloud.

[0017] In one embodiment, the method further comprises:

[0018] The target shell program downloads and installs the streaming program package corresponding to the target TV application according to a preset storage path; or

[0019] The target shell program detects whether a streaming program package corresponding to the target TV application needs to be updated. If so, the target shell program updates the streaming program package corresponding to the target TV application.

[0020] In one embodiment, the target shell program corresponding to the target TV application is started and run, including: in response to the user's start operation of the startup plug-in for the target TV application, the startup plug-in loads and starts the shell program package of the target shell program to install the target shell program and start the target shell program.

[0021] According to another aspect of the present invention, a device for determining a television application running mode is provided, the device comprising:

[0022] a target shell program starting and running unit, configured to start and run a target shell program corresponding to a target television application, wherein the target shell program runs on a target television terminal and provides an operating environment for the target television application;

[0023] An operating environment information obtaining unit, configured to enable the target shell program to obtain the operating environment information of the target television terminal;

[0024] The operation mode determining unit is configured to enable the target shell program to determine whether the operation mode of the target TV application is a local operation mode or a cloud operation mode based on the operation environment information.

[0025] According to another aspect of the present invention, an electronic device is provided, comprising a processor and a memory; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the above method.

[0026] According to another aspect of the present invention, a computer-readable storage medium is provided, on which one or more computer instructions are stored. The instructions are executed by a processor to implement the above method.

[0027] Compared with the prior art, the embodiments of the present application have the following advantages:

[0028] The embodiment of the present application provides a method for determining the operation mode of a TV application, in which a target shell program corresponding to a target TV application is started and operated, wherein the target shell program is operated on a target TV terminal, and the target shell program provides an operation environment for the target TV application; the target shell program obtains the operation environment information of the target TV terminal, and based on the operation environment information, determines whether the operation mode of the target TV application is a local operation mode or a cloud operation mode. In this method, since the target shell program is operated on the target TV terminal and the target shell program provides an operation environment for the target TV application, the target shell program can select a corresponding operation mode based on the operation environment information of the target TV terminal, that is, due to the existence of the target shell program, when determining the operation mode of the target TV application, it can be freed from the limitations of the TV system, and the operation mode of the target TV application can be determined as a local operation mode or a cloud operation mode through the target shell program, making the operation and management process of the TV application of the target TV application more scientific and flexible. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 This is a flow chart of a method for determining a TV application operating mode provided by an embodiment of the present application;

[0030] Figure 2 This is a unit block diagram of a device for determining a television application operating mode provided by an embodiment of the present application;

[0031] Figure 3 This is a schematic diagram of the logical structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0032] The following description sets forth many specific details to facilitate a thorough understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the scope of the present application. Therefore, the present application is not limited to the specific implementations disclosed below.

[0033] The online TV application market can provide users with a variety of TV applications. Online smart TVs have a fully open platform and are equipped with an operating system. Users can install and uninstall software, games, and other application software provided by third-party service providers. They can realize various application services such as live TV, video on demand, TV games, digital music, stock finance, life and health, system optimization tools, and learning. Users can use online smart TVs to perform related application operations, such as browsing the web, watching videos, chatting, playing games, etc. During this process, the online smart TV can handle various application operations accordingly. Existing TV applications are all installed on the TV system of the online smart TV and run based on the TV system. For example, users download and install TV applications from the online TV application market to the installation directory of the TV system and run the TV applications. The operation and management process of TV applications are dependent on the TV system, which restricts the operation mode of TV applications and lacks scientificity and flexibility.

[0034] In view of the aforementioned TV application operation scenarios, and to avoid the problem in the prior art where TV applications are all directly installed in the TV system of a network smart TV and run based on this TV system, and the TV application's operation and management processes are all dependent on the TV system, which limits the TV application's operation mode and lacks scientificity and flexibility, the present application provides a method for determining a TV application's operation mode, a corresponding device for determining a TV application's operation mode, an electronic device, and a computer-readable storage medium. The following provides embodiments to describe the aforementioned method, device, electronic device, and computer-readable storage medium in detail.

[0035] An embodiment of the present application provides a method for determining the operating mode of a television application. The application subject of the method can be a computing device application used to determine the operating mode of the television application. In this embodiment, the computing device application is a shell program, which runs in a television terminal, provides an operating environment for the television application, and controls the operation of the television application. Figure 1 This is a flowchart of a method for determining a TV application operation mode provided in an embodiment of the present application. Figure 1 The method provided in this embodiment is described in detail. The embodiments described below are used to illustrate the principle of the method and are not intended to limit actual use.

[0036] like Figure 1 As shown, the method for determining the TV application running mode provided in this embodiment includes the following steps:

[0037] S101: A target shell program corresponding to a target TV application is started and executed.

[0038] This step is used to start and run the target shell program corresponding to the target TV application, wherein the target shell program runs on the target TV terminal, and the target shell program provides a running environment for the target TV application, that is, the shell program is an application running on the TV terminal for providing a running environment for the TV application and managing the TV application. The TV application, as a sub-application of the shell program, can rely on the shell program to run on the TV terminal. The shell program, as the running carrier of the TV application, is the basis for the operation of the TV application, and can provide functions such as application package download of the TV application, TV application loading, TV application framework translation and rendering, and a channel for interacting with the TV terminal SDK. In this embodiment, a shell program can manage one or more TV applications.

[0039] The target TV terminal is a network smart TV. Applications running on a network smart TV are called TV applications, such as social applications, map applications, search and resource applications, etc. However, TV applications are not limited to running only on network smart TVs. That is, if the operating system of a device supports it, TV applications can be run on the device. For example, applications running on an Android network TV can also run on an Android phone.

[0040] In this embodiment, the target TV application may be an interactive TV application. The interactive TV application may be configured to provide users with a variety of interactive functions, such as TV program list selection services, pay-per-view services, video-on-demand services, web browsing services, user login or authentication services, user personal center services, game recharge renewal or coin purchase services, shopping services, and other interactive functions. In an interactive TV application, the application execution process is combined with the user interaction process, such as a TV game application, which may be implemented in a variety of different types of platforms. Here, a platform refers to any system that can support the operation of an interactive TV application, such as a TV device, a computer, a mobile phone, a personal digital assistant (PDA), and other electronic devices. The platform may support the operation of an online interactive application through a network such as an Internet communication link, a public network, or a global communication network.

[0041] In the present embodiment, the target shell program corresponding to the target TV application is started and operated, which specifically may refer to: after the user performs an opening operation on the startup plug-in of the target TV application, the startup plug-in loads and starts the shell program package of the target shell program to install the target shell program and start the target shell program. For example, the startup plug-in may be displayed as an application identifier of the target TV application on the interface of the target TV terminal. When the user starts the target TV application, the user clicks on the application identifier, and the startup plug-in loads (for example, a Java-based class loading mechanism or an Android loading mechanism) and starts the shell program package of the target shell program (i.e., the application program package of the target shell program), completes the installation of the target shell program, and starts the target shell program. The reason for using the startup plug-in to load and start the shell package of the target shell program is to improve the adaptability of the target shell program, make the target shell program easy to upgrade and update, and make the target shell program easier to adapt to various TV systems. For example, when the TV system is upgraded from version A to version B, some interfaces of the TV system are changed and do not support the operation of the target shell program. Therefore, the target shell program needs to be updated. In the form of a shell package, the code of the shell package can be updated accordingly after the TV system changes.

[0042] In the present embodiment, after above-mentioned target shell program starts running, target shell program also can detect whether its shell package needs to be updated, and if so, then target shell program carries out update process to its shell package.For example, start the shell package of the target shell program that plug-in can carry basic version, and it is stored under the storage directory that deposits any file in the form of source file, after this shell package is installed, this shell package can be discharged to under the installation directory from the storage directory, so that the startup plug-in can load the shell package that is discharged, after loading the shell package, start the plug-in and call the entry code in the shell package, logic is all carried out by the target shell program afterwards, for example, its own related resource (for example, the configuration information of target shell program, resources such as the flash screen when starting the target shell program) is updated.It should be noted that, when starting the target shell program for the first time, need to perform the operation of above-mentioned " after this shell package is installed, this shell package can be discharged to under the installation directory from the storage directory ", when follow-up opens the target shell program, all directly load (exceptional in following case: when target shell program has update, the shell package discharged in the installation directory is updated) at above-mentioned installation directory.

[0043] S102: The target shell program obtains the operating environment information of the target TV terminal.

[0044] After the target shell program corresponding to the target TV application is started and run, in this step, the target shell program is used to obtain the operating environment information of the target TV terminal. In this embodiment, the operating environment information is the operating environment information of the target TV application corresponding to the target TV terminal, which can be one or more of the memory space occupancy data, CPU operating status data and hardware configuration data of the target TV terminal. For example, after the target shell program is started, one or more of the memory space occupancy status, CPU operating status, and hardware configuration status of the target TV terminal are detected to obtain one or more of the memory space occupancy data, CPU operating status data and hardware configuration data of the target TV terminal.

[0045] S103 : The target shell program determines whether the target TV application's operating mode is a local operating mode or a cloud operating mode based on the operating environment information.

[0046] After the target shell program obtains one or more operating environment information including the memory space occupancy data, CPU operating status data and hardware configuration data of the target TV terminal through the above steps, in this step, the target shell program selects the corresponding operating mode based on the above operating environment information to determine whether the operating mode of the target TV application is a local operating mode or a cloud operating mode.

[0047] The local running mode means that the target shell program stores and maintains the application package of the target TV application locally. After the target shell program runs the application package to install the target TV application, it starts running the target TV application locally on the target TV terminal.

[0048] In the cloud operation mode, the application package of the target TV application is stored and maintained by the cloud server, and the target shell program only stores and maintains the streaming program package corresponding to the target TV application. The target shell program can run the streaming program package to install the streaming application for streaming the target TV application running on the cloud server, and then start running the streaming application, thereby combining the execution process of the target TV application with the user interaction process. Specifically, streaming is the process of distributing live content already stored in a cloud server to a player (e.g., a player on a target TV terminal) for playback. A streaming application is used to request streaming from the cloud server, thereby combining the cloud server's playback process for the target TV application with corresponding user interactions on the target TV terminal. In this embodiment, the streaming application may be an SDK for streaming the target TV application running on the cloud server. For example, the target TV application is a TV game application. When the SDK streams the TV game application on the cloud server, the cloud server and the SDK need to interact with each other regarding keystrokes and touch events. Specifically, as streaming progresses, the SDK sends user keystrokes, touch events, and other operation events to the cloud server, and the cloud server generates corresponding responses to these keystrokes, touch events, and other operation events, thereby combining the playback process of the TV game application with user keystrokes, touch events, and other operations.

[0049] In this embodiment, the target shell program determines whether the target TV application's operating mode is a local operating mode or a cloud operating mode based on the operating environment information, which may specifically refer to:

[0050] When one or more of the following conditions are met, the target shell program determines that the operating mode of the target TV application is the local operating mode: the memory space occupancy data of the target TV terminal does not exceed the predetermined threshold; the CPU operating status data of the target TV terminal does not exceed the predetermined threshold; the hardware configuration data of the target TV terminal meets the local operating requirements of the target TV application.

[0051] When one or more of the following conditions are met, the target shell program determines that the operating mode of the target TV application is the cloud operating mode: the memory space occupancy data of the target TV terminal exceeds a predetermined threshold; the CPU operating status data of the target TV terminal exceeds a predetermined threshold; the hardware configuration data of the target TV terminal meets the cloud operating requirements of the target TV application, or the hardware configuration data of the target TV terminal does not meet the local operating requirements of the target TV application.

[0052] It should be noted that after determining that the operating mode of the target TV application is the local operating mode, the target shell program can run the application package of the above-mentioned target TV application to install the target TV application, and then the target shell program starts to run the target TV application. Prior to this, the target shell program can also download and install the application package of the target TV application according to the preset storage path, or the target shell program detects whether the application package of the installed target TV application needs to be updated, such as detecting whether the application package of the target TV application is the latest version. If not, the target shell program updates the application package of the target TV application, such as downloading the latest version of the application package from its backend server to its internal directory, or obtaining the update data corresponding to the application package from its backend server, and performing an application update based on the update data corresponding to the application package to obtain the updated application package; if so, the target shell program performs the above-mentioned operation of installing the target TV application and starting to run the target TV application.

[0053] After determining that the target TV application is operating in the cloud mode, the target shell program can run the streaming package corresponding to the target TV application and start the streaming application. Prior to this, the target shell program may also download and install the streaming package corresponding to the target TV application from a preset storage path. Alternatively, the target shell program may detect whether the streaming package corresponding to the target TV application needs to be updated. If so, the target shell program will update the streaming package corresponding to the target TV application. In this case, the streaming package run by the target shell program is the updated streaming package. For example, after a TV game application is updated, the backend server of the TV game application or the target shell program will send the updated application package to the cloud server, which will then re-cloudify the application. Correspondingly, after the SDK is re-integrated to form a new streaming package, the backend server of the TV game application or the target shell program will send the new streaming package to the target shell program, which will then perform the corresponding update.

[0054] The embodiment of the present application provides a method for determining the operating mode of a television application, wherein a target shell program corresponding to a target television application is started and operated, wherein the target shell program is operated on a target television terminal, and the target shell program provides an operating environment for the target television application; the target shell program obtains the operating environment information of the target television terminal, and based on the operating environment information, determines whether the operating mode of the target television application is a local operating mode or a cloud operating mode. In this method, since the target shell program is operated on the target television terminal and the target shell program provides an operating environment for the target television application, the target shell program can select a corresponding operating mode based on the operating environment information of the target television terminal (such as one or more of the memory space occupancy data, CPU operating status data, and hardware configuration data of the target television terminal), that is, due to the existence of the target shell program, when determining the operating mode of the target television application, it can be freed from the limitations of the television system, and the operating mode of the target television application can be determined as a local operating mode or a cloud operating mode through the target shell program, making the operation and management process of the television application of the target television application more scientific and flexible.

[0055] The above-mentioned embodiment provides a method for determining the operation mode of a television application. Correspondingly, another embodiment of the present application also provides a device for determining the operation mode of a television application. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple. For details of the relevant technical features, please refer to the corresponding description of the method embodiment provided above. The following description of the device embodiment is merely illustrative.

[0056] Please refer to Figure 2 To understand this embodiment, Figure 2 This is a unit block diagram of the device for determining the TV application running mode provided in this embodiment, such as Figure 2 As shown, the apparatus for determining the TV application running mode provided in this embodiment includes:

[0057] A target shell program start-up and operation unit 201 is configured to start and operate a target shell program corresponding to a target television application, wherein the target shell program is run on a target television terminal and provides an operating environment for the target television application;

[0058] An operating environment information obtaining unit 202 is configured to enable the target shell program to obtain the operating environment information of the target television terminal;

[0059] The operation mode determining unit 203 is configured to enable the target shell program to determine whether the operation mode of the target TV application is a local operation mode or a cloud operation mode based on the operation environment information.

[0060] In one embodiment, the target shell program obtains the operating environment information of the target television terminal, including: the target shell program obtains memory space occupancy data and / or hardware configuration data of the target television terminal;

[0061] Correspondingly, the target shell program determines, based on the operating environment information, whether the operating mode of the target TV application is a local operating mode or a cloud operating mode, including:

[0062] The target shell program determines that the operation mode of the target television application is the local operation mode in response to the memory space occupation data of the target television terminal not exceeding a predetermined threshold and / or the hardware configuration data of the target television terminal meeting the local operation requirement of the target television application;

[0063] Alternatively, the target shell program determines that the operating mode of the target TV application is the cloud operating mode in response to the memory space occupancy data of the target TV terminal exceeding a predetermined threshold, and / or the hardware configuration data of the target TV terminal meeting the cloud operating requirements of the target TV application.

[0064] In one embodiment, the device further includes: in response to the target TV application's running mode being a local running mode, the target shell program runs the application package of the target TV application to install the target TV application; the target shell program starts running the target TV application.

[0065] In one embodiment, the device further comprises: the target shell program downloading and installing the application package of the target TV application according to a preset storage path; or

[0066] The target shell program detects whether the application package of the target TV application needs to be updated; if so, the target shell program updates the application package of the target TV application.

[0067] In one embodiment, the apparatus further includes: in response to the target TV application operating in a cloud operating mode, the target shell program running a streaming program package corresponding to the target TV application to install a streaming application for streaming the target TV application running in the cloud.

[0068] In one embodiment, the apparatus further comprises:

[0069] The target shell program downloads and installs the streaming program package corresponding to the target TV application according to a preset storage path; or

[0070] The target shell program detects whether a streaming program package corresponding to the target TV application needs to be updated. If so, the target shell program updates the streaming program package corresponding to the target TV application.

[0071] In one embodiment, the target shell program corresponding to the target TV application is started and run, including: in response to the user's start operation of the startup plug-in for the target TV application, the startup plug-in loads and starts the shell program package of the target shell program to install the target shell program and start the target shell program.

[0072] The television application operation mode determination device provided in the embodiment of the present application has a target shell program running on the target television terminal and providing an operation environment for the target television application. Therefore, the target shell program can select the corresponding operation mode based on the operation environment information of the target television terminal (for example, one or more of the memory space occupancy data, CPU operation status data and hardware configuration data of the target television terminal). That is, due to the existence of the target shell program, when determining the operation mode of the target television application, it can be free from the limitations of the television system. The target shell program can be used to determine whether the operation mode of the target television application is a local operation mode or a cloud operation mode, making the operation and management process of the television application of the target television application more scientific and flexible.

[0073] In the above embodiment, a method for determining a television application running mode and an apparatus for determining a television application running mode are provided. In addition, another embodiment of the present application further provides an electronic device. Since the electronic device embodiment is substantially similar to the method embodiment, the description is relatively simple. For details of the relevant technical features, please refer to the corresponding description of the method embodiment provided above. The following description of the electronic device embodiment is merely illustrative. The electronic device embodiment is as follows:

[0074] Please refer to Figure 3 To understand this embodiment, Figure 3 This is a schematic diagram of an electronic device provided in this embodiment.

[0075] like Figure 3 As shown, the electronic device provided by this embodiment includes: a processor 301 and a memory 302;

[0076] The memory 302 is used to store computer instructions for data processing. When the computer instructions are read and executed by the processor 301, the following operations are performed:

[0077] The target shell program corresponding to the target TV application is started and run, wherein the target shell program runs on the target TV terminal and provides an operating environment for the target TV application;

[0078] The target shell program obtains the operating environment information of the target television terminal;

[0079] The target shell program determines, based on the operating environment information, whether the operating mode of the target TV application is a local operating mode or a cloud operating mode.

[0080] In one embodiment, the target shell program obtains the operating environment information of the target television terminal, including: the target shell program obtains memory space occupancy data and / or hardware configuration data of the target television terminal;

[0081] Correspondingly, the target shell program determines, based on the operating environment information, whether the operating mode of the target TV application is a local operating mode or a cloud operating mode, including:

[0082] The target shell program determines that the operation mode of the target television application is the local operation mode in response to the memory space occupation data of the target television terminal not exceeding a predetermined threshold and / or the hardware configuration data of the target television terminal meeting the local operation requirement of the target television application;

[0083] Alternatively, the target shell program determines that the operating mode of the target TV application is the cloud operating mode in response to the memory space occupancy data of the target TV terminal exceeding a predetermined threshold, and / or the hardware configuration data of the target TV terminal meeting the cloud operating requirements of the target TV application.

[0084] In one embodiment, the method further includes: in response to the target TV application's running mode being a local running mode, the target shell program running the application package of the target TV application to install the target TV application; and the target shell program starting to run the target TV application.

[0085] In one embodiment, the method further includes: the target shell program downloading and installing the application package of the target TV application according to a preset storage path; or

[0086] The target shell program detects whether the application package of the target TV application needs to be updated; if so, the target shell program updates the application package of the target TV application.

[0087] In one embodiment, the method further includes: in response to the target TV application operating in a cloud operating mode, the target shell program running a streaming program package corresponding to the target TV application to install a streaming application for streaming the target TV application running in the cloud.

[0088] In one embodiment, it further includes:

[0089] The target shell program downloads and installs the streaming program package corresponding to the target TV application according to a preset storage path; or

[0090] The target shell program detects whether a streaming program package corresponding to the target TV application needs to be updated. If so, the target shell program updates the streaming program package corresponding to the target TV application.

[0091] In one embodiment, the target shell program corresponding to the target TV application is started and run, including: in response to the user's start operation of the startup plug-in for the target TV application, the startup plug-in loads and starts the shell program package of the target shell program to install the target shell program and start the target shell program.

[0092] By using the electronic device provided by this embodiment, since the target shell program runs on the target TV terminal and the target shell program provides an operating environment for the target TV application, the target shell program can select the corresponding operating mode based on the operating environment information of the target TV terminal (for example, one or more of the memory space occupancy data, CPU operating status data and hardware configuration data of the target TV terminal). That is, due to the existence of the target shell program, when determining the operating mode of the target TV application, it can be free from the limitations of the TV system. The target shell program can be used to determine whether the operating mode of the target TV application is a local operating mode or a cloud operating mode, making the operation and management process of the TV application of the target TV application more scientific and flexible.

[0093] In the above-mentioned embodiments, a method for determining a television application's operating mode, an apparatus for determining a television application's operating mode, and an electronic device are provided. Furthermore, another embodiment of the present application further provides a computer-readable storage medium for implementing the above-mentioned method for determining a television application's operating mode. The computer-readable storage medium embodiments provided herein are described in a relatively simple manner. For relevant details, please refer to the corresponding descriptions of the above-mentioned method embodiments. The embodiments described below are merely illustrative.

[0094] The computer-readable storage medium provided in this embodiment stores computer instructions, which, when executed by a processor, implement the following steps:

[0095] The target shell program corresponding to the target TV application is started and run, wherein the target shell program runs on the target TV terminal and provides an operating environment for the target TV application;

[0096] The target shell program obtains the operating environment information of the target television terminal;

[0097] The target shell program determines, based on the operating environment information, whether the operating mode of the target TV application is a local operating mode or a cloud operating mode.

[0098] In one embodiment, the target shell program obtains the operating environment information of the target television terminal, including: the target shell program obtains memory space occupancy data and / or hardware configuration data of the target television terminal;

[0099] Correspondingly, the target shell program determines, based on the operating environment information, whether the operating mode of the target TV application is a local operating mode or a cloud operating mode, including:

[0100] The target shell program determines that the operation mode of the target television application is the local operation mode in response to the memory space occupation data of the target television terminal not exceeding a predetermined threshold and / or the hardware configuration data of the target television terminal meeting the local operation requirement of the target television application;

[0101] Alternatively, the target shell program determines that the operating mode of the target TV application is the cloud operating mode in response to the memory space occupancy data of the target TV terminal exceeding a predetermined threshold, and / or the hardware configuration data of the target TV terminal meeting the cloud operating requirements of the target TV application.

[0102] In one embodiment, the method further includes: in response to the target TV application's running mode being a local running mode, the target shell program running the application package of the target TV application to install the target TV application; and the target shell program starting to run the target TV application.

[0103] In one embodiment, the method further includes: the target shell program downloading and installing the application package of the target TV application according to a preset storage path; or

[0104] The target shell program detects whether the application package of the target TV application needs to be updated; if so, the target shell program updates the application package of the target TV application.

[0105] In one embodiment, the method further includes: in response to the target TV application operating in a cloud operating mode, the target shell program running a streaming program package corresponding to the target TV application to install a streaming application for streaming the target TV application running in the cloud.

[0106] In one embodiment, it further includes:

[0107] The target shell program downloads and installs the streaming program package corresponding to the target TV application according to a preset storage path; or

[0108] The target shell program detects whether a streaming program package corresponding to the target TV application needs to be updated. If so, the target shell program updates the streaming program package corresponding to the target TV application.

[0109] In one embodiment, the target shell program corresponding to the target TV application is started and run, including: in response to the user's start operation of the startup plug-in for the target TV application, the startup plug-in loads and starts the shell program package of the target shell program to install the target shell program and start the target shell program.

[0110] By executing the computer instructions stored on the computer-readable storage medium provided in this embodiment, since the target shell program runs on the target TV terminal and the target shell program provides an operating environment for the target TV application, the target shell program can select the corresponding operating mode based on the operating environment information of the target TV terminal (for example, one or more of the memory space occupancy data, CPU operating status data and hardware configuration data of the target TV terminal). That is, due to the existence of the target shell program, when determining the operating mode of the target TV application, it can be free from the limitations of the TV system. The target shell program can be used to determine whether the operating mode of the target TV application is a local operating mode or a cloud operating mode, making the operation and management process of the TV application of the target TV application more scientific and flexible.

[0111] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0112] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0113] 1. Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include non-transitory media such as modulated data signals and carrier waves.

[0114] 2. Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0115] Although the present application is disclosed as above with the preferred embodiments, it is not intended to limit the present application. Any person skilled in the art may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.

Claims

1. A method for determining a television application operation mode, characterized in that: The method comprises: The target shell program corresponding to the target TV application is started and run, comprising: in response to a user's start operation on a start plug-in for the target TV application, the start plug-in loads and starts a shell program package for running the target shell program, thereby installing the target shell program and starting and running the target shell program, wherein the target shell program runs on a target TV terminal and provides an operating environment for the target TV application; The target shell program obtains the operating environment information of the target television terminal; The target shell program determines, based on the operating environment information, whether the operating mode of the target TV application is a local operating mode or a cloud operating mode.

2. The method according to claim 1, characterized in that The target shell program obtains the operating environment information of the target television terminal, including: the target shell program obtains the memory space occupancy data and / or hardware configuration data of the target television terminal; Correspondingly, the target shell program determines, based on the operating environment information, whether the operating mode of the target TV application is a local operating mode or a cloud operating mode, including: The target shell program determines that the operation mode of the target television application is the local operation mode in response to the memory space occupation data of the target television terminal not exceeding a predetermined threshold and / or the hardware configuration data of the target television terminal meeting the local operation requirement of the target television application; Alternatively, the target shell program determines that the operating mode of the target TV application is the cloud operating mode in response to the memory space occupancy data of the target TV terminal exceeding a predetermined threshold, and / or the hardware configuration data of the target TV terminal meeting the cloud operating requirements of the target TV application.

3. The method according to claim 1 or 2, characterized in that Also includes: In response to the target TV application's running mode being a local running mode, the target shell program runs an application package of the target TV application to install the target TV application; The target shell program starts running the target TV application.

4. The method according to claim 3, characterized in that Also includes: The target shell program downloads and installs the application package of the target TV application according to a preset storage path; or The target shell program detects whether the application package of the target TV application needs to be updated; if so, the target shell program updates the application package of the target TV application.

5. The method according to claim 1 or 2, characterized in that Also includes: In response to the target TV application operating in a cloud operating mode, the target shell program runs a streaming program package corresponding to the target TV application to install a streaming application for streaming the target TV application running in the cloud.

6. The method according to claim 5, characterized in that Also includes: The target shell program downloads and installs the streaming program package corresponding to the target TV application according to a preset storage path; or, The target shell program detects whether a streaming program package corresponding to the target TV application needs to be updated. If so, the target shell program updates the streaming program package corresponding to the target TV application.

7. A device for determining a television application operation mode, characterized in that: The device comprises: a target shell program startup and operation unit, configured to start and operate the target shell program corresponding to the target television application, comprising: in response to a user's startup operation on a startup plug-in for the target television application, causing the startup plug-in to load and start a shell program package for running the target shell program, thereby installing the target shell program and starting and operating the target shell program, wherein the target shell program runs on a target television terminal and provides an operating environment for the target television application; An operating environment information obtaining unit, configured to enable the target shell program to obtain the operating environment information of the target television terminal; The operation mode determining unit is configured to enable the target shell program to determine whether the operation mode of the target TV application is a local operation mode or a cloud operation mode based on the operation environment information.

8. An electronic device, characterized in that: comprising a processor and a memory; wherein, The memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having one or more computer instructions stored thereon, characterized in that: The instructions are executed by a processor to implement the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Application running method and device, electronic equipment and storage medium

    CN116156258A