Disclosure of Invention
In view of the above, an object of the present application is to provide a method, an apparatus, a computer device and a medium for police force maneuver, which are used to solve the problem of time delay in police force maneuver during the battle process of police in the prior art.
In a first aspect, an embodiment of the present application provides a method for police force mobilization, applied to a command center server, including:
acquiring a target warning signal and a combat map; the target warning signal carries target warning position information; the battle map carries video resources and police resources;
searching the video resource and the police resource within a preset range in the combat map according to the target warning position information;
updating the target warning position information according to the searched video resources;
and transferring the police resources according to the updated target warning position information.
Optionally, the method further includes:
and displaying the warning mark of the target warning signal in a map according to the updated target warning position information.
Optionally, the target warning signal carries a target object image; the video resource comprises at least one image data; updating the target warning position information according to the searched video resources, comprising the following steps:
for each piece of video data in the searched video resource, determining whether a suspected object with the similarity of the target object image exceeding a preset similarity threshold exists in the image data;
and if a suspected object with the similarity of the target object image exceeding a preset similarity threshold exists in the image data, updating the target warning position information according to the position information of the image data.
Optionally, the method further includes:
if the searched video resource comprises a plurality of suspected objects, performing priority ordering on the updated target warning position information according to the similarity between each suspected object and the target object image;
the method for transferring the police force resource according to the updated target warning position information comprises the following steps:
and transferring the police force resource according to the priority of each updated target warning position information.
Optionally, the police force resource comprises a plurality of police forces; the transferring the police force resource according to the updated target warning position information comprises the following steps:
and aiming at each police force, determining navigation information of the police force going to the updated target warning position according to the updated target warning position information and the current position information of the police force, and sending the navigation information to a user side of the police force.
Optionally, before the target warning signal is acquired, the method further includes:
acquiring candidate warning position information of a plurality of candidate warning signals;
and determining the candidate warning signal closest to the command center server as a target warning signal according to the candidate warning position information of each candidate warning signal and the position information of the command center server.
In a second aspect, an embodiment of the present application provides a device for police force mobilization, which is applied to a command center server, and includes:
the acquisition module is used for acquiring a target warning signal and a combat map; the target warning signal carries target warning position information; the battle map carries video resources and police resources;
the searching module is used for searching the video resource and the police resource within a preset range in the combat map according to the target warning position information;
the updating module is used for updating the target warning position information according to the searched video resources;
and the transferring module is used for transferring the police force resource according to the updated target warning position information.
Optionally, the apparatus further comprises:
and the display module is used for displaying the mark of the target warning signal in a map according to the updated target warning position information.
In a third aspect, an embodiment of the present application provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the steps of the above method when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, performs the steps of the above method.
The method for mobilizing the police force provided by the embodiment of the application comprises the following steps of firstly, obtaining a target warning signal and a battle map; the target warning signal carries target warning position information; the battle map carries video resources and police resources; then, searching the video resource and the police resource within a preset range in the combat map according to the target warning position information; secondly, updating the target warning position information according to the searched video resources; and finally, transferring the police force resource according to the updated target warning position information.
The embodiment that this application provided, according to the target warning signal, find video resource and the alert power resource relevant with the target warning signal in the map of war, then according to video resource to the target position information of warning update in real time to the alert power is transferred according to the target position information of warning after the update, can let the alert power resource arrive to the position that the target warning signal is located as soon as possible, improved the efficiency that the police handled the alert condition.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In the prior art, after receiving the warning signal, the command center searches for the warning resources near the warning signal according to the warning resource allocation table, and transfers all the warning resources to the position of the warning signal, so that the real-time position of the warning signal cannot be searched, and the problem of delay in transferring the warning resources may be caused.
In order to avoid the above drawbacks. The embodiment of the application provides a method for mobilizing police force, which comprises the following steps as shown in fig. 1:
s101, acquiring a target warning signal and a combat map; the target warning signal carries target warning position information; the battle map carries video resources and police resources;
s102, searching the video resource and the police resource within a preset range in the battle map according to the target warning position information;
s103, updating the target warning position information according to the searched video resources;
and S104, transferring the police force resource according to the updated target warning position information.
In the above step S101, the target warning signal refers to a signal for reminding the police to fight, and the target warning signal includes an early warning signal or an alarm signal. The early warning signal may be a signal sent when the suspicious situation is determined by the internet, for example, a suspected object with a higher similarity to a suspicious person is determined in a monitoring video, or the suspected fraud behavior is discovered by the internet through monitoring network data. The alarm signal refers to a signal which is sent when an abnormal condition is determined, for example, an alarm of an alarm person, or a suspect is determined according to identity card information. The battle map is that video resources and police resources are also displayed in the map with geographic information, wherein the geographic information refers to position information, street information and the like corresponding to key places, namely, corresponding marks are displayed in the battle map according to the positions of the mark buildings in the actual environment. Video resources refer to video data acquired by video acquisition equipment, including cameras, law enforcement recorders for the police, etc. Police resources refer to police personnel who are able to perform the location, such as traffic police carrying law enforcement recorders, police in patrol cars, etc. The position that carries law enforcement record appearance can show this traffic police in real time in the map of fighting through the location of law enforcement record appearance, and this traffic police's position can be shown in the map of fighting with presetting the sign, and it can be figure, picture, policeman's serial number etc. to predetermine the sign, after triggering the sign of predetermineeing in the map of fighting, can show the police strength information of predetermineeing the police strength that the sign corresponds in the information display region of map of fighting, and the police strength information includes arbitrary one or more in the following information: the unit, the police officer number, the name and the like. The police in the patrol car which is patrolling can display the position of the police in the patrol car in real time in the battle map through the positioning of the patrol car.
In a specific implementation, the command center server can execute the following steps S102 to S104 only after the target warning signal and the operation map are acquired.
In step 102, after the target warning signal is obtained, all the fighting resources cannot be used to handle the abnormal situation, and a part of the warning resources needs to be reserved to handle other warning signals or to manage the surrounding public security, so that only a part of the warning resources can be extracted to handle the abnormal situation corresponding to the target warning signal, and in order to save the fighting resources, the video resources and the warning resources within the preset range of the target warning position information can be obtained, and the preset range can be set manually, preferably, can be within the range of 500 meters.
In step S103, there may be information related to the target warning signal in the video resource, for example, a suspected person is fleeing, and an image of the suspected person is present in the video resource. And updating the target warning position information according to the information corresponding to the target warning signal in the video resource. The updated target warning position information is the position information of the recent abnormal condition, and the target warning position is updated in real time, so that the timeliness of determining the position of the target warning signal is improved.
In the step 104, after the updated target warning position information is determined, the police force resource is called in real time according to the updated target warning position information, so that the police can go to the position where the warning signal is located quickly, the reaction speed of the police is increased, the police can process the abnormal condition corresponding to the target warning signal, and the processing efficiency of the police is improved. The mobilization of the police force resource may be sending operational information to the police force (police officer) to guide the police force to participate in the operation.
In the four steps, video resources and warning resources related to the target warning signals are found in the operation map according to the target warning signals, then the target warning position information is updated in real time according to the video resources, and warning force is adjusted according to the updated target warning position information, so that the warning resources can arrive at the positions of the target warning signals as soon as possible, and the warning processing efficiency of the police is improved.
For the convenience of operation, command center's staff need know the position of target warning signal in real time in the map of operation, consequently, for the position of staff's quick, audio-visual definite target warning signal, this scheme still includes:
and 104, displaying the warning mark of the target warning signal in a map according to the updated target warning position information.
In the step 104, the warning mark is a preset mark, and the warning mark may be a graphic, a text, an image, or the like.
In the concrete implementation, the position that corresponds at target warning positional information shows the sign of warning of signal, and the sign of warning is according to the change of the target warning position after the update and constantly changes, make the position of sign of warning in the operation map move according to signal of warning, let the staff can more audio-visual know the real-time position of signal of warning, so that command center server can carry out real-time adjustment to the transfer of police strength resource, let the quick preceding position of signal of warning of police strength resource, the efficiency of handling the alert condition has been improved.
If the target warning signal carries a target object image, the target object image is an image of a suspect to be searched by the police, a plurality of suspected objects may exist when searching for an object similar to the image of the suspect according to video data corresponding to each video acquisition device in video resources, in order to ensure the accuracy of handling the police situation, the failure of tracking the suspect is reduced, and the police strength needs to be controlled for the positions of the plurality of suspects, therefore, the step S103 includes:
step 1031, aiming at each image data in the searched video resources, determining whether a suspected object with the similarity of the target object image exceeding a preset similarity threshold exists in the image data;
step 1032, if a suspected object whose similarity with the target object image exceeds a preset similarity threshold exists in the image data, updating the target warning position information according to the position information of the image data.
In the above steps 1031 and 1032, the preset similarity threshold is artificially defined, and the similarity between the image of the suspected object and the image of the target object exceeds the preset similarity threshold, because the conditions of shooting angles, light rays and the like exist between the shot picture in the video data and the image of the target object, the suspected object cannot be determined as the target object by one hundred percent, and the position of the suspected person cannot be determined in order to reduce omission, so that the image in the video data with the similarity exceeding the preset similarity threshold is determined as the suspected object.
In specific implementation, in the found video resource, for each piece of video data, whether a suspected object whose similarity with the target object image exceeds a preset similarity threshold exists or not is found in the video data through an image similarity algorithm, and if the suspected object exists, which indicates that the target object appears near the video acquisition device of the video data, the position corresponding to the video acquisition device is determined as the position where a new target warning signal exists. If no suspected object with the similarity exceeding the preset similarity threshold value exists, the fact that the target object may not exist near the video acquisition device corresponding to the video data is shown.
Because there may be a plurality of suspected objects determined by the video resource, in order to reduce the escape of the target object, the command center may call the police to the positions where all the suspected objects are located, but if the allocation of the police resource is not reasonable, the possibility of the escape of the target object may also be caused, so the scheme further includes:
and 105, if the searched video resource comprises a plurality of suspected objects, performing priority ordering on the updated target warning position information according to the similarity between each suspected object and the target object image.
In step 105, the greater the similarity between the suspected object and the target object image, the greater the possibility that the suspected object is the target object, so that the target warning location information of the suspected object can be prioritized according to the similarity corresponding to each suspected object, and the greater the similarity corresponding to the suspected object, the higher the priority corresponding to the target warning location information of the suspected object; the smaller the similarity corresponding to the suspected object is, the lower the priority corresponding to the target warning position information of the suspected object is.
In order to reduce the escape of the target object, corresponding warning power needs to be allocated to each target warning position, when the priority of the target warning position information is higher, the suspected object at the target warning position is more likely to be the target object, and the more the warning power, the possibility of the escape of the target object is reduced. Therefore, step S104 includes:
step 1041, mobilizing the police force resource according to the priority of each updated target warning location information.
In the step 1041, the target alarm position with higher priority is assigned more police resources, and the target alarm position with lower priority is assigned less police resources, so that all suspected objects are tracked with police, and the suspected object with the highest suspicion degree is tracked with more police, so that the assigned police resources can reduce careless omission, and all suspected objects are checked, and the suspected object with higher priority is also heavily checked, and when the suspected object is determined to be the target object, the possibility of escaping of the target object can be reduced by more police.
The police resources are formed by a plurality of police forces (policemen), and each police force is required to go to a target warning position at the speed as soon as possible in the process of fighting, so that an accurate route is necessary. Step S104, comprising:
step 1042, aiming at each police force, according to the updated target warning position information and the current position information of the police force, determining the navigation information of the police force going to the updated target warning position, and sending the navigation information to the user side of the police force.
In the above step 1042, the accurate route refers to navigation information, and the navigation requires an initial position and a destination, so for each alert, the current position information of the alert can be determined as the initial position, the updated target alert position information is determined as the destination, and the navigation information is generated according to the initial position and the destination, and the navigation information can plan the most time-saving route, so that the alert can go to the target alert position as quickly as possible, and the efficiency of handling the alert is improved.
Sometimes, there may be warning signals of multiple warning situations in one area, but one command center can only process one warning situation, and if multiple warning situations are processed simultaneously, the warning situations are delayed, and even the warning power distribution is not reasonable, so when multiple warning situations occur, it is necessary to screen among the multiple warning situations, and only one screened warning situation is processed. As shown in fig. 2, the present solution includes:
s106, acquiring candidate warning position information of a plurality of candidate warning signals;
s107, according to the candidate warning position information of each candidate warning signal and the position information of the command center server, determining the candidate warning signal closest to the command center server as a target warning signal.
In the step S106, the candidate warning signal refers to a signal for reminding the police to fight, and the target warning signal includes an early warning signal or an alarm signal. The candidate warning position information refers to position information corresponding to the candidate warning signal.
In step S107, when there are multiple candidate warning signals, it is necessary to determine a candidate warning signal closest to the position of the command center server as the target warning signal according to the candidate warning position information of each candidate warning signal. The determined target warning signal is closest to the position of the command center server, and when the mobilized police strength cannot meet the warning condition corresponding to the target warning signal, more police strength resources can be mobilized from the command center for support, so that the efficiency of handling the warning condition is improved, and the condition of escaping of the target object is reduced due to the support of more police strength resources.
The embodiment of the application provides a device that police force mobilized, as shown in fig. 3, is applied to command center server, includes:
theacquisition module 301 is used for acquiring a target warning signal and a combat map; the target warning signal carries target warning position information; the battle map carries video resources and police resources;
the searchingmodule 302 is configured to search the video resource and the police resource within a preset range in the combat map according to the target warning position information;
anupdating module 303, configured to update the target warning location information according to the found video resource;
and thetransferring module 304 is configured to transfer the police resource according to the updated target warning position information.
Optionally, the apparatus further comprises:
and the display module is used for displaying the mark of the target warning signal in a map according to the updated target warning position information.
Optionally, the updatingmodule 303 includes:
for each piece of video data in the searched video resource, determining whether a suspected object with the similarity of the target object image exceeding a preset similarity threshold exists in the image data;
and if a suspected object with the similarity of the target object image exceeding a preset similarity threshold exists in the image data, updating the target warning position information according to the position information of the image data.
Optionally, the apparatus further comprises:
a sorting module, configured to, if the found video resource includes multiple suspected objects, perform priority sorting on the updated target warning location information according to a similarity between each suspected object and the target object image;
the invokingmodule 304 includes:
and the transferring unit is used for transferring the police force resource according to the priority of each updated target warning position information.
Optionally, the invokingmodule 304 includes:
and the navigation unit is used for determining the navigation information of the police force going to the updated target warning position according to the updated target warning position information and the current position information of the police force aiming at each police force, and sending the navigation information to the user side of the police force.
Optionally, the apparatus further includes:
the post-selection warning signal acquisition module is used for acquiring candidate warning position information of a plurality of candidate warning signals;
and the determining module is used for determining the candidate warning signal closest to the command center server as the target warning signal according to the candidate warning position information of each candidate warning signal and the position information of the command center server.
Corresponding to the method of police force mobilization in fig. 1, an embodiment of the present application further provides acomputer device 400, as shown in fig. 4, the device includes amemory 401, aprocessor 402, and a computer program stored on thememory 401 and executable on theprocessor 402, where theprocessor 402 implements the method of police force mobilization when executing the computer program.
Specifically, thememory 401 and theprocessor 402 can be general memories and processors, which are not limited in this embodiment, and when theprocessor 402 runs a computer program stored in thememory 401, the method for police force maneuver can be executed, so as to solve the problem of time delay of police force maneuver in the process of fighting by police in the prior art.
Corresponding to the method of police force mobilization in fig. 1, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the method of police force mobilization.
Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk and the like, when a computer program on the storage medium is run, the method for calling the police force can be executed, the problem that the time delay exists in the police force calling in the operation process of a police party in the prior art is solved, according to the method, a video resource and a warning resource related to a target warning signal are found in an operation map according to the target warning signal, then the target warning position information is updated in real time according to the video resource, and the warning force is called according to the updated target warning position information, so that the warning resource can arrive at the position where the target warning signal is located as soon as possible, and the warning processing efficiency of the police party is improved.
In the embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the present disclosure, which should be construed in light of the above teachings. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.