Calendar-based information recommendation method, device, medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a calendar-based information recommendation method, apparatus, medium, and electronic device.
Background
With the development of internet technology, especially the coming of the mobile internet era, the application development of various APPs at the mobile phone end is promoted, and great convenience is brought to people who frequently travel, for example, online airline tickets and hotel reservations can be performed through mobile phones. Especially for people who need to travel frequently, if the cheap journey within the expected time can not be obtained in time, the high cost is paid additionally.
Therefore, how to automatically recommend the optimal scheduling according to the free time of the user will bring great convenience to the user.
BRIEF SUMMARY OF THE PRESENT DISCLOSURE
An object of the present disclosure is to provide a calendar-based information recommendation method, apparatus, medium, and electronic device, which can solve at least one of the above-mentioned technical problems. The specific scheme is as follows:
according to a specific embodiment of the present disclosure, in a first aspect, the present disclosure provides a calendar-based information recommendation method, including:
acquiring free time of a user within a certain time period based on the calendar;
acquiring tendency type characteristic information of the user;
selectively recommending the indication information matched with the tendency type characteristic information in the spare time;
the indication information is displayed on the calendar interface.
Optionally, the obtaining of the free time of the user within a certain time period based on the calendar includes:
receiving setting parameters of a user in a calendar;
and determining the free time of the user within a certain time period based on the setting parameters.
Optionally, the acquiring the tendency-type feature information of the user includes:
acquiring ID information of the user;
determining a personal representation of the user within a particular range based on the ID information;
and analyzing tendency type characteristic information of the user through the personal portrait, wherein the tendency type characteristic information comprises geographic information, cultural information or diet information.
Optionally, the specific range includes: the client to which the calendar is attached and/or the client having an association with the client.
Optionally, the selectively recommending, in the spare time, indication information matched with the trend-type feature information includes:
matching indication information meeting the vacant time and the tendency type characteristic information from an indication information database based on the vacant time and the tendency type characteristic information;
and recommending according to the priority of the tendency type characteristic information or the priority of the indication information.
Optionally, the recommending according to the priority of the trend-type characteristic information or the priority of the indication information includes:
determining the priority of the tendency type characteristic information according to the attention degrees of the geographic information, the cultural information and the diet information;
and determining the priority of the indication information according to the price index of the indication information.
Optionally, the method further includes:
receiving the indication information displayed on the calendar interface;
and sharing the accepted indication information to a friend circle interface of a client to which the calendar is attached.
Optionally, the method further includes:
and based on the friend circle interface, receiving click operation of a user, so that the user joins the indication information shared by the friend circle.
Optionally, the indication information is displayed on the calendar interface, and includes:
the indication information is displayed on the calendar interface in a linked mode, wherein the indication information comprises air ticket information, hotel information or play item information.
According to a second aspect, the present disclosure provides a calendar-based information recommendation apparatus, including:
the acquisition unit is configured to acquire the free time of the user within a certain time period based on the calendar;
the analysis unit is configured to acquire tendency type characteristic information of the user;
the recommending unit is configured to selectively recommend the indicating information matched with the tendency type characteristic information in the spare time;
and the display unit is configured to display the indication information on the calendar interface.
According to a third aspect, the present disclosure provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any one of the above.
According to a fourth aspect thereof, the present disclosure provides an electronic device, comprising: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out a method as claimed in any preceding claim.
Compared with the prior art, the scheme of the embodiment of the disclosure at least has the following beneficial effects: the method can automatically calculate the optimal travel in the idle time period of the user, such as the cheapest air ticket, the most appropriate travel destination and the like, through the calendar and the preference of the user, the key programs in all the travels can be completed only by clicking on the key points of the user to accept the recommendation, a series of tedious work of user selection, comparison and the like is omitted, the travel efficiency of the user is improved, and the satisfaction degree of the user is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
FIG. 1 illustrates an application scenario diagram of a calendar-based information recommendation method according to an embodiment of the present disclosure;
FIG. 2 illustrates a flowchart of a calendar-based information recommendation method according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a calendar-based information recommendation device according to an embodiment of the disclosure;
fig. 4 shows an electronic device connection structure schematic according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure clearer, the present disclosure will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present disclosure, rather than all embodiments. All other embodiments, which can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort, shall fall within the scope of protection of the present disclosure.
The terminology used in the embodiments of the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in the disclosed embodiments and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, and "a plurality" typically includes at least two.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that although the terms first, second, third, etc. may be used to describe … … in embodiments of the present disclosure, these … … should not be limited to these terms. These terms are used only to distinguish … …. For example, the first … … can also be referred to as the second … … and, similarly, the second … … can also be referred to as the first … … without departing from the scope of embodiments of the present disclosure.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that an article or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such article or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in the article or device in which the element is included.
Alternative embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
Example 1
As shown in fig. 1, an application scenario diagram according to an embodiment of the present disclosure is provided, where the application scenario is an application program that provides a theme of travel, and the application program includes four parts of travel inspiration, travel plan, friend circle and my trip, where through the travel inspiration, the application program may actively issue some travel introductions all over the world in the form of words and/or pictures at irregular intervals, such as air ticket information, hotel information, entrance ticket information, and the like, for a user to browse and obtain information at any time. The travel plan part provides an interface in the form of a calendar, the interface actively pushes and displays travel information suitable for the user, and the user can click to acquire recommendation detailed information. The friend circle can be used for users to share the determined itineraries, and other people can click to join the itineraries of the friends. The my itinerary section displays a detailed itinerary for the individual. However, the present invention is not limited to this unique application scenario, and any scenario that can be applied to the present embodiment is included, and for convenience of description, the present embodiment takes the application scenario of the travel application as an example.
As shown in fig. 2, according to an embodiment of the present disclosure, the present disclosure provides a calendar-based information recommendation method, which specifically includes the following method steps:
step S202: and acquiring the free time of the user within a certain time period based on the calendar.
The calendar refers to an independent part which is nested in an application program and used for marking date, and the calendar can be turned by taking months as page units and circularly arranged by taking weeks as units every month.
The information of each day in the calendar is marked in a background database in the form of a time tag, when relevant data of the day occurs and is associated with a relevant date table in the calendar, the information can be displayed in the calendar table of the day, for example, 1500 yuan of a minimum discount air ticket of Beijing Feitojing flying Tokyo in 2019, 7 months and 18 days.
The user refers to a person using the application program, the user can register and log in when using the travel application program, the ID of the user is recorded in the background to obtain the user image under the ID, the user can log in a third party authorization mode, for example, the user logs in through WeChat, Paibao and QQ, and the third party information of the user is recorded in the background to obtain the related user image.
The free time in a certain time period may refer to idle time in a week, a month, a half year or a year, the system may arbitrarily select a certain time period for statistics, and the certain time period may also be set by the user, for example, a month is set as a unit for acquiring the recommendation information. Of course, it may be set that the recommendation information is not accepted within a certain period of time, for example, the recommendation information is not accepted in 7-8 months. Wherein the free time defaults to a statutory holiday, such as saturday, spring festival, etc. The free time may be set by the user himself, for example, during summer holiday, cold holiday, etc.
Optionally, the obtaining of the free time of the user within a certain time period based on the calendar includes:
receiving setting parameters of a user in a calendar; and determining the free time of the user within a certain time period based on the setting parameters.
The set parameters comprise a period of time range, receiving or not receiving recommendation information, an idle time range and the like which are set by the user according to the condition of the user.
Step S204: and acquiring tendency type characteristic information of the user.
Optionally, the acquiring the tendency-type feature information of the user includes:
acquiring ID information of the user; determining a personal representation of the user within a particular range based on the ID information; and analyzing tendency type characteristic information of the user through the personal portrait, wherein the tendency type characteristic information comprises geographic information, cultural information or diet information. Or,
the user can set the tendency type characteristic information of the user at the client, such as the preference of European culture, Japanese culture and the like; the user likes to eat western food or daily feed, etc.; users like climbing snow mountains, traversing forests, etc.
Optionally, the specific range includes: the client to which the calendar is attached and/or the client having an association with the client.
The personal portrait is also called a user portrait, and refers to all behavioral event information (for example, route information) and non-behavioral event information (for example, hobby information) about an individual collected in the internet through various personal identification information, for example, a name, a telephone, an identification number, and the like, and the information is obtained through behavior statistics such as clicking, viewing, purchasing, and the like of the user at each client of the internet.
The tendency-type characteristic information includes geographical information, cultural information, or diet information, and a place that the user likes is inferred, for example, by gathering place names (e.g., japan) that the user frequently browses. Deducing that the user likes tea culture and the like by gathering cultural information (such as tea culture) viewed by the user.
Step S206: and selectively recommending the indication information matched with the tendency type characteristic information in the spare time.
The indication information includes: air ticket recommendations, hotel recommendations, play item recommendations, and the like.
Optionally, the selectively recommending, in the spare time, indication information matched with the trend-type feature information includes:
matching indication information meeting the vacant time and the tendency type characteristic information from an indication information database based on the vacant time and the tendency type characteristic information; and recommending according to the priority of the tendency type characteristic information or the priority of the indication information.
The size of the indication information database and the background server are maintained by a merchant, and the database can be classified and stored, for example, according to place names, such as tokyo, new york, and parji, and under the classification of tokyo, the indication information database includes flight ticket information from beijing to tokyo, hotel information from tokyo, and food information from tokyo. The travel items can be classified according to travel items, such as skiing items, maritime items, grassland items, mountaineering items and the like, and the maritime items can include airplane tickets of Beijing to Puji, Madaver, Hawaii, hotels, food information and the like.
Optionally, the recommending according to the priority of the trend-type characteristic information or the priority of the indication information includes:
determining the priority of the tendency type characteristic information according to the attention degrees of the geographic information, the cultural information and the diet information; and determining the priority of the indication information according to the price index of the indication information.
The attention can be determined according to a rough proportion by a user portrait, for example, if the user frequently browses information of Japan, the attention of the user to Japanese items is high, and all items related to Japan have higher priority than other items.
The price index of the indication information can be determined by the price of a computer ticket or a hotel, and the lower the price, the higher the index is, the more worthy of recommendation is.
Step S208: the indication information is displayed on the calendar interface.
Optionally, the indication information is displayed on the calendar interface, and includes:
the indication information is displayed on the calendar interface in a linked mode, wherein the indication information comprises air ticket information, hotel information or play item information.
The user can directly arrive at the third-party merchant platform by clicking the corresponding link, for example, the user can arrive at the portable APP through the link to issue an order of an air ticket or a hotel, or the user can directly arrive at a national aviation website to issue an order of an air ticket.
Optionally, the method may further include the steps of:
receiving the indication information displayed on the calendar interface; and sharing the accepted indication information to a friend circle interface of a client to which the calendar is attached.
As shown in fig. 1, once the user accepts the itinerary recommended by the application, a sharing interface may be automatically popped up or manually selected on the accepting interface, and the user determines whether to share the itinerary to the friend circle interface of the application. If the user chooses to share the own journey, the air ticket information, the date information, the destination information, the hotel information and the like of the user can be published through the friend circle interface.
Optionally, the method further comprises the following steps:
and based on the friend circle interface, receiving click operation of a user, so that the user joins the indication information shared by the friend circle.
The user can browse the travel information of the friends through the friend circle interface, if the travel information of the friends is matched with the time and the place of the user, the user can click the related sharing link, join the travel and obtain the same travel, including air tickets, dates, destinations, hotels and the like, so that the user can obtain the same travel at one time with convenience and low cost.
According to the information recommendation method based on the calendar, the best travel in the idle time period of the user, such as the cheapest air ticket, the most appropriate travel destination and the like, can be automatically calculated through the calendar and the preference of the user, the user can complete all key programs in the travel only by clicking on the received recommendation, a series of tedious work of user selection, comparison and the like is omitted, the travel efficiency of the user is improved, and the satisfaction degree of the user is improved.
Example 2
As shown in fig. 1, an application scenario diagram according to an embodiment of the present disclosure is provided, where the application scenario is an application program that provides a theme of travel, and the application program includes four parts of travel inspiration, travel plan, friend circle and my trip, where through the travel inspiration, the application program may actively issue some travel introductions all over the world in the form of words and/or pictures at irregular intervals, such as air ticket information, hotel information, entrance ticket information, and the like, for a user to browse and obtain information at any time. The travel plan part provides an interface in the form of a calendar, the interface actively pushes and displays travel information suitable for the user, and the user can click to acquire recommendation detailed information. The friend circle can be used for users to share the determined itineraries, and other people can click to join the itineraries of the friends. The my itinerary section displays a detailed itinerary for the individual. However, the present invention is not limited to this unique application scenario, and any scenario that can be applied to the present embodiment is included, and for convenience of description, the present embodiment takes the application scenario of the travel application as an example. The embodiment is similar to embodiment 1 in the explanation of the method steps for implementing the method steps as described in embodiment 1 based on the same names and meanings, and has the same technical effects as embodiment 1, and thus the description thereof is omitted.
As shown in fig. 3, according to an embodiment of the present disclosure, the present disclosure provides a calendar-based information recommendation apparatus, which specifically includes an obtaining unit 302, an analyzing unit 304, a recommending unit 306, and a displaying unit 308:
the acquisition unit 302: and acquiring the free time of the user within a certain time period based on the calendar.
Optionally, the obtaining unit 302 is further configured to:
receiving setting parameters of a user in a calendar; and determining the free time of the user within a certain time period based on the setting parameters.
The set parameters comprise a period of time range, receiving or not receiving recommendation information, an idle time range and the like which are set by the user according to the condition of the user.
The analysis unit 304: and acquiring tendency type characteristic information of the user.
Optionally, the analysis unit 304 includes:
acquiring ID information of the user; determining a personal representation of the user within a particular range based on the ID information; and analyzing tendency type characteristic information of the user through the personal portrait, wherein the tendency type characteristic information comprises geographic information, cultural information or diet information.
Optionally, the specific range includes: the client to which the calendar is attached and/or the client having an association with the client.
The recommending unit 306: and selectively recommending the indication information matched with the tendency type characteristic information in the spare time.
Optionally, the recommending unit 306 includes:
matching indication information meeting the vacant time and the tendency type characteristic information from an indication information database based on the vacant time and the tendency type characteristic information; and recommending according to the priority of the tendency type characteristic information or the priority of the indication information.
Optionally, the recommending according to the priority of the trend-type characteristic information or the priority of the indication information includes:
determining the priority of the tendency type characteristic information according to the attention degrees of the geographic information, the cultural information and the diet information; and determining the priority of the indication information according to the price index of the indication information.
The display unit 308: the indication information is displayed on the calendar interface.
Optionally, the display unit 308 includes:
the indication information is displayed on the calendar interface in a linked mode, wherein the indication information comprises air ticket information, hotel information or play item information.
Optionally, the apparatus may further include:
the sharing unit is used for receiving the indication information displayed on the calendar interface; and sharing the accepted indication information to a friend circle interface of a client to which the calendar is attached.
And the receiving unit is used for receiving the clicking operation of the user based on the friend circle interface so that the user can join the indication information shared by the friend circle.
The device can automatically calculate the optimal travel in the idle time period of the user through the calendar and the preference of the user, such as the cheapest air ticket, the most suitable travel destination and the like, the user can complete the key programs in all the travels only by clicking and accepting the recommendation, a series of tedious work of user selection, comparison and the like is omitted, the travel efficiency of the user is improved, and the satisfaction degree of the user is improved.
Example 3
As shown in fig. 4, the present embodiment provides an electronic device for travel recommendation, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the one processor to cause the at least one processor to perform the method steps of the above embodiments.
Example 4
The disclosed embodiments provide a non-volatile computer storage medium having stored thereon computer-executable instructions that may perform the method steps as described in the embodiments above.
Example 5
Referring now to FIG. 4, shown is a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 405. An input/output (I/O) interface 405 is also connected to bus 405.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 405 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, or the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 405. The communication means 405 may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 405, or may be installed from the storage device 408, or may be installed from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.