CN109996170B - Indoor route generation method, device and system - Google Patents

Indoor route generation method, device and system Download PDF

Info

Publication number
CN109996170B
CN109996170B CN201811628233.0A CN201811628233A CN109996170B CN 109996170 B CN109996170 B CN 109996170B CN 201811628233 A CN201811628233 A CN 201811628233A CN 109996170 B CN109996170 B CN 109996170B
Authority
CN
China
Prior art keywords
room
channel
route
indoor
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811628233.0A
Other languages
Chinese (zh)
Other versions
CN109996170A (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.)
Hangzhou Hikvision System Technology Co Ltd
Original Assignee
Hangzhou Hikvision System Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision System Technology Co Ltd filed Critical Hangzhou Hikvision System Technology Co Ltd
Publication of CN109996170A publication Critical patent/CN109996170A/en
Application granted granted Critical
Publication of CN109996170B publication Critical patent/CN109996170B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Alarm Systems (AREA)

Abstract

The invention relates to an indoor route generation method, device and system, and belongs to the field of communication. The method comprises the following steps: acquiring regional information of regions in which people are distributed in a building according to images acquired by an image acquisition device arranged in the building; and generating at least one indoor passing route according to the area information and the channel information in the building, wherein the indoor passing route is used for communicating the area with the outside of the building. The device comprises: the device comprises a first acquisition module and a generation module. The invention can improve the escape efficiency.

Description

Indoor route generation method, device and system
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an apparatus, and a system for generating an indoor route.
Background
At present, in public places such as schools, shopping malls, buildings and the like, buildings in the public places are generally large, rooms are more, and people in the rooms need to be evacuated to safe areas in time when a disaster comes.
In the related art, sensors for detecting disasters can be arranged in each channel of a building, the sensors can detect whether the channel has the disasters or not, and send out an alarm when the disasters are detected, so that a user is reminded, and the user can plan an escape route in time.
In the process of implementing the invention, the inventor finds that the above mode has at least the following defects:
at present, users plan escape routes by themselves, and sometimes the planned escape routes are congested, so that the escape rate of the users is influenced.
Disclosure of Invention
In order to solve the problem of low escape efficiency in the related art, the embodiment of the invention provides an indoor route generation method, device and system. The technical scheme is as follows:
in a first aspect, the present invention provides an indoor route generating method, including:
acquiring regional information of regions in which people are distributed in a building according to images acquired by an image acquisition device arranged in the building;
and generating at least one indoor passing route according to the area information and the channel information in the building, wherein the indoor passing route is used for communicating the area with the outside of the building.
Optionally, the area information includes location information of the area, and the generating at least one indoor traffic route according to the area information and the information of the passage in the building includes:
acquiring position information of each normal channel in the building according to the channel information in the building;
and generating at least one indoor passing route according to the position information of the area and the position information of each normal passage in the building.
Optionally, after the generating at least one indoor traffic route, the method further includes:
acquiring the passing time of each indoor passing route in the at least one indoor passing route;
and selecting one indoor passing route as the escape route corresponding to the area according to the passing time of each indoor passing route.
Optionally, the obtaining the passing time of each indoor passing route in the at least one indoor passing route includes:
acquiring evacuation time of each channel included in each indoor passing route in the at least one indoor passing route;
and calculating the passing time of each indoor passing route according to the evacuation time of each channel included in each indoor passing route in the at least one indoor passing route.
Optionally, the area is a section of passageway in the building where people are distributed,
the selecting an indoor passing route as the escape route corresponding to the area according to the passing time of each indoor passing route comprises the following steps:
and selecting one indoor passing route with the shortest passing time from each indoor passing route as an escape route corresponding to the area.
Optionally, the area is a room in which people are distributed in the building, and according to the passing time of each indoor passing route, one indoor passing route is selected as an escape route for people in the area, including:
when the building comprises a plurality of rooms with people distributed, when only one indoor passing route of a first room is provided, determining whether a second room is provided, wherein the second room is provided with only one indoor passing route, at least one section of channel overlap exists between the indoor passing route of the first room and the indoor passing route of the second room, and the first room and the second room are two different rooms;
if a second room exists, determining a first evacuation room and a second evacuation room in the first room and the second room according to the number of people in the first room and the number of people in the second room, and determining an indoor passing route of the first evacuation room as an escape route of people in the first evacuation room;
and if the second room does not exist, determining the indoor passing route of the first room as the escape route of the personnel in the first room.
Optionally, after the determining the indoor passing route of the first room as the escape route corresponding to the room evacuated earlier, the method further includes:
determining a target room in the building, wherein the target room is an unmanned room in the building, the distance between the target room and an outlet of an indoor passing route of the first evacuation room is smaller than the distance between the second evacuation room and the outlet, and the target room is used for arranging people transferred from the second evacuation room.
Optionally, the determining of the evacuation-ahead room and the evacuation-behind room in the first room and the second room according to the number of persons in the first room and the number of persons in the second room includes:
calculating a first evacuation time required for the persons in the first room to evacuate the building according to the number of persons in the first room and the passage time of the indoor passage route of the first room, and calculating a second evacuation time required for the persons in the second room to evacuate the building according to the number of persons in the second room and the passage time of the indoor passage route of the second room;
and when the first evacuation time is less than the second evacuation time, determining the first room as a room to be evacuated first and the second room as a room to be evacuated later, otherwise, determining the second room as a room to be evacuated first and the first room as a room to be evacuated later.
Optionally, the area is a room in which people are distributed in the building, and according to the passing time of each indoor passing route, one indoor passing route is selected as an escape route for people in the area, including:
when the building comprises a plurality of rooms with people distributed, when a plurality of indoor passing routes of a first room exist, determining whether a third room exists, wherein at least one indoor passing route exists in the third room, at least one passage overlap exists between the indoor passing route of the first room and the indoor passing route of the third room, and the first room and the third room are two different rooms;
if the third room exists, selecting an indoor passing route as an escape route of the personnel in the first room according to the passing time of each indoor passing route of the first room, selecting an indoor passing route as an escape route of the personnel in the third room according to the passing time of each indoor passing route of the third room, and avoiding overlapped channels between the two selected escape routes;
and if the third room does not exist, selecting one indoor passing route as the escape route of the personnel in the first room according to the passing time of each indoor passing route in the first room.
In a second aspect, the present invention provides an indoor route generation apparatus, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring regional information of regions in the building, in which personnel are distributed, according to images acquired by an image acquisition device arranged in the building;
and the generating module is used for generating at least one indoor passing route according to the area information and the channel information in the building, and the indoor passing route is used for communicating the area with the outside of the building.
Optionally, the area information acquired by the first acquiring module includes location information of the area; the generation module comprises:
the first acquisition unit is used for acquiring the position information of each normal channel in the building according to the channel information in the building;
and the generating unit is used for generating at least one indoor passing route according to the position information of the area and the position information of each normal channel in the building.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring the passing time of each indoor passing route in the at least one indoor passing route;
and the selection module is used for selecting one indoor passing route as the escape route corresponding to the area according to the passing time of each indoor passing route.
Optionally, the second acquiring includes:
a second obtaining unit, configured to obtain evacuation time of each channel included in each indoor passing route of the at least one indoor passing route;
and the calculating unit is used for calculating the passing time of each indoor passing route according to the evacuation time of each channel included in each indoor passing route in the at least one indoor passing route.
Optionally, the area is a section of passageway in the building where people are distributed,
the selection module is configured to:
and selecting one indoor passing route with the shortest passing time from each indoor passing route as an escape route corresponding to the area.
Optionally, the area is a room in the building where people are distributed, and the selection module is configured to:
when the building comprises a plurality of rooms with people distributed, when only one indoor passing route of a first room is provided, determining whether a second room is provided, wherein the second room is provided with only one indoor passing route, at least one section of channel overlap exists between the indoor passing route of the first room and the indoor passing route of the second room, and the first room and the second room are two different rooms;
if a second room exists, determining a first evacuation room and a second evacuation room in the first room and the second room according to the number of people in the first room and the number of people in the second room, and determining an indoor passing route of the first evacuation room as an escape route of people in the first evacuation room;
and if the second room does not exist, determining the indoor passing route of the first room as the escape route of the personnel in the first room.
Optionally, the selecting module is further configured to:
determining a target room, wherein the target room is a room without distributed personnel in the building, the distance between the target room and an outlet of an indoor passing route of the first evacuation room is smaller than the distance between the second evacuation room and the outlet, and the target room is used for arranging the personnel transferred from the second evacuation room.
Optionally, the selecting module is configured to:
calculating a first evacuation time required for the persons in the first room to evacuate the building according to the number of persons in the first room and the passage time of the indoor passage route of the first room, and calculating a second evacuation time required for the persons in the second room to evacuate the building according to the number of persons in the second room and the passage time of the indoor passage route of the second room;
and when the first evacuation time is less than the second evacuation time, determining the first room as a room to be evacuated first and the second room as a room to be evacuated later, otherwise, determining the second room as a room to be evacuated first and the first room as a room to be evacuated later.
Optionally, the area is a room in the building where people are distributed, and the selection module is configured to:
when the building comprises a plurality of rooms with people distributed, when a plurality of indoor passing routes of a first room exist, determining whether a third room exists, wherein at least one indoor passing route exists in the third room, at least one passage overlap exists between the indoor passing route of the first room and the indoor passing route of the third room, and the first room and the third room are two different rooms;
if the third room exists, selecting an indoor passing route as an escape route of the personnel in the first room according to the passing time of each indoor passing route of the first room, selecting an indoor passing route as an escape route of the personnel in the third room according to the passing time of each indoor passing route of the third room, and avoiding overlapped channels between the two selected escape routes;
and if the third room does not exist, selecting one indoor passing route as the escape route of the personnel in the first room according to the passing time of each indoor passing route in the first room.
In a third aspect, the present invention provides an indoor route generation system, including: the indoor route generating device comprises an image acquisition device and an indoor route generating device;
the image acquisition device is arranged in the building and is used for acquiring images;
the indoor route generating device is used for acquiring the regional information of the regions in which the personnel are distributed in the building according to the image; and generating at least one indoor passing route according to the area information and the channel information in the building, wherein the indoor passing route is used for communicating the area with the outside of the building.
In a fourth aspect, the present invention provides an electronic device, comprising:
a processor and a memory, the memory having stored therein at least one instruction that is loaded and executed by the processor to implement the indoor route generation method of the first aspect or any of the alternatives of the first aspect.
In a fifth aspect, the present invention provides a computer-readable storage medium having stored therein instructions, which, when run on a device, cause the device to perform the method of the first aspect or any one of the possible implementations of the first aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
because the regional information of personnel distributed in the building and the personnel distribution information in each region are obtained according to the images collected by the image collecting device arranged in the building; according to the area information and the passage information in the building, at least one indoor passing route of the area is generated, and the passing route is used for communicating the area and the outside of the building, so that compared with an escape route which is blindly planned by a user, the escape route is automatically planned based on the at least one indoor passing route in the area, the jammed or impassable route can be prevented from being planned, and the escape efficiency of personnel is improved. Because the image acquisition device acquires the images in real time, the indoor traffic route of the area in which the personnel are distributed in the building can be generated in real time according to the images, so that the generated indoor traffic route has high real-time performance and accuracy. In addition, the escape route is planned to accurate equipment, and due to the fact that the equipment is automatically planned, compared with the method that the user plans blindly, the escape route can be efficiently and orderly rescued.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic diagram of a network architecture according to an embodiment of the present invention;
fig. 2 is a flowchart of an indoor route generation method according to an embodiment of the present invention;
fig. 3 is a flowchart of another indoor route generation method provided in the embodiment of the present invention;
fig. 4 is a detailed flowchart of indoor route generation according to an embodiment of the present invention;
FIG. 5 is a schematic view of a floor structure provided by an embodiment of the present invention;
fig. 6 is a block diagram of an indoor route generating apparatus according to an embodiment of the present invention;
FIG. 7 is a block diagram of an apparatus according to an embodiment of the present invention;
fig. 8 is a block diagram of an indoor route generation system according to an embodiment of the present invention.
With the above figures, certain embodiments of the invention have been illustrated and described in more detail below. The drawings and the description are not intended to limit the scope of the inventive concept in any way, but rather to illustrate it by those skilled in the art with reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Referring to fig. 1, an embodiment of the present invention provides a network architecture, including:
an image acquisition apparatus 1, a control device 2 and at least one display device 3, the image acquisition apparatus 1 comprising a first image acquisition device arranged in a room of a building and a second image acquisition device arranged in a corridor of the building.
Wireless connection is established between the first image acquisition devices in all rooms in the building and the control equipment 2, and wireless connection is established between the second image acquisition devices in all channels in the building and the control equipment 2. The control device is connected to each of the at least one display device.
In the present embodiment, when the second image capturing devices are arranged on the passages of the building, all the second image capturing devices 12 arranged may cover all the passages within the building. The passageway may be a corridor and/or stairs or the like in the building.
Alternatively, the image capturing device 1 may be a camera or the like.
The first image acquisition device is used for detecting whether personnel are distributed in a room where the first image acquisition device is located in real time, if the personnel are distributed, detecting personnel distribution information of the room, wherein the personnel distribution information comprises the number of the personnel, and sending a first notification message to the control equipment 2, wherein the first notification message comprises an equipment identifier of the first image acquisition device and the personnel distribution information; or, shooting the room to obtain an image, sending the image and the device identifier of the image to the control device 2, detecting whether people are distributed in the room by the control device 2 according to the image, and if the people are distributed, detecting the personnel distribution information of the room.
The second image acquisition device is used for detecting whether the channel where the second image acquisition device is located can normally pass or not in real time, and if the channel where the second image acquisition device is located can normally pass, sending a second notification message to the control equipment 2, wherein the second notification message comprises an equipment identifier of the second image acquisition device; whether personnel are distributed in the channel is also detected, if the personnel are distributed, the personnel distribution information of the channel is detected, and a first notification message is sent to the control equipment 2, wherein the first notification message comprises the equipment identification of the second image acquisition device and the personnel distribution information; or shooting the channel to obtain an image, sending the image and the equipment identifier of the image to the control equipment 2, detecting whether personnel are distributed in the channel by the control equipment 2 according to the image, if the personnel are distributed, detecting personnel distribution information of the channel, and detecting whether the channel can normally pass according to the image.
The control device 2 is used for acquiring regional information of regions in the building where people are distributed and personnel distribution information in each region when a disaster happens, and generating at least one indoor passing route of each region according to the regional information of each region and channel information in the building, wherein the indoor passing route of each region is used for communicating the region with the outside of the building; for each area, one indoor passing route can be selected as the escape route of the personnel in the area according to each indoor passing route and/or personnel distribution information of the area. The area in which people are distributed can be a room in which people are distributed and/or a passageway in which people are distributed.
And the display device 3 is used for displaying the three-dimensional model of the building and displaying the area and at least one indoor traffic route of the area in the three-dimensional model.
Optionally, the building includes a playing device, and the playing device may be a sound box or a loudspeaker.
The control device 2 can play the escape route of the area through the playing device, so that the people in the area can leave the building according to the escape route.
In this embodiment, each first image acquisition device corresponds to an emergency power supply 4, and the first image acquisition device is electrically connected with its corresponding emergency power supply 4, and when the commercial power is cut off, the first image acquisition device starts its corresponding emergency power supply 4, and uses this emergency power supply 4 to supply power for itself. The emergency power supply 4 may supply electricity to the first image capturing device for a preset time.
Every second image acquisition device corresponds an emergency power supply 4, and the second image acquisition device is connected with its corresponding emergency power supply 4 electricity, and when the commercial power outage, the second image acquisition device starts its corresponding emergency power supply 4 to use this emergency power supply 4 to supply power for self. The emergency power supply 4 may supply electricity to the second image capturing device for a preset time.
The preset time may be 10 minutes, 15 minutes, 20 minutes, or the like, and the duration of the preset time is not limited.
In the present embodiment, for a detailed implementation process of how to assign an escape route to a manned room, reference may be made to the implementation of any of the following embodiments.
Referring to fig. 2, an embodiment of the present invention provides an indoor route generation method, where the method includes:
step 201: according to the image collected by the image collecting device arranged in the building, the regional information of the region in which the personnel are distributed in the building is obtained.
Step 202: and generating at least one indoor passing route according to the area information and the passage information in the building, wherein the indoor passing route is used for communicating the area with the outside of the building.
In the embodiment of the invention, because at least one indoor passing route of the area is generated according to the area information of the area where the personnel are distributed and the channel information in the building, compared with the method that the user plans the escape route, the method can avoid the planning of the congested or blocked route and improve the escape efficiency of the personnel. Because the image acquisition device acquires the images in real time, the indoor traffic route of the area in which the personnel are distributed in the building can be generated in real time according to the images, so that the generated indoor traffic route has high real-time performance and accuracy. In addition, the escape route is planned to accurate equipment, and due to the fact that the equipment is automatically planned, compared with the method that the user plans blindly, the escape route can be efficiently and orderly rescued.
Referring to fig. 3, an embodiment of the present invention provides an indoor route generating method, which may be applied to the network architecture shown in embodiment 1, where an execution subject may be a control device in the network architecture, and the method includes:
step 301: the control equipment acquires the area information of areas in which people are distributed in the building and the distribution information of the people in each area according to the images acquired by the image acquisition device arranged in the building.
The area information of the area includes a position of the area, and the person distribution information within the area includes the number of persons within the area.
In this step, the control device detects an image captured by an image capture device installed in a first area, the first area being any area in the building; if the image is detected to comprise a personnel image, determining that the first area is an area with personnel distributed; according to the equipment identification of the image acquisition device, acquiring the area information of the first area from the corresponding relation between the equipment identification and the area information, wherein the area information of the first area comprises information such as the position of the first area, counting the number of personnel images included in the image to obtain the number of personnel, and obtaining the personnel distribution information in the first area.
The area of the building in which people are distributed may be a room in which people are distributed and/or a passageway in which people are distributed.
When the area is a room, the area information and the person distribution information of the room may be obtained in two ways, including:
the first mode is as follows: the first image acquisition device detects whether personnel are distributed in a room where the first image acquisition device is located through acquired images, if the personnel are distributed, personnel distribution information of the room is detected, the personnel distribution information comprises information such as the number of the personnel in the room, and a first notification message is sent to the control equipment, wherein the first notification message comprises equipment identification of the first image acquisition device and the personnel distribution information. The control equipment receives a first notification message sent by the first image acquisition device, extracts the equipment identification and the personnel distribution information in the room from the first notification message, and acquires the area information of the room from the corresponding relation between the equipment identification and the area information according to the equipment identification.
The first image acquisition device is arranged in a room of a building, can shoot the room where the first image acquisition device is located in real time to obtain an image, detects the image, detects that people are distributed in the room if the image is detected to include a human body image, and further counts the number of the human body images included in the image to obtain the number of the people in the room.
Before executing the step, an image set comprising a plurality of images including human body images in various forms and in motion states can be input to the first image acquisition device, so that the first image acquisition device trains, adjusts and optimizes the first image acquisition device according to each image in the image set, and the accuracy of detecting whether people are distributed in a room and counting the number of the people in the room is improved.
Optionally, when the first image capturing device is arranged in a room of a building, the device identifier of the first image capturing device and the area information of the room may be stored in a corresponding relationship between the device identifier and the area information.
The second mode is as follows: the first image acquisition device shoots a room where the first image acquisition device is located to obtain an image, and the image and the equipment identification of the image are sent to the control equipment. The control equipment receives the image and the equipment identification, detects whether personnel are distributed in the room according to the image, determines the room as the room with the personnel distributed if the personnel are distributed, detects personnel distribution information in the room according to the image, and acquires the area information of the room from the corresponding relation between the equipment identification and the area information according to the equipment identification.
Optionally, the control device detects the image, if it is detected that the image includes the human body image, it is detected that people are distributed in the room, and the number of the human body images included in the image is further counted to obtain the number of the people included in the room.
When the area is a channel, the area information and the personnel distribution information of the channel can be acquired in two ways, including:
the first mode is as follows: the second image acquisition device detects whether personnel are distributed in the channel where the second image acquisition device is located through the acquired images, if the personnel are distributed, personnel distribution information in the channel is detected, the personnel distribution information comprises information such as the number of the personnel in the channel, and a first notification message is sent to the control equipment, wherein the first notification message comprises the equipment identification of the second image acquisition device and the personnel distribution information. The control equipment receives a first notification message sent by the second image acquisition device, extracts the equipment identification and the personnel distribution information in the channel from the first notification message, and acquires the area information of the channel from the corresponding relation between the equipment identification and the area information according to the equipment identification, wherein the area information of the channel comprises the position of the channel.
The second image acquisition device is an image acquisition device arranged in a passage of a building, and can shoot the passage where the second image acquisition device is located in real time to obtain an image, detect the image, detect that personnel are distributed in the passage if the image is detected to include a human body image, and count the number of the human body images included in the image to obtain the number of the personnel in the passage.
Before executing the step, an image set comprising a plurality of images including human body images in various forms and in a motion state can be input to the second image acquisition device, so that the second image acquisition device trains, adjusts and optimizes the second image acquisition device according to each image in the image set, and the accuracy of the second image acquisition device in detecting whether people are distributed in a channel is improved.
Optionally, when the second image capturing device is disposed in a channel of the building, the device identifier of the second image capturing device and the area information of the channel may be correspondingly stored in the corresponding relationship between the device identifier and the area information.
The second mode is as follows: and the second image acquisition device shoots the channel where the second image acquisition device is located to obtain an image and sends the image and the equipment identifier of the image to the control equipment. The control equipment receives the image and the equipment identification, detects whether personnel are distributed in the channel according to the image, determines the channel as the channel with the distributed personnel and detects personnel distribution information in the channel according to the image if the personnel are distributed, wherein the personnel distribution information comprises the number of the personnel in the channel, and acquires the area information of the channel from the corresponding relation between the equipment identification and the area information according to the equipment identification.
Optionally, the control device detects the image, if it is detected that the image includes a human body image, it is detected that people are distributed in the channel, and the number of the human body images included in the image is further counted to obtain the number of the people in the channel.
Step 302: the control equipment acquires channel information of each channel in the building through an image acquisition device installed in each channel in the building.
The channel information of the channel includes indication information indicating whether the channel is a normal channel and position information of the channel. Specifically, whether the first channel can normally pass is detected according to an image shot by an image acquisition device installed on the first channel, wherein the first channel is any one channel in a building; if the first channel is detected to be normally passable, determining the first channel as a normal channel; and acquiring the position information of the first channel from the corresponding relation between the equipment identifier and the position information of the channel according to the equipment identifier of the image acquisition device, and generating the channel information of the first channel, wherein the channel information comprises indication information indicating that the first channel is a normal channel and the position information of the first channel.
Optionally, if it is determined that the first channel is an abnormal channel, channel information of the first channel may also be generated, where the channel information includes indication information indicating that the first channel is an abnormal channel and location information of the first channel.
In implementation, the control device may obtain the channel information of the channel through the following two obtaining manners, which are respectively:
the first mode is as follows: and the second image acquisition device detects whether the channel where the second image acquisition device is located can normally pass or not in real time, and if the channel where the second image acquisition device is located can normally pass, the second image acquisition device sends a second notification message to the control equipment, wherein the second notification message comprises the equipment identifier of the second image acquisition device. The control equipment receives a second notification message sent by a second image acquisition device, extracts the equipment identifier from the second notification message, acquires the position information of the channel from the corresponding relation between the equipment identifier and the position information of the channel according to the equipment identifier, and generates the channel information of the channel, wherein the channel information comprises indication information used for indicating that the channel is a normal channel and the position information of the channel.
The second image acquisition device is an image acquisition device arranged in a passage of a building, and can be shot in real time to obtain an image of the passage. The passageway of the building may comprise a staircase or corridor or the like in the building. In this embodiment, at least one second image recording device is arranged in a passage of the building, by means of which all passages within the building are covered in their entirety.
The situation that the channel cannot normally pass is generally as follows:
one is that a collapsed road section occurs in the channel, the width of an uncollapsed area in the collapsed road section is smaller than a preset first threshold value, and the length of the collapsed area is larger than a preset second threshold value.
The width of an uncollapsed area in the collapsed road section is smaller than a preset first threshold value, which indicates that the uncollapsed area cannot accommodate a person to pass through; the length of the collapse area in the collapse section is larger than a preset second threshold value, and the collapse area cannot be crossed by people. Therefore, when the width of the non-collapsed region in the collapsed section is smaller than the preset first threshold value and the length of the collapsed region is larger than the preset second threshold value, it indicates that the person cannot pass through the collapsed section from the collapsed region.
The other is that an obstacle appears on the channel, the height of the obstacle exceeds a preset height threshold value, and the intervals between the two sides of the channel and the obstacle are smaller than a preset interval threshold value.
The height of the obstacle exceeds a preset height threshold value, which indicates that the obstacle is high and a person cannot cross the obstacle; the interval between the two sides of the channel and the obstacle is smaller than a preset interval threshold value, which indicates that the interval between any side of the channel and the obstacle is small, and people cannot pass through the interval. Therefore, the height of the obstacle exceeds a preset height threshold value, and the intervals between the two sides of the passage and the obstacle are smaller than a preset interval threshold value respectively, so that the situation that a person cannot cross the obstacle is shown.
The second image acquisition device detects whether the channel where the second image acquisition device is located can normally pass or not in real time, and the operation can be as follows:
the second image acquisition device identifies the edge of the channel where the second image acquisition device is located from the shot image; if the edge of the channel comprises the edge of a collapse area, determining a collapse section comprising the collapse area, acquiring the length of the collapse area according to the edge of the collapse area comprised in the collapse section, and acquiring the width of an uncollapsed area according to the edge of the uncollapsed area comprised in the collapse section, when the width of the uncollapsed area is smaller than a preset first threshold value and the length of the collapse area is larger than a preset second threshold value, determining that the collapse section cannot normally pass, otherwise, determining that the collapse section can normally pass.
If the edge of the channel comprises the edge of the obstacle, the height of the obstacle is obtained according to the edge of the obstacle, the intervals between the two sides of the channel and the obstacle are respectively obtained according to the edge of the obstacle and the edges of the two sides of the channel, when the height of the obstacle exceeds a preset height threshold value and the intervals between the two sides of the channel and the obstacle are smaller than a preset interval threshold value, the fact that the road section comprising the obstacle cannot normally pass is determined, and otherwise, the fact that the road section comprising the obstacle can normally pass is determined.
And if the road section including the obstacle and the collapse road section do not exist in the passage, or the road section including the obstacle and the collapse road section can normally pass through, the second image acquisition device determines that the passage can normally pass through.
Optionally, the second image capturing device may further detect whether people are distributed in the channel according to the captured image, and if people are distributed, obtain the evacuation time of the channel according to the captured image, and correspondingly, the second notification message sent by the second image capturing device to the control device may further include the evacuation time, and the channel information of the channel generated by the control device may further include the evacuation time of the channel.
Optionally, the operation of obtaining the evacuation time of the channel may be:
the second image acquisition device detects whether the images shot by the second image acquisition device include human body images or not, if yes, the second image acquisition device detects that people are distributed in the channel where the second image acquisition device is located, the moving speed of the people in the channel is obtained, and the evacuation time of the communication is calculated according to the channel length of the channel and the moving speed of the people; if not, it is detected that the passage has no people distribution, the evacuation time of the passage can be set to a preset value.
The second image acquisition device obtains the personnel's moving speed in its place passageway, can be:
the second image acquisition device acquires a first image currently shot by the second image acquisition device, acquires a second image shot before the first image, calculates the moving distance of each person in the first image according to the second image and the first image, calculates the moving speed of each person according to the moving distance of each person and the shooting time interval between the first image and the second image, and calculates the average speed according to the moving speed of each person, wherein the average speed is the moving speed of the person in the channel.
In this embodiment, the first image and the second image are separated by at least one frame of image.
When the second image capturing device is arranged in the passageway of the building, the device identifier of the second image capturing device and the position information of the passageway may be stored in a corresponding relationship between the device identifier and the position information of the passageway.
The second mode is as follows: and the second image acquisition device shoots the channel where the second image acquisition device is located to obtain an image and sends the image and the equipment identification of the image to the control equipment. The control equipment receives the image and the equipment identification, detects whether the channel can normally pass or not according to the image, determines that the channel is a normal channel if the channel can normally pass, acquires the position information of the channel according to the equipment identification, and generates the channel information of the channel, wherein the channel information of the channel comprises the indication information of whether the channel is the normal channel or not and the position information of the channel.
The control device detects whether the passage is normal or not, and reference may be made to the detection process of the second image capturing device in the first mode, which is not described in detail herein.
Step 303: the control equipment generates at least one indoor passing route of each area according to the area information of each area where people are distributed and the channel information of the channels in the building, and the indoor passing route of each area is used for communicating the area with the outside of the building.
Specifically, position information of each normal channel in the building is obtained according to channel information in the building; and generating at least one indoor traffic route according to the area information of each area where people are distributed and the position information of each normal passage in the building.
Optionally, the control device may mark each normal passage in the three-dimensional model of the building according to the position information of each normal passage, mark each area in the three-dimensional model of the building according to the position information included in the area information of each area where people are distributed, and then determine at least one indoor passing route of each area from the three-dimensional model of the building.
Each indoor passing route corresponds to an exit, and people in the area can escape from the exits of the indoor passing routes along the indoor passing routes of the area.
Step 304: the control device calculates a transit time for each of at least one indoor transit route of the areas.
Specifically, for each area with people distributed therein and for each indoor passing route in at least one indoor passing route of the area, the evacuation time of each channel included in the indoor passing route is obtained, and the passing time of the indoor passing route is calculated according to the evacuation time of each channel included in the indoor passing route.
Optionally, the evacuation time of each channel included in the indoor passing route may be accumulated to obtain the passing time of the indoor passing route.
Step 305: for each area with people distributed, the control equipment selects one indoor passing route from at least one indoor passing route of the area as an escape route of the area according to the passing time of each indoor passing route of the area.
Alternatively, when the area is a room in a building where people are distributed, referring to fig. 4, the step may be implemented by the following process, including:
3051: when a building comprises a room with people distributed, selecting one indoor passing route with the shortest passing time from at least one indoor passing route of the room as an escape route of the room.
Optionally, a playing device may be disposed in the room, and the playing device may be controlled to play the escape route, so that the person in the room leaves along the escape route.
Optionally, the playing device may be a sound box or a speaker.
The indoor passing route with the shortest passing time is selected as the escape route, so that people in the room can escape in the fastest time, and the escape efficiency is improved.
3052: when a building comprises a plurality of rooms with distributed people, when only one indoor passing route of a first room is available, whether a second room exists is determined, at least one section of channel overlapping exists between the indoor passing route of the first room and the indoor passing route of the second room, and the second room only has one indoor passing route.
The first room is any one of the plurality of rooms, and the second room is the other one of the plurality of rooms except the first room.
3053: if the second room exists, the first evacuation room and the second evacuation room are determined in the first room and the second room according to the number of persons in the first room and the number of persons in the second room, and the indoor passage route for evacuating the first room is determined as the escape route for evacuating the persons in the first room.
The control device can play the escape route of the room evacuated firstly through the playing device so that the people evacuated firstly in the room leave firstly.
Specifically, a first evacuation time at which the persons in the first room evacuate the building is calculated from the number of persons in the first room and the passage time of the indoor passage route of the first room, and a second evacuation time at which the persons in the second room evacuate the building is calculated from the number of persons in the second room and the passage time of the indoor passage route of the second room; when the first evacuation time is shorter than the second evacuation time, the first room is determined as a first evacuation room and the second room is determined as a second evacuation room, otherwise, the second room is determined as a first evacuation room and the first room is determined as a second evacuation room.
For the first evacuation time, calculating the first time when the people in the first room leave the first room according to the number of the people in the first room and the number of the people capable of leaving the first room in the preset unit time, and adding the first time with the passing time of the indoor passing route of the first room to obtain the first evacuation time.
Similarly, for the second evacuation time, a second time when the person in the second room leaves the second room is calculated from the number of persons in the second room and the number of persons who can leave the second room in the preset unit time, and the second time is added to the transit time of the indoor transit route in the second room, resulting in the second evacuation time.
Optionally, after the indoor passing route of the room evacuated firstly is determined as the escape route corresponding to the room evacuated firstly, a target room can be determined in the building, the target room is an unmanned room in the building, the distance between the target room and the exit of the indoor passing route of the room evacuated firstly is smaller than the distance between the room evacuated later and the exit, a playing device in the room evacuated later is controlled to play the position information of the target room, and the target room is used for arranging the personnel transferred from the room evacuated later. The persons in the evacuation room are transferred to the target room according to the played position information of the target room.
Wherein the floor on which the target room is located may be the same as the floor on which the room was evacuated first.
For example, referring to fig. 5, assuming that the first room to be evacuated is a first room, the first room is a 3 rd floor, and the second room is a 4 th floor, an indoor passing route corresponding to the first room is determined as an escape route of the first room, and then people in the first room leave first.
Then, an unmanned room can be found in the 3 rd building as a target room, so that the people in the second room can be transferred to the target room. Therefore, when the person in the first room leaves, the person in the second room can leave from the target room, and the escape efficiency is improved.
If the indoor passing routes of the second room are provided with a plurality of routes, one of the routes is overlapped with the indoor passing route of the first room, one indoor passing route of the first room can be directly determined as the escape route of the first room; when the escape route is allocated to the second room, one indoor passing route corresponding to the first room may be removed from the plurality of indoor passing routes of the second room, then one indoor passing route with the shortest passing time is selected for the second room from the remaining indoor passing routes, and the selected indoor passing route is determined as the escape route corresponding to the second room.
3054: and if the second room does not exist, determining the indoor passing route of the first room as the escape route of the personnel in the first room.
3055: when there are a plurality of indoor passage routes of the first room, it is determined whether there is a third room having at least one indoor passage route, there is at least one passage overlap between the indoor passage route of the first room and the indoor passage route of the third room, and the first room and the third room are two different rooms.
3056: and if the third room exists, selecting one indoor passing route as the escape route of the personnel in the first room according to the passing time of each indoor passing route in the first room, selecting one indoor passing route as the escape route of the personnel in the third room according to the passing time of each indoor passing route in the third room, and avoiding overlapped passages between the two selected escape routes.
Optionally, one indoor passing route is selected from the multiple passing routes of the first room as an escape route for the people in the first room according to the passing time of each indoor passing route of the first room, one indoor passing route is selected from at least one passing route of the third room as an escape route for the people in the third room according to the passing time of each indoor passing route of the third room, and no overlapped passage exists between the two selected escape routes.
3057: and if the third room does not exist, selecting one indoor passing route as the escape route of the personnel in the first room according to the passing time of each indoor passing route in the first room.
Optionally, when the area is a section of passage in which people are distributed in the building, one indoor passing route may be selected from each indoor passing route in the area as the escape route corresponding to the area.
Optionally, the control device selects one indoor passing route as the escape route corresponding to each passage according to the passing time of each indoor passing route of the passage with the personnel.
Alternatively, an indoor traffic route with the shortest transit time may be selected.
In this embodiment, since the first image capturing device and the second image capturing device capture images in real time, that is, the operations in steps 301 to 305 are executed in a circulating manner, the control device may obtain, in real time, area information of an area where people are currently distributed in the building, people distribution information of the area, at least one indoor traffic route of the area, and select one indoor traffic route from the at least one indoor traffic route of the area as an escape route of the area according to the people distribution information of the area where people are distributed and/or the at least one indoor traffic route. That is, at a certain time, the control device may select a certain indoor passage route for a certain area as the escape route, and at another time, the control device may select another indoor passage route for the area as the escape route.
In the embodiment of the invention, at least one indoor passing route of the area and the passing time of each fixed indoor passing route in the at least one indoor passing route are determined according to the area information of the area where people are distributed and the channel information of the channels in the building; then, according to the passing time of each indoor passing route in the area, one indoor passing route is selected for the area to serve as an escape route, so that the indoor passing route with high escape efficiency can be distributed for the area to serve as the escape route, and the escape efficiency of personnel is improved. When the room is provided with the people, when two rooms with two overlapped indoor passing routes exist and only one indoor passing route exists in each room, the room to be evacuated first and the room to be evacuated later are determined according to the number of the people in the two rooms, the overlapped indoor passing route is distributed to the room to be evacuated first, the people evacuating first in the room are evacuated first, and the people evacuating later in the room are transferred to a target room capable of escaping more quickly, so that the escape efficiency is further improved.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the embodiments of the method of the present invention.
Referring to fig. 6, an embodiment of the present invention provides an indoor route generation apparatus 400, where the apparatus 400 includes:
the system comprises a first acquisition module 401, a second acquisition module and a third acquisition module, wherein the first acquisition module 401 is used for acquiring regional information of regions in a building, in which people are distributed, according to images acquired by an image acquisition device arranged in the building;
a generating module 402, configured to generate at least one indoor passing route according to the area information and the channel information in the building, where the indoor passing route is used to communicate the area with the outside of the building.
Optionally, the area information acquired by the first acquiring module 401 includes location information of the area, and the generating module 402 includes:
the first acquisition unit is used for acquiring the position information of each normal channel in the building according to the channel information in the building;
and the generating unit is used for generating at least one indoor passing route according to the position information of the area and the position information of each normal channel in the building.
Optionally, the apparatus 400 further includes:
the second acquisition module is used for acquiring the passing time of each indoor passing route in the at least one indoor passing route;
and the selection module is used for selecting one indoor passing route as the escape route corresponding to the area according to the passing time of each indoor passing route.
Optionally, the second obtaining module includes:
a second obtaining unit, configured to obtain evacuation time of each channel included in each indoor passing route of the at least one indoor passing route;
and the calculating unit is used for calculating the passing time of each indoor passing route according to the evacuation time of each channel included in each indoor passing route in the at least one indoor passing route.
Optionally, the area is a section of passageway in the building where people are distributed,
the selection module is configured to:
and selecting one indoor passing route with the shortest passing time from each indoor passing route as an escape route corresponding to the area.
Optionally, the area is a room in the building where people are distributed, and the selection module is configured to:
when the building comprises a plurality of rooms with people distributed, when only one indoor passing route of a first room is provided, determining whether a second room is provided, wherein the second room is provided with only one indoor passing route, at least one section of channel overlap exists between the indoor passing route of the first room and the indoor passing route of the second room, and the first room and the second room are two different rooms;
if a second room exists, determining a first evacuation room and a second evacuation room in the first room and the second room according to the number of people in the first room and the number of people in the second room, and determining an indoor passing route of the first evacuation room as an escape route of people in the first evacuation room;
and if the second room does not exist, determining the indoor passing route of the first room as the escape route of the personnel in the first room.
Optionally, the selecting module is further configured to:
determining a target room, wherein the target room is a room without distributed personnel in the building, the distance between the target room and an outlet of an indoor passing route of the first evacuation room is smaller than the distance between the second evacuation room and the outlet, and the target room is used for arranging the personnel transferred from the second evacuation room.
Optionally, the selecting module is configured to:
calculating a first evacuation time required for the persons in the first room to evacuate the building according to the number of persons in the first room and the passage time of the indoor passage route of the first room, and calculating a second evacuation time required for the persons in the second room to evacuate the building according to the number of persons in the second room and the passage time of the indoor passage route of the second room;
and when the first evacuation time is less than the second evacuation time, determining the first room as a room to be evacuated first and the second room as a room to be evacuated later, otherwise, determining the second room as a room to be evacuated first and the first room as a room to be evacuated later.
Optionally, the area is a room in the building where people are distributed, and the selection module is configured to:
when the building comprises a plurality of rooms with people distributed, when a plurality of indoor passing routes of a first room exist, determining whether a third room exists, wherein at least one indoor passing route exists in the third room, at least one passage overlap exists between the indoor passing route of the first room and the indoor passing route of the third room, and the first room and the third room are two different rooms;
if the third room exists, selecting an indoor passing route as an escape route of the personnel in the first room according to the passing time of each indoor passing route of the first room, selecting an indoor passing route as an escape route of the personnel in the third room according to the passing time of each indoor passing route of the third room, and avoiding overlapped channels between the two selected escape routes;
and if the third room does not exist, selecting one indoor passing route as the escape route of the personnel in the first room according to the passing time of each indoor passing route in the first room.
In the embodiment of the invention, as the generating module generates at least one indoor passing route of the area according to the area information and the personnel distribution information of the area where the personnel are distributed and the channel information in the building, compared with the case that the user plans the escape route by himself, the generation module can avoid the planning of the congested or blind route and improve the escape efficiency of the personnel.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating a terminal 500 according to an exemplary embodiment of the present invention. The terminal 500 may be the control device described above, and the terminal 500 may be a notebook computer or a desktop computer. In general, the terminal 500 includes: a processor 501 and a memory 502.
The processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 501 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 501 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 502 may include one or more computer-readable storage media, which may be non-transitory. Memory 502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 502 is used to store at least one instruction for execution by processor 501 to implement the indoor route generation method provided by method embodiments herein.
In some embodiments, the terminal 500 may further optionally include: a peripheral interface 503 and at least one peripheral. The processor 501, memory 502 and peripheral interface 503 may be connected by a bus or signal lines. Each peripheral may be connected to the peripheral interface 503 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 504, touch screen display 505, camera 506, audio circuitry 507, positioning components 508, and power supply 509.
The peripheral interface 503 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 501 and the memory 502. In some embodiments, the processor 501, memory 502, and peripheral interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral interface 503 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 504 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 504 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 504 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 504 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 504 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 505 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 505 is a touch display screen, the display screen 505 also has the ability to capture touch signals on or over the surface of the display screen 505. The touch signal may be input to the processor 501 as a control signal for processing. At this point, the display screen 505 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 505 may be one, providing the front panel of the terminal 500; in other embodiments, the display screens 505 may be at least two, respectively disposed on different surfaces of the terminal 500 or in a folded design; in still other embodiments, the display 505 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 500. Even more, the display screen 505 can be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 505 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 506 is used to capture images or video. Optionally, camera assembly 506 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 506 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 507 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 501 for processing, or inputting the electric signals to the radio frequency circuit 504 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 500. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 501 or the radio frequency circuit 504 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 507 may also include a headphone jack.
The positioning component 508 is used for positioning the current geographic Location of the terminal 500 for navigation or LBS (Location Based Service). The Positioning component 508 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
Power supply 509 is used to power the various components in terminal 500. The power source 509 may be alternating current, direct current, disposable or rechargeable. When power supply 509 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 500 also includes one or more sensors 510. The one or more sensors 510 include, but are not limited to: acceleration sensor 511, gyro sensor 512, pressure sensor 513, fingerprint sensor 514, optical sensor 515, and proximity sensor 516.
The acceleration sensor 511 may detect the magnitude of acceleration on three coordinate axes of the coordinate system established with the terminal 500. For example, the acceleration sensor 511 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 501 may control the touch screen 505 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 511. The acceleration sensor 511 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 512 may detect a body direction and a rotation angle of the terminal 500, and the gyro sensor 512 may cooperate with the acceleration sensor 511 to acquire a 3D motion of the user on the terminal 500. The processor 501 may implement the following functions according to the data collected by the gyro sensor 512: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 513 may be disposed on a side bezel of the terminal 500 and/or an underlying layer of the touch display screen 505. When the pressure sensor 513 is disposed on the side frame of the terminal 500, a user's holding signal of the terminal 500 may be detected, and the processor 501 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 513. When the pressure sensor 513 is disposed at the lower layer of the touch display screen 505, the processor 501 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 505. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 514 is used for collecting a fingerprint of the user, and the processor 501 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 514, or the fingerprint sensor 514 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 501 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 514 may be provided on the front, back, or side of the terminal 500. When a physical button or a vendor Logo is provided on the terminal 500, the fingerprint sensor 514 may be integrated with the physical button or the vendor Logo.
The optical sensor 515 is used to collect the ambient light intensity. In one embodiment, the processor 501 may control the display brightness of the touch display screen 505 based on the ambient light intensity collected by the optical sensor 515. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 505 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 505 is turned down. In another embodiment, processor 501 may also dynamically adjust the shooting parameters of camera head assembly 506 based on the ambient light intensity collected by optical sensor 515.
A proximity sensor 516, also referred to as a distance sensor, is typically disposed on the front panel of the terminal 500. The proximity sensor 516 is used to collect the distance between the user and the front surface of the terminal 500. In one embodiment, when the proximity sensor 516 detects that the distance between the user and the front surface of the terminal 500 gradually decreases, the processor 501 controls the touch display screen 505 to switch from the bright screen state to the dark screen state; when the proximity sensor 516 detects that the distance between the user and the front surface of the terminal 500 becomes gradually larger, the processor 501 controls the touch display screen 505 to switch from the screen-rest state to the screen-on state.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is not intended to be limiting of terminal 500 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
Referring to fig. 8, the present invention provides an indoor route generation system 600, the system 600 comprising: an image acquisition device 601 and an indoor route generation device 602;
the image acquisition device 601 is arranged in a building and is used for acquiring images;
the indoor route generating device 602 is configured to obtain area information of an area in the building where people are distributed according to the image; and generating at least one indoor passing route according to the area information and the channel information in the building, wherein the indoor passing route is used for communicating the area with the outside of the building.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (12)

1. An indoor route generation method, characterized in that the method comprises:
acquiring area information of an area in which people are distributed in a building and channel information of each channel in the building according to an image acquired by an image acquisition device arranged in the building, wherein the channel information of the channel comprises indication information indicating whether the channel is a normal channel or not and position information of the channel, identifying the edge of the channel in the image, determining a collapsed road section comprising a collapsed area if the edge of the channel comprises the edge of the collapsed area, acquiring the length of the collapsed area according to the edge of the collapsed area included in the collapsed road section, and acquiring the width of the uncollapsed area according to the edge of the uncollapsed area included in the collapsed road section; if the edge of the channel comprises the edge of the obstacle, acquiring the height of the obstacle according to the edge of the obstacle, and respectively acquiring the intervals between the two sides of the channel and the obstacle according to the edge of the obstacle and the edges of the two sides of the channel; when the width of an uncollapsed area in a collapsed road section of the channel is smaller than a preset first threshold value and the length of the collapsed area is larger than a preset second threshold value, or the height of an obstacle on the channel exceeds a preset height threshold value and the intervals between the two sides of the channel and the obstacle are smaller than a preset interval threshold value, the indication information is used for indicating that the channel is an abnormal channel;
and generating at least one indoor passing route according to the area information and the channel information in the building, wherein the indoor passing route is used for communicating the area with the outside of the building.
2. The method of claim 1, wherein the region information includes location information of the region;
generating at least one indoor traffic route according to the area information and the channel information in the building, wherein the generating comprises the following steps:
acquiring position information of each normal channel in the building according to the channel information in the building;
and generating at least one indoor passing route according to the position information of the area and the position information of each normal passage in the building.
3. The method of claim 1 or 2, wherein after the generating at least one indoor transit route, further comprising:
acquiring the passing time of each indoor passing route in the at least one indoor passing route;
and selecting one indoor passing route as an escape route of the personnel in the area according to the passing time of each indoor passing route.
4. The method of claim 3, wherein said obtaining a transit time for each of the at least one indoor transit route comprises:
acquiring evacuation time of each channel included in each indoor passing route in the at least one indoor passing route;
and calculating the passing time of each indoor passing route according to the evacuation time of each channel included in each indoor passing route in the at least one indoor passing route.
5. The method of claim 3, wherein the area is a section of a passageway in the building in which people are distributed,
the step of selecting one indoor passing route as the escape route of the personnel in the area according to the passing time of each indoor passing route comprises the following steps:
and selecting one indoor passing route with the shortest passing time from each indoor passing route as an escape route of the personnel in the area.
6. The method of claim 3, wherein the area is a room in the building in which people are distributed,
the step of selecting one indoor passing route as the escape route of the personnel in the area according to the passing time of each indoor passing route comprises the following steps:
when the building comprises a plurality of rooms with people distributed, when only one indoor passing route of a first room is provided, determining whether a second room is provided, wherein the second room is provided with only one indoor passing route, at least one section of channel overlap exists between the indoor passing route of the first room and the indoor passing route of the second room, and the first room and the second room are two different rooms;
if a second room exists, determining a first evacuation room and a second evacuation room in the first room and the second room according to the number of people in the first room and the number of people in the second room, and determining an indoor passing route of the first evacuation room as an escape route of people in the first evacuation room;
and if the second room does not exist, determining the indoor passing route of the first room as the escape route of the personnel in the first room.
7. The method as claimed in claim 6, wherein said determining an indoor passage route of said first-evacuated room as an escape route for persons in said first-evacuated room further comprises:
determining a target room, wherein the target room is a room without distributed personnel in the building, the distance between the target room and an outlet of an indoor passing route of the first evacuation room is smaller than the distance between the second evacuation room and the outlet, and the target room is used for arranging the personnel transferred from the second evacuation room.
8. The method of claim 6, wherein said determining an early evacuation room and a late evacuation room in said first room and said second room based on a number of people in said first room and a number of people in said second room comprises:
calculating a first evacuation time required for the persons in the first room to evacuate the building according to the number of persons in the first room and the passage time of the indoor passage route of the first room, and calculating a second evacuation time required for the persons in the second room to evacuate the building according to the number of persons in the second room and the passage time of the indoor passage route of the second room;
and when the first evacuation time is less than the second evacuation time, determining the first room as a room to be evacuated first and the second room as a room to be evacuated later, otherwise, determining the second room as a room to be evacuated first and the first room as a room to be evacuated later.
9. The method of claim 3, wherein the area is a room in the building in which people are distributed,
the step of selecting one indoor passing route as the escape route of the personnel in the area according to the passing time of each indoor passing route comprises the following steps:
when the building comprises a plurality of rooms with people distributed, when a plurality of indoor passing routes of a first room exist, determining whether a third room exists, wherein at least one indoor passing route exists in the third room, at least one passage overlap exists between the indoor passing route of the first room and the indoor passing route of the third room, and the first room and the third room are two different rooms;
if the third room exists, selecting an indoor passing route as an escape route of the personnel in the first room according to the passing time of each indoor passing route of the first room, selecting an indoor passing route as an escape route of the personnel in the third room according to the passing time of each indoor passing route of the third room, and avoiding overlapped channels between the two selected escape routes;
and if the third room does not exist, selecting one indoor passing route as the escape route of the personnel in the first room according to the passing time of each indoor passing route in the first room.
10. An indoor route generation apparatus, characterized in that the apparatus comprises:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring area information of areas in a building, in which people are distributed, and channel information of each channel in the building according to an image acquired by an image acquisition device arranged in the building, the channel information of the channel comprises indication information indicating whether the channel is a normal channel or not and position information of the channel, the edge of the channel is identified in an image, if the edge of the channel comprises the edge of a collapsed area, a collapsed road section comprising the collapsed area is determined, the length of the collapsed area is acquired according to the edge of the collapsed area included in the collapsed road section, and the width of the uncollapsed area is acquired according to the edge of the uncollapsed area included in the collapsed road section; if the edge of the channel comprises the edge of the obstacle, acquiring the height of the obstacle according to the edge of the obstacle, and respectively acquiring the intervals between the two sides of the channel and the obstacle according to the edge of the obstacle and the edges of the two sides of the channel; when the width of an uncollapsed area in a collapsed road section of the channel is smaller than a preset first threshold value and the length of the collapsed area is larger than a preset second threshold value, or the height of an obstacle on the channel exceeds a preset height threshold value and the intervals between the two sides of the channel and the obstacle are smaller than a preset interval threshold value, the indication information is used for indicating that the channel is an abnormal channel;
and the generating module is used for generating at least one indoor passing route according to the area information and the channel information in the building, and the indoor passing route is used for communicating the area with the outside of the building.
11. An indoor route generation system, characterized in that the system comprises: the indoor route generating device comprises an image acquisition device and an indoor route generating device;
the image acquisition device is arranged in the building and is used for acquiring images;
the indoor route generating device is configured to acquire, according to the image, area information of an area in the building where people are distributed and channel information of each channel in the building, where the channel information of a channel includes indication information indicating whether the channel is a normal channel and position information of the channel, where, in image recognition of an edge of a channel, if the edge of the channel includes an edge of a collapsed area, a collapsed section including the collapsed area is determined, a length of the collapsed area is acquired according to the edge of the collapsed area included in the collapsed section, and a width of the uncollapsed area is acquired according to the edge of the uncollapsed area included in the collapsed section; if the edge of the channel comprises the edge of the obstacle, acquiring the height of the obstacle according to the edge of the obstacle, and respectively acquiring the intervals between the two sides of the channel and the obstacle according to the edge of the obstacle and the edges of the two sides of the channel; when the width of an uncollapsed area in a collapsed road section of the channel is smaller than a preset first threshold value and the length of the collapsed area is larger than a preset second threshold value, or the height of an obstacle on the channel exceeds a preset height threshold value and the intervals between the two sides of the channel and the obstacle are smaller than a preset interval threshold value, the indication information is used for indicating that the channel is an abnormal channel; and generating at least one indoor passing route according to the area information and the channel information in the building, wherein the indoor passing route is used for communicating the area with the outside of the building.
12. An electronic device, characterized in that the electronic device comprises:
a processor and a memory having stored therein at least one instruction that is loaded and executed by the processor to implement the indoor route generation method of any of claims 1 to 9.
CN201811628233.0A 2017-12-29 2018-12-28 Indoor route generation method, device and system Active CN109996170B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711475917 2017-12-29
CN2017114759177 2017-12-29

Publications (2)

Publication Number Publication Date
CN109996170A CN109996170A (en) 2019-07-09
CN109996170B true CN109996170B (en) 2021-08-17

Family

ID=67129644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811628233.0A Active CN109996170B (en) 2017-12-29 2018-12-28 Indoor route generation method, device and system

Country Status (1)

Country Link
CN (1) CN109996170B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111399536A (en) * 2020-03-25 2020-07-10 广州极飞科技有限公司 Aircraft searching method and device, storage medium and processor
CN111897850A (en) * 2020-08-05 2020-11-06 湖南翰坤实业有限公司 Method and system for generating escape route in personalized mode according to user portrait
CN115083099A (en) * 2022-06-15 2022-09-20 钟园军 Fire-fighting intelligent dredging indicating system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279800A (en) * 2013-01-10 2013-09-04 吉林大学 Game theory-based optimal escape route generating method for large-scale crowd evacuation
CN104899577A (en) * 2015-06-25 2015-09-09 北京化工大学 Method for determining personnel number inside building and crowd evacuation method
WO2016036208A1 (en) * 2014-09-05 2016-03-10 주식회사 가온코스 Passenger evacuation direction guidance system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103366374B (en) * 2013-07-12 2016-04-20 重庆大学 Based on the passageway for fire apparatus obstacle detection method of images match

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279800A (en) * 2013-01-10 2013-09-04 吉林大学 Game theory-based optimal escape route generating method for large-scale crowd evacuation
WO2016036208A1 (en) * 2014-09-05 2016-03-10 주식회사 가온코스 Passenger evacuation direction guidance system
CN104899577A (en) * 2015-06-25 2015-09-09 北京化工大学 Method for determining personnel number inside building and crowd evacuation method

Also Published As

Publication number Publication date
CN109996170A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN110795236B (en) Method, device, electronic equipment and medium for adjusting capacity of server
CN110895861B (en) Abnormal behavior early warning method and device, monitoring equipment and storage medium
US11340072B2 (en) Information processing apparatus, information processing method, and recording medium
KR20200087260A (en) Method for indicating marker point location, electronic device, and computer readable storage medium
CN109996170B (en) Indoor route generation method, device and system
CN109859102B (en) Special effect display method, device, terminal and storage medium
CN108363982B (en) Method and device for determining number of objects
CN109886208B (en) Object detection method and device, computer equipment and storage medium
CN110874905A (en) Monitoring method and device
CN110717926B (en) Method and device for acquiring pedestrian flow information
CN111369752B (en) Target object monitoring method and device, control equipment and storage medium
CN111383243B (en) Method, device, equipment and storage medium for tracking target object
CN110008671B (en) Data verification method and device
CN112991439A (en) Method, apparatus, electronic device, and medium for positioning target object
CN111754564A (en) Video display method, device, equipment and storage medium
CN112734346B (en) Method, device and equipment for determining lane coverage and readable storage medium
CN111325083B (en) Method and device for recording attendance information
CN111427638B (en) Method and device for displaying note data
CN114498827A (en) Operation method and device of cleaning robot, electronic device and medium
CN112863107A (en) Automatic early warning method, device, electronic equipment and medium
CN109729532B (en) Wireless network capacity expansion method and system, network access equipment and storage medium
CN111984755A (en) Method and device for determining target parking point, electronic equipment and storage medium
CN112863168A (en) Traffic grooming method and device, electronic equipment and medium
CN112184802A (en) Calibration frame adjusting method and device and storage medium
CN112347604B (en) Method and device for determining vehicle path set

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