The content of the invention
It is a primary object of the present invention to propose a kind of application installation method and smart television, it is intended to solve in the prior art
Smart television can not judge the technical issues of application program of related installation.
To achieve the above object, the present invention provides a kind of using installation method, and the application installation method includes following step
Suddenly:
When Android system gets current application installation notice, it is in the preset time range before judging current time
It is no to receive other application installation notice;
When receiving other application installation notice, obtain current application installation notify it is corresponding to be installed using journey
The current label information of sequence;
The current label information is matched with default user tag collection;
In the current label information and the user tag collection successful match, the notice that is currently installed on is rung
Should, to realize the installation to the application to be installed.
Preferably, it is described when Android system gets current application installation notice, it is default before judging current time
After other application installation notice whether was received in time range, the method further includes:
When not receiving other application installation notice, the notice that is currently installed on is responded, to realize to described
The installation of application to be installed.
Preferably, it is described when not receiving other application installation notice, the notice that is currently installed on is responded, with
It realizes the installation to the application to be installed, specifically includes:
When not receiving other application installation notice, obtain the current application installation and notify corresponding application to be installed
The current label information added to the user tag is concentrated, is currently installed on leading to described by the current label information of program
Know and responded, to realize the installation to the application to be installed.
Preferably, it is described the current label information is matched with default user tag collection before, the method
It further includes:
Extract the current user information in the current application installation notice;
User tag collection corresponding with the current user information is searched in default storage region, find with it is described
During the corresponding user tag collection of current user information, perform it is described by the current label information and default user tag collection into
The step of row matching.
Preferably, it is described searched in default storage region user tag collection corresponding with the current user information it
Before, the method further includes:
Judge whether there is user tag collection corresponding with current user information in default storage region;
When having user tag collection corresponding with current user information in the default storage region, perform described pre-
If the step of user tag collection corresponding with the current user information is searched in storage region;
When not having user tag collection corresponding with current user information in the default storage region, worked as according to described
Preceding label information creates user tag collection, and it is corresponding with the current user information to perform the lookup in default storage region
User tag collection the step of.
Preferably, it is described the current label information is matched with default user tag collection after, the method
It further includes:
When the current label information matches unsuccessful with the user tag collection, it is not responding to described be currently installed on leading to
Know.
Preferably, it is described when the current label information matches unsuccessful with the user tag collection, it is not responding to described
It is currently installed on notifying, specifically include:
When the current label information matches unsuccessful with the user tag collection, transmission forbids installation to broadcast, and is connecing
It receives described when forbidding the installation to broadcast, is not responding to described be currently installed on notifying.
Preferably, described when the current label information matches unsuccessful with the user tag collection, transmission is forbidden pacifying
Dress broadcast, receive it is described installation is forbidden to broadcast when, be not responding to it is described be currently installed on notifying, specifically include:
When the current label information matches unsuccessful with the user tag collection, calling system layer radio program, with
Make the transmission of system layer radio program that installation be forbidden to broadcast, while bottom is called to receive program, so that bottom receives program and receives
It is described when forbidding the installation to broadcast, it is not responding to described be currently installed on notifying.
Preferably, it is described in the current label information and the user tag collection successful match, to the current peace
Dress notice is responded, and after realizing to the installation of the application to be installed, the method further includes:
It obtains and instructs in response to application input by user, the user tag collection is sent to using recommended program, so that
The application recommended program search and the matched application program to be recommended of the user tag collection, and to described to be recommended using journey
Sequence is shown.
In addition, to achieve the above object, the present invention also proposes a kind of smart television, and the smart television includes:Memory,
Journey is installed in processor and the application installation procedure that is stored on the memory and can run on the processor, the application
The step of sequence is arranged for carrying out as described above using installation method.
It is proposed by the present invention to apply installation method, when Android system gets current application installation notice, judge current
Whether other application installation notice was received in preset time range before moment;Receiving other application installation notice
When, obtain the current label information that the current application installation notifies corresponding application to be installed;By the current label
Information is matched with default user tag collection;In the current label information and the user tag collection successful match,
The notice that is currently installed on is responded.The present invention can judge to be currently installed on program by installing the time interval notified
Whether it is that user actively initiates, is matched further according to the label for being currently installed on program with user tag collection, and according to result
Determine whether the favorite application program of user, so as to avoid the not favorite application program of related installation user, reach raising and use
The purpose of family experience.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
With reference to Fig. 1, Fig. 1 is the smart television structure diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the smart television can include:Processor 1001, such as CPU, communication bus 1002, user interface
1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is used to implement the connection communication between these components.
User interface 1003 can include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 can optionally connect including the wired of standard
Mouth, wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or the memory of stabilization
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
It will be understood by those skilled in the art that the smart television structure shown in Fig. 1 does not form the limit to smart television
It is fixed, it can include either combining some components or different components arrangement than illustrating more or fewer components.
As shown in Figure 1, as in a kind of memory 1005 of computer readable storage medium can include operating system, net
Network communication module, Subscriber Interface Module SIM and using installation procedure.
In smart television shown in Fig. 1, network interface 1004 is mainly used for Connection Service device, and data are carried out with server
Communication;User interface 1003 is mainly used for connecting user terminal, with terminal into row data communication;Smart television of the present invention passes through place
Reason device 1001 calls the installation procedure of applying stored in memory 1005, and performs following operation:
When Android system gets current application installation notice, it is in the preset time range before judging current time
It is no to receive other application installation notice;
When receiving other application installation notice, obtain current application installation notify it is corresponding to be installed using journey
The current label information of sequence;
The current label information is matched with default user tag collection;
In the current label information and the user tag collection successful match, the notice that is currently installed on is rung
Should, to realize the installation to the application to be installed.
Further, processor 1001 can call what is stored in memory 1005 to apply installation procedure, also perform following
Operation:
When not receiving other application installation notice, the notice that is currently installed on is responded, to realize to described
The installation of application to be installed.
Further, processor 1001 can call what is stored in memory 1005 to apply installation procedure, also perform following
Operation:
When not receiving other application installation notice, obtain the current application installation and notify corresponding application to be installed
The current label information added to the user tag is concentrated, is currently installed on leading to described by the current label information of program
Know and responded, to realize the installation to the application to be installed.
Further, processor 1001 can call what is stored in memory 1005 to apply installation procedure, also perform following
Operation:
Extract the current user information in the current application installation notice;
User tag collection corresponding with the current user information is searched in default storage region, find with it is described
During the corresponding user tag collection of current user information, perform it is described by the current label information and default user tag collection into
The step of row matching.
Further, processor 1001 can call what is stored in memory 1005 to apply installation procedure, also perform following
Operation:
Judge whether there is user tag collection corresponding with current user information in default storage region;
When having user tag collection corresponding with current user information in the default storage region, perform described pre-
If the step of user tag collection corresponding with the current user information is searched in storage region;
When not having user tag collection corresponding with current user information in the default storage region, worked as according to described
Preceding label information creates user tag collection, and it is corresponding with the current user information to perform the lookup in default storage region
User tag collection the step of.
Further, processor 1001 can call what is stored in memory 1005 to apply installation procedure, also perform following
Operation:
When the current label information matches unsuccessful with the user tag collection, it is not responding to described be currently installed on leading to
Know.
Further, processor 1001 can call what is stored in memory 1005 to apply installation procedure, also perform following
Operation:
When the current label information matches unsuccessful with the user tag collection, transmission forbids installation to broadcast, and is connecing
It receives described when forbidding the installation to broadcast, is not responding to described be currently installed on notifying.
Further, processor 1001 can call what is stored in memory 1005 to apply installation procedure, also perform following
Operation:
When the current label information matches unsuccessful with the user tag collection, calling system layer radio program, with
Make the transmission of system layer radio program that installation be forbidden to broadcast, while bottom is called to receive program, so that bottom receives program and receives
It is described when forbidding the installation to broadcast, it is not responding to described be currently installed on notifying.
Further, processor 1001 can call what is stored in memory 1005 to apply installation procedure, also perform following
Operation:
It obtains and instructs in response to application input by user, the user tag collection is sent to using recommended program, so that
The application recommended program search and the matched application program to be recommended of the user tag collection, and to described to be recommended using journey
Sequence is shown.
Through the above scheme, smart television obtains each frame image information in preset time range to the present embodiment;It is right respectively
Adjacent two frames image information is compared;When the similarity of the adjacent two frames image information reaches default similarity, assert
The adjacent two frames image information is similar picture;The quantity of the similar picture in the preset time range is counted, described
When the quantity of similar picture is more than default quantity, assert that the image information belongs to news scene;Default attributes of news is called, is led to
The default attributes of news is crossed to set the image information automatically.The present embodiment is identified current by smart television
When the image information of broadcasting is news scene, current picture attribute is set to attributes of news, so as to reach simulation viewing news
Optimum efficiency promotes user experience.
Based on above-mentioned hardware configuration, propose that the present invention applies installation method embodiment.
With reference to Fig. 2, Fig. 2 is the flow diagram that the present invention applies installation method first embodiment.
In the first embodiment, the application installation method comprises the following steps:
Step S10 when Android system gets current application installation notice, judges the preset time before current time
In the range of whether received other application installation notice;
It should be noted that the installation of the app of Android system is carried out by the Package Manager programs of bottom
Application program installation, it is used for receiving there are an application in application layer in Android system
This broadcast of android.intent.action.PACKAGE_NEEDS_VERIFICATION, this broadcast should in every installation one
With program when can all send, similar to program installation verification, in the present embodiment can using it is described broadcast as current application
Installation notice, can also realize the notice of identical function for other, and the present embodiment is not intended to limit this.
It is understood that after the notice of current application program is received, it can be default before current time
Judge whether to receive similar application program installation notice in time, such as application program is received in 10: 55 taps
Installation notice after the notice of application program is received, judges whether connect within the preset time of distance 10: 55/preceding
Other application installation notice is received, so as to judge whether current application program to be installed is answering for user's active installation
Use program.
In the concrete realization, timer can be provided in the Android system, receiving the peace of current application program
During dress notice, start timer, when the timer starts to preset time, judge whether received in the preset time
Installation to other applications notifies, such as the timing of timer is set to 5 minutes, that is, is receiving current application journey
During the installation notice of sequence, judge whether to receive the installation notice of other applications after 5 minutes apart from current time,
So as to judge to be currently installed on program whether be user's actively installation program, so as to judge whether be currently installed on program
It is the program of related installation.
Step S20 when receiving other application installation notice, obtains current application installation and notifies corresponding to wait to pacify
Fill the current label information of application program;
In the present embodiment, after getting and being currently installed on notice, got and institute according to the notice that is currently installed on
It states and is currently installed on notifying corresponding application to be installed, current label information is equipped in the application to be installed.
It should be noted that the current label information can be the information such as application type, developer, external device, may be used also
The attribute information of application attribute is currently installed on for other expressions, such as user applies journey in the K songs of installation company A exploitation
Sequence, being sung from the K in application program can get that application type is music, development company is company A and external equipment is wheat
The label information of gram wind.
It in the concrete realization, can be to current application program to be installed when getting application program currently to be installed
It is parsed, the current label information of application to be installed is got by the application program to be installed after parsing.
Step S30 matches the current label information with default user tag collection;
It should be noted that the user tag collection can be the user tag collection for being pre-stored in default storage region, institute
The corresponding label information of user tag collection record user is stated, such as the list that Fig. 3 is user tag collection, is concentrated in the user tag
Record has user information and the label information with the user management, and it is favorite that user can be traced by the label information
Application program so as to be recommended according to tally set the favorite application program of user, so as to improve user experience, is used in figure
Family 1001 is role, audition class and label information relevant with the application program than preferable application type.
Step S40 in the current label information and the user tag collection successful match, is currently installed on leading to described
Know and responded, to realize the installation to the application to be installed.
It should be noted that described respond the notice that is currently installed on, can be to receive the current application installation
Notice installs notice according to the application and carries out installation process, can be installation of the Android system by bottom in the present embodiment
Program installs the application program to be installed.
Scheme provided in this embodiment, smart television obtain each frame image information in preset time range;Respectively to phase
Adjacent two frame image informations are compared;When the similarity of the adjacent two frames image information reaches default similarity, institute is assert
Adjacent two frames image information is stated as similar picture;The quantity of the similar picture in the preset time range is counted, in the phase
Quantity like picture is more than when presetting quantity, to assert that the image information belongs to news scene;Default attributes of news is called, is passed through
The default attributes of news sets the image information automatically.The present embodiment is currently broadcast by what smart television identified
When the image information put is news scene, current picture attribute is set to attributes of news, so as to reach simulation viewing news most
Good effect promotes user experience.
Further, as shown in figure 4, proposing that the present invention applies installation method second embodiment based on first embodiment,
In the present embodiment, after the step S10, the method further includes:
Step S50 when not receiving other application installation notice, responds the notice that is currently installed on, with reality
Now to the installation of the application to be installed.
In the present embodiment, when not receiving other application notice within the current preset time, show currently to wait to pacify
The application program of dress can determine whether the application program actively installed for user, in this case, without again to application to be installed
Program judges into row label, so as to directly be responded to application program to be installed, to realize to described to be installed using journey
The installation of sequence.
It should be noted that by carrying out time judgement within the current preset time, such as apart from current time
Within 7 minutes before, the notice of other installation procedures is not received by, due under normal circumstances, being carried out in user using journey
During the installation of sequence, other related application programs related can also be installed, related in the case of not discovering in user
Application program set-up time and current application to be installed set-up time distance it is shorter so that user can not discover
It arrives, in the present embodiment, the notice received out of preset time is judged, can determine whether out that current application program to be installed is
No is related program, and can be judged judge by the simple time, so as to effectively improve the processing time of system.
Scheme provided in this embodiment is judging that the preset time before current time do not receive other application
The installation notice of program, so as to accurately judge application journey of the current application program to be installed for user's active installation
Sequence, and responded immediately, it can be on the one hand by simply judging whether current application program to be installed is related journey
On the other hand sequence can effectively improve the processing time of system.
Further, as shown in figure 5, proposing that the present invention applies installation method 3rd embodiment based on second embodiment,
In the present embodiment, the step S50 is specifically included:
Step S501, when not receiving other application installation notice, obtain current application installation notify it is corresponding
The current label information of application to be installed is concentrated the current label information added to the user tag, to described
It is currently installed on notice to be responded, to realize the installation to the application to be installed.
In the present embodiment, the installation of other applications is not received in the preset time before current time
During notice, you can judge the program that current application program to be installed is actively installed for user, it is current to be installed so as to understand
Application program for the favorite application program of user, in this case, can extract the label letter of current application to be installed
Breath updates user tag collection according to the label information, so as to make the user information of user's tally set more perfect, marks user
The personal like that label collection can more be close to the users.
It in the concrete realization, can be to current application program to be installed when getting application program currently to be installed
It is parsed, the label information of user can be obtained after parsing, and the label information is added to user tag collection, for example,
It is U.S. figure application program to obtain current application program to be installed, and the U.S. figure application program is parsed, can get U.S.
The label information of figure application program is image procossing including type, and development company is B companies and external equipment is camera etc.
Label information, and the label information is added to user tag and is concentrated, so that user's tally set information is more perfect.
Scheme provided in this embodiment, smart television can obtain the label information of current application to be installed, and by institute
It states label information and is added to user tag concentration, so as to make user's tally set more perfect, the individual that can be more close to the users likes
It is good, it can effectively meet the actual demand of user.
Further, as shown in fig. 6, proposing that the present invention should based on first embodiment, second embodiment and 3rd embodiment
With installation method fourth embodiment, in the present embodiment, illustrated based on first embodiment, it is described before the step S30
Method further includes:
Step S301 extracts the current user information in the current application installation notice;
It should be noted that user tag collection is one-to-one relationship with user information, it, can by obtaining user information
User tag collection corresponding with the user information is found in default storage region, so that can be by user's tally set
Record the use information of user.
Step S302 searches user tag collection corresponding with the current user information in default storage region, is looking into
When finding user tag collection corresponding with the current user information, perform described by the current label information and default use
The step of family tally set is matched.In the concrete realization, when getting the tally set of user, user tag collection can be preserved
In local, also the tally set of user can be stored in server, in order to get user tag collection, be protected in the user tag collection
There are it is local when, can be searched from local default storage region with the relevant user tag collection of user information, in the user
When tally set is stored in server, the request for obtaining user tag collection can be transmitted, server can be by server by the request
The user tag collection of middle preservation is sent to smart television, so that smart television gets user tag collection.
Scheme provided in this embodiment, the smart television can be got by user information in default storage region with
The corresponding user tag collection of the user information, so as to establish the correspondence of user information and user tag collection, convenient for
Family tally set is managed.
Further, as shown in fig. 7, proposing that the present invention applies the 5th embodiment of installation method based on fourth embodiment,
In the present embodiment, before the step S302, the method further includes:
Step S303 judges whether there is user tag collection corresponding with current user information in default storage region;
It it should be noted that more effectively being handled for the ease of system, can be judged previously according to user information, be judged
Whether there is user tag collection corresponding with the current user information in default storage region, such as gets user information
1001, whether according to the id information of user, it is 1001 corresponding user tag collection to have in default storage region with ID number.
Step S304 when having user tag collection corresponding with current user information in the default storage region, is held
Row step S302;
Step S305, when not having user tag collection corresponding with current user information in the default storage region,
According to the current label information creating user tag collection, and perform step S302;
It is understood that there is not user tag collection corresponding with current user information in the default storage region
When, can determine whether active user is the user used for the first time, in this case, can establish user tag by current user information
Collection, so as to make user's tally set more perfect.
Scheme provided in this embodiment, smart television can judge whether have in default storage region according to user information
User tag collection corresponding with the user information according to judging result is handled, is so as to effectively perform accordingly
The processing of system.
Further, as shown in figure 8, proposing that the present invention should based on first embodiment, second embodiment and 3rd embodiment
With installation method sixth embodiment, in the present embodiment, illustrated based on first embodiment, it is described after the step S30
Method further includes:
Step S60 when the current label information matches unsuccessful with the user tag collection, is not responding to described current
Installation notice.
It should be noted that in the preset time before current time, there is the peace for receiving other applications
During dress notice, active user's label information of current application to be installed can be obtained, by active user's label information with
User tag collection is matched, and when matching unsuccessful, it is not the favorite application program of user to illustrate related application program,
So as to forbid the installation of current application to be installed, reduce and user's not favorite application program is installed in smart television.
Further, the step S60, specifically includes:
Step S601, when the current label information matches unsuccessful with the user tag collection, transmission is forbidden installing
Broadcast, receive it is described installation is forbidden to broadcast when, be not responding to described be currently installed on notifying.
It is understood that in Android system, when receiving application layer and having program installation, system layer Program can be into
The broadcast of row application program can verify application program to be installed by broadcast, in the present embodiment, described current
When label information matches unsuccessful with the user tag collection, transmission forbids installation to broadcast, so as to forbid currently to be installed answer
With the installation of program.
Further, the step S601, specifically includes:
Step S602, when the current label information matches unsuccessful with the user tag collection, calling system layer is wide
Program is broadcast, so that the transmission of system layer radio program forbids installation to broadcast, while bottom is called to receive program, so that bottom receives journey
Sequence receives described when forbidding the installation to broadcast, and is not responding to described be currently installed on notifying.
Scheme provided in this embodiment, smart television judge that current application program to be installed is not favorite related as user
During program, the broadcast of installation can be forbidden by broadcast, so as to forbid the wide of installation described in being received in the bottom of Android system
It broadcasts, so that current application program to be installed forbids being installed, can be broadcasted by using the system layer of Android system
Feature achieve the effect that forbid installation.
Further, as shown in figure 9, proposing that the present invention should based on first embodiment, second embodiment and 3rd embodiment
With the 7th embodiment of installation method, in the present embodiment, illustrated based on first embodiment, it is described after the step S40
Method further includes:
Step S70 is obtained in response to application input by user and instructed, and the user tag collection is sent to using recommendation journey
Sequence, so that the application recommended program search and the matched application program to be recommended of the user tag collection, and wait to push away to described
Application program is recommended to be shown.
It should be noted that it can be that user inputs related application, example by application shop that the application, which obtains instruction,
Behavior is clicked on as user enters application program shop, the triggering behavior of identical function, the present embodiment pair can be also realized for other
This is not restricted.
When the store system that user carries into the system, we can push strongly connected according to user tag
It is downloaded using to user installation, so as to after user installation completion, be searched out according to user tag collection, user is favorite to be answered
With program, and the application program that obtains out will be searched and be pushed to user, so as to improve the experience of user and effective improve intelligence electricity
Depending on intelligence.
In the concrete realization, smart television can carry out hot spot search according to user tag collection on major browse web sites, and
The related application of search is shown, such as gets the favorite music type letter of user tag centralized recording user
Breath, can according to music type information search to the relevant application program of music.
Scheme provided in this embodiment, smart television can scan for relevant application program according to user tag collection, and
The application program searched out is pushed, so as to greatly play the intelligence of smart television on the basis of user experience is improved
Energyization.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements not only include those elements, and
And it further includes other elements that are not explicitly listed or further includes as this process, method, article or system institute inherently
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above
In computer readable storage medium (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal equipment (can
To be mobile phone, computer, server, air conditioner or the network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills
Art field, is included within the scope of the present invention.