CN111340331A - Method and system for analyzing stay behavior of supervisor in city management work - Google Patents

Method and system for analyzing stay behavior of supervisor in city management work Download PDF

Info

Publication number
CN111340331A
CN111340331A CN202010084102.1A CN202010084102A CN111340331A CN 111340331 A CN111340331 A CN 111340331A CN 202010084102 A CN202010084102 A CN 202010084102A CN 111340331 A CN111340331 A CN 111340331A
Authority
CN
China
Prior art keywords
position coordinate
supervisor
sequence
coordinate point
stay
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.)
Granted
Application number
CN202010084102.1A
Other languages
Chinese (zh)
Other versions
CN111340331B (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

Images

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 invention discloses an analysis method and a system for stay behavior of a supervisor in city management work, which relate to the technical field of computer networks and comprise the following steps: setting the maximum allowable time T for the first-place stay of the supervisor, setting the maximum diameter 2R of the area where the first-place stay of the supervisor is located, and setting the preset acquisition frequency of a GPS module in the supervisor patrol 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 the position coordinate points one by one; it is determined whether the supervisor has a stop behavior. This application is through gathering the data of the supervisor position coordinate point of GPS module location in patrolling APP to the supervisor to judge whether the supervisor has a stop action, whether the supervisor has a stop action in the judgement city management work that can be quick, can supervise the supervisor effectively, make the supervisor give full play to the effect.

Description

Method and system for analyzing stay behavior of supervisor in city management work
Technical Field
The invention relates to the technical field of computer networks, in particular to a method and a system for analyzing stay behaviors of supervisors in city management work.
Background
In the process that the country actively promotes the digitization, the refinement and the intellectualization of city management, a supervisor team is established to assist the operation of the digitized city management, a responsible area is specifically defined for each supervisor, the supervisors acquire and report city problems occurring in the responsible areas every day, and the problems existing in the city management can be actively discovered by the mode, fed back to a supervision center in time and dispatched to business departments in time for processing.
Although the setting of a supervisor to assist city management enables problems arising in city management to be discovered and dealt with in a timely manner, but the problem that the supervisors do not strictly carry out patrol according to the specified patrol plan in daily patrol work and often stay in a place for a long time results in that the patrol effect does not reach the expected effect, the function of the supervisors is not fully exerted, and in addition, when the supervisors carry out patrol, the working positions are not fixed and are distributed in each area of the city, the managers are difficult to effectively supervise, wherein, the manager can supervise in real time through the GPS, but the number of supervisors is large, the GPS checks the track of the supervisors to determine whether the supervisors stay for a long time, which not only wastes time, in addition, there is a case of inaccurate judgment, so a method and a system for judging are urgently needed to effectively play the role of a supervisor.
Disclosure of Invention
In view of the above, the invention provides an analysis method and system for a stay behavior of a supervisor in city management work, wherein data of a coordinate point of a position of the supervisor positioned by a GPS module in a supervisor patrol APP is collected, and whether the supervisor has a stay behavior or not is judged, so that whether the supervisor has a stay behavior or not in the city management work can be quickly judged, the supervisor can be effectively supervised, and the supervisor can fully play a role.
The application provides an analysis method for stay behaviors of supervisors in city management work, which comprises the following steps:
setting the maximum allowable time T for the first-place stay of the supervisor, setting the maximum diameter 2R of the area where the first-place stay of the supervisor is located, and setting the preset acquisition frequency of a GPS module in the supervisor patrol 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 the position coordinate points one by one;
judging whether the supervisor has a stopping action: when the distance between any two adjacent position coordinate points is smaller than the maximum diameter 2R within the maximum allowable time T of stopping at one position, judging that the supervisor has a stopping behavior at one position; and when the distance between any two adjacent position coordinate points is greater than the maximum stopping range 2R within the maximum stopping time T, judging that the supervisor does not have a stopping behavior.
Alternatively, the coordinates of the position coordinate point are (x)i,yi,ti) I is a natural number and i is the ith position coordinate point, xiIs the longitude, y, of the ith position coordinate pointiIs the latitude, t, of the ith position coordinate pointiAnd reporting time of the ith position coordinate point.
Optionally, before determining whether the supervisor has a stopping action, the method further includes: according to the time sequence of obtaining the position coordinate points of the supervisor, the obtained position coordinate points of the supervisor are arranged in an ascending order, a first sequence is constructed, the first sequence comprises a plurality of position coordinate points, and each position coordinate point is in one-to-one correspondence with the reporting time.
Optionally, the method further comprises:
constructing a second sequence according to the first sequence;
the coordinate (x) of the position coordinate point obtained earliest from the second sequence0,y0,t0);
Judging whether the second sequence has position coordinate points or not, if not, not having a stopping action, if so, continuously taking the coordinate (x) of the position coordinate point obtained earliest from the second sequencei,yi,ti);
Calculating a position coordinate point (x)0,y0,t0) With a position coordinate point (x)i,yi,ti) The distance D between;
if D is greater than 2R, the position coordinate point (x) is deleted from the second sequence0,y0,t0) While the remaining earliest acquired position coordinate points in the second sequence become new position coordinate points (x)0,y0,t0) (ii) a If D is less than 2R, firstly judging the position coordinate point (x)i,yi,ti) Whether it is the last position coordinate point traversed in the second sequence, and if so, deleting the position coordinate point (x) from the second sequence0,y0,t0) While the remaining earliest acquired position coordinate point becomes the new position coordinate point (x)0,y0,t0) If not, returning the coordinate (x) of the position coordinate point obtained earliest from the second sequence0,y0,t0) After the step (b);
judging whether a coordinate point exists in the first sequence, if not, entering the next step, if so, taking a position coordinate point (x) with the earliest time from the first sequencej,yj,tj) If t isj-t0If the position is less than or equal to T, the position coordinate point (x) is determinedj,yj,tj) Put into the second sequence while simultaneously placing the coordinate point (x)j,yj,tj) From the first sequenceIn deletion, if tj-t0If the value is more than T, entering the next step;
and judging whether only one position coordinate point remains in the second sequence, if so, presenting a stopping behavior, and if not, returning to the step of constructing the second sequence according to the first sequence.
Optionally, a specific method for constructing the second sequence is as follows:
taking the earliest obtained position coordinate point (x) from the first sequence0,y0,t0) Put into the second sequence;
position coordinate point (x)0,y0,t0) Deleting from the first sequence;
judging whether the first sequence has position coordinate points, if the first sequence has no position coordinate points, finishing putting the position coordinate points into the second sequence, and if the first sequence has position coordinate points, taking the position coordinate point (x) obtained earliest from the rest position coordinate points in the first sequencej,yj,tj) If t isj-t0If the position coordinate point is larger than T, the position coordinate point is put into the second sequence, and if T is larger than T, the position coordinate point is put into the second sequencej-t0If the position is less than or equal to T, the position coordinate point (x) is determinedj,yj,tj) Put into a second sequence, position coordinate points (x)j,yj,tj) Delete from the first sequence and return to the location coordinate point (x)0,y0,t0) After the step of deleting from the first sequence.
The system for analyzing stay behaviors of supervisors in city management work comprises the following steps:
the parameter setting module is used for setting the maximum allowable time T for the first-place stay of the supervisor, setting the maximum diameter 2R of the area where the first-place stay of the supervisor is located, and setting the preset acquisition frequency of the GPS module in the supervisor patrol APP;
the system comprises an acquisition module, a reporting module and a processing module, wherein the acquisition module is used for 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 the position coordinate points one by one;
the judging module is used for judging whether the supervisor has a stopping 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 a stopping behavior; when the distance between any two adjacent position coordinate points is greater than the maximum range 2R of one stay within the maximum allowable time T, the supervisor is judged not to have one stay behavior.
Optionally, the preset acquisition frequency is 10 to 20 acquisitions in 1 minute.
Optionally, one residence maximum allowable time T is from 20 minutes to 30 minutes.
Optionally, the maximum extent of one dwell is a circular area of radius R.
Compared with the prior art, the method and the system for analyzing the stay behavior of the supervisor in the city management work provided by the invention at least realize the following beneficial effects:
according to the analysis method and system for the stay behavior of the supervisor in the city management work, the position coordinate point of the supervisor is positioned in real time by the GPS module in the supervision APP, 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 the stay behavior or not, the problem of supervision and supervision on the supervisor is solved, the check of the supervisor is more comprehensive and accurate, and the supervisor can fully play a role.
Of course, it is not necessary for any product in which the present invention is practiced to achieve all of the above-described technical effects simultaneously.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, 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 invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart illustrating an analysis method for a stay behavior of a supervisor in city management work according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a method and a system for analyzing stay behavior of a supervisor in city management work according to an embodiment of the present application to determine whether the supervisor has a stay behavior;
fig. 3 is a flowchart illustrating a second sequence of acquiring a supervisor stay behavior analysis method and system in city management work according to an embodiment of the present application;
FIG. 4 is a flow chart of an analysis system for the stay behavior of a supervisor in city management work according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating a maximum stopping range of a supervisor in city management work according to an analysis method and system for supervisor stopping behavior in the embodiment of the present application.
Detailed Description
Various exemplary embodiments of the present invention 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, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those 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 particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
The following detailed description is to be read in connection with the drawings and the detailed description.
Example one
Fig. 1 is a flowchart of an analysis method for a stay behavior of a supervisor in city management work according to an embodiment of the present application, please refer to fig. 1, and the analysis method for the stay behavior of the supervisor in city management work according to the present application includes:
step 101, setting the maximum allowable time T for the first-place stay of the supervisor, setting the maximum diameter 2R of the area where the first-place stay of the supervisor is located, and setting the preset acquisition frequency of a GPS module in the patrol APP of the supervisor;
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 the position coordinate points one by one;
step 103, judging whether the supervisor has a stopping behavior: when the distance between any two adjacent position coordinate points is smaller than the maximum diameter 2R within the maximum allowable time T of stopping at one position, judging that the supervisor has a stopping behavior at one position; and when the distance between any two adjacent position coordinate points is greater than the maximum stopping range 2R within the maximum stopping time T, judging that the supervisor does not have a stopping behavior.
Specifically, the one-stop is a behavior phenomenon that a supervisor stays near a certain position for a time longer than a certain time in daily patrol work of city management, a manager sets a maximum allowable time for the one-stop and sets a maximum range for the one-stop according to tasks in a patrol area served by the supervisor, coordinates of a position coordinate point where the supervisor stays are obtained through a GPS module in a patrol APP on a mobile phone of the supervisor, reporting times corresponding to the position coordinate points one to one are obtained at the same time, and whether the supervisor has the one-stop behavior is further judged according to the coordinates of the position coordinate points and the corresponding reporting times.
It should be noted that the system collects data of a GPS module in the patrol APP of the supervisor by presetting a data collection frequency, and stores and waits for processing the collected data. The stop mentioned in the present application refers to the fact that a supervisor stops in a preset area range, one is not a fixed point, but a circular area with a radius R around a set point, for example, a stop in the area exceeding a maximum allowable time T indicates that one stop occurs.
According to the analysis method and system for the stay behavior of the supervisor in the city management work, the position coordinate point of the supervisor is positioned in real time by the GPS module in the supervisor patrol APP, 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 the stay behavior or not, the problem of supervision and supervision on the supervisor is solved, the check of the supervisor is more comprehensive and accurate, and the supervisor can fully play a role.
Alternatively, the coordinates of the position coordinate point are (x)i,yi,ti) I is a natural number and i is the ith position coordinate point, xiIs the longitude, y, of the ith position coordinate pointiIs the latitude, t, of the ith position coordinate pointiAnd reporting time of the ith position coordinate point.
Specifically, the coordinate information of the position coordinate point of the supervisor includes a longitude and a latitude of the position where the supervisor is located, and a time corresponding to the time when the position coordinate point of the supervisor is obtained.
Optionally, before the step 103 determining whether the supervisor has a stopping behavior, the method further includes: according to the time sequence of obtaining the position coordinate points of the supervisor, the obtained position coordinate points of the supervisor are arranged in an ascending order, a first sequence is constructed, the first sequence comprises a plurality of position coordinate points, and each position coordinate point is in one-to-one correspondence with the reporting time.
Specifically, in daily working hours, a supervisor starts working from the morning, a GPS module in a patrol APP in a mobile phone starts positioning position coordinate points of the supervisor and transmits the position coordinate points into a system until the supervisor goes off duty at night, the positioning of the GPS module in the patrol APP is finished, the position coordinate points recorded during the working period of the supervisor are arranged in an ascending order according to corresponding reporting time, and a first sequence is constructed, wherein the form of the first sequence is shown in table 1.
TABLE 1 first sequence order Table
(x0,y0,t0) (x1,y1,t1) (x2,y2,t2) (xi,yi,ti) (xn,yn,tn)
Wherein the position coordinate point (x)0,y0,t0) Position coordinate point (x) which is the earliest position coordinate point in the supervisor's daily work hoursn,yn,tn) The latest positioning position coordinate point in the daily working time of the supervisor is shown, and 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 determining whether a supervisor has a stop behavior in the method and system for analyzing a stop behavior of a supervisor in city management work according to an embodiment of the present application, please refer to fig. 2, which further includes:
s101, constructing a second sequence according to the first sequence;
step S102, the coordinate (x) of the position coordinate point obtained earliest in the second sequence0,y0,t0);
Step S103, judging whether position coordinate points exist in the second sequence or not, if not, no stopping action occurs, and if so, continuously taking the coordinate (x) of the position coordinate point which is obtained earliest from the second sequencei,yi,ti);
Step S104, calculating a position coordinate point (x)0,y0,t0) With a position coordinate point (x)i,yi,ti) The distance D between;
step S105, if D is larger than 2R, deleting the position coordinate point (x) from the second sequence0,y0,t0) While the remaining earliest acquired position coordinate points in the second sequence become new position coordinate points (x)0,y0,t0) (ii) a If D is less than 2R, firstly judging the position coordinate point (x)i,yi,ti) Whether it is the last position coordinate point traversed in the second sequence, and if so, deleting the position coordinate point (x) from the second sequence0,y0,t0) While the remaining earliest acquired position coordinate point becomes the new position coordinate point (x)0,y0,t0) If not, returning the coordinate (x) of the position coordinate point obtained earliest from the second sequence0,y0,t0) After step (S) and returning to step (S103);
step S106, judging whether coordinate points exist in the first sequence, if not, entering the next step and step S107, if so, taking out a position coordinate point (x) with the earliest time from the first sequencej,yj,tj) If t isj-t0If the position is less than or equal to T, the position coordinate point (x) is determinedj,yj,tj) Put into the second sequence while simultaneously placing the coordinate point (x)j,yj,tj) Deleted from the first sequence if tj-t0If the value is more than T, the next step and step S107 are carried out;
and S107, judging whether only one position coordinate point remains in the second sequence, if so, determining that one stopping action exists, and 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, according to the preset maximum stopping range and the maximum allowable time, each position coordinate point in the second sequence is traversed through a computer technology to judge whether all supervisors have a stopping behavior in the city management work in detail and rapidly, the judgment can be made in a time-saving and labor-saving mode, if the supervisors have the stopping behavior, the supervisors can be supervised and reminded in time, the functions of the supervisors are fully played, and the efficiency of the city management is improved.
Optionally, fig. 3 is a flowchart of acquiring a second sequence of the analysis method and the system for the stay behavior of the supervisor in the city management work provided in the embodiment of the present application, please refer to fig. 3, and a specific method for constructing the second sequence is as follows:
step S201, the position coordinate point (x) obtained earliest in the first sequence0,y0,t0) Put into the second sequence;
step S202, position coordinate point (x)0,y0,t0) Deleting from the first sequence;
step S203, judging whether position coordinate points exist in the first sequence, if no position coordinate point exists in the first sequence, ending the placing of the position coordinate point into the second sequence, and if position coordinate points exist in the first sequence, taking the earliest acquired position coordinate point (x) from the rest position coordinate points in the first sequencej,yj,tj) If t isj-t0If the position coordinate point is larger than T, the position coordinate point is put into the second sequence, and if T is larger than T, the position coordinate point is put into the second sequencej-t0If the position is less than or equal to T, the position coordinate point (x) is determinedj,yj,tj) Put into a second sequence, position coordinate points (x)j,yj,tj) Delete from the first sequence and return to the coordinate point (x)0,y0,t0) After the step of deleting from the first sequence and returning to step S202.
Specifically, each time a position coordinate point is placed in the second sequence, the position coordinate point is correspondingly deleted from the first sequence, 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 stay, 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
(x0,y0,t0) (x1,y1,t1) (x2,y2,t2) (xi,yi,ti)
TABLE 3 first sequence pruning order table
(xi+1,yi+1,ti+1) (xn,yn,tn)
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 a stay behavior of a supervisor in city management work according to an embodiment of the present application, please refer to fig. 4, and the system for analyzing a stay behavior of a supervisor in city management work according to the present application includes:
the parameter setting module 201 is used for setting the maximum allowable time T for the first-place stay of the supervisor, setting the maximum diameter 2R of the area where the first-place stay of the supervisor is located, and setting the preset acquisition frequency for the supervisor to inspect the GPS module in the APP;
the acquisition module 202 is used for 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 the position coordinate points one by one;
a judging module 203, configured to judge whether the supervisor has a stopping 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 a stopping behavior; when the distance between any two adjacent position coordinate points is greater than the maximum range 2R of one stay within the maximum allowable time T, the supervisor is judged not to have one stay behavior.
The invention fully utilizes the GPS module in the patrolling APP of the supervisor, collects the data in the GPS module set by the system, and combines the set one-stop behavior, thereby effectively judging whether the supervisor has one-stop behavior in the patrolling work.
Optionally, the preset acquisition frequency is 10 to 20 acquisitions in 1 minute.
Specifically, the preset acquisition frequency is determined according to the area size of the responsible region divided by the supervisor, and when the area size of the responsible region divided by the supervisor is larger, the preset acquisition frequency is larger; when the area of the responsible region divided by the supervisor is small, the preset acquisition frequency is small. In the practical application process, the collection frequency may be set to 10 times in 1 minute, or 15 times in 1 minute, etc., and the application does not specifically limit this, and the user may set the frequency according to the practical requirement.
Optionally, one residence maximum allowable time T is from 20 minutes to 30 minutes.
Specifically, the maximum allowable time for one stay depends on the area size of the area for which the supervisor is responsible, and is referred to the normal time required for the supervisor to reach from one working point to another. In the practical application process, the maximum allowable time of stay at one place can be set according to the working property of a supervisor, and the specific numerical value can be set according to the practical situation.
Optionally, fig. 5 is a schematic diagram of a maximum stopping range of a method and a system for analyzing a stopping behavior of a supervisor in city management work according to an embodiment of the present application, please refer to fig. 5, where the maximum stopping range is a circular area with a radius R.
Specifically, the maximum range of one stop is a circular area with a radius R, that is, the distance between two adjacent position coordinate points in the maximum range of one stop cannot exceed the diameter of the circular area.
In summary, the analysis method and system with one stay behavior provided by the invention at least achieve the following beneficial effects:
according to the analysis method and system for the stay behavior of the supervisor in the city management work, the position coordinate point of the supervisor is positioned in real time by the GPS module in the supervision APP, 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 the stay behavior or not, the problem of supervision and supervision on the supervisor is solved, the check of the supervisor is more comprehensive and accurate, and the supervisor can fully play a role.
Although some specific embodiments of the present invention have been described in detail by way of examples, it should be understood by those skilled in the art that the above examples are for illustrative purposes only and are not intended to limit the scope of the present invention. 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 invention. The scope of the invention is defined by the appended claims.

