Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is a flowchart of an information prompting method according to an embodiment of the present invention. The execution main body of the method embodiment is a terminal, and the terminal can be a mobile terminal such as a mobile phone, a tablet computer and the like, and can also be a fixed terminal such as a personal computer and the like. Referring to fig. 1, the method flow includes:
101. and when the detection time is up, acquiring the application environment information of the terminal.
In the embodiment of the present invention, the detection time refers to the time for the terminal to detect the current application environment information, and the detection time may be determined according to the detection time interval set by the terminal, and if the detection time interval is 1 day, the detection is performed every other day.
The application environment information refers to an installed application of the terminal and version information of the installed application. The application environment information may include application names, application identifications, version information, and the like of all applications that have been currently installed.
102. Sending a prompt request to a server, wherein the prompt request carries a user identifier and the application environment information, so that the server returns prompt confirmation information when determining to prompt information according to the historical click behavior of the user identifier and the application environment information, and the prompt confirmation information at least carries the application information to be prompted.
The user identifier is used for uniquely identifying the current terminal, and may be a terminal identifier or a unique identifier of a management application installed in the terminal.
In the embodiment of the invention, the server maintains corresponding historical click behaviors for each user, the historical click behaviors are records of operation behaviors of the users on the prompted information, the prompted information refers to application information which is sent to the terminal by the server, and the operation behaviors included in the historical click behaviors can be click operations, closing operations and ignoring operations on the prompted information. Through the analysis of the historical click behaviors of the user, the operation of the user on the application information, the preference of the user on the application information and the like can be known so as to determine whether to prompt the information.
103. And when receiving the prompt confirmation information sent by the server, prompting the application information.
The prompt confirmation information may include the application information to be prompted, where the application information may be an application name, an application description, and the like, and of course, the application information may be displayed in a combination of text, animation, hyperlink, and the like, which is not limited herein.
It should be noted that the "prompt" in the embodiment of the present invention may refer to popping up application information, displaying the application information in a window, or may refer to popping up a smaller prompt window such as a prompt bubble, and only prompting the number of applications to be prompted currently in the prompt window, or displaying one or more pieces of application information currently in the prompt window may perform processing such as updating, downloading, or installing, which is not limited herein.
According to the method provided by the embodiment of the invention, whether the information prompt is carried out or not is determined by the server according to the historical click behavior and the application environment information according to the application environment information of the terminal, so that the application information can be pushed according to the actual application installation conditions of different terminals, the prompt of the application information is more targeted, the prompt efficiency of the application information is also improved, frequent disturbance to terminal users is avoided, meanwhile, the shielding and other conditions of key plug-ins and the like are avoided, and the stability of the terminal is ensured.
Optionally, the method further comprises:
and if the prompt confirmation information also carries a detection interval extension parameter, extending the detection time interval of the terminal according to the detection interval extension parameter.
Optionally, when receiving prompt confirmation information sent by the server, after prompting the application information, the method further includes:
when the triggering operation on the application information is detected, the triggering operation is sent to the server, so that the server records the triggering operation in the historical clicking behavior of the user identifier.
Optionally, when receiving prompt confirmation information sent by the server, prompting the application information includes:
when receiving the prompt confirmation information sent by the server, detecting the application running on the foreground of the terminal;
when the application running in the foreground is the designated application, when the designated application is detected to be finished in the foreground running, prompting the application information.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
Fig. 2 is a flowchart of an information prompting method according to an embodiment of the present invention. The execution subject of the embodiment of the method is the server. Referring to fig. 2, the method flow includes:
201. and receiving a prompt request, wherein the prompt request carries the user identification and the application environment information.
202. And judging whether to carry out information prompt or not according to the historical click behavior of the user identifier and the application environment information.
203. And when the information prompt is determined, sending prompt confirmation information to the terminal, wherein the prompt confirmation information at least carries the application information to be prompted, so that the terminal carries out the information prompt.
204. And when determining not to prompt the information, sending prompt rejection information to the terminal.
According to the method provided by the embodiment of the invention, whether the information prompt is carried out or not is determined by the server according to the historical click behavior and the application environment information according to the application environment information of the terminal, so that the application information can be pushed according to the actual application installation conditions of different terminals, the prompt of the application information is more targeted, the prompt efficiency of the application information is also improved, frequent disturbance to terminal users is avoided, meanwhile, the shielding and other conditions of key plug-ins and the like are avoided, and the stability of the terminal is ensured.
Optionally, the determining whether to perform information prompting according to the historical click behavior of the user identifier and the application environment information includes:
detecting whether the database has application information to be prompted or not according to the application environment information;
and when the application information to be prompted is determined to be in the database, judging whether to prompt the information according to the operation performed on the prompted application information in the historical click behavior.
Optionally, when it is determined that the database has application information to be prompted, determining whether to perform information prompting according to an operation performed on the prompted application information in the historical click behavior includes:
when determining that the database has application information to be prompted, if the latest information prompt is clicked in the historical clicking behavior, determining to prompt the information; or the like, or, alternatively,
when the application information to be prompted is determined to be in the database, if closing operation is performed on the latest first preset times of information prompts in the historical click behaviors, determining to perform information prompt, and replacing the application information to be prompted; or the like, or, alternatively,
and when determining that the database has the application information to be prompted, if the information type of the application information is the same as the information type of the prompted application information corresponding to the closing operation in the historical click behavior, determining not to prompt the information.
Optionally, the method further comprises:
if the fact that the information prompt of the latest second preset times is not operated is determined according to the historical clicking behavior of the user identification, the prompt request received in a second preset time period is ignored; or the like, or, alternatively,
if the fact that the information prompt of the latest third preset times is not operated is determined according to the historical clicking behavior of the user identification, the prompt request received in a third preset time period is ignored;
wherein the third preset time period is greater than the second preset time period.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
Fig. 3 is a flowchart of an information prompting method according to an embodiment of the present invention. The two interactive parties in the embodiment of the method include a terminal and a server, where the server may be a server with application prompting capability in a server cluster, or may also be a functional module of a certain server, and the server is not limited herein. Referring to fig. 3, the method flow includes:
301. and when the detection time is up, the terminal acquires the application environment information of the terminal.
Specifically, when the terminal determines that the detection time has arrived, the application names, the application identifications, the version information, and the like of all currently installed applications can be acquired by detecting the applications installed on the terminal and the version information of the installed applications.
For different terminals, the detection time can be different, and the terminal user can set the detection time of the terminal according to the use requirement of the terminal user, such as 9-point detection every day or random detection 1 time every day.
302. And the terminal sends a prompt request to the server, wherein the prompt request carries the user identification and the application environment information.
The terminal acquires a user identifier logged in by the current terminal, wherein the user identifier can be a user identifier corresponding to the application to be detected or a user identifier bound by the terminal, and the terminal sends a prompt request to the server according to the application environment information and the user identifier so as to determine whether the application information to be prompted exists in the follow-up process.
303. When the server receives the prompt request, it detects whether there is application information to be prompted in the database according to the application environment information, and if so, executes step 304.
In the embodiment of the present invention, the database is an application information database maintained by a server, the database may include applications provided by a plurality of operators and latest version information of the applications, and the database may be continuously updated along with configuration of the operators.
Based on the database, the specific detection process of step 303 includes: the server judges whether the database comprises a new version of the application installed by the terminal according to the application identifier and the version information in the received application environment information, if the database comprises the new version of the application installed by the terminal, the new version is determined as the application information to be prompted, and if the database does not comprise the new version of the application installed by the terminal, the database does not comprise the application information to be prompted. Or, the database includes an application to be recommended (e.g., a newly launched application), and if it can be determined that the application to be recommended is not installed in the terminal through the application environment information, the application to be recommended can be determined as the application information to be prompted. The application information to be prompted may include an application identifier, version information, description information of the application, and the like.
In addition, if the server detects that the application information to be prompted does not exist in the database according to the application environment information of the terminal, the server sends prompt rejection information to the terminal, and when the terminal receives the prompt rejection information, information prompt is not carried out; or if the server detects that the database does not have application information to be prompted according to the application environment information of the terminal, the server does not send any information to the terminal, and when the terminal does not receive any feedback within a period of time, information prompting is not carried out.
304. When determining that the database has application information to be prompted, the server determines whether to prompt information according to the operation performed on the prompted application information in the historical click behavior, and if determining to prompt information, executes step 305.
Wherein, the step 304 can have any one of the following conditions:
(1) when it is determined that the database has application information to be prompted, if a click operation is performed on the latest information prompt in the historical click behavior, it is determined that the information prompt is performed, and step 305 is performed.
Specifically, when the server determines that the database has application information to be prompted, the server queries the last record of the user of the historical click behavior of the maintained user on the prompted application information, and judges whether to prompt the information. And if the operation of the user on the latest information prompt is a click operation in the latest record, the server sends prompt confirmation information to the terminal, wherein the prompt confirmation information at least carries the application information to be prompted. Whether the terminal is willing to accept the prompt can be estimated according to the latest operation of the terminal on the information prompt, if the latest operation or the latest operations are click operations, the terminal can be considered to accept the information prompt, and the server continues to prompt the information to the terminal. Of course, if the last recording is that the terminal has performed the closing operation, the information presentation may not be performed.
(2) When it is determined that the database has application information to be prompted, if a closing operation is performed on the latest first preset number of information prompts in the historical click behavior, determining to perform information prompting, and replacing the application information to be prompted, executing step 305.
Specifically, for the terminal, the displayed information prompt may be closed by a closing operation, and then, the database may learn that the terminal does not want to view the information prompt in the near future by recording the closing operation.
If the first preset number of times is 2, when the application information to be prompted is determined to be in the database, if the server determines that the operation information recorded in the last 2 times in the historical click behaviors of the maintained user is all closing operation, the application information to be prompted is replaced.
The application information to be prompted for replacement is as follows: and selecting application information different from the currently determined application information from the database as the changed application information.
The application information after the replacement and the application information before the replacement can be applications of the same application type, and if the application information before the replacement is audio-video applications and is applications recommended to the terminal by the server, other audio-video applications can be obtained from the applications to be recommended.
Of course, the application information after the replacement and the application information before the replacement may be applications of different application types, and the application information after the replacement and the application information before the replacement only need to belong to applications that are not installed in the terminal.
Further, the application information can be replaced according to the application type of the application information corresponding to the closing operation in the historical click behavior, and if the application type of the current application information is the same as the application type corresponding to the closing operation, the application information different from the application type is selected as the replaced application information according to the application type.
Since the closing operation may be that the user does not like a certain type of application information, replacing the application information to be prompted can improve the application information pushing efficiency.
Further, the server may set a detection interval extension parameter for the terminal, and when the number of the most recent closing operations or the number of the neglected operations in the historical click behavior is greater than a second preset number, it indicates that the terminal user does not want to be disturbed, and may extend the detection interval time for the terminal user, and the server may carry the first detection interval extension parameter in the prompt confirmation information, so that when the terminal receives the prompt confirmation information, the detection interval of the terminal is extended. For example, the detection is performed once a day, and is changed into twice a day.
Under different scenes, the server can set different detection interval extension parameters, that is, the server determines the detection interval extension parameters according to the historical click behavior and the preset times.
If the scene is that the number of the latest closing operation times or the number of the neglected operation times in the historical click behaviors is larger than a second preset time, the server sets a first detection interval extension parameter; and when the number of the most recent closing operations or the number of the neglected operations in the historical click behavior is greater than a third preset number, and the third preset number is greater than a second preset number, the server may set a second detection interval extension parameter, where a detection time interval corresponding to the second detection interval extension parameter is greater than a detection time interval corresponding to the first detection interval extension parameter. For example, compared to the example in the first detection interval extension parameter, when the terminal receives the second detection interval extension parameter, the detection once a day is adjusted to the detection once every three days.
The detection interval time corresponding to the first detection interval extending parameter and the second detection interval extending parameter may be in a multiple relationship, and is not limited herein.
The first preset times, the second preset times and the third preset times reflect the degree of the user's interest in the prompt information recently. And the user who performs closing operation on the information prompt of the latest third preset times in the historical click behavior is less interested in the prompt information than the user who performs closing operation on the information prompt of the latest second preset times in the historical click behavior. Because the user has different interest degrees in the prompt message, the server can set the detection time interval of the terminal according to the interest degree. For users with great interest in the prompt information, the server sends smaller detection interval extension parameters; for users with little interest in the prompt information, the server sends a larger detection interval extension parameter.
In another embodiment provided by the embodiment of the present invention, the detection interval extension parameter may also be carried in the prompt rejection information, so that when the terminal does not perform the prompt, the detection time interval may be adjusted to further reduce the disturbance to the terminal user.
(3) And when determining that the database has application information to be prompted, if the application information is the same as the prompted application information corresponding to the closing operation in the historical click behavior, determining not to prompt the information.
Specifically, when the server determines that the database has application information to be prompted, the server determines whether the application information to be prompted is the same as the prompted application information corresponding to the closing operation in the to-be-prompted information and the user history click behavior, such as: whether it is the same application information. If the two are the same, the server determines not to perform the information prompt, and if the two are different, step 305 is performed.
The method further comprises the following steps: if the server determines that the latest fourth preset times of information prompt is not operated according to the historical clicking behavior of the user identification, ignoring the prompt request received in a second preset time period; if the fact that the information prompt of the fifth preset time is not operated is determined according to the historical clicking behavior of the user identification, the prompt request received after the current time is ignored; wherein the fifth preset number of times is greater than the fourth preset number of times. The fourth preset number is greater than the third preset number.
For the situation that the terminal user turns off or ignores the prompt message for many times, the terminal user may be considered that the terminal user does not want to receive the prompt message within a certain time or in the future, and then whether to process the prompt request of the terminal user in the future or not may be determined according to the number of turning off or ignoring operations. If the user has performed the closing operation for 5 times in the last time, the prompt request of the terminal may be ignored within one month, and of course, the detection interval extension parameter may also be added to the prompt rejection information, so that the terminal does not send the prompt request to the server within one month. If the user has performed the closing operation 10 times in the last time, the prompt request from the terminal may be ignored when the closing operation is counted to 10 times, and of course, the detection interval extension parameter may also be added to the prompt rejection information, so that the terminal does not send the prompt request any more by the server.
305. And the server sends prompt confirmation information to the terminal, wherein the prompt confirmation information at least carries the application information to be prompted.
Further, the prompt confirmation information may also carry a detection interval extension parameter for extending a detection time interval of the terminal, and the detection interval extension parameter may be determined according to a historical click behavior corresponding to the user identifier.
306. And when receiving the prompt confirmation information sent by the server, the terminal prompts the application information.
Further, if the prompt confirmation information also carries a detection interval extension parameter, the detection time interval of the terminal is extended according to the detection interval extension parameter.
Specifically, when the terminal receives prompt confirmation information sent by the server and the prompt confirmation information carries a detection interval extension parameter, the terminal sends the prompt information to the user according to the prompt confirmation information and extends the detection time interval of the terminal according to the detection interval extension parameter, and the time for detecting the current application environment information by the terminal next time is determined by the detection interval extension parameter. When the time interval is reached, the terminal detects the application environment information.
Optionally, when performing information prompting, the timing of prompting may be determined according to the difference of foreground running applications, specifically: when receiving the prompt confirmation information sent by the server, detecting the application running on the foreground of the terminal; when the application running in the foreground is the designated application, when the designated application is detected to be finished in the foreground running, prompting the application information.
In practical applications, users do not want to be disturbed by the prompt message when running some special types of applications, such as running video, games, reading applications, and the terminal sets the types of applications as the designated applications. The designated application can also be entered into a setting page at the terminal by the user according to the self requirement, and the application installed at the terminal is set as the designated application. Then, when the user is running the specified application, if the terminal receives the prompt confirmation information sent by the server, the terminal will detect the application running in the foreground, and no information prompt is carried out because the terminal foreground is detected to be running the specified application. And when the specified application foreground is detected to finish running, prompting the application information.
Further, the method further comprises: when the operation on the application information is detected, the terminal sends the operation to the server, so that the server records the operation in the historical click behavior of the user identifier.
The operation may be a closing operation, a viewing operation, an installing operation, and the like, and the embodiment of the present invention is not particularly limited. The server maintains historical click behavior of the user identification based on these operations. It should be noted that, when the terminal user ignores the application information, the server may determine that the terminal user ignores the application information when no feedback is received within a period of time, and the ignorance may also be recorded in the historical click behavior for serving the information prompt in the following.
For convenience of understanding, a set of simple examples is used to describe different processing modes between the first preset number and the fifth preset number, the processing modes are stricter along with the closing or neglecting increase of the operation number in the historical clicking behavior, for example, if in the historical clicking behavior of the server, the user clicks the prompted information for the last 1 time, the information prompt is performed, the terminal side pops up the information normally, and if the user closes the prompted information for the last 1 time, the application information is changed to pop up, and the popping-up interval time is doubled; the user closes the prompted information for the last 3 times, the application information is popped up, and the popping interval time is doubled again; the user does not click the prompt information for the last 5 times, and the user does not pop up in the month; the user does not click the information of the prompt for the last 10 times and does not pop up any more.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
Fig. 4 is a schematic structural diagram of an information prompt apparatus according to an embodiment of the present invention. Referring to fig. 4, the apparatus includes:
an obtainingmodule 401, configured to obtain application environment information of a terminal when the detection time is reached;
a promptrequest sending module 402, configured to send a prompt request to a server, where the prompt request carries a user identifier and the application environment information, so that when the server determines to perform information prompt according to a historical click behavior of the user identifier and the application environment information, a prompt confirmation information is returned, where the prompt confirmation information at least carries application information to be prompted;
aninformation prompting module 403, configured to prompt the application information when receiving a prompt confirmation information sent by the server.
Optionally, the apparatus further comprises:
and the extension module is used for extending the detection time interval of the terminal according to the detection interval extension parameter if the prompt confirmation information also carries the detection interval extension parameter.
Optionally, the apparatus further comprises:
the application detection module is used for detecting the application running in the foreground of the terminal when receiving the prompt confirmation information sent by the server;
and the information prompting module is further used for prompting the application information when detecting that the foreground running of the specified application is finished when the foreground running of the specified application is the specified application.
It should be noted that: the information presentation apparatus provided in the foregoing embodiment is only illustrated by dividing the functional modules in information presentation, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the information prompting device and the information prompting method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
According to the device provided by the embodiment of the invention, whether the information prompt is carried out or not is determined by the server according to the historical click behavior and the application environment information according to the application environment information of the terminal, so that the application information can be pushed according to the actual application installation conditions of different terminals, the prompt of the application information is more targeted, the prompt efficiency of the application information is also improved, frequent disturbance to terminal users is avoided, meanwhile, the situations that some key plug-ins and the like are shielded and the like are avoided, and the stability of the terminal is ensured.
Fig. 5 is a schematic structural diagram of an information prompt apparatus according to an embodiment of the present invention. Referring to fig. 5, the apparatus includes:
areceiving module 501, configured to receive a prompt request, where the prompt request carries a user identifier and application environment information;
an information prompt determiningmodule 502, configured to determine whether to perform information prompt according to the historical click behavior of the user identifier and the application environment information;
a sendingmodule 503, configured to send a prompt confirmation message to the terminal when determining to perform information prompt, where the prompt confirmation message at least carries application information to be prompted, so that the terminal performs information prompt;
the sendingmodule 503 is further configured to send a prompt rejection message to the terminal when it is determined that the information prompt is not performed.
Optionally, the apparatus further comprises:
the information detection module is used for detecting whether the database has application information to be prompted according to the application environment information;
and the information prompt judging module is used for judging whether to prompt information according to the operation of the prompted application information in the historical click behavior when the application information to be prompted is determined to be in the database.
Optionally, the information prompt determining module is configured to determine to prompt information if a last information prompt in the historical click behavior is clicked when it is determined that the database has application information to be prompted; or the like, or, alternatively,
the information prompt judging module is used for determining to perform information prompt and replacing the application information to be prompted if closing operation is performed on the latest first preset times of information prompt in the historical click behavior when the application information to be prompted is determined to be in the database; or the like, or, alternatively,
and the information prompt judging module is used for determining not to prompt information if the application information is the same as the prompted application information corresponding to the closing operation in the historical click behavior when the application information to be prompted is determined to be in the database.
Optionally, the apparatus further comprises:
the setting module is used for setting a first detection interval extension parameter when the latest closing operation times or neglecting operation times in the historical click behaviors are larger than a second preset time, and carrying the first detection interval extension parameter in prompt confirmation information for sending;
the setting module is further configured to set a second detection interval extension parameter when the number of the latest closing operations or the number of the neglected operations in the historical click behavior is greater than a third preset number, and carry the second detection interval extension parameter in the prompt acknowledgement message for sending;
and the third preset times is greater than the second preset times, and the detection time interval corresponding to the second detection interval extension parameter is greater than the detection time interval corresponding to the first detection interval extension parameter.
Optionally, the apparatus further comprises:
the first request processing module is used for ignoring a prompt request received in a second preset time period if the fact that the information prompt of a second preset number of times is not operated recently is determined according to the historical click behavior of the user identification; or the like, or, alternatively,
the second request processing module is used for ignoring a prompt request received in a third preset time period if the fact that the information prompt of a third preset time is not operated is determined according to the historical click behavior of the user identification;
wherein the third preset time period is greater than the second preset time period.
It should be noted that: the information presentation apparatus provided in the foregoing embodiment is only illustrated by dividing the functional modules in information presentation, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the information prompting device and the information prompting method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
According to the device provided by the embodiment of the invention, whether the information prompt is carried out or not is determined by the server according to the historical click behavior and the application environment information according to the application environment information of the terminal, so that the application information can be pushed according to the actual application installation conditions of different terminals, the prompt of the application information is more targeted, the prompt efficiency of the application information is also improved, frequent disturbance to terminal users is avoided, meanwhile, the situations that some key plug-ins and the like are shielded and the like are avoided, and the stability of the terminal is ensured.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.