[go: up one dir, main page]

CN111898259A - An ontology-based method for collision detection of large-scale event events - Google Patents

An ontology-based method for collision detection of large-scale event events Download PDF

Info

Publication number
CN111898259A
CN111898259A CN202010698849.6A CN202010698849A CN111898259A CN 111898259 A CN111898259 A CN 111898259A CN 202010698849 A CN202010698849 A CN 202010698849A CN 111898259 A CN111898259 A CN 111898259A
Authority
CN
China
Prior art keywords
activity
time
scale
class
space
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
CN202010698849.6A
Other languages
Chinese (zh)
Other versions
CN111898259B (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.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
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 Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN202010698849.6A priority Critical patent/CN111898259B/en
Publication of CN111898259A publication Critical patent/CN111898259A/en
Application granted granted Critical
Publication of CN111898259B publication Critical patent/CN111898259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0637Strategic management or analysis, e.g. setting a goal or target of an organisation; Planning actions based on goals; Analysis or evaluation of effectiveness of goals
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Educational Administration (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Health & Medical Sciences (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a large-scale activity event conflict detection method based on an ontology. According to the method, aiming at the application scene of the commonality of the large-scale activities, the large-scale activities are defined as triples through the objects of the large-scale activities, the flows of the large-scale activities and the rules of the large-scale activities; defining objects of large activities by personnel, facilities, time, space, volunteers, audiences, venues and control points; defining a specific flow of the large-scale activity through links of the large-scale activity; further constructing object data attributes of volunteer class, audience class, venue class and control point class; and establishing a time conflict detection rule, a space conflict detection rule and an attribute conflict detection rule, and sequentially detecting whether the large-scale activities conflict or not according to the rules. The invention realizes the method for detecting the conflict of the large-scale activity events based on the body, solves the problems of overall planning and management of the large-scale activity, and has the advantages of rapidness, effectiveness, repeatability, expandability and robustness.

Description

一种基于本体的大型活动事件冲突检测方法An Ontology-Based Conflict Detection Method for Large Activity Events

技术领域technical field

本发明涉及信息系统集成技术领域,具体涉及一种基于本体的大型活动事件冲突检测方法。The invention relates to the technical field of information system integration, in particular to an ontology-based large-scale activity event conflict detection method.

背景技术Background technique

大型活动涉及场馆、人员、设施、活动流程等因素,组织、管理和调度复杂,规划设计后需要反复模拟、演练和人工研判才能发现确认是否存在人员、时间、场地等方面的冲突情况。Large-scale events involve factors such as venues, personnel, facilities, and event processes. Organization, management, and scheduling are complex. After planning and design, repeated simulations, drills, and manual judgments are required to find out and confirm whether there are conflicts in terms of personnel, time, and venue.

现有针对大型活动的事件模型整体上分为两类:基于宏观视角的大型活动模型以及基于微观视角的大型活动模型。基于宏观视角的大型活动模型是基于整体的,用几何图形表示。模型将人群运动作为一个整体进行研究,人群的移动常被表示为图中的流,忽略了个体间的差异和相互作用。主要包括流体动力学模型和势能场模型。基于微观视角的大型活动模型基于个体特性进行建模,侧重描述疏散动态过程中个体自身心理因素、个体之间、个体与环境的影响。主要有三种:社会力模型、元胞自动机模型、基于Agent的模型。这些模型注重于人群的疏散,尚无法对大型活动进行整体规划和管理,也无法通过制定规则自动实现潜在冲突的检测。The existing event models for large-scale activities are generally divided into two categories: large-scale activity models based on a macro-perspective and large-scale activity models based on a micro-perspective. Large-scale activity models based on a macroscopic perspective are based on the whole and are represented by geometric figures. The model studies crowd movement as a whole, and crowd movement is often represented as a flow in a graph, ignoring differences and interactions between individuals. It mainly includes fluid dynamics model and potential energy field model. The large-scale activity model based on a microscopic perspective is based on individual characteristics, and focuses on describing the influence of individual psychological factors, between individuals, and between individuals and the environment in the dynamic process of evacuation. There are three main types: social force model, cellular automata model, and agent-based model. These models focus on the evacuation of crowds, and are not yet capable of overall planning and management of large-scale events, nor can they automatically detect potential conflicts by formulating rules.

因此,为了解决上述存在的技术问题,本发明提供了一种新的技术。Therefore, in order to solve the above-mentioned technical problems, the present invention provides a new technology.

发明内容SUMMARY OF THE INVENTION

本发明为了解决大型活动事件规范化设计及自动化冲突检测,从而提供一种基于本体的大型活动事件冲突检测方法。In order to solve the standardized design and automatic conflict detection of large-scale activity events, the present invention provides an ontology-based collision detection method for large-scale activity events.

一种基于本体的大型活动事件冲突检测方法,它包括如下步骤:An ontology-based large-scale event conflict detection method, which includes the following steps:

步骤1:针对大型活动共性的应用场景,通过大型活动的对象、大型活动的流程、大型活动的规则将大型活动定义为三元组;Step 1: For the common application scenarios of large-scale activities, define large-scale activities as triples through the objects of large-scale activities, the process of large-scale activities, and the rules of large-scale activities;

步骤2:通过人员类、设施类、时间类、空间类定义大型活动的对象;Step 2: Define the objects of large-scale activities through the personnel class, facility class, time class, and space class;

步骤3:通过大型活动的环节定义大型活动的具体流程;Step 3: Define the specific process of the large-scale event through the links of the large-scale event;

步骤4:通过志愿者类、观众类、场馆类、控制点类构建对象类,进一步构建志愿者类、观众类、场馆类、控制点类的对象数据属性;Step 4: Construct object classes through volunteer class, audience class, venue class, and control point class, and further construct the object data attributes of volunteer class, audience class, venue class, and control point class;

步骤5:建立时间冲突检测规则、空间冲突检测规则及属性冲突检测规则,分别根据时间冲突检测规则、空间冲突检测规则及属性冲突检测规则依次检测大型活动是否存在冲突;Step 5: establish a time conflict detection rule, a space conflict detection rule and an attribute conflict detection rule, and sequentially detect whether there is a conflict in a large-scale event according to the time conflict detection rule, the space conflict detection rule and the attribute conflict detection rule respectively;

作为优选,步骤1所述大型活动为:Preferably, the large-scale activities described in step 1 are:

Event={Object,Flow,Rule}Event={Object,Flow,Rule}

其中,Object为大型活动的对象;Flow为大型活动的具体流程,由一系列环节组成;Rule为大型活动的冲突检测规则,所述冲突检测规则包括时间冲突检测规则、空间冲突检测规则、属性冲突检测规则;Among them, Object is the object of large-scale activities; Flow is the specific process of large-scale activities, which consists of a series of links; Rule is the conflict detection rules of large-scale activities, and the conflict detection rules include time conflict detection rules, space conflict detection rules, and attribute conflicts. detection rules;

作为优选,步骤2所述通过人员类、设施类、时间类和空间类定义大型活动的对象,即步骤1中所述大型活动的对象为:Preferably, the object of the large-scale activity is defined by the personnel class, the facility class, the time class and the space class in step 2, that is, the object of the large-scale activity described in step 1 is:

Object=Human∪Facility∪Time∪SpaceObject=Human∪Facility∪Time∪Space

其中,Human为人员类,Facility为设施类,Time为时间类,Space为空间类;Among them, Human is a personnel class, Facility is a facility class, Time is a time class, and Space is a space class;

所述人员类Human的子类包括:工作人员类Staff、志愿者类Volunteer和演出人员类Performer、观众类Audience;The subclasses of the human class include: the staff class Staff, the volunteer class Volunteer, the performer class Performer, and the audience class Audience;

所述设施类Facility的子类包括:固定设施类Facility_fix和移动设施类Facility_mobile;The subclasses of the facility class Facility include: a fixed facility class Facility_fix and a mobile facility class Facility_mobile;

所述固定设施类Facility_fix的子类包括:场馆类Venues、停车场类ParkingLot、出入场路径类Route、控制点类Spot;The subclasses of the fixed facility class Facility_fix include: Venues class Venues, parking lot class ParkingLot, entry and exit route class Route, and control point class Spot;

所述时间类Time包括时间点类Instant和时间段类Interval;The time class Time includes a time point class Instant and a time period class Interval;

所述时间段类由一对时间点来表达:interval={beginTime,endTime},其中beginTime∈Instant,endTime∈Instant,beginTime<endTime。The time period class is expressed by a pair of time points: interval={beginTime, endTime}, where beginTime∈Instant, endTime∈Instant, beginTime<endTime.

所述空间类Space包括:空间点子类Point、空间线子类Line;The space class Space includes: a space point subclass Point, a space line subclass Line;

所述空间点子类Point,表达为坐标点(x,y),用于表示活动中的控制点子类Spot;The spatial point subclass Point, expressed as a coordinate point (x, y), is used to represent the control point subclass Spot in the activity;

所述空间线子类Line,表达为坐标点串{(x1,y1),(x2,y2),…(xn,yn)},用于表示活动中的出入场路径子类Route;The space line subclass Line, expressed as a coordinate point string {(x 1 , y 1 ), (x 2 , y 2 ),...(x n , y n )}, is used to represent the entry and exit paths in the activity subclass Route;

作为优选,步骤3所述通过大型活动的环节定义大型活动的具体流程,即步骤1中所述大型活动的具体流程为:Preferably, the specific process of the large-scale event is defined through the links of the large-scale event in step 3, that is, the specific process of the large-scale event in step 1 is:

Flow={Activityi|i∈[1,n]}Flow={Activity i |i∈[1,n]}

其中,n为大型活动的具体流程中环节数量,Activityi为大型活动的具体流程中第i个环节;Among them, n is the number of links in the specific process of large-scale activities, and Activity i is the i-th link in the specific process of large-scale activities;

所述大型活动具体流程中第i个环节包括:人员、设施、时间、空间;The i-th link in the specific process of the large-scale event includes: personnel, facilities, time, and space;

大型活动的具体流程中第i个环节表示为:The i-th link in the specific process of large-scale activities is expressed as:

Activityi={Human,Facility,Time,Space}Activity i = {Human, Facility, Time, Space}

Activityi表示在环节Activityi中涉及的人员对象Activityi Human,在指定时间Activityi Time和指定空间Activityi Space使用设施Activityi Facility完成的行为;Activity i represents the human object Activity i Human involved in the link Activity i , the behavior completed by the facility Activity i Facility at the specified time Activity i Time and the specified space Activity i Space ;

大型活动的具体流程中可以存在相同人员在不同时间段执行的环节,也可以存在在相同时间内不同人员执行的环节,也可以存在在相同空间内不同人员或者不同时间内执行的操作。In the specific process of a large-scale event, there may be links performed by the same person in different time periods, or there may be links performed by different people at the same time, and there may be operations performed by different people in the same space or at different times.

作为优选,步骤4所述对象类为ObjectDP,具体定义为:Preferably, the object class described in step 4 is Object DP , which is specifically defined as:

Figure RE-GDA0002645774050000031
Figure RE-GDA0002645774050000031

其中,Volunteer为步骤1所述志愿者类,Audience为步骤1所述观众类, Venues为步骤1所述场馆类,Spot为步骤1所述控制点类,Object为步骤2 所述大型活动的对象;Among them, Volunteer is the volunteer class described in step 1, Audience is the audience class described in step 1, Venues is the venue class described in step 1, Spot is the control point class described in step 1, and Object is the object of the large-scale event described in step 2 ;

步骤4所述对象数据属性用于描述对象类自身的特性,具体定义为The object data attribute described in step 4 is used to describe the characteristics of the object class itself, and is specifically defined as

Data_Properties={speedInWalking,count,VenuesP}Data_Properties={speedInWalking,count,VenuesP}

其中,Data Properties为志愿者类、观众类、场馆类、控制点类的对象数据属性;Among them, Data Properties are the object data properties of volunteers, audiences, venues, and control points;

speedInWalking用于描述志愿者类、观众类的步行速度,具体定义为:speedInWalking is used to describe the walking speed of volunteers and spectators, specifically defined as:

speedInWalking={VolunteerspeedInWalking,AudiencespeedInWalking}speedInWalking={Volunteer speedInWalking ,Audience speedInWalking }

VolunteerspeedInWalking即表示志愿者的步行速度,AudiencespeedInWalking即表示观众的步行速度;Volunteer speedInWalking means the walking speed of the volunteers, Audience speedInWalking means the walking speed of the audience;

count用于描述志愿者类、观众类、控制点类的数量,具体定义为:count is used to describe the number of volunteer classes, audience classes, and control point classes, and is specifically defined as:

count={Volunteercount,Audiencecount,Spotcount}count={Volunteer count ,Audience count ,Spot count }

Volunteercount即表示志愿者类的人数,Audiencecount即表示观众类的人数,Spotcount即表示控制点类的数量;Volunteer count means the number of volunteers, Audience count means the number of audiences, and Spot count means the number of control points;

VenuesP用于描述场馆Venues的出入口数量、最多能够容纳观众的数量以及每人进入需要花费的安检时间,具体定义为:VenuesP is used to describe the number of entrances and exits of Venues, the maximum number of spectators that can be accommodated, and the security check time required for each person to enter, specifically defined as:

VenuesP={VenuesnumberOfSecurityChannels,VenuesmaximumOccupancy,VenuestimeforSecurityCheck}VenuesP={Venues numberOfSecurityChannels , Venues maximumOccupancy , Venues timeforSecurityCheck }

VenuesnumberOfSecurityChannels表示场馆Venues的出入口数量;Venues numberOfSecurityChannels indicates the number of entrances and exits of Venues of the venue;

VenuesmaximumOccupancy表示场馆Venues最多能够容纳观众的数量;Venues maximumOccupancy indicates the maximum number of spectators the venue Venues can accommodate;

VenuestimeforSecurityCheck表示进入场馆Venues每人需要花费的安检时间;Venues timeforSecurityCheck indicates the security check time for each person entering the Venues venue;

作为优选,步骤5所述时间冲突检测规则,由第一时间冲突检测规则以及第二时间冲突检测规则构成:Preferably, the time conflict detection rule described in step 5 is composed of a first time conflict detection rule and a second time conflict detection rule:

所述第一时间冲突检测规则用于判断大型活动的具体流程中第i个环节Activityi(其中i∈[1,n],n为该大型活动具体流程中的环节数量)执行的时间是否足够,具体检测方法为:The first time conflict detection rule is used to judge whether the execution time of the ith link Activity i (where i∈[1,n], n is the number of links in the specific flow of the large-scale activity) in the specific process of the large-scale activity is sufficient. , the specific detection method is:

观众从停车场步行至体育馆作为大型活动的具体流程中第i个实际环节Activityi,涉及的观众Audience为Activityi Human,如步骤4中定义, AudiencespeedInWalking即表示观众的步行速度,从停车场至体育馆的步行空间路径 line为Activityi Space,人员从停车场步行至体育馆规划分配的时间interval为 Activityi Time,如步骤1中定义,interval={beginTime,endTime},其中 beginTime∈Instant,endTime∈Instant,beginTime<endTime。The audience walks from the parking lot to the gymnasium as the ith actual link Activity i in the specific process of the large-scale event, and the audience Audience involved is Activity i Human . As defined in step 4, Audience speedInWalking means the walking speed of the audience, from the parking lot to The walking space path line of the gymnasium is Activity i Space , and the time interval for people walking from the parking lot to the gymnasium is Activity i Time , as defined in step 1, interval={beginTime, endTime}, where beginTime∈Instant, endTime∈Instant , beginTime<endTime.

如果观众步行实际所需时间小于规划分配的时间,即如果(lengthOf(line)/AudiencespeedInWalking)<(intervalendTime-intervalstartTime)成立,则规划的该活动环节Activityi存在冲突,其中,lengthOf(line)表示计算Activityi中空间路径line的长度,intervalendTime表示Activityi的结束时间,intervalstartTime表示Activityi的开始时间;If the actual time required for the audience to walk is less than the time allocated by the plan, that is, if (lengthOf(line)/Audience speedInWalking )<(interval endTime -interval startTime ) is established, there is a conflict in the planned activity link Activity i , where lengthOf(line ) represents calculating the length of the space path line in Activity i , interval endTime represents the end time of Activity i , and interval startTime represents the start time of Activity i ;

场馆观众入场安检活动环节Activityi,目标场馆Venues为Activityi Facility,规划分配的时间interval为Activityi Time,如步骤一中定义,interval={beginTime,endTime},其中beginTime∈Instant,endTime∈Instant,beginTime<endTime;Venue spectators enter the security check activity link Activity i , the target venue Venues is Activity i Facility , and the planned and allocated time interval is Activity i Time , as defined in step 1, interval={beginTime, endTime}, where beginTime∈Instant, endTime∈Instant , beginTime < endTime;

如步骤4中定义,VenuesmaximumOccupancy即表示场馆Venues最多能够容纳观众的数量,VenuesnumberOfSecurityChannels即表示场馆Venues的出入口数量, VenuestimeforSecurityCheck即表示进入场馆Venues每人需要花费的安检时间;As defined in step 4, Venues maximumOccupancy means the maximum number of spectators that the Venues of the venue can accommodate, Venues numberOfSecurityChannels means the number of entrances and exits of the Venues of the venue, and Venues timeforSecurityCheck means the security check time required for each person entering the Venues of the venue;

如果最大数量观众入场所需实际时间小于规划分配的时间,即如果(VenuesmaximumOccupancy×VenuestimeforSecurityCheck/VenuesnumberOfSecurityChannels)<(intervalendTime-intervalstartTime)成立,则规划的该Activityi存在冲突;If the actual time required for the maximum number of spectators to enter the venue is less than the time allocated by the plan, that is, if (Venues maximumOccupancy ×Venues timeforSecurityCheck /Venues numberOfSecurityChannels )<(interval endTime -interval startTime ) is established, the planned Activity i has a conflict;

所述第二时间冲突检测规则用于判断大型活动的具体流程Flow中所有Activityi与Activityj(其中i∈[1,n],j∈[1,n],并且i≠j,n为该大型活动具体流程中的环节数量)中人员对象Human相同的情况下,规划分配的时间Time是否有交集;The second time conflict detection rule is used to determine all Activity i and Activity j in the specific flow Flow of the large-scale activity (where i∈[1,n], j∈[1,n], and i≠j, n is the When the number of links in the specific process of the large-scale event is the same as the human and the object Human, whether there is an intersection of the time planned and allocated;

用于检测整个大型活动的具体流程Flow中,相同人员Human需要执行多个环节Activity时,是否有时间分配冲突。In the specific process Flow used to detect the entire large-scale activity, when the same person Human needs to perform multiple activities, whether there is a time allocation conflict.

如果大型活动的具体流程Flow中的两个环节Activityi和Activityj,其中Activityi∈Flow,Activityj∈Flow,i∈[1,n],j∈[1,n],并且i≠j,n为该大型活动具体流程中的环节数量,Activityi和Activityj中存在人员的时间分配冲突,即如果:If there are two links Activity i and Activity j in the specific flow of large-scale activities, where Activity i ∈ Flow, Activity j ∈ Flow, i∈[1,n], j∈[1,n], and i≠j, n is the number of links in the specific process of the large-scale activity, and there is a conflict in the time allocation of personnel in Activity i and Activity j , that is, if:

Figure RE-GDA0002645774050000052
成立,则Activityi和Activityj存在时间分配冲突,其中,如步骤3中定义,Activityi Human表示环节Activityi涉及的人员Humani,Activityj Human表示环节Activityj涉及的人员 Humanj,Activityi Time表示环节Activityi涉及的时间周期Timei,Activityj Time表示环节Activityj涉及的时间周期Timej
Figure RE-GDA0002645774050000052
If established, there is a time allocation conflict between Activity i and Activity j . As defined in step 3, Activity i Human represents the person Human i involved in the link Activity i , Activity j Human represents the person Human j involved in the link Activity j , and Activity i Time represents the time period Time i involved in the link Activity i , and Activity j Time represents the time period Time j involved in the link Activity j .

步骤5所述空间冲突检测规则为:The space conflict detection rules described in step 5 are:

判断大型活动的具体流程Flow中所有Activityi与Activityj(其中i∈[1,n], j∈[1,n],并且i≠j,n为该大型活动具体流程中的环节数量)中规划分配的时间 Time存在交集的同时,规划分配的空间Space是否有交集。Determine all Activity i and Activity j in the specific flow of the large-scale activity (where i∈[1,n], j∈[1,n], and i≠j, n is the number of links in the specific flow of the large-scale activity) When there is an intersection between the planned and allocated time Time, check whether the planned allocated space Space has an intersection.

如果大型活动的具体流程Flow中两个环节Activityi和Activityj,其中Activityi∈Flow,Activityj∈Flow,i∈[1,n],j∈[1,n],并且i≠j,n为该大型活动具体流程中的环节数量,Activityi和Activityj中的时间和空间同时存在交集,则这两个或者多个环节会存在空间分配上的冲突。即如果:If there are two links Activity i and Activity j in the specific flow of large-scale activities, where Activity i ∈ Flow, Activity j ∈ Flow, i∈[1,n], j∈[1,n], and i≠j,n For the number of links in the specific process of the large-scale activity, if the time and space in Activity i and Activity j overlap at the same time, there will be conflicts in space allocation between these two or more links. i.e. if:

Figure RE-GDA0002645774050000051
成立,则Activityi和Activityj存在空间分配冲突,其中,如步骤4中定义,Activityi Time表示环节Activityi涉及的时间周期Timei,Activityj Time表示环节Activityj涉及的时间周期Timej,Activityi Space表示环节Activityi涉及的空间Spacei,Activityj Space表示环节Activityj涉及的空间Spacej
Figure RE-GDA0002645774050000051
If established, there is a space allocation conflict between Activity i and Activity j . As defined in step 4, Activity i Time represents the time period Time i involved in the link Activity i , Activity j Time represents the time period Time j involved in the link Activity j , and Activity i Space represents the space Space i involved in the link Activity i , and Activity j Space represents the space Space j involved in the link Activity j .

步骤5所述属性冲突检测规则为利用对象的数据属性来判断活动安排中是否存在冲突,具体方法为:The attribute conflict detection rule described in step 5 is to use the data attribute of the object to judge whether there is a conflict in the activity arrangement, and the specific method is:

判断观众数量是否大于场馆能容纳的最大人数;Determine whether the number of spectators is greater than the maximum number of people the venue can accommodate;

如果观众数量大于场馆能容纳的最大人数,则存在属性冲突;If the number of spectators is greater than the maximum number that the venue can accommodate, there is an attribute conflict;

具体为,如步骤4中定义,Audiencecount即表示观众类的人数, VenuesmaximumOccupancy即表示场馆Venues最多能够容纳观众的数量,Specifically, as defined in step 4, Audience count means the number of audiences, Venues maximumOccupancy means the maximum number of audiences Venues can accommodate,

即如果(AudiencecountOfAudience>VenuesmaximumOccupancy)成立,则存在属性冲突;That is, if (Audience countOfAudience > Venues maximumOccupancy ) is established, there is an attribute conflict;

判断志愿者数量是否大与需要安排志愿者的控制点数量;Determine whether the number of volunteers is large and the number of control points that need to arrange volunteers;

如果志愿者数量小于需要安排志愿者的控制点数量,则存在属性冲突;If the number of volunteers is less than the number of control points that need to arrange volunteers, there is an attribute conflict;

具体为,如步骤4中定义,Volunteercount即表示志愿者类的人数,Spotcount即表示控制点类的数量,即如果(VolunteercountOfVolunteer>SpotcountOfSpots)成立,则存在属性冲突。Specifically, as defined in step 4, Volunteer count represents the number of volunteer classes, and Spot count represents the number of control point classes, that is, if (Volunteer countOfVolunteer > Spot countOfSpots ) is established, there is an attribute conflict.

本发明实现了一种基于本体的大型活动事件冲突检测方法,该方法能够针对应用目标领域,实现大型活动事件流程的模拟以及活动中各类冲突的自动检测。The invention realizes an ontology-based large-scale activity event conflict detection method, which can realize the simulation of the large-scale activity event process flow and the automatic detection of various conflicts in the activity according to the application target field.

经检验,本发明提出的建模方法,能够对大型活动克服了现有针对大型活动的事件模型大多数仅偏向于人群疏散的缺陷,解决了针对应用目标领域整体规划和管理的问题。After inspection, the modeling method proposed by the present invention can overcome the defect that most of the existing event models for large-scale activities are only biased towards crowd evacuation, and solve the problem of overall planning and management for the application target field.

本发明建立的大型活动事件建模及冲突检测方法快捷有效,而且具有可重复性、可扩展性和鲁棒性,对提高大型活动规划管理的科学性具有及其重要的意义。The large-scale event event modeling and conflict detection method established by the invention is fast and effective, and has repeatability, scalability and robustness, and has extremely important significance for improving the scientificity of large-scale event planning and management.

附图说明Description of drawings

图1为本发明的方法流程图。FIG. 1 is a flow chart of the method of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明以举行大型体育赛事开幕式为具体实施例,结合附图1,对本发明作进一步的详细描述:The present invention takes holding the opening ceremony of a large-scale sports event as a specific embodiment, and in conjunction with accompanying drawing 1, the present invention is further described in detail:

步骤1:针对大型活动共性的应用场景,通过大型活动的对象、大型活动的流程、大型活动的规则将大型活动定义为三元组;Step 1: For the common application scenarios of large-scale activities, define large-scale activities as triples through the objects of large-scale activities, the process of large-scale activities, and the rules of large-scale activities;

步骤1所述大型活动为:The large-scale activities described in step 1 are:

Event={Object,Flow,Rule}Event={Object,Flow,Rule}

其中,Object为大型活动的对象;Flow为大型活动的具体流程,由一系列环节组成;Rule为大型活动的冲突检测规则,所述冲突检测规则包括时间冲突检测规则、空间冲突检测规则、属性冲突检测规则;Among them, Object is the object of large-scale activities; Flow is the specific process of large-scale activities, which consists of a series of links; Rule is the conflict detection rules of large-scale activities, and the conflict detection rules include time conflict detection rules, space conflict detection rules, and attribute conflicts. detection rules;

步骤2:通过人员类、设施类、时间类、空间类定义大型活动的对象;Step 2: Define the objects of large-scale activities through the personnel class, facility class, time class, and space class;

利用Protégé或者其他本体建模软件实现。Use Protégé or other ontology modeling software to achieve.

步骤2所述通过人员类、设施类、时间类和空间类定义大型活动的对象,即步骤1中所述大型活动的对象为:In step 2, the objects of large-scale activities are defined through personnel class, facility class, time class and space class, that is, the objects of large-scale activities described in step 1 are:

Object=Human∪Facility∪Time∪SpaceObject=Human∪Facility∪Time∪Space

其中,Human为人员类,Facility为设施类,Time为时间类,Space为空间类;Among them, Human is a personnel class, Facility is a facility class, Time is a time class, and Space is a space class;

所述人员类Human的子类包括:工作人员类Staff、志愿者类Volunteer和演出人员类Performer、观众类Audience;The subclasses of the human class include: the staff class Staff, the volunteer class Volunteer, the performer class Performer, and the audience class Audience;

所述设施类Facility的子类包括:固定设施类Facility_fix和移动设施类Facility_mobile;The subclasses of the facility class Facility include: a fixed facility class Facility_fix and a mobile facility class Facility_mobile;

所述固定设施类Facility_fix的子类包括:场馆类Venues、停车场类ParkingLot、出入场路径类Route、控制点类Spot;The subclasses of the fixed facility class Facility_fix include: Venues class Venues, parking lot class ParkingLot, entry and exit route class Route, and control point class Spot;

所述时间类Time包括时间点类Instant和时间段类Interval;The time class Time includes a time point class Instant and a time period class Interval;

所述时间段类由一对时间点来表达:interval={beginTime,endTime},其中beginTime∈Instant,endTime∈Instant,beginTime<endTime。The time period class is expressed by a pair of time points: interval={beginTime, endTime}, where beginTime∈Instant, endTime∈Instant, beginTime<endTime.

所述空间类Space包括:空间点子类Point、空间线子类Line;The space class Space includes: a space point subclass Point, a space line subclass Line;

所述空间点子类Point,表达为坐标点(x,y),用于表示活动中的控制点子类Spot;The spatial point subclass Point, expressed as a coordinate point (x, y), is used to represent the control point subclass Spot in the activity;

所述空间线子类Line,表达为坐标点串{(x1,y1),(x2,y2),…(xn,yn)},用于表示活动中的出入场路径子类Route;The space line subclass Line, expressed as a string of coordinate points {(x 1 , y 1 ), (x 2 , y 2 ),...(x n , y n )}, is used to represent the entry and exit paths in the activity subclass Route;

步骤3:通过大型活动的环节定义大型活动的具体流程;Step 3: Define the specific process of the large-scale event through the links of the large-scale event;

利用Protégé或者其他本体建模软件实现。Use Protégé or other ontology modeling software to achieve.

步骤3所述通过大型活动的环节定义大型活动的具体流程,即步骤1中所述大型活动的具体流程为:In step 3, the specific process of the large-scale event is defined through the links of the large-scale event, that is, the specific process of the large-scale event in step 1 is:

Flow={Activityi|i∈[1,n]}Flow={Activity i |i∈[1,n]}

其中,n为大型活动的具体流程中环节数量,Activityi为大型活动的具体流程中第i个环节;Among them, n is the number of links in the specific process of large-scale activities, and Activity i is the i-th link in the specific process of large-scale activities;

所述大型活动具体流程中第i个环节包括:人员、设施、时间、空间;The i-th link in the specific process of the large-scale event includes: personnel, facilities, time, and space;

大型活动的具体流程中第i个环节表示为:The i-th link in the specific process of large-scale activities is expressed as:

Activityi={Human,Facility,Time,Space}Activity i = {Human, Facility, Time, Space}

Activityi表示在环节Activityi中涉及的人员对象Activityi Human,在指定时间Activityi Time和指定空间Activityi Space使用设施Activityi Facility完成的行为;Activity i represents the human object Activity i Human involved in the link Activity i , the behavior completed by the facility Activity i Facility at the specified time Activity i Time and the specified space Activity i Space ;

大型活动的具体流程中可以存在相同人员在不同时间段执行的环节,也可以存在在相同时间内不同人员执行的环节,也可以存在在相同空间内不同人员或者不同时间内执行的操作。In the specific process of a large-scale event, there may be links performed by the same person in different time periods, or there may be links performed by different people at the same time, and there may be operations performed by different people in the same space or at different times.

步骤4:通过志愿者类、观众类、场馆类、控制点类构建对象类,进一步构建构建志愿者类、观众类、场馆类、控制点类的对象数据属性;Step 4: Construct object classes through volunteer class, audience class, venue class, and control point class, and further construct the object data attributes of volunteer class, audience class, venue class, and control point class;

利用Protégé或者其他本体建模软件实现。Use Protégé or other ontology modeling software to achieve.

步骤4所述对象类为ObjectDP,具体定义为:The object class described in step 4 is Object DP , which is specifically defined as:

Figure RE-GDA0002645774050000081
Figure RE-GDA0002645774050000081

其中,Volunteer为步骤1所述志愿者类,Audience为步骤1所述观众类, Venues为步骤1所述场馆类,Spot为步骤1所述控制点类,Object为步骤2 所述大型活动的对象;Among them, Volunteer is the volunteer class described in step 1, Audience is the audience class described in step 1, Venues is the venue class described in step 1, Spot is the control point class described in step 1, and Object is the object of the large-scale event described in step 2 ;

步骤4所述对象数据属性用于描述对象类自身的特性,具体定义为:The object data attribute described in step 4 is used to describe the characteristics of the object class itself, and is specifically defined as:

Data_Properties={speedInWalking,count,VenuesP}Data_Properties={speedInWalking,count,VenuesP}

其中,Data Properties为志愿者类、观众类、场馆类、控制点类的对象数据属性;Among them, Data Properties are the object data properties of volunteers, audiences, venues, and control points;

speedInWalking用于描述志愿者类、观众类的步行速度,具体定义为:speedInWalking is used to describe the walking speed of volunteers and spectators, specifically defined as:

speedInWalking={VolunteerspeedInWalking,AudiencespeedInWalking}speedInWalking={Volunteer speedInWalking ,Audience speedInWalking }

VolunteerspeedInWalking即表示志愿者的步行速度,AudiencespeedInWalking即表示观众的步行速度;Volunteer speedInWalking means the walking speed of the volunteers, Audience speedInWalking means the walking speed of the audience;

count用于描述志愿者类、观众类、控制点类的数量,具体定义为:count is used to describe the number of volunteer classes, audience classes, and control point classes, and is specifically defined as:

count={Volunteercount,Audiencecount,Spotcount}count={Volunteer count ,Audience count ,Spot count }

Volunteercount即表示志愿者类的人数,Audiencecount即表示观众类的人数,Spotcount即表示控制点类的数量;Volunteer count means the number of volunteers, Audience count means the number of audiences, and Spot count means the number of control points;

VenuesP用于描述场馆Venues的出入口数量、最多能够容纳观众的数量以及每人进入需要花费的安检时间,具体定义为:VenuesP is used to describe the number of entrances and exits of Venues, the maximum number of spectators that can be accommodated, and the security check time required for each person to enter, specifically defined as:

VenuesP={VenuesnumberOfSecurityChannels,VenuesmaximumOccupancy,VenuestimeforSecurityCheck}VenuesP={Venues numberOfSecurityChannels , Venues maximumOccupancy , Venues timeforSecurityCheck }

VenuesnumberOfSecurityChannels表示场馆Venues的出入口数量;Venues numberOfSecurityChannels indicates the number of entrances and exits of Venues of the venue;

VenuesmaximumOccupancy表示场馆Venues最多能够容纳观众的数量;Venues maximumOccupancy indicates the maximum number of spectators the venue Venues can accommodate;

VenuestimeforSecurityCheck表示进入场馆Venues每人需要花费的安检时间;Venues timeforSecurityCheck indicates the security check time for each person entering the Venues venue;

步骤5:建立时间冲突检测规则、空间冲突检测规则及属性冲突检测规则,分别根据时间冲突检测规则、空间冲突检测规则及属性冲突检测规则依次检测大型活动是否存在冲突;Step 5: establish a time conflict detection rule, a space conflict detection rule and an attribute conflict detection rule, and sequentially detect whether there is a conflict in a large-scale event according to the time conflict detection rule, the space conflict detection rule and the attribute conflict detection rule respectively;

在Protégé或者其他本体建模软件中基于语义网规则语言(Semantic Web RuleLanguage,SWRL)实现。It is implemented based on the Semantic Web Rule Language (SWRL) in Protégé or other ontology modeling software.

步骤5所述时间冲突检测规则,由第一时间冲突检测规则以及第二时间冲突检测规则构成:The time conflict detection rule described in step 5 is composed of a first time conflict detection rule and a second time conflict detection rule:

所述第一时间冲突检测规则用于判断大型活动的具体流程中第i个环节Activityi(其中i∈[1,n],n为该大型活动具体流程中的环节数量)执行的时间是否足够,具体检测方法为:The first time conflict detection rule is used to judge whether the execution time of the ith link Activity i (where i∈[1,n], n is the number of links in the specific flow of the large-scale activity) in the specific process of the large-scale activity is sufficient. , the specific detection method is:

观众从停车场步行至体育馆作为大型活动的具体流程中第i个实际环节Activityi,涉及的观众Audience为Activityi Human,如步骤4中定义, AudiencespeedInWalking即表示观众的步行速度,从停车场至体育馆的步行空间路径 line为Activityi Space,人员从停车场步行至体育馆规划分配的时间interval为 Activityi Time,如步骤1中定义,interval={beginTime,endTime},其中 beginTime∈Instant,endTime∈Instant,beginTime<endTime。The audience walks from the parking lot to the gymnasium as the ith actual link Activity i in the specific process of the large-scale event, and the audience Audience involved is Activity i Human . As defined in step 4, Audience speedInWalking means the walking speed of the audience, from the parking lot to The walking space path line of the gymnasium is Activity i Space , and the time interval for people walking from the parking lot to the gymnasium is Activity i Time , as defined in step 1, interval={beginTime, endTime}, where beginTime∈Instant, endTime∈Instant , beginTime<endTime.

如果观众步行实际所需时间小于规划分配的时间,即如果(lengthOf(line)/AudiencespeedInWalking)<(intervalendTime-intervalstartTime)成立,则规划的该活动环节Activityi存在冲突,其中,lengthOf(line)表示计算Activityi中空间路径line的长度,intervalendTime表示Activityi的结束时间,intervalstartTime表示Activityi的开始时间;If the actual time required for the audience to walk is less than the time allocated by the plan, that is, if (lengthOf(line)/Audience speedInWalking )<(interval endTime -interval startTime ) is established, there is a conflict in the planned activity link Activity i , where lengthOf(line ) represents calculating the length of the space path line in Activity i , interval endTime represents the end time of Activity i , and interval startTime represents the start time of Activity i ;

场馆观众入场安检活动环节Activityi,目标场馆Venues为Activityi Facility,规划分配的时间interval为Activityi Time,如步骤一中定义,interval={beginTime,endTime},其中beginTime∈Instant,endTime∈Instant,beginTime<endTime;Venue spectators enter the security check activity link Activity i , the target venue Venues is Activity i Facility , and the planned time interval is Activity i Time , as defined in step 1, interval={beginTime, endTime}, where beginTime∈Instant, endTime∈Instant , beginTime < endTime;

如步骤4中定义,VenuesmaximumOccupancy即表示场馆Venues最多能够容纳观众的数量,VenuesnumberOfSecurityChannels即表示场馆Venues的出入口数量, VenuestimeforSecurityCheck即表示进入场馆Venues每人需要花费的安检时间;As defined in step 4, Venues maximumOccupancy means the maximum number of spectators that the Venues of the venue can accommodate, Venues numberOfSecurityChannels means the number of entrances and exits of the Venues of the venue, and Venues timeforSecurityCheck means the security check time required for each person entering the Venues of the venue;

如果最大数量观众入场所需实际时间小于规划分配的时间,即如果(VenuesmaximumOccupancy×VenuestimeforSecurityCheck/VenuesnumberOfSecurityChannels)<(intervalendTime-intervalstartTime)成立,则规划的该Activityi存在冲突;If the actual time required for the maximum number of spectators to enter the venue is less than the planned allocation time, that is, if (Venues maximumOccupancy ×Venues timeforSecurityCheck /Venues numberOfSecurityChannels )<(interval endTime -interval startTime ) is established, the planned Activity i has a conflict;

所述第二时间冲突检测规则用于判断大型活动的具体流程Flow中所有Activityi与Activityj(其中i∈[1,n],j∈[1,n],并且i≠j,n为该大型活动具体流程中的环节数量)中人员对象Human相同的情况下,规划分配的时间Time是否有交集;The second time conflict detection rule is used to determine all Activity i and Activity j in the specific flow Flow of the large-scale activity (where i∈[1,n], j∈[1,n], and i≠j, n is the When the number of links in the specific process of the large-scale event is the same as the human and the object, whether there is an intersection of the time planned and allocated;

用于检测整个大型活动的具体流程Flow中,相同人员Human需要执行多个环节Activity时,是否有时间分配冲突。In the specific process Flow used to detect the entire large-scale activity, when the same person Human needs to perform multiple activities, whether there is a time allocation conflict.

如果大型活动的具体流程Flow中的两个环节Activityi和Activityj,其中Activityi∈Flow,Activityj∈Flow,i∈[1,n],j∈[1,n],并且i≠j,n为该大型活动具体流程中的环节数量,Activityi和Activityj中存在人员的时间分配冲突,即如果:If there are two links Activity i and Activity j in the specific flow of large-scale activities, where Activity i ∈ Flow, Activity j ∈ Flow, i∈[1,n], j∈[1,n], and i≠j, n is the number of links in the specific process of the large-scale activity, and there is a conflict in the time allocation of personnel in Activity i and Activity j , that is, if:

Figure RE-GDA0002645774050000101
成立,则Activityi和Activityj存在时间分配冲突,其中,如步骤3中定义,Activityi Human表示环节Activityi涉及的人员Humani,Activityj Human表示环节Activityj涉及的人员 Humanj,Activityi Time表示环节Activityi涉及的时间周期Timei,Activityj Time表示环节Activityj涉及的时间周期Timej
Figure RE-GDA0002645774050000101
If established, there is a time allocation conflict between Activity i and Activity j . As defined in step 3, Activity i Human represents the person Human i involved in the link Activity i , Activity j Human represents the person Human j involved in the link Activity j , and Activity i Time represents the time period Time i involved in the link Activity i , and Activity j Time represents the time period Time j involved in the link Activity j .

步骤5所述空间冲突检测规则为:The space conflict detection rules described in step 5 are:

判断大型活动的具体流程Flow中所有Activityi与Activityj(其中i∈[1,n], j∈[1,n],并且i≠j,n为该大型活动具体流程中的环节数量)中规划分配的时间Time存在交集的同时,规划分配的空间Space是否有交集。Determine all Activity i and Activity j in the specific flow of large-scale activities (where i∈[1,n], j∈[1,n], and i≠j, n is the number of links in the specific flow of the large-scale activity) When there is an intersection between the planned and allocated time Time, check whether the planned allocated space Space has an intersection.

如果大型活动的具体流程Flow中两个环节Activityi和Activityj,其中Activityi∈Flow,Activityj∈Flow,i∈[1,n],j∈[1,n],并且i≠j,n为该大型活动具体流程中的环节数量,Activityi和Activityj中的时间和空间同时存在交集,则这两个或者多个环节会存在空间分配上的冲突。即如果:If there are two links Activity i and Activity j in the specific flow of large-scale activities, where Activity i ∈ Flow, Activity j ∈ Flow, i∈[1,n], j∈[1,n], and i≠j,n For the number of links in the specific process of the large-scale activity, if the time and space in Activity i and Activity j overlap at the same time, there will be conflicts in space allocation between these two or more links. i.e. if:

Figure RE-GDA0002645774050000111
成立,则Activityi和Activityj存在空间分配冲突,其中,如步骤4中定义,Activityi Time表示环节Activityi涉及的时间周期Timei,Activityj Time表示环节Activityj涉及的时间周期Timej,Activityi Space表示环节Activityi涉及的空间Spacei,Activityj Space表示环节Activityj涉及的空间Spacej
Figure RE-GDA0002645774050000111
If established, there is a space allocation conflict between Activity i and Activity j . As defined in step 4, Activity i Time represents the time period Time i involved in the link Activity i , Activity j Time represents the time period Time j involved in the link Activity j , and Activity i Space represents the space Space i involved in the link Activity i , and Activity j Space represents the space Space j involved in the link Activity j .

步骤5所述属性冲突检测规则为利用对象的数据属性来判断活动安排中是否存在冲突,具体方法为:The attribute conflict detection rule described in step 5 is to use the data attribute of the object to judge whether there is a conflict in the activity arrangement, and the specific method is:

判断观众数量是否大于场馆能容纳的最大人数;Determine whether the number of spectators is greater than the maximum number of people the venue can accommodate;

如果观众数量大于场馆能容纳的最大人数,则存在属性冲突;If the number of spectators is greater than the maximum number that the venue can accommodate, there is an attribute conflict;

具体为,如步骤4中定义,Audiencecount即表示观众类的人数, VenuesmaximumOccupancy即表示场馆Venues最多能够容纳观众的数量,即如果 (AudiencecountOfAudience>VenuesmaximumOccupancy)成立,则存在属性冲突;Specifically, as defined in step 4, Audience count refers to the number of audiences, and Venues maximumOccupancy refers to the maximum number of audiences that Venues can accommodate. That is, if (Audience countOfAudience > Venues maximumOccupancy ) is established, there is an attribute conflict;

判断志愿者数量是否大与需要安排志愿者的控制点数量;Determine whether the number of volunteers is large and the number of control points that need to arrange volunteers;

如果志愿者数量小于需要安排志愿者的控制点数量,则存在属性冲突;If the number of volunteers is less than the number of control points that need to arrange volunteers, there is an attribute conflict;

具体为,如步骤4中定义,Volunteercount即表示志愿者类的人数,Spotcount即表示控制点类的数量,即如果(VolunteercountOfVolunteer>SpotcountOfSpots)成立,则存在属性冲突。Specifically, as defined in step 4, Volunteer count represents the number of volunteer classes, and Spot count represents the number of control point classes, that is, if (Volunteer countOfVolunteer > Spot countOfSpots ) is established, there is an attribute conflict.

步骤6:创建实例,利用Protégé或者其他本体建模软件实现Step 6: Create an instance and implement it with Protégé or other ontology modeling software

根据具体大型活动的实际安排,创建各类对象的实例,以及对各个实例的数据属性根据实际情况赋值。According to the actual arrangement of specific large-scale activities, create instances of various objects, and assign values to the data attributes of each instance according to the actual situation.

步骤7:执行规则推理检验所创建本体的类、属性及实例,检测得到大型活动安排实例中的时间、空间和属性冲突,利用Protégé或者其他本体建模软件中的Jena等推理机实现。Step 7: Execute rule reasoning to check the classes, attributes and instances of the created ontology, detect time, space and attribute conflicts in the large-scale activity arrangement instance, and use Protégé or Jena and other inference engines in other ontology modeling software to realize.

通过推理机的执行,自动检测获得大型活动实例之间时间、空间和属性冲突,为大型活动的安排优化提供依据。Through the execution of the inference engine, the time, space and attribute conflicts between large-scale activity instances are automatically detected and obtained, which provides a basis for the optimization of large-scale activities.

本发明技术方案不局限于以上所列举的大型体育赛事开幕式,还包括其他各种大型活动。The technical solution of the present invention is not limited to the opening ceremonies of large-scale sports events listed above, but also includes various other large-scale events.

以上所述实施例仅表达了本发明的实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent the embodiments of the present invention, and the descriptions thereof are specific and detailed, but should not be construed as limiting the scope of the patent of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can also be made, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.

Claims (6)

1. A method for detecting conflict of large-scale activity events based on an ontology is characterized by comprising the following steps:
step 1: according to the application scene of the commonality of the large-scale activities, the large-scale activities are defined as triples through the objects of the large-scale activities, the flow of the large-scale activities and the rules of the large-scale activities;
step 2: defining objects of large activities through personnel classes, facility classes, time classes and space classes;
and step 3: defining a specific flow of the large-scale activity through links of the large-scale activity;
and 4, step 4: constructing object classes through volunteers, audiences, venues and control points, and further constructing object data attributes of the volunteers, the audiences, the venues and the control points;
and 5: and establishing a time conflict detection rule, a space conflict detection rule and an attribute conflict detection rule, and sequentially detecting whether the large-scale activities conflict or not according to the time conflict detection rule, the space conflict detection rule and the attribute conflict detection rule respectively.
2. The ontology-based large-scale activity event conflict detection method of claim 1, wherein: step 1, the large-scale activities are as follows:
Event={Object,Flow,Rule}
wherein, Object is the Object of large-scale activity; flow is a specific Flow of a large-scale activity and consists of a series of links; rule is a conflict detection Rule of large-scale activities, and the conflict detection Rule comprises a time conflict detection Rule, a space conflict detection Rule and an attribute conflict detection Rule.
3. The ontology-based large-scale activity event conflict detection method of claim 1, wherein: step 2, defining the object of the large activity through a personnel class, a facility class, a time class and a space class, namely the object of the large activity in step 1 is as follows:
Object=Human∪Facility∪Time∪Space
wherein, Human is a personnel class, Facility is a Facility class, Time is a Time class, and Space is a Space class;
the subclasses of Human classes Human include: staff class Staff, Volunteer class Volunter and Performer class Performer, Audience class Audio;
subclasses of the Facility-class Facility include: fixed Facility type Facility _ fix and mobile Facility type Facility _ mobile;
the subclass of fixed-Facility class Facility _ fix includes: venues, parkingLot, access path and control point;
the Time class Time comprises a Time point class Instant and a Time period class Interval;
the time period class is expressed by a pair of time points: interval ═ { beginTime, endTime }, where beginTime belongs to Instant, endTime belongs to Instant, beginTime < endTime;
the Space class Space includes: a space Point subclass Point and a space Line subclass Line;
the space Point subclass Point is expressed as a coordinate Point (x, y) and is used for representing a control Point subclass Spot in the activity;
the space Line subclass Line is expressed as a coordinate point string { (x)1,y1),(x2,y2),…(xn,yn) Represents the access field path subclass Route in the event.
4. The ontology-based large-scale activity event conflict detection method of claim 1, wherein: step 3, defining a specific flow of the large-scale activity through links of the large-scale activity, namely the specific flow of the large-scale activity in step 1 is as follows:
Flow={Activityi|i∈[1,n]}
wherein n is the number of links in the specific flow of the large-scale Activity, ActivityiThe ith link in the specific flow of the large-scale activity;
the ith link in the specific process of the large-scale activity comprises the following steps: personnel, facilities, time, space;
the ith link in the specific flow of the large-scale activity is represented as:
Activityi={Human,Facility,Time,Space}
Activityirepresenting Activity in a linkiThe person object involved in
Figure RE-FDA0002645774040000021
At a specified time
Figure RE-FDA0002645774040000022
And designating space
Figure RE-FDA0002645774040000023
Use facility
Figure RE-FDA0002645774040000024
A completed action;
links executed by the same person in different time periods can exist in the specific flow of the large-scale activity, links executed by different persons in the same time period can also exist, and operations executed by different persons in the same space or different times can also exist.
5. The ontology-based large-scale activity event conflict detection method of claim 1, wherein: step 4, the Object class is ObjectDPSpecifically defined as:
ObjectDP={Volunteer,Audience,Venues,Spot},
Figure RE-FDA0002645774040000025
wherein, Volunter is the Volunteer class in step 1, Audio is the Audience class in step 1, Venues is the venue class in step 1, Spot is the control point class in step 1, and Object is the Object of the large-scale activity in step 2;
step 4, the object data attribute is used for describing the self characteristics of the object class and is specifically defined as
Data_Properties={speedInWalking,count,VenuesP}
Wherein, the Data Properties are object Data attributes of volunteer class, audience class, venue class and control point class;
speedInWalking is used for describing walking speeds of volunteers and audiences, and is specifically defined as:
speedInWalking={VolunteerspeedInWalking,AudiencespeedInWalking}
VolunteerspeedInWalkingthat is, the walking speed of the volunteer, AudiospeedInWalkingI.e. representing the walking speed of the viewer;
the count is used for describing the number of volunteer classes, audience classes and control point classes, and is specifically defined as:
count={Volunteercount,Audiencecount,Spotcount}
Volunteercountthat is, the number of volunteers, AudiocountI.e. the number of persons representing the audience class, SpotcountI.e. representing the number of control point classes;
VenuesP is used to describe the number of entrances and exits of Venues in Venues, the number of audiences which can be accommodated at most, and the security check time which is required for each person to enter, and is specifically defined as follows:
VenuesP={VenuesnumberOfSecurityChannels,VenuesmaximumOccupancy,VenuestimeforSecurityCheck}
VenuesnumberOfSecurityChannelsthe number of entrances and exits of Venues is represented;
VenuesmaximumOccupancyindicating that the Venues can accommodate the maximum number of audiences in the venue;
VenuestimeforSecurityCheckrepresenting the amount of screening time spent by each person entering Venues.
6. The ontology-based large-scale activity event conflict detection method of claim 1, wherein: the time conflict detection rule of step 5 is composed of a first time conflict detection rule and a second time conflict detection rule:
the first time conflict detection rule is used for judging the Activity of the ith link in the specific flow of the large-scale Activityi(where i ∈ [1, n ]]N is the number of links in the specific flow of the large-scale activity), and the specific detection method is as follows:
the i-th actual link Activity in the concrete process that the spectator walks from the parking lot to the gymnasium as a large-scale ActivityiThe Audience Audiology is Activityi HumanAudio, as defined in step 4speedInWalkingI.e. representing the walking speed of the spectator, and the walking space route line from the parking lot to the gym is Activityi SpaceThe time interval allocated from the walking of the personnel from the parking lot to the planning of the gymnasium is Activityi TimeAs defined in step 1, interval ═ { beginTime, endTime }, where beginTime is equivalent to Instant, endTime is equivalent to Instant, beginTime is equivalent to Instant<endTime;
If the actual time required for the viewer to walk is less than the time allocated for planning, i.e., (length of)/AudiospeedInWalking)<(intervalendTime-intervalstartTime) If yes, the Activity of the planned Activity link is establishediThere is a conflict where length of (line) represents computing ActivityiLength of line of hollow space path, intervalendTimeRepresenting ActivityiEnd time of, intervalstartTimeRepresenting ActivityiThe start time of (c);
activity of security check Activity for entrance of stadium audienceiThe Venues of the target venue is Activityi FacilityThe time interval of the planning allocation is Activityi TimeAs defined in step one, interval ═ { beginTime, endTime }, where beginTime is equivalent to Instant, endTime is equivalent to Instant, beginTime is equivalent to Instant<endTime;
Venues, as defined in step 4maximumOccupancyI.e. the number of Venues in the venue that can accommodate the maximum audiencenumberOfSecurityChannelsI.e. the number of entrances and exits, V, of VenuesenuestimeforSecurityCheckI.e., representing the security check time spent by each person entering Venues;
if the actual time required for the maximum number of spectators to enter is less than the time allocated for the program, i.e., (Venues)maximumOccupancy×VenuestimeforSecurityCheck/VenuesnumberOfSecurityChannels)<(intervalendTime-intervalstartTime) If yes, the Activity plannediA conflict exists;
the second time conflict detection rule is used for judging all Activities in the specific Flow of the large-scale ActivityiAnd Activityj(where i ∈ [1, n ]],j∈[1,n]And i ≠ j, n is the number of links in the specific flow of the large-scale activity), whether the Time allocated by planning has intersection or not is the same under the condition that Human objects are the same;
the method is used for detecting whether time distribution conflict exists or not when the same person Human needs to execute multiple link activities in the specific Flow of the whole large-scale Activity;
if two links Activity in the Flow of the specific Flow of the large-scale ActivityiAnd ActivityjWherein Activityi∈Flow,Activityj∈Flow,i∈[1,n],j∈[1,n]And i ≠ j, n is the number of links in the specific flow of the large-scale Activity, ActivityiAnd ActivityjThere is a time allocation conflict for the person, i.e. if:
Figure RE-FDA0002645774040000041
if true, ActivityiAnd ActivityjThere is a time allocation conflict where Activity, as defined in step 3, isi HumanRepresenting link ActivityiPeople involved Humani,Activityj HumanRepresenting link ActivityjPeople involved Humanj,Activityi TimeRepresenting link ActivityiTime period involvedi,Activityj TimeRepresenting link ActivityjTime of interestPeriodic Timej
And 5, the spatial conflict detection rule is as follows:
judging all Activities in the specific Flow of the large-scale ActivityiAnd Activityj(where i ∈ [1, n ]],j∈[1,n]And i ≠ j, n is the number of links in the specific flow of the large-scale activity), and whether Space allocated by planning has intersection or not is determined while intersection exists in the Time allocated by planning;
if the Activity of two links in the specific Flow of the large-scale ActivityiAnd ActivityjWherein Activityi∈Flow,Activityj∈Flow,i∈[1,n],j∈[1,n]And i ≠ j, n is the number of links in the specific flow of the large-scale Activity, ActivityiAnd ActivityjThe time and the space in the process have intersection at the same time, and the two or more links have conflict in space distribution; namely if:
Figure RE-FDA0002645774040000051
if true, ActivityiAnd ActivityjThere is a space allocation conflict where Activity, as defined in step 4, isi TimeRepresenting link ActivityiTime period involvedi,Activityj TimeRepresenting link ActivityjTime period involvedj,Activityi SpaceRepresenting link ActivityiSpace involvedi,Activityj SpaceRepresenting link ActivityjSpace involvedj
Step 5, the attribute conflict detection rule is to determine whether a conflict exists in the activity schedule by using the data attribute of the object, and the specific method is as follows:
judging whether the number of audiences is larger than the maximum number of audiences which can be accommodated in the venue;
if the number of audiences is greater than the maximum number of people that the venue can accommodate, then there is an attribute conflict;
specifically, Audio science as defined in step 4countI.e. the number of people representing the audience class, VenuesmaximumOccupancyI.e. the number of Venues that can accommodate the audience at the most,
that is if (audion)countOfAudience>VenuesmaximumOccupancy) If yes, the attribute conflict exists;
judging whether the number of the volunteers is large or not and the number of the control points of which the volunteers need to be arranged;
if the number of the volunteers is less than the number of the control points needing to arrange the volunteers, an attribute conflict exists;
specifically, as defined in step 4, VoluntercountI.e. representing the number of volunteers, SpotcountI.e. representing the number of control point classes, i.e. if (Volunter)countOfVolunteer>SpotcountOfSpots) If so, there is an attribute conflict.
CN202010698849.6A 2020-07-20 2020-07-20 An ontology-based method for collision detection of large-scale event events Active CN111898259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010698849.6A CN111898259B (en) 2020-07-20 2020-07-20 An ontology-based method for collision detection of large-scale event events

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010698849.6A CN111898259B (en) 2020-07-20 2020-07-20 An ontology-based method for collision detection of large-scale event events

Publications (2)

Publication Number Publication Date
CN111898259A true CN111898259A (en) 2020-11-06
CN111898259B CN111898259B (en) 2022-08-05

Family

ID=73189286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010698849.6A Active CN111898259B (en) 2020-07-20 2020-07-20 An ontology-based method for collision detection of large-scale event events

Country Status (1)

Country Link
CN (1) CN111898259B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080320550A1 (en) * 2007-06-21 2008-12-25 Motorola, Inc. Performing policy conflict detection and resolution using semantic analysis
US20130307682A1 (en) * 2012-05-17 2013-11-21 Honeywell International Inc. System for advanced security management
CN111157001A (en) * 2019-12-20 2020-05-15 南京师范大学 An ontology construction method for hospital indoor navigation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080320550A1 (en) * 2007-06-21 2008-12-25 Motorola, Inc. Performing policy conflict detection and resolution using semantic analysis
US20130307682A1 (en) * 2012-05-17 2013-11-21 Honeywell International Inc. System for advanced security management
CN111157001A (en) * 2019-12-20 2020-05-15 南京师范大学 An ontology construction method for hospital indoor navigation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
万宜春等: "电子对抗作战行动方案时域冲突检测方法研究", 《舰船电子工程》 *
刘颖璇: "基于HHM的大型活动风险管理研究", 《科技创新与应用》 *

