A kind of information recommendation method based on calendar, device, medium and electronic equipment
Technical field
This disclosure relates to field of computer technology, in particular to a kind of information recommendation method based on calendar, dress
It sets, medium and electronic equipment.
Background technique
With the development of internet technology, the especially arriving of mobile internet era has pushed the various APP's of mobile phone terminal
Application development also brings many conveniences for the people to do much traveling, such as can carry out online air ticket, hotel by mobile phone
It is predetermined, still, whenever thering are trip requirements to carry out online booking air ticket or hotel, due to it is pressed for time, cannot always obtain most
Preferential price, the rise in terms of bringing expense to trip.In particular for the people often to go on a journey, if cannot timely obtain
Cheap stroke within the scheduled time is obtained, high cost expenditure will be additionally paid.
Therefore, how according to oneself free time, automatically recommend routing optimal out, it will give user
It brings great convenience.
Disclosure
The disclosure is designed to provide a kind of information recommendation method based on calendar, device, medium and electronic equipment, energy
Enough solve at least one technical problem mentioned above.Concrete scheme is as follows:
According to the specific embodiment of the disclosure, in a first aspect, the disclosure provides a kind of information recommendation side based on calendar
Method, comprising:
The free time in user's certain period of time is obtained based on calendar;
Obtain the tendency type characteristic information of the user;
In the free time, selective recommendation and the matched instruction information of the tendency type characteristic information;
The instruction information is shown in the calendar interface.
Optionally, the free time obtained based on calendar in user's certain period of time, comprising:
The setup parameter of user is received in calendar;
The free time in user's certain period of time is determined based on the setup parameter.
Optionally, the tendency type characteristic information for obtaining the user, comprising:
Obtain the id information of the user;
Personal portrait of the user in particular range is determined based on the id information;
The tendency type characteristic information of the user is analyzed by the personal portrait, the tendency type characteristic information includes ground
Manage information, cultural information or diet information.
Optionally, the particular range includes: client that the calendar is depended on and/or relevant with the client
The client of relationship.
Optionally, described in the free time, selective recommendation and the matched finger of tendency type characteristic information
Show information, comprising:
Based on the free time and the tendency type characteristic information, matching meets the sky from instruction information database
The instruction information of remaining time and the tendency type characteristic information;
Recommended according to the priority of the tendency type characteristic information or the priority of the instruction information.
Optionally, described to be pushed away according to the priority of the tendency type characteristic information or the priority of the instruction information
It recommends, comprising:
The excellent of the tendency type characteristic information is determined according to the attention rate of the geography information, cultural information and diet information
First grade;
The priority of the instruction information is determined according to the price index of the instruction information.
Optionally, further includes:
Receiving, which is shown in described in the calendar interface, indicates information;
The instruction information of the receiving is shared to the circle of friends interface of the client depended on to the calendar.
Optionally, further includes:
Based on the circle of friends interface, receive the clicking operation of user, so that the user is added the circle of friends and shares
Instruction information.
Optionally, the instruction information is shown in the calendar interface, comprising:
The instruction information is shown in the calendar interface in the form of a link, wherein the instruction information includes air ticket
Information, hotel information or project information of playing.
According to the specific embodiment of the disclosure, second aspect, the disclosure provides a kind of information recommendation dress based on calendar
It sets, comprising:
Acquiring unit, the free time being configured in calendar acquisition user's certain period of time;
Analytical unit is configured to obtain the tendency type characteristic information of the user;
Recommendation unit is configured in the free time, and selective recommendation is matched with the tendency type characteristic information
Instruction information;
Display unit is configured to the instruction information and is shown in the calendar interface.
According to the specific embodiment of the disclosure, the third aspect, the disclosure provides a kind of computer readable storage medium,
On be stored with computer program, when described program is executed by processor realize as above described in any item methods.
According to the specific embodiment of the disclosure, fourth aspect, the disclosure provides a kind of electronic equipment, comprising: one or
Multiple processors;Storage device, for storing one or more programs, when one or more of programs are by one or more
When a processor executes, so that one or more of processors realize as above described in any item methods.
The above scheme of the embodiment of the present disclosure compared with prior art, at least has the advantages that the disclosure passes through
A kind of information recommendation method based on calendar, device, medium and electronic equipment are provided, this method is a kind of based on calendar by providing
Information recommendation method, can by the hobby of calendar and user, calculate automatically user's free time section in best row
Journey, such as generally the least expensive air ticket, most suitable Reiseziel etc., user only need to click receiving and recommend that whole rows can be completed
Key procedure in journey eliminates user and a series of cumbersome work such as selects, compares, improve user and go out line efficiency, promoted
The satisfaction of user.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.It should be evident that the accompanying drawings in the following description is only the disclosure
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.In the accompanying drawings:
Fig. 1 shows the application scenario diagram of the information recommendation method based on calendar according to the embodiment of the present disclosure;
Fig. 2 shows the information recommendation method flow charts based on calendar according to the embodiment of the present disclosure;
Fig. 3 shows the information recommending apparatus structural schematic diagram based on calendar according to the embodiment of the present disclosure;
Fig. 4 shows electronic equipment attachment structure schematic diagram according to an embodiment of the present disclosure.
Specific embodiment
In order to keep the purposes, technical schemes and advantages of the disclosure clearer, below in conjunction with attached drawing to the disclosure make into
It is described in detail to one step, it is clear that described embodiment is only disclosure a part of the embodiment, rather than whole implementation
Example.It is obtained by those of ordinary skill in the art without making creative efforts based on the embodiment in the disclosure
All other embodiment belongs to the range of disclosure protection.
The term used in the embodiments of the present disclosure is only to be not intended to be limiting merely for for the purpose of describing particular embodiments
The disclosure.In the embodiment of the present disclosure and the "an" of singular used in the attached claims, " described " and "the"
It is also intended to including most forms, unless the context clearly indicates other meaning, " a variety of " generally comprise at least two.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, indicate
There may be three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and B, individualism B these three
Situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
It will be appreciated that though may be described in the embodiments of the present disclosure using term first, second, third, etc..,
But these ... it should not necessarily be limited by these terms.These terms be only used to by ... distinguish.For example, implementing not departing from the disclosure
In the case where example range, first ... can also be referred to as second ..., and similarly, second ... can also be referred to as the
One ....
Depending on context, word as used in this " if ", " if " can be construed to " ... when " or
" when ... " or " in response to determination " or " in response to detection ".Similarly, context is depended on, phrase " if it is determined that " or " such as
Fruit detection (condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when detection (statement
Condition or event) when " or " in response to detection (condition or event of statement) ".
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
Include, so that commodity or device including a series of elements not only include those elements, but also including not clear
The other element listed, or further include for this commodity or the intrinsic element of device.In the feelings not limited more
Under condition, the element that is limited by sentence "including a ...", it is not excluded that in the commodity or device for including the element also
There are other identical elements.
The alternative embodiment of the disclosure is described in detail with reference to the accompanying drawing.
Embodiment 1
As shown in Figure 1, being a kind of application scenario diagram of the embodiment of the present disclosure, which is to provide one kind to travel to be
The application program of theme, the application program include travelling inspiration, four itinerary, circle of friends and my stroke parts, wherein
By inspiration of travelling, application program actively can irregularly be issued some global travellings in the form of text and/or picture and is situated between
It continues, such as ticket information, hotel information, ticket information etc., is browsed at any time for user and obtain information.Itinerary part provides
The interface of one calendar form, the interface active push show the travel information for being suitble to user, and user can click acquisition and recommend
Details.Circle of friends can share the stroke oneself having determined for user, other people can click the row that the friend is added
Journey.My personal detailed stroke plan of itinerary part display.But be not limited to unique application scenarios, it is possible to understand that it is any
Can be applied to the present embodiment scene be included in, for convenience of description, the present embodiment is with above-mentioned travelling application program
Application scenarios for be described.
As shown in Fig. 2, the disclosure provides a kind of information recommendation side based on calendar according to the specific embodiment of the disclosure
Method specifically includes following method and step:
Step S202: the free time in user's certain period of time is obtained based on calendar.
Calendar refers to the nested independent sector for indicating the date in the application, can be that page unit is turned over the moon
Turn, per January is with week for unit cycle arrangement.
The information of every day in calendar by the formal notation of time tag in background data base, when there is the phase with this day
When closing data generation, and it is associated with relevant date table in calendar, it can be shown in the calendar table of this day, such as
Beijing on July 18 flies 1500 yuan of the minimum discount tickets in Tokyo within 2019.
User refers to the people using the application program, which can register login when using the travelling application program,
Backstage records the ID of the user to obtain the portrait of the user under the ID, and user can log in such a way that third party authorizes, example
It is such as logged in by wechat, Alipay, QQ, record third party's information of the user from the background and obtains relevant user's portrait.
Wherein, the free time in certain period of time can refer to one week, one month, the free time in half a year or 1 year,
System arbitrarily can select certain period of time to count, which can also be set by user oneself, such as setting one
The moon is the acquisition that unit carries out recommendation information.Do not receive recommendation information in certain period of time it is of course also possible to set, such as July-
August does not receive recommendation information etc..Wherein free time is defaulted as legal festivals and holidays, such as day Saturday, the Spring Festival etc..The free time
It is also possible to user oneself setting, such as during summer vacation, winter vacation etc..
Optionally, the free time obtained based on calendar in user's certain period of time, comprising:
The setup parameter of user is received in calendar;It is determined in user's certain period of time based on the setup parameter
Free time.
The setup parameter include user according to their own situation, a period of time range of self-setting is received or is not connect
Receive recommendation information, free time range etc..
Step S204: the tendency type characteristic information of the user is obtained.
Optionally, the tendency type characteristic information for obtaining the user, comprising:
Obtain the id information of the user;Personal portrait of the user in particular range is determined based on the id information;It is logical
The tendency type characteristic information that the personal portrait analyzes the user is crossed, the tendency type characteristic information includes geography information, text
Change information or diet information.Alternatively,
User can set the tendency type characteristic information of oneself, such as like European culture, Japanese Culture etc. in client;
User likes having Western food or ration etc.;User likes climbing snow mountain, passing through forest etc..
Optionally, the particular range includes: client that the calendar is depended on and/or relevant with the client
The client of relationship.
Individual's portrait is also referred to as user's portrait, refers to through personal various identity informations, such as name, phone, identity card
Number etc., collected in internet about all behavior event informations (such as route information) of the individual and non-behavior event
Information (such as preference information), these information by user each client in internet click, the behavioral statistics such as check, buy
It obtains.
The tendency type characteristic information includes geography information, cultural information or diet information, such as by collecting user's warp
The place name (such as Japan) often browsed is inferred to the place that the user likes.By collect user check cultural information (such as
Tea culture) it is inferred to the user and likes tea culture etc..
Step S206: in the free time, selective recommendation and the matched instruction of tendency type characteristic information
Information.
The instruction information includes: air ticket recommendation, hotel's recommendation, project recommendation of playing etc..
Optionally, described in the free time, selective recommendation and the matched finger of tendency type characteristic information
Show information, comprising:
Based on the free time and the tendency type characteristic information, matching meets the sky from instruction information database
The instruction information of remaining time and the tendency type characteristic information;According to the priority or the instruction of the tendency type characteristic information
The priority of information is recommended.
Wherein, information database size and background server are indicated, is safeguarded by trade company, database can be with classification storage, example
Such as classify according to place name, such as Tokyo, New York, Pu Ji etc., includes flight of the Beijing to Tokyo under the classification in Tokyo
Ticket information, the hotel information in Tokyo, the cuisines information in Tokyo etc..It can also classify according to tour itineraries, such as skiing event,
Marine project, grassland project, mountain-climbing project etc. at sea may include Beijing under classification of the items to Pu Ji, Maldives, Xia Wei
Smooth air ticket, hotel, cuisines information etc..
Optionally, described to be pushed away according to the priority of the tendency type characteristic information or the priority of the instruction information
It recommends, comprising:
The excellent of the tendency type characteristic information is determined according to the attention rate of the geography information, cultural information and diet information
First grade;The priority of the instruction information is determined according to the price index of the instruction information.
The attention rate can be drawn a portrait by user, be determined according to rough ratio, such as user often browses day
This information then illustrates that user is high to day this project attention rate, and the Program Priority of all about Japan is higher than sundry item.
The price index of the instruction information can determine by calculating the price of air ticket, hotel, price lower index
It is higher, more worth recommendation.
Step S208: the instruction information is shown in the calendar interface.
Optionally, the instruction information is shown in the calendar interface, comprising:
The instruction information is shown in the calendar interface in the form of a link, wherein the instruction information includes air ticket
Information, hotel information or project information of playing.
User can take by clicking corresponding link, directly arrival third party trade company platform, such as by linking to reach
Journey APP, carries out air ticket, hotel places an order, or directly reaches Air China website and carry out placing an order for air ticket.
Optionally, the method can also include the following steps:
Receiving, which is shown in described in the calendar interface, indicates information;The instruction information of the receiving is shared to the calendar
The circle of friends interface of the client depended on.
As shown in Figure 1, user once receives the stroke of application program recommendation, interface automatic spring or hand can received
One sharing interface of dynamic selection, user determine whether to share the stroke of oneself to the circle of friends interface of application program.If with
The stroke of oneself is shared in family selection, then the ticket information, date information, destination information of user, hotel information etc. can all pass through
It announces away at circle of friends interface.
Optionally, this method further includes following steps:
Based on the circle of friends interface, receive the clicking operation of user, so that the user is added the circle of friends and shares
Instruction information.
User can browse the travel information of friend by circle of friends interface, if seeing the travel information of friend with oneself
Time, place relatively coincide, can click it is related share link, the trip is added, obtains identical stroke, including air ticket,
Date, destination, hotel etc., so as to obtain primary identical stroke with convenient, cheap cost.
This method, can be by the hobby of calendar and user, certainly by providing a kind of information recommendation method based on calendar
The dynamic best stroke calculated in user's free time section, such as generally the least expensive air ticket, most suitable Reiseziel etc. are used
Family, which only needs to click, to be received to recommend that key procedure in whole strokes can be completed, eliminate user select, compare etc. it is a series of
Cumbersome work improves user and goes out line efficiency, improves the satisfaction of user.
Embodiment 2
As shown in Figure 1, being a kind of application scenario diagram of the embodiment of the present disclosure, which is to provide one kind to travel to be
The application program of theme, the application program include travelling inspiration, four itinerary, circle of friends and my stroke parts, wherein
By inspiration of travelling, application program actively can irregularly be issued some global travellings in the form of text and/or picture and is situated between
It continues, such as ticket information, hotel information, ticket information etc., is browsed at any time for user and obtain information.Itinerary part provides
The interface of one calendar form, the interface active push show the travel information for being suitble to user, and user can click acquisition and recommend
Details.Circle of friends can share the stroke oneself having determined for user, other people can click the row that the friend is added
Journey.My personal detailed stroke plan of itinerary part display.But be not limited to unique application scenarios, it is possible to understand that it is any
Can be applied to the present embodiment scene be included in, for convenience of description, the present embodiment is with above-mentioned travelling application program
Application scenarios for be described.The present embodiment accepts embodiment 1, for realizing method and step as described in Example 1, base
It is same as Example 1 in the explanation of identical title meaning, there is technical effect same as Example 1, details are not described herein again.
As shown in figure 3, the disclosure provides a kind of information recommendation dress based on calendar according to the specific embodiment of the disclosure
It sets, specifically includes acquiring unit 302, analytical unit 304, recommendation unit 306, display unit 308:
Acquiring unit 302: the free time in user's certain period of time is obtained based on calendar.
Optionally, the acquiring unit 302 is also used to:
The setup parameter of user is received in calendar;It is determined in user's certain period of time based on the setup parameter
Free time.
The setup parameter include user according to their own situation, a period of time range of self-setting is received or is not connect
Receive recommendation information, free time range etc..
Analytical unit 304: the tendency type characteristic information of the user is obtained.
Optionally, the analytical unit 304 includes:
Obtain the id information of the user;Personal portrait of the user in particular range is determined based on the id information;It is logical
The tendency type characteristic information that the personal portrait analyzes the user is crossed, the tendency type characteristic information includes geography information, text
Change information or diet information.
Optionally, the particular range includes: client that the calendar is depended on and/or relevant with the client
The client of relationship.
Recommendation unit 306: in the free time, selective recommendation and the matched finger of tendency type characteristic information
Show information.
Optionally, described to include: in recommendation unit 306
Based on the free time and the tendency type characteristic information, matching meets the sky from instruction information database
The instruction information of remaining time and the tendency type characteristic information;According to the priority or the instruction of the tendency type characteristic information
The priority of information is recommended.
Optionally, described to be pushed away according to the priority of the tendency type characteristic information or the priority of the instruction information
It recommends, comprising:
The excellent of the tendency type characteristic information is determined according to the attention rate of the geography information, cultural information and diet information
First grade;The priority of the instruction information is determined according to the price index of the instruction information.
Display unit 308: the instruction information is shown in the calendar interface.
Optionally, the display unit 308 includes:
The instruction information is shown in the calendar interface in the form of a link, wherein the instruction information includes air ticket
Information, hotel information or project information of playing.
Optionally, described device can also include:
Sharing unit, receiving, which is shown in described in the calendar interface, indicates information;The instruction information of the receiving is shared
The circle of friends interface of the client depended on to the calendar.
Receiving unit is based on the circle of friends interface, receives the clicking operation of user, so that the friend is added in the user
The instruction information that friend's circle is shared.
The present apparatus can calculate automatically the best row in user's free time section by the hobby of calendar and user
Journey, such as generally the least expensive air ticket, most suitable Reiseziel etc., user only need to click receiving and recommend that whole rows can be completed
Key procedure in journey eliminates user and a series of cumbersome work such as selects, compares, improve user and go out line efficiency, promoted
The satisfaction of user.
Embodiment 3
As shown in figure 4, the equipment is recommended for stroke, the electronic equipment the present embodiment provides a kind of electronic equipment, packet
It includes: at least one processor;And the memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by one processor, and described instruction is by described at least one
It manages device to execute, so that at least one described processor is able to carry out method and step described in embodiment as above.
Embodiment 4
The embodiment of the present disclosure provides a kind of nonvolatile computer storage media, and the computer storage medium is stored with
Method and step described in embodiment as above can be performed in computer executable instructions, the computer executable instructions.
Embodiment 5
Below with reference to Fig. 4, it illustrates the structural schematic diagrams for the electronic equipment for being suitable for being used to realize the embodiment of the present disclosure.This
Terminal device in open embodiment can include but is not limited to such as mobile phone, laptop, digit broadcasting receiver,
PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), car-mounted terminal (such as vehicle mounted guidance
Terminal) etc. mobile terminal and such as number TV, desktop computer etc. fixed terminal.Electronic equipment shown in Fig. 4
An only example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in figure 4, electronic equipment may include processing unit (such as central processing unit, graphics processor etc.) 401,
Random access storage device can be loaded into according to the program being stored in read-only memory (ROM) 402 or from storage device 408
(RAM) program in 403 and execute various movements appropriate and processing.In RAM 403, it is also stored with electronic device institute
The various programs and data needed.Processing unit 401, ROM 402 and RAM 403 are connected with each other by bus 405.Input/defeated
(I/O) interface 405 is also connected to bus 405 out.
In general, following device can connect to I/O interface 405: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph
As the input unit 406 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration
The output device 405 of dynamic device etc.;Storage device 408 including such as tape, hard disk etc.;And communication device 405.Communication device
405, which can permit electronic equipment, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 4, which is shown, to be had respectively
The electronic equipment of kind device, it should be understood that being not required for implementing or having all devices shown.It can be alternatively real
Apply or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communication device 405, or from storage device 408
It is mounted, or is mounted from ROM 402.When the computer program is executed by processing unit 401, the embodiment of the present disclosure is executed
Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated,
In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to
Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit
Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned
Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not
It is fitted into the electronic equipment.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof
Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+
+, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can
Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,
Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard
The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions.