[go: up one dir, main page]

CN111176759A - Application program running method and system, television equipment and storage medium - Google Patents

Application program running method and system, television equipment and storage medium Download PDF

Info

Publication number
CN111176759A
CN111176759A CN201911423989.6A CN201911423989A CN111176759A CN 111176759 A CN111176759 A CN 111176759A CN 201911423989 A CN201911423989 A CN 201911423989A CN 111176759 A CN111176759 A CN 111176759A
Authority
CN
China
Prior art keywords
application
application program
uniform resource
resource locator
running
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911423989.6A
Other languages
Chinese (zh)
Other versions
CN111176759B (en
Inventor
张震
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201911423989.6A priority Critical patent/CN111176759B/en
Publication of CN111176759A publication Critical patent/CN111176759A/en
Application granted granted Critical
Publication of CN111176759B publication Critical patent/CN111176759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an application program running method, which comprises the steps of determining a target application program specified by an application starting instruction when the application starting instruction aiming at the application program is detected; analyzing and acquiring a uniform resource locator of the target application program; and acquiring the application parameters of the target application program according to the uniform resource locator, and running the target application program based on the application parameters. The invention also discloses an application program running system, television equipment and a computer readable storage medium, and solves the technical problems that the hardware resources of a television end and the human resources of application maintenance personnel are seriously occupied by the starting running mode of the existing application program.

Description

Application program running method and system, television equipment and storage medium
Technical Field
The invention belongs to the technical field of internet application, and particularly relates to an application program running method, an application program running system, television equipment and a computer readable storage medium.
Background
In the process of starting and running each existing application program, each corresponding application program package needs to be developed and installed on the current television terminal according to a third-party supplier of each application program, so that not only a large amount of disk storage space of the television terminal needs to be occupied, but also a large amount of human resources need to be consumed to correspondingly maintain a plurality of codes corresponding to each application program in the later maintenance process of each application program.
Therefore, the problems that hardware resources of a television end and human resources of application maintenance personnel are seriously occupied when the existing network application is started and operated exist.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide an application program running method, and aims to solve the technical problems that hardware resources of a television end and human resources of application maintenance personnel are seriously occupied when the conventional application program is started and run.
In order to achieve the above object, the present invention provides an application program running method, including:
when an application starting instruction for the application program is detected, determining a target application program specified by the application starting instruction;
analyzing and acquiring a uniform resource locator of the target application program;
and acquiring the application parameters of the target application program according to the uniform resource locator, and running the target application program based on the application parameters.
Optionally, after the step of obtaining the uniform resource locator of the target application by parsing, the method further includes:
and calling a system preset service according to the function configuration parameters of the target application program.
Optionally, the step of calling a system preset service according to the function configuration parameter of the target application program includes:
determining an operation configuration file of the target application program according to the function configuration parameters, wherein the operation configuration file records a uniform resource locator of the target application program;
and calling system preset service according to the operation configuration file.
Optionally, the step of calling a system preset service according to the operation configuration file includes:
detecting whether the uniform resource locator obtained by analysis is matched with the uniform resource locator recorded in the operation configuration file;
and when the uniform resource locator acquired by detection and analysis is matched with the uniform resource locator recorded in the running configuration file, calling a system preset service according to the running configuration file.
Optionally, the step of running the target application based on the application parameter includes:
detecting whether the application parameters loaded according to the uniform resource locator contain audio and video information or not;
and if so, calling a preset player service to read and play the audio and video data corresponding to the audio and video information.
Optionally, the step of obtaining the uniform resource locator of the target application through parsing includes:
when an application starting instruction aiming at the application program is detected, acquiring an application starting function packaged with the uniform resource locator;
and transferring the application starting function to an application program package corresponding to the target application program so as to execute the application starting function to analyze the uniform resource locator based on the application program package.
Optionally, the step of executing the application start function to resolve the uniform resource locator based on the application package includes:
calling the application program package, acquiring the structure array of the target application program from the application starting function, and analyzing and extracting the encapsulated uniform resource locator from the structure array.
In addition, to achieve the above object, the present invention further provides an application program operating system, including: an application manager and a browser, wherein,
the application manager is used for determining a target application program specified by the application starting instruction when the application starting instruction aiming at the application program is detected;
the application manager is also used for analyzing and acquiring the uniform resource locator of the target application program;
the browser is used for acquiring the application parameters of the target application program according to the uniform resource locator and running the target application program based on the application parameters.
In addition, to achieve the above object, the present invention also provides a television apparatus, including: the device comprises a memory, a processor and a running program of an application program stored on the memory and capable of running on the processor, wherein the running program of the application program realizes the steps of the running method of the application program when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, wherein an execution program of an application program is stored on the computer-readable storage medium, and the execution program of the application program, when executed by a processor, implements the steps of the execution method of the application program as described above.
According to the operation method, the system, the television device and the computer readable storage medium of the application program, provided by the embodiment of the invention, when the application starting instruction aiming at the application program is detected, the target application program specified by the application starting instruction is determined; analyzing and acquiring a uniform resource locator of the target application program; and acquiring the application parameters of the target application program according to the uniform resource locator, and running the target application program based on the application parameters.
According to the method, when the current television end detects an application starting instruction triggered by a user aiming at an application program, the target application program appointed by the application starting instruction is determined, the uniform resource locator of the determined target application program is analyzed and obtained, and then corresponding application parameters are loaded according to the obtained uniform resource locator so as to open and display an application interface of the target application program on the current television end.
The invention realizes that the application interface of the target application program is started and operated and displayed at the television end only based on the uniform resource locator which determines the target application program required to be started and operated by a user and the corresponding application parameters are loaded based on the uniform resource locator, so that a large amount of disk space of the television end is occupied without installing a plurality of application programs on the current television end, and code maintenance is not required aiming at a large amount of application programs in the subsequent application maintenance process, thereby solving the technical problems that the hardware resources of the television end and the human resources of application maintenance personnel are seriously occupied by the starting operation mode of the existing application program.
Drawings
Fig. 1 is a schematic structural diagram of a television apparatus in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for operating an application program according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of the method for operating an application program according to the present invention;
fig. 4 is a schematic view illustrating a starting operation flow of a network application in an embodiment of an operation method of an application program according to the present invention;
fig. 5 is a schematic structural diagram of an operating system of an application program according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: generating an application program icon on a user interface of the television terminal according to the uniform resource locator of the third-party application program; when an application starting instruction is detected based on the application program icon, starting a preset general application, and analyzing and acquiring the uniform resource locator based on the preset general application; and loading application parameters according to the uniform resource locator so as to run the third-party application program on the television terminal.
In the prior art, each network application needs to be developed and installed on the current television according to a third-party provider of each application program in starting and running, so that not only a large amount of disk storage space of the television is occupied, but also a large amount of human resources need to be consumed to correspondingly maintain codes corresponding to a plurality of application programs in the later maintenance process of each application program, and the problems that hardware resources of the television and human resources of application maintenance personnel are seriously occupied exist.
The invention provides a solution, which only provides an application inlet based on a universal application pre-installed on a television end, starts and operates an application interface for displaying each third-party application program at the television end according to a uniform resource locator of the third-party application program corresponding to each application program icon displayed on a user interface of each television end, does not need to install a plurality of application programs of each third-party application program on the current television end to occupy a large amount of disk space of the television end, and only needs to carry out code maintenance aiming at only one unique universal application installed on the current television end in the subsequent application maintenance process, thereby solving the technical problems that the hardware resources of the television end and the human resources of application maintenance personnel are seriously occupied by the starting operation mode of the existing network application.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a television device in a hardware operating environment according to an embodiment of the present invention.
The television device in the embodiment of the present invention may also be a television device with a display function, such as a PC, a smart phone, a tablet computer, an e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, motion Picture Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion Picture Experts compression standard Audio Layer 3) player, a portable computer, or the like.
As shown in fig. 1, the television apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include an input unit such as a keypad (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the television apparatus configuration shown in fig. 1 does not constitute a limitation of the television apparatus and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an execution program of an application program.
In the television apparatus shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and communicating with the backend server in data; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a running program of the application stored in the memory 1005 and perform the following operations:
when an application starting instruction for the application program is detected, determining a target application program specified by the application starting instruction;
analyzing and acquiring a uniform resource locator of the target application program;
and acquiring the application parameters of the target application program according to the uniform resource locator, and running the target application program based on the application parameters.
Further, after the step of obtaining the uniform resource locator of the target application program by parsing, the method further includes:
and calling a system preset service according to the function configuration parameters of the target application program.
Further, the step of calling a system preset service according to the function configuration parameters of the target application program includes:
determining an operation configuration file of the target application program according to the function configuration parameters, wherein the operation configuration file records a uniform resource locator of the target application program;
and calling system preset service according to the operation configuration file.
Further, the step of calling a system preset service according to the operation configuration file includes:
detecting whether the uniform resource locator obtained by analysis is matched with the uniform resource locator recorded in the operation configuration file;
and when the uniform resource locator acquired by detection and analysis is matched with the uniform resource locator recorded in the running configuration file, calling a system preset service according to the running configuration file.
Further, the step of running the target application based on the application parameters includes:
detecting whether the application parameters loaded according to the uniform resource locator contain audio and video information or not;
and if so, calling a preset player service to read and play the audio and video data corresponding to the audio and video information.
Further, the step of parsing to obtain the uniform resource locator of the target application includes:
when an application starting instruction aiming at the application program is detected, acquiring an application starting function packaged with the uniform resource locator;
and transferring the application starting function to an application program package corresponding to the target application program so as to execute the application starting function to analyze the uniform resource locator based on the application program package.
Further, the step of parsing the uniform resource locator based on the application package executing the application launch function comprises:
calling the application program package, acquiring the structure array of the target application program from the application starting function, and analyzing and extracting the encapsulated uniform resource locator from the structure array.
Based on the above hardware structure, embodiments of the application program running method of the present invention are provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of an application program running method according to the present invention, where in the first embodiment of the application program running method according to the present invention, the application program running method includes:
step S10, when detecting the application starting instruction for the application program, determining the target application program specified by the application starting instruction;
it should be noted that, in this embodiment, the current tv end generates an application icon of the third-party application on a user interface of the current tv end according to a Uniform Resource Locator (URL) of the current third-party application provided by a developer of the third-party application.
Specifically, for example, when a developer of a third-party application needs to popularize and install a third-party application developed by the developer to a current television terminal based on negotiation, a uniform resource locator is extracted from each application data of the third-party application provided by the developer, the uniform resource locator is encapsulated in a customized application icon of the third-party application provided by the developer by an application manager (specifically, appramework independently developed based on TCL) of the current television terminal, and then the application icon is displayed on a desktop of the current television terminal in a layout manner.
When the current television end detects a starting instruction aiming at the application program triggered by a user, the target application program which is specified by the starting instruction and needs to be started and run currently is determined based on the icon selected when the user triggers the starting instruction.
Specifically, for example, when the current television detects that the user triggers a start instruction for an application program on the current television based on selecting an application icon of a "cooling" application displayed on the user interface of the current television and inputting a "determination" key value, it is determined that the "cooling" application identified by the selected application icon when the user triggers the start instruction is the target application program.
Step S20, analyzing and acquiring the uniform resource locator of the target application program;
when the television terminal detects an application starting instruction triggered by a user based on any application program icon displayed on a user interface and determines a target application program pointed by the starting instruction, a universal application program package is started and operated at the current television terminal, and the application program package analyzes and acquires the uniform resource locator of the target application program identified by the current application program icon.
It should be noted that, in this embodiment, the preset general application package is a unique application program that is installed in advance on the current television end, and is responsible for analyzing the uniform resource locator of each third-party application program correspondingly, and starts each intermediate interface of the preset browser of the current television end, and loads the obtained related application parameters according to the uniform resource locator, so as to start the application interface of each application program and display the application interface.
Further, in step S20, when an application start instruction is detected based on the application icon, the step of starting a preset general application includes:
step S21, when detecting the application start instruction for the application program, obtaining the application start function packaged with the uniform resource locator;
step S22, the application start function is transferred to the application package corresponding to the target application program, so as to execute the application start function to resolve the uniform resource locator based on the application package.
It should be noted that, in the present embodiment, in the starting operation flow of the network application shown in fig. 4, when it is detected that the User triggers an application start instruction for an application icon displayed on the desktop of the current television terminal according to a User Interface (i.e., a User Interface) performing human-computer interaction with the User at the current television terminal, the uniform resource locator of the target application program specified by the application icon selected by the User is immediately encapsulated in an application start function that needs to be called by the current television terminal according to the start instruction of the application program.
When the television end detects an application starting instruction triggered by a user based on any application program icon displayed on a user interface and determines a target application program pointed by the starting instruction, an application starting function packaged with a uniform resource locator of the target application program at present is obtained, then a preset universal application program package is called, a structure array of the target application program is obtained from the application starting function, and the packaged uniform resource locator is analyzed and extracted from the structure array.
Specifically, for example, when detecting an application start instruction triggered by a user, the user interface of the current tv end encapsulates a uniform resource locator of a third-party application program encapsulated by an application program icon selected by the user on the desktop of the tv end into an application start function "tos _ am _ start activity (ctx, intent)", and a second parameter, inside the internal structure, so that the current tv end invokes the application start function "tos _ am _ start activity (ctx, intent)", according to the application start instruction, to execute the application start function, thereby starting the only one application program pre-installed on the current tv end, namely the general application, after the application manager of the current tv end starts the general application, the general application manager receives the application start function "tos _ am _ start activity (ctx, intent)", executed by the application manager, and starts the application start function "tos _ am _ start activity (ctx, intent) "is obtained, that is, the second parameter intent structure of the current application start function" tos _ am _ startActivity (ctx, intent) "is obtained, and the uniform resource locator of the target application program encapsulated by the current television-end user interface is obtained by parsing from the intent structure.
Step S30, obtaining the application parameter of the target application according to the uniform resource locator, and running the target application based on the application parameter.
And loading corresponding application parameters according to the acquired uniform resource locator so as to open and display an application interface of the third-party application program on the current television terminal.
Specifically, for example, in the start operation flow of the web application shown in fig. 4, after the general application obtains the second parameter inter structure of the current application start function "tos _ am _ startActivity (ctx, internal)" from the application start function "tos _ am _ startActivity (ctx, internal)", and parses and extracts the uniform resource locator encapsulated by the user interface of the current television end from the inter structure, the uniform resource locator is transferred to a Browser T Browser (Browser) preset at the current television end, then the Browser T Browser calls a loadurl interface (an interface for loading web page data) and loads corresponding application data according to the extracted uniform resource locator of the target application program, so as to open and display the application interface of the current third-party application program at the current television end.
Further, step S30 includes:
step S31, detecting whether the application parameters loaded according to the uniform resource locator contain audio and video information;
and step S32, calling a preset player service to read and play audio and video data corresponding to the audio and video information.
The method comprises the steps that a browser preset at a current television end is loaded to obtain application parameters of a target application program, whether loaded application parameters contain audio and video information and data or not is detected at all times in the process of running and displaying an application interface of the target application program according to the application parameters, and when the audio and video information and the data are detected, a player service of the current television end is called so that the current television end analyzes the audio and video data to play related audio and video.
Specifically, for example, in the start operation flow of the network application as shown in fig. 4, in the process that the TBrowser calls the loadurl interface to load corresponding application data according to the extracted uniform resource locator of the target application program, so that in the process that the current television end opens and displays the application interface of the current target application program, the T Browser detects whether a < video > </video > or a < audio > </audio > tag pair exists in a page html file of each application parameter loaded by the T Browser at any time, and when the < video > </video > or the < audio > </audio > tag pair exists, determines that audio and video data exists in the loaded current target application program, and calls a function of a player service of the current television end to parse the audio and video data and play the audio and video on the current television end.
It should be noted that, in another embodiment, when the T Browser does not detect that the < video > </video > or < audio > </audio > tag pair exists in the html file of the page of each application parameter loaded by the T Browser, the function of the player service is not called.
In this embodiment, when a current television detects a start instruction for an application triggered by a user, a target application specified by the start instruction and needing to be started and run currently is determined based on an icon selected when the user triggers the start instruction, after the television detects the application start instruction triggered by the user based on any application icon displayed on a user interface and determines the target application pointed by the start instruction, a general application package is started and run on the current television, the application package analyzes and acquires a uniform resource locator of the target application identified by the current application icon, and corresponding application parameters are loaded according to the acquired uniform resource locator so as to open and display an application interface of a third-party application on the current television.
The invention realizes that the application interface of the target application program is started and operated and displayed at the television end only based on the uniform resource locator which determines the target application program required to be started and operated by a user and the corresponding application parameters are loaded based on the uniform resource locator, so that a large amount of disk space of the television end is occupied without installing a plurality of application programs on the current television end, and code maintenance is not required aiming at a large amount of application programs in the subsequent application maintenance process, thereby solving the technical problems that the hardware resources of the television end and the human resources of application maintenance personnel are seriously occupied by the starting operation mode of the existing application program.
Further, based on the first embodiment of the running method of the application program of the present invention shown in fig. 2, a second embodiment of the running method of the running application program is proposed.
Referring to fig. 3, fig. 3 is a flowchart illustrating an operation method of an application program according to a second embodiment of the present invention, where in the second embodiment of the operation method of an application program according to the present invention, in step S30 in the first embodiment, after obtaining an application parameter of the target application program according to the uniform resource locator, and operating the target application program based on the application parameter, the operation method of an application program according to the present invention further includes:
step S40, calling a system preset service according to the function configuration parameters of the target application program;
and the current television terminal calls each system preset service of the current television terminal according to the function configuration parameters of the third-party application program provided by the developer in the process of calling an intermediate interface of a preset browser of the current television terminal based on the general application and loading corresponding application parameters according to the acquired uniform resource locator of the target application program so as to open and display the application interface of the target application program.
Further, in step S40, according to the function configuration parameter of the target application, invoking a system provisioning service, including:
step S41, determining the operation configuration file of the target application program according to the function configuration parameters;
it should be noted that, in this embodiment, a developer of a third-party application needs to install the third-party application that is developed by the developer on the current television end in a generalized manner based on negotiation, extract a uniform resource locator from each application data of the third-party application that is provided by the developer, encapsulate the uniform resource locator in a customized application icon of the third-party application that is provided by the developer by an application manager (specifically, an APP frame that is autonomously developed based on TCL) of the current television end, and then write an operation configuration file of a universal application that is uniquely installed on the current television end by the application manager according to operation function configuration parameters of the third-party application that are provided by the developer while displaying the application icon on a desktop of the current television end.
Specifically, for example, a Browser-T Browser preset at the television terminal invokes a load uniform resource locator interface to load corresponding application data according to the extracted uniform resource locator of the target application program, so that in the process of opening and displaying the application interface of the current target application program at the current television terminal, the T Browser loads an operating configuration file written with the functional configuration parameters of the target application program, in which the current general application is currently operating.
In this embodiment, a uniform resource locator of a target application program is recorded in an operation configuration file written according to a functional configuration requirement of the target application program.
And step S42, calling a system preset service according to the running configuration file.
It should be noted that, in this embodiment, the system preset service is that, in the process of running the application program, the television side starts to run various system functions according to the executed running configuration file, for example, a player service is started when audio and video playing needs to be performed, and a camera, a microphone and the like are started when a real-time video call needs to be performed.
Further, step S42 includes:
step S421, detecting whether the uniform resource locator obtained by analysis is matched with the uniform resource locator recorded in the operation configuration file;
it should be noted that, in this embodiment, after a Browser — T Browser preset at the television end loads an operation configuration file written with an operation special requirement of a target application program and currently operated by a general application, it is preferentially detected whether a uniform resource locator recorded in the configuration file matches a uniform resource locator encapsulated by a current television end user interface, which is extracted by parsing from a second parameter intent structure of a "tos _ am _ startActivity (ctx, intent)" based on the general application.
Specifically, for example, in the startup operation flow of the network application shown in fig. 4, when a Browser-T Browser preset at the television detects that a uniform resource locator recorded in a loaded operation configuration file matches a uniform resource locator encapsulated in a current television user interface extracted based on a general application parsing, it detects that a page of a third-party application program corresponding to the encapsulated uniform resource locator itself implements an input method, and thus the system input method needs to be closed, and the Browser T Browser notifies the current general application to disable a system input method called by the general application.
Step S422, when the uniform resource locator obtained by detection and analysis is matched with the uniform resource locator recorded in the running configuration file, calling a system preset service according to the running configuration file.
And when detecting that the uniform resource locators recorded in the operation configuration file are matched with the uniform resource locators, calling current various system preset services of the television according to the system preset services required to be called by the operation configuration file.
Specifically, for example, in the start operation flow of the network application as shown in fig. 4, when a Browser-T Browser preset at the television detects that a uniform resource locator recorded in a loaded operation configuration file matches a uniform resource locator encapsulated in a current television user interface extracted based on a general application analysis, it is detected that a page of a target application program corresponding to the encapsulated uniform resource locator currently needs to perform real-time image acquisition, so as to call a system camera, and the Browser T Browser notifies the current general application to call all system general functions on the current television, and then newly calls the system camera.
In this embodiment, the current television terminal calls, according to the function configuration parameters of the third-party application program provided by the developer, system preset services of the current television terminal in the process of calling an intermediate interface of a current television terminal preset browser based on a general application and loading corresponding application parameters according to the obtained uniform resource locator of the target application program so as to open and display the application interface of the target application program.
The method and the device realize that in the process of starting, running and displaying the application interface of each third-party application program based on the television terminal, each system preset service required by running the third-party application program is called on the current television terminal flexibly based on each function configuration parameter of the third-party application program, and meet each running requirement of each third-party application program.
In addition, referring to fig. 5, an embodiment of the present invention further provides an application program operating system, where the application program operating system includes: an application manager and a browser, wherein,
the application manager is used for determining a target application program specified by the application starting instruction when the application starting instruction aiming at the application program is detected;
the application manager is also used for analyzing and acquiring the uniform resource locator of the target application program;
the browser is used for acquiring the application parameters of the target application program according to the uniform resource locator and running the target application program based on the application parameters.
Optionally, the browser is further configured to invoke a system preset service according to the function configuration parameter of the target application program.
Optionally, a browser, comprising:
the determining module is used for determining an operation configuration file of the target application program according to the function configuration parameters, wherein the operation configuration file records a uniform resource locator of the target application program;
and the calling module is used for calling the system preset service according to the running configuration file.
Optionally, the calling module includes:
the detection unit is used for detecting whether the uniform resource locator obtained by analysis is matched with the uniform resource locator recorded in the operation configuration file;
and the calling unit is used for calling the system preset service according to the operation configuration file when the uniform resource locator obtained by detection and analysis is matched with the uniform resource locator recorded in the operation configuration file.
Optionally, the browser further includes:
the detection module is used for detecting whether the application parameters loaded according to the uniform resource locator contain audio and video information or not;
and the calling module is used for calling a preset player service to read and play the audio and video data corresponding to the audio and video information.
Optionally, the application manager comprises:
the acquisition module is used for acquiring the application starting function encapsulated with the uniform resource locator when detecting an application starting instruction aiming at the application program;
and the starting module is used for transferring the application starting function to an application program package corresponding to the target application program so as to execute the application starting function to analyze the uniform resource locator based on the application program package.
Optionally, the starting module further includes:
and the analysis unit is used for calling the application program package, acquiring the structure array of the target application program from the application starting function, and analyzing and extracting the encapsulated uniform resource locator from the structure array.
The steps implemented by the functional modules of the running system of the application program in the invention during running can refer to the above embodiments of the running method of the application program, and are not described herein again.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where an execution program of an application program is stored on the computer-readable storage medium, and the execution program of the application program, when executed by a processor, implements the steps of the execution method of the application program described above.
The specific implementation of the computer-readable storage medium of the present invention may refer to the embodiments of the operation method of the application program, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a television apparatus (e.g., a television, a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1.一种应用程序的运行方法,其特征在于,所述应用程序的运行方法包括:1. A method for running an application program, wherein the method for running an application program comprises: 当检测到针对所述应用程序的应用启动指令时,确定所述应用启动指令指定的目标应用程序;When an application startup instruction for the application is detected, determine the target application specified by the application startup instruction; 解析获取所述目标应用程序的统一资源定位符;Parse to obtain the uniform resource locator of the target application; 根据所述统一资源定位符获取所述目标应用程序的应用参数,并基于所述应用参数运行所述目标应用程序。Obtain application parameters of the target application according to the uniform resource locator, and run the target application based on the application parameters. 2.如权利要求1所述的应用程序的运行方法,其特征在于,在所述解析获取所述目标应用程序的统一资源定位符的步骤之后,还包括:2. The method for running an application program according to claim 1, wherein after the step of parsing and acquiring the uniform resource locator of the target application program, the method further comprises: 根据所述目标应用程序的功能配置参数,调用系统预设服务。According to the function configuration parameters of the target application, the system preset service is invoked. 3.如权利要求2所述的应用程序的运行方法,其特征在于,所述根据所述目标应用程序的功能配置参数,调用系统预设服务的步骤,包括:3. The method for running an application program according to claim 2, wherein the step of invoking a system preset service according to the function configuration parameter of the target application program comprises: 依据所述功能配置参数确定所述目标应用程序的运行配置文件,其中,所述运行配置文件记录有所述目标应用程序的统一资源定位符;determining the running configuration file of the target application according to the function configuration parameter, wherein the running configuration file records the uniform resource locator of the target application; 根据所述运行配置文件调用系统预设服务。The system preset service is invoked according to the running configuration file. 4.如权利要求3所述的应用程序的运行方法,其特征在于,所述根据所述运行配置文件调用系统预设服务的步骤,包括:4. The method for running an application program according to claim 3, wherein the step of invoking a system preset service according to the running configuration file comprises: 检测解析获取到的所述统一资源定位符是否与所述运行配置文件中记录的统一资源定位符相匹配;Detecting whether the uniform resource locator obtained by parsing matches the uniform resource locator recorded in the running configuration file; 当检测解析获取到的所述统一资源定位符与所述运行配置文件中记录的统一资源定位符相匹配时,按照所述运行配置文件调用系统预设服务。When the uniform resource locator obtained by detection and analysis matches the uniform resource locator recorded in the running configuration file, the system preset service is invoked according to the running configuration file. 5.如权利要求1所述的应用程序的运行方法,其特征在于,所述基于所述应用参数运行所述目标应用程序的步骤,包括:5. The method for running an application program according to claim 1, wherein the step of running the target application program based on the application parameters comprises: 检测根据所述统一资源定位符加载的所述应用参数中是否含有音视频信息;Detecting whether the application parameters loaded according to the uniform resource locator contain audio and video information; 若是,则调用预设播放器服务读取并播放与所述音视频信息对应的音视频数据。If so, call the preset player service to read and play the audio and video data corresponding to the audio and video information. 6.如权利要求1所述的应用程序的运行方法,其特征在于,所述解析获取所述目标应用程序的统一资源定位符的步骤,包括:6. The method for running an application program according to claim 1, wherein the step of parsing and acquiring the uniform resource locator of the target application program comprises: 当检测到针对所述应用程序的应用启动指令时,获取封装有所述统一资源定位符的应用启动函数;When an application startup instruction for the application is detected, acquiring an application startup function encapsulated with the uniform resource locator; 将所述应用启动函数传递至所述目标应用程序对应的应用程序包,以基于所述应用程序包执行所述应用启动函数解析所述统一资源定位符。The application startup function is passed to an application package corresponding to the target application, so as to execute the application startup function based on the application package to resolve the uniform resource locator. 7.如权利要求6所述的应用程序的运行方法,其特征在于,所述基于所述应用程序包执行所述应用启动函数解析所述统一资源定位符的步骤,包括:7. The method for running an application program according to claim 6, wherein the step of parsing the uniform resource locator by executing the application startup function based on the application program package comprises: 调用所述应用程序包,从所述应用启动函数中获取所述目标应用程序的结构体数组,并从所述结构体数组中解析并提取出封装的所述统一资源定位符。The application package is called, the structure array of the target application is obtained from the application startup function, and the encapsulated uniform resource locator is parsed and extracted from the structure array. 8.一种应用程序的运行系统,其特征在于,所述应用程序的运行系统包括:应用管理器和浏览器,其中,8. An application operating system, wherein the application operating system comprises: an application manager and a browser, wherein, 所述应用管理器,用于当检测到针对所述应用程序的应用启动指令时,确定所述应用启动指令指定的目标应用程序;the application manager, configured to determine a target application specified by the application startup instruction when an application startup instruction for the application program is detected; 所述应用管理器,还用于解析获取所述目标应用程序的统一资源定位符;The application manager is further configured to parse and obtain the uniform resource locator of the target application; 所述浏览器,用于根据所述统一资源定位符获取所述目标应用程序的应用参数,并基于所述应用参数运行所述目标应用程序。The browser is configured to acquire application parameters of the target application according to the uniform resource locator, and run the target application based on the application parameters. 9.一种电视设备,所述电视设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的应用程序的运行程序,所述应用程序的运行程序被所述处理器执行时实现如权利要求1至7中任一项所述的应用程序的运行方法的步骤。9. A television device, the television device comprising: a memory, a processor, and an execution program of an application program stored on the memory and executable on the processor, the execution program of the application program being executed by the When executed by the processor, the steps of the method for running an application program according to any one of claims 1 to 7 are implemented. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有应用程序的运行程序,所述应用程序的运行程序被处理器执行时实现如权利要求1至7中任一项所述的应用程序的运行方法的步骤。10. A computer-readable storage medium, wherein the computer-readable storage medium stores a running program of an application program, and when the running program of the application program is executed by a processor, it is implemented as in claims 1 to 7 The steps of any one of the application running methods.
CN201911423989.6A 2019-12-30 2019-12-30 Application program operating method, system, television device, and storage medium Active CN111176759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911423989.6A CN111176759B (en) 2019-12-30 2019-12-30 Application program operating method, system, television device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911423989.6A CN111176759B (en) 2019-12-30 2019-12-30 Application program operating method, system, television device, and storage medium

Publications (2)

Publication Number Publication Date
CN111176759A true CN111176759A (en) 2020-05-19
CN111176759B CN111176759B (en) 2023-05-02

Family

ID=70654487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911423989.6A Active CN111176759B (en) 2019-12-30 2019-12-30 Application program operating method, system, television device, and storage medium

Country Status (1)

Country Link
CN (1) CN111176759B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115291971A (en) * 2022-08-05 2022-11-04 珠海格力电器股份有限公司 Application parameter setting method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120266186A1 (en) * 2011-04-12 2012-10-18 International Business Machines Corporation Providing inter-platform application launch in context
CN102880514A (en) * 2012-10-26 2013-01-16 北京小米科技有限责任公司 Method and device for calling application program
CN106372250A (en) * 2016-09-23 2017-02-01 郑州云海信息技术有限公司 Parameter passing method and device capable of starting local application through URL protocol
CN110286955A (en) * 2018-03-16 2019-09-27 青岛海尔多媒体有限公司 The method, apparatus and computer readable storage medium of application program launching

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120266186A1 (en) * 2011-04-12 2012-10-18 International Business Machines Corporation Providing inter-platform application launch in context
CN102880514A (en) * 2012-10-26 2013-01-16 北京小米科技有限责任公司 Method and device for calling application program
CN106372250A (en) * 2016-09-23 2017-02-01 郑州云海信息技术有限公司 Parameter passing method and device capable of starting local application through URL protocol
CN110286955A (en) * 2018-03-16 2019-09-27 青岛海尔多媒体有限公司 The method, apparatus and computer readable storage medium of application program launching

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115291971A (en) * 2022-08-05 2022-11-04 珠海格力电器股份有限公司 Application parameter setting method and device and electronic equipment

Also Published As

Publication number Publication date
CN111176759B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
KR102436987B1 (en) Method and terminal device for extracting web page content
CN108319489B (en) Application page startup method, device, storage medium and electronic device
US20140019891A1 (en) System and method for creating and delivering platform independent interactive applications on user devices
WO2014169565A1 (en) Terminal testing method and device
CN105718313A (en) Application operation method and device
WO2019157860A1 (en) Method and device for launching application interface, storage medium, and electronic apparatus
CN103268361A (en) Method, device and system for extracting hidden URLs in web pages
US20150169600A1 (en) Interface display method and system for home gateway applicable to various display types
CN105955833B (en) Engine calling method and device
CN112667482A (en) Service function calling method, mobile terminal and storage medium
CN111880789A (en) Page rendering method, device, server and computer-readable storage medium
RU2010143024A (en) METHOD FOR DISPLAYING INFORMATION GENERATED BY THE CLIENT
US20130191726A1 (en) Automatic widget creation apparatus and method for invoking heterogeneous web services in a composite application
US9571557B2 (en) Script caching method and information processing device utilizing the same
CN105243088B (en) Method and device for obtaining web page content in Android system
CN111176759B (en) Application program operating method, system, television device, and storage medium
CN104375831A (en) Method, device and system realizing communication between webpage and applications on terminal equipment
CN110852259A (en) Living body identification method, system, apparatus, device, and computer-readable storage medium
JP2009031960A (en) Technology for relaying communication between client device and server device
CN112115135B (en) Database upgrade, data processing, data transmission methods and devices
US20180192121A1 (en) System and methods thereof for displaying video content
CN105657551A (en) Method and apparatus used by smart television to respond to analog key
CN113672826A (en) Page jump method, device, computer equipment and storage medium
CN103702221B (en) The content issue presentation system and issue rendering method of Online Video
CN112214698A (en) An information processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant