CN105740510A - Simulation system and method of evacuation crowd behavior based on grid-density-relation - Google Patents

Simulation system and method of evacuation crowd behavior based on grid-density-relation Download PDF

Info

Publication number
CN105740510A
CN105740510A CN201610044959.4A CN201610044959A CN105740510A CN 105740510 A CN105740510 A CN 105740510A CN 201610044959 A CN201610044959 A CN 201610044959A CN 105740510 A CN105740510 A CN 105740510A
Authority
CN
China
Prior art keywords
grid
crowd
relationship
evacuation
density
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.)
Granted
Application number
CN201610044959.4A
Other languages
Chinese (zh)
Other versions
CN105740510B (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.)
Shandong Normal University
Original Assignee
Shandong Normal University
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 Shandong Normal University filed Critical Shandong Normal University
Priority to CN201610044959.4A priority Critical patent/CN105740510B/en
Publication of CN105740510A publication Critical patent/CN105740510A/en
Application granted granted Critical
Publication of CN105740510B publication Critical patent/CN105740510B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/36Circuit design at the analogue level
    • G06F30/367Design verification, e.g. using simulation, simulation program with integrated circuit emphasis [SPICE], direct methods or relaxation methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • G06Q50/265Personal security, identity or safety

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Educational Administration (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Geometry (AREA)
  • Development Economics (AREA)
  • Evolutionary Computation (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Alarm Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种基于网格?密度?关系的疏散人群行为仿真系统及其方法,该系统包括疏散场景模型建立单元,其用于根据疏散场景的结构信息进行提取疏散场景的特征,得到疏散场景的三维模型;疏散场景全局路径规划单元,其用于根据疏散场景的三维模型对疏散场景进行全局路径规划,计算疏散场景中所有出入口的全局路径;人群活动生成单元,其用于根据疏散场景中所有出入口数量、人群中个体间关系以及个体位置信息来进行人群分组;人群仿真单元,其用于根据社会力模型计算在仿真过程中个体的实时速度,在仿真的过程中,实时修正同组中每个个体的运动速度,以保持每个群组行进的一致性,实现疏散人群的行为仿真。

The invention discloses an evacuation crowd behavior simulation system and method based on grid-density-relationship, the system includes an evacuation scene model building unit, which is used to extract the features of the evacuation scene according to the structural information of the evacuation scene, and obtain the evacuation The three-dimensional model of the scene; the global path planning unit of the evacuation scene, which is used to plan the global path of the evacuation scene according to the three-dimensional model of the evacuation scene, and calculates the global path of all entrances and exits in the evacuation scene; the crowd activity generation unit, which is used for according to the evacuation scene The number of all entrances and exits in the crowd, the relationship between individuals in the crowd, and the individual location information are used to group the crowd; the crowd simulation unit is used to calculate the real-time speed of the individual during the simulation process according to the social force model, and correct the same group in real time during the simulation process. The movement speed of each individual in the group is controlled to maintain the consistency of each group's progress and realize the behavior simulation of the evacuated crowd.

Description

基于网格-密度-关系的疏散人群行为仿真系统及其方法Evacuation Crowd Behavior Simulation System and Method Based on Grid-Density-Relationship

技术领域technical field

本发明涉及疏散仿真领域,尤其涉及一种基于网格-密度-关系的疏散人群行为仿真系统及其方法。The invention relates to the field of evacuation simulation, in particular to an evacuation crowd behavior simulation system and method based on grid-density-relationship.

背景技术Background technique

大规模的人员聚集是现代城市,乃至现代社会的一个重要特征。人员密集的地方潜藏着很大的安全隐患,容易发生突发事件,一旦导致人群的恐慌,发生拥挤践踏的事故,伤亡往往十分惨重。尤其是随着我国城市化进程的加快发展,大型的人员高度聚集的活动增多,人群拥挤践踏事故更容易发生。Large-scale gathering of people is an important feature of modern cities and even modern society. There are great potential safety hazards hidden in densely populated places, and emergencies are prone to occur. Once the panic of the crowd is caused, crowding and trampling accidents occur, and the casualties are often very heavy. Especially with the accelerated development of my country's urbanization process, large-scale activities with high gatherings of people have increased, and crowding and trampling accidents are more likely to occur.

突发事件下的人群疏散是一项复杂的系统工程,在实际应用中通常使用疏散实验的方式获取合适的疏散预案。该方式具有针对性强、信息量丰富等特点。然而,由于存在人员安全无法保障、实验投入大等不可避免的问题,计算机仿真成为研究突发事件下人群疏散的最有效的方法。Crowd evacuation under emergencies is a complex system engineering. In practical applications, evacuation experiments are usually used to obtain suitable evacuation plans. This method has the characteristics of strong pertinence and rich information. However, due to unavoidable problems such as the inability to guarantee the safety of personnel and the large investment in experiments, computer simulation has become the most effective method for studying crowd evacuation under emergencies.

利用计算机仿真人群疏散问题需要考虑到众多影响群体运动的因素,根据社会心理学的观点,群体可以分为具有不同特征的小群体。而在一个小群体内部,个体之间具有某些共同的特征形成一个群组。例如,最常见的群组包括家庭关系群组、同学朋友群组、同事群组等。这些群组通过一种或多种社会关系为纽带连接。The use of computers to simulate crowd evacuation needs to take into account many factors that affect group movement. According to social psychology, groups can be divided into small groups with different characteristics. In a small group, individuals have certain common characteristics to form a group. For example, the most common groups include family relationship groups, classmates and friends groups, colleagues groups, and the like. These groups are linked by one or more social relationships.

可观测的事实表明,危急情形下的人群疏散中,同一群组人员的行为总会保持一致。他们相互协商运动的方向,并可能在某一时刻一起离开群体。所以,同一群组中的每个个体都会试图调整自己的运动速度,以保持跟整个群组行进的一致性。Observable facts show that in the evacuation of crowds in critical situations, the behavior of the same group of people will always remain consistent. They negotiate the direction of movement with each other and may leave the group together at some point. Therefore, each individual in the same group will try to adjust their own movement speed to maintain consistency with the entire group.

现有人群疏散仿真方法中均未考虑人群之间的关系以及形成的群组对运动的影响。虽然,Helbing和Molnar提出社会力模型依据牛顿力学公式模拟人群行为,能够很好地重现一些现象,例如“越想快反而越慢”以及出口处的拱形现象。但是它过度简化了行人的行为,没有考虑人群之间的关系以及形成的群组对运动的影响。None of the existing crowd evacuation simulation methods consider the relationship between crowds and the influence of the formed groups on movement. Although, Helbing and Molnar proposed that the social force model simulates crowd behavior based on the formula of Newtonian mechanics, which can well reproduce some phenomena, such as "the faster you think, the slower you get" and the arch phenomenon at the exit. But it oversimplifies the behavior of pedestrians, without considering the relationship between crowds and the impact of formed groups on motion.

Dirk Helbing根据人群行为特征,以牛顿力学为基础建立了社会力模型。社会力是指一个人运动时受到所处环境(包括环境中的人和物)对其施加的力,并非是直接作用在他身上的物理概念的力。社会力模型中依据行人不同的动机和在环境中受到的影响,共有三种作用力的影响:驱动力、人和人之间的作用力以及人和障碍物之间作用力。这些力的合力作用于行人,产生一个加速度。在整个个体行走过程中,以及个体和个体之间始终存在一定的力的作用。例如,驱动力会引导个体朝目标方向前进;在个体身体接触之前,人和人之间的作用力使人群中的个体避免相互碰撞;人和环境之间的作用力使人群中的个体避免与障碍物碰撞。这个阶段可以用经典牛顿第二定律来解释。According to the characteristics of crowd behavior, Dirk Helbing established a social force model based on Newtonian mechanics. Social force refers to the force exerted on a person by the environment (including people and objects in the environment) when he is exercising, not the force of the physical concept that directly acts on him. In the social force model, according to the different motivations of pedestrians and the influence they receive in the environment, there are three kinds of forces: driving force, force between people and force between people and obstacles. The resultant of these forces acts on the pedestrian, producing an acceleration. There is always a certain force acting on the whole individual walking process and between individuals. For example, the driving force will guide the individual to move towards the target direction; the force between people prevents individuals in the crowd from colliding with each other before physical contact; the force between people and the environment prevents individuals in the crowd from colliding with each other. Obstacle collision. This stage can be explained by the classical Newton's second law.

因此,为了解决人群安全和人员疏散以及进行人群疏散安全演练的问题,需要一种考虑群组对运动影响的人群行为仿真系统及其方法,来达到根据检测建筑疏散性能,维护群体行为秩序,优化疏散过程以及提高疏散效率的目的。Therefore, in order to solve the problems of crowd safety and personnel evacuation and carry out crowd evacuation safety drills, a crowd behavior simulation system and its method that consider the impact of groups on sports are needed to achieve building evacuation performance based on detection, maintenance of group behavior order, and optimization The evacuation process and the purpose of improving evacuation efficiency.

发明内容Contents of the invention

本发明提供了一种基于网格-密度-关系的疏散人群行为仿真系统及其方法。本发明在考虑人群关系的特性,通过加权的关系值与加权的密度值对人群进行分组来模拟人群疏散出现自然分组以及人群出口处的拱形现象,用于指导人群疏散演练的安全性。The invention provides a grid-density-relationship-based evacuation crowd behavior simulation system and method thereof. The present invention considers the characteristics of the crowd relationship, and groups the crowd by the weighted relationship value and the weighted density value to simulate the natural grouping of the crowd evacuation and the arch phenomenon at the exit of the crowd, and is used to guide the safety of the crowd evacuation drill.

为实现上述目的,本发明采用以下技术方案:To achieve the above object, the present invention adopts the following technical solutions:

一种基于网格-密度-关系的疏散人群行为仿真系统,包括:A grid-density-relationship-based evacuation crowd behavior simulation system, including:

疏散场景模型建立单元,其用于根据疏散场景的结构信息进行提取疏散场景的特征,得到疏散场景的三维模型;An evacuation scene model building unit, which is used to extract the features of the evacuation scene according to the structural information of the evacuation scene, and obtain a three-dimensional model of the evacuation scene;

疏散场景全局路径规划单元,其用于根据疏散场景的三维模型对疏散场景进行全局路径规划,计算疏散场景中所有出入口的全局路径;An evacuation scene global path planning unit, which is used to plan the global path of the evacuation scene according to the three-dimensional model of the evacuation scene, and calculate the global path of all entrances and exits in the evacuation scene;

人群活动生成单元,其用于根据疏散场景中所有出入口数量、人群中个体间关系以及个体位置信息来进行人群分组;A crowd activity generation unit, which is used to group the crowd according to the number of all entrances and exits in the evacuation scene, the relationship between individuals in the crowd, and the location information of the individual;

人群仿真单元,其用于根据社会力模型计算在仿真过程中个体的实时速度,在仿真的过程中,实时修正同组中每个个体的运动速度,以保持每个群组行进的一致性,实现疏散人群的行为仿真。The crowd simulation unit is used to calculate the real-time speed of the individual during the simulation process according to the social force model, and correct the movement speed of each individual in the same group in real time during the simulation process to maintain the consistency of each group's progress, Realize the behavior simulation of the evacuated crowd.

所述人群活动生成单元,包括:The crowd activity generation unit includes:

人群个体位置信息生成模块,其用于建立人群数据集与疏散场景的三维模型中人群活动区域之间的映射关系,根据映射关系生成人群个体在人群活动区域的位置;A crowd individual location information generation module, which is used to establish a mapping relationship between the crowd data set and the crowd activity area in the three-dimensional model of the evacuation scene, and generate the position of the crowd individual in the crowd activity area according to the mapping relationship;

疏散场景网格划分模块,根据疏散场景中所有出入口数量来确定人群分组数量,对疏散场景的三维模型中人群活动区域进行划分网格;The evacuation scene grid division module determines the number of crowd groups according to the number of all entrances and exits in the evacuation scene, and divides the crowd activity area in the 3D model of the evacuation scene;

网格关系-密度值计算模块,其用于根据每个网格单元内的个体数量以及个体间的关系值,计算每个网格单元的网格密度值和网格关系值,并对网格密度值和网格关系值进行加权叠加,获得每个网格单元的网格关系-密度值;Grid relationship-density value calculation module, which is used to calculate the grid density value and grid relationship value of each grid unit according to the number of individuals in each grid unit and the relationship value between individuals, and calculate the grid Weighted superposition of density value and grid relationship value to obtain the grid relationship-density value of each grid unit;

人群分组模块,其用于将网格关系-密度值最大的网格为核心网格来构建组中心,根据个体与组中心的物理距离,将个体所在网格分配到各核心网格所在的组中,完成人群的分组。Crowd grouping module, which is used to use the grid with the largest grid relationship-density value as the core grid to construct the group center, and assign the individual grid to the group where each core grid is located according to the physical distance between the individual and the group center , complete the grouping of the crowd.

一种基于网格-密度-关系的疏散人群行为仿真系统的仿真方法,包括:A simulation method for an evacuated crowd behavior simulation system based on grid-density-relationship, comprising:

步骤(1):根据疏散场景的结构信息进行提取疏散场景的特征,得到疏散场景的三维模型;Step (1): According to the structural information of the evacuation scene, the features of the evacuation scene are extracted to obtain a three-dimensional model of the evacuation scene;

步骤(2):根据疏散场景的三维模型对疏散场景进行全局路径规划,计算疏散场景中所有出入口的全局路径;Step (2): Carry out global path planning for the evacuation scene according to the three-dimensional model of the evacuation scene, and calculate the global paths of all entrances and exits in the evacuation scene;

步骤(3):根据人群中个体间关系、人群在疏散场景中的密度以及个体位置信息来确定人群分组信息;Step (3): Determine the crowd grouping information according to the relationship between individuals in the crowd, the density of the crowd in the evacuation scene, and the location information of the individual;

步骤(4):根据社会力模型计算在仿真过程中个体的实时速度,在仿真的过程中,实时修正同组中每个个体的运动速度,以保持整个群组行进的一致性,实现疏散人群的行为仿真。Step (4): According to the social force model, calculate the real-time speed of the individual during the simulation process, and correct the movement speed of each individual in the same group in real time during the simulation process, so as to maintain the consistency of the entire group and realize the evacuation of the crowd behavior simulation.

所述步骤(3)中确定人群分组信息的过程,包括:The process of determining crowd grouping information in the step (3) includes:

步骤(3.1):建立人群数据集与疏散场景的三维模型中人群活动区域之间的映射关系,根据映射关系生成人群个体在人群活动区域的位置;Step (3.1): Establish the mapping relationship between the crowd data set and the crowd activity area in the 3D model of the evacuation scene, and generate the position of the crowd individual in the crowd activity area according to the mapping relationship;

步骤(3.2):根据疏散场景中所有出入口数量来确定人群分组数量,对疏散场景的三维模型中人群活动区域进行划分网格;Step (3.2): Determine the number of crowd groups according to the number of all entrances and exits in the evacuation scene, and divide the crowd activity area in the three-dimensional model of the evacuation scene;

步骤(3.3):根据每个网格单元内的个体数量以及个体间的关系值,计算每个网格单元的网格密度值和网格关系值,并对网格密度值和网格关系值进行加权叠加,获得每个网格单元的网格关系-密度值;Step (3.3): Calculate the grid density value and grid relationship value of each grid unit according to the number of individuals in each grid unit and the relationship value between individuals, and calculate the grid density value and grid relationship value Perform weighted superposition to obtain the grid relationship-density value of each grid unit;

步骤(3.4):将网格关系-密度值最大的网格为核心网格来构建组中心,根据个体与组中心的物理距离,将个体所在网格分配到各核心网格所在的组中,完成人群的分组。Step (3.4): The grid with the highest grid relationship-density value is used as the core grid to construct the group center, and according to the physical distance between the individual and the group center, the grid where the individual is located is assigned to the group where each core grid is located, Complete the grouping of the crowd.

所述步骤(3.4)中,将个体所在网格分配到各核心网格所在的组中的过程,包括:In the step (3.4), the process of assigning the individual grid to the group where each core grid is located includes:

步骤(3.4.1):根据每个网格单元的网格关系-密度值的大小,从大到小对网格单元进行排序,形成待分组队列;Step (3.4.1): According to the size of the grid relationship-density value of each grid unit, sort the grid units from large to small to form a queue to be grouped;

步骤(3.4.2):选取待分组队列中第一个网格作为核心网格,从第二个网格开始直至待分组队列中最后一个网格,逐个判断是否为核心网格的邻接网格,若是,则将该网格并入核心网格,并在待分组队列删去该网格;将合并后的核心网格从待分组队列移到已分组队列,并标注组号;Step (3.4.2): Select the first grid in the queue to be grouped as the core grid, from the second grid to the last grid in the queue to be grouped, and judge whether it is an adjacent grid of the core grid , if so, merge the grid into the core grid, and delete the grid in the queue to be grouped; move the merged core grid from the queue to be grouped to the grouped queue, and mark the group number;

步骤(3.4.3):重复步骤(3.4.2),直至待分组队列中网格个数为0,分组结束;否则进入下一步;Step (3.4.3): Repeat step (3.4.2) until the number of grids in the queue to be grouped is 0, and the grouping ends; otherwise, go to the next step;

步骤(3.4.4):待分组队列中网格个数为非零,且已分组队列网格个数等于已确定的分组数,则根据待分组队列的网格中每个个体与已分组队列中组中心的物理距离,将相应网格分配到各核心网格所在的组中,直至待分组队列中网格个数为0。Step (3.4.4): The number of grids in the queue to be grouped is non-zero, and the number of grids in the queue to be grouped is equal to the determined number of groups, then according to each individual in the grid of the queue to be grouped and the grouped queue The physical distance of the center of the group, assign the corresponding grids to the group where each core grid is located, until the number of grids in the queue to be grouped is 0.

所述步骤(3.3)中,对网格密度值和网格关系值进行加权的权重分别为0.5和0.5。In the step (3.3), the weights for weighting the grid density value and the grid relationship value are 0.5 and 0.5 respectively.

所述步骤(3.4.1)中的待分组队列中网格的密度值均为非零值。The density values of the grids in the queue to be grouped in the step (3.4.1) are all non-zero values.

所述步骤(3.4)中,分组数等于待疏散平面区域的出口数的3倍。In the step (3.4), the number of groups is equal to 3 times the number of exits in the plane area to be evacuated.

所述步骤(3.4)中,对疏散场景的三维模型中人群活动区域进行划分的单元网格数等于分组数的10倍。In the step (3.4), the number of unit grids for dividing the crowd activity area in the three-dimensional model of the evacuation scene is equal to 10 times the number of groups.

所述步骤(3.3)中,每个网格单元的网格关系值等于该网格单元内所有个体之间的关系值之和除以2。In the step (3.3), the grid relationship value of each grid unit is equal to the sum of the relationship values between all individuals in the grid unit divided by 2.

本发明的有益效果为:The beneficial effects of the present invention are:

(1)本发明的基于网格-密度-关系的疏散人群行为仿真系统考虑了人群之间的关系以及形成的群组对运动的影响,通过加权的关系值与加权的密度值对人群进行分组来模拟人群疏散出现自然分组以及人群出口处的拱形现象,对于人群疏散安全演练提供重要的依据,还可以检测建筑疏散性能,优化实际疏散过程以及提高疏散效率;(1) The grid-density-relationship-based evacuation crowd behavior simulation system of the present invention takes into account the relationship between crowds and the impact of the formed groups on movement, and groups the crowds by weighted relationship values and weighted density values To simulate the natural grouping of crowd evacuation and the arch phenomenon at the crowd exit, it provides an important basis for crowd evacuation safety drills, and can also detect building evacuation performance, optimize the actual evacuation process and improve evacuation efficiency;

(2)本发明的人群疏散仿真方法适用于有门的平面房间及大型平面场馆等区域,且暂不考虑障碍物的影响,可以扩展到有多个出口的广场等平面区域。(2) The crowd evacuation simulation method of the present invention is applicable to areas such as flat rooms with doors and large flat venues, and the influence of obstacles is not considered for the time being, and can be extended to flat areas such as squares with multiple exits.

附图说明Description of drawings

图1是本发明的基于网格-密度-关系的疏散人群行为仿真系统的结构示意图;Fig. 1 is the structural representation of the evacuated crowd behavior simulation system based on grid-density-relationship of the present invention;

图2是本发明的基于网格-密度-关系的疏散人群行为仿真方法的流程示意图;Fig. 2 is the schematic flow sheet of the evacuated crowd behavior simulation method based on grid-density-relationship of the present invention;

图3是本发明实施例中四个门的疏散场景的人群活动区域图;Fig. 3 is a diagram of the crowd activity area of the evacuation scene of four doors in the embodiment of the present invention;

图4是本发明实施例中疏散场景的人群活动区域划分为120个网格;Fig. 4 is that the crowd activity area of the evacuation scene in the embodiment of the present invention is divided into 120 grids;

图5是本发明实施例中网格密度示意图;Fig. 5 is a schematic diagram of grid density in an embodiment of the present invention;

图6是本发明实施例中网格关系值示意图;Fig. 6 is a schematic diagram of grid relationship values in an embodiment of the present invention;

图7是本发明实施例中核心网格的全部邻接网格示意图;Fig. 7 is a schematic diagram of all adjacent grids of the core grid in the embodiment of the present invention;

图8是本发明实施例中核心网格的面邻接网格示意图;Fig. 8 is a schematic diagram of a surface adjoining mesh of a core mesh in an embodiment of the present invention;

图9是本发明实施例中核心网格的点邻接网格示意图;Fig. 9 is a schematic diagram of a point-adjacency grid of a core grid in an embodiment of the present invention;

图10是本发明实施例中初始化后的人群示意图;Fig. 10 is a schematic diagram of the crowd after initialization in the embodiment of the present invention;

图11是本发明实施例中人群疏散仿真中人群分组过程示意图;Fig. 11 is a schematic diagram of the crowd grouping process in the crowd evacuation simulation in the embodiment of the present invention;

图12是本发明实施例中分组后向出口移动,接近出口的状态图。Fig. 12 is a state diagram of moving towards the exit after grouping and approaching the exit in the embodiment of the present invention.

具体实施方式detailed description

下面结合附图与实施例对本发明做进一步说明:Below in conjunction with accompanying drawing and embodiment the present invention will be further described:

在本发明的基于网格-密度-关系的疏散人群行为仿真系统中:In the evacuated crowd behavior simulation system based on grid-density-relationship of the present invention:

(1)人群数据集P={pi,i=1,2,…,N},pi=(pi1,pi2,…,pim)表示数据集中第i个个体,pij表示第i个个体的第j个属性。(1) Crowd data set P={p i ,i=1,2,...,N}, p i =(p i1 ,p i2 ,...,p im ) means the i-th individual in the data set, p ij means the i-th individual The jth attribute of the i individual.

(2)人群个体间的关系:(2) The relationship between individuals in the crowd:

对于两个个体pl和pm,关系值表示两个个体之间的紧密程度,取值为0到1,用rel(pi,pm)表示。For two individuals p l and p m , the relationship value represents the degree of closeness between the two individuals, ranging from 0 to 1, represented by rel(p i , p m ).

如果两个个体无关系,则关系值为0,如果是母子或恋人关系,则关系值趋近于1。为了反映紧急疏散时,查找导游或者一个团体的领导者,把旅游团队中的每个人与导游都建立关系,并且关系为1,同样的道理,每个集体的个体与领队之间,也都建立关系,并且关系值为1。待疏散人群数据集的个体之间的关系取值范围为:If the two individuals have no relationship, the relationship value is 0, and if it is a mother-child or lover relationship, the relationship value tends to 1. In order to reflect the emergency evacuation, find a tour guide or the leader of a group, and establish a relationship between everyone in the tour team and the tour guide, and the relationship is 1. In the same way, each collective individual and the team leader are also established. relationship, and the relationship value is 1. The value range of the relationship between individuals in the population dataset to be evacuated is:

(3)人群个体与疏散场景的人群活动区域的映射关系:(3) The mapping relationship between the crowd individual and the crowd activity area in the evacuation scene:

本发明疏散场景的人群活动区域定义为S=L×W,是一个长为L,宽为W的矩形平面区域,上面的每一个点都可以用由两个数构成的坐标(x,y)来表示。The crowd activity area in the evacuation scene of the present invention is defined as S=L×W, which is a rectangular plane area whose length is L and width is W, and each point above can use coordinates (x, y) formed by two numbers To represent.

其中,P→S的映射为M:待疏散人群数据集P到平面区域的映射M={pi(x,y)};Among them, the mapping of P→S is M: the mapping M={p i (x, y)} of the data set P of the population to be evacuated to the plane area;

pi是待疏散人群数据集中的第i个个体,1≤i≤N,(x,y)是二维平面上的坐标,1≤x≤W,1≤y≤L,pi(x,y)表示第i个个体在平面区域上的位置是(x,y)。p i is the i-th individual in the data set of people to be evacuated, 1≤i≤N, (x, y) is the coordinate on a two-dimensional plane, 1≤x≤W, 1≤y≤L, p i (x, y) indicates that the position of the i-th individual on the plane area is (x, y).

(4)人群分组数以及网格单元数的确定:(4) Determination of the number of groups of people and the number of grid units:

根据疏散场景的人群活动区域的出口数E,确定分组数T及待划分的网格单元数G:如图3所示,疏散场景平面区域有4个出口,分组数T=E×3,主要是考虑对应一个出口,可以有左,中,右三个方向的组向出口疏散。According to the number of exits E in the crowd activity area of the evacuation scene, determine the number of groups T and the number of grid units G to be divided: as shown in Figure 3, there are 4 exits in the plane area of the evacuation scene, and the number of groups T=E×3, mainly It is considered to correspond to an exit, and there can be groups in three directions of left, center and right to evacuate to the exit.

网格数G=T×10,该值是通过经验得出,还可以动态调整。Grid number G=T×10, this value is obtained through experience, and can also be adjusted dynamically.

其中,网格划分的过程为:Among them, the process of grid division is:

将平面区域S均匀划分为h×k个矩形网格(尽量划分为正方形),h×k=G。Divide the planar area S evenly into h×k rectangular grids (divided into squares as much as possible), h×k=G.

划分方法为:The division method is:

S是一个长为L,宽为W的矩形平面区域,划分为G个网格单元,则每个网格单元的面积a=(L×W)/G,边长为h=L/e,k=W/e。S is a rectangular plane area with length L and width W, which is divided into G grid units, then the area of each grid unit is a=(L×W)/G, and the side length is h=L/e, k=W/e.

如图4所示,例如,一个长300,宽250的矩形平面区域,划分为120个网格,每个网格的面积a=(300×250)/120,a=625,边长e=25,区域在横向划分为h=300/25,h=12,纵向划分k=10。As shown in Figure 4, for example, a rectangular plane area with a length of 300 and a width of 250 is divided into 120 grids, the area of each grid is a=(300×250)/120, a=625, and the side length e=25, the area is divided into h=300/25 in the horizontal direction, h=12, and k=10 in the vertical direction.

(5)网格单元:(5) Grid unit:

不失一般性,设平面区域左下角的座标为(0,0),每个矩形网格ci,j用左下角和右上角坐标表示为xi=xi-1+e,yj=yj-1+e,1≤i≤h,1≤j≤k,则每个矩形网格格是一个网格单元。Without loss of generality, let the coordinates of the lower left corner of the plane area be (0,0), and each rectangular grid c i, j is represented by the coordinates of the lower left corner and upper right corner as x i =x i-1 +e, y j =y j-1 +e, 1≤i≤h, 1≤j≤k, then each rectangular grid is a grid unit.

(6)网格密度:(6) Grid density:

网格密度为该网格单元中的个体总数。The grid density is the total number of individuals in the grid cell.

对于给定的网格单元ci,j,1≤i≤h,1≤j≤k,统计有多少个个体落在该网格单元中。个体pi(x,y)落在网格ci,j中,由x,y的坐标范围在区间内来判断,即xi-1<x≤xi,yi-1<y≤yiFor a given grid cell c i,j , 1≤i≤h, 1≤j≤k, count how many individuals fall in the grid cell. The individual p i (x, y) falls in the grid c i, j , and the coordinate range of x, y is in It is judged within the interval, that is, x i-1 <x≤x i , y i-1 <y≤y i .

如图5所示,网格密度den(ci,j)=count(pi(x,y)),xi-1<x≤xi,yi-1<y≤yi,count是计数函数。As shown in Figure 5, grid density den(c i,j )=count(p i (x,y)), x i-1 <x≤x i , y i-1 <y≤y i , count is count function.

(7)网格的关系值:(7) Relationship value of the grid:

网格的关系值:对于给定的网格单元ci,j,1≤i≤h,网格单元ci,j内个体之间的关系值之和除以2。Grid relationship value: For a given grid cell c i,j , 1≤i≤h, the sum of the relationship values between individuals in grid cell c i,j is divided by 2.

如图6所示,网格关系值 r e l ( c i , j ) = &Sigma; ( x 1 , y 1 ) &Element; c i , j ( x 2 , y 2 ) &Element; c i , j r e l ( p l ( x 1 , y 1 ) , p m ( x 2 , y 2 ) ) / 2 , xi-1<x1≤xi,yi-1<y1≤yi,xi-1<x2≤xi,yi-1<y2≤yiAs shown in Figure 6, the grid relation value r e l ( c i , j ) = &Sigma; ( x 1 , the y 1 ) &Element; c i , j ( x 2 , the y 2 ) &Element; c i , j r e l ( p l ( x 1 , the y 1 ) , p m ( x 2 , the y 2 ) ) / 2 , x i-1 < x 1 ≤ x i , y i-1 < y 1 ≤ y i , xi-1 < x 2 ≤ x i , y i-1 < y 2 ≤ y i .

网格单元ci,j内个体之间的关系值之和除以2,是因为如果pl(x1,y1)与pm(x2,y2)有关系,则pm(x2,y2)与pl(x1,y1)也有关系,而且是对称关系,因此,求和时,pl(x1,y1)与pm(x2,y2)之间的关系计算了两次。The sum of the relationship values between individuals in the grid cell c i,j is divided by 2, because if p l (x 1 ,y 1 ) has a relationship with p m (x 2 ,y 2 ), then p m (x 2 ,y 2 ) is also related to p l (x 1 ,y 1 ), and it is a symmetrical relationship. Therefore, when summing, the relationship between p l (x 1 ,y 1 ) and p m (x 2 ,y 2 ) The relationship is calculated twice.

(8)网格关系-密度值:(8) Grid relationship - density value:

网格关系-密度值是加权的关系值与加权的密度值之和,The grid relationship-density value is the sum of the weighted relationship value and the weighted density value,

即RelDen(ci,j)=w1×rel(ci,j)+w2×den(ci,j)。That is, RelDen(ci ,j )=w 1 ×rel(ci ,j )+w 2 ×den(ci ,j ).

其中,w1,w2分别是关系和密度的权重,一般取0.5,0.5,如果对分组速度要求比较高,则w2的权重增加,w1的权重减小。Among them, w 1 and w 2 are the weights of relationship and density respectively, which are generally 0.5 and 0.5. If the requirement for grouping speed is relatively high, the weight of w 2 is increased, and the weight of w 1 is decreased.

根据对人群疏散仿真模型的人群分组的速度要求,网格关系值的加权权重大于0.5,网格密度值的加权权重小于0.5。According to the speed requirement of crowd grouping in the crowd evacuation simulation model, the weighted weight of the grid relationship value is greater than 0.5, and the weighted weight of the grid density value is less than 0.5.

(9)关系距离值:(9) Relationship distance value:

两个个体pl(x1,y1),pm(x2,y2)之间的关系距离值为加权的关系值与加权的物理距离值之和,即:The relationship distance between two individuals p l (x 1 ,y 1 ), p m (x 2 ,y 2 ) is the sum of the weighted relationship value and the weighted physical distance value, namely:

RelDist(pl(x1,y1),pm(x2,y2))=w1×rel(pl(x1,y1),pm(x2,y2))+w2×dist(pl(x1,y1),pm(x2,y2))其中: d i s t ( p l ( x 1 , y 1 ) , p m ( x 2 , y 2 ) ) = ( x 2 - x 1 ) 2 + ( y 2 - y 1 ) 2 . RelDist(p l (x 1 ,y 1 ),p m (x 2 ,y 2 ))=w 1 ×rel(p l (x 1 ,y 1 ),p m (x 2 ,y 2 ))+w 2 ×dist(p l (x 1 ,y 1 ),p m (x 2 ,y 2 )) where: d i the s t ( p l ( x 1 , the y 1 ) , p m ( x 2 , the y 2 ) ) = ( x 2 - x 1 ) 2 + ( the y 2 - the y 1 ) 2 .

如图1所示,本发明的基于网格-密度-关系的疏散人群行为仿真系统,包括:As shown in Figure 1, the evacuated crowd behavior simulation system based on grid-density-relationship of the present invention includes:

疏散场景模型建立单元,其用于根据疏散场景的结构信息进行提取疏散场景的特征,得到疏散场景的三维模型;An evacuation scene model building unit, which is used to extract the features of the evacuation scene according to the structural information of the evacuation scene, and obtain a three-dimensional model of the evacuation scene;

疏散场景全局路径规划单元,其用于根据疏散场景的三维模型对疏散场景进行全局路径规划,计算疏散场景中所有出入口的全局路径;An evacuation scene global path planning unit, which is used to plan the global path of the evacuation scene according to the three-dimensional model of the evacuation scene, and calculate the global path of all entrances and exits in the evacuation scene;

人群活动生成单元,其用于根据疏散场景中所有出入口数量、人群中个体间关系以及个体位置信息来进行人群分组;A crowd activity generation unit, which is used to group the crowd according to the number of all entrances and exits in the evacuation scene, the relationship between individuals in the crowd, and the location information of the individual;

人群仿真单元,其用于根据社会力模型计算在仿真过程中个体的实时速度,在仿真的过程中,实时修正同组中每个个体的运动速度,以保持每个群组行进的一致性,实现疏散人群的行为仿真。The crowd simulation unit is used to calculate the real-time speed of the individual during the simulation process according to the social force model, and correct the movement speed of each individual in the same group in real time during the simulation process to maintain the consistency of each group's progress, Realize the behavior simulation of the evacuated crowd.

进一步地,人群活动生成单元,包括:Further, the crowd activity generation unit includes:

人群个体位置信息生成模块,其用于建立人群数据集与疏散场景的三维模型中人群活动区域之间的映射关系,根据映射关系生成人群个体在人群活动区域的位置;A crowd individual location information generation module, which is used to establish a mapping relationship between the crowd data set and the crowd activity area in the three-dimensional model of the evacuation scene, and generate the position of the crowd individual in the crowd activity area according to the mapping relationship;

疏散场景网格划分模块,根据疏散场景中所有出入口数量来确定人群分组数量,对疏散场景的三维模型中人群活动区域进行划分网格;The evacuation scene grid division module determines the number of crowd groups according to the number of all entrances and exits in the evacuation scene, and divides the crowd activity area in the 3D model of the evacuation scene;

网格关系-密度值计算模块,其用于根据每个网格单元内的个体数量以及个体间的关系值,计算每个网格单元的网格密度值和网格关系值,并对网格密度值和网格关系值进行加权叠加,获得每个网格单元的网格关系-密度值;Grid relationship-density value calculation module, which is used to calculate the grid density value and grid relationship value of each grid unit according to the number of individuals in each grid unit and the relationship value between individuals, and calculate the grid Weighted superposition of density value and grid relationship value to obtain the grid relationship-density value of each grid unit;

人群分组模块,其用于将网格关系-密度值最大的网格为核心网格来构建组中心,根据个体与组中心的物理距离,将个体所在网格分配到各核心网格所在的组中,完成人群的分组。Crowd grouping module, which is used to use the grid with the largest grid relationship-density value as the core grid to construct the group center, and assign the individual grid to the group where each core grid is located according to the physical distance between the individual and the group center , to complete the grouping of the crowd.

如图2所示,本发明的基于网格-密度-关系的疏散人群行为仿真系统的仿真方法,包括:As shown in Figure 2, the simulation method of the evacuated crowd behavior simulation system based on the grid-density-relationship of the present invention includes:

步骤(1):根据疏散场景的结构信息进行提取疏散场景的特征,得到疏散场景的三维模型;Step (1): According to the structural information of the evacuation scene, the features of the evacuation scene are extracted to obtain a three-dimensional model of the evacuation scene;

步骤(2):根据疏散场景的三维模型对疏散场景进行全局路径规划,计算疏散场景中所有出入口的全局路径;Step (2): Carry out global path planning for the evacuation scene according to the three-dimensional model of the evacuation scene, and calculate the global paths of all entrances and exits in the evacuation scene;

步骤(3):根据人群中个体间关系、人群在疏散场景中的密度以及个体位置信息来确定人群分组信息;Step (3): Determine the crowd grouping information according to the relationship between individuals in the crowd, the density of the crowd in the evacuation scene, and the location information of the individual;

步骤(4):根据社会力模型计算在仿真过程中个体的实时速度,在仿真的过程中,实时修正同组中每个个体的运动速度,以保持整个群组行进的一致性,实现疏散人群的行为仿真。Step (4): Calculate the real-time speed of the individual during the simulation process according to the social force model, and correct the movement speed of each individual in the same group in real time during the simulation process, so as to maintain the consistency of the entire group and realize the evacuation of the crowd behavior simulation.

进一步地,步骤(3)中确定人群分组信息的过程,包括:Further, the process of determining crowd grouping information in step (3) includes:

步骤(3.1):建立人群数据集与疏散场景的三维模型中人群活动区域之间的映射关系,根据映射关系生成人群个体在人群活动区域的位置;Step (3.1): Establish the mapping relationship between the crowd data set and the crowd activity area in the 3D model of the evacuation scene, and generate the position of the crowd individual in the crowd activity area according to the mapping relationship;

步骤(3.2):根据疏散场景中所有出入口数量来确定人群分组数量,对疏散场景的三维模型中人群活动区域进行划分网格;Step (3.2): Determine the number of crowd groups according to the number of all entrances and exits in the evacuation scene, and divide the crowd activity area in the three-dimensional model of the evacuation scene;

步骤(3.3):根据每个网格单元内的个体数量以及个体间的关系值,计算每个网格单元的网格密度值和网格关系值,并对网格密度值和网格关系值进行加权叠加,获得每个网格单元的网格关系-密度值;Step (3.3): Calculate the grid density value and grid relationship value of each grid unit according to the number of individuals in each grid unit and the relationship value between individuals, and calculate the grid density value and grid relationship value Perform weighted superposition to obtain the grid relationship-density value of each grid unit;

步骤(3.4):将网格关系-密度值最大的网格为核心网格来构建组中心,根据个体与组中心的物理距离,将个体所在网格分配到各核心网格所在的组中,完成人群的分组。Step (3.4): Use the grid with the largest grid relationship-density value as the core grid to construct the group center, and assign the individual grid to the group where each core grid is located according to the physical distance between the individual and the group center. Complete the grouping of the crowd.

比所有邻接网格关系-密度值高的网格称为核心网格,用core(ci,j)表示。其中,邻接网格分为全面邻接网格、面邻接网格和点邻接网格,分别如图7、图8和图9所示。The grid whose relationship-density value is higher than all adjacent grids is called the core grid, denoted by core( ci,j ). Among them, adjacency grids are divided into comprehensive adjacency grids, surface adjacency grids and point adjacency grids, as shown in Fig. 7, Fig. 8 and Fig. 9 respectively.

待分组队列WaitQueue中每个元素wqi是一个非空网格单元,即den(wqi)≠0。Each element wq i in the WaitQueue to be grouped is a non-empty grid unit, that is, den(wq i )≠0.

已分组队列FinishQueue中元素fqi是已经确定所属组的网格单元。The element fq i in the grouped queue FinishQueue is a grid unit whose group has been determined.

步骤(3.4)中,将个体所在网格分配到各核心网格所在的组中的过程,包括:In step (3.4), the process of assigning the individual grid to the group where each core grid is located includes:

第一步:排序:根据加权的网格关系-密度值,从高往低对网格进行排序,形成队列WaitQueue,对列中有u个元素。密度值为零的网格,即该网格中没有个体,不进入队列。The first step: Sorting: According to the weighted grid relationship-density value, the grids are sorted from high to low to form a queue WaitQueue, and there are u elements in the column. A grid with a density value of zero, that is, there are no individuals in the grid, will not enter the queue.

第二步:核心网格core(ci,j)选取与合并:选取待分组队列WaitQueue中第一个网格作为核心网格,从第二个网格开始,进行到第u-1个网格,逐个与核心网格进行比较,如果某个网格是核心网格的邻接网格,则把该网格并入核心网格,u=u-1;循环完后,把合并后的核心网格从待分组队列WaitQueue移到已分组队列FinishQueue,并标注组号,u=u-1;Step 2: core grid core(ci ,j ) selection and merging: select the first grid in the WaitQueue to be grouped as the core grid, start from the second grid, and proceed to the u-1th grid compare with the core grid one by one, if a certain grid is the adjacent grid of the core grid, then merge the grid into the core grid, u=u-1; after the cycle, merge the core grid The grid is moved from the waiting queue WaitQueue to the grouping queue FinishQueue, and the group number is marked, u=u-1;

第三步:重复第二步,直至待分组队列WaitQueue中网格个数为0或者已分组队列FinishQueue网格个数为T;Step 3: Repeat step 2 until the number of grids in WaitQueue to be grouped is 0 or the number of grids in FinishQueue in grouped queue is T;

第四步:如果待分组队列WaitQueue网格个数为0,则已分组队列FinishQueue中的网格就是对个体的分组,转向第五步;否则,如果FinishQueue中网格个数为T,而WaitQueue中网格个数不为0,则从WaitQueue中,逐个取出网格,并且对网格中每个个体,逐个计算与FinishQueue中核心网格的中心点个体关系-距离值,并入与中心点个体关系-距离值最小的核心网格,直至WaitQueue元素个数为0。Step 4: If the number of WaitQueue grids in the queue to be grouped is 0, the grids in the finished queue FinishQueue are the grouping of individuals, and turn to step 5; otherwise, if the number of grids in the FinishQueue is T, and the WaitQueue If the number of grids in the middle is not 0, the grids are taken out one by one from the WaitQueue, and for each individual in the grid, the individual relationship-distance value with the center point of the core grid in the FinishQueue is calculated one by one, and merged with the center point Individual relationship - the core grid with the smallest distance value until the number of WaitQueue elements is 0.

第五步:结束分组过程。Step 5: End the grouping process.

下面提供一个仿真实施例:A simulation example is provided below:

由300个人300×250的平面区域上进行计算机人群疏散仿真,如图10~图12所示。在图10中,初始化后的状态,相同灰度的个体表示:个体之间存在关系。在图11中,从人群分组后,各组向出口移动的状态可以看出,相同灰度的个体分在相同的组中。从图12中可看出,在向出口移动过程中,有关系的个体基本保持在同一组,并且同组中的每个个体都会试图调整自己的运动速度,以保持跟整个群组行进的一致性。Computer crowd evacuation simulation is carried out on a 300×250 plane area with 300 people, as shown in Figure 10-12. In Figure 10, the state after initialization, individuals with the same gray level indicate that there is a relationship between individuals. In Figure 11, it can be seen from the state that each group moves toward the exit after the crowd is grouped, individuals with the same gray level are classified into the same group. It can be seen from Figure 12 that in the process of moving towards the exit, the related individuals basically remain in the same group, and each individual in the same group will try to adjust its own movement speed to keep the same pace as the entire group. sex.

上述虽然结合附图对本发明的具体实施方式进行了描述,但并非对本发明保护范围的限制,所属领域技术人员应该明白,在本发明的技术方案的基础上,本领域技术人员不需要付出创造性劳动即可做出的各种修改或变形仍在本发明的保护范围以内。Although the specific implementation of the present invention has been described above in conjunction with the accompanying drawings, it does not limit the protection scope of the present invention. Those skilled in the art should understand that on the basis of the technical solution of the present invention, those skilled in the art do not need to pay creative work Various modifications or variations that can be made are still within the protection scope of the present invention.

Claims (10)

1.一种基于网格-密度-关系的疏散人群行为仿真系统,其特征在于,包括:1. A grid-density-relationship-based evacuation crowd behavior simulation system, characterized in that it comprises: 疏散场景模型建立单元,其用于根据疏散场景的结构信息进行提取疏散场景的特征,得到疏散场景的三维模型;An evacuation scene model building unit, which is used to extract the features of the evacuation scene according to the structural information of the evacuation scene, and obtain a three-dimensional model of the evacuation scene; 疏散场景全局路径规划单元,其用于根据疏散场景的三维模型对疏散场景进行全局路径规划,计算疏散场景中所有出入口的全局路径;An evacuation scene global path planning unit, which is used to plan the global path of the evacuation scene according to the three-dimensional model of the evacuation scene, and calculate the global path of all entrances and exits in the evacuation scene; 人群活动生成单元,其用于根据疏散场景中所有出入口数量、人群中个体间关系以及个体位置信息来进行人群分组;A crowd activity generation unit, which is used to group the crowd according to the number of all entrances and exits in the evacuation scene, the relationship between individuals in the crowd, and the location information of the individual; 人群仿真单元,其用于根据社会力模型计算在仿真过程中个体的实时速度,在仿真的过程中,实时修正同组中每个个体的运动速度,以保持每个群组行进的一致性,实现疏散人群的行为仿真。The crowd simulation unit is used to calculate the real-time speed of the individual during the simulation process according to the social force model, and correct the movement speed of each individual in the same group in real time during the simulation process to maintain the consistency of each group's progress, Realize the behavior simulation of the evacuated crowd. 2.如权利要求1所述的一种基于网格-密度-关系的疏散人群行为仿真系统,其特征在于,所述人群活动生成单元,包括:2. A kind of evacuation crowd behavior simulation system based on grid-density-relationship as claimed in claim 1, is characterized in that, described crowd activity generation unit comprises: 人群个体位置信息生成模块,其用于建立人群数据集与疏散场景的三维模型中人群活动区域之间的映射关系,根据映射关系生成人群个体在人群活动区域的位置;A crowd individual location information generation module, which is used to establish a mapping relationship between the crowd data set and the crowd activity area in the three-dimensional model of the evacuation scene, and generate the position of the crowd individual in the crowd activity area according to the mapping relationship; 疏散场景网格划分模块,根据疏散场景中所有出入口数量来确定人群分组数量,对疏散场景的三维模型中人群活动区域进行划分网格;The evacuation scene grid division module determines the number of crowd groups according to the number of all entrances and exits in the evacuation scene, and divides the crowd activity area in the 3D model of the evacuation scene; 网格关系-密度值计算模块,其用于根据每个网格单元内的个体数量以及个体间的关系值,计算每个网格单元的网格密度值和网格关系值,并对网格密度值和网格关系值进行加权叠加,获得每个网格单元的网格关系-密度值;Grid relationship-density value calculation module, which is used to calculate the grid density value and grid relationship value of each grid unit according to the number of individuals in each grid unit and the relationship value between individuals, and calculate the grid Weighted superposition of density value and grid relationship value to obtain the grid relationship-density value of each grid unit; 人群分组模块,其用于将网格关系-密度值最大的网格为核心网格来构建组中心,根据个体与组中心的物理距离,将个体所在网格分配到各核心网格所在的组中,完成人群的分组。Crowd grouping module, which is used to use the grid with the largest grid relationship-density value as the core grid to construct the group center, and assign the individual grid to the group where each core grid is located according to the physical distance between the individual and the group center , to complete the grouping of the crowd. 3.一种基于如权利要求1-2任一所述的网格-密度-关系的疏散人群行为仿真系统的仿真方法,其特征在于,包括:3. a simulation method based on the evacuation crowd behavior simulation system of grid-density-relationship as described in any one of claims 1-2, it is characterized in that, comprising: 步骤(1):根据疏散场景的结构信息进行提取疏散场景的特征,得到疏散场景的三维模型;Step (1): According to the structural information of the evacuation scene, the features of the evacuation scene are extracted to obtain a three-dimensional model of the evacuation scene; 步骤(2):根据疏散场景的三维模型对疏散场景进行全局路径规划,计算疏散场景中所有出入口的全局路径;Step (2): Carry out global path planning for the evacuation scene according to the three-dimensional model of the evacuation scene, and calculate the global paths of all entrances and exits in the evacuation scene; 步骤(3):根据人群中个体间关系、人群在疏散场景中的密度以及个体位置信息来确定人群分组信息;Step (3): Determine the crowd grouping information according to the relationship between individuals in the crowd, the density of the crowd in the evacuation scene, and the location information of the individual; 步骤(4):根据社会力模型计算在仿真过程中个体的实时速度,在仿真的过程中,实时修正同组中每个个体的运动速度,以保持整个群组行进的一致性,实现疏散人群的行为仿真。Step (4): Calculate the real-time speed of the individual during the simulation process according to the social force model, and correct the movement speed of each individual in the same group in real time during the simulation process, so as to maintain the consistency of the entire group and realize the evacuation of the crowd behavior simulation. 4.如权利要求3所述的基于网格-密度-关系的疏散人群行为仿真系统的仿真方法,其特征在于,所述步骤(3)中确定人群分组信息的过程,包括:4. the simulation method of the evacuated crowd behavior simulation system based on grid-density-relationship as claimed in claim 3, is characterized in that, the process of determining crowd grouping information in the described step (3) comprises: 步骤(3.1):建立人群数据集与疏散场景的三维模型中人群活动区域之间的映射关系,根据映射关系生成人群个体在人群活动区域的位置;Step (3.1): Establish the mapping relationship between the crowd data set and the crowd activity area in the 3D model of the evacuation scene, and generate the position of the crowd individual in the crowd activity area according to the mapping relationship; 步骤(3.2):根据疏散场景中所有出入口数量来确定人群分组数量,对疏散场景的三维模型中人群活动区域进行划分网格;Step (3.2): Determine the number of crowd groups according to the number of all entrances and exits in the evacuation scene, and divide the crowd activity area in the three-dimensional model of the evacuation scene; 步骤(3.3):根据每个网格单元内的个体数量以及个体间的关系值,计算每个网格单元的网格密度值和网格关系值,并对网格密度值和网格关系值进行加权叠加,获得每个网格单元的网格关系-密度值;Step (3.3): Calculate the grid density value and grid relationship value of each grid unit according to the number of individuals in each grid unit and the relationship value between individuals, and calculate the grid density value and grid relationship value Perform weighted superposition to obtain the grid relationship-density value of each grid unit; 步骤(3.4):将网格关系-密度值最大的网格为核心网格来构建组中心,根据个体与组中心的物理距离,将个体所在网格分配到各核心网格所在的组中,完成人群的分组。Step (3.4): The grid with the highest grid relationship-density value is used as the core grid to construct the group center, and according to the physical distance between the individual and the group center, the grid where the individual is located is assigned to the group where each core grid is located, Complete the grouping of the crowd. 5.如权利要求4所述的基于网格-密度-关系的疏散人群行为仿真系统的仿真方法,其特征在于,所述步骤(3.4)中,将个体所在网格分配到各核心网格所在的组中的过程,包括:5. the simulation method of the evacuated crowd behavior simulation system based on grid-density-relationship as claimed in claim 4, it is characterized in that, in described step (3.4), the individual grid is assigned to each core grid where The processes in the group include: 步骤(3.4.1):根据每个网格单元的网格关系-密度值的大小,从大到小对网格单元进行排序,形成待分组队列;Step (3.4.1): According to the size of the grid relationship-density value of each grid unit, sort the grid units from large to small to form a queue to be grouped; 步骤(3.4.2):选取待分组队列中第一个网格作为核心网格,从第二个网格开始直至待分组队列中最后一个网格,逐个判断是否为核心网格的邻接网格,若是,则将该网格并入核心网格,并在待分组队列删去该网格;将合并后的核心网格从待分组队列移到已分组队列,并标注组号;Step (3.4.2): Select the first grid in the queue to be grouped as the core grid, from the second grid to the last grid in the queue to be grouped, and judge whether it is an adjacent grid of the core grid , if so, merge the grid into the core grid, and delete the grid in the queue to be grouped; move the merged core grid from the queue to be grouped to the grouped queue, and mark the group number; 步骤(3.4.3):重复步骤(3.4.2),直至待分组队列中网格个数为0,分组结束;否则进入下一步;Step (3.4.3): Repeat step (3.4.2) until the number of grids in the queue to be grouped is 0, and the grouping ends; otherwise, go to the next step; 步骤(3.4.4):待分组队列中网格个数为非零,且已分组队列网格个数等于已确定的分组数,则根据待分组队列的网格中每个个体与已分组队列中组中心的物理距离,将相应网格分配到各核心网格所在的组中,直至待分组队列中网格个数为0。Step (3.4.4): The number of grids in the queue to be grouped is non-zero, and the number of grids in the queue to be grouped is equal to the determined number of groups, then according to each individual in the grid of the queue to be grouped and the grouped queue The physical distance of the center of the group, assign the corresponding grids to the group where each core grid is located, until the number of grids in the queue to be grouped is 0. 6.如权利要求4所述的基于网格-密度-关系的疏散人群行为仿真系统的仿真方法,其特征在于,所述步骤(3.3)中,对网格密度值和网格关系值进行加权的权重分别为0.5和0.5。6. the simulation method of the evacuated crowd behavior simulation system based on grid-density-relationship as claimed in claim 4, is characterized in that, in described step (3.3), weighting is carried out to grid density value and grid relationship value The weights are 0.5 and 0.5 respectively. 7.如权利要求5所述的基于网格-密度-关系的疏散人群行为仿真系统的仿真方法,其特征在于,所述步骤(3.4.1)中的待分组队列中网格的密度值均为非零值。7. the simulation method of the evacuation crowd behavior simulation system based on grid-density-relationship as claimed in claim 5, is characterized in that, the density value of grid in the queue to be grouped in described step (3.4.1) averages is a non-zero value. 8.如权利要求4所述的基于网格-密度-关系的疏散人群行为仿真系统的仿真方法,其特征在于,所述步骤(3.4)中,分组数等于待疏散平面区域的出口数的3倍。8. the simulation method of the evacuation crowd behavior simulation system based on grid-density-relationship as claimed in claim 4, is characterized in that, in described step (3.4), grouping number is equal to 3 of the exit number of plane area to be evacuated times. 9.如权利要求4所述的基于网格-密度-关系的疏散人群行为仿真系统的仿真方法,其特征在于,所述步骤(3.4)中,对疏散场景的三维模型中人群活动区域进行划分的单元网格数等于分组数的10倍。9. the simulation method of the evacuation crowd behavior simulation system based on grid-density-relationship as claimed in claim 4, is characterized in that, in described step (3.4), in the three-dimensional model of evacuation scene, crowd activity area is divided The number of cell grids is equal to 10 times the number of groups. 10.如权利要求4所述的基于网格-密度-关系的疏散人群行为仿真系统的仿真方法,其特征在于,所述步骤(3.3)中,每个网格单元的网格关系值等于该网格单元内所有个体之间的关系值之和除以2。10. the simulation method of the evacuation crowd behavior simulation system based on grid-density-relationship as claimed in claim 4, is characterized in that, in described step (3.3), the grid relation value of each grid unit is equal to this The sum of the relationship values between all individuals in the grid cell is divided by 2.
CN201610044959.4A 2016-01-22 2016-01-22 Evacuation crowd behaviour analogue system based on grid-density-relationship and its method Expired - Fee Related CN105740510B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610044959.4A CN105740510B (en) 2016-01-22 2016-01-22 Evacuation crowd behaviour analogue system based on grid-density-relationship and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610044959.4A CN105740510B (en) 2016-01-22 2016-01-22 Evacuation crowd behaviour analogue system based on grid-density-relationship and its method

Publications (2)

Publication Number Publication Date
CN105740510A true CN105740510A (en) 2016-07-06
CN105740510B CN105740510B (en) 2018-08-31

Family

ID=56247559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610044959.4A Expired - Fee Related CN105740510B (en) 2016-01-22 2016-01-22 Evacuation crowd behaviour analogue system based on grid-density-relationship and its method

Country Status (1)

Country Link
CN (1) CN105740510B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202751A (en) * 2016-07-15 2016-12-07 山东师范大学 Crowd evacuation emulation method that Cultural Algorithm is combined with particle swarm optimization and system
CN106815422A (en) * 2017-01-11 2017-06-09 山东师范大学 Consider the emulation mode and system of alleviating excessive compression in dense population of arching
CN107256307A (en) * 2017-06-09 2017-10-17 山东师范大学 The crowd evacuation emulation method and system of knowledge based navigation
CN107423480A (en) * 2017-05-19 2017-12-01 山东师范大学 A kind of crowd movement's emulation mode and system
CN107463751A (en) * 2017-08-10 2017-12-12 山东师范大学 A kind of crowd based on DBSCAN clustering algorithms by half is grouped evacuation emulation method and system
CN108153966A (en) * 2017-12-22 2018-06-12 中山大学 The real-time evacuation emulation method of multiple exit potential energy field model crowd based on GPU
CN108416381A (en) * 2018-03-01 2018-08-17 国家海洋局第海洋研究所 A kind of multi-density clustering method towards three-dimensional point set
CN109063268A (en) * 2018-07-05 2018-12-21 同济大学 The iterative emulation mode of crowd evacuation macromodel
CN109101694A (en) * 2018-07-16 2018-12-28 山东师范大学 A kind of the crowd behaviour emulation mode and system of the guidance of safe escape mark
CN110688749A (en) * 2019-09-19 2020-01-14 山东师范大学 Crowd evacuation simulation method and system
CN111339668A (en) * 2020-02-28 2020-06-26 西南交通大学 Visualization method of crowd evacuation based on emotion cognition
CN111400914A (en) * 2020-03-17 2020-07-10 山东师范大学 Vision-field-based crowd grouping and crowd evacuation simulation system and method
CN113221379A (en) * 2021-05-28 2021-08-06 视伴科技(北京)有限公司 Method and device for planning number of viewing seats of event activity
CN113902168A (en) * 2021-09-08 2022-01-07 长江信达软件技术(武汉)有限责任公司 A flood emergency evacuation method based on real-time crowd data fusion
CN114545932A (en) * 2022-01-28 2022-05-27 北京交通大学 A path correction method, apparatus, device and readable storage medium
CN115017742A (en) * 2022-08-08 2022-09-06 西安深信科创信息技术有限公司 Automatic driving test scene generation method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090306946A1 (en) * 2008-04-08 2009-12-10 Norman I Badler Methods and systems for simulation and representation of agents in a high-density autonomous crowd
CN103679264A (en) * 2013-12-23 2014-03-26 山东师范大学 Crowd evacuation path planning method based on artificial fish swarm algorithm
US20140372348A1 (en) * 2011-12-15 2014-12-18 Northeastern University Real-time anomaly detection of crowd behavior using multi-sensor information
CN104239636A (en) * 2014-09-16 2014-12-24 北京航空航天大学 A fire emergency evacuation simulation method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090306946A1 (en) * 2008-04-08 2009-12-10 Norman I Badler Methods and systems for simulation and representation of agents in a high-density autonomous crowd
US20140372348A1 (en) * 2011-12-15 2014-12-18 Northeastern University Real-time anomaly detection of crowd behavior using multi-sensor information
CN103679264A (en) * 2013-12-23 2014-03-26 山东师范大学 Crowd evacuation path planning method based on artificial fish swarm algorithm
CN104239636A (en) * 2014-09-16 2014-12-24 北京航空航天大学 A fire emergency evacuation simulation method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JOAO E.ALMEIDA等: "Crowd Simulation Modeling Applied to Emergency and Evacuation Simulations using Multi-Agent Systems", 《COMPUTER SCIENCE》 *
胡春雨: "基于群体智能的人群疏散建模与仿真方法研究", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 *

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202751B (en) * 2016-07-15 2019-03-19 山东师范大学 Crowd evacuation emulation method and system of the Cultural Algorithm in conjunction with particle swarm optimization
CN106202751A (en) * 2016-07-15 2016-12-07 山东师范大学 Crowd evacuation emulation method that Cultural Algorithm is combined with particle swarm optimization and system
CN106815422A (en) * 2017-01-11 2017-06-09 山东师范大学 Consider the emulation mode and system of alleviating excessive compression in dense population of arching
CN107423480A (en) * 2017-05-19 2017-12-01 山东师范大学 A kind of crowd movement's emulation mode and system
CN107256307A (en) * 2017-06-09 2017-10-17 山东师范大学 The crowd evacuation emulation method and system of knowledge based navigation
CN107463751A (en) * 2017-08-10 2017-12-12 山东师范大学 A kind of crowd based on DBSCAN clustering algorithms by half is grouped evacuation emulation method and system
CN108153966B (en) * 2017-12-22 2021-06-15 中山大学 Real-time crowd evacuation simulation method for multi-exit potential energy field model based on GPU
CN108153966A (en) * 2017-12-22 2018-06-12 中山大学 The real-time evacuation emulation method of multiple exit potential energy field model crowd based on GPU
CN108416381B (en) * 2018-03-01 2021-07-16 国家海洋局第一海洋研究所 A Multi-Density Clustering Method for 3D Point Sets
CN108416381A (en) * 2018-03-01 2018-08-17 国家海洋局第海洋研究所 A kind of multi-density clustering method towards three-dimensional point set
CN109063268B (en) * 2018-07-05 2021-03-26 同济大学 Iterative simulation method of crowd evacuation macro model
CN109063268A (en) * 2018-07-05 2018-12-21 同济大学 The iterative emulation mode of crowd evacuation macromodel
CN109101694B (en) * 2018-07-16 2019-05-28 山东师范大学 A kind of the crowd behaviour emulation mode and system of the guidance of safe escape mark
CN109101694A (en) * 2018-07-16 2018-12-28 山东师范大学 A kind of the crowd behaviour emulation mode and system of the guidance of safe escape mark
CN110688749A (en) * 2019-09-19 2020-01-14 山东师范大学 Crowd evacuation simulation method and system
CN110688749B (en) * 2019-09-19 2023-04-11 山东师范大学 Crowd evacuation simulation method and system
CN111339668A (en) * 2020-02-28 2020-06-26 西南交通大学 Visualization method of crowd evacuation based on emotion cognition
CN111400914A (en) * 2020-03-17 2020-07-10 山东师范大学 Vision-field-based crowd grouping and crowd evacuation simulation system and method
CN113221379A (en) * 2021-05-28 2021-08-06 视伴科技(北京)有限公司 Method and device for planning number of viewing seats of event activity
CN113902168A (en) * 2021-09-08 2022-01-07 长江信达软件技术(武汉)有限责任公司 A flood emergency evacuation method based on real-time crowd data fusion
CN114545932A (en) * 2022-01-28 2022-05-27 北京交通大学 A path correction method, apparatus, device and readable storage medium
CN115017742A (en) * 2022-08-08 2022-09-06 西安深信科创信息技术有限公司 Automatic driving test scene generation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105740510B (en) 2018-08-31

Similar Documents

Publication Publication Date Title
CN105740510B (en) Evacuation crowd behaviour analogue system based on grid-density-relationship and its method
CN105740514B (en) A kind of large-scale crowd evacuation computer simulation system and its method
CN106227958B (en) Group evacuation simulation system and method combining artificial bee colony and social force model
Zhang et al. Physics inspired methods for crowd video surveillance and analysis: a survey
CN107464021B (en) A kind of crowd evacuation emulation method based on intensified learning, device
CN107463751B (en) A crowd grouping evacuation simulation method and system based on the half DBSCAN clustering algorithm
CN107403049B (en) A kind of Q-Learning pedestrian&#39;s evacuation emulation method and system based on artificial neural network
CN108133185B (en) Method and system for judging pedestrian relationship based on trajectory data
CN106407519B (en) A kind of modeling method of crowd&#39;s movement law
CN110309842A (en) Object detection method and device based on convolutional neural network
CN105808852A (en) Indoor pedestrian microscopic simulation method based on cellular automaton
CN107220447A (en) Crowd evacuation emulation method and system based on evacuation set of paths
CN104331917B (en) A kind of panic crowd&#39;s escape analogy method
CN107480821A (en) The multi-Agent cooperation crowd evacuation emulation method and device of instance-based learning
CN111400914A (en) Vision-field-based crowd grouping and crowd evacuation simulation system and method
CN107423480A (en) A kind of crowd movement&#39;s emulation mode and system
CN103995915A (en) Crowd evacuation simulation system based on composite potential energy field
CN107679306B (en) The crowd evacuation behavior simulation method and system of video drive
CN112862192A (en) Crowd evacuation auxiliary decision-making system based on ant colony algorithm and improved social model
Li et al. Simulation of evacuating crowd based on deep learning and social force model
CN113988408A (en) Artificial induction method of passenger flow evacuation in subway station based on multi-objective programming
CN103198182B (en) The pedestrian guide sign design method of view-based access control model perception simulation technology
CN108009134A (en) A kind of Information of Ancient Human Activity method for digging
Wang et al. Incorporating topography in a cellular automata model to simulate residents evacuation in a mountain area in China
CN109472049B (en) Macroscopic population panic propagation dynamics model establishment method and dynamics model application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180831

Termination date: 20220122