CN108595275A - A kind of method and terminal of prompt message push - Google Patents

A kind of method and terminal of prompt message push Download PDF

Info

Publication number
CN108595275A
CN108595275A CN201810200666.XA CN201810200666A CN108595275A CN 108595275 A CN108595275 A CN 108595275A CN 201810200666 A CN201810200666 A CN 201810200666A CN 108595275 A CN108595275 A CN 108595275A
Authority
CN
China
Prior art keywords
terminal
user
prompt message
time section
date
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.)
Granted
Application number
CN201810200666.XA
Other languages
Chinese (zh)
Other versions
CN108595275B (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present invention provides a kind of method and terminal of prompt message push, is applied to field of terminal technology, to solve the problems, such as that terminal cannot push prompt message to user in time.This method includes:Determine target time section, which includes continuous M target date, which is the date with specific identifier in all dates in the preset duration after current date;According to the historical behavior information of the target time section and user, generate prompt message, the historical behavior information includes the behavioural information that the user controls the terminal before current date, it is not preset task that the prompt message, which is used to prompt the Pending tasks of the target time section, the Pending tasks to the user,;Export the prompt message.

Description

A kind of method and terminal of prompt message push
Technical field
The present embodiments relate to methods and terminal that field of terminal technology more particularly to a kind of prompt message push.
Background technology
With the development of terminal technology, the frequency of user's using terminal is higher and higher, intelligent requirements of the user to terminal Also higher and higher.
(short message is that some row occurs for user to the short message that the scene intelligence system of existing terminal can be received according to terminal For rear triggering), the card of the content comprising the short message is generated, and by showing the card with to user on the interface of terminal Remind the content of the short message.For example, terminal can be by identifying that (short message is that user buys train ticket to the short message booked a train ticket Triggering afterwards) generation includes the card 1 of train ticket information (such as the train time of departure, the starting station and terminus), and passes through card Piece 1 is to the user reminding train time of departure, the starting station and terminus etc..
However, the information that current terminal is triggered by some behavior that user occurs is (for example, terminal after purchase train ticket The short breath received) intelligent reminding is carried out, when user has no time to plan that plan of travel, terminal can't detect user and behavior triggering occur Information causes terminal that cannot push prompt message to user in time.
Invention content
The embodiment of the present invention provides a kind of method and terminal of prompt message push, cannot be in time to user to solve terminal The problem of pushing prompt message.
In order to solve the above-mentioned technical problem, the embodiment of the present invention is realized in:
In a first aspect, providing a kind of method of prompt message push, this method includes:Determine target time section, the target Period includes continuous M target date, which is all dates in the preset duration after current date In with specific identifier date;According to the historical behavior information of the target time section and user, prompt message, the history are generated Behavioural information includes the behavioural information that the user controls the terminal before current date, which is used for the user The Pending tasks of the target time section are prompted, which is not preset task;Export the prompt message.
Second aspect, the embodiment of the present invention additionally provide a kind of terminal, which includes determining module, generation module and defeated Go out module;The determining module, for determining target time section, which includes continuous M target date, and the M is a Target date is the date with specific identifier in all dates in the preset duration after current date;The generation module, Historical behavior information for the target time section and user for being determined according to the determining module generates prompt message, the history Behavioural information includes the behavioural information that the user controls the terminal before current date, which is used for the user The Pending tasks of the target time section are prompted, which is not preset task;The output module, for exporting the generation mould The prompt message that block generates.
The third aspect an embodiment of the present invention provides a kind of terminal, including processor, memory and is stored in the memory Computer program that is upper and can running on the processor, realizes such as first aspect when which is executed by the processor The step of method of the prompt message push.
Fourth aspect, an embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage mediums Computer program is stored in matter, and prompt message push as described in relation to the first aspect is realized when which is executed by processor Method the step of.
In embodiments of the present invention, first, terminal determines that target time section, target time section include continuous M target Date, M target date are the date with specific identifier in all dates in the preset duration after current date;Its Secondary, terminal generates prompt message according to the historical behavior information of target time section and user, wherein historical behavior information includes The behavioural information of user's control terminal before current date, prompt message are used to prompt the user with pending of target time section Business, Pending tasks are not preset task;Finally, prompt message is exported.Terminal only needs to obtain target time section in advance, according to The historical behavior at family is determined may occur some behavior in target time section, pass through the history row of target time section and user Prompt message is determined for information and is exported so that terminal can push prompt message to user in time.
Description of the drawings
Fig. 1 is a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow schematic diagram of prompt message push provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of display interface provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of another display interface provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of another display interface provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of another display interface provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of possible terminal provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another possible terminal provided in an embodiment of the present invention;
Fig. 9 is a kind of hardware architecture diagram of terminal of each embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
It should be noted that "/" herein indicate or the meaning, for example, A/B can indicate A or B;Herein "and/or" is only a kind of incidence relation of description affiliated partner, indicates may exist three kinds of relationships, for example, A and/or B, it can To indicate:Individualism A exists simultaneously A and B, these three situations of individualism B." multiple " refer to two or more.
It should be noted that in the embodiment of the present invention, " illustrative " or " such as " etc. words make example, example for indicating Card or explanation.Be described as in the embodiment of the present invention " illustrative " or " such as " any embodiment or design scheme do not answer It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used Such as " word is intended to that related notion is presented in specific ways.
Terminal in the embodiment of the present invention can be the terminal with operating system.The operating system can be Android (Android) operating system can be ios operating systems, can also be other possible operating systems, the embodiment of the present invention is not Make specific limit.
Below by taking Android operation system as an example, the method institute of prompt message push provided in an embodiment of the present invention is introduced The software environment of application.
As shown in Figure 1, being a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention.Scheming In 1, the framework of Android operation system includes 4 layers, respectively:Application layer, application framework layer, system operation library layer and Inner nuclear layer (is specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system Tripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation of the frame in accordance with application program In the case of principle, some application programs are developed based on application framework layer.
System operation library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviour All kinds of resources needed for it are provided as system.Android operation system running environment is used to provide software loop for Android operation system Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior Stratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1 The software program of the method for prompt message push provided in an embodiment of the present invention is realized in the system architecture of operating system, exploitation, from And the method that the prompt message pushes is run based on Android operation system as shown in Figure 1.That is processor or end End equipment can realize that prompt message provided in an embodiment of the present invention is pushed away by running the software program in Android operation system The method sent.
The method of the prompt message push of the embodiment of the present invention is illustrated with reference to Fig. 2, Fig. 2 is that the present invention is implemented A kind of method flow schematic diagram for prompt message push that example provides, step includes S201-S203:
S201, terminal determine that target time section, target time section include continuous M target date, and M target date be Date with specific identifier in all dates in preset duration after current date.
Wherein, if under not there is the date of specific identifier, terminal to wait in all dates in terminal preset duration Primary search.
It should be noted that the M in the embodiment of the present invention may be 1, when M is equal to 1, determining target time section is real Border is 1 day, the method for being also applied for prompt message push provided in an embodiment of the present invention.
Optionally, terminal can determine the object time from the calendar APP in terminal or the calendar information in acquisition network Section, the embodiment of the present invention are not especially limited this.
It should be noted that specific identifier is for indicating that the date is the legal festivals and holidays (including weekend) in the embodiment of the present invention With the date of user's mark.Wherein, the date of user's mark may include working day, for example, student may be in the calendar of terminal Middle label July to a period of time between August is summer vacation, and it is winter vacation to mark a period of time between January to 2 months, and worker may be at end Label stops the date etc. in annual leave in the calendar at end.
It is appreciated that in practical application, terminal can obtain the practical liberty day of specific public holiday according to network.
For example, terminal is in the September 15 days to the day with special identifier between October 15 in 2018 of determination on the 15th of September in 2018 Phase is respectively 22 days-September of September 24 (Chinese vacation in the Mid-autumn Festival), 1-October 7 October (vacation on National Day).
It should be noted that may include multiple continuous days with specific identifier in all dates in preset duration Phase, the number of days that each period includes is different, and the embodiment of the present invention is with all dates in the preset duration after current date In a target time section for illustrate, other mesh in all dates in the preset duration after the current date Mark time stage treatment method is similar, and the embodiment of the present invention is not specifically limited this.
Optionally, preset duration can be duration of the terminal using acquiescence, or the duration of user setting, the present invention Embodiment is not especially limited this.
S202, terminal generate prompt message according to the historical behavior information of target time section and user.
Wherein, historical behavior information includes the behavioural information of user's control terminal before current date, and prompt message is used In the Pending tasks for prompting the user with target time section, Pending tasks are not preset task.
It should be noted that in the embodiment of the present invention, preset task refer to user setting target time section Pending tasks Or terminal is according to the reminding task of the instruction of the information of an event.
Illustratively, " Pending tasks of the user setting in target time section " can be the alarm clock of user setting one;It is false If user had purchased the film ticket on January 10 January 1, " reminding task of the instruction of the information of an event " is logical for terminal The forward direction user reminding that booking order or booking short message are crossed January 10 had film that can see January 10.
Optionally, to include user each of use the title applied, user pre- to historical behavior information in preset time period If the period using each application at the time of, user in preset time period using the duration each applied and user default The location information of terminal present position when period uses each application.
Optionally, preset time period can be the period of any one length, for example historical behavior information can be to use Family uses the historical behavior information in one month, three months of the terminal or half a year.It can certainly be for before current date The historical behavior information of one month, two months or half a year
It should be noted that can determine the item of interest of user according to the historical behavior information of user, item of interest can be The hobby of user, for example move, listen song, shopping, tourism, cuisines and film etc..
Optionally, prompt message may include trip suggestion, tourist attractions, booking prompting, recommend the information such as businessman.
S203, terminal export prompt message.
Optionally, terminal can on the push interface of terminal display reminding information, the shape of voice broadcast can also be passed through Formula exports prompt message, can also display includes the prompt for reporting content on the push interface of terminal the voice broadcast the case where Information, the embodiment of the present invention are not especially limited this.
Optionally, the push interface of terminal can be located at the negative one screen of terminal, or (ratio in other screens of terminal Such as, the page where current display interface), terminal can also be in the notification bar display reminding information of terminal, the embodiment of the present invention This is not especially limited.
Illustratively, Fig. 3 is a kind of display interface schematic diagram provided in an embodiment of the present invention.As shown in (a) in Fig. 3, Assuming that current display interface is the push interface of terminal, terminal shows push in the display interface of terminal in the form of card Information a, it is assumed that target time section of the terminal in September determination on the 1st 30 days is -2018 years on the 22nd Septembers of September in 2018 24 (Mid-autumn Festival vacation), then terminal includes purchase city according to the prompt message content that the historical behavior information of the period and user determine The train ticket in the city cities 1- 2.As shown in figure 3,1 prompt message of the display about vacation in the Mid-autumn Festival in card, for " purchase September The train ticket in the city cities 1- 2 that dispatch a car in the evening on the 21st ".Certainly, terminal can also be believed display reminding in the notification bar of terminal Breath, the interface schematic diagram as shown in (b) in Fig. 3, the current interface of terminal are the homepage of terminal, then terminal can notify Column shows the prompt message of " train ticket in the city cities 1- 2 that purchase 21 evening of September dispatches a car ".
Optionally, it can be carried in prompt message as the entrance with the relevant APP of prompt message, user, which passes through, believes prompt The operation of breath may be coupled to the relevant interfaces APP of prompt message, and the entrance of the APP wherein in prompt message can be to carry Show that the keyword in content may be the selection region prompted in the interface of prompt message, the embodiment of the present invention does not make this It is specific to limit.Such as " train ticket " is clicked in the card of (a) of user in figure 3, terminal can open the APP of purchase train ticket Interface.
It should be noted that terminal can be diversified forms in the mode of the push interface display prompt message of terminal, than Such as, it can show that the prompt message for showing multiple dates, the embodiment of the present invention do not limit this specifically in the form of card simultaneously It is fixed.
Fig. 4 is a kind of display interface schematic diagram provided in an embodiment of the present invention.The target time section that terminal determines is red-letter day 1 3 days, respectively date 1, date 2 and date 3.Terminal shows date the prompt message 1 in 1 (red-letter day 1), date 2 (red-letter day 1) Prompt message 2 and the prompt message 3 on date 3 (red-letter day 1).Shown in (a) in Fig. 4, the prompt letter of each target date display Breath shows that user can slide a click selection wherein card, be shown in the card after clicking the card in the form of card Prompt message, naturally it is also possible to show that interface schematic diagram shown in (b) in Fig. 4, user can slide up and down and check difference Target date prompt message.
The method of prompt message push provided in an embodiment of the present invention, first, terminal determines target time section, object time Section includes continuous M target date, and M target date is has in all dates in the preset duration after current date The date of specific identifier;Secondly, terminal generates prompt message according to the historical behavior information of target time section and user, wherein Historical behavior information includes the behavioural information of user's control terminal before current date, and prompt message is for prompting the user with mesh The Pending tasks of period are marked, Pending tasks are not preset task;Finally, terminal exports prompt message.Terminal only needs to shift to an earlier date Target time section is obtained, some behavior may be occurred in target time section by being determined according to the historical behavior of user, pass through mesh The historical behavior information of mark period and user determine prompt message and export, and can enable the terminal to push to user in time Prompt message.
In a kind of possible realization method, the method for prompt message push provided in an embodiment of the present invention, S201 can lead to Cross S201a execution:
S201a, terminal determine target time section in the case where current date meets preset condition, and preset condition is current Date is equal to the first predetermined threshold value with the last interval for determining whether there is target date.
Optionally, the first predetermined threshold value can be any one value that the value of terminal acquiescence may be user setting.Than When such as the first predetermined threshold value of user setting being zero, then terminal determines target time section daily;When the first predetermined threshold value of user setting When being 48 hours, then every 48 hours, determining target time section, the embodiment of the present invention were not especially limited this to terminal.
Based on the program, current date is equal to the first default threshold with the last interval for determining whether there is target date Value, then terminal determines target time section in current date, can periodically determine target time section, periodically aobvious for user Show prompt message.
In a kind of possible realization method, S202 in the method for prompt message push provided in an embodiment of the present invention can be with It is executed by S202a:
S202a, terminal are presently in the location information of position according to target time section, historical behavior information and terminal, raw At prompt message.
Illustratively, terminal can be presently in the location information determination of position in target time section user according to terminal Trip the maximum position of possibility (such as:Scenic spot, market, cinema apart from 2 km of user current location and dining room Deng).The maximum position of possibility so as to be gone on a journey according to user generates prompt message.
Based on the program, terminal is presently in the position of position by combining target period, historical behavior information and terminal Confidence ceases, and the prompt message of generation is related to the location of terminal, and the ground residing for geographical location, that is, user residing for terminal Position is managed, the prompt message generated can be made to be more in line with the actual demand of user.
In a kind of possible realization method, the S203 in the method for prompt message push provided in an embodiment of the present invention may be used also To be executed by S203a:
S203a, terminal before current date is the first aim date in M target date, with first it is default when Between section be the period, prompt message is exported, until current date is the first aim date in M target date.
Optionally, when user is after one of prompt message is cancelled in selection in pushing interface, terminal no longer shows that this is carried Show information.
For example, terminal is target time section in September 3 determining October, 1-October 7 (National Day vacation), terminal is in September 3 Number until October 1 every 3 days push interface on display whether purchase October 1 train ticket prompt message, for carrying If user goes on a journey, user needs to purchase train ticket in advance in the user that wakes up is one month following.
Based on the program, terminal can be using the first preset time period as the period, can be timely at the push interface of terminal Upper display reminding information reminds user to plan stroke in time, avoids user and forgets to plan stroke due to various reasons.
In a kind of possible realization method, the method for prompt message push provided in an embodiment of the present invention, after S202, Further include S204 and S205 before S203:
The input of S204, terminal detection user on preset push entrance area.
Optionally, input of the user on preset push entrance area can be click, touch of the user in the region Or voice input, the embodiment of the present invention are not especially limited the input type of user.
S205, terminal are in response to detecting input of the user on push entrance area, display push interface.
It is appreciated that prompt message, which can be terminal, is generated in advance storage in the terminal, detect user pre- in terminal If push entrance area on input and then display push interface on, to can also on display interface display reminding Information.
Certainly, S204 can also be executed before step S201, and in this scenario, S201 can be executed by S201b:
S201b, terminal are in response to detecting that input of the user on push entrance area, terminal determine target time section.
It should be noted that after input of the terminal detection user on preset push entrance area, using upper as appointed A kind of method flow, terminal can carry in push area to user's display reminding information or by voice broadcast output Show that information, the embodiment of the present invention are not especially limited this.
Based on the program, terminal can be pushed away after the input of preset push entrance area in display by detecting user Interface is sent, the interactivity of user and terminal is increased.
Optionally, the quantity of prompt message is N number of, and the historical behavior information of user includes K item of interest and K item of interest Weight, at least one item of interest corresponds to a prompt message.
In a kind of possible realization method, the method for prompt message push provided in an embodiment of the present invention, S203 is specifically wrapped Include S203b:
S203b, terminal export N number of prompt according to the weight size of at least one item of interest corresponding with N number of prompt message Information.
It is appreciated that terminal can weigh part item of interest in the top according to multiple item of interest rights to choose of user, And the number about each item of interest prompt message is generated according to the selection of the size of the weight of each item of interest.
For example, the item of interest of the user determined according to historical behavior information is 10, preceding 3 item of interest and weight difference For, item of interest 1, weight 1;Item of interest 2, weight 2, item of interest 3, weight 3;Then terminal can show each interest in display area The prompt message of the different numbers of item.For example, the 1 relevant prompt message number of item of interest that terminal is shown is 3, item of interest 1 Relevant prompt message number is 2, and 1 relevant prompt message number of item of interest is 1.
Optionally, terminal can include by multiple prompt messages in the same date in display target prompt message In one card.Wherein, the type of multiple prompt messages can be different, can also part it is identical, can also all it is identical, The embodiment of the present invention is not especially limited this.
Illustratively, Fig. 5 is a kind of schematic diagram of display interface provided in an embodiment of the present invention, such as (a) institute in Fig. 5 Show, for example, the mode as shown in (a) in Fig. 5, shows 3 prompt messages in red-letter day 1, show date in 3 cards respectively 11 prompt message 3 (type 3) of prompt message 1 (Class1), the prompt message 2 on date 1 (type 2) and date;It can also show Show in different cards, the display mode as shown in (b) in Fig. 5, prompt message 1, prompt message 2 and prompt message 3 It is shown in the same card piece.
Optionally, terminal can believe the corresponding prompt of multiple target time sections after determining multiple target time sections Breath is shown on the push interface of terminal, and display mode can be that a card is shown as unit of red-letter day, can also be with the date Show that a card, the embodiment of the present invention are not especially limited this for unit.
Illustratively, Fig. 6 is a kind of schematic diagram of display interface provided in an embodiment of the present invention.As shown in Fig. 6 Mode, display mode are that a card is shown as unit of red-letter day, wherein 1 corresponding card 1 of red-letter day shows date 1 prompt Information 1 and prompt message 2;2 corresponding card 2 of red-letter day show date 2 prompt message 3 and the prompt message on date 34;Red-letter day 3 Corresponding card 3 show date 4 prompt message 5.
Based on the program, terminal can select to export carrying for each item of interest according to the weight size of the item of interest of user Show the number of information.
It should be noted that the method for prompt message provided in an embodiment of the present invention push, in S202 " historical behavior is believed Breath " can be obtained by target nerve network model, and before S201, target nerve network model can be obtained by T1-T3:
T1, terminal obtain the first historical behavior information of user.
Wherein, to include user each of use the title applied in the second preset time period, use the first historical behavior information Family is at the time of the second preset time period is using each application, user uses the duration each applied in the second preset time period, And the location information of user terminal present position when the second preset time period is using each application.
T2, terminal obtain the initial neural network model preserved in terminal.
In general, initial neural network is without the neural network by user behavior data training.
The first initial neural network model of historical behavior information input is obtained target nerve network model by T3, terminal.
It should be noted that target nerve network model instruction in the embodiment of the present invention is user using the terminal Historical behavior, such as each item of interest and each item of interest of user weight.
It, can be with to the historical behavior information of acquisition specifically, terminal is by before the first historical behavior information input of acquisition It is pre-processed, for example label is added for the data of acquisition, it is assumed that data record 1 is the number acquired from the APP of travelling booking According to (such as:Hotel's order, air ticket order, train ticket order etc.), then terminal is that data record 1 adds a tourism label, number According to record 2 be purchased by group from cuisines acquired in APP data (such as:Time for purchasing by group, the cuisines classification purchased by group, the businessman purchased by group And purchase by group the position etc. of businessman), then terminal is that data record 2 adds cuisines label, and terminal can be by the data conversion of acquisition For one-dimensional matrix, the data of acquisition can also be converted to multi-dimensional matrix, initial nerve is entered data into after being converted to matrix Network training obtains target nerve network model after training, i.e., can be according to the of input by target nerve network model One historical behavior information determines the weight of the item of interest and each item of interest of user, wherein the power of all item of interest of user Weight and be 1.
Based on the program, terminal can pass through historical behavior information and terminal by the historical behavior information of acquisition user The initial neural network of middle preservation generates the target nerve network model that can indicate the behavioural information of the user.
In a kind of possible realization method, the method for prompt message push provided in an embodiment of the present invention, after S203 Further include T4 and T5:
T4, terminal obtain the second historical behavior information of user.
Wherein, to include user each of use the title applied in third preset time period, use the second historical behavior information Family is at the time of third preset time period is using each application, user uses the duration each applied in third preset time period, And the location information of user terminal present position when third preset time period is using each application.
It should be noted that third preset time period is the period of any one duration after the second preset time period. It can be the period executed after a S201-S203, or the period before executing, the embodiment of the present invention is to this It is not especially limited.
Second historical behavior information input target nerve network model is obtained updated target nerve net by T5, terminal Network model.
It is appreciated that terminal is by by the second historical behavior information input target nerve network model, target nerve network Model determines the variation that the weight of user interest item and item of interest occurs according to the second historical behavior information, adjusts goal behavior net Inner parameter in network model, a updated target nerve network model is obtained, the updated target nerve network The historical behavior of model accurate description user more than the target nerve network model before update.
It should be noted that terminal target nerve network model update after, can be according to updated target nerve net Network model generates prompt message;After terminal obtains the second historical behavior information, if that the second historical behavior information is not defeated Enter the current target nerve network model of terminal, then the model that terminal is used when generating target and showing information is that terminal is current Target nerve network model.
Based on the program, by obtaining the second historical behavior information of user, and by the second historical behavior information input mesh Neural network model is marked, the inner parameter in target nerve network model can be adjusted, so as to more accurately be described The target nerve network model of user's history behavior, so that the prompt message that terminal is generated according to target nerve network model Closer to the behavioural habits of user.
The possible structural schematic diagram of Fig. 7 a kind of terminals that embodiment provides to realize the present invention, as shown in fig. 7, terminal 700 include:Determining module 701, generation module 702 and output module 703;Determining module 701, for determining target time section, Target time section includes continuous M target date, and M target date is all days in the preset duration after current date The interim date with specific identifier;Generation module 702, the target time section for being determined according to determining module 701 and user Historical behavior information, generate prompt message, historical behavior information includes the behavior of user's control terminal before current date Information, prompt message are used to prompt the user with the Pending tasks of the target time section, and Pending tasks are not preset task;Output Module 703 exports the prompt message that generation module 702 generates for terminal 700.
Optionally, determining module 701 are specifically used for:When determining target in the case where current date meets preset condition Between section, preset condition is that current date is equal to the first predetermined threshold value with the last interval for determining whether there is target date.
Optionally, to include user each of use the title applied, user pre- to historical behavior information in preset time period If the period using each application at the time of, user in preset time period using the duration each applied and user default The location information of 700 present position of terminal when period uses each application.
Optionally, generation module 702 are specifically used for:According to the target time section of the determination of determining module 701, historical behavior Information and terminal 700 are presently in the location information of position, generate prompt message.
Optionally, output module 703 are specifically used for:The first aim date in current date is M target date Before, using the first preset time period as the period, prompt message is exported, until current date is first in M target date Target date.
Optionally, in conjunction with Fig. 7, as shown in figure 8, terminal 700 further includes detection module 704 and display module 705;Detect mould Block 704, after generating prompt message in generation module 702, before output module 703 exports prompt message, detection is used Input of the family on preset push entrance area;Display module 705 is additionally operable to detect user in response to detection module 704 Input on push entrance area, display push interface.
Optionally, the quantity of prompt message is N number of, and historical behavior information includes the power of K item of interest and K item of interest Weight, at least one item of interest correspond to a prompt message;Output module 703 is specifically used for:According to corresponding with N number of prompt message The weight size of at least one item of interest, exports N number of prompt message.
Terminal 700 provided in an embodiment of the present invention can realize each process that terminal is realized in above method embodiment, To avoid repeating, which is not described herein again.
A kind of hardware architecture diagram of Fig. 9 terminals of each embodiment to realize the present invention, the terminal 100 include but not It is limited to:Radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, the components such as user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111.This field Technical staff is appreciated that the restriction of the not structure paired terminal of terminal structure shown in Fig. 9, terminal may include than illustrating more More or less component either combines certain components or different components arrangement.In embodiments of the present invention, terminal includes But be not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 110, for determining that target time section, target time section include continuous M target date, M is a Target date is the date with specific identifier in all dates in the preset duration after current date;According to the object time Section and historical behavior information generate prompt message, and historical behavior information includes the row of user's control terminal before current date For information, prompt message is used to prompt the user with the Pending tasks of the target time section, and Pending tasks are not preset task;Sound Frequency output unit 103 or display unit 106 export prompt message.
Terminal provided in an embodiment of the present invention, first, terminal determine that target time section, target time section include continuous M A target date, M target date are the day with specific identifier in all dates in the preset duration after current date Phase;Secondly, terminal generates prompt message, wherein historical behavior information according to the historical behavior information of target time section and user Include the behavioural information of user's control terminal before current date, prompt message is for prompting the user with waiting for for target time section Task is done, Pending tasks are not preset task;Finally, terminal exports prompt message.Terminal only needs to obtain the object time in advance Section, some behavior may be occurred in target time section by being determined according to the historical behavior of user, pass through target time section and use The historical behavior information at family determines prompt message and exports so that terminal can push prompt message to user in time.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 101 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by radio communication system and network and other set Standby communication.
Terminal has provided wireless broadband internet to the user by network module 102 and has accessed, and such as user is helped to receive and dispatch electricity Sub- mail, browsing webpage and access streaming video etc..
It is that audio output unit 103 can receive radio frequency unit 101 or network module 102 or in memory 109 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide and end The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 100 executes.Sound Frequency output unit 103 includes loud speaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output of mobile communication base station can be sent to via radio frequency unit 101 by being converted in the case of telephone calling model.
Terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjusts the brightness of display panel 1061, and proximity sensor can close display panel when terminal 100 is moved in one's ear 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 105 can be with Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensor etc., details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 107 include touch panel 1071 and other Input equipment 1072.Touch panel 1071, also referred to as touch screen, collect user on it or neighbouring touch operation (such as User is using any suitable objects or attachment such as finger, stylus on touch panel 1071 or near touch panel 1071 Operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects the signal that touch operation is brought, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receives processor 110 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072. Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button, switch Button etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touch The type for touching event provides corresponding visual output on display panel 1061.Although in fig.9, touch panel 1071 and display Panel 1061 is to realize the function that outputs and inputs of terminal as two independent components, but in certain embodiments, can The function that outputs and inputs of terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not limited herein specifically It is fixed.
Interface unit 108 is the interface that external device (ED) is connect with terminal 100.For example, external device (ED) may include it is wired or Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port, For connecting the port of device with identification module, the port audio input/output (I/O), video i/o port, ear port Etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will One or more elements that the input received is transferred in terminal 100 or can be used for terminal 100 and external device (ED) it Between transmission data.
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 109, and call and be stored in memory 109 Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 110 may include one Or multiple processing units;Optionally, processor 110 can integrate application processor and modem processor, wherein application processing The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage Solution, above-mentioned modem processor can not also be integrated into processor 110.
Terminal 100 can also include the power supply 111 (such as battery) powered to all parts, and optionally, power supply 111 can be with It is logically contiguous by power-supply management system and processor 110, to by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
In addition, terminal 100 includes some unshowned function modules, details are not described herein.
Optionally, the embodiment of the present invention also provides a kind of terminal, including the processor 110 in Fig. 9, memory 109, storage On memory 109 and the computer program that can be run on the processor 110, the computer program are held by processor 110 Each process of the embodiment of the method for above-mentioned prompt message push is realized when row, and can reach identical technique effect, to avoid It repeats, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each mistake of the embodiment of the method for above-mentioned prompt message push when being executed by processor Journey, and identical technique effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium Matter, as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (10)

1. a kind of method of prompt message push, which is characterized in that the method includes:
Determine that target time section, the target time section include continuous M target date, the M target date is current Date with specific identifier in all dates in preset duration after date;
According to the historical behavior information of the target time section and user, prompt message is generated, the historical behavior information includes The user controls the behavioural information of the terminal before current date, and the prompt message is used to prompt institute to the user The Pending tasks of target time section are stated, the Pending tasks are not preset task;
Export the prompt message.
2. according to the method described in claim 1, it is characterized in that, the determining target time section, including:
Determine the target time section in the case where current date meets preset condition, the preset condition be current date with The interval that last time determines whether there is target date is equal to predetermined threshold value.
3. according to the method described in claim 1, it is characterized in that, the historical behavior information includes:User is in preset time Section each of uses the title applied, user at the time of the preset time period use each application, user presets described Period position residing for the terminal when the preset time period is using each application using the duration and user each applied The location information set;Wherein, the period before the preset time period is the current time.
4. according to claim 1-3 any one of them methods, which is characterized in that described according to the target time section and user Historical behavior information, generate prompt message, including:
It is presently in the location information of position according to the target time section, the historical behavior information and the terminal, generates The prompt message.
5. according to the method described in claim 4, it is characterized in that, after generating prompt message, the prompt letter is being exported Before breath, further include:
Detect input of the user on preset push entrance area;
In response to detecting input of the user on the push entrance area, display push interface.
6. according to the method described in claim 1, it is characterized in that, the quantity of the prompt message is N number of, the user's goes through History behavioural information includes the weight of K item of interest and the K item of interest, and at least one item of interest corresponds to a prompt message, N It is positive integer with K;
The output prompt message, including:
According to the weight size of at least one item of interest corresponding with N number of prompt message, shown on the push interface of the terminal Show N number of prompt message.
7. a kind of terminal, which is characterized in that the terminal includes:Determining module, generation module and output module;
The determining module, for determining that target time section, the target time section include continuous M target date, the M A target date is the date with specific identifier in all dates in the preset duration after current date;
The generation module, the historical behavior information of the target time section and user for being determined according to the determining module Prompt message is generated, the historical behavior information includes the behavior letter that the user controls the terminal before current date Breath, the prompt message are used to prompt the Pending tasks of the target time section to the user, and the Pending tasks are not pre- If task;
The output module, the prompt message generated for exporting the generation module.
8. terminal according to claim 7, which is characterized in that the determining module is specifically used for:
Determine the target time section in the case where current date meets preset condition, the preset condition be current date with The interval that last time determines whether there is target date is equal to predetermined threshold value.
9. terminal according to claim 7, which is characterized in that
The generation module is specifically used for the target time section determined according to the determining module, the historical behavior is believed Breath and the terminal are presently in the location information of position, generate the prompt message.
10. according to claim 7-9 any one of them terminals, which is characterized in that the terminal further includes detection module and shows Show module;
The detection module is used in the generation module according to the historical behavior information of the target time section and user, raw After prompt message, before the output module exports the prompt message, user is in preset push inlet region for detection Input on domain;
The display module, for detecting input of the user on the push entrance area in response to the detection module, Show the push 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 true CN108595275A (en) 2018-09-28
CN108595275B 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)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522706A (en) * 2018-10-24 2019-03-26 维沃移动通信有限公司 A kind of information cuing method and terminal device
CN109660674A (en) * 2019-01-30 2019-04-19 维沃移动通信有限公司 A kind of method and electronic equipment that alarm clock is set
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
CN111241159A (en) * 2020-01-08 2020-06-05 山东汇贸电子口岸有限公司 Method and device for determining task execution time
WO2020133435A1 (en) * 2018-12-29 2020-07-02 深圳市欢太科技有限公司 Information prompt method and related product
CN111680137A (en) * 2020-05-20 2020-09-18 北京大米科技有限公司 Online classroom interaction method and device, storage medium and terminal
CN111857497A (en) * 2020-06-30 2020-10-30 维沃移动通信有限公司 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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106327158A (en) * 2016-08-24 2017-01-11 深圳Tcl新技术有限公司 Backlog item prompting method and intelligent terminal
CN106407253A (en) * 2016-08-23 2017-02-15 乐视控股(北京)有限公司 Information pushing method and apparatus
CN106445932A (en) * 2015-08-04 2017-02-22 阿里巴巴集团控股有限公司 Information pushing method and apparatus
CN106600229A (en) * 2016-12-15 2017-04-26 北京小米移动软件有限公司 Schedule 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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445932A (en) * 2015-08-04 2017-02-22 阿里巴巴集团控股有限公司 Information pushing method and apparatus
CN106407253A (en) * 2016-08-23 2017-02-15 乐视控股(北京)有限公司 Information pushing method and apparatus
CN106327158A (en) * 2016-08-24 2017-01-11 深圳Tcl新技术有限公司 Backlog item prompting method and intelligent terminal
CN106600229A (en) * 2016-12-15 2017-04-26 北京小米移动软件有限公司 Schedule 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

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522706A (en) * 2018-10-24 2019-03-26 维沃移动通信有限公司 A kind of information cuing method and terminal device
WO2020133435A1 (en) * 2018-12-29 2020-07-02 深圳市欢太科技有限公司 Information prompt method and related product
CN109660674A (en) * 2019-01-30 2019-04-19 维沃移动通信有限公司 A kind of method and electronic equipment that alarm clock is set
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
CN111241159A (en) * 2020-01-08 2020-06-05 山东汇贸电子口岸有限公司 Method and device for determining task execution time
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
CN111857497A (en) * 2020-06-30 2020-10-30 维沃移动通信有限公司 Operation prompting method and electronic equipment
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

Also Published As

Publication number Publication date
CN108595275B (en) 2021-10-15

Similar Documents

Publication Publication Date Title
CN108595275A (en) A kind of method and terminal of prompt message push
US11537450B2 (en) Method, apparatus, and mobile terminal for associating notification messages
CN110222212A (en) A kind of display control method and terminal device
US20200204643A1 (en) User profile generation method and terminal
CN110221737A (en) A kind of icon display method and terminal device
CN108647957A (en) A kind of method of payment, device and mobile terminal
CN108920204A (en) A kind of interface display method and terminal device
CN110489025A (en) Interface display method and terminal device
CN109635205A (en) Information-pushing method and terminal device
CN110058754A (en) A kind of option display method and terminal device
CN110278329B (en) Notification message management method and mobile terminal
CN109635683A (en) Method for extracting content and terminal device in a kind of image
CN108733274A (en) A kind of icon display method and terminal device
CN108449481A (en) A kind of associated person information recommends method and terminal
CN109600297A (en) A kind of mark sweep-out method and terminal device
CN109089146A (en) A kind of method and terminal device controlling video playing
CN109358931A (en) A kind of interface display method and terminal
CN108592939A (en) A kind of air navigation aid and terminal
CN106873997A (en) Puzzle type task-cycle control method and device
CN108304575A (en) A kind of method and terminal of mark display
CN110069304A (en) A kind of notification message display methods and terminal device
CN108595481A (en) A kind of notification message display methods and terminal device
CN108763544A (en) A kind of display methods and terminal
CN108170559A (en) A kind of data back up method and terminal
CN110505340A (en) A kind of message method and terminal device

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