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

By detecting and marking whether the geographical location of personnel conforms to preset rules and task location matching, it solves the problem that existing technology cannot meet the security monitoring requirements and achieves flexible and accurate drawing of personnel trajectories.

CN112182124BActive Publication Date: 2024-09-27GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202010912193.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-02
Publication Date
2024-09-27
Estimated Expiration
2040-09-02

AI Technical Summary

Technical Problem

Existing trajectory drawing methods cannot combine task requirements, cannot confirm whether personnel are performing tasks safely, and cannot meet the needs of safety monitoring.

Method used

By obtaining the geographical location of the person, it detects whether it meets the preset rules, determines the location that meets the rules, and matches it with the location in the preset task. Different labeling methods are used to distinguish matching and non-matching location points on the map.

Benefits of technology

It realizes flexible drawing of personnel positions and task completion status, meets the needs of safety monitoring, and improves the flexibility and accuracy of trajectory drawing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112182124B
    Figure CN112182124B
Patent Text Reader

Abstract

The present invention provides a motion trajectory drawing method, device, computer equipment and storage medium, the method comprising detecting whether a geographical location meets preset rules; when the geographical location meets the preset rules, detecting whether the geographical location matches a preset geographical location in a preset task; when the geographical location matches the preset geographical location, marking the geographical location as a first location point on a map; when the geographical location does not match the preset geographical location, marking the geographical location as a second location point on a map. By first detecting whether the geographical location meets the preset rules, screening each geographical location, comparing the screened geographical location with the preset geographical location of the preset task, detecting locations that match and do not match the preset geographical location of the preset task, marking different location points on the map respectively, so that users can easily distinguish whether personnel have completed tasks on the map, meeting the needs of security monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of trajectory positioning technology, and in particular to a motion trajectory drawing method, device, computer equipment and storage medium. Background Art

[0002] With the development of science and technology, GPS (Global Positioning System) positioning and Beidou positioning technology have begun to be applied to various types of outdoor activities, such as orienteering, employee field monitoring, etc. In most cases, the trajectory drawing method in the prior art uses GPS reported data points and directly connects them to draw. However, the trajectory drawn in the above method can only simply mark the trajectory of the person's actions on the map, and cannot be combined with markings based on task requirements. The drawing of the trajectory is relatively single, and it is impossible to confirm whether the person is performing the task safely, and it cannot meet the needs of safety monitoring. Summary of the invention

[0003] Based on this, it is necessary to provide a motion trajectory drawing method, device, computer equipment and storage medium to address the above technical problems.

[0004] A motion trajectory drawing method, comprising:

[0005] Get the geographic location of the person;

[0006] Detecting whether the geographical location meets the preset rules;

[0007] When the geographical locations meet the preset rules, determining each geographical location that meets the preset rules;

[0008] Detecting whether the determined geographical location matches a preset geographical location in a preset task;

[0009] When the geographical location matches the preset geographical location in the preset task, marking the geographical location as a first location point on the map;

[0010] When the geographical location does not match the preset geographical location in the preset task, marking the geographical location as a second location point on the map;

[0011] The first location point and the second location point are marked differently on the map.

[0012] In one embodiment, it also includes:

[0013] When the geographical location does not conform to the preset rule, the geographical location that does not conform to the preset rule is marked on the map as a third location point.

[0014] In one embodiment, the step of obtaining the geographic location of the person includes:

[0015] The geographical location of the person is obtained once at a second preset time interval.

[0016] In one embodiment, the step of detecting whether the geographical location meets a preset rule includes:

[0017] Get the initial geographic location;

[0018] Detecting whether the distance between each of the geographical locations and the initial geographical location is less than a preset range, and detecting whether the acquisition time of each of the geographical locations is within a first preset time;

[0019] When the geographical locations meet the preset rules, the step of determining each geographical location meeting the preset rules comprises:

[0020] When the distance between each of the geographical locations and the initial geographical location is less than a preset range, and the acquisition time of the geographical location is within the first preset time, each of the geographical locations that meets the preset rule is determined.

[0021] In one embodiment, the step of detecting whether the geographical location meets a preset rule includes:

[0022] Obtaining the distance between each of the geographical locations;

[0023] It is detected whether the distance between the two geographical locations with the largest distance is less than a preset range, and it is detected whether the acquisition time of the geographical locations is within a first preset time.

[0024] In one embodiment, it also includes:

[0025] Detecting whether there is a preset geographical location that does not correspond to the first location point;

