CN111897850A - Method and system for generating escape route in personalized mode according to user portrait - Google Patents

Method and system for generating escape route in personalized mode according to user portrait Download PDF

Info

Publication number
CN111897850A
CN111897850A CN202010780933.2A CN202010780933A CN111897850A CN 111897850 A CN111897850 A CN 111897850A CN 202010780933 A CN202010780933 A CN 202010780933A CN 111897850 A CN111897850 A CN 111897850A
Authority
CN
China
Prior art keywords
user
escape
escape route
route
target
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.)
Pending
Application number
CN202010780933.2A
Other languages
Chinese (zh)
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.)
Hunan Hankun Industrial Co Ltd
Original Assignee
Hunan Hankun Industrial 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 Hunan Hankun Industrial Co Ltd filed Critical Hunan Hankun Industrial Co Ltd
Priority to CN202010780933.2A priority Critical patent/CN111897850A/en
Publication of CN111897850A publication Critical patent/CN111897850A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Economics (AREA)
  • Databases & Information Systems (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a system for generating an escape route in a personalized manner according to a user figure. The method comprises the following steps: acquiring user information and current position information through a mobile terminal; determining a current position coordinate in a preset scene model according to the current position information; the preset scene model comprises escape exit coordinates; acquiring a current fire position coordinate; determining at least one target escape route according to environmental factors, the current fire position coordinates, the current position coordinates and the escape exit coordinates in the scene model; matching user figures in the picture database according to the user information, and determining the priority of the user according to the user figures; and distributing the target escape routes corresponding to the priorities to the mobile terminal according to the priorities.

Description

Method and system for generating escape route in personalized mode according to user portrait
Technical Field
The invention relates to the field of computers, in particular to a method and a system for generating an escape route in a personalized manner according to a user figure.
Background
Most of the existing escape devices have common escape schemes, and when a fire occurs in a building, an escape route can not be generated for an escaper in a targeted manner according to the position of the escaper; most of the escape devices guide the escapers to escape through a building plan view, so that the escape devices are not intuitive, and users can hardly understand the escape devices at the first time, and particularly under the condition that a fire disaster is in a hurry, the users can hardly find out the optimal escape exits and escape routes
Therefore, in the prior art, the mode of automatically generating the escape route is generated due to transportation, but a system formed by the conventional means does not consider practical factors, the same escape route is recommended to all users, all people rapidly escape in one direction when a real fire occurs, so that blockage and treading are caused, and the result and the expected condition are not ideal.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a method and a system for generating an escape route in a personalized manner according to a user figure, so as to solve the above technical problems.
To solve the above technical problems, an object of the present invention is to provide a method and system for personalized generation of an escape route according to a user profile.
In order to achieve the above object, in a first aspect of the present application, there is first provided a method for personalized generation of an escape route from a user profile, comprising: acquiring user information and current position information through a mobile terminal; determining a current position coordinate in a preset scene model according to the current position information; the preset scene model comprises escape exit coordinates; acquiring a current fire position coordinate; determining at least one target escape route according to environmental factors, the current fire position coordinates, the current position coordinates and the escape exit coordinates in the scene model; matching user figures in the picture database according to the user information, and determining the priority of the user according to the user figures; and distributing the target escape routes corresponding to the priorities to the mobile terminal according to the priorities.
In an embodiment of the present application, the method further comprises: matching voice files in the corpus database according to the target escape route; calculating the position relation between the current position coordinate and the fire position coordinate and the escape exit coordinate; and under the condition that the position relation meets a preset triggering condition, triggering the voice file to broadcast.
In an embodiment of the present application, the method further comprises: reading a compass of the mobile terminal to acquire current orientation information in the process of escaping by a user; comparing the current orientation information with the target escape route to obtain a deviation error; and when the deviation error is larger than a preset threshold value, prompting the deviation error.
In an embodiment of the present application, matching a user portrait in a portrait database according to user information, and determining a priority of a user according to the user portrait includes: reading user information in the mobile device; matching the user portrait in the portrait database according to the user information; calculating the escape difficulty corresponding to the user portrait according to the user portrait; and determining the priority according to the escape difficulty.
In an embodiment of the present application, the user representation includes at least one of: user age, physical condition, occupational characteristics, income, gender.
In the embodiment of the application, the step of calculating the escape difficulty corresponding to the user portrait according to the user portrait comprises the following steps: according to the user portrait, the average moving speed of the user is estimated through a preset formula; and sequencing according to the average moving speed to obtain the escape difficulty.
In an embodiment of the present application, the method further comprises: presetting the maximum number of persons accommodated in each target escape route in unit time; calculating escape time according to the average moving speed and the escape distance of the target escape route; calculating the average escape time according to the escape time and the maximum number of people accommodated; under the condition that the number of the target escape routes distributed to the mobile terminals reaches the maximum number of the accommodated persons; temporarily removing the target escape route within the average escape time; and upgrading the priorities corresponding to the remaining target escape routes.
The second aspect of the present application also proposes a system for personalized generation of an escape route from a user representation, configured to perform the above-mentioned method for personalized generation of an escape route from a user representation.
The third aspect of the present application also proposes a machine-readable storage medium having stored thereon instructions for enabling a processor to execute the method for personalized generation of an escape route from a user representation according to the above when executed by the processor.
In summary, the application provides a method for generating an escape route in a personalized manner according to user figures, which includes the steps of matching the user figures in a picture database according to user information, and determining the priority of a user according to the user figures; therefore, the target escape route suitable for the portrait of different users is recommended. The method has the advantages that firstly, the survival rate under the condition of fire disaster is increased, compared with the traditional condition that all users recommend the shortest route, the moving speed and the physical condition of the users are not considered, all the users are easy to crowd the same route, escape is not carried out in sequence, treading or crowding is easy to happen at the moment, and the survival rate is reduced on the contrary. And secondly, the escape efficiency of a fire scene can be ensured, when a user escapes, the moving speed of the same route is consistent according to the distribution of the user portrait, and the relatively equal time efficiency is maximized.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the embodiments of the invention without limiting the embodiments of the invention. In the drawings:
FIG. 1 is a flow chart of a method for personalized generation of an escape route from a user representation according to a first embodiment of the present invention;
FIG. 2 is a diagram of an exemplary scenario model of a method for personalized generation of an escape route from a user representation according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating step S14 of the method for personalized generation of an escape route according to a user representation according to a first embodiment of the present invention;
FIG. 4 is another flow chart of a method for personalized generation of an escape route from a user representation according to a first embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating a portion of a method for personalized escape route generation based on a user representation according to a first embodiment of the present invention;
FIG. 6 is a further flowchart of a method for personalized generation of escape routes from a user representation according to a first embodiment of the present invention;
FIG. 7 is a flow chart of a method for personalized generation of an escape route from a user representation according to a second embodiment of the present invention; and
FIG. 8 is a flowchart of step S153 of the method for personalized generation of an escape route based on a user profile according to the second embodiment of the present invention; and
fig. 9 is another flow chart of a method for personalized generation of an escape route from a user representation according to a second embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating embodiments of the invention, are given by way of illustration and explanation only, not limitation.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, the meaning of "and/or" appearing throughout is to include three juxtapositions, exemplified by "A and/or B" including either scheme A, or scheme B, or a scheme in which both A and B are satisfied. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
The embodiment of the invention mainly provides a method for generating an escape route in a personalized manner according to a user portrait. By the method, the escape route can be generated more accurately and effectively.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for generating an escape route according to a user profile according to a first embodiment of the present invention. In an embodiment of the invention, the method for generating the escape route in a personalized manner according to the user portrait comprises the following steps:
step S11: acquiring user information and current position information through a mobile terminal;
step S12: determining a current position coordinate in a preset scene model according to the current position information; the preset scene model comprises escape exit coordinates;
step S13: acquiring a current fire position coordinate;
step S14: determining at least one target escape route according to environmental factors, the current fire position coordinates, the current position coordinates and the escape exit coordinates in the scene model;
step S15: matching user figures in the picture database according to the user information, and determining the priority of the user according to the user figures;
step S16: and distributing the target escape routes corresponding to the priorities to the mobile terminal according to the priorities.
It is to be understood that the term "mobile terminal" in steps S11 to S16 can be understood as an electronic device carried by the user, and can be a mobile phone with communication function, a tablet, or a wearable device, the term "current location information" mentioned in step S11, i.e. the current location of the user, and the term "user information" mentioned in step S12, i.e. one dimension of the user' S portrait, can be obtained by hardware of the electronic device, such as a positioning device carried by the mobile terminal.
Specifically, when the electronic device is used to obtain the user information and the current location information, the bluetooth application may be used to access an address book, a map, and a GPS positioning system of the user terminal, and when the user information and the current location information are obtained by means of software of the mobile terminal, data in a software system developed for a mobile tool by itself generally includes some registration information of the user, such as: when the software is installed, the user can be inquired whether the reading of the position information is allowed or not and whether the reading of the installation list is allowed or not;
if the software system does not have the information, the information can be acquired in question and answer access to the user, such as the following examples: after the user selects the device terminal, the user may apply for accessing the user or obtain related information of the user through an external source, such as user information obtained on software that the software authorizes to access, for example: the method allows login by adopting an account of a third party, and can acquire some basic user information from the third party.
Further, in the step S11 to the step S14, a scene needing to escape is simulated, specifically, the three-dimensional graph development software may be combined to virtualize environmental features in the real scene, so that the real scene is converted into a scene model with position information, and then the current position coordinates in the preset scene model are determined according to the current position information; the preset scene model comprises an escape exit coordinate, and then the current fire position coordinate is obtained, so that the current position coordinate, the escape exit coordinate and the scene model can be utilized to generate the target escape route with the shortest path. The Dijkstra algorithm may be used to find the current position coordinates in the following manner:
referring to fig. 2, fig. 2 is a diagram illustrating a scene model of a method for generating an escape route according to a user figure in a personalized manner according to a first embodiment of the invention. The illustrated scene model is only used as an example for illustrating the embodiment, and does not limit the method provided by the embodiment of the invention in any way. Assuming that in the scene model, a user is located at a position corresponding to a current position coordinate x1, first, the current position information of the user is obtained through a Positioning device of a mobile terminal of the user, it should be noted that when a real scene is a flat building, that is, when the real scene is only a floor, a Global Positioning System (GPS) or a base station may be preferentially adopted to position the current position of the mobile terminal, but if the building to which the user belongs is a high-rise building (at this time, the GPS or base station has a poor signal and cannot perform position Positioning), the method may be performed in a manner including, but not limited to, Wireless Fidelity (Wi-fi) Positioning, Radio Frequency Identification (RFID) electronic tag Positioning or bluetooth Positioning; optionally, positioning Wi-fi, and calculating the current position information of the mobile terminal by combining a triangulation positioning method with each RSSI value detected by the mobile terminal by adopting a Nearest Neighbor rule classification algorithm (K-Nearest Neighbor) according to the distance between the mobile terminal and a network point. It is to be understood that the above-described methods are well within the skill of those in the art, and that the embodiments of the present invention are described merely to illustrate the feasibility of the embodiments and to limit the scope of the embodiments of the present invention, and not to unduly limit the scope of the embodiments.
Further, the current position coordinate x1 corresponding to the user in the scene model is matched based on the current position information of the user. Further, in the scene model shown in the embodiment of the present invention, three escape exit coordinates, which are x3, x6, and x7, are preset, and according to Dijkstra algorithm, A, B, C three escape routes are respectively provided from the current position coordinate of the user to the escape exit coordinate in the scene model; the corresponding distances are respectively as follows:
1、Short(A)=x1→x2→x3=d12+d23
2、Short(B)=x1→x4→x5→x6=d14+d45+d56
3.Short(A)=x1→x4→x7=d14+d47
in the above formula, short represents the shortest distance path, and the score from x1 to x7 represents the scene modelIn which d is12、d23、d14、d45、d56、d47The distance weights are preset distance weights, namely A, B, C routes are formed from the current position coordinate to the escape exit coordinate of the user in the simulated scene according to the current position information of the user at the moment; then, the operation is carried out in step S13, and two escape routes are determined A, C as target escape routes according to the current fire position coordinates x 5.
Referring to fig. 3, fig. 3 is a flowchart illustrating step S14 of a method for generating an escape route according to a user image in a personalized manner according to a first embodiment of the present invention.
Further, the step of determining at least one target escape route for one direction of step S14, that is, combining the environmental factors, the current fire position coordinates, the current position coordinates, and the escape exit coordinates in the scene model, may include the steps of:
step S141: determining an escape route between the escape exit and the mobile terminal according to the escape exit coordinate and the current position coordinate;
step S142: matching the fire position coordinates with the escape route;
step S143: removing the escape route successfully matched;
step S144: and calculating the escape distances of the remaining escape routes, and performing distance sequencing on the escape distances to generate at least one target escape route.
A, B, C three escape routes are respectively arranged from the current position coordinates of the user to the escape exit coordinates in the scene model; the corresponding distances are respectively as follows:
1. line a ═ x1 → x2 → x 3;
2. the line B is x1 → x4 → x5 → x 6;
3. the line C is x1 → x4 → x 7;
the fire position coordinates correspond to x5, the fire position coordinates are matched with the escape route, and if the route comprises the fire position coordinates, the fire position coordinates are eliminated, so that the escape route line B which is successfully matched is eliminated, namely the rest:
1、Short(A)=x1→x2→x3=d12+d23
3.Short(C)=x1→x4→x7=d14+d47
and further comparing the distances between the short (A) and the short (C), calculating the escape distances of the remaining escape routes, and performing distance sequencing on the escape distances to generate the sequencing of the target escape routes.
It can be understood that, after the nearest escape route (i.e. the target escape route) planned by the system is determined in the three-dimensional virtual building scene model (scene model), a corresponding virtual route indicating element (target escape route) is generated in the three-dimensional virtual building scene model (preset scene model) according to the route; the route indication element may be an arrow or a character with a 3D effect, which is not limited in this embodiment;
referring to fig. 4, fig. 4 is another flowchart of a method for generating an escape route according to a user profile in a personalized manner according to a first embodiment of the invention. The method provided by the embodiment of the invention can also comprise the following steps:
step S21: matching voice files in the corpus database according to the target escape route;
step S22: calculating the position relation between the current position coordinate and the fire position coordinate and the escape exit coordinate;
step S23: and under the condition that the position relation meets a preset triggering condition, triggering the voice file to broadcast.
It can be understood that steps S21 to S23 mainly provide a voice broadcast function, and the specific scheme may be as follows:
referring to fig. 5, fig. 5 is a partial schematic structural diagram of a method for generating an escape route according to a user figure in a personalized manner according to a first embodiment of the present invention. In order to implement steps S21 to S23, a plurality of broadcast speakers 10 may be provided on the escape route through which the user passes, and the broadcast speakers 10 perform voice broadcast when the user passes through; for example, when the user is located in the area with the corresponding coordinate position of a1, the processor 20 firstly uses the area where the current position coordinate of the user is located as the trigger condition according to the current position coordinate of the collected user, for example, when the current position coordinate of the user enters the a1 area, the broadcast speaker 10 of a1 is triggered to broadcast, and when the user does not reach the a1 area or leaves the a1 area, the broadcast voice is not needed.
Further, the voice file in the corpus database is firstly matched according to the target escape route of the corresponding user, specifically, the voice file is obtained by firstly matching corpus codes in the corpus database according to the target escape route, then selecting sound source digital signal data according to the corpus codes, and outputting analog signals to the digital signal data through a digital-to-analog converter, namely, the voice file is obtained in the form of a data packet, the serial communication transmission data can be transmitted through a network cable or wireless transmission, preferably, the latter, and the wireless transmission mode can be any one of bluetooth transmission, ZigBee transmission and Wifi transmission, so that the voice file is transmitted to the broadcasting speaker 10.
It is understood that if the public address loudspeaker 10 does not have a power amplifier, the power amplifier corresponding to the public address loudspeaker 10 should be set to perform sound source broadcasting of the amplified voice file at the public address loudspeaker 10.
Further, the contents of the voice file may include user information, and navigation information corresponding to a target escape route of the user, such as from a1 to a2 to a3, may be: li x, please turn right. The duration of the voice file can be set to be short, and the voice file can be broadcasted in a concise and clear mode. The reason for adding the user information is to prevent misleading when the user is at a bifurcation, for example, if a plurality of users pass through the bifurcation at the same time, the users may be misled by other people's target escape routes if the user information is not broadcasted.
Referring to fig. 6, fig. 6 is another flowchart of a method for generating an escape route according to a user profile in a personalized manner according to a first embodiment of the invention. The method provided by the embodiment of the invention can further comprise the following steps:
step S31: reading a compass of the mobile terminal to acquire current orientation information in the process of escaping by a user;
step S32: comparing the current orientation information with the target escape route to obtain a deviation error;
step S33: and when the deviation error is larger than a preset threshold value, prompting the deviation error.
It can be understood that the current position information of the mobile terminal corresponds to the current coordinates in the predetermined scene model one to one; when a real mobile terminal (user) moves in a building, the system simulates a corresponding virtual scene picture at a first person viewing angle in a three-dimensional virtual building scene model (a preset scene model) according to the movement of the position of the mobile terminal in the real building and the change of the orientation; accordingly, since the mobile terminal is provided with the gyroscope sensor, when the moving route of the mobile terminal in the real building deviates from the planned route and the deviation error is greater than the preset threshold, the deviation error can be automatically generated in the virtual scene picture. The embodiment of the invention has the beneficial effects that: the mobile terminal displays the escape route and the virtual route indicating element in the virtual reality scene picture at the first time, and can intuitively guide the user to a target escape exit; and when the user deviates the route, the user is informed in time by showing the deviation error of the current position of the user, so that the condition that the user gets lost or walks by mistake is reduced.
Referring to fig. 7, fig. 7 is a flowchart illustrating a method for generating an escape route according to a user profile in a personalized manner according to a second embodiment of the invention. As a specific mode of the first embodiment, the second embodiment of the present invention may further include the following steps:
step S14: determining at least one target escape route according to environmental factors, the current fire position coordinates, the current position coordinates and the escape exit coordinates in the scene model;
step S15: matching user figures in the picture database according to the user information, and determining the priority of the user according to the user figures;
wherein, the step S14 of matching the user portrait in the portrait database according to the user information, and the determining the priority of the user according to the user portrait includes:
step S151: reading user information in the mobile device;
step S152: matching the user portrait in the portrait database according to the user information;
step S153: calculating the escape difficulty corresponding to the user portrait according to the user portrait;
step S154: and determining the priority according to the escape difficulty.
It is understood that, by presetting the user image database, steps S151 to S152 may be understood as performing data source analysis on the user information, and performing weight marking according to the dynamic information and the static information in the user information, in the embodiment of the present invention, the user image is defined to include at least one of the age, the physical condition, the professional characteristics, the income, and the gender of the user.
The user portrait aims to analyze the user and finally label the user with the escape difficulty. For example, for the user's age. The weight may be set to 0.6 below age 40, 0.8 between age 40 and 60, and 0.9 between age 60 and 80. And the final label weight may be: the user escape difficulty weight is the attenuation factor multiplied by the age weight multiplied by the physical condition weight, and those skilled in the art should understand that the model for calculating the user escape difficulty weight is only an example reference, and a specific weight calculation mode needs secondary modeling.
In step S154, the priorities are determined according to the difficulty of escaping, that is, the priorities are sorted according to the difficulty of escaping, for example, if the difficulty of escaping for the user a is 0.98, and the difficulty of escaping for the user b is 0.6, it can be determined that the user a is relatively difficult to escape, and the priority of the user a is higher, and the mobile terminal is assigned with a target escaping route with a shorter distance.
In accordance with the foregoing, the user representation includes at least one of: user age, physical condition, occupational characteristics, income, gender.
Referring to fig. 8, fig. 8 is a flowchart of step S153 of a method for generating an escape route according to a user image in a personalized manner according to a second embodiment of the invention. As a modification of the second embodiment, the step of calculating the escape difficulty corresponding to the user profile in step S153 according to the user profile comprises the following steps:
step S1531: according to the user portrait, the average moving speed of the user is estimated through a preset formula;
step S1532: and sequencing according to the average moving speed to obtain the escape difficulty.
It is understood that, when the weight is calculated, a dimension is added, that is, the average moving speed of the user is used as a reference value, it should be noted that the average moving speed here is only a presumption result from the user portrait and big data analysis, and is a factor generated by the target escape route of the user in a static state, and does not represent the average moving speed value of the user in a real scene.
Referring to fig. 9, fig. 9 is another flowchart of a method for generating an escape route according to a user representation in a personalized manner according to a second embodiment of the invention. The method provided by the embodiment of the invention also comprises the following steps:
step S41: presetting the maximum number of persons accommodated in each target escape route in unit time;
step S42: calculating escape time according to the average moving speed and the escape distance of the target escape route;
step S43: calculating the average escape time according to the escape time and the maximum number of people accommodated;
step S44: under the condition that the number of the target escape routes distributed to the mobile terminals reaches the maximum number of the accommodated persons; temporarily removing the target escape route within the average escape time;
step S45: and upgrading the priorities corresponding to the remaining target escape routes.
It can be understood that the maximum number of persons accommodated in each target escape route in unit time, namely, the maximum capacity number of persons is set, so that the situation that the same target escape route is recommended by more persons is prevented, the situation that the persons are crowded and trampled is caused, and secondary harm is avoided. For example, the survival route a is a route with the highest priority level, which is defined as route 1 herein, and according to the real environment, the upper limit of the number of people that the route can pass through in ten minutes is preset to be 30 people, and according to the average moving speed and the escape distance of the user, the time that the user passes through the escape route a, that is, the survival time, can be determined, assuming that the user (mobile terminal) recommending the escape route a is full of 30 people (stations), and the average escape time of the 30 people is 5 minutes, the escape route a is no longer recommended to other people within the 5 minutes, so that the user is prevented from entering the escape route a, and at this time, other target escape routes are subjected to priority upgrade, that is, the route 2 originally becomes route 1, and other users (mobile terminals) continue to perform sequencing recommendation according to the priority level according to the changed target survival routes.
After 5 minutes, under normal conditions, the user can be determined to have escaped from the route a, and the route a continues to be the target escape route of the line 1 as a recommendation.
In summary, the application provides a method for generating an escape route in a personalized manner according to user figures, which includes the steps of matching the user figures in a picture database according to user information, and determining the priority of a user according to the user figures; therefore, the target escape route suitable for the portrait of different users is recommended. The method has the advantages that firstly, the survival rate under the condition of fire disaster is increased, compared with the traditional condition that all users recommend the shortest route, the moving speed and the physical condition of the users are not considered, all the users are easy to crowd the same route, escape is not carried out in sequence, treading or crowding is easy to happen at the moment, and the survival rate is reduced on the contrary. And secondly, the escape efficiency of a fire scene can be ensured, when a user escapes, the moving speed of the same route is consistent according to the distribution of the user portrait, and the relatively equal time efficiency is maximized.
In an embodiment of the present invention, a system for personalized generation of an escape route according to a user representation is further provided, and the system may be configured to perform the method for personalized generation of an escape route according to a user representation described in the above embodiment.
It will also be understood by those skilled in the art that if the method or system of the present invention is simply changed or combined with other functions added to the above-described method or replaced on the system, such as the replacement of model materials for each component, the replacement of usage environment, the simple replacement of positional relationship of each component, etc.; or the products formed by the components are integrally arranged; or a detachable design; it is within the scope of the present invention to replace the method and system of the present invention with any method/apparatus/system where the combined components may be combined into a method/apparatus/system having specific functions.
The system also comprises a memory and a processor, the method for generating the escape route in a personalized manner according to the user figure can be stored in the memory as a program unit, and the processor executes the program unit stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more, and diversified upgrading is carried out on the application program by adjusting kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a machine-readable storage medium having a program stored thereon, which when executed by a processor, implements a method for personalized generation of an escape route from a user representation.
The embodiment of the invention provides a processor, which is used for running a program, wherein when the program runs, a method for generating an escape route in a personalized manner according to a user portrait is executed.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a system for implementing the functions specified in the flowchart 1 flow or flows and/or block 1 block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction system which implement the function specified in the flowchart flow or flows of FIG. 1 and/or block diagram block or blocks of FIG. 1.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart 1 flow or flows and/or block 1 block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for personalized generation of escape routes from a user representation, comprising:
acquiring user information and current position information through a mobile terminal;
determining a current position coordinate in a preset scene model according to the current position information; the preset scene model comprises escape exit coordinates;
acquiring a current fire position coordinate;
determining at least one target escape route according to the environmental factors in the scene model, the current fire position coordinates, the current position coordinates and the escape exit coordinates;
matching user figures in a picture database according to user information, and determining the priority of the user according to the user figures;
and distributing the target escape route corresponding to the priority to the mobile terminal according to the priority.
2. The method of claim 1, wherein said determining at least one target escape route in combination with environmental factors in said scene model, said current fire location coordinates, said current location coordinates, and said escape exit coordinates comprises:
determining an escape route between the escape exit and the mobile terminal according to the escape exit coordinate and the current position coordinate;
matching the fire position coordinates with the escape route;
removing the escape route successfully matched;
and calculating the escape distances of the remaining escape routes, and performing distance sequencing on the escape distances to generate at least one target escape route.
3. The method of claim 2, wherein the method further comprises:
matching voice files in the corpus database according to the target escape route;
calculating the position relation between the current position coordinate and the fire position coordinate and the escape exit coordinate;
and under the condition that the position relation meets a preset triggering condition, triggering the voice file to broadcast.
4. The method of claim 3, wherein the method further comprises:
reading a compass of the mobile terminal to acquire current orientation information in the process of escaping by a user;
comparing the current orientation information with the target escape route to obtain a deviation error;
and when the deviation error is larger than a preset threshold value, prompting the deviation error.
5. The method of any of claims 1-4, wherein matching user profiles in a profile database based on user information, determining a priority of the user based on user profiles comprises:
reading user information in the mobile device;
matching the user portrait in the portrait database according to the user information;
calculating the escape difficulty corresponding to the user image according to the user image;
and determining the priority according to the escape difficulty.
6. A method as claimed in any one of claims 1 to 4, wherein the user representation comprises at least one of: user age, physical condition, occupational characteristics, income, gender.
7. The method of claim 5, wherein calculating an escape difficulty corresponding to the user representation based on the user representation comprises:
according to the user portrait, the average moving speed of the user is estimated through a preset formula;
and sequencing according to the average moving speed to obtain the escape difficulty.
8. The method of claim 7, wherein the method further comprises:
presetting the maximum number of persons accommodated in each target escape route in unit time;
calculating escape time according to the average moving speed and the escape distance of the target escape route;
calculating the average escape time according to the escape time and the maximum number of people accommodated;
in case that the number of the target escape routes allocated to the mobile terminals reaches the maximum number of accommodated persons; temporarily removing the target escape route within the average escape time;
and upgrading the priority corresponding to the remaining target escape routes.
9. A system for personalized generation of an escape route from a user representation, characterized in that it is configured to carry out a method for personalized generation of an escape route from a user representation according to any of claims 1 to 8.
10. A machine-readable storage medium having stored thereon instructions for enabling a processor to execute the method for personalized generation of an escape route from a user representation according to any of claims 1 to 8, when executed by the processor.
CN202010780933.2A 2020-08-05 2020-08-05 Method and system for generating escape route in personalized mode according to user portrait Pending CN111897850A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010780933.2A CN111897850A (en) 2020-08-05 2020-08-05 Method and system for generating escape route in personalized mode according to user portrait

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010780933.2A CN111897850A (en) 2020-08-05 2020-08-05 Method and system for generating escape route in personalized mode according to user portrait

Publications (1)

Publication Number Publication Date
CN111897850A true CN111897850A (en) 2020-11-06

Family

ID=73247300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010780933.2A Pending CN111897850A (en) 2020-08-05 2020-08-05 Method and system for generating escape route in personalized mode according to user portrait

Country Status (1)

Country Link
CN (1) CN111897850A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112580882A (en) * 2020-12-23 2021-03-30 平安银行股份有限公司 Stroke making method, device, equipment and medium
CN113902002A (en) * 2021-09-30 2022-01-07 北京百度网讯科技有限公司 Method and device for training site entrance and exit determination model

Citations (8)

* 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
CN104239636A (en) * 2014-09-16 2014-12-24 北京航空航天大学 Fire emergency evacuation simulation method
CN107038246A (en) * 2017-04-26 2017-08-11 消检通(深圳)科技有限公司 Generate method, mobile terminal, system and the readable storage medium storing program for executing of escape route
CN107563549A (en) * 2017-08-22 2018-01-09 深圳市泰和安科技有限公司 A kind of best-effort path generation method, device and equipment based on BIM models
CN108710976A (en) * 2018-05-30 2018-10-26 深圳市城市公共安全技术研究院有限公司 dynamic escape route generation method, server and system
CN109191737A (en) * 2018-10-10 2019-01-11 西安艾润物联网技术服务有限责任公司 A kind of escape route generating method, system, equipment and readable storage medium storing program for executing
CN109922162A (en) * 2019-04-26 2019-06-21 山东建筑大学 A kind of flattening Architectural Equipment network monitoring system for things and method based on block chain
CN109996170A (en) * 2017-12-29 2019-07-09 杭州海康威视系统技术有限公司 A kind of interior wiring generation method, apparatus and system

Patent Citations (8)

* 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
CN104239636A (en) * 2014-09-16 2014-12-24 北京航空航天大学 Fire emergency evacuation simulation method
CN107038246A (en) * 2017-04-26 2017-08-11 消检通(深圳)科技有限公司 Generate method, mobile terminal, system and the readable storage medium storing program for executing of escape route
CN107563549A (en) * 2017-08-22 2018-01-09 深圳市泰和安科技有限公司 A kind of best-effort path generation method, device and equipment based on BIM models
CN109996170A (en) * 2017-12-29 2019-07-09 杭州海康威视系统技术有限公司 A kind of interior wiring generation method, apparatus and system
CN108710976A (en) * 2018-05-30 2018-10-26 深圳市城市公共安全技术研究院有限公司 dynamic escape route generation method, server and system
CN109191737A (en) * 2018-10-10 2019-01-11 西安艾润物联网技术服务有限责任公司 A kind of escape route generating method, system, equipment and readable storage medium storing program for executing
CN109922162A (en) * 2019-04-26 2019-06-21 山东建筑大学 A kind of flattening Architectural Equipment network monitoring system for things and method based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵慧敏: "井下大规模人群应急疏导的EMD算法", 中国优秀硕士学位论文全文数据库工程科技Ⅰ辑, no. 3, pages 021 - 265 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112580882A (en) * 2020-12-23 2021-03-30 平安银行股份有限公司 Stroke making method, device, equipment and medium
CN112580882B (en) * 2020-12-23 2023-08-18 平安银行股份有限公司 Stroke making method, device, equipment and medium
CN113902002A (en) * 2021-09-30 2022-01-07 北京百度网讯科技有限公司 Method and device for training site entrance and exit determination model

Similar Documents

Publication Publication Date Title
JP5027920B2 (en) Method, apparatus and computer program for social route planner
KR102004023B1 (en) Detecting geo-fence events using varying confidence levels
CN104602185B (en) A kind of localization method and device
KR101951198B1 (en) A calculating method and acalculating device for accuracy of measuring location, and a method and an apparatus for measuring location of terminal using the accuracy of measuring location
US20130339383A1 (en) Method and apparatus for providing semantic location in electronic device
CN103797332A (en) Selectively performing positioning procedure at access terminal based on behavior model
US9222778B2 (en) Apparatus and method for providing navigation service in electronic device
KR20150132217A (en) Access point selection for assistance data generation
CN111897850A (en) Method and system for generating escape route in personalized mode according to user portrait
CN106052704A (en) Method and device for recommending routes
CN105659638A (en) Location source ranking for determining device location
US9451409B2 (en) Information processing device, information providing method, and program
CN110839051B (en) Service providing method, device, robot and storage medium
CN103229023A (en) Mobile terminal, system and method
US20190011269A1 (en) Position estimation device, position estimation method, and recording medium
CN106126628A (en) A kind of public territory intelligent information inquiry tracing system and method
US20180195867A1 (en) Systems and methods for indoor and outdoor mobile device navigation
CN102932734A (en) Method, device and system for determining distance between terminals
US9516459B2 (en) Method and apparatus for expressing the accuracy of a measured location of a terminal
CN107678816A (en) A kind of program operation reminding method, device and terminal device based on geographical position
CN116593961B (en) Positioning method and device of mobile terminal
JP6430873B2 (en) Position analysis device
KR102083071B1 (en) Method and device for providing indoor position information
JP3699054B2 (en) ROUTE INFORMATION PROVIDING SYSTEM AND DEVICE, AND PROGRAM
CN106465324B (en) Data processing method and device

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