CN112182124A - Motion trajectory drawing method and device, computer equipment and storage medium - Google Patents

Motion trajectory drawing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112182124A
CN112182124A CN202010912193.3A CN202010912193A CN112182124A CN 112182124 A CN112182124 A CN 112182124A CN 202010912193 A CN202010912193 A CN 202010912193A CN 112182124 A CN112182124 A CN 112182124A
Authority
CN
China
Prior art keywords
preset
geographic position
geographic
map
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010912193.3A
Other languages
Chinese (zh)
Inventor
胡军
周奕
周雪
黎清顾
曹林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010912193.3A priority Critical patent/CN112182124A/en
Publication of CN112182124A publication Critical patent/CN112182124A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24564Applying rules; Deductive queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • G06V10/751Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Multimedia (AREA)
  • Remote Sensing (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Navigation (AREA)

Abstract

The invention provides a motion trail drawing method, a motion trail drawing device, computer equipment and a storage medium, wherein the method comprises the steps of detecting whether a geographical position meets a preset rule or not; when the geographic position accords with a preset rule, detecting whether the geographic position is matched with a preset geographic position in a preset task; when the geographic position is matched with the preset geographic position, marking the geographic position as a first position point on the map; and when the geographic position does not match the preset geographic position, marking the geographic position as a second position point on the map. Whether the geographic position accords with a preset rule or not is detected firstly, each geographic position is screened, the screened geographic position is compared with the preset geographic position of a preset task, the matched and unmatched position of the preset geographic position of the preset task is detected, different position points are marked on a map respectively, a user can conveniently distinguish whether personnel complete the task or not on the map, and the requirement of safety monitoring is met.

Description

Motion trajectory drawing method and device, computer equipment and storage medium
Technical Field
The invention relates to the technical field of track positioning, in particular to a motion track drawing method and device, computer equipment and a storage medium.
Background
With the development of science and technology, GPS (Global Positioning System) Positioning and beidou Positioning technologies are beginning to be applied to various types of activities outside, such as directional cross-country activities, staff field monitoring, and the like. In most of the track drawing modes in the prior art, data points are reported by using a GPS and are directly drawn in a wired mode. However, the trajectory drawn in the above manner can only be simply marked on the map, but cannot be combined with labeling based on task requirements, and the trajectory is drawn more simply, and it is not possible to confirm whether the person is performing the task safely, and it is not possible to meet the requirement of safety monitoring.
Disclosure of Invention
In view of the above, it is necessary to provide a motion trajectory drawing method, apparatus, computer device and storage medium for solving the above technical problems.
A motion trail drawing method comprises the following steps:
acquiring the geographic position of a person;
detecting whether the geographic position meets a preset rule or not;
when the geographic positions accord with preset rules, determining each geographic position which accords with the preset rules;
detecting whether the determined geographic position is matched with a preset geographic position in a preset task;
when the geographic position is matched with a preset geographic position in the preset task, marking the geographic position as a first position point on a map;
when the geographic position is not matched with a preset geographic position in the preset task, marking the geographic position as a second position point on a map;
and the first position point and the second position point are marked on the map in different modes.
In one embodiment, the method further comprises the following steps:
and when the geographic position does not accord with the preset rule, marking the geographic position which does not accord with the preset rule as a third position point on the map.
In one embodiment, the step of obtaining the geographic location of the person comprises:
and acquiring the geographic position of the personnel at every second preset time interval.
In one embodiment, the step of detecting whether the geographic location meets a preset rule includes:
acquiring an initial geographic position;
detecting whether the distance between each geographic position and the initial geographic position is smaller than a preset range or not, and detecting whether the acquisition time of each geographic position is within first preset time or not;
when the geographic positions meet preset rules, the step of determining each geographic position meeting the preset rules comprises the following steps:
and when the distance between each geographic position and the initial geographic position is smaller than a preset range and the acquisition time of the geographic position is within the first preset time, determining each geographic position conforming to the preset rule.
In one embodiment, the step of detecting whether the geographic location meets a preset rule includes:
obtaining the distance between the geographic positions;
and detecting whether the distance between the two geographic positions with the largest distance is smaller than a preset range or not, and detecting whether the acquisition time of the geographic positions is within a first preset time or not.
In one embodiment, the method further comprises the following steps:
detecting whether a preset geographic position which does not correspond to the first position point exists or not;
and when the preset geographic position which does not correspond to the first position point exists, marking the preset geographic position which does not correspond to the first position point as a fourth position point on a map.
In one embodiment, the step of labeling the geographic location as a first location point on a map when the geographic location matches a preset geographic location in the preset task comprises:
acquiring the acquisition time of each geographic position;
calculating an acquisition completion time based on the acquisition time of each of the geographic positions;
and when the geographic position is matched with a preset geographic position in the preset task, marking the geographic position as a first position point on a map, and recording the completion time.
A motion trajectory drawing device comprising:
the geographic position acquisition module is used for acquiring the geographic position of the personnel;
the preset rule detection module is used for detecting whether the geographic position accords with a preset rule or not;
the geographic position determining module is used for determining each geographic position which accords with a preset rule when the geographic position accords with the preset rule;
the geographic position matching detection module is used for detecting whether the determined geographic position is matched with a preset geographic position in a preset task;
the first position point marking module is used for marking the geographical position as a first position point on a map when the geographical position is matched with a preset geographical position in the preset task;
the second position point marking module is used for marking the geographic position as a second position point on a map when the geographic position is not matched with a preset geographic position in the preset task;
and the first position point and the second position point are marked on the map in different modes.
A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program implements the steps of:
acquiring the geographic position of a person;
detecting whether the geographic position meets a preset rule or not;
when the geographic positions accord with preset rules, determining each geographic position which accords with the preset rules;
detecting whether the determined geographic position is matched with a preset geographic position in a preset task;
when the geographic position is matched with a preset geographic position in the preset task, marking the geographic position as a first position point on a map;
when the geographic position is not matched with a preset geographic position in the preset task, marking the geographic position as a second position point on a map;
and the first position point and the second position point are marked on the map in different modes.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring the geographic position of a person;
detecting whether the geographic position meets a preset rule or not;
when the geographic positions accord with preset rules, determining each geographic position which accords with the preset rules;
detecting whether the determined geographic position is matched with a preset geographic position in a preset task;
when the geographic position is matched with a preset geographic position in the preset task, marking the geographic position as a first position point on a map;
when the geographic position is not matched with a preset geographic position in the preset task, marking the geographic position as a second position point on a map;
and the first position point and the second position point are marked on the map in different modes.
According to the movement track drawing method, the movement track drawing device, the computer equipment and the storage medium, whether the geographical position accords with the preset rule or not is detected, each geographical position is screened, the screened geographical position is compared with the preset geographical position of the preset task, the position matched with the preset geographical position of the preset task and the position unmatched with the preset geographical position of the preset task are detected, different position points are marked on the map respectively, whether the position of a user, which can conveniently distinguish personnel on the map, accords with the preset rule or not is judged, whether the personnel complete the task or not is judged, the track is drawn more flexibly, and the requirement of safety monitoring is met.
Drawings
Fig. 1 is a schematic view of an application scenario of a motion trajectory drawing method in an embodiment;
FIG. 2 is a flow chart illustrating a method for drawing a motion trajectory according to an embodiment;
fig. 3 is a block diagram showing the configuration of a motion trajectory plotting means in one embodiment;
FIG. 4 is a diagram illustrating an internal structure of a computer device according to an embodiment;
fig. 5 is a schematic diagram of an implementation process of the motion trajectory drawing method in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Example one
The motion trail drawing method provided by the application can be applied to the application environment shown in fig. 1. Wherein the computer 102 communicates with the server 104 over a network. The terminal 102 may be, but not limited to, various personal computers, servers, laptops, smartphones, tablets and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers. The terminal 102 is configured with a GPS or Beidou positioning module, the terminal 102 sends position information to the server 104 and reports the position of a user, and the server 104 acquires the geographical position of a person; detecting whether the geographic position meets a preset rule or not; when the geographic positions accord with preset rules, determining each geographic position which accords with the preset rules; detecting whether the determined geographic position is matched with a preset geographic position in a preset task; when the geographic position is matched with a preset geographic position in the preset task, marking the geographic position as a first position point on a map; and when the geographic position is not matched with a preset geographic position in the preset task, marking the geographic position as a second position point on a map.
Example two
In this embodiment, as shown in fig. 2, a method for drawing a motion trajectory is provided, which includes:
step 210, the geographic location of the person is obtained.
In particular, the person is a person who is located, e.g. a person who is participating in directing off-road, e.g. a person of a business, e.g. a student of a school.
In this step, the server obtains the geographical position reported by the terminal, and the terminal is carried by the person, so as to obtain the geographical position of the person. The geographic position can also be referred to as geographic position information, and the geographic position is obtained through a GPS module or a Beidou module on the terminal.
In addition, in this embodiment, the obtained geographic location of the person is multiple, for example, multiple geographic locations of the person are obtained continuously.
Step 220, detecting whether the geographic position meets a preset rule.
Specifically, the preset rule is a rule that the positioned person satisfies to complete the preset task. For example, the preset is a moving position rule and a time rule that are satisfied by the positioned person to complete the preset task. In this step, whether the geographic positions of the personnel meet the preset rules is detected to detect whether the user is in a state of executing the preset task when the user is in the geographic positions, and whether the geographic positions meet the conditions for detecting the execution of the task is detected. Therefore, scattered points of the preset geographic position information, which are not in execution of the preset task, but have the geographic positions can be eliminated, and the detection accuracy of the geographic position is improved.
Step 230, when the geographic positions meet a preset rule, determining each geographic position meeting the preset rule.
Specifically, since there are a plurality of detected geographic locations, after detecting whether the geographic location meets the preset rule, the geographic location meeting the preset rule needs to be determined from the geographic locations, so as to select the geographic location meeting the preset rule.
Step 240, detecting whether the determined geographic location matches a preset geographic location in a preset task.
Specifically, the preset task is a task that the person needs to execute and complete, and the preset task records a preset geographic position, or the preset task carries a preset geographic position, and the preset geographic position is a geographic position where the preset task is executed. It should be understood that the predetermined task is input by the user for detecting whether the comparison personnel performs the predetermined task at the predetermined geographic location.
In this step, it is detected whether the geographical position determined in the previous step matches a preset geographical position in a preset task, and it is further detected whether the person is at the preset geographical position of the preset task. It should be understood that, for detecting whether the geographic location matches the preset geographic location, it may be detected whether the geographic location is consistent with the preset geographic location, and when the geographic location is consistent with the preset geographic location, the geographic location matches the preset geographic location; or detecting whether the distance deviation between the geographic position and the preset geographic position is smaller than the preset distance, and matching the geographic position with the preset geographic position when the distance deviation between the detected geographic position and the preset geographic position is smaller than the preset distance. In this embodiment, whether each geographic position of the person matches with a preset geographic position in a preset task is detected, so as to distinguish which of the geographic positions of the person matches with the preset geographic position and which does not match with the preset geographic position.
And step 250, marking the geographic position as a first position point on a map when the geographic position is matched with a preset geographic position in the preset task.
In this embodiment, when the geographic position matches a preset geographic position in the preset task, the geographic position matching the preset geographic position is drawn as a first position point on a map, so as to form a first track on the map.
In this step, the geographical position matched with the preset geographical position in the preset task is marked as a first position point on a map to form a first track. In one embodiment, first location points in the map are connected to form a first track. In this step, when there are many first location points in the map and the frequency of obtaining the geographical location is high, the first location points are distributed more densely, and a track can be formed, or the first location points are connected by using a connection line to form a track.
Specifically, when the geographic position is matched with a preset geographic position in the preset task, the geographic position is shown to meet a preset rule, and is also matched with the preset geographic position, which means that the geographic position is the geographic position of a person when the person executes the preset task, and the geographic position is marked as a first position point on a map to form a first track, so that when the user watches the map, the user can quickly and clearly know the movement track of the person when the person executes the preset task.
Step 260, when the geographic position is not matched with a preset geographic position in the preset task, marking the geographic position as a second position point on the map, wherein the marking modes of the first position point and the second position point on the map are different.
In this embodiment, when the geographic position does not match the preset geographic position in the preset task, the geographic position that does not match the preset geographic position is drawn as a second position point on the map, so as to form a second track on the map.
In this step, the geographical position that is not matched with the preset geographical position in the preset task is marked as a first position point on a map to form a first track. In one embodiment, the second location points in the map are connected to form a second track.
The first position point and the second position point may be marked on the map in different ways, such as different patterns and shapes of marks, or different colors of marks. For example, the colors of the labels on the map of the first position point and the second position point are different, for example, the shapes of the labels on the map of the first position point and the second position point are different.
Specifically, when the geographic location does not match the preset geographic location in the preset task, it means that the geographic location is not the geographic location of the person performing the preset task, and therefore, when the geographic location that does not match the preset geographic location is marked on the map, it needs to be distinguished from the first location point, and therefore, the geographic location that does not match the preset geographic location is marked as the second location point on the map to form the second track. When the user watches the map, the user can effectively distinguish which people are the movement tracks of the people when the preset task is executed and which people are the movement tracks of the people when the preset task is not executed.
In the above embodiment, whether the geographical position accords with the preset rule is detected at first, each geographical position is screened, the screened geographical position is compared with the preset geographical position of the preset task, the matched and unmatched position with the preset geographical position of the preset task is detected, and different position points are marked on the map respectively, so that a user can conveniently distinguish the position of a person on the map and whether the position accords with the preset rule or not, and the person completes the task or not, so that the track is drawn more flexibly, and the requirement of safety monitoring is met.
In one embodiment, the motion trajectory drawing method further includes: and when the geographic position does not accord with the preset rule, marking the geographic position which does not accord with the preset rule as a third position point on the map.
In this embodiment, when the geographic position does not meet the preset rule, the geographic positions that do not meet the preset rule are drawn as a third location point on the map, so as to form a third track on the map. The labeling mode of the third position point on the map is different from that of the first position point or the second position point. Therefore, the third position point has different labeling modes, so that the user can clearly view the track of the person on the map, which does not accord with the preset rule, and the requirement of safety monitoring is further met.
In one embodiment, the step of obtaining the geographic location of the person comprises: and acquiring the geographic position of the personnel at every second preset time interval.
In this embodiment, the terminal acquires the GPS positioning information or the beidou positioning information every second preset time, acquires the current geographic position, and sends the current geographic position to the server. The server continuously obtains a plurality of geographic positions by acquiring the geographic position of the person at intervals, so that the server can draw a track of the geographic position of the person in a certain period of time.
In one embodiment, the step of detecting whether the geographic location meets a preset rule includes: acquiring an initial geographic position; detecting whether the distance between each geographic position and the initial geographic position is smaller than a preset range or not, and detecting whether the acquisition time of each geographic position is within first preset time or not; when the geographic positions meet preset rules, the step of determining each geographic position meeting the preset rules comprises the following steps: and when the distance between each geographic position and the initial geographic position is smaller than a preset range and the acquisition time of the geographic position is within the first preset time, determining each geographic position conforming to the preset rule.
In this embodiment, when the geographic position of the person is obtained, the current time is obtained, where the current time is a time point at which the current geographic position of the person is obtained, and the current time is the obtaining time. The first preset time is a time node, and may also be a time length, for example, when the first preset time is the time length, the obtaining time is a time difference between the current geographic position and the initial geographic position, so that when the obtaining time is less than the first preset time, it indicates that the obtaining time is within the first preset time, for example, when the first preset time is the time node, the obtaining time is the obtained time node of the current geographic position, the obtaining time is within the first preset time, and it indicates that the obtaining time of the current geographic position is before the node of the first preset time.
In this embodiment, the meeting of the preset rule is that the distance between the geographic position and the initial geographic position is smaller than the preset range, and the acquisition time is within the first preset time, and whether the trajectory of the activity of the person meets the preset rule or not can be determined according to the geographic position and the acquisition time. When the distance between the geographic position and the initial geographic position is smaller than a preset range, and the acquisition time of the geographic position is within the first preset time, it indicates that the motion estimation of the person meets a preset rule, the person does not perform long-distance motion within the first preset time, and indicates that the duration time of the person in a certain area is long, so that the person may perform the task. Therefore, the judgment efficiency and the judgment precision of executing the preset task can be improved.
For example, when a person moves continuously within the preset range of the initial geographic location within a period of time, it indicates that the person may perform a task in an area corresponding to the preset range of the initial geographic location, and if the person moves a long distance within a period of time, the movement track of the person spans multiple areas, and the person is less likely to perform the task. Therefore, whether the track of the personnel meets the preset rule or not is judged by judging the geographic position of the personnel and the acquisition time of the geographic position, and the judgment efficiency and the judgment precision for executing the preset task can be improved.
In order to improve the efficiency of determining whether the geographic location of the person meets the preset rule, in an embodiment, the step of detecting whether the geographic location meets the preset rule includes: obtaining the distance between the geographic positions; and detecting whether the distance between the two geographic positions with the largest distance is smaller than a preset range or not, and detecting whether the acquisition time of the geographic positions is within a first preset time or not. And when the distance between the two geographical positions with the maximum distance is smaller than a preset range or not and the acquisition time of the geographical positions is within the first preset time, determining each geographical position meeting the preset rule.
Specifically, the distance between the geographic positions within the third preset time of the acquisition time is obtained, and if the maximum distance between the geographic positions is smaller than the preset range, it indicates that the maximum movement distance of the person is smaller than the preset range, and indicates that the person continues to move in a certain area, and the duration time in the certain area is longer. In this embodiment, through calculating the distance between each geographical position, obtain a plurality of distances, extract the biggest one from a plurality of distances, and then detect whether this biggest distance is less than the preset scope, can judge fast whether personnel's movement track accords with preset track.
In one embodiment, the motion trajectory drawing method further includes: detecting whether a preset geographic position which does not correspond to the first position point exists or not; and when the preset geographic position which does not correspond to the first position point exists, marking the preset geographic position which does not correspond to the first position point as a fourth position point on a map.
In this embodiment, the preset geographic position corresponding to the first location point that does not correspond is marked as a fourth location point on the map, so as to form a fourth track on the map, where a marking manner of the fourth location point on the map is different from a marking manner of the first location point or the second location point.
Specifically, there may be a plurality of preset tasks, and a part of the preset tasks may be executed or a part of the preset tasks may not be executed. In this embodiment, the preset geographic position is a geographic position where a preset task is executed, and when it is detected that there is no preset geographic position corresponding to the first location point, it indicates that the trajectory of the person does not reach the preset geographic positions that there is no correspondence, which means that the person does not execute the preset task, therefore, the preset geographic positions that there is no correspondence to the first location point are drawn as fourth location points on the map, so that the preset geographic positions of the preset task that is not executed are displayed on the map through the fourth location points, so that the user can clearly know which preset tasks are not executed.
In one embodiment, the step of labeling the geographic location as a first location point on a map when the geographic location matches a preset geographic location in the preset task comprises: acquiring the acquisition time of each geographic position; calculating an acquisition completion time based on the acquisition time of each of the geographic positions; and when the geographic position is matched with a preset geographic position in the preset task, marking the geographic position as a first position point on a map, recording the completion time, and marking the completion time on the map at the position matched with the first position point.
In this embodiment, the time points of the acquisition of each geographic position are acquired to obtain the acquisition time, and the completion time is calculated based on the acquisition time of each geographic position, and is the time when the personnel completes the execution of the preset task. Specifically, how to calculate the obtaining completion time may be implemented by, for example, obtaining the obtaining time of the initial geographic position as a first time, obtaining the obtaining time of the geographic position having a distance from the initial geographic position greater than a preset range as a second time, and subtracting the second time from the first time to obtain a time difference, which is the completion time; for example, the acquisition time of the geographic position which is more than the preset range from the initial geographic position is obtained, and the time is the completion time.
In this embodiment, the completion time is displayed on the map while the first track is marked on the map, so that the user can comprehensively know the situation that the preset task is executed.
EXAMPLE III
In this embodiment, please refer to fig. 5, the implementation method is as follows:
(1) the method comprises the steps of making an industry basic rule and an industry basic error, namely, how much time is needed by a monitored person to complete a task at least, and a geographic error range of activities allowed by the monitored person to complete the task, for example, distribution and installation work needs to be completed by industrial home distribution personnel such as furniture and household appliances, the installation time spent by a user for completing the task needs to be at least 20 minutes, and the activity range is at most 10 meters, and dividing reported points into points meeting the range of 10 meters in 20 minutes and points not meeting the rule through data reported by a GPS.
(2) Inputting the task to be completed by the monitored person, specifically, the time consumption is estimated when someone needs to complete the task somewhere on a certain day, for example, an installer of a certain furniture company needs to complete the installation and distribution task at a certain detailed address today, and the time consumption is estimated to be 30 minutes.
(3) The method begins to utilize GPS hardware to report data to calculate the set of points meeting the requirements, and the calculation mode is as follows: comparing the data reported for the second time with the initial point, if the error of the geographic position is smaller than the error range set before, for example, the movement range of the installer 10m is set before, recording the data reported by the initial point, and continuing to compare the data reported for the next time (the third time) with the initial point until the Nth time is larger than the error range set before, ending the calculation, wherein the 1 to N points meet the requirements of the movement range; and simultaneously calculating the time difference between the Nth time and the initial point, if the time difference meets the preset industry basic rule, if the installation time is at least 20 minutes, performing the next-stage calculation on the set of the time difference and the initial point, and if the time difference is not met, directly drawing points on the map.
The following method can be adopted when calculating whether the reported point of the GPS equipment meets the rule and the error:
and calculating N position points reported by the GPS equipment in the judgment time length according to the frequency of the reported data of the GPS and the time length in the rule needing to be judged. During calculation, after the GPS equipment reports N points, the N points are calculated together, and whether the difference between the maximum value and the minimum value in the N points meets a set rule or not is judged; if the frequency of data reported by the installer GPS is 1 minute, 10 data can be reported in 10 minutes, whether the distance between the two points with the longest distance between the 10 points is less than 10 meters or not is calculated, if the distance is less than 10 meters, the basic requirement is met, and the set of the points can enter the next calculation. Compared with the method, the method needs to add one more parameter of the reporting frequency of the equipment.
(4) In the last step, comparing and calculating the points meeting the rules with the geographical positions of the tasks to be completed in the task list, if the addresses of the tasks to be completed coincide with the stopping positions of the monitored persons, marking the points as task completion points to mark the relevant information of the tasks and the actual consumed time, and if the stopping positions of the monitored persons do not coincide with the addresses in the task list, normally tracing the points or drawing abnormal points according to the actual conditions; for example, the installer stays for more than 20 minutes within a range of 10 meters of a certain address, calculates the local address and the address in the task, and judges whether the local address and the address in the task are overlapped, if so, marks the completion of the task and the related information of the task, and if not, directly draws the data point on a map.
(5) Finally, after the work within one day is finished, unfinished tasks (namely, the unfinished tasks are not overlapped with all points meeting basic requirements) in the work list are also drawn on the map and marked as points which need to finish the tasks but are unfinished; if the working time of the installer in one day has arrived and the address point of the task in the installation task list is not superposed with all the points of the installer staying for 20 minutes within the range of 10m, the point is marked as the point which finishes the task but does not finish the task.
(6) The final effect is: when the map track is displayed in real time, points (with unique colors or shapes) with different labeling modes are displayed, the points have certain significance for a manager to make a decision or a detected person to analyze afterwards so as to improve the efficiency, and tasks which are to be completed but not completed are finally drawn to be used as the judgment of the monitored person; if the action track details of the installer in one day can be checked, the situations that what task is finished at what position, how long time is consumed, the task at what position is not finished and the like can be clearly seen on the track.
Example four
In this embodiment, as shown in fig. 3, a motion trajectory drawing device is provided, which includes:
a geographic position obtaining module 310, configured to obtain a geographic position of a person;
a preset rule detection module 320, configured to detect whether the geographic location meets a preset rule;
a geographic position determining module 330, configured to determine, when the geographic position meets a preset rule, each of the geographic positions meeting the preset rule;
a geographic location matching detection module 340, configured to detect whether the determined geographic location matches a preset geographic location in a preset task;
a first location point labeling module 350, configured to label the geographic location as a first location point on a map when the geographic location matches a preset geographic location in the preset task;
a second location point labeling module 360, configured to label the geographic location as a second location point on a map when the geographic location does not match a preset geographic location in the preset task;
and the first position point and the second position point are marked on the map in different modes.
In one embodiment, the motion trajectory drawing device further includes:
and the third position point marking module is used for marking the geographical position which does not accord with the preset rule as a third position point on the map when the geographical position does not accord with the preset rule.
In one embodiment, the geographic location acquiring module is further configured to acquire the geographic location of the person once every second preset time interval.
In one embodiment, the preset rule detection module includes:
an initial geographic position obtaining unit, configured to obtain an initial geographic position;
a distance and time detection unit, configured to detect whether a distance between each geographic position and the initial geographic position is smaller than a preset range, and detect whether acquisition time of each geographic position is within a first preset time;
the geographic position determining module is further configured to determine, when a distance between each of the geographic positions and the initial geographic position is smaller than a preset range and the acquisition time of the geographic position is within the first preset time, each of the geographic positions that meet the preset rule.
In one embodiment, the preset rule detection module includes:
a distance acquisition unit for acquiring a distance between the geographic positions;
and the distance and time detection unit is used for detecting whether the distance between the two geographic positions with the largest distance is smaller than a preset range or not and detecting whether the acquisition time of the geographic positions is within a first preset time or not.
In one embodiment, the motion trajectory drawing device further includes:
the non-corresponding preset position detection module is used for detecting whether a preset geographic position which does not correspond to the first position exists or not;
and the fourth position point marking module is used for marking the preset geographic position corresponding to the first position point which is not corresponding as a fourth position point on a map when the preset geographic position corresponding to the first position point does not exist.
In one embodiment, the first location point labeling module comprises:
a time acquisition unit for acquiring acquisition time of each of the geographical positions;
a completion time calculation unit configured to calculate an acquisition completion time based on the acquisition time of each of the geographic positions;
and the position marking and time recording unit is used for marking the geographical position as a first position point on a map and recording the completion time when the geographical position is matched with a preset geographical position in the preset task.
For the specific definition of the motion trajectory drawing device, reference may be made to the above definition of the motion trajectory drawing method, which is not described herein again. The units in the motion trail drawing device can be wholly or partially realized by software, hardware and a combination thereof. The units can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the units.
EXAMPLE five
In this embodiment, a computer device is provided. The internal structure thereof may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program, and is deployed with a database for storing user behavior data and user portrayal. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with other computer devices that deploy application software. The computer program is executed by a processor to implement a motion trajectory drawing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program:
acquiring the geographic position of a person;
detecting whether the geographic position meets a preset rule or not;
when the geographic positions accord with preset rules, determining each geographic position which accords with the preset rules;
detecting whether the determined geographic position is matched with a preset geographic position in a preset task;
when the geographic position is matched with a preset geographic position in the preset task, marking the geographic position as a first position point on a map;
when the geographic position is not matched with a preset geographic position in the preset task, marking the geographic position as a second position point on a map;
and the first position point and the second position point are marked on the map in different modes.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and when the geographic position does not accord with the preset rule, marking the geographic position which does not accord with the preset rule as a third position point on the map.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and acquiring the geographic position of the personnel at every second preset time interval.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring an initial geographic position;
detecting whether the distance between each geographic position and the initial geographic position is smaller than a preset range or not, and detecting whether the acquisition time of each geographic position is within first preset time or not;
and when the distance between each geographic position and the initial geographic position is smaller than a preset range and the acquisition time of the geographic position is within the first preset time, determining each geographic position conforming to the preset rule.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
obtaining the distance between the geographic positions;
and detecting whether the distance between the two geographic positions with the largest distance is smaller than a preset range or not, and detecting whether the acquisition time of the geographic positions is within a first preset time or not.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
detecting whether a preset geographic position which does not correspond to the first position point exists or not;
and when the preset geographic position which does not correspond to the first position point exists, marking the preset geographic position which does not correspond to the first position point as a fourth position point on a map.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring the acquisition time of each geographic position;
calculating an acquisition completion time based on the acquisition time of each of the geographic positions;
and when the geographic position is matched with a preset geographic position in the preset task, marking the geographic position as a first position point on a map, and recording the completion time.
EXAMPLE six
In this embodiment, a computer-readable storage medium is provided, on which a computer program is stored, the computer program realizing the following steps when executed by a processor:
acquiring the geographic position of a person;
detecting whether the geographic position meets a preset rule or not;
when the geographic positions accord with preset rules, determining each geographic position which accords with the preset rules;
detecting whether the determined geographic position is matched with a preset geographic position in a preset task;
when the geographic position is matched with a preset geographic position in the preset task, marking the geographic position as a first position point on a map;
when the geographic position is not matched with a preset geographic position in the preset task, marking the geographic position as a second position point on a map;
and the first position point and the second position point are marked on the map in different modes.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and when the geographic position does not accord with the preset rule, marking the geographic position which does not accord with the preset rule as a third position point on the map.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and acquiring the geographic position of the personnel at every second preset time interval.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring an initial geographic position;
detecting whether the distance between each geographic position and the initial geographic position is smaller than a preset range or not, and detecting whether the acquisition time of each geographic position is within first preset time or not;
and when the distance between each geographic position and the initial geographic position is smaller than a preset range and the acquisition time of the geographic position is within the first preset time, determining each geographic position conforming to the preset rule.
In one embodiment, the computer program when executed by the processor further performs the steps of:
obtaining the distance between the geographic positions;
and detecting whether the distance between the two geographic positions with the largest distance is smaller than a preset range or not, and detecting whether the acquisition time of the geographic positions is within a first preset time or not.
In one embodiment, the computer program when executed by the processor further performs the steps of:
detecting whether a preset geographic position which does not correspond to the first position point exists or not;
and when the preset geographic position which does not correspond to the first position point exists, marking the preset geographic position which does not correspond to the first position point as a fourth position point on a map.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring the acquisition time of each geographic position;
calculating an acquisition completion time based on the acquisition time of each of the geographic positions;
and when the geographic position is matched with a preset geographic position in the preset task, marking the geographic position as a first position point on a map, and recording the completion time.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A motion trail drawing method is characterized by comprising the following steps:
acquiring the geographic position of a person;
detecting whether the geographic position meets a preset rule or not;
when the geographic positions accord with preset rules, determining each geographic position which accords with the preset rules;
detecting whether the determined geographic position is matched with a preset geographic position in a preset task;
when the geographic position is matched with a preset geographic position in the preset task, marking the geographic position as a first position point on a map;
when the geographic position is not matched with a preset geographic position in the preset task, marking the geographic position as a second position point on a map;
and the first position point and the second position point are marked on the map in different modes.
2. The method of claim 1, further comprising:
and when the geographic position does not accord with the preset rule, marking the geographic position which does not accord with the preset rule as a third position point on the map.
3. The method of claim 1, wherein the step of obtaining the geographic location of the person comprises:
and acquiring the geographic position of the personnel at every second preset time interval.
4. The method according to claim 3, wherein the step of detecting whether the geographical location meets a preset rule comprises:
acquiring an initial geographic position;
detecting whether the distance between each geographic position and the initial geographic position is smaller than a preset range or not, and detecting whether the acquisition time of each geographic position is within first preset time or not;
when the geographic positions meet preset rules, the step of determining each geographic position meeting the preset rules comprises the following steps:
and when the distance between each geographic position and the initial geographic position is smaller than a preset range and the acquisition time of the geographic position is within the first preset time, determining each geographic position conforming to the preset rule.
5. The method according to claim 3, wherein the step of detecting whether the geographical location meets a preset rule comprises:
obtaining the distance between the geographic positions;
and detecting whether the distance between the two geographic positions with the largest distance is smaller than a preset range or not, and detecting whether the acquisition time of the geographic positions is within a first preset time or not.
6. The method of any one of claims 1-5, further comprising:
detecting whether a preset geographic position which does not correspond to the first position point exists or not;
and when the preset geographic position which does not correspond to the first position point exists, marking the preset geographic position which does not correspond to the first position point as a fourth position point on a map.
7. The method according to any one of claims 1-5, wherein the step of labeling the geographic location on a map as a first location point when the geographic location matches a preset geographic location in the preset task comprises:
acquiring the acquisition time of each geographic position;
calculating an acquisition completion time based on the acquisition time of each of the geographic positions;
and when the geographic position is matched with a preset geographic position in the preset task, marking the geographic position as a first position point on a map, and recording the completion time.
8. A motion trajectory drawing device characterized by comprising:
the geographic position acquisition module is used for acquiring the geographic position of the personnel;
the preset rule detection module is used for detecting whether the geographic position accords with a preset rule or not;
the geographic position determining module is used for determining each geographic position which accords with a preset rule when the geographic position accords with the preset rule;
the geographic position matching detection module is used for detecting whether the determined geographic position is matched with a preset geographic position in a preset task;
the first position point marking module is used for marking the geographical position as a first position point on a map when the geographical position is matched with a preset geographical position in the preset task;
the second position point marking module is used for marking the geographic position as a second position point on a map when the geographic position is not matched with a preset geographic position in the preset task;
and the first position point and the second position point are marked on the map in different modes.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010912193.3A 2020-09-02 2020-09-02 Motion trajectory drawing method and device, computer equipment and storage medium Pending CN112182124A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010912193.3A CN112182124A (en) 2020-09-02 2020-09-02 Motion trajectory drawing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010912193.3A CN112182124A (en) 2020-09-02 2020-09-02 Motion trajectory drawing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112182124A true CN112182124A (en) 2021-01-05

Family

ID=73924680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010912193.3A Pending CN112182124A (en) 2020-09-02 2020-09-02 Motion trajectory drawing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112182124A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120271883A1 (en) * 2011-01-03 2012-10-25 David Montoya Geo-location systems and methods
CN103377205A (en) * 2012-04-18 2013-10-30 腾讯科技(深圳)有限公司 Method and device for executing scheduled tasks
CN105138589A (en) * 2015-07-31 2015-12-09 北京奇虎科技有限公司 Geographical location monitoring method and device
CN108882168A (en) * 2017-05-10 2018-11-23 腾讯科技(深圳)有限公司 Trip track acquisition methods, device and server
CN110633346A (en) * 2019-08-27 2019-12-31 腾讯科技(深圳)有限公司 Movement route recommendation method and device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120271883A1 (en) * 2011-01-03 2012-10-25 David Montoya Geo-location systems and methods
CN103377205A (en) * 2012-04-18 2013-10-30 腾讯科技(深圳)有限公司 Method and device for executing scheduled tasks
CN105138589A (en) * 2015-07-31 2015-12-09 北京奇虎科技有限公司 Geographical location monitoring method and device
CN108882168A (en) * 2017-05-10 2018-11-23 腾讯科技(深圳)有限公司 Trip track acquisition methods, device and server
CN110633346A (en) * 2019-08-27 2019-12-31 腾讯科技(深圳)有限公司 Movement route recommendation method and device and storage medium

Similar Documents

Publication Publication Date Title
Teizer et al. Internet of Things (IoT) for integrating environmental and localization data in Building Information Modeling (BIM)
CN110210604A (en) A kind of terminal device movement pattern method and device
CN111199346B (en) Utility tunnel supervision method, device, computer equipment and storage medium
CN110599301B (en) Vehicle management method, device, computer equipment and storage medium
CN112015647A (en) Configuration item monitoring method and device, computer equipment and storage medium
CN115309940A (en) Intelligent construction data analysis method and system based on construction site law enforcement recorder
CN111325128A (en) Illegal operation detection method and device, computer equipment and storage medium
CN111191800B (en) Equipment model checking method and device, computer equipment and storage medium
CN112700131B (en) AB test method and device based on artificial intelligence, computer equipment and medium
US20140350993A1 (en) Information management device and method
US20210132989A1 (en) Task processing method, equipment, storage medium and device
Sullivan et al. Digital value stream mapping: application of UWB real time location systems
Whittaker et al. A Markov chain model for predicting the reliability of multi-build software
CN111026647A (en) Code coverage rate obtaining method and device, computer equipment and storage medium
CN108921459B (en) Index generation method and device, computer equipment and storage medium
JPWO2019039126A1 (en) Activity recording device, activity recording program, and activity recording method
CN117499439A (en) Inspection data processing system and method based on industrial Internet of things
CN113064916B (en) Monitoring method and device for abnormal card punching behavior, computer equipment and storage medium
CN112182124A (en) Motion trajectory drawing method and device, computer equipment and storage medium
CN110379028B (en) Route recommendation-based card punching method and device, computer equipment and storage medium
CN108777841A (en) Safe step pitch monitoring method, device and server
CN111141981B (en) Line loss point inspection method and device, computer equipment and storage medium
CN112367397A (en) Monitoring and early warning method and system for field work, computer equipment and storage medium
CN115297437B (en) Positioning sign-in method, system, equipment and medium applied to positioning watch
Elia et al. Applications of smart technologies for automatic near miss detection in the industrial safety

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination