CN108595275B - Prompt message pushing method and terminal - Google Patents

Prompt message pushing method and terminal Download PDF

Info

Publication number
CN108595275B
CN108595275B CN201810200666.XA CN201810200666A CN108595275B CN 108595275 B CN108595275 B CN 108595275B CN 201810200666 A CN201810200666 A CN 201810200666A CN 108595275 B CN108595275 B CN 108595275B
Authority
CN
China
Prior art keywords
user
terminal
time period
information
target
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.)
Active
Application number
CN201810200666.XA
Other languages
Chinese (zh)
Other versions
CN108595275A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810200666.XA priority Critical patent/CN108595275B/en
Publication of CN108595275A publication Critical patent/CN108595275A/en
Application granted granted Critical
Publication of CN108595275B publication Critical patent/CN108595275B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Abstract

The embodiment of the invention provides a method and a terminal for pushing prompt information, which are applied to the technical field of terminals and are used for solving the problem that the terminal cannot push the prompt information to a user in time. The method comprises the following steps: determining a target time period, wherein the target time period comprises M continuous target dates, and the M target dates are dates with specific identifiers in all dates within a preset time length after the current date; generating prompt information according to the target time period and historical behavior information of the user, wherein the historical behavior information comprises behavior information of the user for controlling the terminal before the current date, the prompt information is used for prompting the user of a task to be handled in the target time period, and the task to be handled is not a preset task; and outputting the prompt information.

Description

