Bee theme museum immersive user experience system and method based on virtual reality
By collecting bee activity data and building passenger flow mapping equations, adjusting the virtual scene layout of the bee theme museum, the problem of unreasonable virtual scene settings is solved, improving the tourist experience and optimizing resource use.
Patent Information
- Application Number
- CN202510127471.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-05
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2045-02-05
AI Technical Summary
In the bee theme museum, if the number of virtual scenes is set up unreasonably, it may lead to overloading of tourist information or inability to fully display the bee ecosystem, affecting the experience and increasing resource waste or operating costs.
By collecting bee activity data, building an initial virtual scene set, setting the distribution parameter type, building a passenger flow mapping equation, adjusting the number of virtual scenes and distribution parameters to optimize the virtual scene layout of the bee theme museum.
A more reasonable virtual scene setting is achieved, the tourist experience is improved, resource waste and operation costs are reduced, and the passenger flow needs are met.
Smart Images

Figure CN119599837A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of user experience data analysis, and in particular, relates to an immersive user experience system and method for a bee theme museum based on virtual reality. Background Art
[0002] In the bee theme pavilion, setting up a certain number of virtual bee scenes reasonably is conducive to improving the customer experience; however, if the number of each virtual scene in the theme pavilion is unreasonable, it may cause tourists to feel information overload during the visit and find it difficult to digest and absorb. On the contrary, if there are too few virtual scenes, the bee ecosystem and related knowledge may not be fully displayed, affecting the tourists' visiting experience. If the number of each virtual scene is unreasonable, it may also lead to waste of resources or increased operating costs. Summary of the invention
[0003] In response to the problems in the related art, the present invention proposes an immersive user experience system and method for a bee theme museum based on virtual reality to overcome the above-mentioned technical problems existing in the existing related technology.
[0004] In order to solve the above technical problems, the present invention is achieved through the following technical solutions: The present invention is an immersive user experience method for a bee theme museum based on virtual reality, comprising the following steps: S1. Collecting bee activity data corresponding to multiple bee activity scene types to obtain a bee activity data matrix; According to the bee activity data matrix, a virtual scene is constructed to obtain an initial bee activity virtual scene set; S2, setting the distribution parameter types of multiple virtual scenes of bee activities in the bee theme museum to obtain a scene distribution parameter type set; According to the scene distribution parameter type set, multiple sets of virtual scene number data corresponding to various bee activity scene types in the existing bee theme museum, distribution parameter data in the bee theme museum, and visitor flow data are collected to construct a final bee theme museum visitor flow mapping equation; S3, collecting the number data of virtual scenes corresponding to each bee activity scene type in the currently initially arranged bee theme pavilion and the distribution parameter data in the bee theme pavilion according to the scene distribution parameter type set, and then adjusting the number data of virtual scenes and the distribution parameter data in the bee theme pavilion in conjunction with the final bee theme pavilion passenger flow mapping equation to obtain the current final virtual scene number data set and the current final distribution parameter data set; S4, arranging the virtual scene of the current bee theme pavilion according to the current final virtual scene number data set, the current final distribution parameter data set and the initial bee activity virtual scene set to obtain the current final arranged bee theme pavilion; adding details in the virtual scene of the current final arranged bee theme pavilion; Preferably, the S1 comprises the following steps: S11, setting multiple bee activity scene types to obtain a bee activity scene type set , a 1i Indicates the setting i Types of bee activity scenes, Indicates the total number of set bee activity scene types; collects corresponding bee activity data in reality according to the bee activity scene type set to obtain a bee activity data matrix ;as follows, ; in, Indicates the first i Types of bee activity scenes collected j The corresponding bee activity data, Indicates the first i The total number of bee activity data collected from various types of bee activity scenes; S12, inputting the bee activity data matrix into a virtual reality development platform to build a virtual scene, and obtaining an initial bee activity virtual scene set , a 2i Indicates that for i An initial bee activity virtual scene constructed by using various bee activity scene types; The types of bee activity scenes include bee social behavior, bee sleeping process, bee cleaning behavior, bee nesting process, bee foraging process, bee defense mechanism and bee migration process, etc. The bee activity data matrix includes individual bee data, such as bee species, age, gender, health status, etc.; environmental data, such as temperature, humidity, light, seasonal changes, etc.; social behavior data, such as communication methods between bees (such as dancing, vibration, chemical signals, etc.), division of labor and cooperation patterns (such as honey collection, nesting, raising young, etc.), group organization forms (such as the proportion and distribution of queen bees, worker bees, and drones, etc.); resource data, such as the distribution and abundance of food resources such as nectar and pollen; threat data, such as the existence and intensity of threat factors such as natural enemies, diseases, and parasites; The initial set of virtual scenes of bee activities includes virtual scenes of bee social behavior, virtual scenes of bee sleeping process, virtual scenes of bee cleaning behavior, virtual scenes of bee nesting process, virtual scenes of bee foraging process, virtual scenes of bee defense mechanism and virtual scenes of bee migration process.
[0005] Preferably, S2 comprises the following steps: S21. Set the distribution parameter types of multiple virtual scenes of bee activities in the bee theme museum to obtain a scene distribution parameter type set. , b 1i Indicates the setting i The distribution parameter types of the virtual scene of bee activities in the bee theme museum. Represents the total number of distribution parameter types of the virtual scene of bee activities in the set bee theme museum; According to the bee activity scene type set and scene distribution parameter type set, multiple sets of virtual scene number data corresponding to each bee activity scene type in the existing bee theme museum, distribution parameter data in the bee theme museum, and visitor flow data are collected to obtain the existing virtual scene number data matrix , existing distribution parameter data matrix And the existing visitor flow data set , Respectively represent the collected i The visitor flow data of the existing bee theme pavilion is compiled. Indicates the total number of existing bee-themed pavilions collected; , They are as follows: ; ; in, , Respectively represent the collected i The existing bee theme museum j The number of virtual scenes corresponding to the bee activity scene type and the i The first virtual scene of the existing bee theme museum j types of distribution parameter data; S22, using the existing virtual scene number data matrix, the existing distribution parameter data matrix and the existing visitor flow data set to construct a final bee theme pavilion visitor flow mapping equation; The scene distribution parameter types include the distribution density of the virtual scene, the size of the distribution area, etc.; the visitor flow data refers to the number of customers entering and leaving the bee theme museum within 24 hours.
[0006] Preferably, the S22 comprises the following steps: S221, constructing an initial bee theme museum visitor flow mapping equation according to the bee activity scene type set and the scene distribution parameter type set; as follows, ; In the formula, c 1 is the dependent variable of the initial bee theme museum passenger flow mapping equation, representing the bee theme museum passenger flow data; c 3i is the first equation of the initial bee theme museum visitor flow mapping equation i An independent variable represents the number of i The number of virtual scenes corresponding to the types of bee activity scenes, c 2i for c 3i The coefficient of the independent variable ; c 5i is the first equation of the initial bee theme museum visitor flow mapping equation An independent variable, representing the first virtual scene in the bee theme pavilion. i types of distribution parameter data, c 4i for c 5i The coefficient of the independent variable ; c 6 is the offset of the initial bee theme museum visitor flow mapping equation; S222: Input each row of data in the existing virtual scene number data matrix and the existing distribution parameter data matrix into the initial bee theme museum passenger flow mapping equation for mapping, and obtain the existing passenger flow initial mapping data set. , Indicates that the existing virtual scene number data matrix and the existing distribution parameter data matrix are i The row data is input into the initial bee theme museum passenger flow mapping equation for mapping to obtain the mapped passenger flow mapping data; S223, setting a threshold value for passenger flow mapping error; calculating the Euclidean distance between the existing passenger flow initial mapping data set and the existing visitor flow data set to obtain the initial existing visitor flow mapping error ; The calculation formula is as follows, ; When the initial existing visitor flow mapping error is greater than or equal to the visitor flow mapping error threshold, the initial bee theme museum visitor flow mapping equation is adjusted until the initial existing visitor flow mapping error is less than the visitor flow mapping error threshold, and the final bee theme museum visitor flow mapping equation is obtained; otherwise, there is no need to adjust the initial bee theme museum visitor flow mapping equation, and the initial bee theme museum visitor flow mapping equation is used as the final bee theme museum visitor flow mapping equation; By calculating the initial existing visitor flow mapping error, it can be determined whether the mapping accuracy of the current constructed initial bee theme museum visitor flow mapping equation meets the requirements, and then determine whether it is necessary to adjust the independent variable coefficient and bias of the initial bee theme museum visitor flow mapping equation; among them, by setting the visitor flow mapping error threshold, a quantitative judgment basis is provided for determining whether the mapping accuracy of the current constructed initial bee theme museum visitor flow mapping equation meets the requirements.
[0007] Preferably, S3 comprises the following steps: S31, setting the current bee theme museum; arranging each initial bee activity virtual scene in the initial bee activity virtual scene set in the current bee theme museum, and after the arrangement is completed, obtaining the current initially arranged bee theme museum; collecting the number data of virtual scenes corresponding to each bee activity scene type in the current initially arranged bee theme museum and the distribution parameter data in the bee theme museum according to the scene distribution parameter type set, and obtaining the current virtual scene number data set and the current distribution parameter dataset , , They represent the first i The number of virtual scenes corresponding to the bee activity scene type and the i types of distribution parameter data; S32, set the current passenger flow threshold; input the current virtual scene number data set and the current distribution parameter data set into the final bee theme hall passenger flow mapping equation for mapping, and obtain the current passenger flow mapping data ; When the current passenger flow mapping data is less than the current passenger flow threshold, the current virtual scene number data set and the current distribution parameter data set are adjusted until the current passenger flow mapping data is greater than or equal to the current passenger flow threshold, and the current final virtual scene number data set and the current final distribution parameter data set are obtained; otherwise, there is no need to adjust the current virtual scene number data set and the current distribution parameter data set, and the current virtual scene number data set and the current distribution parameter data set are used as the current final virtual scene number data set and the current final distribution parameter data set respectively; By setting the current passenger flow threshold, a quantitative basis is provided for determining whether the passenger flow data obtained by mapping the number data of virtual scenes in the current bee theme museum and the distribution parameter data meets the requirements, thereby determining whether the virtual scenes in the current bee theme museum need to be rearranged.
[0008] Preferably, adjusting the current virtual scene number data set and the current distribution parameter data set in S32 includes the following steps: S321, build current scene parameters to adjust butterfly population , Indicates that the current scene parameter adjusts the butterfly population i Butterfly, d 2 represents the scale of the butterfly population adjusted by the current scene parameters; the maximum number of iterations of adjusting the butterfly population by the current scene parameters is set to And the current number of iterations is , respectively, are recorded as the maximum number of iterations of scene adjustment and the current number of iterations of scene adjustment; the search space dimension of the butterfly population adjusted by the current scene parameter is ; S322, setting the value interval of each virtual scene number data in the current virtual scene number data set and each distribution parameter data in the current distribution parameter data set, and obtaining the current virtual scene number value interval set. And the current distribution parameter data value interval set ; They are as follows, ; ; in, , Respectively represent the number of virtual scenes in the current virtual scene number data set i The lower limit and upper limit of the number of virtual scenes; , Respectively represent the first i The lower and upper limits of the distribution parameter data; According to the current virtual scene number value interval set and the current distribution parameter data value interval set, the current scene parameters are set to adjust the initial position matrix of each butterfly in the butterfly population to obtain a second initial position matrix set , Indicates that the current scene parameter adjusts the butterfly population j The initial position matrix of the butterfly is as follows: ; in, , They represent the current scene parameter adjustment of the butterfly population. j The initial position matrix of the butterfly is the first in the current virtual scene number dataset. i The number of virtual scenes and the number of virtual scenes in the current distribution parameter data set i The dimension components of the distribution parameter data dimensions; the calculation formulas are as follows: ; ; In the formula, rand 2j1i , rand 2j2i Respectively for , Generate a random number between 0 and 1; ceil represents the rounding function; S323: Mapping data based on the current passenger flow Construct the fitness function of the butterfly population based on the current scene parameters e 2; as follows, ; S324, start iteration, before iteration, set the scene adjustment current iteration number to 1; in the first round of iteration, use the current scene parameters to adjust the fitness function of the butterfly population e 2. Calculate the fitness value of the initial position matrix of each butterfly in the second initial position matrix set in conjunction with the final bee theme museum passenger flow mapping equation to obtain a third fitness value set; use the maximum fitness in the third fitness value set and the corresponding initial position matrix of the butterfly as the third global optimal fitness and the third global optimal position respectively; update the initial position matrix of each butterfly in the second initial position matrix set according to the third global optimal fitness and the third global optimal position; after the update is completed, add 1 to the current iteration number of the scene adjustment and enter the next round of iteration; In each other round of iteration, the current scene parameters are used to adjust the fitness function of the butterfly population. e2. Calculate the fitness value of the position matrix of each butterfly in the butterfly population adjusted by the current scene parameters updated in the previous iteration process in conjunction with the final bee theme museum passenger flow mapping equation to obtain a fourth fitness value set; use the maximum fitness in the fourth fitness value set and the corresponding butterfly position matrix as the fourth global optimal fitness and the fourth global optimal position respectively; update the position matrix of each butterfly in the butterfly population adjusted by the current scene parameters updated in the previous iteration process according to the fourth global optimal fitness and the fourth global optimal position; after the update is completed, add 1 to the current iteration number of the scene adjustment and enter the next iteration; S325, when When , stop the iteration and get the second final global optimal position; otherwise, continue to iterate until until the time; the dimensional components of the second final global optimal position on the dimensions of each virtual scene number data in the current virtual scene number data set and each distribution parameter data in the current distribution parameter data set are respectively used as the current optimized virtual scene number data set and the current optimized distribution parameter data set; the current optimized virtual scene number data set and the current optimized distribution parameter data set are input into the final bee theme hall passenger flow mapping equation for mapping, and the current optimized passenger flow mapping data is obtained; When the current optimized passenger flow mapping data is greater than or equal to the current passenger flow threshold, the current optimized virtual scene number data set and the current optimized distribution parameter data set are used as the current final virtual scene number data set and the current final distribution parameter data set respectively; otherwise, return to S324 to continue iterating until the current optimized passenger flow mapping data is greater than or equal to the current passenger flow threshold; By adopting the butterfly optimization algorithm, the number data and distribution data of the virtual scenes of various bee activities in the current bee theme museum are iteratively adjusted for multiple times at the same time, and the new number data and distribution data of the virtual scenes of various bee activities in the current bee theme museum obtained by each adjustment are input into the final bee theme museum passenger flow mapping equation to obtain the passenger flow data as the fitness function. Therefore, with the progress of iterations, the new number data and distribution data of the virtual scenes of various bee activities in the current bee theme museum obtained by each adjustment are input into the final bee theme museum passenger flow mapping equation to obtain the passenger flow data that is mapped and becomes larger and larger, and finally the passenger flow requirements are met.
[0009] Preferably, S4 comprises the following steps: S41, rearranging the currently initially arranged bee theme pavilion according to the current final virtual scene number data set and the current final distribution parameter data set to obtain the currently finally arranged bee theme pavilion; S42, setting the previous threshold for number sorting ; Sort the current final virtual scene number data in the current final virtual scene number data set from large to small to obtain a sorted current virtual scene number data set; add the front virtual scene number in the sorted current virtual scene number data set The number of details in the virtual scene corresponding to each virtual scene number data; By adding details to several virtual scenes in the current Bee Theme Museum, most customers can have a better and detailed experience of the activities of bees, which will help further increase the number of customers visiting and experiencing the current Bee Theme Museum.
[0010] The immersive user experience system of the bee theme museum based on virtual reality includes a bee activity data collection module, a bee activity virtual collection construction module, a virtual scene distribution parameter type setting module, an existing bee theme museum data collection module, a passenger flow mapping equation construction module, a current bee theme museum virtual scene data collection module, a current passenger flow mapping module, a current bee theme museum virtual scene data adjustment module, a current bee theme museum virtual scene layout module and a virtual detail addition module; The bee activity data collection module is used to collect bee activity data corresponding to multiple bee activity scene types to obtain a bee activity data matrix; The bee activity virtual collection and construction module is used to construct a virtual scene according to the bee activity data matrix to obtain an initial bee activity virtual scene set; The virtual scene distribution parameter type setting module is used to set the distribution parameter types of multiple virtual scenes of bee activities in the bee theme museum to obtain a scene distribution parameter type set; The existing bee theme museum data collection module is used to collect multiple sets of virtual scene number data corresponding to various bee activity scene types in the existing bee theme museum, distribution parameter data in the bee theme museum, and visitor flow data according to the scene distribution parameter type set, to obtain an existing virtual scene number data matrix, an existing distribution parameter data matrix, and an existing visitor flow data set; The passenger flow mapping equation construction module is used to construct the final passenger flow mapping equation of the bee theme pavilion by using the existing virtual scene number data matrix, the existing distribution parameter data matrix and the existing visitor flow data set; The current bee theme pavilion virtual scene data acquisition module is used to collect the number data of virtual scenes corresponding to each bee activity scene type in the currently initially arranged bee theme pavilion and the distribution parameter data in the bee theme pavilion according to the scene distribution parameter type set, and obtain the current virtual scene number data set and the current distribution parameter data set; The current passenger flow mapping module is used to map the current virtual scene number data set and the current distribution parameter data set using the final bee theme hall passenger flow mapping equation to obtain the current passenger flow mapping data; The current bee theme pavilion virtual scene data adjustment module is used to adjust the current virtual scene number data set and the current distribution parameter data set according to the current passenger flow mapping data to obtain the current final virtual scene number data set and the current final distribution parameter data set; The current bee theme pavilion virtual scene arrangement module is used to arrange the virtual scene of the current bee theme pavilion according to the current final virtual scene number data set and the current final distribution parameter data set to obtain the current final arranged bee theme pavilion; The virtual detail adding module is used to add details in the virtual scene of the bee theme pavilion that is currently finally arranged.
[0011] The present invention has the following beneficial effects: 1. The present invention collects multiple groups of data on the number of virtual scenes corresponding to various types of bee activity scenes in existing bee theme pavilions, distribution parameter data in the bee theme pavilions, and visitor flow data, and constructs a mapping equation between the number of each virtual scene, the distribution parameter data in the bee theme pavilion, and the visitor flow data, and provides a mapping tool to make the adjustment process more efficient; and then adjusts the number of virtual collections and distribution parameters in the current bee theme pavilion in conjunction with the final bee theme pavilion visitor flow mapping equation to enhance the customer experience, thereby ensuring that its visitor flow meets the requirements.
[0012] 2. In the present invention, by setting a passenger flow mapping error threshold, a quantitative basis is provided for determining whether the mapping accuracy of the initial bee theme museum passenger flow mapping equation currently constructed meets the requirements.
[0013] 3. In the present invention, by setting the current passenger flow threshold, a quantitative basis is provided for determining whether the passenger flow data obtained by mapping the number data of virtual scenes in the current bee theme museum and the distribution parameter data meets the requirements, thereby determining whether the virtual scenes in the current bee theme museum need to be rearranged.
[0014] 4. In the present invention, the butterfly optimization algorithm is used to iteratively adjust the number data and distribution data of various virtual scenes of bee activities in the current bee theme museum for multiple times. As the iterations proceed, the passenger flow data corresponding to the new number data and distribution data of various virtual scenes of bee activities in the current bee theme museum obtained by each adjustment becomes larger and larger, ultimately meeting the passenger flow requirements.
[0015] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the invention, the drawings required for describing the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the invention. For ordinary technicians in this field, they can also obtain drawings based on these drawings without paying creative work.
[0017] Figure 1 The figure is a flow chart of the immersive user experience method of the bee theme museum based on virtual reality of the present invention. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the invention to clearly and completely describe the technical solutions in the embodiments of the invention. Obviously, the described embodiments are only part of the embodiments of the invention, not all of the embodiments. Based on the embodiments in the invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the invention.
[0019] Embodiment 1 See also Figure 1 , this embodiment is an immersive user experience method for a bee theme museum based on virtual reality, comprising the following steps: S1. Collecting bee activity data corresponding to multiple bee activity scene types to obtain a bee activity data matrix; According to the bee activity data matrix, a virtual scene is constructed to obtain an initial bee activity virtual scene set; The S1 comprises the following steps: S11, setting multiple bee activity scene types to obtain a bee activity scene type set , a 1i Indicates the setting i Types of bee activity scenes, Indicates the total number of set bee activity scene types; collects corresponding bee activity data in reality according to the bee activity scene type set to obtain a bee activity data matrix ;as follows, ; in, Indicates the first i Types of bee activity scenes collected j The corresponding bee activity data, Indicates the firsti The total number of bee activity data collected from various types of bee activity scenes; S12, inputting the bee activity data matrix into a virtual reality development platform to build a virtual scene, and obtaining an initial bee activity virtual scene set , a 2i Indicates that for i An initial bee activity virtual scene constructed by using various bee activity scene types; S2, setting the distribution parameter types of multiple virtual scenes of bee activities in the bee theme museum to obtain a scene distribution parameter type set; According to the scene distribution parameter type set, multiple sets of virtual scene number data corresponding to various bee activity scene types in the existing bee theme museum, distribution parameter data in the bee theme museum, and visitor flow data are collected to construct a final bee theme museum visitor flow mapping equation; The S2 comprises the following steps: S21. Set the distribution parameter types of multiple virtual scenes of bee activities in the bee theme museum to obtain a scene distribution parameter type set. , b 1i Indicates the setting i The distribution parameter types of the virtual scene of bee activities in the bee theme museum. Represents the total number of distribution parameter types of the virtual scene of bee activities in the set bee theme museum; According to the bee activity scene type set and scene distribution parameter type set, multiple sets of virtual scene number data corresponding to each bee activity scene type in the existing bee theme museum, distribution parameter data in the bee theme museum, and visitor flow data are collected to obtain the existing virtual scene number data matrix , existing distribution parameter data matrix And the existing visitor flow data set , Respectively represent the collected i The visitor flow data of the existing bee theme pavilion is compiled. Indicates the total number of existing bee-themed pavilions collected; , They are as follows: ; ; in, , Respectively represent the collected i The existing bee theme museum j The number of virtual scenes corresponding to the bee activity scene type and the iThe first virtual scene of the existing bee theme museum j types of distribution parameter data; S22, using the existing virtual scene number data matrix, the existing distribution parameter data matrix and the existing visitor flow data set to construct a final bee theme pavilion visitor flow mapping equation; The S22 comprises the following steps: S221, constructing an initial bee theme museum visitor flow mapping equation according to the bee activity scene type set and the scene distribution parameter type set; as follows, ; In the formula, c 1 is the dependent variable of the initial bee theme museum passenger flow mapping equation, representing the bee theme museum passenger flow data; c 3i is the first equation of the initial bee theme museum visitor flow mapping equation i An independent variable represents the number of i The number of virtual scenes corresponding to the types of bee activity scenes, c 2i for c 3i The coefficient of the independent variable ; c 5i is the first equation of the initial bee theme museum visitor flow mapping equation An independent variable, representing the first virtual scene in the bee theme pavilion. i types of distribution parameter data, c 4i for c 5i The coefficient of the independent variable ; c 6 is the offset of the initial bee theme museum visitor flow mapping equation; S222: Input each row of data in the existing virtual scene number data matrix and the existing distribution parameter data matrix into the initial bee theme museum passenger flow mapping equation for mapping, and obtain the existing passenger flow initial mapping data set. , Indicates that the existing virtual scene number data matrix and the existing distribution parameter data matrix are i The row data is input into the initial bee theme museum passenger flow mapping equation for mapping to obtain the mapped passenger flow mapping data; S223, setting a threshold value for passenger flow mapping error; calculating the Euclidean distance between the existing passenger flow initial mapping data set and the existing visitor flow data set to obtain the initial existing visitor flow mapping error ; The calculation formula is as follows, ; When the initial existing visitor flow mapping error is greater than or equal to the visitor flow mapping error threshold, the initial bee theme museum visitor flow mapping equation is adjusted until the initial existing visitor flow mapping error is less than the visitor flow mapping error threshold, and the final bee theme museum visitor flow mapping equation is obtained; otherwise, there is no need to adjust the initial bee theme museum visitor flow mapping equation, and the initial bee theme museum visitor flow mapping equation is used as the final bee theme museum visitor flow mapping equation; The adjustment of the initial bee theme museum visitor flow mapping equation in S223 includes the following steps: S2231. Construct the bee theme pavilion visitor flow mapping equation to adjust the butterfly population , The bee theme museum visitor flow mapping equation adjusts the butterfly population i Butterfly, d 1 represents the scale of the butterfly population adjusted by the passenger flow mapping equation of the bee theme pavilion; the maximum number of iterations of the passenger flow mapping equation of the bee theme pavilion to adjust the butterfly population is set to And the current number of iterations is , respectively recorded as the maximum number of iterations of equation adjustment and the current number of iterations of equation adjustment; the dimension of the search space for adjusting the butterfly population by the bee theme museum visitor flow mapping equation is ; S2232: Set the value interval of each independent variable coefficient and bias in the initial bee theme museum visitor flow mapping equation to obtain the independent variable coefficient value interval matrix And the bias value range , , They respectively represent the lower limit and the upper limit of the bias value in the initial bee theme museum visitor flow mapping equation; as follows, ; in, , They represent the first i The lower and upper limits of the coefficients of the independent variables; , They represent the first The lower and upper limits of the coefficients of the independent variables; According to the independent variable coefficient value interval matrix and the bias value interval, the bee theme pavilion visitor flow mapping equation is set to adjust the initial position matrix of each butterfly in the butterfly population to obtain the first initial position matrix set , The bee theme museum visitor flow mapping equation adjusts the butterfly population j The initial position matrix of the butterfly is as follows: ; in, , They represent the adjustment of the bee theme museum visitor flow mapping equation in the butterfly population. j The initial position matrix of the butterfly is in the first equation of the initial bee theme pavilion visitor flow mapping equation. i The coefficients of the independent variables and The position component on the dimension of the coefficient of the independent variable; The bee theme museum visitor flow mapping equation adjusts the butterfly population j The position component of the initial position matrix of each butterfly in the offset dimension of the initial bee theme museum visitor flow mapping equation; , , The calculation formulas are as follows: ; ; ; In the formula, rand 1j1i , rand 1j2i , rand 1j3 Respectively for , , Generate a random number between 0 and 1; S2233, mapping error according to the initial existing visitor flow Setting the bee theme museum visitor flow mapping equation to adjust the fitness function of the butterfly population e 1; as follows, ; S2234, start iteration, before iteration, set the current iteration number of the equation to 1; in the first round of iteration, use the bee theme museum visitor flow mapping equation to adjust the fitness function of the butterfly population e 1. Calculate the fitness value of the initial position matrix of each butterfly in the first initial position matrix set to obtain a first fitness value set; use the maximum fitness in the first fitness value set and the corresponding initial position matrix of the butterfly as the first global optimal fitness and the first global optimal position respectively; update the initial position matrix of each butterfly in the first initial position matrix set according to the first global optimal fitness and the first global optimal position; after the update is completed, adjust the current iteration number of the equation by 1 and enter the next round of iteration; In each other iteration process, the fitness function of the butterfly population is adjusted by using the bee theme museum visitor flow mapping equation e 1. Calculate the fitness value of the position matrix of each butterfly in the butterfly population adjusted by the passenger flow mapping equation of the bee theme museum updated in the previous iteration process to obtain a second fitness value set; take the maximum fitness in the second fitness value set and the corresponding butterfly position matrix as the second global optimal fitness and the second global optimal position respectively; update the position matrix of each butterfly in the butterfly population adjusted by the passenger flow mapping equation of the bee theme museum updated in the previous iteration process according to the second global optimal fitness and the second global optimal position; after the update is completed, add 1 to the current iteration number of the equation adjustment and enter the next iteration; S2235, when When , stop the iteration and get the first final global optimal position; otherwise, continue to iterate until ; Substitute each position component of the first final global optimal position into the initial bee theme museum passenger flow mapping equation to obtain the optimized bee theme museum passenger flow mapping equation; Input each row of the existing virtual scene number data matrix and the existing distribution parameter data matrix in S222 into the optimized bee theme museum passenger flow mapping equation for mapping, and obtain the optimized mapping data set of the existing passenger flow; Calculate the Euclidean distance between the optimized mapping data set of the existing passenger flow and the existing visitor flow data set to obtain the optimized mapping error of the existing visitor flow; When the optimized existing visitor flow mapping error is less than the visitor flow mapping error threshold, the optimized bee theme pavilion visitor flow mapping equation is used as the final bee theme pavilion visitor flow mapping equation; otherwise, return to S2234 to continue iterating until the optimized existing visitor flow mapping error is less than the visitor flow mapping error threshold; The butterfly optimization algorithm can be applied to a variety of optimization problems, such as function optimization, combinatorial optimization, etc.; the framework is simple and has fewer parameters; it has good global search capabilities and can effectively explore the solution space; based on the above advantages, the butterfly optimization algorithm is used in this scheme to iteratively adjust each independent variable coefficient and bias of the initial bee theme museum passenger flow mapping equation for multiple times, and the error value between the mapping data of the initial bee theme museum passenger flow mapping equation and the actual data is used as the fitness function; therefore, as the iteration proceeds, the error value between the mapping data of the initial bee theme museum passenger flow mapping equation and the actual data becomes smaller and smaller, and finally meets the accuracy requirement; S3, collecting the number data of virtual scenes corresponding to each bee activity scene type in the currently initially arranged bee theme pavilion and the distribution parameter data in the bee theme pavilion according to the scene distribution parameter type set, and then adjusting the number data of virtual scenes and the distribution parameter data in the bee theme pavilion in conjunction with the final bee theme pavilion passenger flow mapping equation to obtain the current final virtual scene number data set and the current final distribution parameter data set; The S3 comprises the following steps: S31, setting the current bee theme museum; arranging each initial bee activity virtual scene in the initial bee activity virtual scene set in the current bee theme museum, and after the arrangement is completed, obtaining the current initially arranged bee theme museum; collecting the number data of virtual scenes corresponding to each bee activity scene type in the current initially arranged bee theme museum and the distribution parameter data in the bee theme museum according to the scene distribution parameter type set, and obtaining the current virtual scene number data set and the current distribution parameter dataset , , They represent the first i The number of virtual scenes corresponding to the bee activity scene type and the i types of distribution parameter data; S32, set the current passenger flow threshold; input the current virtual scene number data set and the current distribution parameter data set into the final bee theme hall passenger flow mapping equation for mapping, and obtain the current passenger flow mapping data ; When the current passenger flow mapping data is less than the current passenger flow threshold, the current virtual scene number data set and the current distribution parameter data set are adjusted until the current passenger flow mapping data is greater than or equal to the current passenger flow threshold, and the current final virtual scene number data set and the current final distribution parameter data set are obtained; otherwise, there is no need to adjust the current virtual scene number data set and the current distribution parameter data set, and the current virtual scene number data set and the current distribution parameter data set are used as the current final virtual scene number data set and the current final distribution parameter data set respectively; The step of adjusting the current virtual scene number data set and the current distribution parameter data set in S32 includes the following steps: S321, build current scene parameters to adjust butterfly population , Indicates that the current scene parameter adjusts the butterfly population i Butterfly, d 2 represents the scale of the butterfly population adjusted by the current scene parameters; the maximum number of iterations of adjusting the butterfly population by the current scene parameters is set to And the current number of iterations is , respectively, are recorded as the maximum number of iterations of scene adjustment and the current number of iterations of scene adjustment; the search space dimension of the butterfly population adjusted by the current scene parameter is ; S322, setting the value interval of each virtual scene number data in the current virtual scene number data set and each distribution parameter data in the current distribution parameter data set, and obtaining the current virtual scene number value interval set. And the current distribution parameter data value interval set ; They are as follows, ; ; in, , Respectively represent the number of virtual scenes in the current virtual scene number data set i The lower limit and upper limit of the number of virtual scenes; , Respectively represent the first i The lower and upper limits of the distribution parameter data; According to the current virtual scene number value interval set and the current distribution parameter data value interval set, the current scene parameters are set to adjust the initial position matrix of each butterfly in the butterfly population to obtain a second initial position matrix set , Indicates that the current scene parameter adjusts the butterfly population j The initial position matrix of the butterfly is as follows: ; in, , They represent the current scene parameter adjustment of the butterfly population. j The initial position matrix of the butterfly is the first in the current virtual scene number dataset. i The number of virtual scenes and the number of virtual scenes in the current distribution parameter data set i The dimension components of the distribution parameter data dimensions; the calculation formulas are as follows: ; ; In the formula, rand 2j1i , rand 2j2i Respectively for , Generate a random number between 0 and 1; ceil represents the rounding function; S323: Mapping data based on the current passenger flow Construct the fitness function of the butterfly population based on the current scene parameters e 2; as follows, ; S324, start iteration, before iteration, set the scene adjustment current iteration number to 1; in the first round of iteration, use the current scene parameters to adjust the fitness function of the butterfly population e 2. Calculate the fitness value of the initial position matrix of each butterfly in the second initial position matrix set in conjunction with the final bee theme museum passenger flow mapping equation to obtain a third fitness value set; use the maximum fitness in the third fitness value set and the corresponding initial position matrix of the butterfly as the third global optimal fitness and the third global optimal position respectively; update the initial position matrix of each butterfly in the second initial position matrix set according to the third global optimal fitness and the third global optimal position; after the update is completed, add 1 to the current iteration number of the scene adjustment and enter the next round of iteration; In each other round of iteration, the current scene parameters are used to adjust the fitness function of the butterfly population. e 2. Calculate the fitness value of the position matrix of each butterfly in the butterfly population adjusted by the current scene parameters updated in the previous iteration process in conjunction with the final bee theme museum passenger flow mapping equation to obtain a fourth fitness value set; use the maximum fitness in the fourth fitness value set and the corresponding butterfly position matrix as the fourth global optimal fitness and the fourth global optimal position respectively; update the position matrix of each butterfly in the butterfly population adjusted by the current scene parameters updated in the previous iteration process according to the fourth global optimal fitness and the fourth global optimal position; after the update is completed, add 1 to the current iteration number of the scene adjustment and enter the next iteration; S325, when When , stop the iteration and get the second final global optimal position; otherwise, continue to iterate until until the time; the dimensional components of the second final global optimal position on the dimensions of each virtual scene number data in the current virtual scene number data set and each distribution parameter data in the current distribution parameter data set are respectively used as the current optimized virtual scene number data set and the current optimized distribution parameter data set; the current optimized virtual scene number data set and the current optimized distribution parameter data set are input into the final bee theme hall passenger flow mapping equation for mapping, and the current optimized passenger flow mapping data is obtained; When the current optimized passenger flow mapping data is greater than or equal to the current passenger flow threshold, the current optimized virtual scene number data set and the current optimized distribution parameter data set are used as the current final virtual scene number data set and the current final distribution parameter data set respectively; otherwise, return to S324 to continue iterating until the current optimized passenger flow mapping data is greater than or equal to the current passenger flow threshold; S4, arranging the virtual scene of the current bee theme pavilion according to the current final virtual scene number data set, the current final distribution parameter data set and the initial bee activity virtual scene set to obtain the current final arranged bee theme pavilion; adding details in the virtual scene of the current final arranged bee theme pavilion; The S4 comprises the following steps: S41, rearranging the currently initially arranged bee theme pavilion according to the current final virtual scene number data set and the current final distribution parameter data set to obtain the currently finally arranged bee theme pavilion; S42, setting the previous threshold for number sorting ; Sort the current final virtual scene number data in the current final virtual scene number data set from large to small to obtain a sorted current virtual scene number data set; add the front virtual scene number in the sorted current virtual scene number data set The number of details in the virtual scene corresponding to the virtual scene number data.
[0020] Embodiment 2 This embodiment discloses an immersive user experience system of a bee theme museum based on virtual reality, and the system can implement the method of the above embodiment, including a bee activity data collection module, a bee activity virtual collection construction module, a virtual scene distribution parameter type setting module, an existing bee theme museum data collection module, a passenger flow mapping equation construction module, a current bee theme museum virtual scene data collection module, a current passenger flow mapping module, a current bee theme museum virtual scene data adjustment module, a current bee theme museum virtual scene layout module and a virtual detail adding module; The bee activity data collection module is used to collect bee activity data corresponding to multiple bee activity scene types to obtain a bee activity data matrix; The bee activity virtual collection and construction module is used to construct a virtual scene according to the bee activity data matrix to obtain an initial bee activity virtual scene set; The virtual scene distribution parameter type setting module is used to set the distribution parameter types of multiple virtual scenes of bee activities in the bee theme museum to obtain a scene distribution parameter type set; The existing bee theme museum data collection module is used to collect multiple sets of virtual scene number data corresponding to various bee activity scene types in the existing bee theme museum, distribution parameter data in the bee theme museum, and visitor flow data according to the scene distribution parameter type set, to obtain an existing virtual scene number data matrix, an existing distribution parameter data matrix, and an existing visitor flow data set; The passenger flow mapping equation construction module is used to construct the final passenger flow mapping equation of the bee theme pavilion by using the existing virtual scene number data matrix, the existing distribution parameter data matrix and the existing visitor flow data set; The current bee theme pavilion virtual scene data acquisition module is used to collect the number data of virtual scenes corresponding to each bee activity scene type in the currently initially arranged bee theme pavilion and the distribution parameter data in the bee theme pavilion according to the scene distribution parameter type set, and obtain the current virtual scene number data set and the current distribution parameter data set; The current passenger flow mapping module is used to map the current virtual scene number data set and the current distribution parameter data set using the final bee theme hall passenger flow mapping equation to obtain the current passenger flow mapping data; The current bee theme pavilion virtual scene data adjustment module is used to adjust the current virtual scene number data set and the current distribution parameter data set according to the current passenger flow mapping data to obtain the current final virtual scene number data set and the current final distribution parameter data set; The current bee theme pavilion virtual scene arrangement module is used to arrange the virtual scene of the current bee theme pavilion according to the current final virtual scene number data set and the current final distribution parameter data set to obtain the current final arranged bee theme pavilion; The virtual detail adding module is used to add details in the virtual scene of the bee theme pavilion that is currently finally arranged.
[0021] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0022] The preferred embodiments of the invention disclosed above are only used to help explain the invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the invention, so that those skilled in the art can understand and use the invention well.
Claims
1. An immersive user experience method for a bee theme pavilion based on virtual reality, characterized in that: The following steps are involved: S1. Collecting bee activity data corresponding to multiple bee activity scene types to obtain a bee activity data matrix; According to the bee activity data matrix, a virtual scene is constructed to obtain an initial bee activity virtual scene set; S2, setting the distribution parameter types of multiple virtual scenes of bee activities in the bee theme museum to obtain a scene distribution parameter type set; According to the scene distribution parameter type set, multiple sets of virtual scene number data corresponding to various bee activity scene types in the existing bee theme museum, distribution parameter data in the bee theme museum, and visitor flow data are collected to construct a final bee theme museum visitor flow mapping equation; S3, collecting the number data of virtual scenes corresponding to each bee activity scene type in the currently initially arranged bee theme pavilion and the distribution parameter data in the bee theme pavilion according to the scene distribution parameter type set, and then adjusting the number data of virtual scenes and the distribution parameter data in the bee theme pavilion in conjunction with the final bee theme pavilion passenger flow mapping equation to obtain the current final virtual scene number data set and the current final distribution parameter data set; S4. Arrange the virtual scene of the current bee theme pavilion according to the current final virtual scene number data set, the current final distribution parameter data set and the initial bee activity virtual scene set to obtain the current final arranged bee theme pavilion; increase the details of the virtual scene in the current final arranged bee theme pavilion.
2. The immersive user experience method of the bee theme museum based on virtual reality according to claim 1 is characterized in that: The S1 comprises the following steps: S11, setting a plurality of bee activity scene types to obtain a bee activity scene type set; collecting corresponding bee activity data in reality according to the bee activity scene type set to obtain a bee activity data matrix; S12, inputting the bee activity data matrix into a virtual reality development platform to build a virtual scene, and obtaining an initial bee activity virtual scene set.
3. The immersive user experience method of the bee theme museum based on virtual reality according to claim 2 is characterized in that: The S2 comprises the following steps: S21, setting a plurality of distribution parameter types of virtual scenes of bee activities in a bee theme museum to obtain a scene distribution parameter type set; According to the bee activity scene type set and the scene distribution parameter type set, multiple groups of virtual scene number data corresponding to each bee activity scene type in the existing bee theme museum, distribution parameter data in the bee theme museum, and visitor flow data are collected to obtain an existing virtual scene number data matrix, an existing distribution parameter data matrix, and an existing visitor flow data set; S22, using the existing virtual scene number data matrix, the existing distribution parameter data matrix and the existing visitor flow data set to construct a final bee theme museum visitor flow mapping equation.
4. The immersive user experience method of the bee theme museum based on virtual reality according to claim 3 is characterized in that: The S22 comprises the following steps: S221, constructing an initial bee theme museum visitor flow mapping equation according to the bee activity scene type set and the scene distribution parameter type set; S222, inputting each row of data in the existing virtual scene number data matrix and the existing distribution parameter data matrix into the initial bee theme museum passenger flow mapping equation for mapping, and obtaining an initial mapping data set of existing passenger flow; S223, setting a passenger flow mapping error threshold; calculating the Euclidean distance between the existing passenger flow initial mapping data set and the existing visitor flow data set to obtain the initial existing visitor flow mapping error; When the initial existing visitor flow mapping error is greater than or equal to the visitor flow mapping error threshold, the initial bee theme museum visitor flow mapping equation is adjusted until the initial existing visitor flow mapping error is less than the visitor flow mapping error threshold, and the final bee theme museum visitor flow mapping equation is obtained; otherwise, there is no need to adjust the initial bee theme museum visitor flow mapping equation, and the initial bee theme museum visitor flow mapping equation is used as the final bee theme museum visitor flow mapping equation.
5. The immersive user experience method of the bee theme museum based on virtual reality according to claim 4 is characterized by: In S223, the initial bee theme museum visitor flow mapping equation is adjusted using a butterfly optimization algorithm.
6. The immersive user experience method of the bee theme museum based on virtual reality according to claim 5 is characterized in that: The S3 comprises the following steps: S31, setting the current bee theme museum; arranging each initial bee activity virtual scene in the initial bee activity virtual scene set in the current bee theme museum, and after the arrangement is completed, obtaining the current initially arranged bee theme museum; collecting the number data of virtual scenes corresponding to each bee activity scene type in the current initially arranged bee theme museum and the distribution parameter data in the bee theme museum according to the scene distribution parameter type set, and obtaining the current virtual scene number data set and the current distribution parameter data set; S32, set the current passenger flow threshold; input the current virtual scene number data set and the current distribution parameter data set into the final Bee Theme Museum passenger flow mapping equation for mapping, and obtain the current passenger flow mapping data; when the current passenger flow mapping data is less than the current passenger flow threshold, adjust the current virtual scene number data set and the current distribution parameter data set until the current passenger flow mapping data is greater than or equal to the current passenger flow threshold, and obtain the current final virtual scene number data set and the current final distribution parameter data set; otherwise, there is no need to adjust the current virtual scene number data set and the current distribution parameter data set, and use the current virtual scene number data set and the current distribution parameter data set as the current final virtual scene number data set and the current final distribution parameter data set, respectively.
7. The immersive user experience method of the bee theme museum based on virtual reality according to claim 6 is characterized in that: The step of adjusting the current virtual scene number data set and the current distribution parameter data set in S32 includes the following steps: S321, constructing the current scene parameter adjustment butterfly population; setting the maximum number of iterations of the current scene parameter adjustment butterfly population to And the current number of iterations is , respectively recorded as the maximum number of iterations of scene adjustment and the current number of iterations of scene adjustment; S322, setting the value interval of each virtual scene number data in the current virtual scene number data set and each distribution parameter data in the current distribution parameter data set to obtain a current virtual scene number value interval set and a current distribution parameter data value interval set; setting the current scene parameter to adjust the initial position matrix of each butterfly in the butterfly population according to the current virtual scene number value interval set and the current distribution parameter data value interval set to obtain a second initial position matrix set; S323, constructing a fitness function for adjusting the butterfly population based on the current scene parameters according to the current passenger flow mapping data; S324, start iteration, and set the current iteration number of the scene adjustment to 1 before iteration; in each round of iteration, use the current scene parameter to adjust the fitness function of the butterfly population and cooperate with the final bee theme museum passenger flow mapping equation to calculate the fitness value of the position matrix of each butterfly in the butterfly population adjusted by the current scene parameter updated in the previous round of iteration, and update the position matrix of each butterfly in the butterfly population adjusted by the current scene parameter updated in the previous round of iteration; S325, when When , stop the iteration and get the second final global optimal position; otherwise, continue to iterate until until the time; the dimensional components of the second final global optimal position on the dimensions of each virtual scene number data in the current virtual scene number data set and each distribution parameter data in the current distribution parameter data set are respectively used as the current optimized virtual scene number data set and the current optimized distribution parameter data set; the current optimized virtual scene number data set and the current optimized distribution parameter data set are input into the final bee theme hall passenger flow mapping equation for mapping, and the current optimized passenger flow mapping data is obtained; When the current optimized passenger flow mapping data is greater than or equal to the current passenger flow threshold, the current optimized virtual scene number data set and the current optimized distribution parameter data set are used as the current final virtual scene number data set and the current final distribution parameter data set respectively; otherwise, return to S324 to continue iterating until the current optimized passenger flow mapping data is greater than or equal to the current passenger flow threshold.
8. The immersive user experience method of the bee theme museum based on virtual reality according to claim 7 is characterized in that: The S4 comprises the following steps: S41, rearranging the currently initially arranged bee theme pavilion according to the current final virtual scene number data set and the current final distribution parameter data set to obtain the currently finally arranged bee theme pavilion; S42, setting the previous threshold for number sorting ; Sort the current final virtual scene number data in the current final virtual scene number data set from large to small to obtain a sorted current virtual scene number data set; add the front virtual scene number in the sorted current virtual scene number data set The number of details in the virtual scene corresponding to the virtual scene number data.
9. A system for implementing the virtual reality-based immersive user experience method of a bee theme museum as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Intelligent group motion simulation method in virtual scene
CN102693550A
AR virtual honey extraction interactive experience system and method, electronic equipment and storage medium
CN111694427A
Privacy protection and behavior recognition association statistical modeling method based on bee visual bionics
CN115019387A
Virtual scenario generator
US20080103794A1