Also Published As

Publication number Publication date
CN111898259B (en) 2022-08-05

Similar Documents

Publication Publication Date Title
Ding et al. Intelligent emergency digital twin system for monitoring building fire evacuation
Zhao et al. Spatial crowdsourcing: current state and future directions
Martella et al. On current crowd management practices and the need for increased situation awareness, prediction, and intervention
Cuesta et al. School egress data: comparing the configuration and validation of five egress modelling tools
CN114240267A (en) Transportation outfield equipment operation and maintenance order dispatching method, electronic equipment and storage medium
Dalsgaard et al. Participation gestalt: Analysing participatory qualities of interaction in public space
CN112288230A (en) Multi-dimensional data-based venue security analysis method and device
CN120525250A (en) Intelligent sports stadium resource scheduling optimization method, device, equipment and medium
Schulders Co-creating smart cities: design thinking for 21st century urban planning
CN111898259B (en) An ontology-based method for collision detection of large-scale event events
Liu et al. Modeling and simulation of fire evacuation considering guiding factors: a case study of Shenyang subway interchange station
Utama et al. FHC-optimization model for deciding the objective Hajj pilgrims to restricted quota (Case Study: Hajj Pilgrimage Procedure in Indonesia)
CN116703039A (en) Station city fusion data analysis method and device
Ramzanpour et al. Assessing the public attitude toward low-income housing;(case study: Small-and medium-density cities of Iran)
Maiden et al. Exploring scenario forms and ways of use to discover requirements on airports that minimize environmental impact
Krlev et al. Research Strategy: Identifying the Actors—An Open Approach
Shireen Bridging the gap between design space exploration and generative design interfaces: An exploratory study
Alharbi Improving Mass Gathering Management Using Process Mining Techniques
Jackson Digital magic and the disappearing city
Shireen et al. Design space exploration in parametric systems: analyzing effects of goal specificity and method specificity on design solutions
Wang et al. Developing a Framework Leveraging Building Information Modelling to Validate Fire Emergency Evacuation. Buildings 2024, 14, 156
Sun et al. Modeling Pedestrian Behavior in Metro Stations with Commercial Facilities: An Attractiveness-Based Approach
CN120106594A (en) Heritage community protection and renewal method and device based on social network analysis
Klein et al. A Multi-Agent System for Studying Cross-Border Disaster Resilience.
Zhou et al. Promoting Design Management in Museums Based on Space Syntax: A Case Study in Ningxia Transportation Museum

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