Method, device, storage medium and electronic device for displaying position of on-duty object
By obtaining the object attributes and real-time location information set of the on-duty objects, determining the main on-duty objects and performing fusion display, the information interference problem caused by multiple location data sources of the on-duty objects is solved, and a concise and intuitive location display is achieved, which improves the user experience.
Patent Information
- Application Number
- CN202411297121.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2044-09-18
AI Technical Summary
When the on-duty subjects are positioning multiple data sources, synchronous display on the police map is likely to cause mutual interference between information, especially in the scene where multiple police officers are riding in the same police car.
By obtaining the object attributes and real-time location information set of the on-duty objects, the main on-duty objects are determined, and their unique real-time locations are determined based on the real-time location information set of multiple on-duty objects, and fused display is performed to reduce information interference.
Through the integrated display, the display congestion is reduced, the simplicity and intuitiveness of position display are improved, the interference caused by the display of multiple location data is avoided, and the user experience is improved.
Smart Images

Figure CN118819355B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device, storage medium and electronic device for displaying the position of an on-duty object. Background Art
[0002] There are more and more locatable devices configured for on-duty objects. When the on-duty positions of on-duty objects are displayed in real time, information interference is easily caused between multiple positioning data.
[0003] Taking the police force as an example, the police force provides police force positioning data to other business systems. The main purpose is to achieve the goal of "One Cop, One Location", that is, "one police force, one location", to avoid the mutual interference between information when the same police force has multiple positioning data sources and is displayed synchronously on the police map. The police force object involves not only police officers, but also the police cars driven by police officers. That is, not only police officers will have multiple positioning devices, but police cars will also be equipped with multiple positioning devices. Especially when multiple police officers are in the same police car to perform tasks, the positioning data provided by many positioning devices are more likely to cause interference.
[0004] In this regard, the prior art CN116244485A provides a method and device for dynamically and intelligently sorting the priorities of police positioning devices, which sorts the priorities of several positioning devices associated with police officers and determines the positions of police officers according to the priorities. The prior art CN115982301A proposes a method and system for displaying the real-time positions of personnel from multiple data sources, which fuses the position data generated by multiple terminal devices held by the same person, and uses the fused position to represent the position of the person and display it.
[0005] Although the existing technology has solved the problem of positioning and displaying the same person holding multiple positioning devices, when faced with the scenario where multiple police officers are riding in the same police car, the existing technology is still not concise enough when displaying the position, and may even cause interference in the position display. Summary of the invention
[0006] Based on this, the purpose of the present application is to provide a method, device, storage medium and electronic device for displaying the position of an on-duty object to solve the information interference problem caused by multi-location data.
[0007] In a first aspect of the present application, a method for displaying the position of an on-duty object is provided, the method comprising:
[0008] Acquire a first object attribute and a first real-time location information set of a first duty object, wherein the first real-time location information set includes at least one first location data obtained from at least one first positioning source associated with the first duty object at a current moment;
[0009] Acquire second object attributes and second real-time location information sets of multiple second duty objects, wherein the second real-time location information set includes at least one second location data obtained from at least one second positioning source associated with the multiple second duty objects at a current moment;
[0010] When the first on-duty object and the plurality of second on-duty objects have an on-duty binding relationship, a primary on-duty object is determined based on the first object attribute and the second object attribute, the primary on-duty object being one of the first on-duty object and the plurality of second on-duty objects, the first object attribute being a means of transport, and the second object attribute being an on-duty person;
[0011] Determine the unique real-time location of the main duty object based on the first real-time location information set and the second real-time location information set;
[0012] The unique real-time position is used as the unique display position of the first on-duty object and the multiple second on-duty objects, and the first on-duty object and the multiple second on-duty objects are integrated and displayed on the on-duty object position distribution map.
[0013] Optionally, before determining the unique real-time location of the main duty object based on the first real-time location information set and the second real-time location information set, the method further includes:
[0014] Obtaining the duty status of the first duty object;
[0015] When the duty state is in the driving state, continuing to determine the unique real-time position of the main duty object based on the first real-time position information set and the second real-time position information set;
[0016] When the on-duty state is in an engine-off stop state, the position of the first on-duty object and the position of the second on-duty object are split and displayed on the on-duty object position distribution map;
[0017] When the on-duty status is in an engine-on-parking state, a second duration of being in the engine-on-parking state is counted, and when the second duration exceeds a second duration threshold, the position of the first on-duty object and the position of the second on-duty object are split and displayed on the on-duty object position distribution map.
[0018] Optionally, before splitting and displaying the position of the first on-duty object and the position of the second on-duty object on the on-duty object position distribution map, the method further includes:
[0019] Detecting the real-time moving speed of each second duty object and the position distance between each second duty object and the first duty object based on the position of the second duty object;
[0020] Comparing the real-time moving speed with a first speed threshold, and comparing the position interval with a second distance threshold;
[0021] The splitting and displaying the position of the first duty object and the position of the second duty object on the duty object position distribution map includes: independently displaying the position of the second duty object whose real-time moving speed exceeds the first speed threshold;
[0022] Independently displaying the positions of the second on-duty objects whose position interval exceeds the second distance threshold;
[0023] The position of a second on-duty object whose position interval does not exceed the second distance threshold and whose real-time moving speed does not exceed the first speed threshold is fused and displayed with the position of the first on-duty object.
[0024] Optionally, the step of displaying the position of the first on-duty object and the position of the second on-duty object separately on the on-duty object position distribution map includes:
[0025] Displaying a second positioning source for each independently displayed second on-duty object on the on-duty object position distribution map;
[0026] When the positions of all the second duty objects are displayed independently, the display of the position of the first duty object is cancelled.
[0027] Optionally, before determining the unique real-time location of the main duty object based on the first real-time location information set and the second real-time location information set, the method further includes:
[0028] Determine a position distance between the first on-duty object and each of the second on-duty objects based on the first real-time position information set and the second real-time position information set;
[0029] When each position distance does not exceed the first distance threshold, the unique real-time position of the main duty object is determined based on the first real-time position information set and the multiple second real-time position information sets.
[0030] Optionally, when at least one of the position intervals exceeds a first distance threshold, a first duration during which the position interval exceeds the first distance threshold is counted;
[0031] When the first duration does not exceed a first duration threshold, continuing to determine the unique real-time location of the main duty object based on the first real-time location information set and the second real-time location information set;
[0032] When the first duration exceeds a first duration threshold, the position of the first on-duty object and the position of the second on-duty object are split and displayed on the on-duty object position distribution map.
[0033] Optionally, determining the main duty object based on the first object attribute and the second object attribute includes: taking the first duty object as the main duty object.
[0034] Optionally, determining the unique real-time location of the main duty object based on the first real-time location information set and the second real-time location information set includes: selecting the location data with the highest priority as the unique real-time location from at least one location data of the main duty object.
[0035] Optionally, before merging and displaying the first on-duty object and the second on-duty object on the on-duty object position distribution map, the method further includes:
[0036] Obtain the number of non-primary on-duty objects that have a duty binding relationship with the primary on-duty object;
[0037] Acquire a display icon that matches the object attributes of the main duty object and the number of the objects, wherein the display icon reflects the object attributes of the main duty object and the number of the objects;
[0038] The fusion display of the first on-duty object and the second on-duty object on the on-duty object position distribution map includes: displaying the display icon at a position matching the unique display position on the on-duty object position distribution map.
[0039] In a second aspect of the present application, a device for displaying the position of an on-duty object is provided, the device comprising:
[0040] A position data acquisition module, used to acquire a first object attribute and a first real-time position information set of a first on-duty object, wherein the first real-time position information set includes at least one first position data obtained from at least one first positioning source associated with the first on-duty object at the current moment; and to acquire a second object attribute and a second real-time position information set of a plurality of second on-duty objects, wherein the second real-time position information set includes at least one second position data obtained from at least one second positioning source associated with the plurality of second on-duty objects at the current moment.
[0041] A main duty object determination module, used for determining a main duty object based on the first object attribute and the second object attribute when there is a duty binding relationship between the first duty object and the plurality of second duty objects, the main duty object being one of the first duty object and the plurality of second duty objects, the first object attribute being a means of transport, and the second object attribute being an on-duty person;
[0042] A unique location determination module, used to determine the unique real-time location of the main duty object based on the first real-time location information set and the second real-time location information set;
[0043] The object display module is used to use the unique real-time position as the unique display position of the first on-duty object and the multiple second on-duty objects, and to display the first on-duty object and the multiple second on-duty objects in an integrated manner on a duty object position distribution map.
[0044] In a third aspect of the present application, a computer-readable storage medium is provided, on which executable instructions are stored. When the executable instructions are executed by a processor, the processor executes a method as described in any one of the embodiments of the present application.
[0045] In a fourth aspect of the present application, an electronic device is provided, including: one or more processors;
[0046] A memory is used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors execute the method described in any embodiment of the present application.
[0047] The above-mentioned on-duty object position display method, device, storage medium and electronic device, for a first on-duty object and multiple second on-duty objects with an on-duty binding relationship, determine the main on-duty object from among them, and determine a unique real-time position from multiple real-time position data of each on-duty object, and use the unique real-time position to display multiple on-duty objects in a fusion manner on the on-duty object position distribution map. Since the first on-duty object and the second on-duty object with an on-duty binding relationship are performing the same on-duty task, their positions are basically the same. Under normal circumstances, if they are split and displayed independently, it will cause display congestion in a small area, and even cause the display content of each on-duty object to be superimposed and blocked due to the close position, making it impossible to see the on-duty object at the corresponding position. The present application can reduce the occurrence of such display congestion by performing fusion display, so that the position display is concise, and the displayed information is intuitive and rich, and the interference caused by the display of multiple position data can be avoided, which can improve the user experience.
[0048] In addition, the present application further detects whether each second duty object is separated from the first duty object. If so, the separated second duty object is displayed independently, while the remaining unseparated second duty object and the first duty object are still displayed in a fusion manner. When all second duty objects are displayed independently, the display of the first duty object is cancelled, further improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope of the present application.
[0050] Figure 1A A schematic diagram of a scene of a method for displaying the position of an on-duty object in one embodiment;
[0051] Figure 1B A schematic diagram of a scene of a method for displaying the position of an on-duty object in another embodiment;
[0052] Figure 2 A schematic diagram of a flow chart of a method for displaying the position of an on-duty object in one embodiment;
[0053] Figure 3A A schematic diagram of displaying icons in one embodiment;
[0054] Figure 3B A schematic diagram of displaying an icon in another embodiment;
[0055] Figure 3C is a schematic diagram of displaying icons in yet another embodiment;
[0056] Figure 4 A schematic diagram of a flow chart of a method for displaying the position of an on-duty object in another embodiment;
[0057] Figure 5 A schematic diagram of a device for displaying the position of an on-duty object in an embodiment;
[0058] Figure 6 Schematic diagram of a device for displaying the position of an on-duty object in another embodiment. DETAILED DESCRIPTION
[0059] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0060] All terms (including technical and scientific terms) used in this application have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used here should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0061] For example, the terms "first", "second", etc. used in this application may be used in this article to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first duty object may be referred to as a second duty object, and similarly, a second duty object may be referred to as a first duty object. Both the first duty object and the second duty object are duty objects, but they are not the same duty object.
[0062] For another example, the terms “include”, “comprising”, etc. used in this application indicate the existence of features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0063] The method for displaying the position of an on-duty object provided in this application can be applied to Figure 1A or Figure 1B The scene shown. Figure 1A and Figure 1B The scene shown is a scene of police officers on duty, in which there is a duty binding relationship between the first duty object (110) and multiple second duty objects (120-1...120-N). The first object attribute of the first duty object is a means of transportation, and the second object attribute of the second duty object (120-1...120-N) is a duty personnel. The first duty object and the second duty object are both equipped with multiple positioning sources (or called single police equipment), and each positioning source can upload location data in real time to form a location information set of the corresponding duty object. The electronic device determines a unique real-time location based on the location data uploaded by the positioning source of each duty object, and displays the first duty object and the second duty object in a fused manner with the unique real-time location on the duty object location distribution map (130). Among them, for multiple duty objects with duty binding, the display icon (or image) presented by the fused display can be Figure 1A A police car image (or icon) can also be Figure 1B The position of the police car image (131) or the police officer image (132) displayed on the distribution map (130) is the position of the unique real-time position reflected on the distribution map. Optionally, the display icon can also be as follows: Figure 3A , Figure 3B or Figure 3C The style presented in .
[0064] In one embodiment, Figure 2 As shown, a method for displaying the position of an on-duty object is provided, the method comprising:
[0065] Step 202: Acquire a first object attribute and a first real-time location information set of a first duty object, wherein the first real-time location information set includes at least one first location data obtained from at least one first positioning source associated with the first duty object at a current moment.
[0066] Step 204: Acquire second object attributes and second real-time location information sets of multiple second duty objects, where the second real-time location information set includes at least one second location data obtained from at least one second positioning source associated with the multiple second duty objects at the current moment.
[0067] In this embodiment, the first real-time location information set includes at least one first location data at the current moment; the second real-time location information set includes at least one second location data at the current moment. The first location data is location data obtained from at least one first positioning source associated with the first duty object; the second location data is at least one second location data obtained from at least one second positioning source associated with the second duty object. The number of second duty objects can be one or more. Each second duty object has its corresponding second object attribute and second real-time location information set.
[0068] The duty object refers to the object that is on duty to perform the task. The duty object can be a person or a means of transportation that the person takes. The duty object can include multiple types according to the field and scene of the duty. Taking the duty object as a person, it can be a police officer such as a traffic police or a policeman, and can also be a firefighter, a border guard, an urban management law enforcement officer, a security guard, a patrolman, a sanitation worker, a doctor or nurse on duty for emergency treatment, etc. Taking the duty object as a means of transportation, the means of transportation is the duty means of transportation that the duty personnel usually take, such as a police car taken by a police officer, a patrol car taken by a patrolman, a cleaning vehicle taken by a sanitation worker, an ambulance taken by a doctor or nurse on duty for emergency treatment, etc. Among them, the means of transportation can be any suitable type of means of transportation used by the duty personnel when on duty, such as a car, a motorcycle, etc.
[0069] The object attribute of the duty object is used to reflect whether the corresponding duty object is a person or a vehicle. Object attributes can be divided into two categories: duty personnel and vehicles, and can also be divided into more categories according to actual needs. For example, if the first object attribute is a vehicle, it means that the first duty object is the vehicle used by the duty personnel when on duty; when the second object attribute is a duty personnel, it means that the second duty object is the duty personnel. In the specific scenario of a police officer on duty, the first duty object is the police car, and the second duty object is the police officer.
[0070] Optionally, there is no limitation on the execution order of step 202 and step 204. For example, step 202 or step 204 may be executed in real time and in parallel, or may be executed in chronological order.
[0071] It is understandable that the electronic device can monitor multiple duty objects by deploying a duty object monitoring platform, for example, it can monitor multiple first duty objects and multiple second duty objects at the same time, so as to grasp the location information of each duty object in real time and display its location information, so that the relevant management personnel can know the global or local status of the duty objects in the whole system in real time. For example, the real-time location of the police officers in the whole city or urban area can be known.
[0072] In one embodiment, each on-duty object is deployed with one or more positioning sources, which are devices or components with positioning capabilities that can generate or report their own location data. Taking the specific scenario of police officers on duty as an example, the positioning sources deployed by the on-duty object can be body cameras, walkie-talkies, police communications and other types of equipment (or so-called single police equipment). When the on-duty object is a vehicle, the positioning source can also include a positioning device on the vehicle, such as a vehicle-mounted positioning device integrated in a police car.
[0073] The positioning source deployed on the first duty object (bound when on duty) is the first positioning source, and the positioning source deployed on the second duty object is the second positioning source. Generally speaking, a positioning source can only be assigned to one duty object at the same time, that is, it is only bound to one duty object, or is in an unbound state. However, one or more positioning sources can be deployed on a duty object, and each positioning source can independently provide location data.
[0074] Taking the scene of police officers on duty as an example, when the object of duty is a police car, the police car can be equipped with one or more sets of the same type of positioning sources at the same time, or different types of positioning sources at the same time. The positioning source is generally fixed with the police car, and can also be replaced, removed, etc. through the corresponding duty reporting system. At the same time, multiple positioning sources can independently upload corresponding location data, and together with the location data generated by the on-board positioning device of the police car, form a real-time location information set at that moment. When the on-board positioning device is offline, the location data uploaded by the positioning source deployed on the police car can be used as auxiliary location data of the police car.
[0075] When police officers are on duty, they should be equipped with positioning sources in accordance with regulations. The association between the positioning source and the police officer or police car can be achieved through the duty reporting system. One positioning source can only be assigned to one police officer or one police car.
[0076] Specifically, a position binding relationship can be established between the object identifier of the duty object and the positioning identifier of the positioning source, and the position binding relationship indicates that the positioning source is deployed on the corresponding duty object. Among them, the object identifier is used to uniquely identify the duty object, and the positioning identifier is used to uniquely identify the corresponding positioning source. Both the object identifier and the positioning identifier can be composed of numbers, letters or other special characters with a preset number of digits. Taking the police duty scenario as an example, for the police duty objects such as police officers, their object identifier can be the police number of the police officer, and the object identifier of the police car duty objects can be their license plate number.
[0077] Optionally, the location binding relationship can be reflected in the information of the positioning source list EquipList of the duty object, and each positioning source with a location binding relationship can be queried from the positioning source list EquipList. For example, EquipList=[E1,E2,E3,…Em], E1, E2, E3…Em can be the positioning identifiers of the positioning sources with a location binding relationship with the duty object, and each positioning identifier is separated by “,”. When the information in EquipList is a null value, it means that there is no corresponding positioning source. Or when it is a null value, the positioning source of the duty object belonging to the vehicle type is only the on-board positioning device integrated in the vehicle itself.
[0078] Each positioning source can generate its own location data in real time according to a certain update frequency. The collection of location data formed by each positioning source assigned to the duty object is the location information set. The collection of location data at each moment is the real-time location information set. The location data in the real-time location information set is updated in real time according to the corresponding update frequency. At a certain moment, the location data in the real-time location information set is the latest location data generated by the corresponding positioning source at the corresponding moment. The location data can be longitude and latitude coordinates.
[0079] For example, there is a duty object A, and the assigned positioning sources include positioning source A1, positioning source A2, and positioning source A3, a total of 3. At time TA, the latest position data generated by positioning source A1 is position data A_1A, the latest position data generated by positioning source A2 is position data A_2A, and the latest position data generated by positioning source A3 is position data A_3A. Then the real-time position data set of the real-time position information set at the time TA includes position data A_1A, position data A_2A, and position data A_3A.
[0080] At time TB, the latest location data generated by positioning source A1 is location data A_1B, the latest location data generated by positioning source A2 is location data A_2B, positioning source A3 is offline, or there are other failures and other factors that make it impossible to generate the latest location data in real time, then the real-time location information set in the real-time location data set at time TB includes location data A_1B and location data A_2B.
[0081] In one embodiment, the real-time location information set can be described as a vector [, , , , ], wherein the vector lengths corresponding to the real-time location information sets of each duty object can be the same or different. For example, for each duty object, the vector length of its real-time location information set can be determined according to the number of positioning sources with which it has a position binding relationship, or the maximum number of positioning sources that the duty object can accommodate can be uniformly used as the vector length of the real-time location information set of each duty object. Each element in the vector represents the location data uploaded by the corresponding positioning source, and the location data generated by each positioning source has a fixed position in the corresponding real-time location information set (composed vector). For example, the value of the i-th element in the vector is the location data generated by the corresponding positioning source i. When the positioning source i does not generate location data in time, or the corresponding duty object does not deploy the positioning source i, the value at the position i is a null value.
[0082] Each location data in the real-time location information set can be updated in real time, and the existing location data can be replaced by the latest location data generated by each positioning source. Specifically, the electronic device can receive the latest location data uploaded by each positioning source, and determine the duty object where the positioning source is deployed based on the location binding relationship, and determine the position of the positioning source in the vector formed by the real-time location information set of the corresponding duty object based on the location identifier. Then delete the elements in the corresponding position in the vector of the real-time location information set, and then fill the latest location data into the corresponding position under the real-time location information set. When an element in the vector is not replaced for more than a certain period of time, the corresponding element is also deleted. The duration can be the duration corresponding to the pre-set minimum location update frequency, such as any suitable duration such as 1 second, 2 seconds or 3 seconds.
[0083] When there is no valid location data in the real-time location information set corresponding to the duty object, that is, when no set of deployed positioning sources uploads positioning data in real time, it means that the duty object does not exist.
[0084] Step 202 includes: receiving the latest location data generated by the first positioning source that has a location binding relationship with the first duty object, and filling the latest location data into the element at the corresponding position of the first vector. The first vector is a vector formed by the first location information set of the first duty object, and the first real-time location information set at the current moment is formed by updating each element in real time.
[0085] Step 204 includes: receiving the latest location data generated by the second positioning source that has a location binding relationship with the second duty object, and filling the latest location data into the element at the corresponding position of the second vector. The second vector is a vector formed by the second location information set of the second duty object, and the second real-time location information set at the current moment is formed by updating each element in real time.
[0086] Step 206: When a first duty object has a duty binding relationship with a plurality of second duty objects, a main duty object is determined based on the first object attribute and the second object attribute.
[0087] In this embodiment, the main duty object is one of the first duty object and the second duty object.
[0088] When each duty object is on duty, a duty binding relationship between the duty objects can be established or pre-established. The multiple duty objects with the duty binding relationship are in a state of being on duty together or on duty for the same matter, and usually the positions of the multiple duty objects are basically the same.
[0089] Optionally, the object attributes between the on-duty objects with a duty binding relationship may be the same or different. For example, among the on-duty objects with a duty binding relationship, the object attribute of one of the on-duty objects is a vehicle, and the object attribute of the other on-duty objects is a duty personnel. Taking the police duty scene as an example, when one or more police officers drive a police car on duty, it is necessary to temporarily associate the police officers and the police cars through the duty reporting system so that the one or more police officers and the corresponding police cars form a duty binding relationship, that is, a duty binding relationship.
[0090] The electronic device can identify the duty binding relationship between the duty objects, and determine one of the duty objects with the duty binding relationship as the main duty object. The main duty object refers to the object displayed as a fusion in the duty object position distribution map.
[0091] Optionally, the main duty object can be determined based on object attributes. For example, among multiple duty objects with two object attributes, one of the duty objects belonging to a vehicle can be used as the main duty object, or one of the duty objects belonging to a duty personnel can be used as the main duty object.
[0092] In one embodiment, when the first object attribute is a vehicle and the second object attribute is an on-duty person, the first on-duty object is used as the main on-duty object.
[0093] In this embodiment, one vehicle can carry multiple on-duty personnel. By selecting the on-duty object belonging to the vehicle as the main on-duty object among multiple on-duty objects with on-duty binding relationships, not only can the intuitiveness of the fusion display in the position distribution map be improved, but also the occurrence of confusion in the position display of the on-duty objects when there are many on-duty objects at the same time can be reduced.
[0094] Step 208: Determine the unique real-time location of the main duty object based on the first real-time location information set and the second real-time location information set.
[0095] In this embodiment, since there are location data generated by multiple positioning sources, in order to avoid confusion in the location display of the on-duty object, a unique location can be determined based on the first real-time location information set and multiple second real-time location information sets, and used as the unique real-time location to facilitate subsequent location display on the location distribution map.
[0096] One of the location data may be selected from the first real-time location information set and the plurality of second real-time location information sets as the unique real-time location. Fusion calculation may also be performed based on one or more location data in the two location information sets, and the calculated data may be used as the unique real-time location. The calculation method may include weighted average or any other appropriate calculation method.
[0097] Specifically, from at least one location data of the main duty object, the location data with the highest priority is selected as the only real-time location.
[0098] When the main duty object is the first duty object, the location data of the main duty object is the first location data; when the main duty object is the second duty object, the location data of the main duty object is the second location data. The electronic device can pre-set the priority of the data uploaded by each positioning source, and select the valid location data uploaded by the positioning source with the highest priority from the location information set as the only real-time location. Among them, the valid location data represents the location data generated by the corresponding data source that can reflect the duty object at the current moment, that is, the above-mentioned non-empty data.
[0099] Taking the police on duty scene as an example, the priority of each positioning source can be set from high to low as follows: vehicle-mounted positioning equipment, law enforcement instrument, walkie-talkie, and police communication. When the first real-time location information set A of the first on-duty object A contains the valid first location data of the above four positioning sources, and the second real-time location information set B of the second on-duty object B contains the valid second location data of the three positioning sources of law enforcement instrument, walkie-talkie, and police communication, if the main on-duty object is the first on-duty object, the only real-time location is determined to be the first location data generated by the above-mentioned vehicle-mounted positioning device. If the main on-duty object is the second on-duty object, the only real-time location is the second location data generated by the law enforcement instrument that has a location binding relationship with the second on-duty object.
[0100] By selecting one from multiple location data as the unique real-time location in a priority manner, the efficiency of determining the unique real-time location can be improved. And by selecting one from the location data of the main duty object, the location displayed on the location distribution map can also be consistent with the displayed object.
[0101] Step 210, using the unique real-time position as the unique display position of the first on-duty object and the plurality of second on-duty objects, and displaying the first on-duty object and the plurality of second on-duty objects in an integrated manner on the on-duty object position distribution map.
[0102] In this embodiment, the fusion display means that at least one first duty object and at least one second duty object that have a duty binding relationship are displayed together on the distribution map without being displayed separately. The fusion display style can be a corresponding icon, or other images that can present the characteristics of the first duty object or the second duty object. The position of the fusion display on the distribution map is the only display position. The fusion display icon can be Figure 1A The police car image presented by the on-duty object (131) in the Figure 1B The traffic police image presented by the on-duty object (132) in the Figure 3A , Figure 3B , Figure 3C Any of the display icons in .
[0103] Since the first duty object and the second duty object with a duty binding relationship are performing the same duty task, their positions are basically the same. Under normal circumstances, if they are split and displayed independently, it will cause display congestion in a small area, and even cause the display content of each duty object to be superimposed and blocked due to the close position, making it impossible to see the duty object in the corresponding position. However, this application can reduce the occurrence of such display congestion by performing fusion display, which can improve the user experience.
[0104] In one embodiment, the above method also includes: determining the position distance between the first on-duty object and the second on-duty object based on the first real-time position information set and the second real-time position information set; when the position distance does not exceed the first distance threshold, determining the unique real-time position of the main on-duty object based on the first real-time position information set and the second real-time position information set.
[0105] The process of determining the position interval may be performed before step 208 or after step 210. The electronic device may perform the process for the first time before step 208 before merging and displaying the first duty object and the second duty object, or may perform the above process cyclically in real time after merging and displaying the first duty object and the second duty object.
[0106] In this embodiment, before or after the fusion display of the first duty object and the second duty object, the position distance between the first duty object and the second duty object is also detected in real time. Although the first duty object and the second duty object with a duty binding relationship are usually in the same duty task, there are some cases where the first duty object and the second duty object are separated. Therefore, the electronic device can further detect the position distance between the two, and only continue to execute step 208 when the position distance meets the preset first distance threshold, or continue to fuse the first duty object and the second duty object.
[0107] The position distance between the two can be determined based on at least one first position data and at least one second position data, for example, it can be a distance represented by the difference between one of the first position data and one of the second position data.
[0108] Optionally, one of the first location data may be the location data with the highest priority in the first real-time location information set, and one of the second location data may be the location data with the highest priority in the second real-time location information set. Furthermore, one of the first location data and one of the second location data may also be location data generated by the same type of data source. And the same type of data source may be data generated by a location source with a relatively higher priority in the two location information sets.
[0109] Taking the first duty object A and the second duty object B as an example, the location data generated by the body camera with a higher priority can be selected as one of the location data of each body camera, and the difference between the location data generated by the two body cameras can be calculated to determine the location distance between the two. By calculating the location distance according to the location data of the same type of location source, the consistency and accuracy of the location distance calculation can be improved.
[0110] Furthermore, when calculating the position spacing, the spacing between each first position data and each second position data can be calculated respectively, and the spacing can be used as the candidate position spacing, and the position spacing between the two can be determined from the candidate position spacing. For example, the candidate position spacing with the smallest value can be used as the position spacing. By using the candidate position spacing with the smallest value as the position spacing, it is possible to prevent the occurrence of position spacing calculation errors due to abnormal positioning or inaccurate positioning of some positioning sources, and avoid the subsequent frequent splitting and display of the first duty object and the second duty object.
[0111] In this embodiment, the first distance threshold value may be a fixed value, or may be a value adaptively determined according to the actual duty scene. For example, the first distance threshold value may be set to any suitable value such as 10 meters, 20 meters, 50 meters, 100 meters, etc.
[0112] After calculating the position distance between the two, the size of the position distance between the two can be compared with the first distance threshold. When the position distance does not exceed the first distance threshold, step 208 can be continued, or the fusion display of the first duty object and the second duty object can be maintained.
[0113] In one embodiment, when the position interval exceeds a first distance threshold, the first duration of time that the position interval exceeds the first distance threshold is counted; when the first duration does not exceed the first duration threshold, the unique real-time position of the main duty object is determined based on the first real-time position information set and the second real-time position information set; when the first duration exceeds the first duration threshold, the position of the first duty object and the position of the second duty object are split and displayed on the duty object position distribution map.
[0114] In this embodiment, split display means that the first duty object and the second duty object that meet the split condition are displayed simultaneously in the distribution diagram, that is, the first duty object and the second duty object are displayed independently. Figure 1A and Figure 1B For example, the on-duty object (131) and the on-duty object (132) can be displayed on the distribution map at the same time. Specifically, only the icon of the on-duty object can be displayed, or both the icon of the on-duty object and the characteristics of one or more positioning sources deployed by the on-duty object can be displayed (for example, displayed as Figure 3B The style shown in the figure) allows relevant personnel to not only understand the separation of the on-duty objects based on the display, but also know which positioning sources the on-duty objects are specifically equipped with.
[0115] Optionally, the display position of each duty object on the distribution map may be determined in the same manner as described above, such as by centralizing the respective real-time position information and presenting the position represented by the position data with the highest priority on the distribution map.
[0116] The first duration threshold may be any suitable fixed duration preset, or a duration adaptively determined according to the duty scene. For example, the first duration threshold may be set to any suitable value such as 3 seconds, 5 seconds, 10 seconds, 15 seconds, 20 seconds, 30 seconds, 1 minute, etc.
[0117] When it is detected that the first distance threshold is exceeded, the first duration that exceeds the first distance threshold is further detected. When the first duration reaches the preset first duration threshold, it indicates that the first duty object and the second duty object are separated, and the two can be displayed separately. Specifically, when there are multiple second duty objects that are bound to the first duty object, only the first duty object and the second duty object that exceed the first distance threshold and whose duration reaches the first duration threshold are displayed separately, while other duty objects that do not exceed the first distance threshold or whose duration does not exceed the first duration threshold are still displayed in a fused manner.
[0118] Among them, when it is detected that the first duration has not reached the first duration threshold at a certain moment, and its corresponding position spacing does not exceed the first distance threshold, step 208 is continued to be executed, and the first duration is cleared to zero, so that the first duration statistics are restarted after the position spacing is detected to exceed the first distance threshold next time.
[0119] Combination Figure 1A and Figure 1B As shown, for example, there are three on-duty personnel (120-1, 120-2, 120-3) and a duty vehicle (110) in a duty binding relationship. When only the on-duty personnel (120-1) and the duty vehicle (110) meet the split display conditions, only the on-duty personnel (120-1) and the duty vehicle (110) are split and displayed, and the other on-duty personnel (120-2) and on-duty personnel (120-3) continue to be displayed in an integrated manner with the duty vehicle (110), without the need to split and display all the on-duty personnel (120-1, 120-2, 120-3) and the duty vehicle (110).
[0120] By setting the first duration threshold, only the first duty object and the second duty object that meet both the first distance threshold and the first duration threshold are split and displayed, avoiding the mistaken splitting of the two in the case of short-term positioning anomalies. And only the duty objects that meet the splitting conditions are split, while other duty objects that do not meet the splitting conditions and belong to the same duty binding relationship continue to be displayed in a fusion manner, which can also improve the accuracy of the splitting.
[0121] In one embodiment, the position of the first on-duty object and the position of the second on-duty object are split and displayed on the on-duty object position distribution map, including: displaying the first positioning source of each first on-duty object and the second positioning source of the second on-duty object on the on-duty object position distribution map, the first position data is the data generated by the first positioning source, and the second position data is the data generated by the second positioning source.
[0122] In this embodiment, the corresponding positioning sources can also be displayed on the distribution map according to the position data generated by each positioning source, and one position data can be selected from multiple position data of the same duty object according to the priority, and used as the position displayed by each positioning source on the distribution map. For example, the corresponding positioning source icon can be superimposed on the icon of the duty object, or these icons can be merged into one icon and displayed.
[0123] For example, the electronic device pre-sets display icons for on-duty objects with different positioning sources, and can determine the matching display icon according to the positioning source corresponding to the location data contained in the location information set of each on-duty object, and display the display icon. For example, the on-duty object determined to be split and displayed is a police officer, and the positioning sources configured for him include a body camera and a walkie-talkie. Then you can choose Figure 3B The display icon that matches it is shown, which displays the image of a police officer equipped with a body camera and a walkie-talkie.
[0124] In one embodiment, the above method also includes: obtaining the duty status of the first duty object; when the duty status is in a driving state, continuing to determine the unique real-time position of the main duty object based on the first real-time position information set and the second real-time position information set; when the duty status is in an engine-off stop state, splitting and displaying the position of the first duty object and the position of the second duty object on the duty object position distribution map; when the duty status is in an engine-on-parking state, counting the second duration of the engine-on-parking state, and when the second duration exceeds a second duration threshold, splitting and displaying the position of the first duty object and the position of the second duty object on the duty object position distribution map.
[0125] In this embodiment, the main duty object is a duty object whose object attribute is a means of transportation for illustration, and the non-main duty object is a duty object that is not used as the main duty object between the first duty object and the second duty object that have a duty binding relationship.
[0126] When the main duty object is a vehicle, the electronic device will also obtain the driving status of the main duty object in real time, which reflects whether the corresponding duty object is in an off-line state or in a moving or non-moving state. It includes a non-off-the-engine parking state, an off-the-engine stop state, and a driving state.
[0127] When it is in the driving state, it means that the duty object is moving normally, and step 208 can be continued. When it is in the off-state, it means that the duty personnel on the vehicle may be off duty, and at this time, the position of the first duty object and the position of the second duty object can be split and displayed on the duty object position distribution map.
[0128] When in the unextinguished stop state, it is necessary to determine whether the corresponding duty object is waiting for a traffic light, or is in a traffic jam and cannot move, or needs to stop in other situations, or is in a state where the duty object is not extinguished but the duty personnel on it are getting off the vehicle to perform their duties. At this time, the second duration of the unextinguished stop state can be counted, and when the second duration exceeds the second duration threshold, the position of the first duty object and the position of the second duty object are split and displayed on the duty object position distribution map; if it does not exceed the second duration threshold, step 208 is continued.
[0129] Similar to the first time threshold, the second time threshold can also be any pre-set appropriate value, or can be a value adaptively determined according to the specific scenario. Specifically, the second time threshold can be set to a value exceeding the waiting time of the traffic light, such as 1 minute, 90 seconds, 2 minutes, 3 minutes, or any other appropriate value.
[0130] For example, the second duration threshold is set to 90 seconds. When it is detected that the on-duty object begins to enter the parking state with the engine not turned off, the second duration statistics are performed. When the second duration is counted to reach 30 seconds, the on-duty object resumes the driving state, then step 208 can be continued, and the second duration is cleared, so that the second duration statistics can be restarted after the on-duty object enters the parking state with the engine not turned off next time.
[0131] Whether the vehicle is in a non-stop state or a driving state can be determined based on the moving speed of the on-duty object. When the moving speed is lower than a preset speed threshold and the vehicle is in a non-stop state, it indicates that the vehicle is in a non-stop state. When the moving speed exceeds the speed threshold, it indicates that the vehicle is in a driving state. The speed threshold can be any appropriate speed such as 0 km / h or 5 km / h.
[0132] In this embodiment, by further considering the duty status of the duty objects and determining whether to display multiple duty objects in a fused manner or in separate manners based on the duty status, the flexibility of the duty object display can be improved.
[0133] In one embodiment, it is detected whether each second duty object meets the fusion condition with the first duty object, and only the second duty objects that do not meet the fusion condition are split and displayed. For one or more second duty objects that meet the fusion condition, they are still fused with the first duty object and displayed.
[0134] Among them, the fusion conditions may include one or more of the position spacing, duration, speed, etc. mentioned in the various embodiments of the present application.
[0135] For the process of split display and / or fused display, specifically, the real-time moving speed of each second duty object and the position distance between each second duty object and the first duty object are detected based on the position of the second duty object; the real-time moving speed is compared with the first speed threshold, and the position distance is compared with the second distance threshold; the position of the second duty object whose real-time moving speed exceeds the first speed threshold is independently displayed; the position of the second duty object whose position distance exceeds the second distance threshold is independently displayed; the position of the second duty object whose position distance does not exceed the second distance threshold and whose real-time moving speed does not exceed the first speed threshold is fused and displayed with the position of the first duty object.
[0136] In this embodiment, when the first on-duty object has been turned off or parked for a long time, it can be considered whether the second on-duty object is separated from the first on-duty object. That is, whether one or more on-duty personnel have got off the vehicle. If it is detected that the on-duty personnel have got off the vehicle, the on-duty personnel who have gotten off the vehicle can be displayed separately, while the first on-duty object and the second on-duty object that have not been separated are still displayed in a fusion manner.
[0137] Specifically, for each second duty object, its real-time moving speed and the position distance between it and the first duty object can be detected. Among them, the real-time moving speed can be determined by the distance between the detected positions at one or more adjacent moments. Optionally, the position at the current moment can be subtracted from the position at the previous moment, and the absolute value obtained can be divided by the absolute value of the time difference between adjacent moments to obtain the moving speed at the current moment. Or it can be: the absolute value of the difference between the average position in a certain time period and the average position in the previous time period is divided by the duration of the two time periods, and the value obtained is used as the moving speed at the current moment. By calculating the moving speed based on the average position in the time period, it can be prevented that the calculated moving speed has a large deviation due to the error in the position at a single moment. The duration of the time period can be a preset unit duration, for example, the time period can be divided into any suitable duration such as 2 seconds, 5 seconds, 10 seconds, 30 seconds, etc.
[0138] The electronic device also presets a corresponding first speed threshold and a second distance threshold. By comparing the real-time moving speed with the first speed threshold, and comparing the position interval with the second distance threshold, it is determined whether the second duty object is separated from the first duty object based on the sizes of the two.
[0139] If the real-time moving speed exceeds the first speed threshold, or the position distance exceeds the second distance threshold, it is determined that the corresponding second duty object is separated from the first duty object, and the separated second duty object can be displayed independently. If the position distance between the second duty object and the first duty object does not exceed the second distance threshold, and the real-time moving speed does not exceed the first speed threshold, it is determined that the second duty object is not separated from the first duty object, and it can still be displayed in a fusion with the first duty object.
[0140] By splitting and displaying only the second on-duty object separated from the first on-duty object, while maintaining the simplicity of the integrated display of multiple on-duty objects, the separation status of each on-duty object can also be presented on the on-duty object position distribution map, further improving the richness of information presentation on the on-duty object position distribution map.
[0141] In one embodiment, when each second duty object is displayed independently, a second positioning source is displayed for each independently displayed second duty object on the duty object position distribution map.
[0142] Alternatively, if Figure 3B As shown, the icon of the second duty object can be displayed at a position matching the second duty object on the duty object position distribution map, and each second positioning source worn by the second duty object can be superimposed and displayed on the icon.
[0143] In one embodiment, when the positions of all second duty objects are independently displayed, the display of the position of the first duty object is cancelled.
[0144] When all the second duty objects are separated from the first duty objects, each second duty object can be displayed independently on the duty object location distribution map, and the display of the first duty object can be canceled. If there are still second duty objects that have not been separated from the first duty object, while each separated second duty object is displayed independently, the unseparated first duty object and the second duty object are still displayed in a fusion on the duty object location distribution map. Specifically, the icon of the first duty object can be selected as the icon for fusion display, and the number of unseparated second duty objects can be displayed superimposed on the icon. For example Figure 3A If there are N second duty objects that are bound to the first duty object, and M second duty objects are separated from the first duty object, the displayed number may be changed to "MN".
[0145] In one embodiment, before step 210, the method further includes: obtaining the number of non-primary on-duty objects that have a duty binding relationship with the primary on-duty object; obtaining a display icon that matches the object attributes and object quantity of the primary on-duty object, the display icon reflecting the object attributes and object quantity of the on-duty object. Step 210 includes: displaying the display icon at a position that matches the unique display position on the on-duty object position distribution map.
[0146] In this embodiment, the electronic device pre-sets the association between each fused display icon and the object attribute and the object quantity, and the display icons corresponding to different object attributes and object quantities may be different. Figure 1A , Figure 1B As shown, the duty object is a duty object (110) of a vehicle, and the number of non-primary duty objects bound to it may be multiple, such as Figure 1A The non-primary duty objects shown are the above-mentioned duty objects (120-1~120-N), which have N non-primary duty objects. The corresponding display icon is a sedan-style police car icon, and the icon is also superimposed with a feature indicating the number of non-primary duty objects, such as Figure 3A For example, if the main duty object is a vehicle such as a motorcycle, and the number of non-main duty objects bound to it is 1, then the following can be displayed: Figure 3C Shown is a display icon of a motorcycle carrying a traffic police officer.
[0147] Furthermore, the non-primary duty object indicates that it has a duty binding relationship with the primary duty object, and in addition to the primary duty object, it also meets the number of duty objects that meet the requirements of fusion display. For example, if the primary duty object is the first duty object, there are 4 second duty objects that have a duty binding relationship with it. When all of the 4 duty objects meet the requirements of fusion display with the first duty object, the number of objects is 4. When at a certain moment X, there is a second duty object that triggers the conditions for split display, then the number of objects is 3. At this moment X, the display icon of fusion display is replaced with a display icon that reflects the number of objects as 3.
[0148] In one embodiment, Figure 4 As shown, another method for displaying the position of an on-duty object is provided, the method comprising:
[0149] Step 402: Acquire a first object attribute and a first real-time location information set of a first duty object, wherein the first real-time location information set includes at least one first location data obtained from at least one first positioning source associated with the first duty object at a current moment.
[0150] Step 404: Acquire second object attributes and second real-time location information sets of multiple second duty objects, where the second real-time location information set includes at least one second location data obtained from at least one second positioning source associated with the multiple second duty objects at the current moment.
[0151] Step 406: When a first duty object has a duty binding relationship with a plurality of second duty objects, a main duty object is determined based on the first object attribute and the second object attribute.
[0152] Specifically, the first object attribute is a means of transportation, the second object attribute is an on-duty personnel, the number of second on-duty objects includes multiple, the determined main on-duty object is the first on-duty object, and except for the determined main on-duty object, other on-duty objects that have a duty binding relationship with the main on-duty object are all regarded as non-main on-duty objects.
[0153] Step 408, obtaining the duty status of the first duty object. When the duty status is in the driving state, execute step 414; when the duty status is in the engine-off stop state, execute step 426; when the duty status is in the engine-on parking state, execute step 410.
[0154] The duty status includes the above-mentioned driving status, flameout stop status and non-blank parking status. The electronic device can receive the duty object reported by the first duty object in real time, or determine its current duty status according to the status information of the first duty object.
[0155] Step 410, counting the second duration of the vehicle being in the engine-on parking state.
[0156] Step 412 determines whether the second duration exceeds a second duration threshold. If yes, execute step 426; otherwise, execute step 414.
[0157] Step 414: Determine the position distance between the first on-duty object and the second on-duty object based on the first real-time position information set and the second real-time position information set.
[0158] Optionally, the first location data with the highest priority can be selected from the first real-time location information set, and the second location data with the highest priority can be selected from the second real-time location information set, and the distance difference represented by the two selected location data can be used as the location distance between the two on-duty objects.
[0159] Step 416, determine whether the position distance exceeds the first distance threshold. If yes, execute step 418, otherwise, execute step 422.
[0160] Step 418: Count the first duration of time that the position interval exceeds the first distance threshold.
[0161] Step 420 , determining whether the first duration exceeds a first duration threshold, if so, executing step 426 , otherwise, executing step 422 .
[0162] Step 422, determining a unique real-time location of the primary duty object based on the first real-time location information set and the second real-time location information set.
[0163] Optionally, the unique real-time location may be calculated in any of the above embodiments, which will not be described in detail. For example, the first location data with the highest corresponding priority in the first real-time location information set is selected as the unique real-time location.
[0164] Step 424, using the unique real-time position as the position of the first duty object and the unique display position of the second duty object, the first duty object and the second duty object are displayed in a fusion manner on the duty object position distribution map.
[0165] The determined unique real-time position is used as the position (i.e., the unique display position) at which the first duty object and the second duty object are fused and displayed on the distribution map. Specifically, before the fusion display is performed, the number of non-primary duty objects that have a duty binding relationship with the primary duty object can be obtained; a display icon that matches the object attributes and object quantity of the primary duty object is obtained, and the display icon reflects the object attributes and object quantity of the duty object.
[0166] When performing fusion display, the display icon is displayed at the position matching the unique display position on the duty object position distribution map. Figure 3A or Figure 3B Style shown.
[0167] Step 426: The position of the first on-duty object and the position of the second on-duty object are displayed separately on the on-duty object position distribution map.
[0168] In one embodiment, the real-time moving speed of each second duty object and the position distance between each second duty object and the first duty object are detected based on the position of the second duty object; the real-time moving speed is compared with the first speed threshold, and the position distance is compared with the second distance threshold; the position of the second duty object whose real-time moving speed exceeds the first speed threshold is independently displayed; the position of the second duty object whose position distance exceeds the second distance threshold is independently displayed; the position of the second duty object whose position distance does not exceed the second distance threshold and whose real-time moving speed does not exceed the first speed threshold is fused and displayed with the position of the first duty object. When the positions of all second duty objects are displayed independently, the display of the position of the first duty object is cancelled.
[0169] Specifically, the first positioning source of each first on-duty object and the second positioning source of the second on-duty object are displayed on the on-duty object position distribution map. Figure 3B The style shown is displayed on the distribution map, which indicates that the positioning sources bound to the second duty object include the body camera and the walkie-talkie. For the displayed position, the corresponding second real-time location information can also be concentrated, and the second location data with the highest priority can be used as the display position on the distribution map.
[0170] After step 426 or step 424, the process may return to step 402 and step 404, thereby performing a loop and updating the position of each on-duty object on the distribution map in real time.
[0171] In one embodiment, the displayed display icon is further associated with the duty status of the duty object, for example, the duty status can be reflected by the color of the display icon. When the duty object is in the ignition off state, the display icon can be displayed in gray, thereby indicating that the duty object is in the ignition off state; when it is in the parking state or driving state, it is restored to color display. By using color to reflect the driving state of the duty object, the presentation information of the form object distribution can be further improved.
[0172] The above-mentioned method for displaying the position of on-duty objects determines the main on-duty object from multiple on-duty objects with on-duty binding relationships, and displays them in an integrated manner when the multiple on-duty objects have position consistency. For the case where there is no position consistency, they are split and displayed, so that the management personnel can obtain the detailed information of each on-duty object through the display icons of each on-duty object presented on the position distribution map. While ensuring the simplicity of the position display, the richness of the presented location information and user experience can also be improved.
[0173] In one embodiment, Figure 5 As shown, a device for displaying the position of an on-duty object is provided, the device comprising:
[0174] The position data acquisition module 502 is used to acquire a first object attribute and a first real-time position information set of a first duty object; and acquire a second object attribute and a second real-time position information set of a second duty object.
[0175] The main duty object determination module 504 is used to determine the main duty object based on the first object attribute and the second object attribute when there is a duty binding relationship between the first duty object and the second duty object.
[0176] A unique location determination module 506, configured to determine a unique real-time location of a primary duty object based on the first real-time location information set and the second real-time location information set;
[0177] The object display module 508 is used to use the unique real-time position as the position of the first duty object and the unique display position of the second duty object, and to display the first duty object and the second duty object in a fusion manner on the duty object position distribution map.
[0178] In one embodiment, the main duty object determination module 504 is further configured to use the first duty object as the main duty object when the first object attribute is a vehicle and the second object attribute is a duty person.
[0179] In one embodiment, the unique location determination module 506 is further configured to determine a location interval between the first on-duty object and the second on-duty object based on the first real-time location information set and the second real-time location information set.
[0180] In one embodiment, the unique location determination module 506 is further used to determine the unique real-time location of the main duty object based on the first real-time location information set and the second real-time location information set when the location interval does not exceed the first distance threshold.
[0181] In one embodiment, Figure 6 As shown, the device also includes:
[0182] The duration statistics module 510 is used to count a first continuous duration of the position interval exceeding the first distance threshold when the position interval exceeds the first distance threshold.
[0183] In one embodiment, the unique location determination module 506 is further configured to determine the unique real-time location of the main duty object based on the first real-time location information set and the second real-time location information set when the first duration does not exceed a first duration threshold.
[0184] In one embodiment, the object display module 508 is further configured to split and display the position of the first on-duty object and the position of the second on-duty object on the on-duty object position distribution map when the first duration exceeds a first duration threshold.
[0185] In one embodiment, the object display module 508 is also used to display the first positioning source of each first on-duty object and the second positioning source of the second on-duty object on the on-duty object position distribution map, the first position data is the data generated by the first positioning source, and the second position data is the data generated by the second positioning source.
[0186] In one embodiment, the location data acquisition module 502 is further used to acquire the duty status of the first duty object;
[0187] The unique location determination module 506 is also used to determine the unique real-time location of the main duty object based on the first real-time location information set and the second real-time location information set when the duty state is in the driving state;
[0188] The object display module 508 is also used to split and display the position of the first on-duty object and the position of the second on-duty object on the on-duty object position distribution map when the on-duty state is in the off-duty state;
[0189] The duration statistics module 510 is also used for counting the second duration of being in the non-turned-off parking state when the duty state is in the non-turned-off parking state;
[0190] The object display module 508 is further configured to split and display the position of the first on-duty object and the position of the second on-duty object on the on-duty object position distribution map when the second duration exceeds a second duration threshold.
[0191] In one embodiment, the unique location determination module 506 is further used to select the location data with the highest priority from at least one location data of the main duty object as the unique real-time location;
[0192] In one embodiment, the object display module 508 is also used to obtain the number of non-main on-duty objects that have a duty binding relationship with the main on-duty object; obtain a display icon that matches the object attributes and object quantity of the main on-duty object, and the display icon reflects the object attributes and object quantity of the main on-duty object; and display the display icon at a position that matches the unique display position on the on-duty object position distribution map.
[0193] In one embodiment, the object display module 508 is also used to detect the real-time moving speed of each second on-duty object and the position distance between each second on-duty object and the first on-duty object based on the position of the second on-duty object; compare the real-time moving speed with the first speed threshold, and compare the position distance with the second distance threshold; independently display the position of the second on-duty object whose real-time moving speed exceeds the first speed threshold; independently display the position of the second on-duty object whose position distance exceeds the second distance threshold; merge the position of the second on-duty object whose position distance does not exceed the first speed second distance threshold and whose real-time moving speed does not exceed the first speed threshold with the position of the first on-duty object for display.
[0194] In one embodiment, the object display module 508 is further configured to display a second positioning source for each independently displayed second duty object on the duty object position distribution map.
[0195] In one embodiment, the object display module 508 is further configured to cancel the display of the position of the first duty object when the positions of all the second duty objects are independently displayed.
[0196] In one embodiment, a computer-readable storage medium is provided, on which executable instructions are stored. When the instructions are executed by a processor, the processor executes the steps in the above-mentioned method embodiments.
[0197] In one embodiment, an electronic device is also provided, including one or more processors; a memory, in which one or more programs are stored, wherein when the one or more programs are executed by one or more processors, the one or more processors execute the steps in the above-mentioned method embodiments.
[0198] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0199] In addition, those skilled in the art will understand that although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. The information disclosed in this background technology section is only intended to deepen the understanding of the overall background technology of the present application, and should not be regarded as an admission or in any form to imply that the information constitutes prior art already known to those skilled in the art.
Claims
1. A method for displaying the position of an on-duty object, characterized in that: The method comprises: Acquire a first object attribute and a first real-time location information set of a first duty object, wherein the first real-time location information set includes at least one first location data obtained from at least one first positioning source associated with the first duty object at a current moment; Acquire second object attributes and second real-time location information sets of multiple second duty objects, wherein the second real-time location information set includes at least one second location data obtained from at least one second positioning source associated with the multiple second duty objects at a current moment; When the first on-duty object and the plurality of second on-duty objects have an on-duty binding relationship, a primary on-duty object is determined based on the first object attribute and the second object attribute, the primary on-duty object being one of the first on-duty object and the plurality of second on-duty objects, the first object attribute being a means of transport, and the second object attribute being an on-duty person; Acquire the duty status of the first duty object, and when the duty status is in a driving state, determine the unique real-time location of the main duty object based on the first real-time location information set and the second real-time location information set; Using the unique real-time position as the unique display position of the first on-duty object and the plurality of second on-duty objects, the first on-duty object and the plurality of second on-duty objects are integrated and displayed on an on-duty object position distribution map; When the on-duty state is in the flameout stop state, the position of the first on-duty object and the position of the second on-duty object are split and displayed on the on-duty object position distribution map; When the on-duty status is in an engine-on-parking state, a second duration of being in the engine-on-parking state is counted, and when the second duration exceeds a second duration threshold, the position of the first on-duty object and the position of the second on-duty object are split and displayed on the on-duty object position distribution map.
2. The method according to claim 1, characterized in that Before splitting and displaying the position of the first on-duty object and the position of the second on-duty object on the on-duty object position distribution map, the method further includes: Detecting the real-time moving speed of each second duty object and the position distance between each second duty object and the first duty object based on the position of the second duty object; Comparing the real-time moving speed with a first speed threshold, and comparing the position interval with a second distance threshold; The step of splitting and displaying the position of the first on-duty object and the position of the second on-duty object on the on-duty object position distribution map includes: Independently displaying the position of a second on-duty object whose real-time moving speed exceeds the first speed threshold; Independently displaying the positions of the second on-duty objects whose position interval exceeds the second distance threshold; The position of a second on-duty object whose position interval does not exceed the second distance threshold and whose real-time moving speed does not exceed the first speed threshold is fused and displayed with the position of the first on-duty object.
3. The method according to claim 2, characterized in that The step of splitting and displaying the position of the first on-duty object and the position of the second on-duty object on the on-duty object position distribution map includes: Displaying a second positioning source for each independently displayed second on-duty object on the on-duty object position distribution map; When the positions of all the second duty objects are displayed independently, the display of the position of the first duty object is cancelled.
4. The method according to claim 1, characterized in that: Before determining the unique real-time location of the main duty object based on the first real-time location information set and the second real-time location information set, the method further includes: When the duty state is in the driving state, determining the position distance between the first duty object and each of the second duty objects based on the first real-time position information set and the second real-time position information set; When each position distance does not exceed the first distance threshold, the unique real-time position of the main duty object is determined based on the first real-time position information set and the multiple second real-time position information sets.
5. The method according to claim 4, characterized in that When at least one of the position intervals exceeds a first distance threshold, counting a first duration of time during which the position interval exceeds the first distance threshold; When the first duration does not exceed a first duration threshold, continuing to determine the unique real-time location of the main duty object based on the first real-time location information set and the second real-time location information set; When the first duration exceeds a first duration threshold, the position of the first on-duty object and the position of the second on-duty object are split and displayed on the on-duty object position distribution map.
6. The method according to any one of claims 1 to 5, characterized in that The determining the main duty object based on the first object attribute and the second object attribute includes: taking the first duty object as the main duty object; Determining the unique real-time location of the main duty object based on the first real-time location information set and the second real-time location information set includes: selecting the location data with the highest priority as the unique real-time location from at least one location data of the main duty object; Before the first on-duty object and the second on-duty object are displayed in a fused manner on the on-duty object position distribution map, the method further includes: Obtain the number of non-primary on-duty objects that have a duty binding relationship with the primary on-duty object; Acquire a display icon that matches the object attributes of the main duty object and the number of objects, wherein the display icon reflects the object attributes of the main duty object and the number of objects; The integrated display of the first on-duty object and the second on-duty object on the on-duty object position distribution map includes: displaying the display icon at a position matching the unique display position on the on-duty object position distribution map.
7. A device for displaying the position of an on-duty object, characterized in that: The device comprises: A position data acquisition module, used to acquire a first object attribute and a first real-time position information set of a first on-duty object, wherein the first real-time position information set includes at least one first position data obtained from at least one first positioning source associated with the first on-duty object at the current moment; to acquire second object attributes and a second real-time position information set of a plurality of second on-duty objects, wherein the second real-time position information set includes at least one second position data obtained from at least one second positioning source associated with the plurality of second on-duty objects at the current moment, and is also used to acquire the on-duty status of the first on-duty object; A main duty object determination module, used for determining a main duty object based on the first object attribute and the second object attribute when there is a duty binding relationship between the first duty object and the plurality of second duty objects, the main duty object being one of the first duty object and the plurality of second duty objects, the first object attribute being a means of transport, and the second object attribute being an on-duty person; A unique location determination module, used for determining the unique real-time location of the main duty object based on the first real-time location information set and the second real-time location information set when the duty state is in a driving state; An object display module, used for, when the duty state is in a driving state, using the unique real-time position as the unique display position of the first duty object and the plurality of second duty objects, and displaying the first duty object and the plurality of second duty objects in an integrated manner on a duty object position distribution map; A duration statistics module, used for counting a second continuous duration of the on-duty state when the on-duty state is in the on-duty state; The object display module is also used to split and display the position of the first on-duty object and the position of the second on-duty object on the on-duty object position distribution map when the on-duty status is in the engine-off stop state; and split and display the position of the first on-duty object and the position of the second on-duty object on the on-duty object position distribution map when the on-duty status is in the engine-on-parking state and the second duration exceeds the second duration threshold.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores executable instructions, and when the executable instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 6.
9. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more programs, which, when executed by the one or more processors, causes the one or more processors to perform the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Multi-data-source personnel real-time position display method and system
CN115982301A
Method and device for dynamically and intelligently sequencing priorities of police positioning equipment
CN116244485A
Traffic guidance method, device and equipment
CN112085953A
human-vehicle trajectory analysis method and related products
CN112860821A