[0026] When there is a preset geographical location that does not correspond to the first location point, the preset geographical location corresponding to the first location point that does not correspond is marked on the map as a fourth location point.

[0027] In one embodiment, when the geographical location matches a preset geographical location in the preset task, the step of marking the geographical location as a first location point on the map includes:

[0028] Obtaining the acquisition time of each of the geographical locations;

[0029] Calculate the acquisition completion time based on the acquisition time of each of the geographical locations;

[0030] When the geographical location matches the preset geographical location in the preset task, the geographical location is marked as a first location point on the map, and the completion time is recorded.

[0031] A motion trajectory drawing device, comprising:

[0032] The geographic location acquisition module is used to obtain the geographic location of a person;

[0033] A preset rule detection module, used to detect whether the geographical location meets the preset rule;

[0034] A geographic location determination module, configured to determine each of the geographic locations that meet the preset rules when the geographic location meets the preset rules;

[0035] A geographic location matching detection module, used to detect whether the determined geographic location matches a preset geographic location in a preset task;

[0036] A first location point marking module, used for marking the geographical location as a first location point on the map when the geographical location matches the preset geographical location in the preset task;

[0037] A second location point marking module, used for marking the geographical location as a second location point on the map when the geographical location does not match the preset geographical location in the preset task;

[0038] The first location point and the second location point are marked differently on the map.

[0039] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the following steps when executing the computer program:

[0040] Get the geographic location of the person;

[0041] Detecting whether the geographical location meets the preset rules;

[0042] When the geographical locations meet the preset rules, determining each geographical location that meets the preset rules;

[0043] Detecting whether the determined geographical location matches a preset geographical location in a preset task;

[0044] When the geographical location matches the preset geographical location in the preset task, marking the geographical location as a first location point on the map;

[0045] When the geographical location does not match the preset geographical location in the preset task, marking the geographical location as a second location point on the map;

[0046] The first location point and the second location point are marked differently on the map.

[0047] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0048] Get the geographic location of the person;

[0049] Detecting whether the geographical location meets the preset rules;

[0050] When the geographical locations meet the preset rules, determining each geographical location that meets the preset rules;

[0051] Detecting whether the determined geographical location matches a preset geographical location in a preset task;

[0052] When the geographical location matches the preset geographical location in the preset task, marking the geographical location as a first location point on the map;

[0053] When the geographical location does not match the preset geographical location in the preset task, marking the geographical location as a second location point on the map;

[0054] The first location point and the second location point are marked differently on the map.

[0055] The above-mentioned motion trajectory drawing method, device, computer equipment and storage medium first detect whether the geographical location meets the preset rules, screen each geographical location, compare the screened geographical location with the preset geographical location of the preset task, detect the location that matches and does not match the preset geographical location of the preset task, and mark different location points on the map respectively, so that the user can easily distinguish on the map whether the location of the person meets the preset rules and whether the person has completed the task, thereby making the trajectory drawing more flexible and meeting the needs of security monitoring. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 A schematic diagram of an application scenario of a motion trajectory drawing method in an embodiment;

[0057] Figure 2 A schematic diagram of a flow chart of a motion trajectory drawing method in one embodiment;

[0058] Figure 3 It is a structural block diagram of a motion trajectory drawing device in one embodiment;

[0059] Figure 4 is an internal structure diagram of a computer device in one embodiment;

[0060] Figure 5 The figure is a schematic diagram of the implementation process of the motion trajectory drawing method in one embodiment. DETAILED DESCRIPTION

[0061] 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.

[0062] Embodiment 1

[0063] The motion trajectory drawing method provided in this application can be applied to Figure 1 In the application environment shown. Among them, the computer 102 communicates with the server 104 through the network. Among them, the terminal 102 can be but not limited to various personal computers, servers, laptops, smart phones, tablet computers and portable wearable devices, and the server 104 can be implemented with an independent server or a server cluster composed of multiple servers. The terminal 102 is equipped with a GPS or Beidou positioning module, and the terminal 102 sends location information to the server 104 to report the user's location. The server 104 takes the geographical location of the person; detects whether the geographical location meets the preset rules; when the geographical location meets the preset rules, determines each geographical location that meets the preset rules; detects whether the determined geographical location matches the preset geographical location in the preset task; when the geographical location matches the preset geographical location in the preset task, the geographical location is marked on the map as a first location point; when the geographical location does not match the preset geographical location in the preset task, the geographical location is marked on the map as a second location point.

[0064] Embodiment 2

[0065] In this embodiment, Figure 2 As shown, a motion trajectory drawing method is provided, which includes:

[0066] Step 210, obtaining the geographic location of the person.

[0067] Specifically, the person is a person being located, for example, the person is a person participating in orienteering, for example, the person is an employee of a company, for example, the person is a student of a school.

[0068] In this step, the server obtains the geographical location reported by the terminal, which is carried by the person, thereby obtaining the geographical location of the person. The geographical location can also be called geographical location information, which is obtained through the GPS module or Beidou module on the terminal.

[0069] In addition, in this embodiment, multiple geographical locations of the person are obtained, for example, multiple geographical locations of the person are obtained continuously.

[0070] Step 220: Detect whether the geographical location meets the preset rules.

[0071] Specifically, the preset rule is a rule that the located person satisfies in order to complete the preset task. For example, the preset is a mobile position rule and a time rule that the located person satisfies in order to complete the preset task. In this step, by detecting whether the geographical location of the person meets the preset rules, it is detected whether the user is in the state of executing the preset task when in these geographical locations, and whether these geographical locations have the conditions for detecting the execution of the task. In this way, it is possible to exclude scattered points that are not executing the preset task but whose geographical location is in the preset geographical location information, thereby improving the detection accuracy of the geographical location.

[0072] Step 230: When the geographical location meets the preset rule, determine each geographical location that meets the preset rule.

[0073] Specifically, since there are multiple detected geographical locations, after detecting whether the geographical locations meet the preset rules, it is necessary to determine the geographical locations that meet the preset rules from these geographical locations, so as to select the geographical locations that meet the preset rules.

[0074] Step 240: Detect whether the determined geographical location matches a preset geographical location in a preset task.

[0075] Specifically, the preset task is a task that the person needs to perform and complete, and the preset task records a preset geographical location, or in other words, the preset task carries a preset geographical location, and the preset geographical location is the geographical location where the preset task is performed. It should be understood that the preset task is input by the user and is used to detect whether the comparison person has completed the preset task at the preset geographical location.

[0076] In this step, it is detected whether the geographical location determined in the previous step matches the preset geographical location in the preset task, and then it is detected whether the person is in the preset geographical location of the preset task. It should be understood that for detecting whether the geographical location matches the preset geographical location, it can be to detect whether the geographical location is consistent with the preset geographical location. When the geographical location is consistent with the preset geographical location, the geographical location matches the preset geographical location; it can also be to detect whether the distance deviation between the geographical location and the preset geographical location is less than the preset distance. When the distance deviation between the geographical location and the preset geographical location is less than the preset distance, the geographical location matches the preset geographical location. In this embodiment, each geographical location of the person is detected to see whether it matches the preset geographical location in the preset task, so as to distinguish which of these geographical locations of the person match the preset geographical location and which do not match the preset geographical location.

[0077] Step 250: When the geographical location matches the preset geographical location in the preset task, the geographical location is marked on the map as a first location point.

[0078] In this embodiment, when the geographical location matches the preset geographical location in the preset task, the geographical location matching the preset geographical location is drawn on the map as a first location point to form a first track on the map.

[0079] In this step, the geographical location matching the preset geographical location in the preset task is marked as a first location point on the map to form a first track. In one embodiment, the first location points in the map are connected to form the 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, these first location points are densely distributed, and a track can be formed, or these first location points can be connected by connecting lines to form a track.

[0080] Specifically, when the geographic location matches the preset geographic location in the preset task, it indicates that these geographic locations both meet the preset rules and match the preset geographic locations, which means that these geographic locations are the geographic locations of the personnel when performing the preset tasks. They are marked as the first location points on the map to form a first trajectory, so that when the user views the map, he can quickly and clearly know the movement trajectory of the personnel when performing the preset tasks.

[0081] Step 260: When the geographical location does not match the preset geographical location in the preset task, mark the geographical location as a second location point on the map, wherein the first location point and the second location point are marked on the map in different ways.

[0082] In this embodiment, when the geographical location does not match the preset geographical location in the preset task, the geographical location that does not match the preset geographical location is drawn on the map as a second location point to form a second track on the map.

[0083] In this step, the geographical location that does not match the preset geographical location in the preset task is marked as a first location point on the map to form a first track. In one embodiment, the second location points in the map are connected to form a second track.

[0084] The first location point and the second location point may be marked differently on the map in different patterns or shapes, or in different colors. For example, the first location point and the second location point may be marked differently in different colors or in different shapes.

[0085] Specifically, when the geographical location does not match the preset geographical location in the preset task, it means that these geographical locations are not the geographical locations when the personnel perform the preset task. Therefore, when marking these geographical locations that do not match the preset geographical location on the map, they need to be distinguished from the first location point. Therefore, the geographical location that does not match the preset geographical location is marked as a second location point on the map to form a second track. This allows the user to effectively distinguish which are the movement tracks of the personnel when performing the preset task and which are the movement tracks of the personnel when not performing the preset task when viewing the map.

[0086] In the above embodiment, by first detecting whether the geographical location meets the preset rules, each geographical location is screened, and the screened geographical location is compared with the preset geographical location of the preset task, and the location that matches and does not match the preset geographical location of the preset task is detected, and different location points are marked on the map respectively, so that the user can easily distinguish on the map whether the location of the person meets the preset rules and whether the person has completed the task, thereby making the drawing of the trajectory more flexible and meeting the needs of security monitoring.

[0087] In one embodiment, the motion trajectory drawing method further includes: when the geographical location does not meet the preset rule, marking the geographical location that does not meet the preset rule as a third location point on the map.

[0088] In this embodiment, when the geographical location does not meet the preset rules, these geographical locations that do not meet the preset rules are drawn on the map as third location points to form a third track on the map. The marking method of the third location point on the map is different from the marking method of the first location point or the second location point. In this way, since the third location point is marked differently, the user can clearly see the track of the person that does not meet the preset rules on the map, further meeting the needs of security monitoring.

[0089] In one embodiment, the step of obtaining the geographical location of the person includes: obtaining the geographical location of the person once at a second preset time interval.

[0090] In this embodiment, the terminal obtains GPS positioning information or Beidou positioning information once every second preset time, obtains the current geographical location, and sends the current geographical location to the server. The server obtains the geographical location of the person once every period of time, thereby continuously obtaining multiple geographical locations, so that the server can draw a trajectory of the geographical location of the person within a certain period of time.

[0091] In one embodiment, the step of detecting whether the geographic location meets the preset rules includes: obtaining an initial geographic location; detecting whether the distance between each of the geographic locations and the initial geographic location is less than a preset range, and detecting whether the acquisition time of each of the geographic locations is within a first preset time; when the geographic location meets the preset rules, the step of determining each of the geographic locations that meet the preset rules includes: when the distance between each of the geographic locations and the initial geographic location is less than a preset range, and the acquisition time of the geographic location is within the first preset time, determining each of the geographic locations that meet the preset rules.

[0092] In this embodiment, when obtaining the geographical location of a person, the current time is obtained, and the current time is the time point for obtaining the current geographical location of the person, and the current time is the acquisition time. The first preset time is a time node or a time length. For example, when the first preset time is a time length, the acquisition time is the difference between the time corresponding to the current geographical location and the initial geographical location. In this way, when the acquisition time is less than the first preset time, it indicates that the acquisition time is within the first preset time. For example, when the first preset time is a time node, the acquisition time is the time node for obtaining the current geographical location. The acquisition time is within the first preset time, indicating that the acquisition time of the current geographical location is before the node of the first preset time.

[0093] In this embodiment, meeting the preset rules means that the distance between the geographical location and the initial geographical location is less than the preset range, and the acquisition time is within the first preset time. Through the geographical location and the acquisition time, it can be determined whether the trajectory of the person's activities meets the preset rules. When the distance between the geographical location and the initial geographical location is less than the preset range, and the acquisition time of the geographical location is within the first preset time, it indicates that the person's movement estimation meets the preset rules, and the person has not performed long-distance movement within the first preset time, indicating that the person has been in a certain area for a long time, so the person may be performing a task. Therefore, the geographical location that meets the preset rules can be further judged whether to perform the preset task, and for the geographical location that does not meet the preset rules, it may not be performing the preset task, so there is no need to further judge whether to perform the preset task. In this way, the judgment efficiency and judgment accuracy of performing the preset task can be improved.

[0094] For example, if a person continues to move within the preset range of the initial geographic location for a period of time, it indicates that the person may be performing a task in the area corresponding to the preset range of the initial geographic location. If the person's activities are relatively long within a period of time, the person's movement trajectory spans multiple areas, and the person is unlikely to be performing a task. Therefore, by judging the person's geographic location and the time when the geographic location was obtained to determine whether the person's trajectory meets the preset rules, the judgment efficiency and accuracy of executing the preset task can be improved.

[0095] In order to improve the efficiency of determining whether a person's geographical location meets the preset rules, in one embodiment, the step of detecting whether the geographical location meets the preset rules includes: obtaining the distance between the geographical locations; detecting whether the distance between the two geographical locations with the largest distance is less than a preset range, and detecting whether the acquisition time of the geographical location is within a first preset time. When the distance between the two geographical locations with the largest distance is less than a preset range, and the acquisition time of the geographical location is within the first preset time, the geographical locations that meet the preset rules are determined.

[0096] Specifically, the distances between the geographical locations within the third preset time are obtained. If the maximum distance between the geographical locations is less than the preset range, it indicates that the maximum activity distance of the person is less than the preset range, indicating that the person continues to move in a certain area and continues to move in a certain area for a long time. In this embodiment, by calculating the distances between the geographical locations, multiple distances are obtained, and the largest one is extracted from the multiple distances, and then detecting whether the maximum distance is less than the preset range, it is possible to quickly determine whether the movement trajectory of the person meets the preset trajectory.

[0097] In one embodiment, the motion trajectory drawing method also includes: detecting whether there is a preset geographical location that does not correspond to the first position point; when there is a preset geographical location that does not correspond to the first position point, marking the preset geographical location corresponding to the non-corresponding first position point as a fourth position point on the map.

[0098] In this embodiment, the preset geographical location corresponding to the uncorrelated first location point is marked on the map as a fourth location point to form a fourth track on the map, wherein the marking method of the fourth location point on the map is different from the marking method of the first location point or the second location point.

[0099] Specifically, there may be multiple preset tasks, some of which are executed, and some of which are not executed. In this embodiment, the preset geographical location is the geographical location where the preset task is executed. When it is detected that there is no preset geographical location corresponding to the first location point, it indicates that the trajectory of the person has not reached these preset geographical locations without corresponding ones, which means that the person has not executed the preset task. Therefore, these preset geographical locations that do not correspond to the first location point are drawn on the map as fourth location points, so that the preset geographical locations of the unexecuted preset tasks are displayed on the map through the fourth location points, so that the user can clearly know which preset tasks have not been executed.

[0100] In one embodiment, when the geographic location matches the preset geographic location in the preset task, the step of marking the geographic location as the first location point on the map includes: obtaining the acquisition time of each of the geographic locations; calculating the completion time based on the acquisition time of each of the geographic locations; when the geographic location matches the preset geographic location in the preset task, marking the geographic location as the first location point on the map, recording the completion time, and marking the completion time at the location on the map that matches the first location point.

[0101] In this embodiment, the acquisition time of each geographic location is acquired to obtain the acquisition time, and based on the acquisition time of each geographic location, the completion time is calculated, and the completion time is the time when the personnel completes the preset task. Specifically, how to calculate the completion time can be achieved in the following ways, for example, the acquisition time of the initial geographic location is the first time, the acquisition time of the geographic location whose distance from the initial geographic location is greater than the preset range is the second time, and the second time is subtracted from the first time, and the time difference obtained is the completion time; for example, the acquisition time of the geographic location whose distance from the initial geographic location is greater than the preset range is the completion time.

[0102] In this embodiment, the completion time is displayed on the map while marking the first track on the map, so that the user can fully understand the execution status of the preset task.

[0103] Embodiment 3

[0104] In this embodiment, see Figure 5 , the implementation method is as follows:

[0105] (1) Establish basic industry rules and errors, that is, the minimum time required for the monitored person to complete the task and the geographical error range within which the monitored person is allowed to move when completing the task. For example, door-to-door delivery personnel in the furniture / home appliance industry need to complete delivery and installation work. The installation time required to complete the task at the user's home is at least 20 minutes, and the maximum range of movement is 10 meters. Based on the data reported by GPS, the reported points are divided into points that meet the 10-meter range within 20 minutes and points that do not meet the rule.

[0106] (2) Input the task that the monitored person needs to complete, which can be a task that a person needs to complete at a certain place on a certain day, and an estimated time required. For example, an installation master at a furniture company needs to complete an installation and delivery task at a certain detailed address today, and it is estimated to take 30 minutes.

[0107] (3) Start using the data reported by the GPS hardware to calculate the set of points that meet the requirements. The calculation method is: compare the second reported data with the initial point. If the geographic location error is less than the previously set error range, such as the previously set 10m activity range of the installer, then record the data reported by the initial point, and continue to compare the next (third) reported data with the initial point until the Nth time is greater than the previously set error range. This calculation ends, and these 1 to N points meet the requirements of the activity range. At the same time, calculate the time difference between the Nth time and the initial point. If it meets the previously set basic industry rules, such as the installation time is at least 20 minutes, then these sets can be calculated for the next stage. If none of the above judgments are met, directly draw the points on the map.

[0108] The following methods can also be used to calculate whether the points reported by the GPS device meet the rules and errors:

[0109] According to the frequency of GPS data reporting and the duration required in the judgment rule, calculate the number of N location points that the GPS device will report during the judgment duration. During the calculation, after the GPS device reports N points, calculate the N points together to determine whether the difference between the maximum and minimum values ​​of the N points meets the set rules; if the frequency of the GPS data reporting by the installer is 1 minute, then 10 points will be reported within 10 minutes, then calculate whether the distance between the two points with the longest distance among these 10 points is less than 10 meters. If it is less than 10 meters, it meets the basic requirements, and the set of these points can enter the next calculation. Compared with the above method, this method needs to add an additional parameter of the device reporting frequency.

[0110] (4) The points that meet the rules in the previous step are compared and calculated with the geographical locations of the tasks to be completed in the task list. If the address of the task to be completed coincides with the location where the monitored person stayed, it is marked as the task completion point, indicating the task-related information and the actual time consumed. If the location where the monitored person stayed does not coincide with the address in the task list, the points are drawn normally or abnormal points are drawn according to the actual situation; for example, if the installation master stayed within 10 meters of a certain address for more than 20 minutes, the address is calculated with the address in the task to see if they coincide. If they coincide, the task completion and task-related information are marked. If they do not coincide, the data point can be directly drawn on the map.

[0111] (5) Finally, after the work of the day is completed, the unfinished tasks in the work list (i.e., they do not overlap with all the points that meet the basic requirements) are also drawn on the map and marked as points that should have been completed but have not been completed; if the installation master's working time for the day has arrived, and the address point of the task in the installation task list does not overlap with all the points where the master stayed within a range of 10m for 20 minutes today, it is marked as a point that should have completed the task but has not been completed.

[0112] (6) The final effect is: when the map trajectory is displayed in real time, points with different marking methods (unique colors or shapes) are displayed. These points all have certain meanings for managers to make decisions or for subsequent analysis by the monitored to improve efficiency. Tasks that should have been completed but were not completed are also drawn as a judgment on the monitored person; for example, the details of the installation master's action trajectory in a day can be viewed, including what tasks were completed at what location, how long it took, and what tasks were not completed at what location, which can be clearly seen on the trajectory.

[0113] Embodiment 4

[0114] In this embodiment, Figure 3 As shown, a motion trajectory drawing device is provided, comprising:

[0115] A geographic location acquisition module 310 is used to acquire the geographic location of a person;

[0116] A preset rule detection module 320, used to detect whether the geographical location meets the preset rule;

[0117] A geographic location determination module 330, configured to determine each of the geographic locations that meet the preset rule when the geographic location meets the preset rule;

[0118] A geographic location matching detection module 340 is used to detect whether the determined geographic location matches a preset geographic location in a preset task;

[0119] A first location point marking module 350 is used to mark the geographical location as a first location point on the map when the geographical location matches the preset geographical location in the preset task;

[0120] A second location point marking module 360, for marking the geographical location as a second location point on the map when the geographical location does not match the preset geographical location in the preset task;

[0121] The first location point and the second location point are marked differently on the map.

[0122] In one embodiment, the motion trajectory drawing device further includes:

[0123] The third location point marking module is used to mark the geographical location that does not meet the preset rules as a third location point on the map when the geographical location does not meet the preset rules.

[0124] In one embodiment, the geographic location acquisition module is further used to acquire the geographic location of a person once every second preset time.

[0125] In one embodiment, the preset rule detection module includes:

[0126] An initial geographic location acquisition unit, used to acquire an initial geographic location;

[0127] a distance and time detection unit, configured to detect whether the distance between each of the geographical locations and the initial geographical location is less than a preset range, and to detect whether the acquisition time of each of the geographical locations is within a first preset time;

[0128] The geographic location determination module is further configured to determine each of the geographic locations that meets the preset rule when the distance between each of the geographic locations and the initial geographic location is less than a preset range and the acquisition time of the geographic location is within the first preset time.

[0129] In one embodiment, the preset rule detection module includes:

[0130] A distance acquisition unit, used to acquire the distance between the geographical locations;

[0131] The distance and time detection unit is used to detect whether the distance between the two geographical locations with the largest distance is less than a preset range, and to detect whether the acquisition time of the geographical locations is within a first preset time.

[0132] In one embodiment, the motion trajectory drawing device further includes:

[0133] A non-corresponding preset location detection module, used to detect whether there is a preset geographical location that does not correspond to the first location point;

[0134] The fourth location point marking module is used to mark the preset geographical location corresponding to the first location point as a fourth location point on the map when there is a preset geographical location that does not correspond to the first location point.

[0135] In one embodiment, the first location point marking module includes:

[0136] A time acquisition unit, used to acquire the acquisition time of each of the geographical locations;

[0137] A completion time calculation unit, used to calculate the completion time based on the acquisition time of each of the geographical locations;

[0138] A position marking and time recording unit is used to mark the geographical location as a first position point on the map and record the completion time when the geographical location matches the preset geographical location in the preset task.

[0139] For the specific definition of the motion trajectory drawing device, please refer to the definition of the motion trajectory drawing method above, which will not be repeated here. Each unit in the above-mentioned motion trajectory drawing device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned units can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned units.

[0140] Embodiment 5

[0141] In this embodiment, a computer device is provided. Its internal structure diagram can be shown as follows: Figure 4As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program, and the non-volatile storage medium is deployed with a database, which is used to store user behavior data and user portraits. The internal memory provides an environment for the operation of the 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 have deployed application software. When the computer program is executed by the processor, a motion trajectory drawing method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0142] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0143] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0144] Get the geographic location of the person;

[0145] Detecting whether the geographical location meets the preset rules;

[0146] When the geographical locations meet the preset rules, determining each geographical location that meets the preset rules;

[0147] Detecting whether the determined geographical location matches a preset geographical location in a preset task;

[0148] When the geographical location matches the preset geographical location in the preset task, marking the geographical location as a first location point on the map;

[0149] When the geographical location does not match the preset geographical location in the preset task, marking the geographical location as a second location point on the map;

[0150] The first location point and the second location point are marked differently on the map.

[0151] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0152] When the geographical location does not conform to the preset rule, the geographical location that does not conform to the preset rule is marked on the map as a third location point.

[0153] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0154] The geographical location of the person is obtained once at a second preset time interval.

[0155] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0156] Get the initial geographic location;

[0157] Detecting whether the distance between each of the geographical locations and the initial geographical location is less than a preset range, and detecting whether the acquisition time of each of the geographical locations is within a first preset time;

[0158] When the distance between each of the geographical locations and the initial geographical location is less than a preset range, and the acquisition time of the geographical location is within the first preset time, each of the geographical locations that meets the preset rule is determined.

[0159] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0160] Obtaining the distance between each of the geographical locations;

[0161] It is detected whether the distance between the two geographical locations with the largest distance is less than a preset range, and it is detected whether the acquisition time of the geographical locations is within a first preset time.

[0162] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0163] Detecting whether there is a preset geographical location that does not correspond to the first location point;

[0164] When there is a preset geographical location that does not correspond to the first location point, the preset geographical location corresponding to the first location point that does not correspond is marked on the map as a fourth location point.

[0165] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0166] Obtaining the acquisition time of each of the geographical locations;

[0167] Calculate the acquisition completion time based on the acquisition time of each of the geographical locations;

[0168] When the geographical location matches the preset geographical location in the preset task, the geographical location is marked as a first location point on the map, and the completion time is recorded.

[0169] Embodiment 6

[0170] In this embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0171] Get the geographic location of the person;

[0172] Detecting whether the geographical location meets the preset rules;

[0173] When the geographical locations meet the preset rules, determining each geographical location that meets the preset rules;

[0174] Detecting whether the determined geographical location matches a preset geographical location in a preset task;

[0175] When the geographical location matches the preset geographical location in the preset task, marking the geographical location as a first location point on the map;

[0176] When the geographical location does not match the preset geographical location in the preset task, marking the geographical location as a second location point on the map;

[0177] The first location point and the second location point are marked differently on the map.

[0178] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0179] When the geographical location does not conform to the preset rule, the geographical location that does not conform to the preset rule is marked on the map as a third location point.

[0180] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0181] The geographical location of the person is obtained once at a second preset time interval.

[0182] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0183] Get the initial geographic location;

[0184] Detecting whether the distance between each of the geographical locations and the initial geographical location is less than a preset range, and detecting whether the acquisition time of each of the geographical locations is within a first preset time;

[0185] When the distance between each of the geographical locations and the initial geographical location is less than a preset range, and the acquisition time of the geographical location is within the first preset time, each of the geographical locations that meets the preset rule is determined.

[0186] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0187] Obtaining the distance between each of the geographical locations;

[0188] It is detected whether the distance between the two geographical locations with the largest distance is less than a preset range, and it is detected whether the acquisition time of the geographical locations is within a first preset time.

[0189] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0190] Detecting whether there is a preset geographical location that does not correspond to the first location point;

[0191] When there is a preset geographical location that does not correspond to the first location point, the preset geographical location corresponding to the first location point that does not correspond is marked on the map as a fourth location point.

[0192] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0193] Obtaining the acquisition time of each of the geographical locations;

[0194] Calculate the acquisition completion time based on the acquisition time of each of the geographical locations;

[0195] When the geographical location matches the preset geographical location in the preset task, the geographical location is marked as a first location point on the map, and the completion time is recorded.

[0196] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. 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. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0197] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0198] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A motion trajectory drawing method, characterized in that: include: Get the geographic location of the person; Detecting whether the geographical location meets the preset rules; When the geographical locations meet the preset rules, determining each geographical location that meets the preset rules; Detecting whether the determined geographical location matches a preset geographical location in a preset task; When the geographical location matches a preset geographical location in the preset task, marking the geographical location as a first location point on a map, and forming a first track based on each of the first location points; When the geographical location does not match the preset geographical location in the preset task, marking the geographical location as a second location point on the map, and forming a second track based on each of the second location points; When the geographical location does not conform to the preset rule, marking the geographical location that does not conform to the preset rule as a third location point on the map, and forming a third track based on each of the third location points; The first location point, the second location point and the third location point are marked differently on the map; The step of detecting whether the geographical location meets the preset rules includes: Obtaining the distance between each of the geographical locations; It is detected whether the distance between the two geographical locations with the largest distance is less than a preset range, and it is detected whether the acquisition time of the geographical locations is within a first preset time.

2. The method according to claim 1, characterized in that: The step of obtaining the geographical location of a person comprises: The geographical location of the person is obtained once at a second preset time interval.

3. The method according to claim 2, characterized in that The step of detecting whether the geographical location meets the preset rules includes: Get the initial geographic location; Detecting whether the distance between each of the geographical locations and the initial geographical location is less than a preset range, and detecting whether the acquisition time of each of the geographical locations is within a first preset time; When the geographical locations meet the preset rules, the step of determining each geographical location meeting the preset rules comprises: When the distance between each of the geographical locations and the initial geographical location is less than a preset range, and the acquisition time of the geographical location is within the first preset time, each of the geographical locations that meets the preset rule is determined.

4. The method according to any one of claims 1 to 3, characterized in that Also includes: Detecting whether there is a preset geographical location that does not correspond to the first location point; When there is a preset geographical location that does not correspond to the first location point, the preset geographical location corresponding to the first location point that does not correspond is marked on the map as a fourth location point.

5. The method according to any one of claims 1 to 3, characterized in that: When the geographical location matches the preset geographical location in the preset task, the step of marking the geographical location as a first location point on the map comprises: Obtaining the acquisition time of each of the geographical locations; Calculate the acquisition completion time based on the acquisition time of each of the geographical locations; When the geographical location matches the preset geographical location in the preset task, the geographical location is marked as a first location point on the map, and the completion time is recorded.

6. A motion trajectory drawing device, characterized in that: include: The geographic location acquisition module is used to obtain the geographic location of a person; The preset rule detection module is used to detect whether the geographical location meets the preset rule, including: Obtaining the distance between each of the geographical locations; Detecting whether the distance between the two geographical locations with the largest distance is less than a preset range, and detecting whether the acquisition time of the geographical locations is within a first preset time; A geographic location determination module, configured to determine each of the geographic locations that meet the preset rules when the geographic location meets the preset rules; A geographic location matching detection module, used to detect whether the determined geographic location matches a preset geographic location in a preset task; A first location point marking module, configured to mark the geographical location as a first location point on a map when the geographical location matches a preset geographical location in the preset task, and form a first track based on each of the first location points; A second location point marking module, for marking the geographical location as a second location point on the map when the geographical location does not match the preset geographical location in the preset task, and forming a second track based on each of the second location points; A third location point marking module is used to mark the geographical location that does not meet the preset rules as a third location point on the map when the geographical location does not meet the preset rules, and form a third trajectory based on each third location point; wherein the first location point, the second location point and the third location point are marked differently on the map.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Method and device for executing scheduled tasks

    CN103377205A

  • Geographical location monitoring method and device

    CN105138589A

  • Information reminding method and apparatus

    CN105677720A

  • Travel path acquiring method and device, and server

    CN108882168A

  • Motion route recommendation method and device and storage medium

    CN110633346A