Prompt message pushing method and terminal
Technical Field
The embodiment of the invention relates to the technical field of terminals, in particular to a method and a terminal for pushing prompt messages.
Background
With the development of terminal technology, the frequency of using the terminal by the user is higher and higher, and the intelligent requirement of the user on the terminal is higher and higher.
The current scene intelligent system of the terminal can generate a card containing the content of the short message according to the short message received by the terminal (the short message is triggered after a certain action of the user), and the card is displayed on the interface of the terminal to remind the user of the content of the short message. For example, the terminal may generate a card 1 containing train ticket information (such as train departure time, an origin station, and a destination station) by recognizing a short message of a predetermined train ticket, which is triggered after a user purchases the train ticket, and remind the user of the train departure time, the origin station, and the destination station, etc. through the card 1.
However, the current terminal intelligently reminds through information triggered by a certain action of the user (for example, short messages received by the terminal after purchasing a train ticket), and when the user is in no time to plan a trip, the terminal cannot detect the information triggered by the action of the user, so that the terminal cannot push prompt information to the user in time.
Disclosure of Invention
The embodiment of the invention provides a method and a terminal for pushing prompt information, and aims to solve the problem that the terminal cannot push the prompt information to a user in time.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, a method for pushing hint information is provided, where the method includes: determining a target time period, wherein the target time period comprises M continuous target dates, and the M target dates are dates with specific identifiers in all dates within a preset time length after the current date; generating prompt information according to the target time period and historical behavior information of the user, wherein the historical behavior information comprises behavior information of the user for controlling the terminal before the current date, the prompt information is used for prompting the user of a task to be handled in the target time period, and the task to be handled is not a preset task; and outputting the prompt information.
In a second aspect, an embodiment of the present invention further provides a terminal, where the terminal includes a determining module, a generating module, and an output module; the determining module is used for determining a target time period, wherein the target time period comprises M continuous target dates, and the M target dates are dates with specific identification in all dates within a preset time length after the current date; the generating module is configured to generate a prompt message according to the target time period determined by the determining module and historical behavior information of the user, where the historical behavior information includes behavior information of the user controlling the terminal before the current date, and the prompt message is used to prompt the user for a task to be handled in the target time period, and the task to be handled is not a preset task; the output module is used for outputting the prompt message generated by the generation module.
In a third aspect, an embodiment of the present invention provides a terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the method for pushing prompt information according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the method for pushing prompt information according to the first aspect.
In the embodiment of the invention, firstly, a terminal determines a target time period, wherein the target time period comprises M continuous target dates, and the M target dates are dates with specific identification in all dates within a preset time length after the current date; secondly, the terminal generates prompt information according to the target time period and historical behavior information of the user, wherein the historical behavior information comprises behavior information of the user for controlling the terminal before the current date, the prompt information is used for prompting a task to be done in the target time period to the user, and the task to be done is not a preset task; and finally, outputting prompt information. The terminal only needs to acquire a target time period in advance, determines that a certain behavior possibly occurs in the target time period according to the historical behavior of the user, and determines and outputs the prompt information according to the target time period and the historical behavior information of the user, so that the terminal can push the prompt information to the user in time.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for pushing prompt information according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a display interface according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another display interface provided in an embodiment of the invention;
FIG. 5 is a schematic diagram of another display interface provided in an embodiment of the invention;
FIG. 6 is a schematic diagram of another display interface provided in an embodiment of the invention;
fig. 7 is a schematic structural diagram of a possible terminal according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another possible terminal according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of a terminal according to various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that "/" in this context means "or", for example, A/B may mean A or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. "plurality" means two or more than two.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The terminal in the embodiment of the present invention may be a terminal having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment applied by the method for pushing the prompt information provided by the embodiment of the present invention, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the method for pushing the prompt information provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the method for pushing the prompt information may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can realize the method for pushing the prompt message provided by the embodiment of the invention by running the software program in the android operating system.
The following describes a method for pushing prompt information according to an embodiment of the present invention with reference to fig. 2, where fig. 2 is a schematic flow diagram of the method for pushing prompt information according to the embodiment of the present invention, and the steps include S201 to S203:
s201, the terminal determines a target time period, wherein the target time period comprises M continuous target dates, and the M target dates are dates with specific identification in all dates within a preset time length after the current date.
If the date with the specific identifier is not available in all dates within the preset time length of the terminal, the terminal waits for the next search.
It should be noted that M in the embodiment of the present invention may also be 1, and when M is equal to 1, the determined target time period is actually 1 day, which is also applicable to the method for pushing the prompt information provided in the embodiment of the present invention.
Optionally, the terminal may determine the target time period from a calendar APP in the terminal or from calendar information in the network, which is not specifically limited in the embodiment of the present invention.
It should be noted that the specific identifier in the embodiment of the present invention is used to indicate that the date is legal holiday (including weekend) and the date marked by the user. Wherein the user marked dates may include workdays, for example, students may mark periods of time between 7 and 8 months as summer vacations, periods of time between 1 and 2 months as winter vacations, employees may mark dates of holidays in the terminal's calendar, etc.
It can be understood that in practical application, the terminal can obtain the actual vacation date of a specific legal holiday according to the network.
For example, the terminal determines that the dates with the special identification between the 9 th 15 th day and the 10 th 15 th day of 2018 are respectively 9 th 22 th-9 th 24 th day (mid-autumn holiday in China) and 10 th 1 th-10 th 7 th day (national celebration holiday) on the 9 th and 15 th days of 2018.
It should be noted that all dates in the preset duration may include a plurality of consecutive dates with specific identifiers, and each time period includes different days, in the embodiment of the present invention, a target time period in all dates in the preset duration after the current date is taken as an example for description, and other target time periods in all dates in the preset duration after the current date are similar in processing method, which is not specifically limited in the embodiment of the present invention.
Optionally, the preset duration may be a default duration used by the terminal, or may also be a duration set by the user, which is not specifically limited in the embodiment of the present invention.
S202, the terminal generates prompt information according to the target time period and the historical behavior information of the user.
The historical behavior information comprises behavior information of the user for controlling the terminal before the current date, the prompt information is used for prompting the task to be handled in the target time period to the user, and the task to be handled is not a preset task.
It should be noted that, in the embodiment of the present invention, the preset task refers to a task to be handled set by the user in the target time period or a reminding task instructed by the terminal according to the information of an event.
For example, the "task to be done set by the user in the target time period" may be an alarm clock set by the user; suppose that the user purchases movie tickets of 1 month and 10 days on 1 month and 1 day, and the "reminding task indicated by the information of one event" is that the terminal reminds the user that movies are available on 1 month and 10 days before 1 month and 10 days through ticket purchase orders or ticket purchase short messages.
Optionally, the historical behavior information includes a name of each application used by the user in a preset time period, a time when the user uses each application in the preset time period, a duration of time when the user uses each application in the preset time period, and location information of a location where the terminal is located when the user uses each application in the preset time period.
Optionally, the preset time period may be any time period, for example, the historical behavior information may be historical behavior information of a month, three months, or half a year in which the user uses the terminal. Of course, the historical behavior information of the previous month, two months or half a year of the current date can be used
It should be noted that, the interest items of the user can be determined according to the historical behavior information of the user, and the interest items can be the preferences of the user, such as sports, listening to songs, shopping, traveling, delicacies, movies, and the like.
Optionally, the prompt information may include information such as travel advice, tourist attractions, ticket purchase reminders, and recommended merchants.
And S203, the terminal outputs prompt information.
Optionally, the terminal may display the prompt information on a push interface of the terminal, may also output the prompt information in a voice broadcast manner, and may also display the prompt information containing the broadcast content on the push interface of the terminal in the voice broadcast condition, which is not specifically limited in this embodiment of the present invention.
Optionally, the push interface of the terminal may be located on a negative screen of the terminal, or may be in other screens of the terminal (for example, a page where the current display interface is located), and the terminal may also display the prompt information in a notification bar of the terminal, which is not specifically limited in this embodiment of the present invention.
Exemplarily, fig. 3 is a schematic diagram of a display interface provided in an embodiment of the present invention. As shown in fig. 3 (a), assuming that the current display interface is a push interface of the terminal, the terminal displays push information in the display interface of the terminal in the form of a card, and assuming that a target time period determined by the terminal within 30 days in 9 months and 1 days is 22 days in 2018 months and 24 days in 2018 months and 9 months in 2018 months (mid-autumn festival is false), the prompting information content determined by the terminal according to the time period and the historical behavior information of the user includes a train ticket for purchasing city 1-city 2. As shown in fig. 3, 1 piece of prompt information about mid-autumn holiday is displayed in the card, and is "purchase train tickets for 9-month 21-night departure city 1-city 2". Of course, the terminal may also display the prompt information in the notification bar of the terminal, such as the interface schematic diagram shown in (b) in fig. 3, where the current interface of the terminal is the main page of the terminal, and then the terminal may display the prompt information "purchase train tickets for cities 1-2 that originate at 21 nights and 9 months".
Optionally, the prompt information may be carried as an APP entry related to the prompt information, and the user may connect to an APP interface related to the prompt information through an operation on the prompt information, where the APP entry in the prompt information may be a keyword in the prompt content or a selection area prompted in the interface of the prompt information, which is not specifically limited in this embodiment of the present invention. For example, the user clicks "train ticket" in the card of fig. 3 (a), and the terminal may open an interface of APP to purchase train tickets.
It should be noted that the manner in which the terminal displays the prompt information on the push interface of the terminal may be in various forms, for example, the prompt information of multiple dates may be displayed in the form of a card at the same time, which is not limited in this embodiment of the present invention.
Fig. 4 is a schematic diagram of a display interface according to an embodiment of the present invention. The target time period determined by the terminal is 3 days of holiday 1, and is date 1, date 2 and date 3, respectively. The terminal displays the presentation information 1 for date 1 (holiday 1), the presentation information 2 for date 2 (holiday 1), and the presentation information 3 for date 3 (holiday 1). As shown in fig. 4 (a), the prompt information displayed on each target date is displayed in the form of a card, and a user may slide and click to select one of the cards, and display the prompt information on the card after clicking the card, or may display the interface diagram shown in fig. 4 (b), and the user may slide up and down to view the prompt information on different target dates.
The method for pushing the prompt message includes the steps that firstly, a terminal determines a target time period, the target time period comprises M continuous target dates, and the M target dates are dates with specific identification in all dates within a preset time length after the current date; secondly, the terminal generates prompt information according to the target time period and historical behavior information of the user, wherein the historical behavior information comprises behavior information of the user for controlling the terminal before the current date, the prompt information is used for prompting a task to be done in the target time period to the user, and the task to be done is not a preset task; and finally, the terminal outputs prompt information. The terminal only needs to acquire the target time period in advance, determines that a certain behavior possibly occurs in the target time period according to the historical behavior of the user, and determines and outputs the prompt information according to the target time period and the historical behavior information of the user, so that the terminal can push the prompt information to the user in time.
In a possible implementation manner, in the method for pushing a prompt message provided in the embodiment of the present invention, S201 may be executed through S201 a:
s201a, the terminal determines the target time period if the current date satisfies a preset condition that an interval between the current date and the last determination of whether the target date exists is equal to a first preset threshold.
Optionally, the first preset threshold may be a default value of the terminal or any value set by the user. For example, when the user sets a first preset threshold to be zero, the terminal determines a target time period every day; when the user sets the first preset threshold to be 48 hours, the terminal determines the target time period every 48 hours, which is not specifically limited in the embodiment of the present invention.
Based on the scheme, the interval between the current date and the last determined whether the target date exists is equal to a first preset threshold, the terminal determines the target time period at the current date, the target time period can be determined periodically, and prompt information is displayed for the user periodically.
In a possible implementation manner, S202 in the method for pushing prompt information provided by the embodiment of the present invention may be executed by S202 a:
s202a, the terminal generates prompt information according to the target time period, the historical behavior information and the position information of the current position of the terminal.
For example, the terminal may determine a location where the user is most likely to travel in the target time period (e.g., a scenic spot, a mall, a movie theater, a restaurant, etc. 2 kilometers away from the current location of the user) according to the location information of the current location of the terminal. Therefore, the prompt information can be generated according to the position with the maximum possibility of the user going out.
Based on the scheme, the terminal generates the prompt information related to the position of the terminal by combining the target time period, the historical behavior information and the position information of the current position of the terminal, and the geographic position of the terminal, namely the geographic position of the user, can enable the generated prompt information to better meet the actual requirements of the user.
In a possible implementation manner, S203 in the method for pushing a prompt message provided by the embodiment of the present invention may further execute, through S203 a:
and S203a, the terminal outputs the prompt message by taking a first preset time period as a period before the current date is the first target date in the M target dates until the current date is the first target date in the M target dates.
Optionally, after the user selects to cancel one of the prompt messages in the push interface, the terminal does not display the prompt message any more.
For example, the terminal determines that 10 month 1 day-10 month 7 day (national day holiday) is the target time period in 9 month 3, and the terminal displays prompt information whether to purchase a train ticket in 10 month 1 day on the push interface every 3 days from 9 month 3 to 10 month 1 for reminding the user that the user needs to purchase the train ticket in advance if going out in the next month.
Based on the scheme, the terminal can display prompt information on a pushing interface of the terminal in time by taking the first preset time period as a period, so that the user is reminded of planning the journey in time, and the user is prevented from forgetting to plan the journey due to various reasons.
In a possible implementation manner, the method for pushing the prompt information provided in the embodiment of the present invention further includes, after S202 and before S203, S204 and S205:
and S204, the terminal detects the input of the user on a preset push inlet area.
Optionally, the input of the user on the preset push entry area may be a click, a touch or a voice input of the user on the area, and the embodiment of the present invention does not specifically limit the input type of the user.
S205, the terminal responds to the input detected by the user on the push inlet area and displays a push interface.
It can be understood that the prompt message may be generated and stored in the terminal in advance for the terminal, and after the terminal detects that the user inputs on the preset push inlet area, the prompt message is displayed on the push interface, so that the prompt message may also be displayed on the display interface.
Of course, S204 may also be executed before step S201, in this scheme, S201 may be executed through S201 b:
s201b, the terminal determines the target time period in response to detecting the user input on the push entry area.
It should be noted that, after the terminal detects the input of the user in the preset push entry area, by using any one of the above method flows, the terminal may display the prompt message to the user in the push area and may also output the prompt message through voice broadcast.
Based on the scheme, the terminal can display the push interface after detecting the input of the user in the preset push inlet area, so that the interactivity between the user and the terminal is improved.
Optionally, the number of the prompt messages is N, the historical behavior information of the user includes K interest items and weights of the K interest items, and at least one interest item corresponds to one prompt message.
In a possible implementation manner, in the method for pushing a prompt message provided in the embodiment of the present invention, S203 specifically includes S203 b:
s203b, the terminal outputs N pieces of prompt information according to the weight of at least one interest item corresponding to the N pieces of prompt information.
It is understood that the terminal may select a part of the top interest items according to the plurality of interest items of the user, and select the number of prompt messages generated about each interest item according to the weight of each interest item.
For example, the number of interest items of the user determined according to the historical behavior information is 10, the top 3 interest items and the weights are respectively interest item 1 and weight 1; interest item 2, weight 2, interest item 3, weight 3; the terminal may display a different number of prompts for each item of interest in the display area. For example, the number of the prompt messages related to the interest item 1 displayed by the terminal is 3, the number of the prompt messages related to the interest item 1 is 2, and the number of the prompt messages related to the interest item 1 is 1.
Optionally, when displaying the target prompt message, the terminal may display a plurality of prompt messages in the same date on one card. The types of the plurality of prompt messages may be different, may also be partially the same, or may all be the same, which is not specifically limited in this embodiment of the present invention.
For example, fig. 5 is a schematic diagram of a display interface provided by an embodiment of the present invention, as shown in (a) of fig. 5, for example, in a manner shown in (a) of fig. 5, 3 pieces of prompting information of holiday 1 are displayed, and a piece of prompting information 1 (type 1) of date 1, a piece of prompting information 2 (type 2) of date 1, and a piece of prompting information 3 (type 3) of date 1 are respectively displayed in 3 cards; the presentation information 1, the presentation information 2, and the presentation information 3 may be displayed on different cards, or may be displayed on the same card in the same display manner as shown in fig. 5 (b).
Optionally, after the terminal determines the multiple target time periods, the terminal may display the prompt information corresponding to the multiple target time periods on a push interface of the terminal, where the display manner may be that one card is displayed in a unit of a holiday, or that one card is displayed in a unit of a date, which is not specifically limited in this embodiment of the present invention.
Exemplarily, fig. 6 is a schematic diagram of a display interface provided in an embodiment of the present invention. As shown in fig. 6, the display mode is that one card is displayed in a holiday unit, wherein the card 1 corresponding to holiday 1 displays the prompt information 1 and the prompt information 2 of date 1; the card 2 corresponding to the festival 2 displays the prompt information 3 of the date 2 and the prompt information 4 of the date 3; the card 3 corresponding to the holiday 3 displays the prompt information 5 of the date 4.
Based on the scheme, the terminal can select and output the number of the prompt messages of each interest item according to the weight of the interest item of the user.
It should be noted that, in the method for pushing the prompt information provided by the embodiment of the present invention, "historical behavior information" in S202 may be obtained through the target neural network model, and before S201, the target neural network model may be obtained through T1-T3:
and T1, the terminal acquires the first historical behavior information of the user.
The first historical behavior information comprises the name of each application used by the user in a second preset time period, the time when the user uses each application in the second preset time period, the time length when the user uses each application in the second preset time period, and the position information of the position of the terminal when the user uses each application in the second preset time period.
And T2, the terminal acquires the initial neural network model stored in the terminal.
Typically, the initial neural network is a neural network that has not been trained with user behavior data.
And T3, inputting the first historical behavior information into the initial neural network model by the terminal to obtain a target neural network model.
It should be noted that the target neural network model in the embodiment of the present invention indicates the historical behavior of the user using the terminal, for example, each interest item of the user and the weight of each interest item.
Specifically, before the terminal inputs the collected first historical behavior information, the obtained historical behavior information may be preprocessed, for example, a label is added to the collected data, if the data record 1 is data collected from an APP for travel ticket purchase (for example, a hotel order, an air ticket order, a train ticket order, and the like), the terminal adds a travel label to the data record 1, the data record 2 is data collected from an APP for group food purchase (for example, time for group purchase, category of group food purchased, location of group-purchased merchants, and group-purchased merchants), the terminal adds a food label to the data record 2, the terminal may convert the collected data into a one-dimensional matrix, or convert the collected data into a multi-dimensional matrix, input the data into an initial neural network training after the conversion into the matrix, and obtain a target neural network model after the training, that is, the target neural network model may determine an interest item of the user according to the input first historical behavior information through the target neural network model And a weight of each interest item, wherein the sum of the weights of all the interest items of the user is 1.
Based on the scheme, the terminal can generate a target neural network model capable of indicating the behavior information of the user through acquiring the historical behavior information of the user and through the historical behavior information and the initial neural network stored in the terminal.
In a possible implementation manner, the method for pushing the prompt information provided in the embodiment of the present invention further includes, after S203, T4 and T5:
and T4, the terminal acquires second historical behavior information of the user.
The second historical behavior information comprises the name of each application used by the user in a third preset time period, the time when the user uses each application in the third preset time period, the time length when the user uses each application in the third preset time period, and the position information of the position of the terminal when the user uses each application in the third preset time period.
It should be noted that the third preset time period is a time period of any duration after the second preset time period. The time period after performing S201-S203 once may be, or may be a time period before performing, which is not specifically limited in this embodiment of the present invention.
And T5, inputting the second historical behavior information into the target neural network model by the terminal to obtain an updated target neural network model.
The terminal can input the second historical behavior information into the target neural network model, the target neural network model determines the user interest items and the change of the weights of the interest items according to the second historical behavior information, and adjusts the internal parameters in the target behavior network model to obtain an updated target neural network model, and the updated target neural network model describes the historical behaviors of the user more accurately than the target neural network model before updating.
It should be noted that, after the target neural network model is updated, the terminal may generate the prompt information according to the updated target neural network model; after the terminal acquires the second historical behavior information, if the second historical behavior information is not input into the current target neural network model of the terminal, the model used by the terminal when generating the target display information is the current target neural network model of the terminal.
Based on the scheme, the internal parameters in the target neural network model can be adjusted by acquiring the second historical behavior information of the user and inputting the second historical behavior information into the target neural network model, so that the target neural network model describing the historical behavior of the user can be obtained more accurately, and the prompt information generated by the terminal according to the target neural network model is closer to the behavior habit of the user.
Fig. 7 is a schematic diagram of a possible structure of a terminal according to an embodiment of the present invention, and as shown in fig. 7, a terminal 700 includes: a determining module 701, a generating module 702 and an output module 703; the determining module 701 is configured to determine a target time period, where the target time period includes M consecutive target dates, and the M target dates are dates having a specific identifier in all dates within a preset time period after the current date; a generating module 702, configured to generate, according to the target time period determined by the determining module 701 and historical behavior information of the user, prompt information, where the historical behavior information includes behavior information of a control terminal of the user before a current date, and the prompt information is used to prompt the user for a to-do task in the target time period, and the to-do task is not a preset task; and an output module 703, configured to output, by the terminal 700, the prompt message generated by the generating module 702.
Optionally, the determining module 701 is specifically configured to: the target time period is determined in a case where the current date satisfies a preset condition that an interval between the current date and the last determination whether the target date exists is equal to a first preset threshold.
Optionally, the historical behavior information includes a name of each application used by the user in a preset time period, a time when the user uses each application in the preset time period, a duration of time when the user uses each application in the preset time period, and location information of a location where the terminal 700 is located when the user uses each application in the preset time period.
Optionally, the generating module 702 is specifically configured to: and generating prompt information according to the target time period, the historical behavior information and the position information of the current position of the terminal 700, which are determined by the determining module 701.
Optionally, the output module 703 is specifically configured to: and outputting prompt information by taking a first preset time period as a period before the current date is the first target date in the M target dates until the current date is the first target date in the M target dates.
Optionally, with reference to fig. 7, as shown in fig. 8, the terminal 700 further includes a detection module 704 and a display module 705; a detecting module 704, configured to detect an input of a user on a preset push entry area after the generating module 702 generates the prompt message and before the outputting module 703 outputs the prompt message; the display module 705 is further configured to display the push interface in response to the detection module 704 detecting an input of the user on the push entry area.
Optionally, the number of the prompt messages is N, the historical behavior information includes K interest items and weights of the K interest items, and at least one interest item corresponds to one prompt message; the output module 703 is specifically configured to: and outputting the N pieces of prompt information according to the weight of the at least one interest item corresponding to the N pieces of prompt information.
The terminal 700 provided in the embodiment of the present invention can implement each process implemented by the terminal in the foregoing method embodiments, and is not described here again to avoid repetition.
Fig. 9 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention, where the terminal 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal configuration shown in fig. 9 is not intended to be limiting, and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to determine a target time period, where the target time period includes M consecutive target dates, and the M target dates are dates having a specific identifier in all dates within a preset time length after the current date; generating prompt information according to the target time period and the historical behavior information, wherein the historical behavior information comprises behavior information of a control terminal of a user before the current date, and the prompt information is used for prompting a task to be handled in the target time period to the user, and the task to be handled is not a preset task; the audio output unit 103 or the display unit 106 outputs prompt information.
The terminal provided by the embodiment of the invention comprises the following steps that firstly, the terminal determines a target time period, wherein the target time period comprises M continuous target dates, and the M target dates are dates with specific identification in all dates within a preset time length after the current date; secondly, the terminal generates prompt information according to the target time period and historical behavior information of the user, wherein the historical behavior information comprises behavior information of the user for controlling the terminal before the current date, the prompt information is used for prompting a task to be done in the target time period to the user, and the task to be done is not a preset task; and finally, the terminal outputs prompt information. The terminal only needs to acquire a target time period in advance, determines that a certain behavior possibly occurs in the target time period according to the historical behavior of the user, and determines and outputs the prompt information according to the target time period and the historical behavior information of the user, so that the terminal can push the prompt information to the user in time.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 9, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 100 or may be used to transmit data between the terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal 100 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
Optionally, an embodiment of the present invention further provides a terminal, including the processor 110 in fig. 9, the memory 109, and a computer program that is stored in the memory 109 and is executable on the processor 110, where the computer program, when executed by the processor 110, implements each process of the above method for pushing prompt information, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above method for pushing prompt information, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method for prompting information pushing, which is characterized in that the method comprises the following steps:
determining a target time period, wherein the target time period comprises M continuous target dates, the M target dates are dates with specific identifiers in all dates within a preset time length after the current date, and the dates with the specific identifiers are legal holidays and user marked dates;
generating prompt information according to the target time period and historical behavior information of the user, wherein the historical behavior information comprises behavior information of a control terminal of the user before the current date, the prompt information is used for prompting the user of a task to be handled in the target time period, and the task to be handled is not a preset task;
outputting the prompt information before the current date is the first target date in the M target dates, wherein the prompt information carries an entry of an application program related to the prompt information;
the preset task refers to a task to be handled set in the target time period by the user or a reminding task instructed by the terminal according to the information of an event.
2. The method of claim 1, wherein determining the target time period comprises:
and determining the target time period under the condition that the current date meets a preset condition, wherein the preset condition is that the interval between the current date and the last determined target date is equal to a preset threshold value.
3. The method of claim 1, wherein the historical behavior information comprises: the method comprises the following steps that the name of each application used by a user in a preset time period, the time when the user uses each application in the preset time period, the time length when the user uses each application in the preset time period, and the position information of the position of the terminal when the user uses each application in the preset time period; and the preset time period is a time period before the current moment.
4. The method according to claim 1 or 2, wherein the generating of the prompt message according to the target time period and the historical behavior information of the user comprises:
and generating the prompt information according to the target time period, the historical behavior information and the position information of the current position of the terminal.
5. The method of claim 4, after generating the hint information and before outputting the hint information, further comprising:
detecting input of a user on a preset push inlet area;
in response to detecting user input on the push entry area, displaying a push interface.
6. The method according to claim 1, wherein the number of the prompt messages is N, the historical behavior information of the user includes K interest items and weights of the K interest items, at least one interest item corresponds to one prompt message, and N and K are positive integers;
the outputting the prompt information includes:
and displaying the N pieces of prompt information on a push interface of the terminal according to the weight of at least one interest item corresponding to the N pieces of prompt information.
7. A terminal, characterized in that the terminal comprises: the device comprises a determining module, a generating module and an output module;
the determining module is used for determining a target time period, wherein the target time period comprises M continuous target dates, the M target dates are dates with specific identifiers in all dates within a preset time length after the current date, and the dates with the specific identifiers are legal holidays and user marked dates;
the generating module is configured to generate prompt information according to the target time period determined by the determining module and historical behavior information of the user, where the historical behavior information includes behavior information of the user controlling the terminal before a current date, and the prompt information is used to prompt the user for a to-do task in the target time period, and the to-do task is not a preset task;
the output module is configured to output the prompt message generated by the generation module before a current date is a first target date of the M target dates, where the prompt message carries an entry of an application program related to the prompt message;
the preset task refers to a task to be handled set in the target time period by the user or a reminding task instructed by the terminal according to the information of an event.
8. The terminal according to claim 7, wherein the determining module is specifically configured to:
and determining the target time period under the condition that the current date meets a preset condition, wherein the preset condition is that the interval between the current date and the last determined target date is equal to a preset threshold value.
9. The terminal of claim 7,
the generating module is specifically configured to generate the prompt information according to the target time period, the historical behavior information, and the position information of the current position of the terminal, which are determined by the determining module.
10. The terminal according to any of claims 7-9, characterized in that the terminal further comprises a detection module and a display module;
the detection module is used for detecting the input of the user on a preset push inlet area after the generation module generates the prompt message according to the target time period and the historical behavior information of the user and before the output module outputs the prompt message;
the display module is used for responding to the detection module detecting the input of the user on the pushing inlet area and displaying a pushing interface.
CN201810200666.XA 2018-03-12 2018-03-12 Prompt message pushing method and terminal Active CN108595275B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810200666.XA CN108595275B (en) 2018-03-12 2018-03-12 Prompt message pushing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810200666.XA CN108595275B (en) 2018-03-12 2018-03-12 Prompt message pushing method and terminal

Publications (2)

Publication Number Publication Date
CN108595275A CN108595275A (en) 2018-09-28
CN108595275B true CN108595275B (en) 2021-10-15

Family

ID=63626046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810200666.XA Active CN108595275B (en) 2018-03-12 2018-03-12 Prompt message pushing method and terminal

Country Status (1)

Country Link
CN (1) CN108595275B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522706B (en) * 2018-10-24 2021-01-08 维沃移动通信有限公司 Information prompting method and terminal equipment
WO2020133435A1 (en) * 2018-12-29 2020-07-02 深圳市欢太科技有限公司 Information prompt method and related product
CN109660674B (en) * 2019-01-30 2021-03-16 维沃移动通信有限公司 Method for setting alarm clock and electronic equipment
CN110706074A (en) * 2019-09-27 2020-01-17 恒大智慧科技有限公司 Ticket buying reminding method, scenic spot server and computer readable storage medium
CN110992212A (en) * 2019-12-12 2020-04-10 支付宝(杭州)信息技术有限公司 Method, device, equipment and readable medium for generating prompt information
CN111241159B (en) * 2020-01-08 2023-07-07 山东汇贸电子口岸有限公司 Method and device for determining task execution time
CN111680137A (en) * 2020-05-20 2020-09-18 北京大米科技有限公司 Online classroom interaction method and device, storage medium and terminal
CN111857497B (en) * 2020-06-30 2021-08-13 维沃移动通信有限公司 Operation prompting method and electronic equipment
CN113762909A (en) * 2020-11-26 2021-12-07 北京京东拓先科技有限公司 Reminding method, reminding device, electronic equipment, reminding system and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407253A (en) * 2016-08-23 2017-02-15 乐视控股(北京)有限公司 Information pushing method and apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110460645A (en) * 2015-08-04 2019-11-15 阿里巴巴集团控股有限公司 A kind of information-pushing method and device
CN106327158A (en) * 2016-08-24 2017-01-11 深圳Tcl新技术有限公司 Backlog item prompting method and intelligent terminal
CN106600229B (en) * 2016-12-15 2024-04-09 北京小米移动软件有限公司 Calendar item reminding method and device
CN107483719A (en) * 2017-07-24 2017-12-15 珠海市魅族科技有限公司 Phonetic prompt method and device, computer installation and computer-readable recording medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407253A (en) * 2016-08-23 2017-02-15 乐视控股(北京)有限公司 Information pushing method and apparatus

Also Published As

Publication number Publication date
CN108595275A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN108595275B (en) Prompt message pushing method and terminal
CN110069306B (en) Message display method and terminal equipment
CN110222212B (en) Display control method and terminal equipment
JP6791569B2 (en) User profile generation method and terminal
CN110221737B (en) Icon display method and terminal equipment
CN110058754B (en) Option display method and terminal device
CN108900714A (en) A kind of reminding method and terminal
CN109995933B (en) Method for controlling alarm clock of terminal equipment and terminal equipment
CN110278329B (en) Notification message management method and mobile terminal
CN111124573B (en) Message notification method and electronic equipment
CN107977248B (en) Display method of desktop pendant and mobile terminal
WO2019141130A1 (en) Payment method and terminal device
CN108322601B (en) Reminding method and terminal
CN108304575B (en) Identification display method and terminal
CN111324268A (en) Information reminding method and electronic equipment
CN109815462B (en) Text generation method and terminal equipment
CN111444425A (en) Information pushing method, electronic equipment and medium
CN110990679A (en) Information searching method and electronic equipment
CN110933505A (en) Progress adjusting method and electronic equipment
CN110012152B (en) Interface display method and terminal equipment
CN109660674B (en) Method for setting alarm clock and electronic equipment
CN109634550A (en) A kind of voice operating control method and terminal device
CN111143086B (en) Service request method and electronic equipment
CN109639880B (en) Weather information display method and terminal equipment
CN110581922A (en) Alarm clock setting method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant