CN111340331B - Analysis method and system for residence behavior of supervisor in city management work - Google Patents

Analysis method and system for residence behavior of supervisor in city management work Download PDF

Info

Publication number
CN111340331B
CN111340331B CN202010084102.1A CN202010084102A CN111340331B CN 111340331 B CN111340331 B CN 111340331B CN 202010084102 A CN202010084102 A CN 202010084102A CN 111340331 B CN111340331 B CN 111340331B
Authority
CN
China
Prior art keywords
position coordinate
supervisor
sequence
coordinate point
coordinate points
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.)
Active
Application number
CN202010084102.1A
Other languages
Chinese (zh)
Other versions
CN111340331A (en
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.)
Taihua Wisdom Industry Group Co Ltd
Original Assignee
Taihua Wisdom Industry Group 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 Taihua Wisdom Industry Group Co Ltd filed Critical Taihua Wisdom Industry Group Co Ltd
Priority to CN202010084102.1A priority Critical patent/CN111340331B/en
Publication of CN111340331A publication Critical patent/CN111340331A/en
Application granted granted Critical
Publication of CN111340331B publication Critical patent/CN111340331B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • G06Q10/063114Status monitoring or status determination for a person or group
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • 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
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The application discloses a method and a system for analyzing residence behaviors of a supervisor in urban management work, which relate to the technical field of computer networks and comprise the following steps: setting the maximum allowable time T of the first stop of the supervisor, setting the maximum diameter 2R of the region where the first stop of the supervisor is located, and setting the preset acquisition frequency of the GPS module in the supervisor inspection APP; acquiring data of a GPS module in a patrol APP of a supervisor according to a preset acquisition frequency, and acquiring position coordinate points of the supervisor and reporting time corresponding to each position coordinate point one by one; it is determined whether the supervisor has one stay. According to the application, the data of the position coordinate points of the supervisor positioned by the GPS module in the supervisor patrol APP are collected, and whether the supervisor has one stay behavior is judged, so that whether the supervisor has one stay behavior in urban management work can be rapidly judged, the supervisor can be effectively supervised, and the supervisor can fully play a role.

Description

Analysis method and system for residence behavior of supervisor in city management work
Technical Field
The application relates to the technical field of computer networks, in particular to a method and a system for analyzing residence behaviors of supervisors in urban management work.
Background
In the process of actively advancing urban management digitization, refinement and wisdom in China, a supervisor team is established to assist the digitization urban management to operate, a responsible area is specifically defined for each supervisor, and urban problems in the responsible area are collected and reported by the supervisor every day.
Although the supervisor is arranged to assist the urban management to find out the problems in the urban management and process the problems in time, the following problems are that the supervisor does not strictly carry out the inspection according to the specified inspection plan in daily inspection work, often leaves in one place for a long time, the inspection effect does not reach the expected effect, the role of the supervisor is not fully exerted, in addition, the supervisor is not fixed in working positions and distributed in each area of the city during the inspection, the supervisor can hardly carry out effective supervision, wherein the supervisor can carry out real-time supervision, but the supervisor has a plurality of supervisors, and the supervisor can check the track of the supervisor to determine whether the supervisor stays for a long time or not through the GPS, so that the time is wasted, and the situation of inaccurate judgment exists, so that a judging method and a judging system are needed to effectively exert the role of the supervisor.
Disclosure of Invention
In view of the above, the application provides an analysis method and system for the residence behavior of a supervisor in urban management work, wherein the supervisor can be effectively supervised and promoted by collecting the data of the position coordinate point of the supervisor positioned by a GPS module in an APP of the supervisor inspection and judging whether the supervisor has one residence behavior or not, so that the supervisor can fully play a role.
The application provides an analysis method for residence behavior of a supervisor in urban management work, which comprises the following steps:
setting the maximum allowable time T of the first stop of the supervisor, setting the maximum diameter 2R of the region where the first stop of the supervisor is located, and setting the preset acquisition frequency of the GPS module in the supervisor inspection APP;
acquiring data of a GPS module in a patrol APP of a supervisor according to a preset acquisition frequency, and acquiring position coordinate points of the supervisor and reporting time corresponding to each position coordinate point one by one;
judging whether the supervisor has one stay behavior: when the distance between any two adjacent position coordinate points is smaller than the maximum diameter 2R within the maximum allowable stay time T, judging that the supervisor has one stay behavior; and when the distance between any two adjacent position coordinate points is larger than the maximum range 2R of one stop within the maximum allowable time T of one stop, judging that the supervisor does not have one stop action.
Alternatively, the coordinates of the position coordinate point are (x i ,y i ,t i ) I is a natural number and i is an i-th position coordinate point, x i Longitude, y, which is the ith position coordinate point i Is the latitude of the ith position coordinate point, t i The reporting time of the ith position coordinate point.
Optionally, before determining whether the supervisor has a stay, the method further comprises: and according to the time sequence of acquiring the position coordinate points of the supervisor, carrying out ascending arrangement on the acquired position coordinate points of the supervisor, and constructing a first sequence, wherein the first sequence comprises a plurality of position coordinate points, and each position coordinate point corresponds to the reporting time one by one.
Optionally, the method further comprises:
constructing a second sequence according to the first sequence;
taking the coordinates (x) of the earliest acquired position coordinate point from the second sequence 0 ,y 0 ,t 0 );
Judging whether the second sequence has position coordinate points, if not, no stay action occurs, if so, continuing to take the coordinate (x i ,y i ,t i );
Calculating a position coordinate point (x) 0 ,y 0 ,t 0 ) Coordinate point with position (x) i ,y i ,t i ) A distance D between the two;
if D is greater than 2R, the position coordinate point (x 0 ,y 0 ,t 0 ) At the same time, the earliest acquired position coordinate point remaining in the second sequence becomes a new position coordinate point (x 0 ,y 0 ,t 0 ) The method comprises the steps of carrying out a first treatment on the surface of the If D is smaller than 2R, the position coordinate point (x i ,y i ,t i ) Whether or not it is the last position coordinate point traversed in the second sequence, and if so, deleting the position coordinate point (x 0 ,y 0 ,t 0 ) At the same time, the remaining earliest acquired position coordinate point becomes a new position coordinate point (x 0 ,y 0 ,t 0 ) If not, returning to the above-mentioned coordinate (x) of the position coordinate point obtained earliest from the second sequence 0 ,y 0 ,t 0 ) After the step;
judging whether the first sequence has coordinate points, if not, entering the next step, and if so, extracting a position coordinate point (x j ,y j ,t j ) If t j -t 0 If T is less than or equal to T, the position coordinate point (x j ,y j ,t j ) Put into the second sequence while the coordinate point (x j ,y j ,t j ) Deleted from the first sequence, if t j -t 0 Greater than T, and entering the next step;
judging whether only one position coordinate point is left in the second sequence, if so, existence of one stay action, and if not, returning to the step of constructing the second sequence according to the first sequence.
Optionally, the specific method for constructing the second sequence is:
the earliest acquired position coordinate point (x 0 ,y 0 ,t 0 ) Put into a second sequence;
position coordinate point (x 0 ,y 0 ,t 0 ) Deleting from the first sequence;
judging whether the first sequence has position coordinate points, if the first sequence has no position coordinate points, ending the position coordinate points to be put into the second sequence, if the first sequence has bitsA coordinate setting point is obtained by taking the earliest acquired position coordinate point (x j ,y j ,t j ) If t j -t 0 If the position coordinate point is greater than T, ending the placement of the position coordinate point into the second sequence, if T j -t 0 If T is less than or equal to T, the position coordinate point (x j ,y j ,t j ) Put into a second sequence, position coordinate points (x j ,y j ,t j ) Deleted from the first sequence and returned to the position coordinate point (x 0 ,y 0 ,t 0 ) After the step of deleting from the first sequence.
The application provides a system for analyzing the stay behavior of a supervisor in urban management work, which comprises:
the parameter setting module is used for setting the maximum allowable time T of one stop of the supervisor, setting the maximum diameter 2R of the area where the one stop of the supervisor is located, and setting the preset acquisition frequency of the GPS module in the supervisor inspection APP;
the acquisition module is used for acquiring data of the GPS module in the patrol APP of the supervisor according to a preset acquisition frequency, and acquiring position coordinate points of the supervisor and reporting time corresponding to each position coordinate point one by one;
the judging module is used for judging whether the supervisor has one stay behavior or not: when the distance between any two adjacent position coordinate points is smaller than the maximum diameter 2R within the maximum allowable time T, judging that the supervisor has one stay behavior; and when the distance between any two adjacent position coordinate points is larger than the maximum range 2R of one stop within the maximum allowable time T, judging that the supervisor does not have one stop action.
Alternatively, the preset acquisition frequency is from 10 to 20 acquisitions per 1 minute.
Alternatively, the one-stop maximum allowable time T is 20 minutes to 30 minutes.
Alternatively, the maximum extent of stay is a circular region of radius R.
Compared with the prior art, the analysis method and the system for the residence behavior of the supervisor in the urban management work at least realize the following beneficial effects:
according to the analysis method and the system for the residence behavior of the supervisor in the urban management work, the GPS module in the supervisor inspection APP is fully utilized to position the position coordinate point of the supervisor in real time, the system collects data in the GPS module through the preset collection frequency, stores the data and is used for judging whether the supervisor has one residence behavior, management and supervision of the supervisor are achieved, the inspection of the supervisor is more comprehensive and accurate, and the supervisor fully plays a role.
Of course, it is not necessary for any one product embodying the application to achieve all of the technical effects described above at the same time.
Other features of the present application and its advantages will become apparent from the following detailed description of exemplary embodiments of the application, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description, serve to explain the principles of the application.
FIG. 1 is a flow chart of a method for analyzing the stay behavior of a supervisor in a city management job according to an embodiment of the present application;
FIG. 2 is a flowchart of a method and a system for analyzing residence behavior of a supervisor in city management work according to an embodiment of the present application;
FIG. 3 is a flowchart of a second sequence of acquisition of a method and a system for analyzing a residence behavior of a supervisor in a city management task according to an embodiment of the present application;
FIG. 4 is a flow chart of an analysis system for supervisor stay behavior in a city management effort, according to an embodiment of the present application;
fig. 5 is a schematic diagram showing a maximum stay range of a system and a method for analyzing stay behavior of a supervisor in urban management work according to an embodiment of the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application unless it is specifically stated otherwise.
The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of exemplary embodiments may have different values.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
The following detailed description will proceed with reference being made to the drawings and detailed description of embodiments.
Example 1
Fig. 1 is a flowchart of a method for analyzing residence behavior of a supervisor in a city management task according to an embodiment of the present application, please refer to fig. 1, and the method for analyzing residence behavior of a supervisor in a city management task according to the present application includes:
step 101, setting the maximum allowable time T of one stop of a supervisor, setting the maximum diameter 2R of an area where the one stop of the supervisor is located, and setting the preset acquisition frequency of a GPS module in a supervisor inspection APP;
step 102, acquiring data of a GPS module in a patrol APP of a supervisor according to a preset acquisition frequency, and acquiring position coordinate points of the supervisor and reporting time corresponding to each position coordinate point one by one;
step 103, judging whether the supervisor has one stay behavior: when the distance between any two adjacent position coordinate points is smaller than the maximum diameter 2R within the maximum allowable stay time T, judging that the supervisor has one stay behavior; and when the distance between any two adjacent position coordinate points is larger than the maximum range 2R of one stop within the maximum allowable time T of one stop, judging that the supervisor does not have one stop action.
Specifically, one stay refers to a behavior phenomenon that a residence time of a supervisor exceeds a certain time in the vicinity of a certain position in a daily patrol work of urban management, a manager sets a maximum allowed time of one stay and a maximum range of one stay according to a task in a patrol area acted by the supervisor, a GPS module in a patrol APP on a mobile phone of the supervisor acquires coordinates of a position coordinate point where the supervisor stays, and meanwhile acquires reporting time corresponding to the position coordinate point one by one, and whether the supervisor has one stay behavior is further judged according to the coordinates of the position coordinate point and the corresponding reporting time.
The system is used for acquiring the data of the GPS module in the patrol APP of the supervisor by presetting the frequency of acquiring the data, and storing and waiting for processing the acquired data. By one stay in the present application is meant that the supervisor stays within a preset area, a round area with a radius R around the set point instead of a fixed point, e.g. stay in this area beyond a maximum allowed time T, which represents that one stay has occurred.
According to the analysis method and the system for the residence behavior of the supervisor in the urban management work, the GPS module in the supervisor patrol APP is fully utilized to position the position coordinate point of the supervisor in real time, the system collects data in the GPS module through the preset collection frequency, stores the data and is used for judging whether the supervisor has one residence behavior, management and supervision of the supervisor are achieved, the examination of the supervisor is more comprehensive and accurate, and the supervisor fully plays a role.
Alternatively, the coordinates of the position coordinate point are(x i ,y i ,t i ) I is a natural number and i is an i-th position coordinate point, x i Longitude, y, which is the ith position coordinate point i Is the latitude of the ith position coordinate point, t i The reporting time of the ith position coordinate point.
Specifically, the coordinate information of the position coordinate point of the supervisor includes longitude and latitude of the position where the supervisor is located and the corresponding time when the position coordinate point of the supervisor is acquired.
Optionally, before determining whether the supervisor has a stay behavior in step 103, the method further includes: and according to the time sequence of acquiring the position coordinate points of the supervisor, carrying out ascending arrangement on the acquired position coordinate points of the supervisor, and constructing a first sequence, wherein the first sequence comprises a plurality of position coordinate points, and each position coordinate point corresponds to the reporting time one by one.
Specifically, in daily working time, a supervisor starts working in the morning, a GPS module in a patrol APP in a mobile phone starts to position a position coordinate point of the supervisor and transmits the position coordinate point into a system until the supervisor goes off duty in the evening, the GPS module in the patrol APP finishes positioning, the position coordinate points recorded during the working of the supervisor are arranged in ascending order according to corresponding reporting time, and a first sequence is constructed, and the form of the first sequence is shown in a table 1.
TABLE 1 first sequence order table
(x 0 ,y 0 ,t 0 ) (x 1 ,y 1 ,t 1 ) (x 2 ,y 2 ,t 2 ) (x i ,y i ,t i ) (x n ,y n ,t n )
Wherein the position coordinate point (x 0 ,y 0 ,t 0 ) For the earliest positioned position coordinate point in the daily working time of the supervisor, the position coordinate point (x n ,y n ,t n ) For the position coordinate points located the latest in the daily working time of the supervisor, n is the total number of the acquired position coordinate points.
It should be noted that the database for constructing the first sequence includes, but is not limited to, SQL Server, over, and Sybase.
Optionally, fig. 2 is a flowchart of a method and a system for analyzing residence behavior of a supervisor in urban management work, provided by the embodiment of the application, wherein the flowchart is shown in fig. 2, and further includes:
step S101, constructing a second sequence according to the first sequence;
step S102, the coordinates (x) of the earliest acquired position coordinate point are taken from the second sequence 0 ,y 0 ,t 0 );
Step S103, judging whether there are any position coordinate points in the second sequence, if not, there is no stay behavior, if so, continuing to take the coordinates (x i ,y i ,t i );
Step S104, calculating a position coordinate point (x 0 ,y 0 ,t 0 ) Coordinate point with position (x) i ,y i ,t i ) A distance D between the two;
step S105, if D is greater than 2RDeleting the position coordinate point (x) 0 ,y 0 ,t 0 ) At the same time, the earliest acquired position coordinate point remaining in the second sequence becomes a new position coordinate point (x 0 ,y 0 ,t 0 ) The method comprises the steps of carrying out a first treatment on the surface of the If D is smaller than 2R, the position coordinate point (x i ,y i ,t i ) Whether or not it is the last position coordinate point traversed in the second sequence, and if so, deleting the position coordinate point (x 0 ,y 0 ,t 0 ) At the same time, the remaining earliest acquired position coordinate point becomes a new position coordinate point (x 0 ,y 0 ,t 0 ) If not, returning to the above-mentioned coordinate (x) of the position coordinate point obtained earliest from the second sequence 0 ,y 0 ,t 0 ) After the step and returning to the step S103;
step S106, judging whether there are coordinate points in the first sequence, if not, proceeding to the next step and step S107, if so, extracting a position coordinate point (x j ,y j ,t j ) If t j -t 0 If T is less than or equal to T, the position coordinate point (x j ,y j ,t j ) Put into the second sequence while the coordinate point (x j ,y j ,t j ) Deleted from the first sequence, if t j -t 0 Greater than T, go to the next step and step S107;
step S107, judging whether only one position coordinate point is left in the second sequence, if yes, one stay action exists, if not, returning to the step of constructing the second sequence according to the first sequence, and returning to the step S102.
In the step, a second sequence is constructed based on the position coordinate points in the first sequence, and each position coordinate point in the second sequence is traversed through a computer technology according to the preset maximum range and maximum allowed time of one position, so that whether all supervisors have one position stay behavior in urban management work or not is judged in detail and quickly, time and labor can be saved, if the supervisors are found to have one position stay behavior, supervision and reminding can be timely performed, the role of the supervisors is fully played, and the urban management efficiency is improved.
Optionally, fig. 3 is a flowchart of a second sequence acquisition method and system for analyzing residence behavior of a supervisor in urban management work, provided in an embodiment of the present application, please refer to fig. 3, wherein a specific method for constructing the second sequence is as follows:
step S201, the earliest acquired position coordinate point (x 0 ,y 0 ,t 0 ) Put into a second sequence;
step S202, position coordinate point (x 0 ,y 0 ,t 0 ) Deleting from the first sequence;
step S203, judging whether there are any position coordinate points in the first sequence, if there are no position coordinate points in the first sequence, ending the placement of the position coordinate points in the second sequence, if there are position coordinate points in the first sequence, taking the earliest acquired position coordinate point (x j ,y j ,t j ) If t j -t 0 If the position coordinate point is greater than T, ending the placement of the position coordinate point into the second sequence, if T j -t 0 If T is less than or equal to T, the position coordinate point (x j ,y j ,t j ) Put into a second sequence, position coordinate points (x j ,y j ,t j ) Deleted from the first sequence and returned to the first sequence 0 ,y 0 ,t 0 ) After the step of deleting from the first sequence and returning to step S202.
Specifically, each time a position coordinate point is put into the second sequence, the position coordinate point is deleted from the first sequence correspondingly, and the time interval corresponding to the first position coordinate point and the last position coordinate point in each second sequence is less than or equal to the maximum allowable time T of one stop, as shown in tables 2-3, table 2 is a second sequence sorting table, and table 3 is a first sequence deletion sorting table.
TABLE 2 second sequence order table
(x 0 ,y 0 ,t 0 ) (x 1 ,y 1 ,t 1 ) (x 2 ,y 2 ,t 2 ) (x i ,y i ,t i )
Table 3 first sequence pruned ordered list
(x i+1 ,y i+1 ,t i+1 ) (x n ,y n ,t n )
It should be noted that the database for constructing the second sequence includes, but is not limited to, SQL Server, over, and Sybase.
Example two
Fig. 4 is a flowchart of an analysis system for residence behavior of a supervisor in a city management task according to an embodiment of the present application, please refer to fig. 4, and the system includes:
the parameter setting module 201 is configured to set a maximum allowed time T for the supervisor to stay at one place, set a maximum diameter 2R of an area where the supervisor stays at one place, and set a preset acquisition frequency for the supervisor to patrol the GPS module in the APP;
the acquisition module 202 is configured to acquire data of a GPS module in a patrol APP of a supervisor according to a preset acquisition frequency, and acquire a position coordinate point of the supervisor and reporting time corresponding to each position coordinate point one by one;
a judging module 203, configured to judge whether the supervisor has a stay behavior: when the distance between any two adjacent position coordinate points is smaller than the maximum diameter 2R within the maximum allowable time T, judging that the supervisor has one stay behavior; and when the distance between any two adjacent position coordinate points is larger than the maximum range 2R of one stop within the maximum allowable time T, judging that the supervisor does not have one stop action.
The application fully utilizes the GPS module in the supervisor patrol APP and the data in the acquisition GPS module set by the system, and can effectively judge whether the supervisor has one-stop behavior in the patrol work by combining the set one-stop behavior.
Alternatively, the preset acquisition frequency is from 10 to 20 acquisitions per 1 minute.
Specifically, the preset acquisition frequency is determined according to the area of the responsible area divided by the supervisor, and when the area of the responsible area divided by the supervisor is larger, the preset acquisition frequency is larger; when the area of the responsible area divided by the supervisor is smaller, the preset acquisition frequency is smaller. In the practical application process, the collection frequency can be set to be, for example, 10 times in 1 minute or 15 times in 1 minute, etc., and the application is not particularly limited to this, and the user can set the collection frequency according to the practical requirement.
Alternatively, the one-stop maximum allowable time T is 20 minutes to 30 minutes.
Specifically, the maximum allowable time for one stay depends on the area size of the area that the supervisor is responsible for, referring to the normal time required for the supervisor to reach from one work point to another. In the practical application process, the maximum allowable stay time can be set according to the working property of a supervisor, and the specific value can be set according to the practical situation.
Optionally, fig. 5 is a schematic diagram of a maximum stay range of a supervisor in urban management work according to an embodiment of the present application, and please refer to fig. 5, in which the maximum stay range is a circular area with a radius R.
Specifically, the maximum range of one stay is a circular region with a radius R, i.e., the distance between coordinate points of two adjacent positions within the maximum range of one stay cannot exceed the diameter of the circular region.
In summary, the analysis method and the system with one stay behavior provided by the application at least realize the following beneficial effects:
according to the analysis method and the system for the residence behavior of the supervisor in the urban management work, the GPS module in the supervisor inspection APP is fully utilized to position the position coordinate point of the supervisor in real time, the system collects data in the GPS module through the preset collection frequency, stores the data and is used for judging whether the supervisor has one residence behavior, management and supervision of the supervisor are achieved, the inspection of the supervisor is more comprehensive and accurate, and the supervisor fully plays a role.
While certain specific embodiments of the application have been described in detail by way of example, it will be appreciated by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the application. It will be appreciated by those skilled in the art that modifications may be made to the above embodiments without departing from the scope and spirit of the application. The scope of the application is defined by the appended claims.

Claims (6)

1. A method for analyzing stay behavior of a supervisor in a city management job, the method comprising:
setting the maximum allowable time T of the first stop of the supervisor, setting the maximum diameter 2R of the region where the first stop of the supervisor is located, and setting the preset acquisition frequency of the GPS module in the supervisor inspection APP;
acquiring data of a GPS module in the patrol APP of the supervisor according to the preset acquisition frequency, and acquiring position coordinate points of the supervisor and reporting time corresponding to each position coordinate point one by one;
judging whether the supervisor has one stay behavior: when the distance between any two adjacent position coordinate points is smaller than the maximum diameter 2R within the one-position stay maximum allowable time T, judging that the supervisor has one-position stay behavior; when the distance between any two adjacent position coordinate points is larger than the maximum range 2R of one stop within the maximum allowable time T of the one stop, judging that the supervisor does not have one stop behavior;
before determining whether the supervisor has one stay, further comprising: according to the time sequence of obtaining the position coordinate points of the supervisor, ascending order arrangement is carried out on the obtained position coordinate points of the supervisor, a first sequence is constructed, the first sequence comprises a plurality of position coordinate points, and each position coordinate point corresponds to reporting time one by one;
further comprises: constructing a second sequence according to the first sequence; taking the coordinates (x 0, y0, t 0) of the earliest acquired position coordinate point from the second sequence; judging whether a position coordinate point exists in the second sequence, if not, no stay action exists, and if so, continuing to take down the coordinate (xi, yi, ti) of the position coordinate point acquired earliest from the second sequence; calculating a distance D between the position coordinate points (x 0, y0, t 0) and the position coordinate points (xi, yi, ti); deleting the position coordinate points (x 0, y0, t 0) from the second sequence if the D is greater than the 2R, while the remaining earliest acquired position coordinate points in the second sequence become new position coordinate points (x 0, y0, t 0); if the D is smaller than the 2R, firstly judging whether the position coordinate point (xi, yi, ti) is the last position coordinate point traversed in the second sequence, if so, deleting the position coordinate point (x 0, y0, t 0) from the second sequence, changing the rest earliest acquired position coordinate point into a new position coordinate point (x 0, y0, t 0), and if not, returning to the step of acquiring the coordinates (x 0, y0, t 0) of the earliest acquired position coordinate point from the second sequence; judging whether coordinate points exist in the first sequence, if not, entering the next step, if so, taking out one position coordinate point (xj, yj, tj) with earliest time from the first sequence, if tj-T0 is smaller than or equal to T, putting the position coordinate point (xj, yj, tj) into the second sequence, deleting the coordinate point (xj, yj, tj) from the first sequence, and if tj-T0 is larger than T, entering the next step; judging whether only one position coordinate point is left in the second sequence, if so, existence of one stay behavior, and if not, returning to the step of constructing the second sequence according to the first sequence;
the specific method for constructing the second sequence comprises the following steps: the earliest acquired position coordinate point (x 0, y0, t 0) is taken from the first sequence and put into the second sequence; deleting the position coordinate points (x 0, y0, t 0) from the first sequence; judging whether there are any position coordinate points in the first sequence, if there are no position coordinate points in the first sequence, ending the placement of the position coordinate points in the second sequence, if there are position coordinate points in the first sequence, taking the earliest acquired position coordinate point (xj, yj, tj) from the rest of the position coordinate points in the first sequence, if tj-T0 is greater than T, ending the placement of the position coordinate points in the second sequence, if tj-T0 is less than or equal to T, placing the position coordinate points (xj, yj, tj) in the second sequence, deleting the position coordinate points (xj, yj, tj) from the first sequence, and returning to the step of deleting the position coordinate points (x 0, y0, T0) from the first sequence.
2. The method according to claim 1, wherein the coordinates of the position coordinate points are (xi, yi, ti), i is a natural number and i is an i-th position coordinate point, xi is a longitude of the i-th position coordinate point, yi is a latitude of the i-th position coordinate point, and ti is a reporting time of the i-th position coordinate point.
3. A system of a method of analysis of supervisor stay behaviour in a city management job as claimed in any one of claims 1 to 2, wherein the system comprises:
the parameter setting module is used for setting the maximum allowable time T of one stop of the supervisor, setting the maximum diameter 2R of the area where the one stop of the supervisor is located, and setting the preset acquisition frequency of the GPS module in the supervisor inspection APP;
the acquisition module is used for acquiring data of the GPS module in the patrol APP of the supervisor according to the preset acquisition frequency, and acquiring position coordinate points of the supervisor and reporting time corresponding to each position coordinate point one by one;
the judging module is used for judging whether the supervisor has one stay behavior or not: when the distance between any two adjacent position coordinate points is smaller than the maximum diameter 2R within the maximum allowable time T, judging that the supervisor has one stay behavior; and when the distance between any two adjacent position coordinate points is larger than the maximum range 2R of one stop within the maximum allowable time T, judging that the supervisor does not have one stop behavior.
4. A system for analysis of supervisor stay in urban management according to claim 3, wherein the preset collection frequency is from 10 to 20 acquisitions per 1 minute.
5. A system for analysis of supervisor stay behaviour in urban management according to claim 3, wherein said one stay maximum allowable time T is comprised between 20 and 30 minutes.
6. A system for analysis of supervisor stay behavior in urban management according to claim 3, wherein the maximum range of stay is a circular area of radius R.
CN202010084102.1A 2020-02-10 2020-02-10 Analysis method and system for residence behavior of supervisor in city management work Active CN111340331B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010084102.1A CN111340331B (en) 2020-02-10 2020-02-10 Analysis method and system for residence behavior of supervisor in city management work

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010084102.1A CN111340331B (en) 2020-02-10 2020-02-10 Analysis method and system for residence behavior of supervisor in city management work

Publications (2)

Publication Number Publication Date
CN111340331A CN111340331A (en) 2020-06-26
CN111340331B true CN111340331B (en) 2023-11-14

Family

ID=71186045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010084102.1A Active CN111340331B (en) 2020-02-10 2020-02-10 Analysis method and system for residence behavior of supervisor in city management work

Country Status (1)

Country Link
CN (1) CN111340331B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112261143B (en) * 2020-10-23 2022-04-01 泰华智慧产业集团股份有限公司 Personnel position abnormity monitoring method and device
CN112232723B (en) * 2020-12-14 2021-10-22 南京领行科技股份有限公司 Method and device for detecting abnormal behaviors in real time, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102607553A (en) * 2012-03-06 2012-07-25 北京建筑工程学院 Travel track data-based stroke identification method
CN106203505A (en) * 2016-07-10 2016-12-07 北京工业大学 A kind of utilize mobile phone location data to judge user moves the method with resting state
CN106407519A (en) * 2016-08-31 2017-02-15 浙江大学 Modeling method for crowd moving rule
CN107993304A (en) * 2017-11-17 2018-05-04 浙江元亨通信技术股份有限公司 A kind of data processing method, device, equipment and computer-readable recording medium
CN109005515A (en) * 2018-09-05 2018-12-14 武汉大学 A method of the user behavior pattern portrait based on motion track information
CN109615723A (en) * 2018-11-30 2019-04-12 泰华智慧产业集团股份有限公司 Inspection route coverage condition automatic analysis method and system
CN110503032A (en) * 2019-08-21 2019-11-26 中南大学 Individual important place detection method based on monitoring camera track data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102607553A (en) * 2012-03-06 2012-07-25 北京建筑工程学院 Travel track data-based stroke identification method
CN106203505A (en) * 2016-07-10 2016-12-07 北京工业大学 A kind of utilize mobile phone location data to judge user moves the method with resting state
CN106407519A (en) * 2016-08-31 2017-02-15 浙江大学 Modeling method for crowd moving rule
CN107993304A (en) * 2017-11-17 2018-05-04 浙江元亨通信技术股份有限公司 A kind of data processing method, device, equipment and computer-readable recording medium
CN109005515A (en) * 2018-09-05 2018-12-14 武汉大学 A method of the user behavior pattern portrait based on motion track information
CN109615723A (en) * 2018-11-30 2019-04-12 泰华智慧产业集团股份有限公司 Inspection route coverage condition automatic analysis method and system
CN110503032A (en) * 2019-08-21 2019-11-26 中南大学 Individual important place detection method based on monitoring camera track data

