Disclosure of Invention
The invention solves the problem of how to locate the position of the alarm person and how to improve the rescue efficiency.
In order to solve the problems, the invention provides a warning condition positioning method, a warning condition positioning device and computer equipment.
In a first aspect, the present invention provides a warning condition positioning method, including:
acquiring a telephone number and sound information of a current warning condition, wherein the sound information comprises warning condition information and environmental sound;
judging whether the alarm person is in a safe state according to the sound information;
If the alarm person is in a safe state, sending a positioning link to the alarm person through a short message according to the telephone number, wherein the positioning link is a webpage link with a positioning map;
acquiring the position information of an alarm point, wherein the position information of the alarm point is obtained by clicking the positioning link by the alarm person, and the positioning link positions the alarm person according to a positioning map;
And if the alarm person is not in a safe state, generating the position information of the alarm point according to the sound information and the historical sound information of the historical alarm condition.
Optionally, the acquiring the position information of the alarm point includes:
obtaining initial position information of the alarm point according to the positioning map;
Acquiring calibration information, wherein the calibration information is operation information of the alarm person on the positioning map;
and adjusting the initial position information according to the calibration information to obtain final position information.
Optionally, the acquiring the position information of the alarm point further includes:
after the initial position information is acquired, waiting for a preset time;
And if the calibration information is not acquired within the preset time, taking the initial position information as the position information of the alarm point.
Optionally, the generating the position information of the alarm point according to the sound information and the historical sound information of the historical alarm condition includes:
acquiring the sound information and a position prediction model of the current police condition;
and inputting the sound information into the position prediction model to obtain the position information of the alarm points, wherein the number of the position information of the alarm points is not more than 5.
Optionally, the acquiring the position prediction model includes:
acquiring the historical sound information, urban road network information, environment information and corresponding position label information, and constructing a data set;
constructing an initial position model according to the historical sound information, the urban road network information and the environment information;
And training the initial position model by the data set to obtain a position prediction model.
Optionally, the predicting the position information of the alarm point according to the sound information and the historical sound information of the historical alarm condition further includes:
Acquiring a danger prediction model, wherein the sound information and the accident information are used as a data set, and training an initial danger model to obtain the danger prediction model;
Inputting the sound information into the danger prediction model to obtain a danger level;
The danger levels comprise a first danger level, a second danger level and a third danger level, 5 the first danger level is inanimate and has sufficient rescue time, the second danger level is inanimate and has insufficient rescue time, and the third danger level is animate and has insufficient rescue time.
Optionally, the alert condition positioning method further includes:
Updating the position information of the alarm point to the current alarm condition;
And obtaining the distance between the alarm point and each execution department according to the position information of the alarm point and the urban road network information in the current alarm condition, and selecting the execution department with the smallest distance with the alarm point as a rescue department.
Optionally, the alert condition positioning method further includes:
Generating a rescue path according to the position information of the rescue department, the position information of the alarm point and the real-time traffic condition;
And 5, sending the rescue path and the danger level to the rescue department.
In a second aspect, the present invention further provides an alert positioning apparatus, including:
The acquisition module is used for acquiring the telephone number and the sound information of the current police, wherein the sound information comprises the police information and environmental sound;
The system comprises a judging module, a 0 sending module, a positioning link and a receiving module, wherein the judging module is used for judging whether an alarm person is in a safe state according to the sound information;
the positioning module is used for acquiring the position information of the alarm point, wherein the position information of the alarm point is obtained by clicking the positioning link by the alarm person, and the positioning link performs 5 positioning on the alarm person according to a positioning map;
and the prediction module is used for generating the position information of the alarm point according to the sound information and the historical sound information of the historical alarm condition if the alarm person is not in a safe state.
In a third aspect, the present invention provides a computer device comprising a memory and a processor;
the memory is used for storing a computer program;
the processor is configured to implement the alert condition positioning method described above when executing the computer program.
The beneficial effects of the invention are as follows:
The telephone number and the sound information of the alarm person are acquired, the basic information of the alarm person and the environment where the alarm person is located can be known, the normal operation of subsequent alarm condition positioning is ensured, and the establishment of an optimal rescue strategy according to the environment where the alarm person is located is facilitated. And judging the safety state of the alarm person according to the sound information so as to select a proper alarm point positioning method and increase rescue efficiency. According to the telephone number, the positioning link can be accurately sent to an alarm person in a short message mode, and the sending error is avoided. The positioning link is a webpage link with a positioning map, and when an alarm person clicks the positioning link, the accurate position information of the alarm point can be obtained, so that inaccurate description of the position information caused by the reason that the emotion of the alarm person fluctuates or no marker exists around the alarm person is effectively avoided, the alarm point can be positioned quickly and accurately, the position information of the alarm point is obtained, and the rescue efficiency is improved. Meanwhile, the warning situation positioning method of the embodiment can also predict the position information of the warning point according to the sound information of the current warning situation in the historical warning situations, so that the problem that when the warning person cannot click the positioning link under special conditions, for example, the disabled person with hearing impairment or language disability or the warning person cannot obtain the position information of the warning point is effectively avoided, the rescue time is delayed, the rescue efficiency is effectively improved, and the casualties or property loss is reduced.
Detailed Description
In order that the above objects, features and advantages of the invention will be readily understood, a more particular description of the invention will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings.
In the description of embodiments of the present application, the term "description of some embodiments" means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same implementations or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
As shown in fig. 1, an embodiment of the present invention provides a warning condition positioning method, including:
acquiring a telephone number and sound information of a current warning condition, wherein the sound information comprises warning condition information and environmental sound;
judging whether the alarm person is in a safe state according to the sound information;
If the alarm person is in a safe state, sending a positioning link to the alarm person through a short message according to the telephone number, wherein the positioning link is a webpage link with a positioning map;
acquiring the position information of an alarm point, wherein the position information of the alarm point is obtained by clicking the positioning link by the alarm person, and the positioning link positions the alarm person according to a positioning map;
And if the alarm person is not in a safe state, generating the position information of the alarm point according to the sound information and the historical sound information of the historical alarm condition.
The alarm person sends a call signal to the alarm receiving center by using the mobile terminal, wherein the mobile terminal can be an electronic device such as a mobile phone or an intelligent watch with a call function, the alarm receiving center can be a 119 fire alarm center, a 120 emergency center, a 110 alarm center and the like, the alarm receiving center receives the call signal sent by the alarm person and performs a call with the alarm person to inquire the alarm condition, alarm condition information is obtained, the alarm condition information comprises the name of the alarm person, the telephone number of the alarm person, the position information of the alarm person, the environmental condition, call sound information and the like, the sound information comprises the sound of the alarm person, the alarm condition information and call background sound (namely, the environmental sound), and the information can help the alarm receiving center to know the position and the accident condition of the alarm person so as to take optimal countermeasures. Judging whether the alarm person is in a safe state or not according to the existing sound information, namely judging whether the alarm person can manually operate the positioning link to position an alarm point, if the alarm person is in the safe state, acquiring the telephone number of the alarm person through dictation of the alarm person or through a calling signal, editing a short message with the positioning link to send to a client of the alarm person after the alarm person hangs up, wherein the positioning link is a webpage link with a positioning map. When an alarm person clicks a positioning link, the webpage can be automatically popped up, a positioning map is displayed and connected with the mobile terminal of the alarm person, and accurate position information of the alarm person is automatically obtained, wherein the positioning map is positioned based on a satellite navigation system such as a GPS (global positioning system).
In addition, when the alarm person cannot click the positioning link due to environmental factors or human factors, namely, the alarm person is judged to be in an unsafe state according to the sound information, the alarm receiving center invokes the sound information acquired in the conversation process, wherein the sound information comprises the speaking sound of the alarm person and the conversation background sound, and the position information of the alarm person is predicted by the sound information by combining the historical sound information recorded in the historical alarm condition of the book, the accident occurrence rate of each place, the crime psychology, the environmental sounds (such as wind sounds with different heights) and the like, so that one or more position information is acquired, and the alarm person is rescued.
In addition, binding the positioning link with a prompt box for prompting to download the one-key alarm APP, when an alarm person clicks the positioning link, popping up the prompt box for downloading the one-key alarm APP, and clicking a 'download' button to download the one-key alarm APP. If the mobile terminal used by the alarm person is loaded with the one-key alarm APP, when the alarm person uses the mobile terminal to dial a rescue call, the one-key alarm APP can automatically send the position information of an alarm point to the alarm receiving center corresponding to the rescue call.
In the embodiment, the telephone number and the sound information of the alarm person are acquired, so that the basic information of the alarm person and the environment where the alarm person is located can be known, the normal operation of subsequent alarm condition positioning is ensured, and the establishment of an optimal rescue strategy according to the environment where the alarm person is located is facilitated. And judging the safety state of the alarm person according to the sound information so as to select a proper alarm point positioning method and increase rescue efficiency. According to the telephone number, the positioning link can be accurately sent to an alarm person in a short message mode, and the sending error is avoided. The positioning link is a webpage link with a positioning map, and when an alarm person clicks the positioning link, the accurate position information of the alarm point can be obtained, so that inaccurate description of the position information caused by the reason that the emotion of the alarm person fluctuates or no marker exists around the alarm person is effectively avoided, the alarm point can be positioned quickly and accurately, the position information of the alarm point is obtained, and the rescue efficiency is improved. Meanwhile, the warning situation positioning method of the embodiment can also predict the position information of the warning point according to the sound information of the current warning situation in the historical warning situations, so that the problem that when the warning person cannot click the positioning link under special conditions, for example, the disabled person with hearing impairment or language disability or the warning person cannot obtain the position information of the warning point is effectively avoided, the rescue time is delayed, the rescue efficiency is effectively improved, and the casualties or property loss is reduced.
Optionally, the acquiring the position information of the alarm point includes:
obtaining initial position information of the alarm point according to the positioning map;
Acquiring calibration information, wherein the calibration information is operation information of the alarm person on the positioning map;
and adjusting the initial position information according to the calibration information to obtain final position information.
Specifically, when the alarm person clicks the positioning link through the short message, the webpage interface is jumped to enter the positioning map (or is connected with map positioning software such as a hundred-degree map, a high-altitude map and the like downloaded by the mobile end of the alarm person), and positioning information, namely initial position information of the alarm person, is obtained. For remote places or places with complex buildings, the position information of map positioning may have errors, so that the initial position information is inaccurate, an alarm person can adjust through a positioning map at the moment, for example, manually input a specific address (detailed to floors, house numbers and the like), move punctuation to an accurate address and the like, adjust the initial information by taking the operation as calibration information, obtain adjusted final position information, and a warning center formulates a detailed rescue scheme by taking the final position information as the position information of the alarm point.
In this embodiment, the initial position information of the alarm point is obtained through the positioning map, then the calibration information is obtained, the initial position information is adjusted according to the calibration information, so as to obtain the final position information, and by obtaining the calibration information, the accuracy of obtaining the position information is effectively improved, the delay of rescue time is reduced, and the rescue efficiency is increased.
Optionally, the acquiring the position information of the alarm point further includes:
after the initial position information is acquired, waiting for a preset time;
And if the calibration information is not acquired within the preset time, taking the initial position information as the position information of the alarm point.
Specifically, after the positioning map acquires the initial position information, waiting for a preset time, wherein the preset time can be 30s or 40s. If the user does not operate the positioning map in the preset time, the calibration information cannot be obtained, at the moment, the initial position information is defaulted to be the position information of the alarm point, rescue is carried out by the position information, and when a rescue scheme is prepared, the position information is explained, namely that an alarm person does not calibrate the position information, please observe the surrounding situation, so that rescue failure caused by position deviation is avoided.
In addition, if the short message is sent to the mobile terminal of the alarm person and the reply is not received within the preset time, the position information prediction is carried out, the sound information during the call is called, the position information of the alarm point is predicted, and the rescue delay caused by the fact that the alarm person does not send the position information for a long time is avoided.
In this embodiment, when the alarm person cannot send the calibration information due to a fault, the obtained initial position information is used as the final alarm point position information by setting the preset time, so as to rescue the alarm person, thereby effectively avoiding delaying the rescue time when the position information is not obtained for a long time and effectively improving the rescue efficiency.
Optionally, the acquiring the position prediction model includes:
acquiring the historical sound information, urban road network information, environment information and corresponding position label information, and constructing a data set;
constructing an initial position model according to the historical sound information, the urban road network information and the environment information;
And training the initial position model by the data set to obtain a position prediction model.
Optionally, the generating the position information of the alarm point according to the sound information and the historical sound information of the historical alarm condition includes:
acquiring the sound information and a position prediction model of the current police condition;
and inputting the sound information into the position prediction model to obtain the position information of the alarm points, wherein the number of the position information of the alarm points is not more than 5.
Specifically, the embodiment of the invention predicts the position information by using a neural network. Basic data such as historical sound information (e.g. sound under sudden disease state of alarm person), urban road network information, environmental information (e.g. shop layout, etc.), accident rate of each place (e.g. fire disaster in downtown area and old urban area), crime psychology (e.g. psychological activities of criminal suspects in the kidnapping alarm condition are simulated according to the criminal psychology, criminal places are predicted), environmental sound (e.g. fire sound, big gear sound, etc.), and the like are obtained, and the corresponding label information is marked. And constructing an initial position model based on the historical sound information, wherein the initial position model can be a BP neural network, a Hopfield network, an ART network, a Kohonen network and the like, and training the initial position model by utilizing the basic information and the corresponding label information to obtain a final position prediction model.
When the system is used, the sound information of the current warning condition is acquired, the sound information is directly input into the position prediction model, and the position information of one or more prediction alarm points is output, but in order to ensure the rescue efficiency of rescue workers, the number of the prediction position information is not more than 5. For example, the alarm receiving center receives the call signal of the alarm person and communicates with the alarm person, but for special reasons, the alarm person cannot normally communicate with the alarm receiving center worker, sound information obtained in communication includes loud night gear eating, iron ware knocking, loud wind sound and the like, the alarm receiving center inputs the sound information into the position prediction model, outputs 3 pieces of predicted position information according to the sound data, and the corresponding alarm receiving center formulates a rescue scheme according to the position information, such as a lane at the side of a restaurant in an old urban area, a tail-rot building in a certain place and the like.
In the embodiment, the initial position model is preset, and the initial position model is trained by utilizing the historical sound information of the historical alarm condition, the urban road network information and the like, so that a position prediction model with higher accuracy is obtained, and the accuracy of the position information prediction of the alarm point is further improved. The voice information is directly input to the trained position prediction model, the predicted position information with higher accuracy can be obtained rapidly, the number of the predicted position information is not more than 5, the predicted position information is ensured to be efficient, waste of police strength due to too many predicted positions of alarm points is avoided, and rescue efficiency is further improved.
Optionally, the predicting the position information of the alarm point according to the sound information and the historical sound information of the historical alarm condition further includes:
Acquiring a danger prediction model, wherein the sound information and the accident information are used as a data set, and training an initial danger model to obtain the danger prediction model;
Inputting the sound information into the danger prediction model to obtain a danger level;
Wherein the risk levels include a first risk level, a second risk level, and a third risk level, the first risk level being an inanimate risk, the rescue time is sufficient, the second dangerous level is inanimate and dangerous, the rescue time is insufficient, the third dangerous level is life-threatening, and the rescue time is insufficient.
Specifically, the embodiment of the invention predicts the risk level by using the neural network. Similar to the construction of the initial position model, an initial risk model is constructed and trained based on basic data such as historical sound information, urban road network information, environment information, accident occurrence rate of each place, crime psychology, environmental sound and the like, and a trained risk prediction model is obtained, wherein the initial risk model can be a BP neural network, a Hopfield network, an ART network, a Kohonen network and the like. The danger prediction model takes sound information of the police condition as input, and three danger levels are respectively a first danger level, a second danger level and a third danger level, wherein the first danger level represents inanimate danger, the rescue time is sufficient, for example, a kidnapping behavior requiring ransom is needed, rescue personnel can properly perform rescue adjustment, the second danger level represents inanimate danger, the rescue time is insufficient, the third danger level represents animate danger, the rescue time is insufficient, for example, robbery and the like, and the rescue personnel need to make emergency departure to a prediction alarm point for rescue.
Additionally, a danger level alarm can be set in an executive department (such as a dispatch office, a hospital emergency department or a fire department), different color early warning and sound early warning can be performed according to the predicted danger level, for example, when the alarm condition is a first danger level, the alarm blinks yellow light, the sound alarm is slow, when the alarm condition is a second danger level, the alarm blinks orange light, the sound alarm is medium speed, when the alarm condition is a third danger level, the alarm blinks red light, the sound alarm is fast, and the executive department dispatches rescue workers according to the early warning of the alarm.
In addition, each rescue worker can carry a small alarm, such as an electronic watch, an interphone and the like, when the rescue workers are on duty, after receiving the warning, the executive department carries out early warning on the portable small alarm according to the position of the rescue workers, so that the nearby rescue workers can quickly execute rescue. For example, the executing department acquires the warning condition early warning function of the third danger level, and the rescue workers wearing the electronic watch are 0.5km away from the predicted warning point, so that the rescue workers are reminded through the electronic watch, and the position information of the predicted warning point is sent to the electronic watch, so that the rescue workers can reach the warning point at the highest speed.
In this embodiment, the dangerous level is set, so that dangerous situations of the alarm person can be effectively estimated, reasonable judgment can be made on the alarm situations according to the dangerous level, a reasonable rescue scheme is formulated, and the situation that other alarm situations cannot be timely processed, other rescue is delayed and the like due to uneven manpower distribution is avoided. And constructing and training to obtain a danger prediction model, and improving rescue efficiency while improving the accuracy of danger level prediction.
Optionally, the alert condition positioning method further includes:
Updating the position information of the alarm point to the current alarm condition;
and obtaining the distance between the alarm point and each execution department according to the position information of the alarm point and the urban road network information in the current alarm condition, and selecting the execution department with the smallest distance with the alarm point as a rescue department.
Specifically, the alarm receiving center receives the position information returned by the positioning link, or inputs the sound information into the position prediction model to obtain predicted position information, and updates and binds the position information with the current alarm condition. After the position information or the predicted position information of the current warning situation is obtained, the position information of each executive department is obtained according to the urban road network information (namely the urban road network map), the distance between each executive department and the warning point is calculated, the distance between each executive department and the warning point is compared, and the executive department closest to the warning point is selected as the rescue department of the current warning situation.
In this embodiment, the position information of the alarm point is updated to the current alarm condition, which can be used as a training and optimizing basis for the position prediction model and the danger prediction model, and is convenient for the subsequent alarm condition to call and know the condition. According to the urban road network information, the position information of each executive department can be obtained, and the executive department closest to the alarm point is selected as a rescue department for rescue, so that the speed of the rescue personnel reaching the alarm point is effectively improved, and the rescue efficiency is further improved.
Optionally, the alert condition positioning method further includes:
Generating a rescue path according to the position information of the rescue department, the position information of the alarm point and the real-time traffic condition;
and sending the rescue path and the danger level to the rescue department.
Specifically, after the alarm point position information and the position information of the nearest rescue department are acquired, rescue paths are generated on the urban map according to real-time traffic conditions (such as whether traffic jam, vehicle accident and the like exist) of the city, wherein the number of the rescue paths can be multiple, traffic lights and the like can be not considered if necessary (such as when a third danger level exists), and the small roads can be in the path generation range. Comparing the time of each rescue path, and selecting the rescue path with the shortest time. The dangerous grade and the rescue path of the current police condition are sent to a rescue department, and the rescue department carries out rescue work according to the dangerous grade and the rescue path.
In the embodiment, the rescue path is obtained according to the real-time traffic condition, so that the time delay caused by traffic reasons when rescue workers independently travel can be effectively reduced, unnecessary time loss is reduced, and the rescue efficiency is improved.
As shown in fig. 2, in another embodiment, there is provided an alert condition positioning apparatus, including:
The acquisition module is used for acquiring the telephone number and the sound information of the current police, wherein the sound information comprises the police information and environmental sound;
The judging module is used for judging whether the alarm person is in a safety state or not according to the sound information;
the sending module is used for sending a positioning link to the alarm person through a short message according to the telephone number if the alarm person is in a safe state, wherein the positioning link is a webpage link with a positioning map;
The positioning module is used for acquiring the position information of the alarm point, wherein the position information of the alarm point is obtained by clicking the positioning link by the alarm person, and the positioning link positions the alarm person according to a positioning map;
and the prediction module is used for generating the position information of the alarm point according to the sound information and the historical sound information of the historical alarm condition if the alarm person is not in a safe state.
The alert positioning device and the alert positioning method have the same advantages as those of the prior art, and are not described in detail herein.
In one embodiment, a computer device is provided that includes a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the alert location method described above when the computer program is executed by the processor.
FIG. 3 illustrates an internal block diagram of a computer device in one embodiment. As shown in fig. 3, the computer device includes a processor, a memory, a network interface, an input device, and a display screen connected by a system bus. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system, and may also store a computer program that, when executed by a processor, causes the processor to implement a warning situation positioning method. The internal memory may also have stored therein a computer program which, when executed by the processor, causes the processor to perform the dynamic graphics generating method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon which, when executed by a processor, implements the steps of the alert location method described above.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
Although the present disclosure is described above, the scope of protection of the present disclosure is not limited thereto. Various changes and modifications may be made by one skilled in the art without departing from the spirit and scope of the disclosure, and these changes and modifications will fall within the scope of the invention.