Claims (9)

1. An analysis method for stay behaviors of supervisors in city management work is characterized by comprising the following steps:
setting the maximum allowable time T for the first-place stay of the supervisor, setting the maximum diameter 2R of the area where the first-place stay of the supervisor is located, and setting the preset acquisition frequency of a GPS module in the supervisor patrol APP;
acquiring data of a GPS module in a patrol APP of a supervisor according to the preset acquisition frequency, and acquiring position coordinate points of the supervisor and reporting time corresponding to the position coordinate points one by one;
judging whether the supervisor has a stopping action: when the distance between any two adjacent position coordinate points is smaller than the maximum diameter 2R within the maximum allowable time T of stopping at one position, judging that the supervisor has a stopping behavior; and when the distance between any two adjacent position coordinate points is greater than the maximum range 2R of the one-stop within the maximum allowable time T of the one-stop, judging that the supervisor does not have one-stop behavior.
2. The method of analyzing stay behavior of supervisor in city management work as claimed in claim 1, wherein the coordinates of said position coordinate point are (x)i,yi,ti) I is a natural number and i is the ith position coordinate point, xiIs the longitude, y, of the ith position coordinate pointiIs the latitude, t, of the ith position coordinate pointiWhen reporting the ith position coordinate pointAnd (3) removing the solvent.
3. The method for analyzing stay behavior of supervisors in city management work according to claim 1, wherein before determining whether supervisors have a stay behavior, the method further comprises: according to the time sequence of obtaining the position coordinate points of the supervisor, the obtained position coordinate points of the supervisor are arranged in an ascending order, a first sequence is constructed, the first sequence comprises a plurality of position coordinate points, and the position coordinate points are respectively in one-to-one correspondence with the reporting time.
4. The method for analyzing stay behavior of supervisors in city management work according to claim 3, further comprising:
constructing a second sequence according to the first sequence;
the coordinate (x) of the position coordinate point obtained earliest from the second sequence0,y0,t0);
Judging whether the second sequence has position coordinate points or not, if not, not having a stopping action, if so, continuously taking the coordinate (x) of the position coordinate point obtained earliest from the second sequencei,yi,ti);
Calculating a position coordinate point (x)0,y0,t0) With a position coordinate point (x)i,yi,ti) The distance D between;
if the D is greater than the 2R, deleting the position coordinate point (x) from the second sequence0,y0,t0) While the remaining earliest acquired position coordinate points in the second sequence become new position coordinate points (x)0,y0,t0) (ii) a If the D is less than the 2R, firstly judging a position coordinate point (x)i,yi,ti) Whether it is the last position coordinate point traversed in the second sequence, and if so, deleting the position coordinate point (x) from the second sequence0,y0,t0) While the remaining earliest acquired position coordinate point becomes the new position coordinate point (x)0,y0,t0) If not, returning the coordinate (x) of the position coordinate point obtained earliest from the second sequence0,y0,t0) After the step (b);
judging whether a coordinate point exists in the first sequence, if not, entering the next step, if so, taking a position coordinate point (x) with the earliest time from the first sequencej,yj,tj) If t isj-t0Less than or equal to T, the position coordinate point (x) is determinedj,yj,tj) Put into the second sequence while simultaneously placing the coordinate point (x)j,yj,tj) Deleted from the first sequence if tj-t0If the T is larger than the T, entering the next step;
and judging whether only one position coordinate point remains in the second sequence, if so, determining that one stopping action exists, and if not, returning to the step of constructing the second sequence according to the first sequence.
5. The method for analyzing the stay behavior of the supervisor in the city management work according to claim 4, wherein the specific method for constructing the second sequence is as follows:
taking the earliest obtained position coordinate point (x) from the first sequence0,y0,t0) Put into the second sequence;
position coordinate point (x)0,y0,t0) Deleting from the first sequence;
judging whether the first sequence has position coordinate points, if the first sequence has no position coordinate points, finishing putting the position coordinate points into the second sequence, and if the first sequence has position coordinate points, taking the position coordinate point (x) obtained earliest from the rest position coordinate points in the first sequencej,yj,tj) If t isj-t0If the position coordinate point is larger than the T, the position coordinate point is put into the second sequence, and if the T is larger than the T, the position coordinate point is put into the second sequencej-t0Less than or equal to T, the position coordinate point (x) is determinedj,yj,tj) Put into a second sequence, position coordinate points (x)j,yj,tj) Delete from the first sequence and return to the location coordinate point (x)0,y0,t0) After the step of deleting from the first sequence.
6. A system for analyzing stay behavior of a supervisor in city management works according to any of claims 1 to 5, characterized in that the system comprises:
the parameter setting module is used for setting the maximum allowable time T for the first-place stay of the supervisor, setting the maximum diameter 2R of the area where the first-place stay of the supervisor is located, and setting the preset acquisition frequency of the GPS module in the supervisor patrol APP;
the acquisition module is used for acquiring data of a GPS module in a patrol APP of a supervisor according to the preset acquisition frequency, and acquiring position coordinate points of the supervisor and reporting time corresponding to the position coordinate points one by one;
the judging module is used for judging whether the supervisor has a stopping 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 a stopping behavior; and when the distance between any two adjacent position coordinate points is greater than the maximum range 2R of the stop in one place within the maximum allowable time T, judging that the supervisor does not have the stop in one place.
7. The system for analyzing the stay behavior of the supervisor in the city management work as claimed in claim 6, wherein the preset collection frequency is 10 to 20 times of collection for 1 minute.
8. The system for analyzing stay behavior of supervisors in city management work according to claim 6, wherein the maximum allowable stay time T is 20-30 minutes.
9. The system for analyzing stay behavior of supervisors in city management work according to claim 6, wherein the maximum range of the stay is a circular area with 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 true CN111340331A (en) 2020-06-26
CN111340331B 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)

Cited By (2)

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

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

Cited By (2)

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

Also Published As

Publication number Publication date
CN111340331B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
Marcum et al. A nonmapping technique for studying habitat preferences
CN111340331A (en) Method and system for analyzing stay behavior of supervisor in city management work
CN111539663B (en) Comprehensive law enforcement management and control system and method
CN108022428B (en) Vehicle identification method and device
CN110796758A (en) Forest protection inspection method based on mobile GIS
KR20150009798A (en) System for online monitering individual information and method of online monitering the same
CN110570113A (en) Work order processing method and system
CN112115843A (en) Facility agriculture land daily monitoring and supervision method
CN114356940A (en) Power grid data management platform and method
CN116205396A (en) Data panoramic monitoring method and system based on data center
CN109992604B (en) Land pursuit and seizing informatization system and seizing method
CN110012436B (en) User position determination method, device, equipment and computer readable storage medium
CN105022771A (en) GIS based digital law enforcement subsystem and operation method thereof
CN112288262A (en) City management flat automatic dispatching method based on supervision grid and business grid
CN110111904B (en) Processing method and device for emergency operation evaluation data
CN112699264A (en) Wind control management method and system based on chat records
CN101155380B (en) Integrating system and method for wireless network test data
CN107220279B (en) Dynamic tracking method and system for disaster event
CN114897345A (en) Method and device for automatically generating index scores based on employee data
CN113469584B (en) Risk management method and device for business service operation
CN115187011A (en) Social treatment grid examination technology system based on Gaode map
US9047384B1 (en) System and method for automatically determining purpose information for travel behavior
CN113918551A (en) Positioning abnormal point identification method, system, medium and electronic equipment
CN114297522A (en) Display method and device of power grid station monitoring data and electronic equipment
CN111209330A (en) Method and system for identifying consistent actor

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