Also Published As

Publication number Publication date
CN111340331A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN111340331B (en) Analysis method and system for residence behavior of supervisor in city management work
CN102129442B (en) Distributed database system and data accessing method
CN106790468B (en) Distributed implementation method for analyzing WiFi (Wireless Fidelity) activity track rule of user
CN105654201B (en) Advertisement traffic prediction method and device
US20140351273A1 (en) System and method for searching information
KR101881744B1 (en) Method, computer device and computer readable recording medium for augumatically building/updating hierachical dialogue flow management model for interactive ai agent system
CN105930491A (en) Monitoring data storage method based on time sequence database InfluxDB
CN103646185A (en) Adverse drug reaction (ADR) report quality evaluation system and ADR report quality evaluation method
CN109121094B (en) Pseudo code signaling data preprocessing and trip chain identification method
CN110570113A (en) Work order processing method and system
CN104199945A (en) Data storing method and device
CN103500177A (en) Method and device for counting activated users
CN109947758A (en) A kind of route crash analysis method in Behavior-based control track library
CN110012436B (en) User position determination method, device, equipment and computer readable storage medium
CN104216987A (en) Timestamp-based method for capturing incremental data and supporting delete operation
CN111274270B (en) Statistical information processing and using method of database optimizer and storage device
WO2016206241A1 (en) Data analysis method and apparatus
CN107330629A (en) The large-scale artificial cost monitoring of central enterprise's Power Group enterprise realizes system with analysis
CN111723136A (en) Single-dimensional clustering analysis method for classified and graded treatment of grid events
CN110502424A (en) A kind of performance data processing method of application software, device, system and terminal
CN107220279A (en) The Dynamic Tracking and system of Disaster Event
CN114897345A (en) Method and device for automatically generating index scores based on employee data
CN113220741A (en) Internet advertisement false flow identification method, system, equipment and storage medium
CN106649444B (en) Method and device for CAE database system to acquire CAD data
Cornou et al. Dynamic monitoring of reproduction records for dairy cattle

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
GR01 Patent grant
GR01 Patent grant