CN105991829B - A kind of content recommendation method and terminal - Google Patents

A kind of content recommendation method and terminal Download PDF

Info

Publication number
CN105991829B
CN105991829B CN201510080463.8A CN201510080463A CN105991829B CN 105991829 B CN105991829 B CN 105991829B CN 201510080463 A CN201510080463 A CN 201510080463A CN 105991829 B CN105991829 B CN 105991829B
Authority
CN
China
Prior art keywords
terminal
application program
network service
content
service state
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.)
Expired - Fee Related
Application number
CN201510080463.8A
Other languages
Chinese (zh)
Other versions
CN105991829A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510080463.8A priority Critical patent/CN105991829B/en
Publication of CN105991829A publication Critical patent/CN105991829A/en
Application granted granted Critical
Publication of CN105991829B publication Critical patent/CN105991829B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of content recommendation method and terminal.Wherein, this method includes:The network service state of monitoring terminal, and judge whether the terminal is in without network service state;When monitoring that the terminal is in without network service state, the related content of the application program currently opened to the terminal that caches in advance is obtained, wherein, the application program that the terminal is currently opened is out of service under without network service state;Recommend the content so that the application program normal operation that the terminal is currently opened to user.Application program normal operation when mobile terminal is in suspension state can be made by implementing the embodiment of the present invention, so as to improve the convenience that user uses application program.

Description

