The content of the invention
In order to solve the deficiencies in the prior art, at least one embodiment of the present invention provides a kind of recommendation display control side
Method, including:
When application program launching, the total degree of the application program launching is obtained;
According to number and default way of recommendation mapping table, the default way of recommendation corresponding with the total degree is chosen;
Judge whether the application program has content to be recommended;
When there is content to be recommended, the content to be recommended is recommended according to the default way of recommendation.
Based on above-mentioned technical proposal, the embodiment of the present invention can also make following improvement.
Optionally, it is described when application program launching, the total degree of the application program launching is obtained, is specifically included:
When application program launching, the number that the history of the application program starts is obtained;
Whether be completely exit, when the application program exits completely, by institute if judging that the application program last time exits
The number for stating application history startup adds a total degree as the application program launching;
The application program exit completely including:Terminal residing for the application program is restarted or the application program exits
Running background.
Optionally, it is described to judge whether the application program has content to be recommended, including:
Judge whether the application program is to start for the first time according to the total degree;If start for the first time, by function
Experience is used as content to be recommended;
Or, version detection is carried out to the application program, judge whether the application program has version updating, when there is update
When, using the content of version updating as content to be recommended;
Or, judge whether the application program has message notifying, when there is message notifying, using the message as to be recommended
Content.
Optionally, according to number and default way of recommendation mapping table, choose preset corresponding with the total degree and push away
Mode is recommended, including:
When the total degree is odd-times, the default way of recommendation is the pop-up way of recommendation;
When the total degree is even-times, the default way of recommendation is the mark way of recommendation.
Optionally, it is described according to the default way of recommendation pair when the default way of recommendation is marks the way of recommendation
The content to be recommended is recommended, including:
Obtain the corresponding control icons of content to be recommended;
Color on the control icons is replaced with into default prompting color or, on the control icons correspondence position
The default prompting icon of superposition.
The embodiment of the present invention additionally provides a kind of recommendation display control program, including:Counting module chooses module, judges
Module, recommending module and memory module;
The counting module, in application program launching, obtaining the total degree of the application program launching;
The selection module, for the number that is stored according to the memory module and default way of recommendation mapping table,
Choose the default way of recommendation corresponding with the total degree;
The judgment module, for judging whether the application program has content to be recommended;
The recommending module, for when there is content to be recommended, according to the default way of recommendation to described to be recommended
Content recommended.
Optionally, the counting module, is specifically used for, and when application program launching, obtains the history of the application program
The number of startup;Whether be completely exit, when the application if judging that the application program last time exits by the judgment module
When program exits completely, the number that the application history starts is added into a total degree as the application program launching;
The application program exit completely including:Terminal residing for the application program is restarted or the application program exits backstage and transports
Row.
Optionally, the judgment module, is specifically used for, and judges whether the application program is first according to the total degree
Secondary startup;If start for the first time, using functional experience as content to be recommended;Or, version detection is carried out to the application program,
Judge whether the application program has version updating, when there is update, using the content of version updating as content to be recommended;Or,
Judge whether the application program has message notifying, when there is message notifying, using the message as content to be recommended.
Optionally, the selection module, is specifically used for, and when the total degree is odd-times, is pushed away according to number with default
Mode mapping table is recommended, the default way of recommendation of selection is the pop-up way of recommendation;When the total degree is even-times, according to
Number and default way of recommendation mapping table, the default way of recommendation of selection is the mark way of recommendation.
Optionally, the recommending module, is specifically used for, and obtains the corresponding control icons of content to be recommended, by the control
Color on icon replaces with default prompting color or, default prompting icon is superimposed on the control icons correspondence position.
The above-mentioned technical proposal of the present invention has the following advantages that compared with prior art:The present invention is by obtaining opening for application
Dynamic number, and corresponding number and way of recommendation corresponding table are built, it realizes and different recommendation sides is used under the different numbers of starts
Formula, and judge whether the interior perhaps message of recommendation in need, recommended by the different ways of recommendation, when improving user's use
Experience sense, improve application user viscosity.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
Member's all other embodiments obtained on the premise of creative work is not made, belong to the scope of protection of the invention.
As shown in Figure 1, a kind of recommendation display control method flow diagram provided in an embodiment of the present invention, including:
S11, when application program launching, obtain the total degree of application program launching;
S12, according to number and default way of recommendation mapping table, choose the default way of recommendation corresponding with total degree;
S13, judge whether application program has content to be recommended;
S14, when there is content to be recommended, content to be recommended is recommended according to the default way of recommendation.
In above-described embodiment, in application program launching, the number of starts of application program is obtained, number of starts counting can
To be number of starts when application program is tentatively exited or is again started up after exiting completely, tentatively exit exit the program for user but
Also running background exit or application program in user account exit this kind of situation, exit exit journey for application program completely
Sequence and no longer running background exit or application program residing for terminal closedown or restart, application program exits this kind of situation, lead to
The number of starts of application program is crossed to choose the way of recommendation, is come in the different numbers of starts through the different ways of recommendation
It provides recommendation to the user, improves the usage experience sense of user, improve user's viscosity, avoid that identical recommendation side is repeated several times
Formula causes the situation of customer loss.
As shown in Fig. 2, a kind of recommendation display control method flow diagram that another embodiment of the present invention provides, including:
S211, when application program launching, obtain application program history start number;
Whether S212, to judge that application program last time exits be to exit completely, when application program exits completely, will apply journey
The number that sequence history starts adds a total degree as application program launching;
Application program exit completely including:Terminal residing for application program is restarted or application program exits running background;
S22, according to number and default way of recommendation mapping table, choose the default way of recommendation corresponding with total degree;
S23, judge whether application program has content to be recommended;
S24, when there is content to be recommended, content to be recommended is recommended according to the default way of recommendation.
In above-described embodiment, judge the situation that application program last time exits, according to application program last time exit whether be
Complete to withdraw the total degree for confirming this application program launching, it is not when exiting completely that application program last time, which exits, and being equivalent to should
It is not exited with program, the way of recommendation is still chosen with original application program launching number when being again introduced into, i.e., when using journey
When sequence exits completely, using the total degree of the application program launching as the number of the history startup of the application program, to correspondence
It is counted with the number of starts of program.
As shown in figure 3, a kind of recommendation display control method flow diagram that further embodiment of this invention provides, including:
S31, when application program launching, obtain the total degree of application program launching;
S32, according to number and default way of recommendation mapping table, choose the default way of recommendation corresponding with total degree;
S33a, judge whether application program is to start for the first time according to total degree;If start for the first time, by functional experience
As content to be recommended;
S33b, version detection is carried out to application program, judges whether application program has version updating, it, will when there is update
The content of version updating is as content to be recommended;
S33c, judge whether application program has message notifying, when there is message notifying, using message as content to be recommended;
S34, when there is content to be recommended, content to be recommended is recommended according to the default way of recommendation.
In above-described embodiment, application program is detected and judges whether application program recommends, such as by applying journey
The total degree that sequence starts judges whether application program is to start for the first time, is detected by the version to application program, such as will
Local version is compared with the version in server or high in the clouds, you can whether know the version of local application has version more
Newly, the content of version updating is obtained with this, is recommended, judges whether there is message notifying in application program, such as by monitor come
It determines whether message notifying, when listening to message notifying, the content of message is pushed.
As shown in figure 4, a kind of recommendation display control method flow diagram that further embodiment of this invention provides is first, bag
It includes:
S41, when application program launching, obtain the total degree of application program launching;
S42a, when total degree be odd-times when, preset the way of recommendation be the pop-up way of recommendation;
S42b, when total degree be even-times when, preset the way of recommendation for mark the way of recommendation;
S43, judge whether application program has content to be recommended;
S44, when there is content to be recommended, content to be recommended is recommended according to the default way of recommendation.
In above-described embodiment, provided in the embodiment total degree for odevity when, the way of recommendation taken passes through two
Kind of mode is recommended, and when avoiding the user from repeatedly starting, a kind of way of recommendation of application program Reusability is recommended, interval
Be that user chooses the different way of recommendation, improve the experience property of user, further can obtain by above-described embodiment, when number with
When default way of recommendation quantity in default way of recommendation relation table is not fixed, formula can be used and chosen, according to pre-
If the quantity X and total degree Y of the way of recommendation choose number and n-th of default way of recommendation in default way of recommendation relation table;
Wherein, when Y can be divided exactly by X, n is equal to X, and when Y cannot be divided exactly by X, n is equal to the remainder of Y divided by X, is chosen with this to realize
The effect of the way of recommendation can also can be divided exactly in Y by X, i.e., all default recommendation relations at this time in mapping table are complete
Chosen into a wheel, at this point, by the number in number and default way of recommendation mapping table and the order of the default way of recommendation into
Row is upset at random, thus changes the order of next round selection, passes through the different ways of recommendation and the different ways of recommendation every time
Sequentially, to ensure the interest of application program recommendation, user's viscosity is improved.
As shown in figure 5, a kind of recommendation display control method flow diagram that further embodiment of this invention provides is second, bag
It includes:
S51, when application program launching, obtain the total degree of application program launching;
S52a, when total degree be odd-times when, preset the way of recommendation be the pop-up way of recommendation;
S52b, when total degree be even-times when, preset the way of recommendation for mark the way of recommendation;
S53, judge whether application program has content to be recommended;
S541, when the default way of recommendation for mark the way of recommendation when, obtain the corresponding control icons of content to be recommended;
S542, the color on control icons is replaced with into default prompting color or, is superimposed on control icons correspondence position
Default prompting icon.
In above-described embodiment, when the default way of recommendation is chosen to be the mark way of recommendation, it is corresponding to obtain content to be recommended
Control icons, when such as content to be recommended is version updating, the control icons of acquisition are to show application version in application program
Form column, when such as band recommendation is message notifying, the control icons of acquisition are the message icon in tab bar, by control picture
On color replace with default prompting color or the default prompting icon of superposition one, such as number on the correspondence position of control icons
Prompt icon or the prompting icon of each shape.
As shown in fig. 6, the embodiment of the present invention additionally provides a kind of recommendation display control program structure diagram, including:Meter
Digital-to-analogue block chooses module, judgment module, recommending module and memory module;
Counting module, in application program launching, obtaining the total degree of application program launching;
Specifically, when application program launching, the number that the history of application program starts is obtained;Judged by judgment module
Whether it is to exit completely that application program last time exits, when application program exits completely, by the number of application history startup
Add a total degree as application program launching;Application program exit completely including:Terminal residing for application program restarts or should
Running background is exited with program, when application program exits completely, journey is applied using the total degree of the application program launching as this
The number that the history of sequence starts.
Module is chosen, for number and the default way of recommendation mapping table stored according to memory module, is chosen and total
The corresponding default way of recommendation of number;
Specifically, when total degree is odd-times, according to number and default way of recommendation mapping table, selection is preset
The way of recommendation is the pop-up way of recommendation;When total degree is even-times, according to number and default way of recommendation mapping table, choosing
The default way of recommendation taken is the mark way of recommendation.
Specifically, according to the default quantity X of the way of recommendation and total degree Y in number and default way of recommendation mapping table
Choose n-th of default way of recommendation in relation table;Wherein, when Y can be divided exactly by X, n is equal to X, when Y cannot be divided exactly by X, n
Equal to the remainder of Y divided by X, the way of recommendation is chosen come the way of recommendation quantity in the software number of starts and relation table with this
Recommendation is recommended, moreover, it is also possible to can be divided exactly in Y by X, i.e. all default recommendations at this time in mapping table are closed
System has completed wheel selection, at this point, by the number in number and default way of recommendation mapping table and the default way of recommendation
Order upset at random, thus change the order of next round selection, by the different way of recommendation every time and different
Way of recommendation order to ensure the interest of application program recommendation, improves user's viscosity.
Judgment module, for judging whether application program has content to be recommended;
Specifically, judge whether application program is to start for the first time according to total degree;If start for the first time, by functive
It tests as content to be recommended, when application program starts for the first time, user has the concrete function neither one of the application program
The concept of body, use at this time for the convenience of the user is, it is necessary to carry out user certain guiding work, it is necessary to send and push away for user
It recommends, at this time using the guiding as content to be recommended, i.e. the functional experience process is used as band recommendation;Or, to application program into
Row version detection, judges whether application program has version updating, when there is update, using the content of version updating as to be recommended interior
Hold;Or, judge whether application program has message notifying, when there is message notifying, using message as content to be recommended.
Recommending module, for when there is content to be recommended, being pushed away according to the default way of recommendation to content to be recommended
It recommends.
Specifically, obtaining the corresponding control icons of content to be recommended, the color on control icons is replaced with into default prompting
Color or, the default prompting icon of superposition on control icons correspondence position.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that:It still may be used
To modify to the technical solution recorded in foregoing embodiments or carry out equivalent substitution to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical solution spirit and
Scope.