Scenic spot guiding method and device and storage medium
By optimizing the guide route allocation and splitting mechanism in AR technology, the problem of low visitor experience in tourist attractions has been solved, resulting in a more efficient tour experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-13
- Publication Date
- 2026-03-10
AI Technical Summary
Existing AR technology lacks support for the visitor experience in tourist attraction tours, resulting in a poor overall experience.
By determining the number of tourists corresponding to each of the multiple preset guided tour routes, the target preset guided tour routes for tourists traveling together are allocated, and at preset locations, it is decided whether to split the tourists based on tourist preferences and location dispersion indicators, thereby optimizing the guided tour routes.
It reduced congestion on the tour route, took into account the needs of fellow tourists, and improved the overall tour experience for the group.
Smart Images

Figure CN121638602A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the field of augmented reality technology, and in particular, to a scenic spot guide method and device and a storage medium. BACKGROUND
[0002] Augmented reality (AR) technology is a new interactive technology that fuses virtual information with the real world, and has shown application potential in the field of tourist attraction guide. Through AR technology, tourists can see virtual information combined with real scenes in the tourist attraction in real time through terminal devices such as mobile phones or smart glasses when visiting the tourist attraction, thereby enriching the level of experience and interest of the tour. Specifically, AR technology can provide tourists with historical and cultural background introduction, lively scene restoration images, intuitive route guidance, multi-lingual real-time translation, and immersive virtual interaction, etc. For example, when a tourist stops at a historical site, the tourist can watch the historical scene or restoration image of the site through the AR device, thereby helping the tourist better understand and perceive the changes in history, significantly improving the cognitive efficiency of the tourist, and enhancing the attraction and satisfaction of the tour process.
[0003] In the prior art, the AR technology-based scenic spot guide scheme is used to improve the independent experience of a single tourist, such as determining the location of the tourist and triggering the corresponding scenic spot explanation video, or calling the AR virtual background or decoration template corresponding to the real-time location information of the tourist to intelligently fuse with the image taken by the tourist in real time. However, the service mode lacks experience support for tourists in the same group, thereby reducing the tour experience of the tourist group. SUMMARY
[0004] The scenic spot guide method, device and storage medium provided by the present disclosure aim to solve the technical problem of low tour experience of a tourist group in the prior art.
[0005] According to a first aspect of an embodiment of the present disclosure, a scenic spot guide method is provided, the method comprising: determining a first number of tourists corresponding to each of a plurality of preset guide routes; determining a first target preset guide route allocated to a first target tourist based on the first number of tourists corresponding to each of the plurality of preset guide routes, wherein the first target tourist has a same tourist identifier, and a second number of tourists of the first target tourist is greater than or equal to 2; determining whether to split the first target tourist when the first target tourist visits a preset position of the first target preset guide route; if it is determined to split the first target tourist, splitting the first target tourist into each second target tourist, and determining a second target preset guide route remaining for each second target tourist.
[0006] Optionally, in the embodiments of the present disclosure, the first target preset tour route allocated to the first target tourist is determined based on a first number of tourists corresponding to each of the preset tour routes, and the method comprises the following steps: a preset tour route corresponding to the least first number of tourists is determined as the first target preset tour route; the first target preset tour route is allocated to the first target tourist, and a first number of tourists corresponding to the first target preset tour route is updated based on a second number of tourists of the first target tourist.
[0007] Optionally, in the embodiments of the present disclosure, the determination of whether to split the first target tourist comprises the following steps: a scenic spot preference type of the first target tourist is determined; if a number of scenic spot preference types of all the first target tourists is greater than a preset number, a location dispersion index of the first target tourist and a maximum visual distance of the first target preset tour route are determined; if the location dispersion index is greater than the maximum visual distance, it is determined to split the first target tourist.
[0008] Optionally, in the embodiments of the present disclosure, the determination of the scenic spot preference type of the first target tourist comprises the following steps: a first interest degree of the first target tourist in each scenic spot before the preset position is determined; a second interest degree of the first target tourist in different scenic spot types is determined based on the first interest degree of the first target tourist in each scenic spot; a target interest degree of the first target tourist is determined based on the second interest degree of the first target tourist in different scenic spot types; if the target interest degree of the first target tourist is greater than a preset threshold, a scenic spot type corresponding to a maximum value of the second interest degree is determined as the scenic spot preference type of the first target tourist; if the target interest degree of the first target tourist is less than or equal to the preset threshold, it is determined that the first target tourist has no scenic spot preference type.
[0009] Optionally, in the embodiments of the present disclosure, the determination of the location dispersion index of the first target tourist and the maximum visual distance of the first target preset tour route comprises the following steps: a first time difference and a first average speed of the first target tourist to each scenic spot before the preset position are determined; an average value of the first time difference and the first average speed of each scenic spot is calculated respectively to obtain a corresponding second time difference and a second average speed; a product of the second time difference and the second average speed is determined as a position dispersion index of the first target tourist; a maximum visual distance of the first target preset tour route is determined based on preset points before the preset position.
[0010] Optionally, in the embodiments of the present disclosure, the determining of the first time difference and the first average speed of the first target tourist before reaching each of the preset points before the preset position includes: determining a target order of the first target tourist reaching the preset points before the preset position; determining a third time difference of the first target tourist reaching each of the preset points based on the target order; sorting the third time difference, and calculating the first time difference and the first average speed corresponding to the third time difference of the preset proportion in front; repeating the above steps to determine the first time difference and the first average speed of the first target tourist before reaching each of the preset points.
[0011] Optionally, in the embodiments of the present disclosure, the determining of the maximum visual distance of the first target preset tour route based on the preset points before the preset position includes: determining each turning point before the preset position, and determining the turning point as a preset point; calculating a straight-line distance between two adjacent preset points; determining an average value of all the straight-line distances as the maximum visual distance of the first target preset tour route.
[0012] Optionally, in the embodiments of the present disclosure, the splitting of the first target tourist into each second target tourist includes splitting the first target tourist based on a scenic spot preference type of the first target tourist to obtain each second target tourist after splitting.
[0013] According to a second aspect of the embodiments of the present disclosure, a scenic spot tour guiding device is provided, and the device includes: a first determining module configured to determine a first tourist number corresponding to each of a plurality of preset tour routes; a second determining module configured to determine a first target preset tour route allocated to a first target tourist based on the first tourist number corresponding to each of the preset tour routes, wherein the first target tourist has a same tourist identifier, and a second tourist number of the first target tourist is greater than or equal to 2; a third determining module configured to determine whether to split the first target tourist when the first target tourist visits a preset position of the first target preset tour route; The splitting module is configured to split the first target tourist into second target tourists if it is determined that the first target tourist is to be split, and determine second target preset tour routes remaining for each of the second target tourists.
[0014] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; The processor is configured to implement the method described in the first aspect.
[0015] According to a fourth aspect of the embodiments of the present disclosure, a non-transitory computer storage medium is provided, which stores computer-executable instructions; the computer-executable instructions, when executed by a processor, can implement the method described in the first aspect.
[0016] According to a fifth aspect of the embodiments of the present disclosure, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the method described in the first aspect.
[0017] The technical solutions provided by the embodiments of the present disclosure can include the following beneficial effects: The method, device and storage medium provided by the present disclosure can determine the first target preset tour route allocated to the first target tourist based on the first tourist quantity corresponding to each preset tour route, and split the first target tourist into second target tourists when it is determined that the first target tourist is to be split, thereby reducing the congestion degree of the tour route and taking into account the needs of tourists traveling together, and improving the tour experience of the tourist group.
[0018] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS The accompanying drawings, which are incorporated herein and constitute part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, further serve to explain the principles of the present disclosure.
[0019] Figure 1 is a flowchart of a method for guiding a scenic spot according to some embodiments of the present disclosure; Figure 2 is a flowchart of a method for guiding a scenic spot according to some embodiments of the present disclosure; Figure 3 is a flowchart of a method for guiding a scenic spot according to some embodiments of the present disclosure; Figure 4 is a flowchart of a method for guiding a scenic spot according to some embodiments of the present disclosure; Figure 5 is a structural diagram of a device for guiding a scenic spot according to some embodiments of the present disclosure; Figure 6 is a block diagram of an electronic device suitable for executing a method for guiding a scenic spot according to some embodiments of the present disclosure. DETAILED DESCRIPTION
[0020] Some embodiments of the present disclosure will be described in detail herein with reference to the attached drawings. The description of the embodiments below refers to the accompanying drawings, which show by way of example the principles of the present disclosure. The description of the embodiments is not intended to limit the scope of the present disclosure, and the scope of the present disclosure is defined by the appended claims. The same reference numbers in different drawings represent the same or similar elements.
[0021] The implementations described below in some embodiments of the present disclosure do not represent all implementations consistent with the present disclosure. Instead, they are merely examples consistent with some aspects of the present disclosure as detailed in the appended claims.
[0022] Figure 1 is a flowchart of a method for guiding a scenic spot according to some embodiments of the present disclosure, as shown in Figure 1 the method can include the following steps: Step 101, determining a first number of visitors corresponding to each of a plurality of preset guide routes.
[0023] It should be noted that the execution subject of the above-mentioned scenic spot guide method is a scenic spot guide device, which can be realized by software and / or hardware. The scenic spot guide device in this embodiment can be configured in an electronic device.
[0024] In this example embodiment, the electronic device can include terminal equipment and server equipment, and the embodiment does not limit the electronic device.
[0025] In the embodiments of the present disclosure, each scenic area can have multiple preset guide routes to reasonably distribute tourists and avoid congestion. In the embodiments of the present disclosure, the preset guide route can be a compromise route that takes into account the popularity of the scenic spot, the balance of the scenic spot type, the tour time, and the tourist physical strength. In the embodiments of the present disclosure, the preset guide route can be a pre-configured fixed route.
[0026] In the embodiments of the present disclosure, each tourist is assigned an AR device when entering the scenic area, and the number of tourists currently corresponding to each preset guide route is determined. The preset guide route corresponding to the smallest number of tourists is assigned to the tourists to avoid tourist congestion and improve the tourist experience.
[0027] In the embodiments of the present disclosure, after assigning the preset guide route to the tourists, the number of tourists corresponding to the preset guide route can be updated to real-time count the first number of tourists corresponding to each preset guide route.
[0028] Step 102, based on the first number of tourists corresponding to each preset guide route, determine the first target preset guide route assigned to the first target tourist.
[0029] In the embodiments of the present disclosure, the first target tourist is a plurality of tourists traveling together. Based on this, the first target tourist has the same tourist identifier, and the second number of tourists of the first target tourist is greater than or equal to 2. For example, a family of three will be assigned three AR devices and the same tourist identifier, or multiple AR devices of a tour group will be assigned the same tourist identifier.
[0030] In the embodiments of the present disclosure, after determining the first number of tourists corresponding to each preset guide route through the above steps, the first target preset guide route assigned to the first target tourist can be determined based on the first number of tourists corresponding to each preset guide route, so that tourists traveling together can start touring the scenic spot under the guidance of the same guide route, meeting the needs of tourists traveling together, while avoiding congestion.
[0031] In the embodiments of the present disclosure, the method of determining the first target preset guide route assigned to the first target tourist based on the first number of tourists corresponding to each preset guide route can include the following steps: Step 1021, determining the preset tour route corresponding to the least number of first tourists as a first target preset tour route.
[0032] Step 1022, assigning the first target preset tour route to the first target tourists, and updating the first target preset tour route corresponding to the first number of tourists based on the second number of tourists of the first target tourists.
[0033] Step 103, determining whether to split the first target tourists when the first target tourists visit the preset position of the first target preset tour route.
[0034] In the embodiments of the present disclosure, after the first target preset tour route is assigned to the first target tourists through the above steps, the first target tourists can visit according to the first target preset tour route, and when the first target tourists visit the preset position of the first target preset tour route, it is determined whether to split the first target tourists, so as to take into account the needs of tourists traveling together and improve the visiting experience of the tourist group.
[0035] In the embodiments of the present disclosure, the above-mentioned preset position can be set as needed, such as 1 / 3 of the first target preset tour route.
[0036] In the embodiments of the present disclosure, the method of determining whether to split the first target tourists can include: determining the types of scenic spot preferences of the first target tourists; if the number of types of scenic spot preferences of all first target tourists is greater than a preset number, determining the position dispersion index of the first target tourists and the maximum visual distance of the first target preset tour route; if the position dispersion index is greater than the maximum visual distance, determining to split the first target tourists.
[0037] In the embodiments of the present disclosure, the above-mentioned preset number can be set as needed, such as a preset number of 1, that is, if the number of types of scenic spot preferences of all first target tourists is greater than 1, it means that there are different types of scenic spot preferences (such as natural landscape type and cultural landscape type) in the first target tourists, and then the position dispersion index of the first target tourists and the maximum visual distance of the first target preset tour route are determined.
[0038] In the embodiments of the present disclosure, if the position dispersion index of the first target tourists is greater than the maximum visual distance of the first target preset tour route, it means that part of the first target tourists have left the team visual range, at this time, the part of the tourists do not have the need to travel together, and then it is determined to split the first target tourists; if the position dispersion index of the first target tourists is less than or equal to the maximum visual distance of the first target preset tour route, it means that most of the first target tourists are still within the team visual range, at this time, the first target tourists still have the need to travel together, and then it is determined not to split the first target tourists.
[0039] Step 104, if it is determined to split the first target tourist, split the first target tourist into each second target tourist, and determine the second target preset tour route remaining for each second target tourist.
[0040] In the embodiments of the present disclosure, if it is determined to split the first target tourist through the above steps, the first target tourist is split into each second target tourist, and the second target preset tour route remaining for each second target tourist is determined.
[0041] In the embodiments of the present disclosure, the method of splitting the first target tourist into each second target tourist can include splitting the first target tourist based on the scenic spot preference type of the first target tourist to obtain each second target tourist after splitting. Specifically, in the embodiments of the present disclosure, the first target tourist with the same scenic spot preference type can be divided into the same tourist group to obtain the corresponding second target tourist.
[0042] In the embodiments of the present disclosure, after splitting the first target tourist into each second target tourist through the above steps, the remaining tour route can be optimized for each second target tourist according to the scenic spot preference type of the second target tourist to obtain the second target preset tour route, and the second target preset tour route is distributed to the corresponding second target tourist.
[0043] In the embodiments of the present disclosure, if the scenic spot preference type of the second target tourist is no scenic spot preference, the remaining tour route does not need to be optimized for the second target tourist.
[0044] The present disclosure proposes a scenic spot tour method, which includes determining the first tourist quantity corresponding to each preset tour route in a plurality of preset tour routes; determining the second tourist quantity of a first target tourist, wherein the first target tourist has the same tourist identifier, and the second tourist quantity of the first target tourist is greater than or equal to 2; determining the first target preset tour route distributed to the first target tourist based on the first tourist quantity corresponding to each preset tour route; determining whether to split the first target tourist when the first target tourist visits the preset position of the first target preset tour route; if it is determined to split the first target tourist, splitting the first target tourist into each second target tourist, and determining the second target preset tour route remaining for each second target tourist. Thus, the present disclosure can determine the first target preset tour route distributed to the first target tourist based on the first tourist quantity corresponding to each preset tour route, and split the first target tourist into each second target tourist when it is determined to split the first target tourist, thereby reducing the congestion degree of the tour route and taking into account the needs of tourists traveling together, and improving the tour experience of the tourist group.
[0045] In the embodiments of the present disclosure, as a refinement of step 103, as shown in Figure 2 , it can also include: Step 201, determining the scenic spot preference type of the first target tourist.
[0046] In the embodiment of the present disclosure, the stay time of the first target tourist at different scenic spot types and the interaction index of the AR device (such as the case where the first target tourist clicks the AR device to obtain a language introduction of the scenic spot) can be collected, and the scenic spot preference type of the first target tourist is determined according to the stay time and the interaction index.
[0047] For example, in the embodiment of the present disclosure, it is assumed that the first target tourist includes A, B, C, D, E, F, G, H, and I, and the scenic spot preference types of A, B, D, and F are natural landscape types, the scenic spot preference types of E, H, and I are humanistic landscape types, and C and G have no landscape preference.
[0048] Step 202, if the number of scenic spot preference types of all first target tourists is greater than a preset number, determining the location dispersion index of the first target tourist and the maximum visual distance of the first target preset tour route.
[0049] In the embodiment of the present disclosure, after determining the scenic spot preference types of all first target tourists through the above steps, the number of scenic spot preference types of all first target tourists can be determined, and if the number of scenic spot preference types of all first target tourists is greater than a preset number, the location dispersion index of the first target tourist and the maximum visual distance of the first target preset tour route are determined, so as to determine whether to split the first target tourist.
[0050] In the embodiment of the present disclosure, the above-mentioned preset number can be set as needed, such as 1.
[0051] For example, in the embodiment of the present disclosure, the number of corresponding scenic spot preference types of the first target tourist A, B, C, D, E, F, G, H, and I is 3, which is greater than the preset number 1, so the location dispersion index of the first target tourist and the maximum visual distance of the first target preset tour route are determined.
[0052] Step 203, if the location dispersion index is greater than the maximum visual distance, determining to split the first target tourist.
[0053] In the embodiment of the present disclosure, after determining the location dispersion index of the first target tourist and the maximum visual distance of the first target preset tour route through the above steps, the location dispersion index and the maximum visual distance can be compared, and if the location dispersion index is greater than the maximum visual distance, it is determined to split the first target tourist.
[0054] In the embodiments of the present disclosure, the first target tourist can be split based on the scenic spot preference type and the position dispersion index of the first target tourist, and the maximum visual distance of the first target preset tour route, so as to take into account the needs of the accompanying tourists and improve the tour experience of the tourist group.
[0055] In the embodiments of the present disclosure, as a refinement of step 201, as shown in Figure 3 may also include: Step 301, determining a first interest degree of the first target tourist to each scenic spot before the preset position.
[0056] In the embodiments of the present disclosure, the method for determining the first interest degree of the first target tourist to each scenic spot before the preset position can include determining the first interest degree of the first target tourist to each scenic spot before the preset position by using an interest degree formula, wherein the interest degree formula is:
[0057]
[0058] wherein, is the stay time of the first target tourist i at the scenic spot j, is the average stay time of the historical user at the scenic spot j, is a normalization function, is the interaction index of the first target tourist i at the scenic spot j, and are weight coefficients.
[0059] Step 302, determining a second interest degree of the first target tourist to different scenic spot types based on the first interest degree of the first target tourist to each scenic spot.
[0060] In the embodiments of the present disclosure, after determining the first interest degree of the first target tourist to each scenic spot by using the above steps, the second interest degree of the first target tourist to different scenic spot types can be determined based on the first interest degree of the first target tourist to each scenic spot, so as to determine the scenic spot preference type of the first target tourist.
[0061] In the embodiments of the present disclosure, the method for determining the second interest degree of the first target tourist to different scenic spot types based on the first interest degree of the first target tourist to each scenic spot can include determining the first interest degree of the first target tourist to each scenic spot under different scenic spot types, and determining the average value of the first interest degree of each scenic spot under different scenic spot types as the second interest degree of the different scenic spot types.
[0062] Step 303, determining the target interest degree of the first target tourist based on the second interest degrees of the first target tourist to different types of scenic spots.
[0063] In the embodiments of the present disclosure, the method for determining the target interest degree of the first target tourist based on the second interest degrees of the first target tourist to different types of scenic spots can include: calculating the standard deviation of the second interest degrees of the first target tourist to different types of scenic spots, and determining the standard deviation as the target interest degree of the first target tourist.
[0064] Step 304, if the target interest degree of the first target tourist is greater than a preset threshold, determining the type of scenic spot corresponding to the maximum value of the second interest degree as the scenic spot preference type of the first target tourist.
[0065] In the embodiments of the present disclosure, if the target interest degree of the first target tourist is greater than the preset threshold, it means that the first target tourist has a scenic spot preference, and the type of scenic spot corresponding to the maximum value of the second interest degree is determined as the scenic spot preference type of the first target tourist.
[0066] In the embodiments of the present disclosure, the preset threshold can be set as needed.
[0067] Step 305, if the target interest degree of the first target tourist is less than or equal to the preset threshold, determining that the scenic spot preference type of the first target tourist is no scenic spot type preference.
[0068] In the embodiments of the present disclosure, if the target interest degree of the first target tourist is less than or equal to the preset threshold, it means that the interest degree of the first target tourist to each type of scenic spot is relatively balanced, and the scenic spot preference type of the first target tourist is determined to be no scenic spot type preference.
[0069] In the embodiments of the present disclosure, the scenic spot preference type of the first target tourist can be determined through the above steps, so that whether to split the first target tourist can be determined according to the scenic spot preference type of the first target tourist in the future, so as to take into account the needs of the accompanying tourists and improve the tour experience of the tourist group.
[0070] In the embodiments of the present disclosure, as a refinement of step 202, as shown in Figure 4 , it can also include: Step 401, determining the first time difference and the first average speed of each scenic spot before the first target tourist arrives at the preset location.
[0071] In the embodiments of the present disclosure, the method for determining the first time difference and the first average speed of each scenic spot before the first target tourist arrives at the preset location can include the following steps: Step 4011, determining the target order of the scenic spots before the first target tourist arrives at the preset location.
[0072] For example, in the embodiments of the present disclosure, it is assumed that the first target tourist arrives at the scenic spot j in the order of B, D, A, E, F, G, I, C, and H, and B, D, A, E, F, G, I, C, and H are determined as the target order of the scenic spot j.
[0073] Step 4012, based on the target order, the third time difference of the first target tourist arriving at each other is determined.
[0074] For example, in the embodiments of the present disclosure, according to the above target order, the third time difference of B and D arriving, the third time difference of D and A arriving, the third time difference of A and E arriving, and the like are calculated, and the third time difference of the first target tourist arriving at each other is obtained.
[0075] Step 4013, the third time difference is sorted, and the first time difference and the first average speed corresponding to the third time difference in the front of the preset proportion are calculated.
[0076] In the embodiments of the present disclosure, after the third time difference is obtained through the above steps, the third time difference can be sorted in descending order, and the average value of the third time difference in the front of the preset proportion of the obtained sorting result is determined as the first time difference.
[0077] In the embodiments of the present disclosure, the above preset proportion can be set as needed, such as 30%.
[0078] In the embodiments of the present disclosure, the walking distance can be determined through the above obtained step number corresponding to the third time difference in the front of the preset proportion and the preset step length, the second average speed corresponding to the third time difference is obtained through the walking distance / third time difference, and the average value of the obtained second average speed is determined as the first average speed.
[0079] Step 4014, repeat the above steps 4011~4013 to determine the first time difference and the first average speed of each scenic spot before the first target tourist arrives at the preset position.
[0080] In the embodiments of the present disclosure, after the first time difference and the first average speed of each scenic spot before the first target tourist arrives at the preset position are determined through the above steps, the position dispersion index of the first target tourist can be determined according to the first time difference and the first average speed of each scenic spot before the first target tourist arrives at the preset position.
[0081] Step 402, the average value of the first time difference and the first average speed of each scenic spot is calculated respectively, and the corresponding second time difference and second average speed are obtained.
[0082] In the embodiments of the present disclosure, after the first time difference and the first average speed of each scenic spot are obtained through the above steps, the average value of the first time difference and the first average speed of each scenic spot can be calculated respectively to obtain the corresponding second time difference M and second average speed V.
[0083] In the embodiments of the present disclosure, after the second time difference M and the second average speed V are determined through the above steps, the product of the second time difference and the second average speed MxV can be determined as the position dispersion index of the first target tourist.
[0084] In the embodiments of the present disclosure, after the second time difference M and the second average speed V are determined through the above steps, the product of the second time difference and the second average speed MxV can be determined as the position dispersion index of the first target tourist.
[0085] In the embodiments of the present disclosure, after the second time difference M and the second average speed V are determined through the above steps, the product of the second time difference and the second average speed MxV can be determined as the position dispersion index of the first target tourist.
[0086] In the embodiments of the present disclosure, the method for determining the maximum visual distance of the first target preset tour route based on the preset points before the preset position can include the following steps: Step 4041, each turning point before the preset position is determined, and the turning point is determined as a preset point.
[0087] Step 4042, the straight line distance between two adjacent preset points is calculated.
[0088] Step 4043, the average value of all straight line distances is determined as the maximum visual distance of the first target preset tour route.
[0089] In the embodiments of the present disclosure, after the position dispersion index of the first target tourist and the maximum visual distance of the first target preset tour route are determined through the above steps, whether the first target tourist is split can be determined according to the position dispersion index of the first target tourist and the maximum visual distance of the first target preset tour route, so as to take into account the needs of tourists traveling together and improve the tour experience of the tourist group.
[0090] Figure 5 A scenic tour guide device is shown according to some embodiments of the present disclosure, as shown in the figure, the device can include: Figure 5 The first determination module 501 is configured to determine the first number of tourists corresponding to each preset tour route in a plurality of preset tour routes. The second determination module 502 is configured to determine a first target preset tour route allocated to a first target tourist based on the first number of tourists corresponding to each preset tour route, wherein the first target tourist has the same tourist identifier, and the second number of tourists of the first target tourist is greater than or equal to 2. The third determining module 503 is configured to determine whether to split the first target tourist when the first target tourist visits the preset position of the first target preset tour route. The splitting module 504 is configured to split the first target tourist into the second target tourists and determine the second target preset tour routes of the second target tourists, if it is determined to split the first target tourist.
[0091] In the embodiments of the present disclosure, the second determining module 502 is specifically configured to: determine the preset tour route corresponding to the least number of first tourists as the first target preset tour route; allocate the first target preset tour route to the first target tourist, and update the number of first tourists corresponding to the first target preset tour route based on the number of second tourists of the first target tourist.
[0092] Optionally, in the embodiments of the present disclosure, the third determining module 503 is specifically configured to: determine the scene preference type of the first target tourist; if the number of scene preference types of all the first target tourists is greater than a preset number, determine the position dispersion index of the first target tourist and the maximum visual distance of the first target preset tour route; if the position dispersion index is greater than the maximum visual distance, determine to split the first target tourist.
[0093] Optionally, in the embodiments of the present disclosure, the third determining module 503 is further configured to: determine the first interest degree of the first target tourist to each scene before the preset position; determine the second interest degree of the first target tourist to different scene types based on the first interest degree of the first target tourist to each scene; determine the target interest degree of the first target tourist based on the second interest degree of the first target tourist to different scene types; if the target interest degree of the first target tourist is greater than a preset threshold, determine the scene type corresponding to the maximum second interest degree as the scene preference type of the first target tourist; if the target interest degree of the first target tourist is less than or equal to the preset threshold, determine that the first target tourist has no scene preference type.
[0094] Optionally, in the embodiments of the present disclosure, the third determining module 503 is further configured to: determine the first time difference and the first average speed of the first target tourist to each scene before the preset position; respectively calculate the average values of the first time difference and the first average speed of each scene to obtain the corresponding second time difference and second average speed. A product of the second time difference and the second average speed is determined as a position dispersion index of the first target tourist; A maximum visual distance of the first target preset tour route is determined based on preset points before the preset position.
[0095] Optionally, in the embodiments of the present disclosure, the third determining module 503 is further configured to: determine a target order in which the first target tourist reaches the preset positions in sequence; determine a third time difference in which the first target tourist reaches each other in sequence based on the target order; sort the third time difference, and calculate a first time difference and a first average speed corresponding to the third time difference of the preset proportion in front; repeat the above steps to determine the first time difference and the first average speed of the first target tourist reaching each scenic spot before the preset position in sequence.
[0096] Optionally, in the embodiments of the present disclosure, the third determining module 503 is further configured to: determine each turning point before the preset position, and determine the turning point as a preset point; calculate a straight line distance between two adjacent preset points; determine an average value of all straight line distances as the maximum visual distance of the first target preset tour route.
[0097] Optionally, in the embodiments of the present disclosure, the splitting module 504 is specifically configured to: split the first target tourist based on the scenic spot preference type of the first target tourist to obtain each second target tourist after splitting.
[0098] As shown in Figure 6 The electronic device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded into a random access memory (RAM) 603 from a storage unit 608. In the RAM 603, various programs and data required for the operation of the electronic device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0099] A plurality of components in the electronic device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a magnetic disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the electronic device 600 to exchange information / data with other electronic devices through a computer network, such as the Internet, and / or various telecommunication networks.
[0100] The computing unit 601 can be various general and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 601 performs various methods and processes described above, such as the attraction guide method. For example, in some embodiments, the attraction guide method can be implemented as a computer software program, which is tangibly embodied in a machine-readable medium, such as the storage unit 608. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded onto the RAM 603 and executed by the computing unit 601, one or more steps of the attraction guide method described above can be performed. Alternatively, in other embodiments, the computing unit 601 can be configured to perform the attraction guide method by any other appropriate means, such as by means of firmware.
[0101] Various implementations of the devices and techniques described above herein can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application-specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic electronic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable apparatus including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage apparatus, at least one input apparatus, and at least one output apparatus.
[0102] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces the functions / operations specified in the flowcharts and / or block diagrams. The program code can be executed entirely on a machine, partially on a machine, partially on a machine as a stand-alone software package, partially on a machine and partially on a remote machine or entirely on a remote machine or server.
[0103] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or electronic device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or electronic device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more of: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0104] To provide for interaction with a user, the devices and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0105] The apparatus and techniques described herein can be implemented in a computing device which includes a back end component (e.g., as a data server), or which includes a middleware component (e.g., an application server), or which includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the apparatus and techniques described herein), or any combination of such back end, middleware, or front end components. The components of the apparatus can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.
[0106] The computer device can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service ("Virtual Private Server", or simply "VPS"). The server can also be a server of a distributed device, or a server combined with a blockchain.
[0107] It should be understood that various forms of flow shown above can be used with reordering, adding or deleting steps. For example, the steps recited in the present disclosure can be performed in parallel, in series, or in different orders, as long as the desired results of the technical solutions of the present disclosure can be achieved, which are not limited herein.
[0108] The above detailed description does not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.
Claims
1. An attraction guide method characterized by comprising: The method comprises: determining a first number of tourists corresponding to each of a plurality of preset tour routes; based on the first number of tourists corresponding to each of the preset tour routes, determining a first target preset tour route allocated to a first target tourist, wherein the first target tourist has a same tourist identifier, and a second number of tourists of the first target tourist is greater than or equal to 2; when the first target tourist visits a preset position of the first target preset tour route, determining whether to split the first target tourist; if it is determined to split the first target tourist, splitting the first target tourist into each second target tourist, and determining a second target preset tour route remaining for each second target tourist.
2. The method of claim 1, wherein, The method comprises: determining a first target preset tour route corresponding to a first number of tourists of the first target tourist; allocating the first target preset tour route to the first target tourist, and updating the first number of tourists corresponding to the first target preset tour route based on the second number of tourists of the first target tourist.
3. The method of claim 1, wherein, The method comprises: determining a scenic spot preference type of the first target tourist; if a number of scenic spot preference types of all the first target tourists is greater than a preset number, determining a position dispersion index of the first target tourist and a maximum visual distance of the first target preset tour route; if the position dispersion index is greater than the maximum visual distance, determining to split the first target tourist.
4. The method of claim 3, wherein, The method comprises: determining a first interest degree of the first target tourist to each scenic spot before the preset position; based on the first interest degree of the first target tourist to each scenic spot, determining a second interest degree of the first target tourist to different scenic spot types; based on the second interest degree of the first target tourist to different scenic spot types, determining a target interest degree of the first target tourist; if the target interest degree of the first target tourist is greater than a preset threshold, determining a scenic spot type corresponding to a maximum value of the second interest degree as the scenic spot preference type of the first target tourist; if the target interest degree of the first target tourist is less than or equal to the preset threshold, determining that the first target tourist has no scenic spot preference type.
5. The method of claim 3, wherein, The method comprises: determining a first time difference and a first average speed of the first target tourist to each scenic spot before reaching the preset position; respectively calculating an average value of the first time difference and the first average speed of each scenic spot to obtain a second time difference and a second average speed; determining a product of the second time difference and the second average speed as the position dispersion index of the first target tourist; Determine the maximum visual distance of the first target preset tour route based on preset points before the preset position.
6. The method of claim 5, wherein, The determination of the first time difference and the first average speed of the first target tourist to reach each scenic spot before the preset position includes: Determine the target order of the first target tourist to reach each scenic spot before the preset position; Determine the third time difference of the first target tourist to reach each scenic spot before the preset position; Sort the third time difference and calculate the first time difference and the first average speed corresponding to the third time difference of the front preset proportion; Repeat the above steps to determine the first time difference and the first average speed of the first target tourist to reach each scenic spot before the preset position.
7. The method of claim 5, wherein, The determination of the maximum visual distance of the first target preset tour route based on preset points before the preset position includes: Determine each turning point before the preset position and determine the turning point as a preset point; Calculate the straight-line distance between two adjacent preset points; Determine the maximum visual distance of the first target preset tour route based on the average value of all straight-line distances.
8. The method of claim 3, wherein, The splitting of the first target tourist into each second target tourist includes splitting the first target tourist based on the scenic spot preference type of the first target tourist to obtain each second target tourist after splitting.
9. An attraction guide device, characterized by comprising: The device includes: A first determination module for determining the first number of tourists corresponding to each preset tour route in a plurality of preset tour routes; A second determination module for determining the first target preset tour route allocated to the first target tourist based on the first number of tourists corresponding to each preset tour route, wherein the first target tourist has the same tourist identification, and the second number of tourists of the first target tourist is greater than or equal to 2; A third determination module for determining whether to split the first target tourist when the first target tourist visits the preset position of the first target preset tour route; A splitting module for splitting the first target tourist into each second target tourist and determining the remaining second target preset tour route of each second target tourist if it is determined to split the first target tourist.
10. A non-transitory computer storage medium, the computer storage medium storing computer executable instructions; the computer executable instructions are executed by a processor to implement the method of any one of claims 1-8.