A kind of content recommendation method and terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of content recommendation method and terminal.
Background technology
Developed rapidly as mobile terminal is intelligentized, the application program also increasingly diversification of various functions, Yong Huyue More to tend to by installing different application programs on mobile terminals, to aid in carrying out a variety of work such as commercial affairs, amusement, life It is dynamic.Found in practice, some application programs need to use when mobile terminal is in network service state, if believed Number bad place or the set meal flow of mobile terminal are finished, and the application program currently opened can be in disconnected due to mobile terminal Net state and can not normal operation, this brings very big inconvenience to user.
The content of the invention
The embodiments of the invention provide a kind of content recommendation method and terminal, application program can be made to be in mobile terminal Normal operation during suspension state, so as to improve the convenience that user uses application program.
First aspect of the embodiment of the present invention provides a kind of content recommendation method, including:
The network service state of monitoring terminal, and judge whether the terminal is in without network service state;
When monitoring that the terminal is in without network service state, what acquisition cached in advance currently opens with the terminal The related content of application program, wherein, the application program that the terminal is currently opened stops transporting under without network service state OK;
Recommend the content so that the application program normal operation that the terminal is currently opened to user.
In the first possible implementation of first aspect, work as in step and monitor that the terminal is in without network clothes After business state, and step obtain the related content of the application program currently opened to the terminal that caches in advance it Before, methods described also includes:
Judge that the application program that the terminal is currently opened whether there is related cache contents;
When the application program that the terminal is currently opened has related cache contents, then it is slow in advance to perform the acquisition The step of application program currently opened to the terminal deposited related content.
With reference to the first possible implementation of first aspect, in second of possible implementation of first aspect In, obtained after step judges that the application program that the terminal is currently opened has related cache contents, and in step Before the related content of the application program currently opened to the terminal that caches in advance, methods described also includes:
Export dialog box, the dialog box includes prompt message, the prompt message be used to prompting the user whether needs after The application program that terminal described in reforwarding row is currently opened;
Whether detection receives confirmation instruction of the user for prompt message input in preset time;
When detecting that confirmation of the user for prompt message input instructs in preset time, the acquisition is performed The step of application program currently opened to the terminal that caches in advance related content.
With reference to the first possible implementation of first aspect, in the third possible implementation of first aspect In, in the network service state of step monitoring terminal, and the terminal is judged whether before without network service state, it is described Method also includes:
The frequency of use of application program described in the terminal in preset time is calculated, wherein, the application program is to need Will in the case where there is network service state could normal operation application program;
Judge whether the frequency of use of the application program is more than or equal to predetermined threshold value;
When the frequency of use of the application program is more than or equal to the predetermined threshold value, being in the terminal has network Under service state, frequency of use is more than or equal to the content caching of application program correlation of predetermined threshold value in local terminal.
With reference in a first aspect, in the 4th kind of possible implementation of first aspect, methods described also includes:
When the monitoring terminal, which is in, network service state, the grade point of user is obtained;
According to the grade point, the application journey for recommending to match with the grade point and currently open with the terminal to user The related at least one free application program of sequence.
Second aspect of the embodiment of the present invention provides a kind of terminal, including:
Monitoring modular, for the network service state of monitoring terminal, and judge whether the terminal is in without network service State;
Content obtaining module, for when monitoring module monitors to the terminal are in without network service state, obtaining pre- The related content of the application program currently opened to the terminal that first caches, wherein, the application journey that the terminal is currently opened Sequence is out of service under without network service state;
Commending contents module, for recommending the content to user so that the application program currently opened of the terminal is normal Operation.
In the first possible implementation of second aspect, the terminal also includes:
Content judgment module, after being in the monitoring module monitors to the terminal without network service state, And before the content obtaining module obtains the content that the application program currently opened to the terminal cached in advance is related, Judge that the application program that the terminal is currently opened whether there is related cache contents;
The content obtaining module, it is additionally operable to judge the application journey that the terminal currently opens in the content judgment module When sequence has related cache contents, the related content of the application program currently opened to the terminal cached in advance is obtained.
With reference to the first possible implementation of second aspect, in second of possible implementation of second aspect In, the terminal also includes:
Output module is related for judging that the application program that the terminal is currently opened is present in the content judgment module Cache contents after, and the content obtaining module obtains the application program currently opened with the terminal that caches in advance Before related content, dialog box is exported, the dialog box includes prompt message, and the prompt message is used to prompt the user whether Need to continue to run with the application program that the terminal is currently opened;
Detection module, for detecting the confirmation that user whether is received in preset time and is directed to prompt message input Instruction;
The content obtaining module, it is additionally operable to detect that user carries for described in preset time in the detection module When showing the confirmation instruction of information input, the related content of the application program currently opened to the terminal that caches in advance is obtained
With reference to the first possible implementation of second aspect, in the third possible implementation of second aspect In, the terminal also includes:
Computing module, for the network service state in the monitoring module monitors terminal, and whether judge the terminal Before without network service state, the frequency of use of application program described in the terminal in preset time is calculated, wherein, institute Application program is stated to need the application program of the ability normal operation in the case where there is network service state;
Frequency of use judge module, for judging whether the frequency of use of the application program is more than or equal to default threshold Value;
Cache module, for judging that the frequency of use of the application program is more than or waited in the frequency of use judge module When predetermined threshold value, in the case where the terminal is in and has network service state, frequency of use is more than or equal to answering for predetermined threshold value With the related content caching of program in local terminal.
With reference to second aspect, in the 4th kind of possible implementation of second aspect, the terminal also includes:
Grade point acquisition module, for when terminal described in the monitoring module monitors is in and has network service state, obtaining Take the grade point at family;
Application program recommending module, for according to the grade point, recommend to match with the grade point to user and with institute State at least one free application program for the application program correlation that terminal is currently opened.
Compared to prior art, a kind of content recommendation method provided in an embodiment of the present invention and terminal, pass through monitoring terminal Network service state, when judging that terminal is in without network service state, obtain currently being opened with terminal of caching in advance The related content of application program, recommends the content so that the application program normal operation that terminal is currently opened to user.It can be seen that this In inventive embodiments, when terminal is in without network service state, terminal can obtain currently being opened with terminal of caching in advance The related content of application program, the content that the application program can that such terminal is currently opened calls this to cache in advance, from And the application program currently opened remains to normal operation when terminal is in suspension state, while also to user without network service During state facility is brought using the application program.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of schematic flow sheet of content recommendation method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another content recommendation method disclosed in the embodiment of the present invention;
Fig. 3 is a kind of structural representation of terminal disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of another terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of content recommendation method and terminal, application program can be made to be in mobile terminal Normal operation during suspension state, so as to improve the convenience that user uses application program.It is described in detail individually below.
In the embodiment of the present invention, terminal can include any energy using network to download application program and recommend in caching The device of appearance;In addition, terminal can also include smart machine, such as smart mobile phone, tablet personal computer, personal computer (Personal Computer, PC), the smart machine such as notebook computer.Wherein, it is (such as various can to include installation application program for the application program APP), theme, the tinkle of bells, wallpaper, webpage, evaluation and test, activity, special topic, classification and consumer products advertisement etc., the content can include The cache contents related to various application programs, the cache contents be application program normal operation necessary to, such as:Word, Picture etc..
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow sheet of content recommendation method disclosed in the embodiment of the present invention.Such as Fig. 1 institutes Show, this method may comprise steps of:
S101, monitoring terminal network service state, and judge whether terminal is in without network service state, if so, holding Row step S102~S103, if it is not, performing step S104~S105.
In the embodiment of the present invention, the network service state of terminal can include network service state and without network service State, terminal need in the case where there is network service state could and server communication, the resource in shared server.
In the embodiment of the present invention, present terminal, which is in, has the network under network service state to include 2G networks (such as GSM), 3G network (such as WCDMA, CDMA-2000, TD-SWCDM), 4G networks (such as TD-LTE), the embodiment of the present invention does not limit It is fixed.
In the embodiment of the present invention, when terminal is located at place (such as elevator, the foot of the hill) or the flow of terminal of poor signal Set meal has run out, and terminal would be at no network service state.Some application programs need to adjust when there is network service state With Internet resources could normal operation, such as, some game class application programs are when making a breakthrough, it is necessary to which user is in net in terminal Some contents or a number of virtual coin of purchase are downloaded under network service state could enter next pass.Now, if terminal In the application program that without network service state, terminal is currently running just can not normal operation, this to urgent need be continuing with The user of the application program brings very big inconvenience.
The content related to the application program that terminal is currently opened that S102, acquisition cache in advance.
In the embodiment of the present invention, the application program that terminal is currently opened is out of service under without network service state.In step In rapid S101, when terminal monitoring to terminal is currently at no network service state, can obtain cache in advance ought with terminal The related content of the application program of preceding unlatching, the content are stored in local terminal in the form of a file, wherein, the content can be made The application program currently opened remains to some data of normal operation when without network service state, such as:Text data, picture Data or audio data etc..
It should be noted that the content related to the application program that terminal is currently opened cached in advance must be in terminal In could be by the content caching in local terminal when having network service state.Terminal be in have network service state when, terminal to After server sends cache contents acquisition request, server will be inquired about in database and cache contents obtain request phase The content matched somebody with somebody, and the content is sent to terminal, the content is stored in local terminal by terminal can.
In one embodiment, cached in advance in step S102 acquisitions related to the application program that terminal is currently opened Before content, the application program that terminal needs first to judge currently to open is with the presence or absence of the content cached, if it does, can just obtain Take.Because the limited memory of terminal, the related content of the application program of all installations can not possibly be all buffered in local terminal by terminal, only Can be directed to some important for a user and higher frequency of use application programs.
S103, to user's content recommendation so that the application program normal operation that terminal is currently opened.
In the embodiment of the present invention, after getting the content of caching in step S102, the application program that terminal is currently opened is just The cache contents can be called, so as to which the application program can that terminal is currently opened remains to keep under without network service state Normal operation.
S104, the grade point for obtaining user.
In the embodiment of the present invention, in step S101, when terminal monitoring to terminal, which is in, network service state, so that it may To obtain the grade point that user matches with the application program currently opened, the grade point can be represented in the form of numerical value, such as 1 Level, 2 grades, 3 grades ..., can also be represented, such as star, the moon, the sun, the embodiment of the present invention do not limit with other form of icons It is fixed, wherein, the grade point can be lifted in several ways, such as:Register, activity or purchase virtual coin etc..
S105, according to grade point, recommend to match with grade point to user and related with the application program that terminal is currently opened At least one free application program.
In the embodiment of the present invention, when terminal is in and has network service state, terminal can recommend some and end to user The related at least one free application program of the application program currently opened is held, but different grades of user freely should using this During with program, different authorities can be possessed.
Specifically, user can be divided into two ranks by terminal according to grade point:Domestic consumer and VIP (very Important person) user.Wherein, can be by not during the free application program that different grades of user's using terminal is recommended Same limitation, such as:Domestic consumer can only freely use the application program in preset time, or can only free trial should should With certain some function of program, only after the domestic consumer lifts grade by certain mode, it can just possess more free examinations Authority;And VIP user then can forever use the free application program, or when the VIP user applies journey using this When the duration of sequence reaches predetermined threshold value or commending friends in use, can with free trial other newest application programs.
As an alternative embodiment, terminal can precalculate the frequency of use for the application program currently opened, When the frequency of use of the application program is more than predetermined threshold value, in the grade point according to active user, downloaded from the application program Application market in inquire about the application program more redaction to recommend the more redaction to user,
As another optional embodiment, terminal (for example can browse related web page according to the historical record of user Historical record number), other popular application programs related to the web page contents or most are inquired about out of other application market The application program newly released.
In the embodiment depicted in figure 1, when terminal monitoring to terminal is in without network service state, obtain slow in advance The content related to the application program that terminal is currently opened deposited, recommend the content to user so that the application that terminal is currently opened Normal program operation;When terminal monitoring terminal, which is in, network service state, the grade point of user is obtained, according to grade point, Recommend and grade point matching and at least one free application program related with the application program that terminal is currently opened to user.Can See, in embodiments of the present invention, terminal can recommend different contents to user according to the current network state of terminal, in terminal During in without network service state, terminal to user recommend the content that caches in advance so that the application program currently opened of terminal just Often operation, terminal be in have network service state when, terminal can to user recommend be matched with user gradation value and with it is current The related free application program of the application program of unlatching, so no matter which kind of network state is terminal be in, terminal can to Corresponding content is recommended at family, and this brings great convenience to user.
Fig. 2 is referred to, Fig. 2 is the schematic flow sheet of another content recommendation method disclosed in the embodiment of the present invention.Such as Fig. 2 Shown, this method may comprise steps of:
S201, the frequency of use for calculating application program in terminal in preset time.
In the embodiment of the present invention, above-mentioned application program is to need the application of the ability normal operation in the case where there is network service state Program.The time that above-mentioned preset time is given tacit consent to when can be dispatched from the factory for terminal system, or user set in advance it is default when Between, the embodiment of the present invention is not construed as limiting.
Specifically, terminal can first obtain access times of the application program in preset time, and further according to application Access times of the program in preset time carry out the frequency of use of application program in computing terminal.As an example it is assumed that this is default Time is 5 days, and access times of the application program in 5 days are 20 times, then can calculate the frequency of use of the application program For 4 times/day.
S202, judge whether the frequency of use of application program is more than or equal to predetermined threshold value, if so, step S203 is performed, If it is not, terminate this flow.
In the embodiment of the present invention, terminal calculates the use frequency of application program in terminal in preset time in step s 201 After rate, terminal is it may determine that whether the frequency of use of application program is more than or equal to predetermined threshold value, if it is judged that being It is to show that the application program is commonly used in user, the application program is important for user, then can perform step S203, if it is judged that being no, show that the application program is rarely employed in user, the application program is not very heavy for user Will, terminal avoids the need for frequency of use being less than the related content caching of application program of predetermined threshold value in local terminal, so as to Save the memory space of terminal.Wherein, the predetermined threshold value can be the threshold value given tacit consent to when terminal system is dispatched from the factory, or user The predetermined threshold value set in advance, the embodiment of the present invention are not construed as limiting.
S203, terminal be in have network service state under, by frequency of use be more than or equal to predetermined threshold value application journey The related content caching of sequence is in local terminal.
In the embodiment of the present invention, only for terminal in when having under network service state, terminal just can be big by frequency of use In or equal to predetermined threshold value the related content caching of application program in local terminal.Wherein, the cache contents are that application program is normal The Internet resources called are needed during operation, such as:Some text datas, picture or audio etc., the cache contents are with file Form is stored in local terminal.
Specifically, when terminal is in and has network service state, terminal to server sends cache contents and obtains request Afterwards, server will inquire about the content for obtaining request with cache contents and matching in database, and the content is sent into end The content is stored in local terminal by end, such terminal can.
As an alternative embodiment, when to judge that the frequency of use of application program is less than default for terminal in step S202 During threshold value, if the memory space of terminal is sufficiently large, then terminal can also be small by frequency of use in the case where there is network service state In the related content caching of the application program of predetermined threshold value in local terminal.
S204, monitoring terminal network service state, and judge whether terminal is in without network service state, if so, holding Row step S205, if it is not, terminating this flow.
In the embodiment of the present invention, the network service state of terminal can include network service state and without network service State, terminal need in the case where there is network service state could and server communication, the resource in shared server.
In the embodiment of the present invention, present terminal, which is in, has the network under network service state to include 2G networks (such as GSM), 3G network (such as WCDMA, CDMA-2000, TD-SWCDM), 4G networks (such as TD-LTE), the embodiment of the present invention does not limit It is fixed.
In the embodiment of the present invention, when terminal is located at place (such as elevator, the foot of the hill) or the flow of terminal of poor signal Set meal has run out, and terminal would be at no network service state.Some application programs need to adjust when there is network service state With Internet resources could normal operation, such as, some game class application programs are when making a breakthrough, it is necessary to which user is in net in terminal Some contents or a number of virtual coin of purchase are downloaded under network service state could enter next pass.Now, if terminal In the application program that without network service state, terminal is currently running just can not normal operation, this to urgent need be continuing with The user of the application program brings very big inconvenience.
S205, judge that the application program that terminal is currently opened whether there is related cache contents, if so, performing step S206, if it is not, terminating this flow.
In the embodiment of the present invention, due to terminal limited memory, terminal can not be the related content of all application programs all Local terminal is buffered in, and just for some application programs, therefore, terminal needs first to judge that the application program that terminal is currently opened is It is no related cache contents to be present.
Specifically, terminal can first obtain the mark for the application program currently opened, further according to the mark, from local terminal Inquiry whether there is the cache contents related to the application program currently opened in database.
S206, output dialog box.
In the embodiment of the present invention, above-mentioned dialog box includes prompt message, and the prompt message is used to prompt the user whether to need Continue to run with the application program that terminal is currently opened.
In the embodiment of the present invention, terminal output dialog box is not to be in any interface in terminal or whenever export , but just exported when terminal is in and cache contents be present without network service state and the application program currently opened, this When export dialog box and recommend related content to user, user would not feel to dislike, and the possibility for receiving to recommend is just very big.
Whether S207, detection receive confirmation instruction of the user for prompt message input in preset time, if so, holding Row step S208, if it is not, terminating this flow.
In the embodiment of the present invention, time that above-mentioned preset time is given tacit consent to when can be dispatched from the factory for terminal system, or use The preset time that family is set in advance, the embodiment of the present invention are not construed as limiting.
In the embodiment of the present invention, above-mentioned confirmation instruction is by the virtual ACK button in user click or double-click dialog box And trigger.
As an alternative embodiment, inputted when detection does not receive user in preset time for prompt message Confirmation instruction when, terminal can automatic close box, in order to avoid cause the dislike of user.
As another optional embodiment, when detection, not receive user in preset time defeated for prompt message During the confirmation instruction entered, terminal can export above-mentioned dialog box again, check that the number of the dialog box reaches pre- when user cancels If during threshold value (such as 3 times), terminal no longer can export the dialog box to the user.
The content related to the application program that terminal is currently opened that S208, acquisition cache in advance.
In the embodiment of the present invention, the application program that terminal is currently opened is out of service under without network service state, now, If ensuring that current application program out of service remains to normal operation, terminal must just obtain the content cached in advance, than Such as:Text data, picture file or audio effect file etc..
S209, to user's content recommendation so that the application program normal operation that terminal is currently opened.
In the embodiment of the present invention, after getting the content of caching in step S208, the application program that terminal is currently opened is just The cache contents can be called, so as to which the application program can that terminal is currently opened remains to keep under without network service state Normal operation.
In the embodiment depicted in fig. 2, in the case where terminal is in and has network service state, terminal is big by frequency of use in advance In or equal to predetermined threshold value the related content caching of application program in local terminal, when monitoring that terminal is in without network service state When, it is directed to judging that application program that terminal is currently opened has related cache contents and receives user in preset time After the confirmation instruction of prompt message input in dialog box, terminal just obtains the content cached in advance, and by the cache contents User is recommended so that the application program normal operation currently opened.It can be seen that in the embodiment of the present invention, it is in terminal without network Under service state, when user needs to continue to run with the application program currently opened, terminal is by obtaining the content cached in advance So that the application program normal operation currently opened, such user's can easily continues to make under without network service state With the application program.
It is apparatus of the present invention embodiment below, apparatus of the present invention embodiment is used to perform the inventive method embodiment one to two The method of realization, for convenience of description, the part related to the embodiment of the present invention is illustrate only, particular technique details does not disclose , it refer to the embodiment of the present invention one and embodiment two.
Fig. 3 is referred to, Fig. 3 is a kind of structural representation of terminal disclosed in the embodiment of the present invention, as shown in figure 3, the end End 300 can include:Monitoring modular 301, content obtaining module 302 and commending contents module 303, wherein:
Monitoring modular 301, for the network service state of monitoring terminal, and judge whether terminal is in without network service shape State.
In the embodiment of the present invention, the network service state of terminal can include network service state and without network service State, terminal need in the case where there is network service state could and server communication, the resource in shared server.
In the embodiment of the present invention, present terminal, which is in, has the network under network service state to include 2G networks (such as GSM), 3G network (such as WCDMA, CDMA-2000, TD-SWCDM), 4G networks (such as TD-LTE), the embodiment of the present invention does not limit It is fixed.
In the embodiment of the present invention, when terminal is located at place (such as elevator, the foot of the hill) or the flow of terminal of poor signal Set meal has run out, and terminal would be at no network service state.Some application programs need to adjust when there is network service state With Internet resources could normal operation, such as, some game class application programs are when making a breakthrough, it is necessary to which user is in net in terminal Some contents or a number of virtual coin of purchase are downloaded under network service state could enter next pass.Now, if terminal In the application program that without network service state, terminal is currently running just can not normal operation, this to urgent need be continuing with The user of the application program brings very big inconvenience.
Content obtaining module 302, for when monitoring modular 301 monitors that terminal is in without network service state, obtaining The content related to the application program that terminal is currently opened cached in advance, wherein, the application program that terminal is currently opened is in nothing It is out of service under network service state.
In the embodiment of the present invention, the application program that terminal is currently opened is out of service under without network service state.Work as prison When survey module 301 monitors that terminal is currently at no network service state, it is possible to obtained by content obtaining module 302 slow in advance The content related to the application program that terminal is currently opened deposited, the content are stored in local terminal in the form of a file, wherein, should Content can be that the application program for making currently to open remains to some data of normal operation when without network service state, such as: Text data, image data or audio data etc..
It should be noted that the content related to the application program that terminal is currently opened cached in advance must be in terminal In could be by the content caching in local terminal when having network service state.Terminal be in have network service state when, terminal to After server sends cache contents acquisition request, server will be inquired about in database and cache contents obtain request phase The content matched somebody with somebody, and the content is sent to terminal, the content is stored in local terminal by terminal can.
Commending contents module 303, for user's content recommendation so that the application program normal operation that terminal is currently opened.
In the embodiment of the present invention, after content obtaining module 302 gets the content of caching, application journey that terminal is currently opened Sequence can calls the cache contents, so as to which the application program can that terminal is currently opened remains under without network service state Keep normal operation.
Please also refer to Fig. 4, Fig. 4 is the structural representation of another terminal disclosed in the embodiment of the present invention, wherein, Fig. 4 Further optimization obtains shown terminal on the basis of Fig. 3, compared with the terminal shown in Fig. 3, the terminal shown in Fig. 4 300 can also include:
Content judgment module 304, for monitoring terminal after without network service state in monitoring modular 301, with And before content obtaining module 302 obtains the content related to the application program that terminal is currently opened cached in advance, judge end The application program currently opened is held with the presence or absence of related cache contents.
In the embodiment of the present invention, due to the limited memory of terminal 300, what terminal 300 can not be related all application programs Content is all buffered in local terminal, and just for some application programs, therefore, content judgment module 304 needs first to judge that terminal is worked as The application program of preceding unlatching is with the presence or absence of related cache contents.
Specifically, terminal can first obtain the mark for the application program currently opened, further according to the mark, from local terminal Inquiry whether there is the cache contents related to the application program currently opened in database.
The above acquisition module 302, it is additionally operable to judge the application program that terminal currently opens in content judgment module 304 During in the presence of related cache contents, the content related to the application program that terminal is currently opened cached in advance is obtained.
As an alternative embodiment, the terminal shown in Fig. 4 can also include:
Output module 305, for judging that the application program that terminal is currently opened has correlation in content judgment module 304 After cache contents, and content obtaining module 302 obtain cache in advance it is related to the application program that terminal is currently opened Before content, dialog box is exported, the dialog box includes prompt message, and the prompt message is used to prompt the user whether that needs continue to transport The application program that row terminal is currently opened.
In the embodiment of the present invention, above-mentioned dialog box includes prompt message, and the prompt message is used to prompt the user whether to need Continue to run with the application program that terminal is currently opened.
In the embodiment of the present invention, output module 305 export dialog box be not terminal be in any interface or it is any when Wait output, but the just output when terminal is in and cache contents be present without network service state and the application program currently opened , at this time output module 305 exports dialog box and would not feel to dislike to user's recommendation related content, user, receives recommendation Possibility it is just very big.
Detection module 306, for detecting the confirmation that user whether is received in preset time and is directed to prompt message input Instruction.
In the embodiment of the present invention, time that above-mentioned preset time is given tacit consent to when can be dispatched from the factory for terminal system, or use The preset time that family is set in advance, the embodiment of the present invention are not construed as limiting.
In the embodiment of the present invention, above-mentioned confirmation instruction is by the virtual ACK button in user click or double-click dialog box And trigger.
The above acquisition module 303, it is additionally operable to detect user for prompting in preset time in detection module 306 During the confirmation instruction of information input, the content related to the application program that terminal is currently opened cached in advance is obtained.
As another optional embodiment, the terminal shown in Fig. 4 can also include:
Computing module 307, for the network service state in the monitoring terminal of monitoring modular 301, and judge whether terminal is located Before without network service state, the frequency of use of application program described in terminal in preset time is calculated, wherein, this applies journey Sequence is to need the application program of the ability normal operation in the case where there is network service state.
In the embodiment of the present invention, time that above-mentioned preset time is given tacit consent to when can be dispatched from the factory for terminal system, or use The preset time that family is set in advance, the embodiment of the present invention are not construed as limiting.
Specifically, terminal can first obtain access times of the application program in preset time, and further according to application Access times of the program in preset time carry out the frequency of use of application program in computing terminal.As an example it is assumed that this is default Time is 5 days, and access times of the application program in 5 days are 20 times, then can calculate the frequency of use of the application program For 4 times/day.
Frequency of use judge module 308, for judging whether the frequency of use of application program is more than or equal to predetermined threshold value.
In the embodiment of the present invention, the frequency of use of application program in terminal in preset time is calculated in computing module 307 Afterwards, frequency of use judge module 308 is it may determine that whether the frequency of use of application program is more than or equal to predetermined threshold value, such as Fruit judged result is yes, shows that the application program is commonly used in user, and the application program is important for user, caches mould Block 309 needs the cache contents related to the application program being buffered in local terminal, if it is judged that being no, shows that user is seldom Using the application program, the application program is not critically important for user, and cache module 309 avoids the need for frequency of use is small In the related content caching of the application program of predetermined threshold value in local terminal, so as to save the memory space of terminal.Wherein, this is pre- The threshold value that if threshold value, which can be terminal system, to be given tacit consent to when dispatching from the factory, or the predetermined threshold value that user is set in advance, the present invention are real Example is applied to be not construed as limiting.
Cache module 309, for judging that the frequency of use of application program is more than or equal in frequency of use judge module 308 During predetermined threshold value, in the case where terminal is in and has network service state, frequency of use is more than or equal to the application program of predetermined threshold value Related content caching is in local terminal.
In the embodiment of the present invention, only for terminal in when having under network service state, terminal just can be big by frequency of use In or equal to predetermined threshold value the related content caching of application program in local terminal.Wherein, the cache contents are that application program is normal The Internet resources called are needed during operation, such as:Some text datas, picture or audio etc., the cache contents are with file Form is stored in local terminal.
Specifically, when terminal is in and has network service state, terminal to server sends cache contents and obtains request Afterwards, server will inquire about the content for obtaining request with cache contents and matching in database, and the content is sent into end The content is stored in local terminal by end, such terminal can.
As an alternative embodiment, when frequency of use judge module 308 judges that the frequency of use of application program is small When predetermined threshold value, if the memory space of terminal is sufficiently large, then cache module 309 can also have network service state Under, frequency of use is less than to the content caching of application program correlation of predetermined threshold value in local terminal.
In the terminal described by Fig. 3 and Fig. 4, the network service state of the monitoring terminal of monitoring modular 301, terminal is being judged During in without network service state, the application program currently opened with terminal cached in advance is obtained by content obtaining module 302 Related content, further, commending contents module 303 recommends the content so that the application program that terminal is currently opened to user Normal operation.It can be seen that in the embodiment of the present invention, when terminal is in without network service state, terminal can obtain advance caching The content related to the application program that terminal is currently opened, the application program can that such terminal is currently opened calls this pre- The content first cached, so as to which the application program currently opened remains to normal operation when terminal is in suspension state, while also give User brings facility when without network service state using the application program.
Fig. 5 is referred to, Fig. 5 is the structural representation of another terminal disclosed in the embodiment of the present invention, should as shown in Fig. 5 Terminal 500 can include:Monitoring modular 501, content obtaining module 502, commending contents module 503, grade point acquisition module 504 and application program recommending module 505, wherein:
Monitoring modular 501, for the network service state of monitoring terminal, and judge whether terminal is in without network service shape State.
Content obtaining module 502, for when monitoring module monitors to terminal are in without network service state, obtaining advance The content related to the application program that terminal is currently opened of caching, wherein, the application program that terminal is currently opened is without network It is out of service under service state.
Commending contents module 503, for user's content recommendation so that the application program normal operation that terminal is currently opened.
Grade point acquisition module 504, for when monitoring module monitors terminal is in and has network service state, obtaining user Grade point.
In the embodiment of the present invention, when monitoring modular 501 monitor terminal be in have network service state when, it is possible to by etc. Level value acquisition module 504 obtains the grade point that user matches with the application program currently opened, and the grade point can be with numerical value Form represent, such as 1 grade, 2 grades, 3 grades ..., can also be represented with other form of icons, such as star, the moon, the sun, this hair Bright embodiment is not construed as limiting, wherein, the grade point can be lifted in several ways, such as:Register, activity or purchase Buy virtual coin etc..
Application program recommending module 505, for according to grade point, recommending to match with grade point to user and current with terminal The related at least one free application program of the application program of unlatching.
In the embodiment of the present invention, when terminal is in and has network service state, application program recommending module 505 can be to User recommends some at least one free application programs related to the application program that terminal is currently opened, but different grades of When user uses the free application program, different authorities can be possessed.
Specifically, user can be divided into two ranks by terminal according to grade point:Domestic consumer and VIP (very Important person) user.Wherein, can be by not during the free application program that different grades of user's using terminal is recommended Same limitation, such as:Domestic consumer can only freely use the application program in preset time, or can only free trial should should With certain some function of program, only after the domestic consumer lifts grade by certain mode, it can just possess more free examinations Authority;And VIP user then can forever use the free application program, or when the VIP user applies journey using this When the duration of sequence reaches predetermined threshold value or commending friends in use, can with free trial other newest application programs.
As an alternative embodiment, terminal can precalculate the frequency of use for the application program currently opened, When the frequency of use of the application program is more than predetermined threshold value, in the grade point according to active user, downloaded from the application program Application market in inquire about the application program more redaction to recommend the more redaction to user,
As another optional embodiment, terminal (for example can browse related web page according to the historical record of user Historical record number), other popular application programs related to the web page contents or most are inquired about out of other application market The application program newly released.
In the terminal described by Fig. 5, when monitoring modular 501 monitors that terminal is in without network service state, content Acquisition module 502 obtains the content related to the application program that terminal is currently opened cached in advance, and by commending contents module 503 recommend the content so that the application program normal operation that terminal is currently opened to user;At the monitoring terminal of monitoring modular 501 When having network service state, grade point acquisition module 504 obtains the grade point of user, and application program recommending module 505 can According to grade point, to recommend to match with grade point to user and related with the application program that terminal is currently opened at least one exempt from Take application program.It can be seen that in embodiments of the present invention, terminal can recommend difference according to the current network state of terminal to user Content, when terminal is in without network service state, terminal recommends the content that caches in advance so that terminal is currently opened to user The application program normal operation opened, when terminal is in and has network service state, terminal is recommended and user gradation value to user Match somebody with somebody and free application program that the application program to currently opening is related, so no matter terminal is in which kind of network state, terminal Corresponding content can be recommended to user, this brings great convenience to user.
It should be noted that for foregoing each embodiment of the method, in order to be briefly described, therefore it is all expressed as to a system The combination of actions of row, but those skilled in the art should know, the application is not limited by described sequence of movement, because For according to the application, certain some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, involved action and unit not necessarily this Shen Please be necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in some embodiment Part, may refer to the associated description of other embodiment.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosure is only preferred embodiment of present invention, can not limit the right model of the present invention with this certainly Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.

Claims (6)

  1. A kind of 1. content recommendation method, applied to terminal, so that application program can be just when the terminal is in suspension state Often operation, it is characterised in that including:
    The network service state of monitoring terminal, and judge whether the terminal is in without network service state;
    When monitoring that the terminal is in without network service state, what acquisition cached in advance answers with what the terminal was currently opened With the related content of program, wherein, the application program that the terminal is currently opened is out of service under without network service state;
    Recommend the content so that the application program normal operation that the terminal is currently opened to user,
    In the network service state of step monitoring terminal, and the terminal is judged whether before without network service state, institute Stating method also includes:
    The frequency of use of application program described in the terminal in preset time is calculated, wherein, the application program exists for needs There is the application program of ability normal operation under network service state;
    Judge whether the frequency of use of the application program is more than or equal to predetermined threshold value;
    When the frequency of use of the application program is more than or equal to the predetermined threshold value, being in the terminal has network service Under state, frequency of use is more than or equal to the related content caching of application program of predetermined threshold value in local terminal,
    When the monitoring terminal, which is in, network service state, the grade point of user and the historical record of user are obtained;
    According to the grade point and the historical record of user, recommend to match with the grade point to user and work as with the terminal The related at least one free application program of the application program of preceding unlatching.
  2. 2. according to the method for claim 1, it is characterised in that work as in step and monitor that the terminal is in without network service After state, and before the content that the application program currently opened to the terminal that step acquisition caches in advance is related, Methods described also includes:
    Judge that the application program that the terminal is currently opened whether there is related cache contents;
    When the application program that the terminal is currently opened has related cache contents, then perform what the acquisition cached in advance The step of related to the application program that the terminal is currently opened content.
  3. 3. according to the method for claim 2, it is characterised in that judge the application program that the terminal currently opens in step After the cache contents of correlation, and the application program phase currently opened with the terminal cached in advance is obtained in step Before the content of pass, methods described also includes:
    Dialog box is exported, the dialog box includes prompt message, and the prompt message is used to prompt the user whether that needs continue to transport The application program that the row terminal is currently opened;
    Whether detection receives confirmation instruction of the user for prompt message input in preset time;
    When detecting that confirmation of the user for prompt message input instructs in preset time, it is advance to perform the acquisition The step of application program currently opened to the terminal related content of caching.
  4. 4. a kind of terminal, so that application program being capable of normal operation when the terminal is in suspension state, it is characterised in that bag Include:
    Monitoring modular, for the network service state of monitoring terminal, and judge whether the terminal is in without network service state;
    Content obtaining module, for when monitoring module monitors to the terminal are in without network service state, obtaining slow in advance The related content of the application program currently opened to the terminal deposited, wherein, the application program that the terminal is currently opened exists Without out of service under network service state;
    Commending contents module, for recommending the content so that the application program that the terminal is currently opened normally is transported to user OK;
    Computing module, for the network service state in the monitoring module monitors terminal, and judge whether the terminal is in Before network service state, the frequency of use of application program described in the terminal in preset time is calculated, wherein, it is described to answer It is to need the application program of the ability normal operation in the case where there is network service state with program;
    Frequency of use judge module, for judging whether the frequency of use of the application program is more than or equal to predetermined threshold value;
    Cache module, the frequency of use for judging the application program in the frequency of use judge module are more than or equal to pre- If during threshold value, in the case where the terminal is in and has network service state, frequency of use is more than or equal to the application journey of predetermined threshold value The related content caching of sequence is in local terminal;
    Grade point acquisition module, for when terminal described in the monitoring module monitors is in and has network service state, obtaining and using The grade point at family and the historical record of user;
    Application program recommending module, for the historical record according to the grade point and user, to user recommend with it is described etc. The matching of level value and at least one free application program related to the application program that the terminal is currently opened.
  5. 5. terminal according to claim 4, it is characterised in that the terminal also includes:
    Content judgment module, after being in the monitoring module monitors to the terminal without network service state, and Before the content obtaining module obtains the related content of the application program currently opened to the terminal cached in advance, judgement The application program that the terminal is currently opened is with the presence or absence of related cache contents;
    The content obtaining module, it is additionally operable to judge that the application program that the terminal is currently opened is deposited in the content judgment module In the cache contents of correlation, the related content of the application program currently opened to the terminal that caches in advance is obtained.
  6. 6. terminal according to claim 5, it is characterised in that the terminal also includes:
    Output module, for judging that the application program that the terminal is currently opened has related delay in the content judgment module After depositing content, and the application program currently opened to the terminal that content obtaining module acquisition caches in advance is related Content before, export dialog box, the dialog box includes prompt message, and the prompt message is for prompting the user whether to need Continue to run with the application program that the terminal is currently opened;
    Detection module, refer to for whether detection to receive user in preset time for the confirmation of prompt message input Order;
    The content obtaining module, it is additionally operable to detect that user believes for the prompting in preset time in the detection module During the confirmation instruction of breath input, the related content of the application program currently opened to the terminal that caches in advance is obtained.
