CN115577572B - Fountain control method based on computer aided design - Google Patents

Fountain control method based on computer aided design Download PDF

Info

Publication number
CN115577572B
CN115577572B CN202211562257.7A CN202211562257A CN115577572B CN 115577572 B CN115577572 B CN 115577572B CN 202211562257 A CN202211562257 A CN 202211562257A CN 115577572 B CN115577572 B CN 115577572B
Authority
CN
China
Prior art keywords
fountain
tourist
category
activity level
position information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211562257.7A
Other languages
Chinese (zh)
Other versions
CN115577572A (en
Inventor
于海影
许栩
李霞
赵玉斌
张文宾
王进财
张宇辉
游雅
王锐刚
赵宇铮
孙金钱
徐建朋
运雪军
高夏子
鞠晓雪
李金凤
李静
车德影
李旭
苏鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Anhai Zhiyi Garden Ancient Construction Engineering Co ltd
Original Assignee
Beijing Anhai Zhiyi Garden Ancient Construction Engineering Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Anhai Zhiyi Garden Ancient Construction Engineering Co ltd filed Critical Beijing Anhai Zhiyi Garden Ancient Construction Engineering Co ltd
Priority to CN202211562257.7A priority Critical patent/CN115577572B/en
Publication of CN115577572A publication Critical patent/CN115577572A/en
Application granted granted Critical
Publication of CN115577572B publication Critical patent/CN115577572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B05SPRAYING OR ATOMISING IN GENERAL; APPLYING FLUENT MATERIALS TO SURFACES, IN GENERAL
    • B05BSPRAYING APPARATUS; ATOMISING APPARATUS; NOZZLES
    • B05B17/00Apparatus for spraying or atomising liquids or other fluent materials, not covered by the preceding groups
    • B05B17/08Fountains
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/762Arrangements for image or video recognition or understanding using pattern recognition or machine learning using clustering, e.g. of similar faces in social networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/764Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/77Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Computer Hardware Design (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of computer aided design, and provides a fountain control method based on computer aided design, which comprises the following steps: acquiring tourist position information, fountain position information and fountain related parameters in a scenic spot; respectively carrying out simulation on the fountain position information and the tourist position information to obtain a fountain graph structure and a tourist graph structure, carrying out graph clustering on the tourist graph structure, and obtaining a plurality of tourist categories; acquiring a first starting threshold value of each fountain according to the number of starting persons of all activity levels of each fountain, which are larger than the current activity level, and the number of first tourists in an effective range; acquiring the simulated turn-on probability of each fountain according to the distance between each fountain and each tourist category, the relative direction difference and the number of second tourists of each tourist category; and comparing the simulated opening probability with a first opening threshold value to control each fountain in the scenic spot. The invention aims to solve the problem that the attraction of the existing scenic spot fountain which is opened and is not considered as a landscape to tourists is solved.

Description

Fountain control method based on computer aided design
Technical Field
The invention relates to the field of computer aided design, in particular to a fountain control method based on computer aided design.
Background
Computer aided design is a cross-technology subject including interactive technology, graph transformation technology, simulation technology, etc., and traditional computer aided design is often applied to industrial design, such as designing mechanical drawings by CAD, etc. However, with the development of graphic technology and the demands of different fields, computer-aided design has a wider application field, for example, scenic spots and the like are designed by using the computer-aided technology, but the existing computer-aided design only performs planning, layout, modeling and rendering in a virtual scene constructed by a computer, for example, lumion software for landscape design, marvelous Designer software for game and clothing design and the like cannot perform automatic interaction and automatic aided design with real scene data.
In order to make the computer aided design technology better meet the development and various requirements of the prior art, a method capable of automatically analyzing scene data according to scene requirements and then realizing automatic aided design needs to be provided.
Disclosure of Invention
The invention provides a fountain control method based on computer aided design, which aims to solve the problem that the existing fountain is started without considering the attractiveness of the fountain as a landscape to tourists, and adopts the following technical scheme:
one embodiment of the invention provides a fountain control method based on computer aided design, which comprises the following steps:
acquiring tourist position information, fountain position information and fountain related parameters in a scenic spot; the fountain related parameters comprise the activity level of each fountain in the scenic spot, the effective range of each activity level of each fountain and the number of opening persons of each activity level of each fountain;
respectively carrying out simulation on the fountain position information and the tourist position information to obtain a fountain graph structure and a tourist graph structure, and carrying out graph clustering on the tourist graph structure according to the number of nodes in the fountain graph structure to obtain a plurality of tourist categories;
acquiring a first starting threshold value of each fountain according to the number of starting persons of all activity levels of each fountain, which are larger than the current activity level, and the number of first tourists in the effective range of all activity levels, which are larger than the current activity level;
obtaining the simulated opening probability of each fountain according to the distance between each fountain and each tourist category, the relative direction difference between each fountain and each tourist category and the number of second tourists of each tourist category;
and performing interactive control on each fountain in the scenic spot according to a comparison result of the simulated opening probability of each fountain obtained by computer simulation and the first opening threshold.
Optionally, the obtaining of the plurality of classes of tourists includes a specific method that:
and carrying out graph clustering on the tourist map structure by adopting a Grignard-Newman algorithm, selecting a graph to cluster to form a clustering result with the smallest difference between the number of the classes and the number of nodes of the fountain map structure, and taking the clustering result as a plurality of classes in the obtained clustering result, namely a plurality of tourist classes.
Optionally, the obtaining the first starting threshold of each fountain includes the specific method:
Figure 829007DEST_PATH_IMAGE002
wherein,
Figure DEST_PATH_IMAGE003
indicates the fifth->
Figure 553381DEST_PATH_IMAGE004
A first opening threshold of a fountain>
Figure DEST_PATH_IMAGE005
For the next higher activity level of the current state of the fountain, is based on>
Figure 160686DEST_PATH_IMAGE006
Indicates the fifth->
Figure 677118DEST_PATH_IMAGE004
The first fountain>
Figure 127822DEST_PATH_IMAGE005
Number of persons on each activity level>
Figure DEST_PATH_IMAGE007
Indicates that the fountain is on>
Figure 385497DEST_PATH_IMAGE005
Number of first visitors in the active range of the individual activity level->
Figure 970062DEST_PATH_IMAGE008
Represents the number of activity levels of the fountain>
Figure DEST_PATH_IMAGE009
Indicates that the fountain is on>
Figure 747525DEST_PATH_IMAGE010
Number of persons on each activity level>
Figure DEST_PATH_IMAGE011
Indicates that the fountain is on>
Figure 916601DEST_PATH_IMAGE010
A first number of guests of an active range of activity levels.
Optionally, the relative direction difference between each fountain and each tourist category is obtained by the following specific method:
the method comprises the steps of obtaining a track sequence of each tourist according to position information of each tourist, obtaining a principal component direction and a corresponding characteristic value of each tourist through a PCA algorithm, selecting the direction with the largest characteristic value as a principal direction of the tourist, adding principal direction vectors of all the tourists in each tourist category as a first advancing direction of each tourist category, obtaining a second advancing direction of a centroid of each tourist category pointing to each fountain, and taking a difference value between the first advancing direction and the second advancing direction corresponding to each fountain as a relative direction difference between each fountain and each tourist category.
Optionally, the obtaining of the simulated turn-on probability of each fountain includes the specific method:
Figure DEST_PATH_IMAGE013
wherein,
Figure 68096DEST_PATH_IMAGE014
indicates the fifth->
Figure 456352DEST_PATH_IMAGE004
Simulated turn-on probability for a fountain>
Figure DEST_PATH_IMAGE015
Represents the number of guest categories in which the graph is clustered, and>
Figure 822743DEST_PATH_IMAGE016
indicates the fifth->
Figure DEST_PATH_IMAGE017
A second guest number in a guest category, greater than or equal to>
Figure 849472DEST_PATH_IMAGE018
Indicates the fifth->
Figure 425947DEST_PATH_IMAGE017
Each guest category and +>
Figure 211369DEST_PATH_IMAGE004
Distance between several fountains>
Figure DEST_PATH_IMAGE019
Is the first->
Figure 697845DEST_PATH_IMAGE004
Fountain and a fifth +>
Figure 739881DEST_PATH_IMAGE017
The relative directional differences of the individual classes of guests, device for selecting or keeping>
Figure 538073DEST_PATH_IMAGE020
Normalization processing representing a difference in relative direction>
Figure DEST_PATH_IMAGE021
An exponential function with a natural constant as the base is shown.
The technical scheme of the invention at least has the following beneficial effects:
by clustering the visitor nodes at every moment every other time period, categories close to the number of the fountains are obtained, and the method is favorable for obtaining the fountain nodes corresponding to different visitors, and reflects the congregation of the visitors (people often go out or visit congregation, such as a person going out or a tourist group) compared with the method for directly calculating the corresponding fountain nodes of each visitor, and is favorable for better simulation of the actual situation through a computer; by calculating the trend that the tourists point to each fountain, the tourist number limiting condition of each fountain is weakened according to the trend, the tourists are attracted to gather in one area, the starting index of the fountain in a higher mode is reached, the user experience can be improved, and the scenic spot goodness contribution degree of the fountain landscape is improved.
By means of a computer aided design land method, an interaction model is designed by combining position distribution of tourists in a scenic area and scenic spot interaction data such as a fountain in the scenic area, interaction control of the tourists and the scenic area is achieved, the functions of automatically analyzing scene data according to scene requirements and then achieving automatic aided design are achieved, the requirements of the tourists on automatic interaction of the scenic area are improved, and user experience is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a fountain control method based on computer aided design according to a second embodiment of the present invention;
fig. 2 is a simplified schematic diagram of a directional coordinate system.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The first embodiment provided by the invention is as follows:
step S101, collecting data in a scene needing computer aided design.
In this embodiment, a scenic spot is described as an example of a computer aided design object, and interactive objects existing in the scenic spot are tourists and scenic spot objects, where the scenic spot objects include exhibition halls, sculptures, fountain, lights, flowers, plants, trees, and the like in the scenic spot.
It should be noted that, in order to perform computer-aided design on a scenic spot, a virtual scene of the scenic spot needs to be constructed in advance, that is, a terrain object and a scenery object of the scenic spot are established into a virtual three-dimensional scene and then are imported into computer-aided design software, the commonly used computer-aided software is traditional CAD and special Lumion for garden landscape design, but the invention adopts an illusion 5 game Engine (Unreal Engine 5) with a great design freedom and functionality, and the game Engine is not only used for game design and movie design, but also suitable for other fields of computer-aided design.
The embodiment firstly needs to acquire the position information of the tourists; specifically, the tourist position information can be obtained by tracking through a handheld terminal or a camera, the handheld terminal is used for explaining scenic spots of a user, meanwhile, the user can ask questions through the terminal to reach an area where the user wants to go, and meanwhile, a GPS positioning chip is embedded in the terminal, so that the tourist position information can be obtained; the camera tracking is carried out on the images acquired by the scenic spot cameras, because the actual coordinate position of each camera is known, the tourist areas on the images are obtained through person identification, then the target tourist image coordinate system acquired by the cameras is converted into the world coordinate system through the existing method, the conversion function in the OpenCV library can be adopted for realizing, the position information of the tourists is further obtained, and the position information of the tourists is imported into computer aided design software.
It should be noted that, because the scenery spot objects are fixed in the virtual scene in the computer aided design software, the positions of the scenery spot objects in the virtual scene can be directly obtained.
Because the scenic spot object needs to interact with the tourist, interaction parameters need to be designed for the scenic spot object in computer aided design software, for example, for buildings such as exhibition halls, the interaction parameters are designed to be the opening and closing of a gate or a window, the indoor temperature and humidity, the indoor and outdoor light intensity and the like; for the fountain, the interaction parameters are activity levels, the number of opening people of each activity level and the like, and for flowers, plants, trees, statues and the like, the corresponding interaction parameters are voice broadcast, video display content information and the like.
This embodiment is in order to realize automatic computer aided design, need come automatic change according to the visitor distribution condition in scenic spot and make things convenient for the interactive parameter of sight spot object, utilize computer aided design software to design an interactive model, this model input visitor information, the interactive parameter of output sight spot object, when making the visitor be in different distribution state, sight spot object has different interactive state, for example open the window of exhibition hall different positions more according to the position of visitor in the exhibition hall room and motion state and ventilate, for example again when the visitor walked towards the fountain, the activity level of fountain open response, or change light state.
S102, clustering the tourists according to the position information of the tourists in the computer aided design software to obtain a plurality of classes of the tourists.
The method comprises the steps of obtaining the position of each tourist in a scenic spot in real time, leading the position into computer-aided design software in real time, generating a human body model at the position of each tourist in the computer-aided design software, and designing actions through the human body model, so that the human body model can generate the same movement trend as the tourist in a real scene.
The method comprises the steps that positions of all tourists at the same time are obtained in computer aided design software, clustering is conducted on the positions, and a plurality of classes of the tourists are obtained; because the tourists and the scenic spot objects generally interact with one scenic spot object, the tourists need to be classified, interaction parameter adjustment is carried out on a plurality of tourist groups when the scenic spot objects are interacted, and the problems of poor interaction effect and weak generalization capability of a designed interaction model caused by only considering a single tourist individual are avoided.
It should be noted that common clustering methods include a mean shift clustering method, a graph clustering method, and the like.
And S103, acquiring a threshold range of the scenic spot object interaction parameter change according to the position distribution of the tourists.
When the scenic spot object interacts with the tourist, the interaction parameters of the scenic spot object need to be changed according to the position distribution, the motion state or the number of the tourists, and therefore a threshold value for changing the current interaction parameter of the scenic spot object into the next interaction parameter needs to be calculated. The specific method comprises the following steps: obtaining the number of tourists in the preset range of the scenic spot object under the real-time current interaction parameter in computer aided design software
Figure 143498DEST_PATH_IMAGE022
And acquiring the number of people required by the preset scenic spot object in the next interactive parameter
Figure DEST_PATH_IMAGE023
(ii) a Designing a threshold change model in the computer-aided design software, the model inputting->
Figure 264907DEST_PATH_IMAGE022
And &>
Figure 930374DEST_PATH_IMAGE023
The threshold value of the output sight object changing from the current interaction parameter to the next interaction parameter->
Figure 950283DEST_PATH_IMAGE024
For example, in this embodiment:
Figure 841622DEST_PATH_IMAGE026
and step S104, obtaining the probability that the current interaction parameter of the sight spot object is changed into the next interaction parameter according to the types of the sight spot object and the tourist.
The method comprises the steps of obtaining the distance d between a tourist category and a scenic spot object, the number v of tourists in the tourist category, and the difference between the moving direction of the tourists and the direction of the scenic spot object in real time
Figure DEST_PATH_IMAGE027
Designing a probability evaluation model in computer aided design software, inputting d, v and
Figure 568270DEST_PATH_IMAGE027
outputting a probability that the current interaction parameter of the sight object becomes the next interaction parameter &>
Figure 263693DEST_PATH_IMAGE028
For example, in this embodiment:
Figure 161111DEST_PATH_IMAGE030
and S105, designing an interaction model according to the threshold variation model and the probability evaluation model, and further obtaining an interaction method of the tourist and the scenic spot objects.
In computer aided design software, an interactive model is designed, and the input of the model is
Figure 232972DEST_PATH_IMAGE024
、/>
Figure 751809DEST_PATH_IMAGE028
And an interaction parameter a, when>
Figure DEST_PATH_IMAGE031
The interaction result output by the time interaction model is as follows: the scenic spot object is switched to the next interactive parameter, so that the interaction between the scenic spot object and the tourist is realized; when/is>
Figure 40970DEST_PATH_IMAGE032
The interaction result output by the time interaction model is as follows: the scene object keeps the current interaction parameters unchanged, i.e. the scene object keeps the current state unchanged.
The method for acquiring the interaction parameter a comprises the following steps: randomly generating N different numbers in the interval of 0 to 2, and taking the numbers as a respectively; the method is equivalent to that N interactive models exist in computer aided design software, each model in the N interactive models operates for 1 day respectively, and operates for N days in total, the number corresponding to one day with the largest number of scenic spot visitors is selected as the final interactive parameter a in the N days, and then the interactive model constructed by the interactive parameters interacts with scenic spot objects. In the present embodiment, N =50 is described as an example.
It should be noted that, when the interaction parameter a is obtained, the influence of non-variable factors or interference factors such as weather, holidays, and the like needs to be eliminated for the N days, and a conventional method in the field of data analysis or data statistics in the specific method is not described again. On the other hand, in order to save the time cost for obtaining a, a may be set with a preset value, for example, let a =1.
In this embodiment, the interaction model is designed by using a computer aided design method, so that the scenic spot interaction can be realized according to specific tourist data of the scenic spot.
The invention provides an embodiment two:
referring to fig. 1, a flowchart of a fountain control method based on computer aided design according to a second embodiment of the present invention is shown, where the method includes the following steps:
and S001, obtaining tourist position information, fountain position information and fountain related parameters in the scenic spot.
Because the fountain is used as a landscape and is necessarily related to tourists when being started, the position information of the tourists and the position information of the fountain need to be acquired at first; meanwhile, each fountain landscape has related parameters including the activity level of each fountain, the effective range of each activity level of each fountain and the number of people starting each activity level of each fountain, fountain position information and fountain related parameters are input into a computer in advance for simulation, and visitor position information can be obtained through various methods.
Specifically, the tourist position information can be obtained by tracking through a handheld terminal or a camera, the handheld terminal is used for explaining scenic spots of a user, meanwhile, the user can ask questions through the terminal to reach an area where the user wants to go, and meanwhile, a GPS positioning chip is embedded in the terminal, so that the tourist position information can be obtained; the cameras track images acquired through the scenic spot cameras, because the actual coordinate position of each camera is known, a tourist area on the images is obtained through person identification, then a target tourist image coordinate system acquired by the cameras is converted into a world coordinate system through the existing method, the target tourist image coordinate system can be realized by adopting a conversion function in an OpenCV library, and further the position information of the tourists is obtained.
It should be noted that scenic spot fountains usually have a plurality of activity levels, and it is impossible to keep the highest activity level running all the time due to the influence of energy consumption, and the purpose of the fountain is to attract visitors to view, and only when the number of visitors is more, the fountain with the higher activity level is opened.
And S002, respectively carrying out simulation according to the fountain position information and the tourist position information to obtain a fountain graph structure and a tourist graph structure, and carrying out graph clustering on the tourist graph structure to obtain a plurality of tourist categories.
Performing simulation on computer aided design software through the acquired fountain position information and the acquired tourist position information to obtain simulated fountains and tourists, and respectively constructing a fountain graph structure and a tourist graph structure, wherein nodes of the fountain graph structure represent each fountain, edge values represent distances between the fountains, and the graph structure is an undirected graph; the nodes in the tourist map structure represent each tourist, the edge values represent the distances among different tourists, and the map structure is an undirected graph.
It should be noted that, because the difference between the number of nodes in the visitor graph structure and the number of nodes in the fountain graph structure is large, and a large amount of calculation is required to calculate the fountain nodes corresponding to visitors, the nodes are replaced by categories in the way of graph clustering for the visitor graph structure, which is convenient for calculating the fountain nodes corresponding to visitors.
Specifically, the number of fountain nodes in the fountain graph structure is
Figure DEST_PATH_IMAGE033
And carrying out graph clustering on the tourist graph structure according to the number of the fountain nodes, and adopting a Grignard-Newman algorithm. The gri-niemann algorithm clustering is to form different categories by gradually removing the edges of the largest betweenness in the graph structure, so that after removing the edges of the largest betweenness each time, a category number can be obtained, that is, the category number after removing the edges of the largest betweenness can form a category number sequence, for example: [1, 2,3, \8230]Since two categories are not necessarily formed when the edge of the first largest media is removed, it may happen that no new category is formed after a plurality of edges are removed, as two 1's in the example indicate that no new category is formed when the first edge and the second edge are removed. Selecting the corresponding class division condition closest to the fountain node number as the result of graph clustering, specifically, calculating each element and ^ or ^ in the class number sequence>
Figure 707575DEST_PATH_IMAGE033
And selecting the classification condition corresponding to the minimum difference as a graph clustering result of the tourist graph structure, wherein each classification is called as each tourist classification.
And step S003, calculating a first starting threshold value of starting the next higher activity level of each fountain under the current state.
Calculating to obtain the number of first visitors of each fountain in the next higher activity level effective range in the current state, wherein the number of the first visitors refers to the number of visitors which are in the corresponding activity level effective range from the fountain, and when the number of the visitors is too small, the requirement for starting the fountain cannot be met; meanwhile, the more the number of the tourists in the effective range is, the higher the level of the fountain when the fountain is opened is, and better experience can be brought to the tourists.
It should be noted that, the activity level of the fountain is input in the computer system in advance, the height, scale and water flow variation diversity of the fountains with different activity levels are different, and the higher the level of the fountain is, the better the ornamental effect brought to the tourists is; meanwhile, the fountains with different activity levels correspond to different effective ranges and the number of opening persons, the fountain with higher activity level is larger in effective range, and the number of opening persons is more. For example: the activity grades are divided into 5 types of A, B, C, D and E, wherein the grade A is the lowest, and the grade E is the highest; the effective distance corresponding to each activity level is respectively as follows: f (A), f (B), f (C), f (D) and f (E), wherein the effective range of each activity level of each fountain is set to be a circular area with the fountain as the center and the radius as the effective distance; the number of openers corresponding to each activity level is respectively as follows: n (A), N (B), N (C), N (D), N (E); the activity level of each fountain, the corresponding effective range and the number of opening people, wherein the effective distance refers to a distance value that the fountain can be seen in the distance and crowding is not shown, and a user can set the distance value according to actual conditions. For example: a and B are 2 fountains, and three activity levels are as follows: a (20 persons in the category a), b (30 persons) and c (50 persons), wherein the effective distances corresponding to the effective ranges of the three activity levels of the fountain A are as follows: a-a:10m, A-b:20m, A-c:30m.
Further, according to the number of first visitors in the effective range of the next higher activity level of each fountain started in the current state, a first starting threshold value of the next activity level of each fountain started is calculated, specifically, the first starting threshold value is used for calculating the number of the first visitors in the effective range of the next higher activity level of each fountain started in the current state
Figure 317548DEST_PATH_IMAGE004
For example, the fountain may be calculated by turning on the first turn-on threshold of the next higher activity level in the current state as follows:
Figure 471318DEST_PATH_IMAGE002
wherein,
Figure 508544DEST_PATH_IMAGE005
for the next higher activity level of the current state of the fountain, is based on>
Figure 131286DEST_PATH_IMAGE006
Indicates the fifth->
Figure 544950DEST_PATH_IMAGE004
The first fountain>
Figure 57621DEST_PATH_IMAGE005
Based on activity level, activate number of persons>
Figure 265748DEST_PATH_IMAGE007
Indicates that the fountain is first>
Figure 110207DEST_PATH_IMAGE005
Number of first visitors in the active range of the individual activity level->
Figure 327562DEST_PATH_IMAGE008
Represents the number of activity levels of the fountain>
Figure 190345DEST_PATH_IMAGE009
Indicates that the fountain is on>
Figure 834953DEST_PATH_IMAGE010
Number of persons on each activity level>
Figure 166708DEST_PATH_IMAGE011
Indicates that the fountain is on>
Figure 922174DEST_PATH_IMAGE010
Number of first visitors in the active range of the individual activity level->
Figure 406508DEST_PATH_IMAGE034
A number representing a higher activity level than the current activity level outside of the outgoing next activity level, wherein->
Figure DEST_PATH_IMAGE035
At this time, the difference between the number of first visitors in the effective range of the next higher activity level and the number of next higher activity level openers
Figure 425279DEST_PATH_IMAGE036
The smaller the fountain should be switched on next higher activity level, corresponding first switching-on threshold>
Figure 228019DEST_PATH_IMAGE003
The smaller; meanwhile, when the fountain with the next activity level is started, although the number of the first tourists does not meet the number of the started people with the higher activity level, the effective range of the attraction of the fountain can be improved to the higher activity level, and then the ratio of the number of the first tourists to the number of the started people with the higher activity level is greater than or equal to>
Figure DEST_PATH_IMAGE037
The larger the fountain is, the larger the satisfaction degree is, the higher the next activity level of the fountain in the current state should be started, and the smaller the corresponding first starting threshold value is; and calculating the mean value of the satisfaction degrees of the subsequent higher levels as the relevant parameters of the first opening threshold.
And step S004, calculating the distance between each fountain and each tourist category, the relative direction difference between each fountain and each tourist category and the number of second tourists in each tourist category to obtain the simulated opening probability of each fountain.
According to the distances between the gathering positions of the tourists and different fountain nodes, the relation between the advancing trend directions of gathered tourist groups and the positions of the fountains and the number of the tourists in each gathered tourist group, simulation is carried out through computer assistance, and the simulated opening probability of each fountain node is obtained and serves as a parameter for controlling the scenic spot fountain subsequently.
It should be noted that, in the traditional method for intelligently assisting fountain control through a computer, only the number of visitors in the effective range of the fountain is considered, the influence of the future trend on the fountain and the visitors is not considered, the fountain itself is not considered as a reference factor with certain attractiveness as a landscape, the fountain opening control under the method has less contribution to the goodness of the whole scenic spot, the future trend can be taken as a parameter to be introduced into the traditional fountain control, the potential gathering direction of the visitors and the fountain attraction existing in the direction are calculated, so that the visitors can advance towards the fountain in the direction with higher probability, the number of people for opening the fountain with higher activity level is further met, the subsequent development of fountain opening is simulated by using the computer, and the scenic spot fountain is further controlled.
Specifically, after each guest category is obtained through graph clustering in step S002, a category center of each guest category needs to be determined, and the calculation method of the category center of each guest category is as follows: calculating the sum of the distances between each tourist in a certain tourist category and all other tourists, and taking the tourist node corresponding to the minimum distance sum as a category center node of the tourist category; further, the distance between each tourist category center node and each fountain node is calculated, and the straight line distance is adopted for calculation. At the moment, for each fountain, the smaller the tourist class and the distance between the tourist class and the fountain are, the more the fountain should be opened; the more the number of the second tourists in the tourist category with smaller distance is, the more the fountain should be opened; the more the number of the types of tourists with smaller distance is, the more the fountain is opened; the second number of guests is the number of guest nodes in each guest category.
It should be noted that, the relative direction difference between each fountain and each guest category is calculated, the relative direction difference represents the advancing trend of each guest category towards a certain fountain, the relative direction difference is represented by the difference between the first advancing direction of the guest category and the second advancing direction of the guest category, the center node of which points to the fountain, and the smaller the relative direction difference is, the more likely the guest category is to advance to the periphery of the corresponding fountain, the more the fountain should be opened.
Specifically, the track sequence of each tourist is obtained according to the position information of each tourist, and at the moment, if the position information of the tourist is obtained by adopting the handheld terminal, the advancing track can be directly obtained; if the position information of the tourists is obtained by adopting the camera tracking, the advancing track of each tourist can be obtained by the multi-camera cooperative target tracking technology; after the forward track of each guest is obtained, the coordinates of each guest at different time can form a sequence, which is called a track sequence, and it should be noted that the obtained coordinates are coordinates in a world coordinate system, and the image coordinates of the same guest in different images are all converted into the world coordinate system.
Further, a track sequence of any one tourist is analyzed through a PCA algorithm, the track sequence is a position sequence, a plurality of principal component directions corresponding to the tourist can be obtained, each principal component direction is a two-dimensional unit vector, each principal component direction corresponds to a characteristic value, and the principal component direction with the largest characteristic value is selected as the principal direction of the tourist. Further, the principal direction vectors of all the tourists in each tourist class are added to serve as the first advancing direction of each tourist class
Figure 193701DEST_PATH_IMAGE038
Recording the mean value of the positions of all the tourists in each tourist category as a category center, and acquiring a second advance direction which points to each fountain from the category center>
Figure DEST_PATH_IMAGE039
The absolute value of the difference between the first forward direction and the second forward direction corresponding to each fountain is->
Figure 640863DEST_PATH_IMAGE040
As a relative direction difference of each fountain from each guest category>
Figure 250442DEST_PATH_IMAGE027
. Please refer to fig. 2, each main direction, the first forward direction and the second forward direction are counted in the direction coordinate systemThe total angle of the direction is (-179 degrees and 180 degrees)]359 integer degree directions in (1), wherein-180 degrees and 180 degrees are the same direction.
Further, in the first place
Figure 681424DEST_PATH_IMAGE004
Taking a fountain as an example, the simulated turn-on probability of the fountain node>
Figure 654059DEST_PATH_IMAGE014
The calculating method comprises the following steps: />
Figure DEST_PATH_IMAGE041
Wherein,
Figure 877099DEST_PATH_IMAGE015
represents the number of visitor categories, based on the graph clustering, and->
Figure 706514DEST_PATH_IMAGE016
Represents a fifth or fifth party>
Figure 359213DEST_PATH_IMAGE017
A second number of guests of a guest category,
Figure 886271DEST_PATH_IMAGE018
represents a fifth or fifth party>
Figure 776867DEST_PATH_IMAGE017
Each guest category and the fifth->
Figure 105080DEST_PATH_IMAGE004
The distance between the fountains>
Figure 917178DEST_PATH_IMAGE019
Is the first->
Figure 559512DEST_PATH_IMAGE004
A fountain and the ^ h->
Figure 225986DEST_PATH_IMAGE017
The relative directional differences of the individual classes of guests, device for selecting or keeping>
Figure 725100DEST_PATH_IMAGE020
Normalized treatment, representing a difference in relative direction>
Figure 227757DEST_PATH_IMAGE021
An exponential function with a natural constant as the base is represented for normalization processing.
At this time, the
Figure 470519DEST_PATH_IMAGE017
Each guest category and +>
Figure 749754DEST_PATH_IMAGE004
Distance between fountains>
Figure 419770DEST_PATH_IMAGE018
The smaller the number of the first or second criterion>
Figure 144144DEST_PATH_IMAGE017
The closer a guest class is to the fifth->
Figure 111969DEST_PATH_IMAGE004
The fountain can enter the effective range of the fountain more, and the opening probability of the fountain is higher; a fifth or fifth letter>
Figure 628401DEST_PATH_IMAGE017
A number of second guests in an individual guest category>
Figure 79105DEST_PATH_IMAGE016
The more, if the category proceeds to a fifth +>
Figure 680987DEST_PATH_IMAGE004
In the effective range of each fountain, the fountain is more suitable to be started, and the fountain starting probability is higher; is/are>
Figure 626072DEST_PATH_IMAGE004
A fountain and the ^ h->
Figure 997010DEST_PATH_IMAGE017
Relative direction discrepancy for individual guest category->
Figure 884195DEST_PATH_IMAGE019
The smaller, the more likely it is that the guest category is to proceed to the @>
Figure 973373DEST_PATH_IMAGE004
The fountain is more likely to be turned on around the fountain.
And S005, controlling the fountain in the scenic region according to the comparison result of the simulated starting probability of each fountain and the first starting threshold value.
The method comprises the steps that computer simulation is carried out, according to visitor position information, fountain position information and fountain related parameters, the simulation starting probability and a first starting threshold value of each fountain in the simulation are obtained, the fountain with the simulation starting probability larger than or equal to the first starting threshold value is controlled to be started according to node information of the fountain, and starting operation of equipment such as a water pump, a motor and light of the fountain in a scenic spot is included; and for the fountain with the simulated opening probability smaller than the first opening threshold, the current activity state of the corresponding scenic spot fountain is maintained, the fountain which is not opened is not started, and the fountain which is opened maintains the current activity state.
The process of obtaining the interaction control method according to the simulated opening probability and the first opening threshold value of each fountain is an interaction model obtained based on computer aided design in the embodiment, the interaction model realizes automatic computer aided design based on scenic spot object data and tourist data, and meets the requirements of automatic, intelligent and high experience of the tourist on scenic spots.
So far, the second embodiment is implemented by taking fountain interactive control as an example, and the computer aided design of scenic spots is completed. The implementer can also further obtain the design of the interaction model of other sight objects in other embodiments based on the two embodiments of the invention.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (5)

1. The fountain control method based on the computer aided design is characterized by comprising the following steps of:
acquiring tourist position information, fountain position information and fountain related parameters in a scenic spot; the fountain related parameters comprise the activity level of each fountain in the scenic spot, the effective range of each activity level of each fountain and the number of opening persons of each activity level of each fountain;
respectively carrying out simulation on the fountain position information and the tourist position information to obtain a fountain graph structure and a tourist graph structure, and carrying out graph clustering on the tourist graph structure according to the number of nodes in the fountain graph structure to obtain a plurality of tourist categories;
acquiring a first starting threshold value of each fountain according to the number of starting persons of all activity levels of each fountain, which are larger than the current activity level, and the number of first tourists in the effective range of all activity levels, which are larger than the current activity level;
obtaining the simulated opening probability of each fountain according to the distance between each fountain and each tourist category, the relative direction difference between each fountain and each tourist category and the number of second tourists of each tourist category;
and performing interactive control on each fountain in the scenic spot according to a comparison result of the simulated opening probability of each fountain obtained by computer simulation and the first opening threshold.
2. The computer-aided design-based fountain control method according to claim 1, wherein the obtaining of the plurality of categories of visitors comprises the specific methods of:
and carrying out graph clustering on the tourist map structure by adopting a Grignard-Newman algorithm, selecting a graph to cluster to form a clustering result with the smallest difference between the number of the classes and the number of nodes of the fountain map structure, and taking the clustering result as a plurality of classes in the obtained clustering result, namely a plurality of tourist classes.
3. The computer-aided design-based fountain control method according to claim 1, wherein the obtaining of the first turn-on threshold value of each fountain comprises the specific steps of:
Figure DEST_PATH_IMAGE002
wherein,
Figure DEST_PATH_IMAGE004
indicates the fifth->
Figure DEST_PATH_IMAGE006
A first activation threshold value for each fountain>
Figure DEST_PATH_IMAGE008
For the next higher activity level of the current state of the fountain,
Figure DEST_PATH_IMAGE010
indicates the fifth->
Figure 94616DEST_PATH_IMAGE006
On a fountain>
Figure 339653DEST_PATH_IMAGE008
Number of persons on each activity level>
Figure DEST_PATH_IMAGE012
Indicates that the fountain is first>
Figure 916128DEST_PATH_IMAGE008
First trip of the effective range of the activity levelNumber of guest, or>
Figure DEST_PATH_IMAGE014
Represents the number of activity levels of the fountain>
Figure DEST_PATH_IMAGE016
Indicates that the fountain is on>
Figure DEST_PATH_IMAGE018
The number of people is started for each activity level,
Figure DEST_PATH_IMAGE020
indicates that the fountain is first>
Figure 725384DEST_PATH_IMAGE018
A first number of guests of an active range of activity levels.
4. The computer aided design-based fountain control method according to claim 1, wherein the relative direction difference between each fountain and each tourist category is obtained by:
the method comprises the steps of obtaining a track sequence of each tourist according to position information of each tourist, obtaining a principal component direction and a corresponding characteristic value of each tourist through a PCA algorithm, selecting the direction with the largest characteristic value as a principal direction of the tourist, adding principal direction vectors of all the tourists in each tourist category as a first advancing direction of each tourist category, obtaining a second advancing direction of a centroid of each tourist category pointing to each fountain, and taking a difference value between the first advancing direction and the second advancing direction corresponding to each fountain as a relative direction difference between each fountain and each tourist category.
5. The computer-aided design-based fountain control method according to claim 1, wherein the obtaining of the simulated turn-on probability of each fountain comprises the following specific methods:
Figure DEST_PATH_IMAGE022
wherein,
Figure DEST_PATH_IMAGE024
indicates the fifth->
Figure 759330DEST_PATH_IMAGE006
Simulated opening probability of a fountain>
Figure DEST_PATH_IMAGE026
Represents the number of guest categories in which the graph is clustered, and>
Figure DEST_PATH_IMAGE028
is shown as
Figure DEST_PATH_IMAGE030
A second guest number in a guest category, greater than or equal to>
Figure DEST_PATH_IMAGE032
Indicates the fifth->
Figure 768743DEST_PATH_IMAGE030
Each guest category and the fifth->
Figure 239039DEST_PATH_IMAGE006
The distance between the fountains>
Figure DEST_PATH_IMAGE034
Is the first->
Figure 654583DEST_PATH_IMAGE006
A fountain and the ^ h->
Figure 651358DEST_PATH_IMAGE030
Relative direction discrepancy for individual guest categories>
Figure DEST_PATH_IMAGE036
Normalization processing representing a difference in relative direction>
Figure DEST_PATH_IMAGE038
An exponential function with a natural constant as the base is shown. />
CN202211562257.7A 2022-12-07 2022-12-07 Fountain control method based on computer aided design Active CN115577572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211562257.7A CN115577572B (en) 2022-12-07 2022-12-07 Fountain control method based on computer aided design

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211562257.7A CN115577572B (en) 2022-12-07 2022-12-07 Fountain control method based on computer aided design

Publications (2)

Publication Number Publication Date
CN115577572A CN115577572A (en) 2023-01-06
CN115577572B true CN115577572B (en) 2023-04-07

Family

ID=84589981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211562257.7A Active CN115577572B (en) 2022-12-07 2022-12-07 Fountain control method based on computer aided design

Country Status (1)

Country Link
CN (1) CN115577572B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105413941A (en) * 2016-01-05 2016-03-23 镇江市高等专科学校 Scenic spot fountain intelligent control method based on intelligent tour terminal
CN205563164U (en) * 2016-01-05 2016-09-07 镇江市高等专科学校 Scenic spot fountain control system based on regionalism
CN113791559A (en) * 2021-09-10 2021-12-14 佛山市南海区苏科大环境研究院 Energy-saving control method and system for urban landscape fountain
CN215679107U (en) * 2021-09-24 2022-01-28 北京金时佰德技术有限公司 Scenic spot fountain intelligence control system based on wisdom tourism terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11813629B2 (en) * 2017-08-23 2023-11-14 Wet Pixelated water display and design tools therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105413941A (en) * 2016-01-05 2016-03-23 镇江市高等专科学校 Scenic spot fountain intelligent control method based on intelligent tour terminal
CN205563164U (en) * 2016-01-05 2016-09-07 镇江市高等专科学校 Scenic spot fountain control system based on regionalism
CN113791559A (en) * 2021-09-10 2021-12-14 佛山市南海区苏科大环境研究院 Energy-saving control method and system for urban landscape fountain
CN215679107U (en) * 2021-09-24 2022-01-28 北京金时佰德技术有限公司 Scenic spot fountain intelligence control system based on wisdom tourism terminal

Also Published As

Publication number Publication date
CN115577572A (en) 2023-01-06

Similar Documents

Publication Publication Date Title
CN110515452B (en) Image processing method, image processing device, storage medium and computer equipment
JP7133470B2 (en) System and method for network augmented reality representation
US20190080516A1 (en) Systems and methods for augmented reality preparation, processing, and application
CN108818569A (en) Intelligent robot system towards public service scene
CN108446830B (en) Household type sunshine analysis method based on mobile equipment terminal
Niese et al. Procedural urban forestry
WO2019204372A1 (en) R-snap for production of augmented realities
CN110110412A (en) House type full trim simulation shows method and display systems based on BIM technology
WO2019016820A1 (en) A METHOD FOR PLACING, TRACKING AND PRESENTING IMMERSIVE REALITY-VIRTUALITY CONTINUUM-BASED ENVIRONMENT WITH IoT AND/OR OTHER SENSORS INSTEAD OF CAMERA OR VISUAL PROCCESING AND METHODS THEREOF
CN113506377A (en) Teaching training method based on virtual roaming technology
Li Film and TV animation production based on artificial intelligence AlphaGd
CN111062074A (en) Building space quality virtual simulation and intelligent evaluation method
CN115577572B (en) Fountain control method based on computer aided design
CN114092670A (en) Virtual reality display method, equipment and storage medium
CN117115917A (en) Teacher behavior recognition method, device and medium based on multi-modal feature fusion
CN112070901A (en) AR scene construction method and device for garden, storage medium and terminal
CN116466742A (en) Intelligent museum cloud travel platform working method based on unmanned aerial vehicle oblique photography technology and CIM
Lee et al. AR-based character tracking navigation system development
CN114979789A (en) Video display method and device and readable storage medium
CN114207671A (en) Image processing apparatus, image processing method, and program
Chen et al. Research on visualization of environmental landscape design based on digital entertainment platform and immersive VR experience
Tewari et al. Virtual Campus Walkthrough
Beneš Visual model of plant development with respect to influence of light
Liu Light image enhancement based on embedded image system application in animated character images
KR20230166760A (en) Method for generating metaverse space of hyper-personalized design and a metaverse system for performing the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CB03 Change of inventor or designer information

Inventor after: Yu Haiying

Inventor before: Yu Haiying

Inventor before: Zhao Yuzheng

Inventor before: Sun Jinqian

Inventor before: Xu Jianpeng

Inventor before: Yun Xuejun

Inventor before: Gao Xiazi

Inventor before: Ju Xiaoxue

Inventor before: Li Jinfeng

Inventor before: Li Jing

Inventor before: Che Deying

Inventor before: Li Xu

Inventor before: Xu Xu

Inventor before: Su Peng

Inventor before: Li Xia

Inventor before: Zhao Yubin

Inventor before: Zhang Wenbin

Inventor before: Wang Jincai

Inventor before: Zhang Yuhui

Inventor before: You Ya

Inventor before: Wang Ruigang

CB03 Change of inventor or designer information