CN114493932A - Method, device, terminal and storage medium for generating playing route and live broadcasting content - Google Patents

Method, device, terminal and storage medium for generating playing route and live broadcasting content Download PDF

Info

Publication number
CN114493932A
CN114493932A CN202111623505.XA CN202111623505A CN114493932A CN 114493932 A CN114493932 A CN 114493932A CN 202111623505 A CN202111623505 A CN 202111623505A CN 114493932 A CN114493932 A CN 114493932A
Authority
CN
China
Prior art keywords
user
spot
scenic
playing
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111623505.XA
Other languages
Chinese (zh)
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.)
Yunnan Tengyun Information Industry Co ltd
Original Assignee
Yunnan Tengyun Information Industry 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 Yunnan Tengyun Information Industry Co ltd filed Critical Yunnan Tengyun Information Industry Co ltd
Priority to CN202111623505.XA priority Critical patent/CN114493932A/en
Publication of CN114493932A publication Critical patent/CN114493932A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q10/047Optimisation of routes or paths, e.g. travelling salesman problem

Landscapes

  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Game Theory and Decision Science (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Information Transfer Between Computers (AREA)
  • Navigation (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to a method, a device, a terminal and a storage medium for generating a playing route and live broadcasting content, wherein the method for generating the playing route comprises the following steps: obtaining user information and scenic spot information of a target scenic spot played by a user, wherein the user information comprises scenic spot preference information and playing time information of the user; acquiring the interest degree of the user for each first scenery spot according to the scenery spot preference information, and acquiring the matching degree of the user and each first scenery spot according to the scenery spot preference information; determining the preference of the user to each first scenic spot according to the interest degree and the matching degree; the favorite scenic spots of the user are screened out from the first scenic spots according to the favorite degrees; and generating a target playing route of the user in the target scene area according to the favorite scenic spots, the playing time information and the scene area information, wherein the target playing route comprises the played target scenic spots and a target playing sequence of the target scenic spots, and the target scenic spot is at least one of the favorite scenic spots. The method for generating the playing route can improve the suitability of the game of the tourists.

Description

Method, device, terminal and storage medium for generating playing route and live broadcasting content
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method, an apparatus, a terminal, and a storage medium for generating a play route and live broadcasting content.
Background
With the development of economy, more and more visitors play in scenic spots. At present, visitors can only play according to some recommended routes provided by scenic spots when arriving at the scenic spots. However, the demands of different guests are different, resulting in a low suitability for the guest to play.
Disclosure of Invention
The embodiment of the application provides a method, a device, a terminal and a storage medium for generating a playing route and live broadcasting contents, and can improve the playing adaptability of a visitor.
In a first aspect, the present application provides a method for generating a play route, including:
acquiring user information and scenic spot information of a target scenic spot played by a user, wherein the user information comprises scenic spot preference information and playing time information of the user;
acquiring the interest degree of the user for each first scenery spot according to the scenery spot preference information, and acquiring the matching degree of the user and each first scenery spot according to the scenery spot preference information;
determining the preference degree of the user to each first scenic spot according to the interest degree and the matching degree;
the favorite scenic spots of the user are screened out from the first scenic spots according to the favorite degrees;
and generating a target playing route of the user in the target scene area according to the favorite scenic spots, the playing time information and the scene area information, wherein the target playing route comprises the played target scenic spots and a target playing sequence of the target scenic spots, and the target scenic spot is at least one of the favorite scenic spots.
In one embodiment, the attraction preference information includes online behavior data and actual play data, and the obtaining the user's interest level in each first attraction according to the attraction preference information includes:
acquiring a first interest degree of the user in each first scenic spot according to the online behavior data;
acquiring a second interest degree of the user in each first scenic spot according to the actual playing data;
and acquiring the interest degree of the user for each first sight spot according to the first interest degree and the second interest degree.
In one embodiment, the obtaining the interest level of the user in each first sight spot according to the first interest level and the second interest level includes:
acquiring a first weight coefficient corresponding to the first interest degree and acquiring a second weight coefficient corresponding to the second interest degree;
and taking the sum of the product of the first interest degree and the first weight coefficient and the product of the second interest degree and the second weight coefficient as the interest degree of the user in the first sight spot.
In one embodiment, the obtaining the first interest level of the user in each first sight spot according to the online behavior data includes:
acquiring a behavior proportion of each online behavior corresponding to each sight spot type, wherein the behavior proportion is a ratio of the behavior frequency of the online behavior to the total behavior frequency of the online behavior;
acquiring the interest degree of the user in each sight spot type according to the behavior proportion of each on-line behavior corresponding to each sight spot type and the behavior coefficient corresponding to each on-line behavior;
and acquiring the first interest degree of the user for each first sight spot according to the interest degree of the user for each sight spot type and the sight spot type of each first sight spot.
In one embodiment, the actual play data includes a staying time of the user at each second attraction that has been played, and the obtaining a second interest level of the user in each first attraction according to the actual play data includes:
acquiring the interest degree of the user in each second scenic spot according to the stay time of each second scenic spot;
obtaining the sight spot type corresponding to each second sight spot and the sight spot type corresponding to each first sight spot;
and acquiring the second interest degree of the user on each first sight spot according to the interest degree of the user on each second sight spot, the sight spot type corresponding to each second sight spot and the sight spot type corresponding to each first sight spot.
In one embodiment, the obtaining the user's interest level in each second attraction according to the stay time of each second attraction includes:
acquiring average stay time of a plurality of second scenic spots;
acquiring the time length deviation between each second scenic spot and the average staying time length;
dividing each second sight spot into a plurality of sight spot groups according to the time length deviation corresponding to each second sight spot, wherein the time length deviation corresponding to each second sight spot of one sight spot group in the plurality of sight spot groups is smaller than or equal to zero, and the time length deviation corresponding to each second sight spot of another sight spot group is larger than zero;
acquiring the time length deviation sum corresponding to each second sight spot in each sight spot group;
and determining the interest degree of the user in each second scenic spot according to the ratio of the time length deviation corresponding to each second scenic spot to the sum of the time length deviations corresponding to the scenic spot group in which each second scenic spot is located.
In one embodiment, the scenic spot preference information includes a favorite scenic spot type of the user, and the obtaining the matching degree between the user and each first scenic spot according to the scenic spot preference information includes:
if the sight spot type of the first sight spot is consistent with the favorite sight spot type, the matching degree of the first sight spot is a first matching degree;
if the sight spot type of the first sight spot is not consistent with the favorite sight spot type, but the parent type of the sight spot type of the first sight spot is consistent with the parent type of the favorite sight spot type, the matching degree of the first sight spot is a second matching degree;
if the parent type of the sight spot type of the first sight spot is inconsistent with the parent type of the favorite sight spot type, the matching degree of the first sight spot is a third matching degree;
wherein the first matching degree is higher than the second matching degree, and the second matching degree is higher than the third matching degree.
In one embodiment, the playing time information includes a predicted total playing time, the scenic spot information includes a recommended playing time of each first scenic spot and an environmental attribute of each first scenic spot, and the generating a target playing route of the user in the target scenic spot according to the favorite scenic spots, the playing time information, and the scenic spot information includes:
acquiring environmental information during playing;
removing redundant scenic spots in the favorite scenic spots according to the environment information and the environment attributes to obtain the removed favorite scenic spots;
and generating the target playing route according to the removed favorite scenic spots, the recommended playing time length and the estimated total playing time length, wherein the target scenic spots are at least one of the removed favorite scenic spots, the total playing time length of the target playing route is less than or equal to the estimated total playing time length, and the total playing time length comprises the sum of the recommended playing time lengths of all the target scenic spots.
In one embodiment, the playing time information further includes a playing traffic mode, the scenic spot information further includes distances between the first scenic spots, and the generating the target playing route according to the rejected favorite scenic spots, the recommended playing time length, and the estimated total playing time length includes:
acquiring the moving time between the first scenic spots according to the playing traffic mode and the distance between the first scenic spots;
obtaining at least one candidate playing route according to the removed favorite scenic spots, the recommended playing time length and the moving time between the first scenic spots, wherein each candidate route comprises a candidate scenic spot to be played and a candidate playing sequence of the candidate scenic spots, the candidate scenic spot is at least one of the removed favorite scenic spots, the total playing time length of the candidate route is less than or equal to the predicted total playing time length, and the total playing time length of the candidate route comprises the sum of the recommended playing time lengths of the candidate scenic spots and the sum of the moving times according to the candidate playing sequence;
respectively determining the sum of the preference degrees of the candidate scenic spots in each candidate playing route to obtain the route preference degree of each candidate playing route;
and taking the candidate playing route with the highest route preference as the target playing route.
In a second aspect, the present application provides a method for switching live content, including:
acquiring user information and scenic spot information of a target scenic spot played by a user, wherein the user information comprises scenic spot preference information and playing time information of the user;
acquiring the interest degree of the user for each first scenery spot according to the scenery spot preference information, and acquiring the matching degree of the user and each first scenery spot according to the scenery spot preference information;
determining the preference degree of the user to each first scenic spot according to the interest degree and the matching degree;
the favorite scenic spots of the user are screened out from the first scenic spots according to the favorite degrees;
generating a target playing route of the user in the target scene area according to the favorite scenic spots, the playing time information and the scene area information, wherein the target playing route comprises playing target scenic spots and a target playing sequence of the target scenic spots, and the target scenic spot is at least one of the favorite scenic spots;
and switching the live broadcast content according to the target playing route.
In a third aspect, the present application provides a play route generation device, including:
the system comprises an information acquisition module, a scene area information acquisition module and a scene area information acquisition module, wherein the information acquisition module is used for acquiring user information and scene area information of a target scene area played by a user, and the user information comprises scenic spot preference information and playing time information of the user;
the preference degree acquisition module is used for acquiring the interest degree of the user on each first sight spot according to the sight spot preference information and acquiring the matching degree of the user and each first sight spot according to the sight spot preference information; determining the preference degree of the user to each first scenic spot according to the interest degree and the matching degree;
the screening module is used for screening favorite scenic spots of the user from the first scenic spots according to the favorite degrees;
and the route generating module is used for generating a target playing route of the user in the target scenic spot according to the favorite scenic spots, the playing time information and the scenic spot information, wherein the target playing route comprises playing target scenic spots and a target playing sequence of the target scenic spots, and the target scenic spot is at least one of the favorite scenic spots.
In a fourth aspect, the present application provides a device for switching live content, including:
the system comprises an information acquisition module, a scene area information acquisition module and a scene area information acquisition module, wherein the information acquisition module is used for acquiring user information and scene area information of a target scene area played by a user, and the user information comprises scenic spot preference information and playing time information of the user;
the preference degree acquisition module is used for acquiring the interest degree of the user on each first sight spot according to the sight spot preference information and acquiring the matching degree of the user and each first sight spot according to the sight spot preference information; determining the preference degree of the user to each first scenic spot according to the interest degree and the matching degree;
the screening module is used for screening favorite scenic spots of the user from the first scenic spots according to the favorite degrees;
a route generating module, configured to generate a target playing route of the user in the target scenic spot according to the favorite scenic spots, the playing time information, and the scenic spot information, where the target playing route includes a playing target scenic spot and a target playing sequence of the target scenic spot, and the target scenic spot is at least one of the favorite scenic spots;
and the switching module is used for switching the live broadcast content according to the target playing route.
In a fifth aspect, the present application provides a terminal comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to perform the steps of the method as described above.
In a sixth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method as described above.
The method for generating the playing route, the method for live broadcasting the content, the device, the terminal and the storage medium comprise the following steps: acquiring user information and scenic spot information of a target scenic spot played by a user, wherein the user information comprises scenic spot preference information and playing time information of the user; acquiring the interest degree of the user for each first scenery spot according to the scenery spot preference information, and acquiring the matching degree of the user and each first scenery spot according to the scenery spot preference information; determining the preference degree of the user to each first scenic spot according to the interest degree and the matching degree; the favorite scenic spots of the user are screened out from the first scenic spots according to the favorite degrees; generating a target playing route of the user in the target scene area according to the favorite scenic spots, the playing time information and the scene area information, wherein the target playing route comprises playing target scenic spots and a target playing sequence of the target scenic spots, and the target scenic spot is at least one of the favorite scenic spots; as the playing route of the user can be determined through the user information and the scenic spot information of the scenic spot played by the user, the playing route matched with the user can be provided for the playing user for the user to play, and the improvement of the adaptability of the playing of the visitor is realized.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow diagram illustrating a method for generating a play route, according to one embodiment;
FIG. 2 is a flowchart detailing step 120 in one embodiment;
FIG. 3 is a flowchart detailing step 150 in one embodiment;
FIG. 4 is a flowchart detailing step 330 in one embodiment;
FIG. 5 is a flowchart showing a method of generating a play route according to another embodiment;
fig. 6 is a flowchart illustrating a method for switching live content according to an embodiment;
FIG. 7 is a schematic configuration diagram of a play route generation device in one embodiment;
FIG. 8 is a block diagram of a switch device for live content according to an embodiment;
fig. 9 is a schematic diagram of the internal structure of the terminal in one embodiment. .
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first level of interest may be referred to as a second level of interest, and similarly, a second level of interest may be referred to as a first level of interest, without departing from the scope of the present application. The first and second degrees of interest are both degrees of interest, but are not the same degree of interest.
Referring to fig. 1, fig. 1 is a flow chart illustrating a method of generating a play route in one embodiment. In one embodiment, as shown in fig. 1, a method for generating a play route is provided, and this embodiment is illustrated by applying the method to a terminal, it is to be understood that the method may also be applied to a server, and may also be applied to a system including a terminal and a server, and is implemented by interaction between the terminal and the server. In this embodiment, the method includes the following steps 110 to 150.
Step 110, obtaining user information and scenic spot information of a target scenic spot played by the user, wherein the user information includes scenic spot preference information and playing time information of the user.
Wherein, the user information refers to the related information of the playing user. In the present embodiment, the user information includes sight preference information and play time information of the user. The sight preference information refers to information indicating a preferred sight of the user, such as a specific sight preferred by the user, a type of sight preferred by the user, and the like. The play time information refers to information related to the play time of the user. Such as the user's expected total play time, the user's play traffic pattern, etc. Since the traffic mode of play of the user affects commuting time between attractions, the traffic mode of play can be used as one of the pieces of play time information.
It should be noted that the user information may be determined by data entered by the user, or may be extracted from the acquired user data.
And 120, acquiring the interest degree of the user in each first sight spot according to the sight spot preference information, and acquiring the matching degree of the user and each first sight spot according to the sight spot preference information.
Wherein the first sight point refers to a sight point within the target sight zone. In this embodiment, the target scenic spot may include a plurality of first scenic spots, and the preference of the user for each first scenic spot in the target scenic spot may be obtained according to the scenic spot preference information. The preference degree refers to the preference degree of the user for the first sight spot. The higher the preference degree of the first scenic spot is, the greater the tendency of the user to play the first scenic spot is. For example, the preference of first attraction A1 is higher than the preference of first attraction B1, the user has a greater tendency to play at first attraction A1. The higher the level of interest of a first attraction, the more interesting the user is to the first attraction, and the greater the user's propensity to play the first attraction. The higher the matching degree of the first sight spot, the more the user is matched with the first sight spot, and the greater the tendency of the user to play the first sight spot.
And step 130, determining the preference of the user for each first scenic spot according to the interest degree and the matching degree.
In this step, the preference of each first scenic spot is determined according to the interest degree and the matching degree. It can be understood that the preference of each first scenic spot is determined jointly through the interest degree of the user in each first scenic spot and the matching degree of the user and each first scenic spot, and the determined preference is more accurate due to more parameters for determining the preference. Alternatively, the product of the interest level and the matching level can be used as the preference of the first sight.
And 140, screening the favorite scenic spots of the user from the first scenic spots according to the favorite degrees.
The favorite scenic spots refer to scenic spots preferred by the user. Specifically, the favorite sight is at least one of the first plurality of sights.
And 150, generating a target playing route of the user in the target scene area according to the favorite scenic spots, the playing time information and the scene area information.
The target playing route comprises a playing target sight spot and a target playing sequence of the target sight spot, and the target sight spot is at least one of the favorite sight spots. In this embodiment, after the target play route is generated, the user may play according to the target play route.
According to the technical scheme of the embodiment, user information and scenic spot information of a target scenic spot played by a user are obtained, wherein the user information comprises scenic spot preference information and playing time information of the user; acquiring the interest degree of the user for each first scenery spot according to the scenery spot preference information, and acquiring the matching degree of the user and each first scenery spot according to the scenery spot preference information; determining the preference degree of the user to each first scenic spot according to the interest degree and the matching degree; the favorite scenic spots of the user are screened out from the first scenic spots according to the favorite degrees; generating a target playing route of the user in the target scene area according to the favorite scenic spots, the playing time information and the scene area information, wherein the target playing route comprises playing target scenic spots and a target playing sequence of the target scenic spots, and the target scenic spot is at least one of the favorite scenic spots; as the playing route of the user can be determined through the user information and the scenic spot information of the scenic spot played by the user, the playing route matched with the user can be provided for the playing user for the user to play, and the improvement of the adaptability of the playing of the visitor is realized. In addition, for different scenic spots, the playing route of the user can be determined through the scenic spot information, so that a better playing route can be provided for the user to play, and the playing experience of the user is improved.
Referring to FIG. 2, FIG. 2 is a flowchart detailing step 120 in one embodiment. In one embodiment, the attraction preference information includes online behavior data and actual play data, as shown in FIG. 2, step 120, obtaining the user's interest level in each first attraction based on the attraction preference information, including steps 210-230.
And step 210, acquiring a first interest degree of the user in each first scenic spot according to the online behavior data.
Wherein the online behavior data refers to data obtained by recording online behavior of the user terminal. Optionally, the online behavior includes, but is not limited to, at least one of a browsing behavior, a ticketing behavior, a collection behavior, and a like behavior. The first level of interest refers to a level of interest of the first sight obtained from the online behavior data.
And step 220, acquiring a second interest degree of the user in each first scenic spot according to the actual playing data.
Wherein the actual play data refers to data obtained by recording the behavior of the user's actual play. Optionally, the actual play data includes, but is not limited to, the sights the user played, the time the user stayed at the sights played, and the like. The second level of interest refers to the level of interest of the first attraction obtained from the actual play data.
And step 230, acquiring the interest degree of the user in each first sight spot according to the first interest degree and the second interest degree.
It will be appreciated that the first level of interest obtained from the online behavior data, and the second level of interest obtained from the actual play data, together determine the level of interest of the user in each first attraction, the more accurate the determined level of interest of the user in each first attraction.
It should be noted that step 230 includes at least the following possible embodiments.
In one possible implementation, a first weighting coefficient corresponding to a first interest degree is obtained, and a second weighting coefficient corresponding to a second interest degree is obtained; and taking the sum of the product of the first interest degree and the first weight coefficient and the product of the second interest degree and the second weight coefficient as the interest degree of the user in the first sight spot.
Illustratively, the user's interest level in the first sight is I1 a + I2 b, where I1 is the first interest level, a is the first weight coefficient, I2 is the second interest level, and b is the second weight coefficient.
In this embodiment, the first weight coefficient and the second weight coefficient may be configured in advance, and may be called directly when the first interest level is calculated. Optionally, the magnitude of the first weight coefficient and the second weight coefficient is related to the accuracy of the degree of interest, and the higher one of the first degree of interest and the second degree of interest has a higher accuracy, and the corresponding weight coefficient is larger. For example, if the accuracy of the first degree of interest is higher than the second degree of interest, the first weighting factor is greater than the second weighting factor.
In another possible implementation, the greater or lesser of the first and second degrees of interest is taken as the user's level of interest in the first attraction.
Illustratively, if I1 > I2, then the user's level of interest in the first attraction is I1.
In another possible implementation, only one of the first interest level and the second interest level may be calculated, and the calculated one of the interest levels may be used as the interest level of the user in the first scenic spot.
It can be understood that, the interest level of the user in each first sight spot is determined by calculating the first interest level and the second interest level, the more accurate the determined interest level of the user in each first sight spot is; the degree of interest of the user in each first sight spot is determined by calculating the first degree of interest or the second degree of interest, so that the efficiency of determining the degree of interest of the user in each first sight spot can be improved.
The following example illustrates how the first degree of interest is calculated.
In a possible implementation manner, the obtaining, according to the online behavior data, a first interest degree of the user in each first sight spot includes:
acquiring a behavior proportion of each online behavior corresponding to each sight spot type, wherein the behavior proportion is a ratio of the behavior frequency of the online behavior to the total behavior frequency of the online behavior;
acquiring the interest degree of the user in each sight spot type according to the behavior proportion of each on-line behavior corresponding to each sight spot type and the behavior coefficient corresponding to each on-line behavior;
and acquiring the first interest degree of the user for each first sight spot according to the interest degree of the user for each sight spot type and the sight spot type of each first sight spot.
In the present embodiment, the attraction type refers to a scene type of the attraction. Optionally, the types of attractions include, but are not limited to, human history, natural landscape, history, construction, exhibition, activity, and the like; plants, animals, etc. may also be included. In this embodiment, the degree of interest of the user in each sight spot type may be determined according to the behavior proportion of each online behavior corresponding to each sight spot type and the behavior coefficient corresponding to each online behavior, and then the first degree of interest of the user in each first sight spot may be determined according to the sight spot type of each first sight spot.
For example, assuming that the attraction types include plants and animals, and the online behavior includes browsing behavior and collecting behavior, the schematic diagram of the online behavior data may be as follows:
coefficient of behavior Plant and method for producing the same Animal(s) production
Browsing behavior c e g
Act of buying tickets d f h
Wherein, the interest degree of the user for the scenic spot of the plant type is e × c/(e + f) + f × d/(e + f); similarly, the user is interested in the sight of the animal type by g × c/(g + h) + h × d/(g + h). And assuming the first sight is an animal type sight, the first degree of interest to the first sight by the user is g c/(g + h) + h d/(g + h).
The following example illustrates how the second degree of interest is calculated.
In a possible implementation manner, the actual play data includes a staying time length of the user at each second attraction that has been played, and the obtaining, according to the actual play data, a second interest degree of the user in each first attraction includes:
acquiring the interest degree of the user in each second scenic spot according to the stay time of each second scenic spot;
obtaining the sight spot type corresponding to each second sight spot and the sight spot type corresponding to each first sight spot;
and acquiring the second interest degree of the user on each first sight spot according to the interest degree of the user on each second sight spot, the sight spot type corresponding to each second sight spot and the sight spot type corresponding to each first sight spot.
In this embodiment, the second sight spot refers to a played sight spot, and may be at least one of a plurality of first sight spots in the target sight spot, or a sight spot in a previously played sight spot, which is not limited in this embodiment. It can be understood that, if the second sight spot refers to at least one of the plurality of first sight spots in the target sight spot, the obtained target playing route is equivalent to the playing route obtained by real-time adjustment in the process of playing the target sight spot by the user; if the second sight spot is a sight spot in a sight zone which is played before, the target playing route is equivalent to the playing information of the user before the current playing. In this embodiment, the second interest level of the user in each first sight spot is obtained according to the interest level of the user in each second sight spot, the sight spot type corresponding to each second sight spot, and the sight spot type corresponding to each first sight spot.
Illustratively, if the user's interest level in the second attraction A2 is I3, the attraction type of the second attraction A2 is A, and if the attraction type of the first attraction is A, the user's second interest level in the first attraction is I3.
In the present embodiment, the more accurate the determined second interest level is, the more the historical play information of the user is referred to, and the historical play information is information actually played by the user.
In a possible implementation manner, the obtaining the interest level of the user in each second attraction according to the staying time duration of each second attraction includes:
acquiring average stay time of a plurality of second scenic spots;
acquiring the time length deviation between each second scenic spot and the average staying time length;
dividing each second sight spot into a plurality of sight spot groups according to the time length deviation corresponding to each second sight spot, wherein the time length deviation corresponding to each second sight spot of one sight spot group in the plurality of sight spot groups is smaller than or equal to zero, and the time length deviation corresponding to each second sight spot of another sight spot group is larger than zero;
acquiring the time length deviation sum corresponding to each second sight spot in each sight spot group;
and determining the interest degree of the user in each second scenic spot according to the ratio of the time length deviation corresponding to each second scenic spot to the sum of the time length deviations corresponding to the scenic spot group in which each second scenic spot is located.
For example, assuming that the stay average time length is tsa and the single-scene stay time length is ts, the time length deviation Δ ts is ts-tsa. When the time length deviation of each second scenic spot in the scenic spot group is greater than zero, I4 is equal to positive Δ ts/Σ positive Δ ts; when the time length deviation of each second sight in the sight group is less than or equal to zero, I4 is negative Δ ts/Σ negative Δ ts.
It should be noted that when the time length deviation of each second sight spot in the sight spot group is greater than zero, I4 is used as a second interest degree I2; when the time length deviation of each second scenic spot in the scenic spot group is less than or equal to zero, the I4 is regarded as the non-interested degree, and the non-interested degree is converted into the interested degree, so that the interested degree of the user for each second scenic spot is obtained.
In this embodiment, by dividing each second sight spot into a plurality of sight spot groups, a time length deviation corresponding to each second sight spot of one of the plurality of sight spot groups is less than or equal to zero, and a time length deviation corresponding to each second sight spot of another one of the plurality of sight spot groups is greater than zero, and performing separate calculation on the interest degree of each second sight spot in each sight spot group, the more accurate the obtained interest degree of each second sight spot by the user is.
The following example illustrates how to determine how well a user matches each first sight.
In a possible implementation manner, the scenic spot preference information includes a favorite scenic spot type of the user, and the obtaining a matching degree between the user and each first scenic spot according to the scenic spot preference information includes:
if the sight spot type of the first sight spot is consistent with the favorite sight spot type, the matching degree of the first sight spot is a first matching degree;
if the sight spot type of the first sight spot is not consistent with the favorite sight spot type, but the parent type of the sight spot type of the first sight spot is consistent with the parent type of the favorite sight spot type, the matching degree of the first sight spot is a second matching degree;
if the parent type of the sight spot type of the first sight spot is inconsistent with the parent type of the favorite sight spot type, the matching degree of the first sight spot is a third matching degree;
wherein the first matching degree is higher than the second matching degree, and the second matching degree is higher than the third matching degree.
The favorite sight spot types can be ranked in sequence by determining the interest degrees of users in the sight spot types, and one or more sight spot types with higher interest degrees are used as the favorite sight spot types. Illustratively, by the way of the above embodiment, the interest level of the user in each first sight spot is determined, then the interest level of the user in each sight spot type is determined according to the sight spot type of the first sight spot, and the interest level of the user in each sight spot type is assumed to be A, B and C from high to low, respectively, so that the sight spot type a is used as the favorite sight spot type.
Illustratively, assuming that the first matching degree is 100%, the second matching degree is 75%, and the third matching degree is 0, assuming that the attraction type preferred by the user is an animal type, if the attraction type of the first attraction is an animal type, the matching degree between the user and the first attraction is 100%; if the scenery spot type of the first scenery spot is the plant type, the matching degree of the user and the first scenery spot is 75% because the father type of the animal type is natural scenery and the father type of the plant type is natural scenery; if the sight type of the first sight spot is active, the matching degree of the user and the first sight spot is 0.
Referring to FIG. 3, FIG. 3 is a flowchart detailing step 150 in one embodiment. In one embodiment, the playing time information includes a predicted total playing time length, the scenic spot information includes a recommended playing time length of each first scenic spot and an environment attribute of each first scenic spot, as shown in fig. 3, step 150, generating a target playing route of the user in the target scenic spot according to the favorite scenic spots, the playing time information, the scenic spot information and the environment information, including steps 310 to 330.
Step 310, obtaining the environment information during playing.
The environmental information refers to information related to the environment, and may be, for example, a weather condition or the like.
And 320, removing redundant scenic spots in the favorite scenic spots according to the environment information and the environment attributes to obtain the removed favorite scenic spots.
The redundant sights refer to sights which are determined to be played by unsuitable users according to the environment information and the environment attribute. In the step, redundant scenic spots in the favorite scenic spots are removed, and the preferred scenic spots after removal are obtained. Alternatively, the environmental information may be a weather condition, and the environmental attribute may be an outdoor attribute or an indoor attribute. Exemplarily, if the weather condition is raining, the outdoor scenic spots are used as redundant scenic spots; and if the weather condition is high temperature, the outdoor scenic spots are used as redundant scenic spots. Wherein the weather conditions may be obtained from a weather bureau interface.
It can be understood that, the embodiment determines the redundant scenic spots according to the environment information and the environment attribute, so that the redundant scenic spots are removed from the favorite scenic spots, and the purpose is to remove the scenic spots which are not suitable for the user to play.
And 330, generating the target playing route according to the eliminated favorite scenic spots, the recommended playing time length and the estimated playing total time length.
In this step, the target scenic spot is at least one of the rejected favorite scenic spots, the total playing time length of the target playing route is less than or equal to the estimated total playing time length, and the total playing time length includes the sum of the recommended playing time lengths of the target scenic spots.
In this embodiment, the scenic spots played by the unsuitable users are determined through the environmental information and the environmental attributes, so that the scenic spots played by the unsuitable users are eliminated, the obtained scenic spots are all suitable for the users to play, and the playing experience of the users is better. In addition, the target playing route is generated through the recommended playing time length and the estimated total playing time length, so that the playing time of the user cannot be overtime.
In one embodiment, optionally, the total length of play further includes a length of maneuver. Wherein the maneuver length refers to a reserved playing time, such as a reserved resting time, a photographing time, and the like.
Referring to FIG. 4, FIG. 4 is a flowchart detailing step 330 in one embodiment. In one embodiment, the playing time information further includes a playing transportation mode, and the scenic spot information further includes distances between the first scenic spots, as shown in fig. 4, step 330, generating the target playing route according to the rejected favorite scenic spots, the recommended playing time length, and the estimated total playing time length includes steps 410 to 440.
And step 410, acquiring the moving time between the first scenic spots according to the playing traffic mode and the distance between the first scenic spots.
The game transportation modes include but are not limited to walking, renting and playing vehicle and other transportation modes. In this step, the moving time between the first scenic spots can be obtained according to the playing traffic mode and the distance between the first scenic spots.
And step 420, acquiring at least one candidate playing route according to the removed favorite scenic spots, the recommended playing time and the moving time among the first scenic spots.
In this step, each candidate route includes a candidate sight spot played and a candidate playing sequence of the candidate sight spot, the candidate sight spot is at least one of the favorite sight spots after being eliminated, the total playing time length of the candidate route is less than or equal to the predicted total playing time length, and the total playing time length of the candidate route includes the sum of recommended playing time lengths of the candidate sight spots and the sum of moving times according to the candidate playing sequence.
In this embodiment, at least one candidate play route is obtained, and the total play time of each candidate play route is smaller than the expected total play time, so that each obtained candidate play route can meet the requirement of the play time of the user.
Illustratively, when the total playing time further includes the maneuvering time, the walking speed is 5.4km/h, the vehicles in each scenic spot are not consistent, and the speed configuration can be performed respectively. Suppose that the total playing time length of the user is predicted to be T (needing to be in business hours), the playing time length of the scenic spots is T, the traffic time length td between the scenic spots (td is distance d between the scenic spots/traffic speed v), the maneuvering time length tf of playing (can be preset according to different scenic spots, the default is 30min), and T is Σ T + Σtd + tf.
And step 430, respectively determining the sum of the preference degrees of the candidate scenic spots in each candidate playing route to obtain the route preference degree of each candidate playing route.
In this step, since the candidate playing route includes a plurality of candidate sights and the preference of each candidate sight has been determined before, the route preference of each candidate playing route can be obtained by summing the preferences of the candidate sights in each candidate playing route.
Step 440, the candidate play route with the highest route preference is used as the target play route.
In this step, the candidate play route having the highest preference is set as the target play route.
In this embodiment, at least one candidate route meeting the play time requirement of the user is screened out, and the candidate play route with the highest preference degree is selected from the candidate routes as the target play route played by the user, so that the play experience of the user can be improved on the basis of meeting the play time requirement of the user.
Referring to fig. 5, fig. 5 is a flowchart illustrating a method of generating a play route in another embodiment. In one embodiment, as shown in FIG. 5, another method for generating a play route is provided, including steps 510 through 570.
And step 510, obtaining user information and scenic spot information of a target scenic spot played by the user, wherein the user information comprises scenic spot preference information and playing time information of the user.
This step may refer to the description of any of the above embodiments, which is not repeated herein.
And step 520, acquiring the interest degree of the user in each first sight spot according to the sight spot preference information, and acquiring the matching degree of the user and each first sight spot according to the sight spot preference information.
This step may refer to the description of any of the above embodiments, which is not repeated herein.
Step 530, determining the preference of the user for each first sight spot according to the interest degree and the matching degree.
This step may refer to the description of any of the above embodiments, which is not repeated herein.
And 540, screening the favorite scenic spots of the user from the first scenic spots according to the favorite degrees.
This step may refer to the description of any of the above embodiments, which is not repeated herein.
And step 550, generating a target playing route of the user in the target scene area according to the favorite scenic spots, the playing time information and the scene area information.
Step 560, obtaining the current position of the user during the process of the user playing the target scenic spot.
In this embodiment, after the target play route is generated, it cannot be guaranteed that the user plays along the target play route, and therefore the current position of the user needs to be acquired.
Step 570, if the current position does not match the target play route, generating a new target play route.
In this step, the current position does not match the target play route, and the current position may not be on the target play route, or the user may be on the target play route but not playing according to the target play route. And if the current position is not matched with the target playing route, generating a new target playing route for the user to play according to the new target playing route.
In one possible embodiment, generating a new target play route includes:
determining non-gamer points of the user in the target gameplay route;
and generating a new target playing route with the shortest playing path according to the position information of the current position and the position information of the non-playing scenic spots by taking the current position as a starting point.
In this embodiment, if the current position does not match the target playing route, it is determined that the user has no sights in the target playing route, and a new target playing route with the shortest playing path may be generated according to the position information of the current position and the position information of the no sights, using the current position as a starting point, so that the user can complete playing of as many target sights in the original target playing route as possible in a short time.
Illustratively, if the user originally planned route is a → B → C → E, when the user is at a sight point D, a new target play route with the shortest route is generated, for example, the new target play route is D → B → C → E → a.
In this embodiment, a new target play route with the shortest play path is generated by using the current position as a starting point, so that the user can complete the play of as many target sights in the original target play route as possible in a short time.
The target play route may be a route for the user to play offline, or may be a route for the user to play online.
It can be understood that, if the target playing route is a route for the user to play upstream, the distance between the first scenic spots may not be considered because the live view can be switched quickly.
Referring to fig. 6, fig. 6 is a flowchart illustrating a switching method of live content in an embodiment. In one embodiment, as shown in fig. 6, a method for switching live content is provided, which includes steps 610 to 660.
Step 610, obtaining user information and scenic spot information of a target scenic spot played by the user, wherein the user information comprises scenic spot preference information and playing time information of the user.
This step may refer to the description of any of the above embodiments, which is not repeated herein.
And step 620, obtaining the interest degree of the user in each first sight spot according to the sight spot preference information, and obtaining the matching degree of the user and each first sight spot according to the sight spot preference information.
This step may refer to the description of any of the above embodiments, which is not repeated herein.
Step 630, determining the user's preference for each first sight spot according to the interest degree and the matching degree.
The step may refer to the description of any of the above embodiments, which is not repeated herein.
And step 640, screening the favorite scenic spots of the user from the first scenic spots according to the favorite degrees.
This step may refer to the description of any of the above embodiments, which is not repeated herein.
And 650, generating a target playing route of the user in the target scene area according to the favorite scenic spots, the playing time information and the scene area information.
And 660, switching the live broadcast content according to the target playing route.
In the step, live broadcast content is switched according to the target playing route so that a user can play on line.
It should be noted that, in the switching process of switching the live broadcast content according to the target playing route, the recommended stay time of the target scenic spots may be used as the live broadcast stay time of each target scenic spot.
In this embodiment, since the playing route of the user can be determined according to the user information and the scenic spot information of the scenic spot played by the user, for the playing user, the playing route adapted to the user can be provided for the playing user for the user to play, so that the improvement of the adaptability of the guest to play is realized.
Illustratively, when the user is not in the scenic spot, the live broadcast and other contents in the scenic spot are recommended according to the scenic spot information and the user information, the contents are recommended according to the preference value sequence of the user to the scenic spot, and the recommendation can be shared. If a user likes a natural and animal scenic spot, scenic spots with elephants in the valley can be recommended to the user, according to historical data, the elephant in the scenery A in the morning drinks water, and the elephant in the scenery B in the afternoon bathes, so that the live broadcast content of the user can be recommended in the sequence of A → B. If the Yunnan national village has a plurality of scenic spots of minority nationalities, and each scenic spot has different performance time, the tourist can be automatically guided and switched according to the sequence of the performance time.
It should be understood that although the various steps in the flow charts of fig. 1-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a play route generation device in one embodiment. In one embodiment, as shown in fig. 7, the playing route generating device includes an information obtaining module 710, a preference obtaining module 720, a filtering module 730, and a route generating module 740, wherein:
an information obtaining module 710, configured to obtain user information and scenic spot information of a target scenic spot played by a user, where the user information includes scenic spot preference information and playing time information of the user; the preference degree acquiring module 720 is configured to acquire, according to the scenery spot preference information, a degree of interest of the user in each first scenery spot, and acquire, according to the scenery preference information, a matching degree between the user and each first scenery spot; determining the preference degree of the user to each first scenic spot according to the interest degree and the matching degree; the screening module 730 is configured to screen favorite scenery spots of the user from the first scenery spots according to the favorite degree; and a route generating module 740, configured to generate a target playing route of the user in the target scenic spot according to the favorite scenic spots, the playing time information, and the scenic spot information, where the target playing route includes a target scenic spot to be played and a target playing sequence of the target scenic spot, and the target scenic spot is at least one of the favorite scenic spots.
In one embodiment, the preference obtaining module 720 includes: the interest degree determining unit is used for acquiring the interest degree of the user for each first sight spot according to the sight spot preference information; the matching degree determining unit is used for acquiring the matching degree between the user and each first scenic spot according to the scenic spot preference information; and the preference acquiring unit is used for determining the preference of the user to each first sight spot according to the interest degree and the matching degree.
In one embodiment, the attraction preference information includes online behavior data and actual play data, and the preference obtaining module 720 includes: the first interest determination subunit is used for acquiring a first interest degree of the user in each first scenic spot according to the online behavior data; the second interest determining subunit is used for acquiring a second interest degree of the user in each first scenic spot according to the actual play data; and the third interest determining subunit is used for acquiring the interest degree of the user in each first sight spot according to the first interest degree and the second interest degree.
In one embodiment, the first interest determination subunit is specifically configured to obtain a behavior proportion of each online behavior corresponding to each attraction type, where the behavior proportion is a ratio of the number of times of the online behavior to the total number of times of the online behavior; acquiring the interest degree of the user in each sight spot type according to the behavior proportion of each on-line behavior corresponding to each sight spot type and the behavior coefficient corresponding to each on-line behavior; and acquiring the first interest degree of the user for each first sight spot according to the interest degree of the user for each sight spot type and the sight spot type of each first sight spot.
In one embodiment, the second interest determination subunit is specifically configured to obtain, according to the stay time of each second attraction, a degree of interest of the user in each second attraction; obtaining the sight spot type corresponding to each second sight spot and the sight spot type corresponding to each first sight spot; and acquiring the second interest degree of the user on each first sight spot according to the interest degree of the user on each second sight spot, the sight spot type corresponding to each second sight spot and the sight spot type corresponding to each first sight spot.
In one embodiment, the number of the second sights is multiple, and the second interest determination subunit is specifically configured to obtain average stay durations of the multiple second sights; acquiring the time length deviation between each second scenic spot and the average staying time length; dividing each second sight spot into a plurality of sight spot groups according to the time length deviation corresponding to each second sight spot, wherein the time length deviation corresponding to each second sight spot of one sight spot group in the plurality of sight spot groups is smaller than or equal to zero, and the time length deviation corresponding to each second sight spot of another sight spot group is larger than zero; acquiring the time length deviation sum corresponding to each second sight spot in each sight spot group; and determining the interest degree of the user in each second scenic spot according to the ratio of the time length deviation corresponding to each second scenic spot to the sum of the time length deviations corresponding to the scenic spot group in which each second scenic spot is located.
In one embodiment, the scenic spot preference information includes a preferred scenic spot type of the user, and the matching degree determining unit is specifically configured to determine that the matching degree of the first scenic spot is a first matching degree if the scenic spot type of the first scenic spot is consistent with the preferred scenic spot type; if the sight spot type of the first sight spot is not consistent with the favorite sight spot type, but the parent type of the sight spot type of the first sight spot is consistent with the parent type of the favorite sight spot type, the matching degree of the first sight spot is a second matching degree; if the parent type of the sight spot type of the first sight spot is inconsistent with the parent type of the favorite sight spot type, the matching degree of the first sight spot is a third matching degree; wherein the first matching degree is higher than the second matching degree, and the second matching degree is higher than the third matching degree.
In one embodiment, the play time information includes a predicted total play time, the scenic spot information includes recommended play time of each first scenic spot and an environmental attribute of each first scenic spot, and the information obtaining module 710 is further configured to obtain environmental information during play; a route generation module 740 comprising: the rejecting unit is used for rejecting redundant scenic spots in the favorite scenic spots according to the environment information and the environment attributes to obtain the rejected favorite scenic spots; and the route generating unit is used for generating the target playing route according to the removed favorite scenic spots, the recommended playing time length and the predicted total playing time length, wherein the target scenic spots are at least one of the removed favorite scenic spots, the total playing time length of the target playing route is less than or equal to the predicted total playing time length, and the total playing time length comprises the sum of the recommended playing time lengths of all the target scenic spots.
In one embodiment, the playing time information further includes a playing traffic mode, the scenic spot information further includes distances between the first scenic spots, and the route generating unit is specifically configured to obtain the moving time between the first scenic spots according to the playing traffic mode and the distances between the first scenic spots; obtaining at least one candidate playing route according to the removed favorite scenic spots, the recommended playing time length and the moving time between the first scenic spots, wherein each candidate route comprises a candidate scenic spot to be played and a candidate playing sequence of the candidate scenic spots, the candidate scenic spot is at least one of the removed favorite scenic spots, the total playing time length of the candidate route is less than or equal to the predicted total playing time length, and the total playing time length of the candidate route comprises the sum of the recommended playing time lengths of the candidate scenic spots and the sum of the moving times according to the candidate playing sequence; respectively determining the sum of the preference degrees of the candidate scenic spots in each candidate playing route to obtain the route preference degree of each candidate playing route; and taking the candidate playing route with the highest route preference as the target playing route.
In one embodiment, the apparatus further comprises: the position acquisition module is used for acquiring the current position of the user in the process of playing the target scenic spot by the user; the route generation module 740 is further configured to generate a new target play route if the current location does not match the target play route.
In one embodiment, the route generation module 740 is further configured to determine non-gamer points of the user in the target gameplay route; and generating a new target playing route with the shortest playing path according to the position information of the current position and the position information of the non-playing scenic spots by taking the current position as a starting point.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a device for switching live content in an embodiment. In one embodiment, as shown in fig. 8, the switching device of the live content includes an information obtaining module 810, a preference obtaining module 820, a filtering module 830, a route generating module 840, and a switching module 850, wherein:
an information obtaining module 810, configured to obtain user information and scene information of a target scene that a user plays, where the user information includes scenic spot preference information and play time information of the user; a preference degree obtaining module 820, configured to obtain, according to the scenery spot preference information, a degree of interest of the user in each first scenery spot, and obtain, according to the scenery preference information, a matching degree between the user and each first scenery spot; determining the preference degree of the user to each first scenic spot according to the interest degree and the matching degree; the screening module 830 is configured to screen favorite scenery spots of the user from first scenery spots according to the favorite degree; a route generating module 840, configured to generate a target play route of the user in the target scene area according to the favorite scenic spots, the play time information, and the scene area information, where the target play route includes a target scenic spot to be played and a target play sequence of the target scenic spot, and the target scenic spot is at least one of the favorite scenic spots; and a switching module 850, configured to switch the live content according to the target play route.
The division of the modules in the apparatus is merely for illustration, and in other embodiments, the apparatus may be divided into different modules as needed to complete all or part of the functions of the apparatus.
For the specific limitations of the apparatus, reference may be made to the limitations of the method described above, which are not described in detail herein. The various modules in the above-described apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 9 is a schematic diagram of an internal structure of the terminal in one embodiment. As shown in fig. 9, the terminal includes a processor and a memory connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole terminal. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor for implementing the methods provided by the various embodiments described above. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The terminal may be any terminal such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, and a wearable device.
The implementation of the respective modules in the apparatus provided in the embodiments of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. The program modules constituted by the computer program may be stored on the memory of the terminal. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media embodying computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of any of the embodiments described above.
A computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of the above embodiments.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (14)

1. A method for generating a play route, comprising:
acquiring user information and scenic spot information of a target scenic spot played by a user, wherein the user information comprises scenic spot preference information and playing time information of the user;
acquiring the interest degree of the user for each first scenery spot according to the scenery spot preference information, and acquiring the matching degree of the user and each first scenery spot according to the scenery spot preference information;
determining the preference degree of the user to each first scenic spot according to the interest degree and the matching degree;
the favorite scenic spots of the user are screened out from the first scenic spots according to the favorite degrees;
and generating a target playing route of the user in the target scene area according to the favorite scenic spots, the playing time information and the scene area information, wherein the target playing route comprises played target scenic spots and a target playing sequence of the target scenic spots, and the target scenic spots are at least one of the favorite scenic spots.
2. The method of claim 1, wherein the attraction preference information includes online behavior data and actual play data, and wherein obtaining the user's interest level in each first attraction based on the attraction preference information comprises:
acquiring a first interest degree of the user in each first scenic spot according to the online behavior data;
acquiring a second interest degree of the user in each first scenic spot according to the actual playing data;
and acquiring the interest degree of the user for each first sight spot according to the first interest degree and the second interest degree.
3. The method of claim 1, wherein said obtaining the user's interest level for each first attraction according to the first interest level and the second interest level comprises:
acquiring a first weight coefficient corresponding to the first interest degree and acquiring a second weight coefficient corresponding to the second interest degree;
and taking the sum of the product of the first interest degree and the first weight coefficient and the product of the second interest degree and the second weight coefficient as the interest degree of the user in the first sight spot.
4. The method of claim 2, wherein the online behavior data includes behavior times of each online behavior corresponding to each attraction type and a behavior coefficient corresponding to each online behavior, and the obtaining the first interest level of the user in each first attraction according to the online behavior data includes:
acquiring a behavior proportion of each online behavior corresponding to each sight spot type, wherein the behavior proportion is a ratio of the behavior frequency of the online behavior to the total behavior frequency of the online behavior;
acquiring the interest degree of the user in each sight spot type according to the behavior proportion of each on-line behavior corresponding to each sight spot type and the behavior coefficient corresponding to each on-line behavior;
and acquiring the first interest degree of the user for each first sight spot according to the interest degree of the user for each sight spot type and the sight spot type of each first sight spot.
5. The method of claim 2, wherein the actual play data includes a length of time the user has stayed at each second attraction that has been played, and wherein obtaining a second level of interest of the user in each first attraction based on the actual play data comprises:
acquiring the interest degree of the user in each second scenic spot according to the stay time of each second scenic spot;
obtaining the sight spot type corresponding to each second sight spot and the sight spot type corresponding to each first sight spot;
and acquiring the second interest degree of the user on each first sight spot according to the interest degree of the user on each second sight spot, the sight spot type corresponding to each second sight spot and the sight spot type corresponding to each first sight spot.
6. The method of claim 5, wherein there are a plurality of second attractions, and the obtaining the interest level of the user in each second attraction according to the dwell time of each second attraction comprises:
acquiring average stay time of a plurality of second scenic spots;
acquiring the time length deviation between each second scenic spot and the average staying time length;
dividing each second sight spot into a plurality of sight spot groups according to the time length deviation corresponding to each second sight spot, wherein the time length deviation corresponding to each second sight spot of one sight spot group in the plurality of sight spot groups is smaller than or equal to zero, and the time length deviation corresponding to each second sight spot of another sight spot group is larger than zero;
acquiring the time length deviation sum corresponding to each second sight spot in each sight spot group;
and determining the interest degree of the user in each second scenic spot according to the ratio of the time length deviation corresponding to each second scenic spot to the sum of the time length deviations corresponding to the scenic spot group in which each second scenic spot is located.
7. The method of claim 1, wherein the attraction preference information includes a preferred attraction type of the user, and wherein obtaining the degree of matching between the user and each first attraction based on the attraction preference information comprises:
if the sight spot type of the first sight spot is consistent with the favorite sight spot type, the matching degree of the first sight spot is a first matching degree;
if the sight spot type of the first sight spot is not consistent with the favorite sight spot type, but the parent type of the sight spot type of the first sight spot is consistent with the parent type of the favorite sight spot type, the matching degree of the first sight spot is a second matching degree;
if the parent type of the sight spot type of the first sight spot is inconsistent with the parent type of the favorite sight spot type, the matching degree of the first sight spot is a third matching degree;
wherein the first matching degree is higher than the second matching degree, and the second matching degree is higher than the third matching degree.
8. The method of claim 1, wherein the play time information comprises a total predicted play time length, wherein the scenic spot information comprises a recommended play time length for each first sight and an environmental attribute for each first sight, and wherein generating a target play route for the user within the target scenic spot based on the favorite sights, the play time information, and the scenic spot information comprises:
acquiring environmental information during playing;
removing redundant scenic spots in the favorite scenic spots according to the environment information and the environment attributes to obtain the removed favorite scenic spots;
and generating the target playing route according to the removed favorite scenic spots, the recommended playing time length and the estimated total playing time length, wherein the target scenic spots are at least one of the removed favorite scenic spots, the total playing time length of the target playing route is less than or equal to the estimated total playing time length, and the total playing time length comprises the sum of the recommended playing time lengths of all the target scenic spots.
9. The method of claim 8, wherein the playing time information further includes a playing traffic pattern, the scenic spot information further includes a distance between first attractions, and the generating the target playing route based on the rejected favorite attractions, the recommended playing time and the estimated total playing time comprises:
acquiring the moving time between the first scenic spots according to the playing traffic mode and the distance between the first scenic spots;
obtaining at least one candidate playing route according to the removed favorite scenic spots, the recommended playing time length and the moving time between the first scenic spots, wherein each candidate route comprises a candidate scenic spot to be played and a candidate playing sequence of the candidate scenic spots, the candidate scenic spot is at least one of the removed favorite scenic spots, the total playing time length of the candidate route is less than or equal to the predicted total playing time length, and the total playing time length of the candidate route comprises the sum of the recommended playing time lengths of the candidate scenic spots and the sum of the moving times according to the candidate playing sequence;
respectively determining the sum of the preference degrees of the candidate scenic spots in each candidate playing route to obtain the route preference degree of each candidate playing route;
and taking the candidate playing route with the highest route preference as the target playing route.
10. A method for switching live content, comprising:
acquiring user information and scenic spot information of a target scenic spot played by a user, wherein the user information comprises scenic spot preference information and playing time information of the user;
acquiring the interest degree of the user for each first scenery spot according to the scenery spot preference information, and acquiring the matching degree of the user and each first scenery spot according to the scenery spot preference information;
determining the preference degree of the user to each first scenic spot according to the interest degree and the matching degree;
the favorite scenic spots of the user are screened out from the first scenic spots according to the favorite degrees;
generating a target playing route of the user in the target scene area according to the favorite scenic spots, the playing time information and the scene area information, wherein the target playing route comprises playing target scenic spots and a target playing sequence of the target scenic spots, and the target scenic spot is at least one of the favorite scenic spots;
and switching the live broadcast content according to the target playing route.
11. An apparatus for generating a play route, comprising:
the system comprises an information acquisition module, a scene area information acquisition module and a scene area information acquisition module, wherein the information acquisition module is used for acquiring user information and scene area information of a target scene area played by a user, and the user information comprises scenic spot preference information and playing time information of the user;
the preference degree acquisition module is used for acquiring the interest degree of the user on each first sight spot according to the sight spot preference information and acquiring the matching degree of the user and each first sight spot according to the sight spot preference information; determining the preference degree of the user to each first scenic spot according to the interest degree and the matching degree;
the screening module is used for screening favorite scenic spots of the user from the first scenic spots according to the favorite degrees;
and the route generating module is used for generating a target playing route of the user in the target scenic spot according to the favorite scenic spots, the playing time information and the scenic spot information, wherein the target playing route comprises playing target scenic spots and a target playing sequence of the target scenic spots, and the target scenic spot is at least one of the favorite scenic spots.
12. A device for switching live content, comprising:
the system comprises an information acquisition module, a scene area information acquisition module and a scene area information acquisition module, wherein the information acquisition module is used for acquiring user information and scene area information of a target scene area played by a user, and the user information comprises scenic spot preference information and playing time information of the user;
the preference degree acquisition module is used for acquiring the interest degree of the user on each first sight spot according to the sight spot preference information and acquiring the matching degree of the user and each first sight spot according to the sight spot preference information; determining the preference degree of the user to each first scenic spot according to the interest degree and the matching degree;
the screening module is used for screening favorite scenic spots of the user from first scenic spots according to the favorite degrees;
a route generating module, configured to generate a target playing route of the user in the target scenic spot according to the favorite scenic spots, the playing time information, and the scenic spot information, where the target playing route includes a playing target scenic spot and a target playing sequence of the target scenic spot, and the target scenic spot is at least one of the favorite scenic spots;
and the switching module is used for switching the live broadcast content according to the target playing route.
13. A terminal comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 10.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 10.
CN202111623505.XA 2021-12-28 2021-12-28 Method, device, terminal and storage medium for generating playing route and live broadcasting content Pending CN114493932A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111623505.XA CN114493932A (en) 2021-12-28 2021-12-28 Method, device, terminal and storage medium for generating playing route and live broadcasting content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111623505.XA CN114493932A (en) 2021-12-28 2021-12-28 Method, device, terminal and storage medium for generating playing route and live broadcasting content

Publications (1)

Publication Number Publication Date
CN114493932A true CN114493932A (en) 2022-05-13

Family

ID=81495872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111623505.XA Pending CN114493932A (en) 2021-12-28 2021-12-28 Method, device, terminal and storage medium for generating playing route and live broadcasting content

Country Status (1)

Country Link
CN (1) CN114493932A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117633372A (en) * 2024-01-25 2024-03-01 四川轻化工大学 Scenic spot playing path optimization method, system, terminal and medium based on Internet of things

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117633372A (en) * 2024-01-25 2024-03-01 四川轻化工大学 Scenic spot playing path optimization method, system, terminal and medium based on Internet of things
CN117633372B (en) * 2024-01-25 2024-04-09 四川轻化工大学 Scenic spot playing path optimization method, system, terminal and medium based on Internet of things

Similar Documents

Publication Publication Date Title
Lim et al. Personalized trip recommendation for tourists based on user interests, points of interest visit durations and visit recency
US9183497B2 (en) Performance-efficient system for predicting user activities based on time-related features
Liu et al. Categorisation of cultural tourism attractions by tourist preference using location-based social network data: The case of Central, Hong Kong
CN111177572B (en) Personalized travel route recommendation method based on dynamic interests of user
US9536202B2 (en) Identifying geospatial patterns from device data
CN105532030B (en) For analyzing the devices, systems, and methods of the movement of target entity
US9009093B1 (en) Deal scheduling based on user location predictions
KR20180008388A (en) Methods and systems for pushing orders
CN111442778A (en) Travel scheme recommendation method, device and equipment and computer readable storage medium
CN111582605B (en) Method and device for predicting destination site, electronic equipment and storage medium
CN103514251A (en) Information processing apparatus, information processing method, program, and information processing system
CN111831899B (en) Navigation interest point recommendation method, device, server and readable storage medium
US8892551B2 (en) Method and system of location-based content organization and content suggestions
US20140379476A1 (en) Method and data processing apparatus
CN117131268B (en) Itinerary recommendation method, equipment and medium based on street view map
KR20160123617A (en) Method for generating user-customized trip plan, user-customized trip plan generation server performing the same and storage medium storing the same
CN114493932A (en) Method, device, terminal and storage medium for generating playing route and live broadcasting content
CN114090898A (en) Information recommendation method and device, terminal equipment and medium
CN113312563A (en) Information recommendation method, device, equipment and storage medium
CN110245286B (en) travel recommendation method and device based on data mining
Kusnadi Tourism destination development strategy ready-to-visit post pandemi Covid-19 in Sariater Subang Jawa Barat
Artemenko et al. Using context analysys for providing real time recommendations in e-tourism mobile location-based recommender systems
CN114301973A (en) Information recommendation processing method and device
CN110347925A (en) Information processing method and computer readable storage medium
CN115577190A (en) Tourist behavior data extraction method

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