CN201510080463.8A 2015-02-12 2015-02-12 A kind of content recommendation method and terminal Expired - Fee Related CN105991829B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510080463.8A CN105991829B (en) 2015-02-12 2015-02-12 A kind of content recommendation method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510080463.8A CN105991829B (en) 2015-02-12 2015-02-12 A kind of content recommendation method and terminal

Publications (2)

Publication Number Publication Date
CN105991829A CN105991829A (en) 2016-10-05
CN105991829B true CN105991829B (en) 2018-03-27

Family

ID=57041405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510080463.8A Expired - Fee Related CN105991829B (en) 2015-02-12 2015-02-12 A kind of content recommendation method and terminal

Country Status (1)

Country Link
CN (1) CN105991829B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279961B (en) * 2017-04-11 2021-08-03 阿里巴巴(中国)有限公司 Application program popularization method and device and server
CN108345478B (en) 2018-02-28 2020-04-21 Oppo广东移动通信有限公司 Application processing method and device, storage medium and electronic equipment
CN112995242A (en) * 2019-12-02 2021-06-18 海信视像科技股份有限公司 Icon display method and device
CN113127774B (en) * 2019-12-30 2023-12-12 中国移动通信集团辽宁有限公司 Content pre-caching method and device for mobile application
CN113271360B (en) * 2021-05-26 2023-09-29 维沃移动通信(杭州)有限公司 Application program recommendation method and device, electronic equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102427471A (en) * 2011-11-24 2012-04-25 中兴通讯股份有限公司 Method and client for offline running Widget
CN103347029A (en) * 2013-07-19 2013-10-09 北京高森明晨信息科技有限公司 Method, terminal, server and system for service data interaction
CN104065637A (en) * 2013-07-10 2014-09-24 腾讯科技(深圳)有限公司 Web-game running method and device
CN104346186A (en) * 2013-08-02 2015-02-11 腾讯科技(深圳)有限公司 Method and device for off-line reading of network books

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8458612B2 (en) * 2007-07-29 2013-06-04 Hewlett-Packard Development Company, L.P. Application management framework for web applications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102427471A (en) * 2011-11-24 2012-04-25 中兴通讯股份有限公司 Method and client for offline running Widget
CN104065637A (en) * 2013-07-10 2014-09-24 腾讯科技(深圳)有限公司 Web-game running method and device
CN103347029A (en) * 2013-07-19 2013-10-09 北京高森明晨信息科技有限公司 Method, terminal, server and system for service data interaction
CN104346186A (en) * 2013-08-02 2015-02-11 腾讯科技(深圳)有限公司 Method and device for off-line reading of network books

Also Published As

Publication number Publication date
CN105991829A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
CN105991829B (en) A kind of content recommendation method and terminal
WO2020037918A1 (en) Risk control strategy determining method based on predictive model, and related device
CN104427104B (en) A kind of information processing method and electronic equipment
US20150229533A1 (en) Method and system for transferable customized contextual user interfaces
CN109302338A (en) Intelligent indicating risk method, mobile terminal and computer readable storage medium
CN106384591A (en) Method and device for interacting with voice assistant application
CN107230133A (en) A kind of data processing method, equipment and computer-readable storage medium
CN109117958A (en) Portable electronic device valuation methods, recovery method, terminal, cloud and system
CN107402808B (en) Process management method, device, storage medium and electronic equipment
CN107943534A (en) Method for closing, device, storage medium and the electronic equipment of background application
CN107391115A (en) A kind of method, apparatus and computer equipment for realizing pop-up alternative events
CN108416666A (en) A kind of consumptive credit solution based on open platform technologies
CN107506178A (en) A kind of page jump management method and device
CN104516890B (en) Method for processing business, device and electronic equipment
CN107943820A (en) Searching method, device, terminal device and operating system
CN107800611A (en) The method and page layout switch device of a kind of page layout switch
CN105989103A (en) Method for recommending application program and terminal
CN104636378A (en) Pushing method and device for application programs
CN107766335A (en) A kind of interpretation method and device of software to be translated
CN103685491B (en) A kind of application service provides method, system and relevant device
CN108600559A (en) Control method, device, storage medium and the electronic equipment of silent mode
CN106650323B (en) A kind of application management method and device
CN107861608A (en) Notifications service control method, device, terminal device and storage medium
CN104839962B (en) A kind of intelligent wallet and its information processing method and device
CN107330058A (en) Application searches method, mobile terminal and computer-readable recording medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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: 20180327