CN106658193A - Method and device for installing application program in set-top box - Google Patents

Method and device for installing application program in set-top box Download PDF

Info

Publication number
CN106658193A
CN106658193A CN201611170243.5A CN201611170243A CN106658193A CN 106658193 A CN106658193 A CN 106658193A CN 201611170243 A CN201611170243 A CN 201611170243A CN 106658193 A CN106658193 A CN 106658193A
Authority
CN
China
Prior art keywords
application program
installation kit
extension name
program installation
box system
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
CN201611170243.5A
Other languages
Chinese (zh)
Other versions
CN106658193B (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.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media 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 TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN201611170243.5A priority Critical patent/CN106658193B/en
Publication of CN106658193A publication Critical patent/CN106658193A/en
Application granted granted Critical
Publication of CN106658193B publication Critical patent/CN106658193B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4431OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB characterized by the use of Application Program Interface [API] libraries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a device for installing an application program in a set-top box. The method and the device are used for solving the problem that a third-party application cannot be installed in the set-top box. The method comprises the steps of receiving an installation request aiming at an application program installation package which cannot be identified by a set-top box system; judging whether the application program installation package can be installed in the set-top box system; and installing the application program installation package based on the installation request when the application program installation package can be installed in the set-top box system. According to the technical scheme, the application program installation package which cannot be identified by the set-top box system also can be installed in the set-top box system, and the problem that the third-party application cannot be installed in the set-top box system is accordingly solved.

Description

The installation method and device of application program in a kind of Set Top Box
Technical field
The present invention relates in Internet technical field, more particularly to a kind of Set Top Box application program installation method and dress Put.
Background technology
Under normal circumstances, the Set Top Box of production needs to limit user installation third-party application, or may only be using carrying Application market install oneself trust application program.That is, without browser in set-top-box system, it is impossible to from browser Middle installation third-party application, inserts the software kit that also cannot normally show after USB flash disk with .apk as extension name, it is seen then that Set Top Box system U disk file browser in system shields the file with " .apk " as suffix name.And the extension name of general Android software bag is Insert on the set-top box after USB flash disk for " .apk ", therefore user, with " .apk " as suffix name on set-top-box system None- identified USB flash disk File, also cannot just show third party application to be mounted, third party application more cannot be installed.
The content of the invention
The embodiment of the present invention provides a kind of installation method and device of application program in Set Top Box, for solving in Set Top Box In the problem of third-party application cannot be installed.
The installation method of application program, is applied to set-top-box system in a kind of Set Top Box, comprises the following steps:
Receive the mount request of the application program installation kit for the set-top-box system None- identified;
Judge whether the application program installation kit can be installed in the set-top-box system;
When the application program installation kit can be installed in the set-top-box system, installed according to the mount request The application program installation kit.
Some beneficial effects of the embodiment of the present invention can include:
Using technical scheme provided in an embodiment of the present invention, answering for set-top-box system None- identified can received During with the mount request of program installation kit, judge whether the application program installation kit can be installed in set-top-box system, and Judge that the application program installation kit installs the application program installation kit when can be installed in set-top-box system so that Set Top Box system The application program installation kit of its None- identified can be also installed in system, cannot install in set-top-box system third party and answer so as to solve With the problem of program.
In one embodiment, judge whether the application program installation kit can be installed in the set-top-box system, Including:
Obtain the extension name of the application program installation kit;
Whether the extension name for judging the application program installation kit belongs to installable application journey in the set-top-box system The default extension name of sequence;
When the extension name of the application program installation kit belongs to the pre- of installable application program in the set-top-box system If during extension name, determining that the application program installation kit can be installed in the set-top-box system.
In one embodiment, whether the extension name for judging the application program installation kit belongs in the set-top-box system The default extension name of installable application program, including:
Access the default white list for storing the default extension name in the set-top-box system;
Judge the extension name that the application program installation kit whether is recorded in the white list;
When record has the extension name of the application program installation kit in the white list, determine that the application program is installed The extension name of bag belongs to the default extension name.
In the embodiment, by presetting white list in set-top-box system, and record in set-top-box system in white list The default extension name of installable application program so that set-top-box system is judging whether application program installation kit can be mounted When, directly inquire about from white list and whether record the extension name of the application program installation kit, therefore make sentencing for extension name Disconnected mode is very easy.
In one embodiment, methods described also includes:
The extension name of the application program installation kit is revised as into the default extension name.
In the embodiment, by the way that the extension name of application program installation kit is revised as into default extension name so that this applies journey The extension name of sequence installation kit belongs to the default extension name of installable application program in set-top-box system, so that the application program Installation kit can be installed in set-top-box system, solve the problems, such as that third-party application cannot be installed in set-top-box system.
In one embodiment, the default extension name includes .apkx.
The erecting device of application program, is applied to set-top-box system in a kind of Set Top Box, including:
Receiver module, the installation for receiving the application program installation kit for the set-top-box system None- identified please Ask;
Judge module, for judging whether the application program installation kit can be installed in the set-top-box system;
Module is installed, for when the application program installation kit can be installed in the set-top-box system, according to institute State mount request and the application program installation kit is installed.
In one embodiment, the judge module includes:
Acquiring unit, for obtaining the extension name of the application program installation kit;
Judging unit, can in the set-top-box system for judging whether the extension name of the application program installation kit belongs to The default extension name of the application program of installation;
Determining unit, belongs to installable in the set-top-box system for the extension name when the application program installation kit During the default extension name of application program, determine that the application program installation kit can be installed in the set-top-box system.
In one embodiment, the judging unit is additionally operable to:
Access the default white list for storing the default extension name in the set-top-box system;
Judge the extension name that the application program installation kit whether is recorded in the white list;
When record has the extension name of the application program installation kit in the white list, determine that the application program is installed The extension name of bag belongs to the default extension name.
In one embodiment, described device also includes:
Modified module, for the extension name of the application program installation kit to be revised as into the default extension name.
In one embodiment, the default extension name includes .apkx.
Other features and advantages of the present invention will be illustrated in the following description, also, the partly change from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realizing and obtain in book, claims and accompanying drawing.
Below by drawings and Examples, technical scheme is described in further detail.
Description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, the reality with the present invention Applying example is used to explain the present invention together, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart of the installation method of application program in a kind of Set Top Box in the embodiment of the present invention;
Fig. 2 is the flow chart of the installation method of application program in a kind of Set Top Box in a specific embodiment of the invention;
Fig. 3 is the block diagram of the erecting device of application program in a kind of Set Top Box in the embodiment of the present invention;
Fig. 4 is the block diagram of judge module in the erecting device of application program in a kind of Set Top Box in the embodiment of the present invention;
Fig. 5 is the block diagram of the erecting device of application program in another kind of Set Top Box in the embodiment of the present invention.
Specific embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that preferred reality described herein Apply example and be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 1 is the flow chart of the installation method of application program in a kind of Set Top Box in the embodiment of the present invention.The Set Top Box The installation method of middle application program is applied in set-top-box system, as shown in figure 1, comprising the following steps S11-S13:
Step S11, receives the mount request of the application program installation kit for set-top-box system None- identified.
Step S12, judges whether application program installation kit can be installed in set-top-box system.
Step S13, when application program installation kit can be installed in set-top-box system, installs according to mount request and applies Program installation kit.
Using technical scheme provided in an embodiment of the present invention, answering for set-top-box system None- identified can received During with the mount request of program installation kit, judge whether the application program installation kit can be installed in set-top-box system, and Judge that the application program installation kit installs the application program installation kit when can be installed in set-top-box system so that Set Top Box system The application program installation kit of its None- identified can be also installed in system, cannot install in set-top-box system third party and answer so as to solve With the problem of program.
In above-described embodiment, after execution step S12, if it is determined that application program installation kit can not be installed in Set Top Box In system, then ignore the mount request.
In one embodiment, during execution step S12, the application program installation kit can as follows be judged whether Can be installed in the set-top-box system:First, the extension name of application program installation kit is obtained;Secondly, application program is judged Whether the extension name of installation kit belongs to the default extension name of installable application program in set-top-box system;If, it is determined that should Can be installed in set-top-box system with program installation kit;If not, it is determined that application program installation kit can not be installed in machine top In box system.
In the embodiment, whether the extension name that can as follows judge application program installation kit belongs to set-top-box system The default extension name of interior installable application program:First, access default for storing default extension name in set-top-box system White list;Secondly, the extension name that application program installation kit whether is recorded in white list is judged;If, it is determined that apply journey The extension name of sequence installation kit belongs to default extension name;If not, it is determined that the extension name of application program installation kit is not belonging to default expansion Exhibition name.
In the embodiment, by presetting white list in set-top-box system, and record in set-top-box system in white list The default extension name of installable application program so that set-top-box system is judging whether application program installation kit can be mounted When, directly inquire about from white list and whether record the extension name of the application program installation kit, therefore make sentencing for extension name Disconnected mode is very easy.
In one embodiment, said method is further comprising the steps of:The extension name of application program installation kit is revised as Default extension name.Wherein, preset extension name different from the extension name that set-top-box system is shielded, for example, may include .apkx.
Certainly, default extension name may also be configured to extended formatting, such as .apky .apkm etc., if with Set Top Box system The shielded extension name of system is different.
In the embodiment, by the way that the extension name of application program installation kit is revised as into default extension name so that this applies journey The extension name of sequence installation kit belongs to the default extension name of installable application program in set-top-box system, so that the application program Installation kit can be installed in set-top-box system, solve the problems, such as that third-party application cannot be installed in set-top-box system.
Fig. 2 is the flow chart of the installation method of application program in a kind of Set Top Box in a specific embodiment of the invention. In the embodiment, the installation method of application program is applied in set-top-box system in Set Top Box, as shown in Fig. 2 including following step Rapid S21-S25:
Before execution step S21-S25, in advance the extension name of application program installation kit can be revised as into default extension name In one kind, be for example revised as .apkx, then perform following step.
Step S21, arranges white list in set-top-box system, installable in the set-top-box system that is stored with the white list The default extension name of application program.
Step S22, receives the mount request of the application program installation kit for the entitled .apkx of extension.
Step S23, accesses white list, and judges extension name .apkx that whether is stored with white list;If so, step is then performed Rapid S24;If it is not, then execution step S25.
Step S24, determines that application program installation kit can be installed in set-top-box system, and installs application program installation Bag.
Step S25, ignores the mount request for the application program installation kit.
It can be seen that, in the embodiment, when user wants to install arbitrary third-party application in set-top-box system, only need to be on machine top White list is set in box system, and the extension name of the application program that can be mounted is write in white list, and by changing operation The extension name for thinking application program installation kit to be mounted is set to belong to white list.Therefore, the embodiment causes set-top-box system The application program installation kit of its None- identified inside can be also installed, cannot install in set-top-box system third-party application so as to solve The problem of program.
Fig. 3 is the block diagram of the erecting device of application program in a kind of Set Top Box in the embodiment of the present invention.As shown in figure 3, The device is applied to set-top-box system, including:
Receiver module 31, the installation for receiving the application program installation kit for set-top-box system None- identified please Ask;
Judge module 32, for judging whether application program installation kit can be installed in set-top-box system;
Module 33 is installed, for when application program installation kit can be installed in set-top-box system, according to mount request Set up applications installation kit.
In one embodiment, as shown in figure 4, judge module 32 includes:
Acquiring unit 321, for obtaining the extension name of application program installation kit;
Judging unit 322, for judging whether the extension name of application program installation kit belongs in set-top-box system and can install Application program default extension name;
Determining unit 323, for the extension name when application program installation kit installable application in set-top-box system is belonged to During the default extension name of program, determine that application program installation kit can be installed in set-top-box system.
In one embodiment, judging unit 322 is additionally operable to:
Access the default white list for storing default extension name in set-top-box system;
Judge the extension name that application program installation kit whether is recorded in white list;
When record has the extension name of application program installation kit in white list, the extension name category of application program installation kit is determined In default extension name.
In one embodiment, as shown in figure 5, said apparatus also include:
Modified module 34, for the extension name of application program installation kit to be revised as into default extension name.
In one embodiment, presetting extension name includes .apkx.
Using device provided in an embodiment of the present invention, the application journey for set-top-box system None- identified can received During the mount request of sequence installation kit, judge whether the application program installation kit can be installed in set-top-box system, and judging The application program installation kit installs the application program installation kit when can be installed in set-top-box system so that in set-top-box system The application program installation kit of its None- identified can be also installed, cannot install in set-top-box system third-party application journey so as to solve The problem of sequence.
With regard to the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or with reference to the reality in terms of software and hardware Apply the form of example.And, the present invention can be adopted and wherein include the computer of computer usable program code at one or more The shape of the computer program implemented in usable storage medium (including but not limited to magnetic disc store and optical memory etc.) Formula.
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer program Figure and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or each stream in block diagram The combination of journey and/or square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of specifying in present one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or The function of specifying in multiple square frames.
These computer program instructions also can be loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow process of flow chart or multiple flow processs and/or block diagram one The step of function of specifying in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without deviating from the present invention to the present invention God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (10)

1. in a kind of Set Top Box application program installation method, it is characterised in that be applied to set-top-box system, methods described bag Include:
Receive the mount request of the application program installation kit for the set-top-box system None- identified;
Judge whether the application program installation kit can be installed in the set-top-box system;
When the application program installation kit can be installed in the set-top-box system, according to the mount request is installed Application program installation kit.
2. method according to claim 1, it is characterised in that judge whether the application program installation kit can be installed in In the set-top-box system, including:
Obtain the extension name of the application program installation kit;
Whether the extension name for judging the application program installation kit belongs to installable application program in the set-top-box system Default extension name;
When the extension name of the application program installation kit belongs to the default expansion of installable application program in the set-top-box system During exhibition name, determine that the application program installation kit can be installed in the set-top-box system.
3. method according to claim 2, it is characterised in that whether the extension name for judging the application program installation kit belongs to The default extension name of installable application program in the set-top-box system, including:
Access the default white list for storing the default extension name in the set-top-box system;
Judge the extension name that the application program installation kit whether is recorded in the white list;
When record has the extension name of the application program installation kit in the white list, the application program installation kit is determined Extension name belongs to the default extension name.
4. according to the method in claim 2 or 3, it is characterised in that methods described also includes:
The extension name of the application program installation kit is revised as into the default extension name.
5. method according to claim 2, it is characterised in that the default extension name includes .apkx.
6. in a kind of Set Top Box application program erecting device, it is characterised in that be applied to set-top-box system, described device bag Include:
Receiver module, for receiving the mount request of the application program installation kit for the set-top-box system None- identified;
Judge module, for judging whether the application program installation kit can be installed in the set-top-box system;
Module is installed, for when the application program installation kit can be installed in the set-top-box system, according to the peace The application program installation kit is installed in dress request.
7. device according to claim 6, it is characterised in that the judge module includes:
Acquiring unit, for obtaining the extension name of the application program installation kit;
Judging unit, for judging whether the extension name of the application program installation kit belongs in the set-top-box system and can install Application program default extension name;
Determining unit, for the extension name when the application program installation kit installable application in the set-top-box system is belonged to During the default extension name of program, determine that the application program installation kit can be installed in the set-top-box system.
8. device according to claim 7, it is characterised in that the judging unit is additionally operable to:
Access the default white list for storing the default extension name in the set-top-box system;
Judge the extension name that the application program installation kit whether is recorded in the white list;
When record has the extension name of the application program installation kit in the white list, the application program installation kit is determined Extension name belongs to the default extension name.
9. the device according to claim 7 or 8, it is characterised in that described device also includes:
Modified module, for the extension name of the application program installation kit to be revised as into the default extension name.
10. device according to claim 7, it is characterised in that the default extension name includes .apkx.
CN201611170243.5A 2016-12-16 2016-12-16 The installation method and device of application program in a kind of set-top box Expired - Fee Related CN106658193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611170243.5A CN106658193B (en) 2016-12-16 2016-12-16 The installation method and device of application program in a kind of set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611170243.5A CN106658193B (en) 2016-12-16 2016-12-16 The installation method and device of application program in a kind of set-top box

Publications (2)

Publication Number Publication Date
CN106658193A true CN106658193A (en) 2017-05-10
CN106658193B CN106658193B (en) 2019-09-13

Family

ID=58823072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611170243.5A Expired - Fee Related CN106658193B (en) 2016-12-16 2016-12-16 The installation method and device of application program in a kind of set-top box

Country Status (1)

Country Link
CN (1) CN106658193B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8943546B1 (en) * 2012-01-27 2015-01-27 Symantec Corporation Method and system for detecting and protecting against potential data loss from unknown applications
CN105516805A (en) * 2016-01-14 2016-04-20 浪潮软件集团有限公司 Method for starting APK based on external storage device and set top box
CN105763899A (en) * 2016-01-29 2016-07-13 四川长虹电器股份有限公司 Intelligent set top box application management system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8943546B1 (en) * 2012-01-27 2015-01-27 Symantec Corporation Method and system for detecting and protecting against potential data loss from unknown applications
CN105516805A (en) * 2016-01-14 2016-04-20 浪潮软件集团有限公司 Method for starting APK based on external storage device and set top box
CN105763899A (en) * 2016-01-29 2016-07-13 四川长虹电器股份有限公司 Intelligent set top box application management system and method

Also Published As

Publication number Publication date
CN106658193B (en) 2019-09-13

Similar Documents

Publication Publication Date Title
US9747438B2 (en) Enabling resource access for secure application containers
US20120198133A1 (en) Electronic device with expandable memory capacity and an expansion method thereof
CN105208442B (en) A kind of video broadcasting method and device of video playing application program
WO2018209958A1 (en) Upgradable file upgrading method, set top box and storage medium
CN107797820B (en) Method and device for generating patch
US20160063266A1 (en) System Function Invoking Method and Apparatus, and Terminal
CN106933887B (en) Data visualization method and device
CN107798064B (en) Page processing method, electronic device and computer readable storage medium
CN105893161A (en) Method and apparatus for calling resource in software program
WO2016070690A1 (en) Method, device and system for realizing communication between application and webpage on terminal device
CN110888922A (en) Method and device for creating target table during data synchronization
EP3125541A1 (en) Data acquisition and interaction method, set top box, server and multimedia system
CN105578224A (en) Multimedia data acquisition method, device, smart television and set-top box
CN112162783B (en) Music playing application keep-alive processing method and system, storage medium and electronic equipment
US20170289204A1 (en) Video playing method and device
CN106658193A (en) Method and device for installing application program in set-top box
CN105262793A (en) Method and system for playing audio file in storage device by intelligent speaker
CN106611118B (en) Method and device for applying login credentials
CN106778255A (en) Credible performing environment isolation detection method and device based on internal memory traversal
US9189633B2 (en) Download management method and device based on android browser
CN110413800B (en) Method and equipment for providing novel information
KR20160134994A (en) Interrupt processing method in modular plc system
KR20140103038A (en) Terminal appratus, server, browser of terminal appratus operaing system and browser operaing method of terminal apparatus
CN104616679A (en) Method and device for improving audio recording and playing quality of Android system
CN104506930A (en) Audio/video data downloading method and television terminal

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Installation method and device of application program in set top box

Effective date of registration: 20210104

Granted publication date: 20190913

Pledgee: Inner Mongolia Huipu Energy Co.,Ltd.

Pledgor: TVMINING (BEIJING) MEDIA TECHNOLOGY Co.,Ltd.

Registration number: Y2020990001527

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190913

Termination date: 20211216