CN108122291B  Mobile phone inspection and attendance checking method, system and device based on twodimensional code and GPS  Google Patents
Mobile phone inspection and attendance checking method, system and device based on twodimensional code and GPS Download PDFInfo
 Publication number
 CN108122291B CN108122291B CN201711440450.2A CN201711440450A CN108122291B CN 108122291 B CN108122291 B CN 108122291B CN 201711440450 A CN201711440450 A CN 201711440450A CN 108122291 B CN108122291 B CN 108122291B
 Authority
 CN
 China
 Prior art keywords
 inspection
 inspector
 path length
 gps
 attendance
 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
Links
 238000007689 inspection Methods 0.000 title claims abstract description 168
 238000004364 calculation method Methods 0.000 claims description 27
 230000002159 abnormal effect Effects 0.000 claims description 23
 229920001276 Ammonium polyphosphate Polymers 0.000 description 5
 238000005516 engineering process Methods 0.000 description 3
 230000000875 corresponding Effects 0.000 description 2
 230000000694 effects Effects 0.000 description 2
 230000003111 delayed Effects 0.000 description 1
 238000010408 sweeping Methods 0.000 description 1
Classifications

 G—PHYSICS
 G07—CHECKINGDEVICES
 G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
 G07C1/00—Registering, indicating or recording the time of events or elapsed time, e.g. timerecorders for work people
 G07C1/20—Checking timed patrols, e.g. of watchman

 G—PHYSICS
 G01—MEASURING; TESTING
 G01S—RADIO DIRECTIONFINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCEDETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
 G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
 G01S19/38—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
 G01S19/39—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting timestamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
 G01S19/42—Determining position

 H—ELECTRICITY
 H04—ELECTRIC COMMUNICATION TECHNIQUE
 H04M—TELEPHONIC COMMUNICATION
 H04M1/00—Substation equipment, e.g. for use by subscribers
 H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
 H04M1/724—User interfaces specially adapted for cordless or mobile telephones
 H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
Abstract
The invention discloses a mobile phone inspection and attendance checking method, system and device based on twodimensional codes and a GPS (global positioning system), wherein the method comprises the following steps: determining the standard path length of the routing inspection route; recording GPS positioning data when a first inspector scans the attendance point twodimensional code; calculating the path length of the first inspector for the current inspection according to the GPS data of the first inspector; calculating the average difference value of the path lengths of the first patroller patrolling according to the path length of the first patroller patrolling at the time, the standard path length and the historical path length of the first patroller patrolling on the patrolling route; the average difference value of the path length of the first inspector during the current inspection is differed from the average difference value of the path length of the first inspector during the previous inspection on the route, so that a first difference value is obtained; and judging whether the first difference value belongs to a first set numerical range. The invention is convenient for inspectors to use. The invention can be widely applied to the technical field of attendance checking.
Description
Technical Field
The invention relates to the technical field of mobile attendance checking, in particular to a mobile phone inspection attendance checking method, system and device based on a twodimensional code and a GPS.
Background
At present, some large buildings or shopping malls generally arrange the property personnel to patrol. At present, some property management companies set a plurality of attendance points on an inspection route, and the attendance method is that an inspector opens a mobile phone to scan a twodimensional code of the attendance point every time the inspector passes through one attendance point, and information is stored in the mobile phone or uploaded to a server. However, these twodimensional codes are merely stickers and can be easily copied by inspectors. Once these twodimensional codes are duplicated by the inspector, the attendance point looks like a dummy, and the inspector can use the duplicated twodimensional codes to check attendance at any time and any place.
Therefore, a solution is proposed, in which a picture with a time watermark is uploaded on the basis of the original code scanning attendance scheme.
However, the scheme has the following problems that the pictures shot by the mobile phone are large at present, if the pictures meet places with poor signals, the uploading time of the pictures is long, the work of inspectors is delayed, and the mobile phone is inconvenient to use.
Disclosure of Invention
To solve the above technical problems, a first object of the present invention is to: the convenient mobile phone inspection and attendance checking method based on the twodimensional code and the GPS is provided.
A second object of the present invention is to: the mobile phone inspection and attendance system based on the twodimensional code and the GPS is convenient to use.
A third object of the present invention is to: a convenient mobile phone inspection attendance device based on twodimensional codes and a GPS is provided.
The first technical scheme adopted by the invention is as follows:
a mobile phone inspection attendance checking method based on twodimensional codes and a GPS comprises the following steps:
determining the standard path length of the routing inspection route;
recording GPS positioning data when a first inspector scans the attendance point twodimensional code;
calculating the path length of the first inspector for the current inspection according to the GPS data of the first inspector;
calculating the average difference value of the path lengths of the first patroller patrolling according to the path length of the first patroller patrolling at the time, the standard path length and the historical path length of the first patroller patrolling on the patrolling route;
the average difference value of the path length of the first inspector during the current inspection is differed from the average difference value of the path length of the first inspector during the previous inspection on the route, so that a first difference value is obtained;
and judging whether the first difference value belongs to a first set numerical range, if so, judging that the current inspection state of the first inspector is normal, and otherwise, judging that the current inspection state of the first inspector is abnormal.
Further, the calculation formula of the average difference value of the routing inspection path lengths is as follows:
D_{mn}＝((L_{m1}L)+(L_{m2}L)+…+(L_{mn}L))/n；
wherein D is_{mn}Average difference in path length for the nth inspection of the mth inspector, L_{mn}The path length of the nth routing inspection for the mth inspector is shown, n represents the number of routing inspection, and L is the standard path length.
Further, the first set numerical range is: [ 0.1D_{m(n1)}，0.1D_{m(n1)}]。
Further, the method also comprises the following steps:
calculating the average difference value of the path lengths of the patrolling of the 2 nd to the mth patrollers;
calculating the average value of the average difference values of the path lengths of the m inspectors during the current inspection according to the average difference values of the path lengths of the 1 st to the mth inspectors during the current inspection;
the average value of the average difference values of the path lengths of the m inspectors during the current inspection is differed from the average value of the average difference values of the path lengths of the m inspectors during the previous inspection to obtain a second difference value;
and judging whether the second difference value belongs to a second set numerical range, if so, judging that the current inspection state of the m inspectors is normal, and otherwise, judging that the current inspection state of the m inspectors is abnormal.
Further, the calculation formula of the average value of the average difference values of the routing inspection path lengths is as follows:
T_{mn}＝(D_{1n}+D_{2n}+…+D_{mn})/m；
wherein, T_{mn}The average value of the average difference of the path lengths of the nth inspection of the m inspectors is obtained.
Further, the second range of values is: [ 0.1T_{m(n1)}，0.1T_{m(n1)}]。
Further, the method also comprises the following steps:
determining standard GPS positioning data of attendance points in the routing inspection route;
and calculating whether the distance between the first inspector and the actual position of the attendance point when the first inspector scans the twodimensional code of the attendance point belongs to a third set value range according to the standard GPS positioning data and the GPS data of the first inspector, if so, judging that the current inspection state of the first inspector is normal, otherwise, judging that the current inspection state of the first inspector is abnormal.
Further, the third set value range is: 0X meters, wherein X is a constant and belongs to [20, 500 ].
The second technical scheme adopted by the invention is as follows:
attendance system is patrolled and examined to cellphone based on twodimensional code and GPS includes:
the standard path length determining module is used for determining the standard path length of the routing inspection route;
the GPS positioning data recording module is used for recording GPS positioning data when the first inspector scans the attendance point twodimensional code;
the first calculation module is used for calculating the path length of the first inspector for the current inspection according to the GPS data of the first inspector;
the second calculation module is used for calculating the average difference value of the path lengths of the first patroller patrolling according to the path length of the first patroller patrolling at this time, the standard path length and the historical path length of the first patroller patrolling on the patrolling route;
the third calculation module is used for subtracting the average difference value of the path length of the first inspector during the current inspection from the average difference value of the path length of the first inspector during the previous inspection on the route to obtain a first difference value;
and the judging module is used for judging whether the first difference value belongs to a first set numerical range, if so, judging that the current inspection state of the first inspector is normal, otherwise, judging that the current inspection state of the first inspector is abnormal.
The third technical scheme adopted by the invention is as follows:
attendance device is patrolled and examined to cellphone based on twodimensional code and GPS includes:
a memory for storing a program;
and the processor is used for loading the program to execute the mobile phone inspection and attendance checking method based on the twodimensional code and the GPS.
The method has the beneficial effects that: determining the standard path length of the routing inspection route; recording GPS positioning data when a first inspector scans the attendance point twodimensional code; calculating the path length of the first inspector for the current inspection according to the GPS data of the first inspector; calculating the average difference value of the path lengths of the first patroller patrolling according to the path length of the first patroller patrolling at the time, the standard path length and the historical path length of the first patroller patrolling on the patrolling route; the average difference value of the path length of the first inspector during the current inspection is differed from the average difference value of the path length of the first inspector during the previous inspection on the route, so that a first difference value is obtained; the method combines twodimensional codes and GPS positioning technology to realize the calculation of the attendance path of the inspector, and judges whether the inspection route of the first inspector is abnormal or not by matching the standard path length of the inspection route and the historical path length of the first inspector inspecting the inspection route; because the positions of the mobile phone of the inspector and the attendance point are generally fixed and unchangeable, namely the factors influencing the GPS signals are basically unchangeable, the routing length of the first inspector is the same as or close to the routing length of the last inspection, and by utilizing the characteristic, the method can judge whether the first inspector inspects according to the inspection route or not more accurately by calculating the average difference value of the routing lengths of the first inspects and comparing the average difference value with the average difference value of the last inspection, and the method only needs to scan the twodimensional code without uploading the attendance picture, so the inspector is very convenient to use.
The system of the invention has the advantages that: the system is combined with twodimensional codes and GPS positioning technology to realize the calculation of the patrol checking path of the inspector, and judges whether the patrol checking path of the first inspector is abnormal or not by matching the standard path length of the patrol checking path and the historical path length of the first inspector patrolling on the patrol checking path; because the position of patroller's cellphone and attendance point is generally fixed unchangeable, that is to say that the factor that influences the GPS signal is unchangeable basically, consequently the path length of patrolling and examining of first patroller is the same with the path length of patrolling and examining last time or is close, consequently utilize this characteristics, this system is through calculating the average difference of the path length of patrolling and examining and comparing it with the average difference of patrolling and examining last time, can judge comparatively accurately whether first patroller patrols and examines according to patrolling and examining the route, and because this system only need scan the twodimensional code and need not to upload the attendance photo, so patroller uses very conveniently.
The device of the invention has the beneficial effects that: the mobile phone inspection attendance checking method comprises a processor and a memory, wherein the processor is used for loading a program in the memory so as to execute the mobile phone inspection attendance checking method based on the twodimensional code and the GPS. The device combines twodimensional codes and GPS positioning technology to realize the calculation of the attendance paths of the inspectors, and judges whether the inspection path of the first inspector is abnormal or not by matching the standard path length of the inspection path and the historical path length of the first inspector inspecting on the inspection path; because the position of patroller's cellphone and attendance point is generally fixed unchangeable, that is to say that the factor that influences the GPS signal is unchangeable basically, consequently the path length of patrolling and examining of first patroller is the same with the path length of patrolling and examining last time or is close, utilize this characteristics, this device is through calculating the average difference of the path length of patrolling and examining and comparing it with the average difference of patrolling and examining last time, can judge comparatively accurately whether first patroller patrols and examines according to patrolling and examining the route, and because this device only need scan the twodimensional code and need not to upload the attendance photo, so patroller uses very conveniently.
Drawings
FIG. 1 is a flow chart of a mobile phone inspection and attendance checking method based on twodimensional codes and a GPS;
fig. 2 is a flowchart of a specific embodiment of the mobile phone inspection and attendance checking method based on the twodimensional code and the GPS.
Detailed Description
Referring to fig. 1, a mobile phone inspection and attendance checking method based on a twodimensional code and a GPS comprises the following steps:
determining the standard path length of the routing inspection route;
recording GPS positioning data when a first inspector scans the attendance point twodimensional code;
calculating the path length of the first inspector for the current inspection according to the GPS data of the first inspector;
calculating the average difference value of the path lengths of the first patroller patrolling according to the path length of the first patroller patrolling at the time, the standard path length and the historical path length of the first patroller patrolling on the patrolling route;
the average difference value of the path length of the first inspector during the current inspection is differed from the average difference value of the path length of the first inspector during the previous inspection on the route, so that a first difference value is obtained;
and judging whether the first difference value belongs to a first set numerical range, if so, judging that the current inspection state of the first inspector is normal, and otherwise, judging that the current inspection state of the first inspector is abnormal.
Further, as a preferred embodiment, the calculation formula of the average difference of the routing lengths of the routing inspection is as follows:
D_{mn}＝((L_{m1}L)+(L_{m2}L)+…+(L_{mn}L))/n；
wherein D is_{mn}Average difference in path length for the nth inspection of the mth inspector, L_{mn}The path length of the nth routing inspection for the mth inspector is shown, n represents the number of routing inspection, and L is the standard path length.
In a further preferred embodiment, the first set value range is: [ 0.1D_{m(n1)}，0.1D_{m(n1)}]。
Further as a preferred embodiment, the method further comprises the following steps:
calculating the average difference value of the path lengths of the patrolling of the 2 nd to the mth patrollers;
calculating the average value of the average difference values of the path lengths of the m inspectors during the current inspection according to the average difference values of the path lengths of the 1 st to the mth inspectors during the current inspection;
the average value of the average difference values of the path lengths of the m inspectors during the current inspection is differed from the average value of the average difference values of the path lengths of the m inspectors during the previous inspection to obtain a second difference value;
and judging whether the second difference value belongs to a second set numerical range, if so, judging that the current inspection state of the m inspectors is normal, and otherwise, judging that the current inspection state of the m inspectors is abnormal.
Further, as a preferred embodiment, the calculation formula of the average value of the average difference values of the routing inspection path lengths is:
wherein, T_{mn}＝(D_{1n}+D_{2n}+…+D_{mn})/m；
T_{mn}The average difference value of the path length of the nth inspection of the m inspectors is the average value, and m is the number of the inspectors.
Further as a preferred embodiment, the second range of values is: [ 0.1T_{m(n1)}，0.1T_{m(n1)}]。
Further as a preferred embodiment, the method further comprises the following steps:
determining standard GPS positioning data of attendance points in the routing inspection route;
and calculating whether the distance between the first inspector and the actual position of the attendance point when the first inspector scans the twodimensional code of the attendance point belongs to a third set value range according to the standard GPS positioning data and the GPS data of the first inspector, if so, judging that the current inspection state of the first inspector is normal, otherwise, judging that the current inspection state of the first inspector is abnormal.
Further preferably, the third set value range is: 0X meters, wherein X is a constant and belongs to [20, 500 ].
The mobile phone inspection and attendance system based on the twodimensional code and the GPS corresponding to the method shown in the figure 1 comprises the following steps:
the standard path length determining module is used for determining the standard path length of the routing inspection route;
the GPS positioning data recording module is used for recording GPS positioning data when the first inspector scans the attendance point twodimensional code;
the first calculation module is used for calculating the path length of the first inspector for the current inspection according to the GPS data of the first inspector;
the second calculation module is used for calculating the average difference value of the path lengths of the first patroller patrolling according to the path length of the first patroller patrolling at this time, the standard path length and the historical path length of the first patroller patrolling on the patrolling route;
the third calculation module is used for subtracting the average difference value of the path length of the first inspector during the current inspection from the average difference value of the path length of the first inspector during the previous inspection on the route to obtain a first difference value;
and the judging module is used for judging whether the first difference value belongs to a first set numerical range, if so, judging that the current inspection state of the first inspector is normal, otherwise, judging that the current inspection state of the first inspector is abnormal.
The mobile phone inspection and attendance checking device based on the twodimensional code and the GPS corresponding to the method shown in the figure 1 comprises the following components:
a memory for storing a program;
and the processor is used for loading the program to execute the mobile phone inspection and attendance checking method based on the twodimensional code and the GPS.
The invention is further described with reference to the drawings and the specific examples.
As shown in fig. 2, the mobile phone inspection and attendance checking method based on the twodimensional code and the GPS comprises the following steps:
A. and determining the standard path length of the routing inspection route. Generally, one routing inspection route at least comprises two attendance points, and twodimensional codes are pasted in the attendance points. In some embodiments, the standard path length of this step may be calculated by measuring GPS coordinates of each attendance point, if the GPS coordinates of attendance point a are (XA, YA) and the GPS coordinates of attendance point B are (XB, YB), the distance between attendance point a and attendance point B may be calculated by a coordinate distance formula, and the distance between AB is equal to the distance between attendance point a and attendance point BThe distance obtained is the standard path length L. In other embodiments, one inspection route includes a plurality of attendance points, for example, an attendance point a, an attendance point B, and an attendance point C in sequence, and the standard path length L may be obtained by adding the distance between the points AB and BC.
B. And recording GPS positioning data when the first inspector scans the twodimensional code of the attendance point. When a first inspector scans the twodimensional code of a certain attendance point, the mobile phone of the first inspector can trigger the APP to call the GPS interface to acquire the current position data, and the acquired GPS data can be stored in the local APP of the mobile phone or uploaded to the server through a mobile phone network. In some embodiments, the APP may be WeChat, Paibao, or other APP with code scanning and network communication capabilities.
C. And calculating the path length of the first inspector for the current inspection according to the GPS data of the first inspector. The APP or the server of the mobile phone can calculate the position between two points according to the GPS positioning data generated by the first inspector when the two attendance points scan the twodimensional code. The calculation method can adopt a distance formula between two points for calculation.
D. And calculating the average difference value of the path lengths of the first patroller patrolling according to the path length of the first patroller patrolling this time, the standard path length and the historical path length (namely the path length of the first patroller patrolling each time on the patrolling route) of the first patroller patrolling on the patrolling route.
The calculation formula of the average difference value of the routing inspection path lengths is as follows:
D_{mn}＝((L_{m1}L)+(L_{m2}L)+…+(L_{mn}L))/n；
D_{mn}average difference in path length for the nth inspection of the mth inspector, L_{mn}The path length of the nth inspection for the mth inspector is shown, and n represents the number of times of inspection. The main meaning of the formula is to calculate the difference between the path length of each inspection and the standard path length, and average the difference of multiple historical inspections, thereby reducing the system error. In some embodiments L_{mn}And the path length of the nth inspection for the mth inspector refers to the distance between two attendance points calculated according to the GPS data of the mth inspector. In other embodiments, the path length refers to the sum of adjacent distances of a plurality of arranged attendance points calculated according to the GPS data of the mth inspector, for example, if an attendance route includes attendance point a, attendance point B and attendance point C, the path length refers to the distance between AB plus the distance between BC. The calculation principle of the formula is thatWhen an inspector inspects on the same inspection route, under the condition that the positions of the mobile phone and the attendance point are the same (namely under the condition that the influence factors of GPS positioning are the same), the path length of inspection measured each time is the same, so that the L is theoretically the same_{m1}＝L_{m2}＝…＝L_{mn}Thus, push D_{m1}＝D_{m2}＝…＝D_{mn}(ii) a Therefore, once the route of the inspector for the current inspection is deviated (the checkingin position is not right), D can be enabled_{mn}The value is changed greatly, so that the problem can be found by comparing the average difference value of the path lengths of the current patrol and the last patrol. In addition, in some embodiments, after the attendance of the inspector is judged to be abnormal, the method further comprises the step of rejecting the current attendance data, so that the current abnormal data are prevented from influencing the next attendance calculation, and the step can be manually completed or automatically completed by a server or a mobile phone.
E. And the average difference value of the path length of the current routing inspection by the first inspector is differed from the average difference value of the path length of the last routing inspection by the first inspector to obtain a first difference value.
F. And judging whether the first difference value belongs to a first set numerical range, if so, judging that the current inspection state of the first inspector is normal, and otherwise, judging that the current inspection state of the first inspector is abnormal. The purpose of setting the first difference is to set a certain fault tolerance for the system. And if the numerical range of the first difference value is within the allowable range, judging that the current inspection state of the first inspector is normal. In some embodiments, the first set range of values is: [ 0.1D_{m(n1)}，0.1D_{m(n1)}]Namely, the updown fluctuation of the average difference of the path lengths of the current patrol compared with the average difference of the path lengths of the last patrol is not more than 10%. In other embodiments, the floating values may be set to 5%, 15%, or other values.
In some embodiments, the method further comprises the steps of:
G. and calculating the average difference of the path lengths of the patrolling personnel from 2 nd to m th. In the step, the steps BD can be repeated to calculate the average difference value of the path lengths of the patrolling of the 2 nd to the mth patrollers.
H. And calculating the average value of the average difference values of the path lengths of the m inspectors during the current inspection according to the average difference values of the path lengths of the 1 st to m inspectors during the current inspection. The calculation formula of the average value of the average difference values of the routing inspection path lengths is as follows:
T_{mn}＝(D_{1n}+D_{2n}+…+D_{mn})/m；
T_{mn}average of the average differences in path length for the nth inspection of m inspectors, D_{mn}And the average difference value of the nth inspection of the mth inspector is m, and m is the number of the inspectors. In a real situation, two or more polling personnel can carry out shift polling on one polling route. Therefore, the average value of the average difference values of the path lengths of a plurality of inspectors who inspect at a certain time (or a certain day) is calculated, and the condition of the inspectors of the inspection route can be reflected on the whole. T is_{mn}The calculation principle of (D) can be referred to_{mn}(ii) a Theoretically, the positions of the mobile phone and the attendance point of each inspector are fixed, so that the influence factors of GPS positioning of each inspector are fixed and invariable, and theoretically D is_{mn}Is constant, therefore T_{mn}The system is also a fixed value under ideal conditions, so that if a certain inspector deviates from an inspection route, illegal attendance checking is carried out, the average difference value of the path lengths of the inspection is greatly changed, and T can be caused_{mn}Also changes, so long as T is detected_{mn}The condition that whether the inspection person on the inspection route has attendance abnormity can be known. In addition, in some embodiments, after the attendance of the inspector is judged to be abnormal, the method further comprises the step of rejecting the current attendance data, so that the current abnormal data are prevented from influencing the next attendance calculation.
I. And subtracting the average value of the average difference values of the path lengths of the m inspectors which are inspected at this time from the average value of the average difference values of the path lengths of the m inspectors which are inspected last time to obtain a second difference value.
J. Judging whether the second difference value belongs to a second set numerical range, if so, judging that the current inspection state of the m inspectors is normal, otherwise, judging that the current inspection state of the m inspectors is normalThe state is abnormal. In some embodiments, the second range of values is: [ 0.1T_{m(n1)}，0.1T_{m(n1)}]That is, the average value of the average difference values of the path lengths patrolled by the m patrollers at this time is compared with the average value of the average difference values of the path lengths patrolled by the m patrollers at the last time, and the condition that the upanddown fluctuation is not more than 10% is considered to be normal. In other embodiments, the values floating up and down may be set to 5%, 15%, or other values. The steps GJ are added to reflect the problem of the routing inspection route on the whole, and the steps AF are matched to judge whether the routing inspection personnel on the routing inspection route normally inspect or not from different dimensions, so that the judgment is more accurate.
In some embodiments, further comprising the steps of:
K. and determining standard GPS positioning data of attendance points in the routing inspection route.
And L, calculating the distance between the first inspector and the actual position of the attendance point when the first inspector scans the twodimensional code according to the standard GPS positioning data and the GPS data of the first inspector, judging that the current inspection state of the first inspector is normal if the distance belongs to a third set value range, and otherwise, judging that the current inspection state of the first inspector is abnormal. This embodiment is through the GPS location data of confirming the attendance point to calculate these data and the first patroller GPS location data that produce when sweeping the code attendance, can confirm whether the position when first patroller sweeps the code attendance is in the third set value scope. The third setting value range can be flexibly adjusted according to actual conditions, such as 050 m, 0100 m and the like.
In some embodiments, the steps KL, GJ, and CF may be executed after the step B in parallel, as shown in fig. 2, and the property manager may perform comprehensive judgment on the inspection condition of the inspector by combining the judgment results of one or more of the steps L, J and F.
The step numbers in the embodiment are provided only for convenience of illustration, the order between the steps without illustrating the order relationship is not limited at all, and the execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.
The invention has the following advantages:
1) the inspector can complete the checkin only by scanning the twodimensional code without uploading pictures or doing additional operation, and the inspection tool is very convenient to use.
2) The invention can judge whether the patrol state of the patrol inspector is normal more accurately by calculating the patrol path length of the patrol inspector and comparing the patrol path length with the historical path length of the patrol inspector. The property management side can find the abnormity in time and verify the inspection condition.
3) The invention can also transversely compare the average difference values of the routing lengths of the patrols of a plurality of patrollers, reflect the conditions of the patrollers of the patrolling route as a whole, and can carry out double judgment on the patrolling conditions of the patrollers according to the GPS positioning data, so that the judgment is more accurate.
4) The invention can calculate the GPS positioning data of the inspector when checking the attendance and the GPS positioning data of the attendance point to obtain the distance between the position of the inspector when checking the attendance and the position of the attendance point, and judges whether the attendance of the inspector is abnormal according to a set range. The accuracy of the invention on the attendance of the inspector can be further improved.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (9)
1. A mobile phone inspection and attendance checking method based on twodimensional codes and a GPS is characterized by comprising the following steps:
determining the standard path length of the routing inspection route;
recording GPS positioning data when a first inspector scans the attendance point twodimensional code;
calculating the path length of the first inspector for the current inspection according to the GPS data of the first inspector;
calculating the average difference value of the path lengths of the first patroller patrolling according to the path length of the first patroller patrolling at the time, the standard path length and the historical path length of the first patroller patrolling on the patrolling route;
the average difference value of the path length of the first inspector during the current inspection is differed from the average difference value of the path length of the first inspector during the previous inspection on the route, so that a first difference value is obtained;
judging whether the first difference value belongs to a first set numerical range, if so, judging that the current inspection state of the first inspector is normal, otherwise, judging that the current inspection state of the first inspector is abnormal;
the calculation formula of the average difference value of the routing inspection path lengths is as follows:
D_{mn}＝((L_{m1}L)+(L_{m2}L)+…+(L_{mn}L))/n；
wherein D is_{mn}Average difference in path length for the nth inspection of the mth inspector, L_{mn}The path length of the nth routing inspection for the mth inspector is shown, n represents the number of routing inspection, and L is the standard path length.
2. The mobile phone inspection and attendance checking method based on the twodimensional code and the GPS, according to claim 1, is characterized in that: the first set numerical range is: [ 0.1D_{m(n1)}，0.1D_{m(n1)}]。
3. The mobile phone inspection and attendance checking method based on the twodimensional code and the GPS, according to claim 1, is characterized in that: further comprising the steps of:
calculating the average difference value of the path lengths of the patrolling of the 2 nd to the mth patrollers;
calculating the average value of the average difference values of the path lengths of the m inspectors during the current inspection according to the average difference values of the path lengths of the 1 st to the mth inspectors during the current inspection;
the average value of the average difference values of the path lengths of the m inspectors during the current inspection is differed from the average value of the average difference values of the path lengths of the m inspectors during the previous inspection to obtain a second difference value;
and judging whether the second difference value belongs to a second set numerical range, if so, judging that the current inspection state of the m inspectors is normal, and otherwise, judging that the current inspection state of the m inspectors is abnormal.
4. The mobile phone inspection and attendance checking method based on the twodimensional code and the GPS, according to claim 3, characterized in that: the calculation formula of the average value of the average difference values of the routing inspection path lengths is as follows:
T_{mn}＝(D_{1n}+D_{2n}+…+D_{mn})/m；
wherein, T_{mn}The average value of the average difference of the path lengths of the nth inspection of the m inspectors is obtained.
5. The mobile phone inspection and attendance checking method based on the twodimensional code and the GPS, according to claim 4, is characterized in that: the second set numerical range is: [ 0.1T_{m(n1)}，0.1T_{m(n1)}]。
6. The mobile phone inspection and attendance checking method based on the twodimensional code and the GPS, according to claim 1, is characterized in that: further comprising the steps of:
determining standard GPS positioning data of attendance points in the routing inspection route;
and calculating whether the distance between the first inspector and the actual position of the attendance point when the first inspector scans the twodimensional code of the attendance point belongs to a third set value range according to the standard GPS positioning data and the GPS data of the first inspector, if so, judging that the current inspection state of the first inspector is normal, otherwise, judging that the current inspection state of the first inspector is abnormal.
7. The mobile phone inspection and attendance checking method based on the twodimensional code and the GPS, according to claim 6, characterized in that: the third set value range is: 0X meters, wherein X is a constant and belongs to [20, 500 ].
8. Attendance system is patrolled and examined to cellphone based on twodimensional code and GPS, its characterized in that includes:
the standard path length determining module is used for determining the standard path length of the routing inspection route;
the GPS positioning data recording module is used for recording GPS positioning data when the first inspector scans the attendance point twodimensional code;
the first calculation module is used for calculating the path length of the first inspector for the current inspection according to the GPS data of the first inspector;
the second calculation module is used for calculating the average difference value of the path lengths of the first patroller patrolling according to the path length of the first patroller patrolling at this time, the standard path length and the historical path length of the first patroller patrolling on the patrolling route;
the third calculation module is used for subtracting the average difference value of the path length of the first inspector during the current inspection from the average difference value of the path length of the first inspector during the previous inspection on the route to obtain a first difference value;
the judging module is used for judging whether the first difference value belongs to a first set numerical range, if so, judging that the current inspection state of the first inspector is normal, otherwise, judging that the current inspection state of the first inspector is abnormal;
the calculation formula of the average difference value of the routing inspection path lengths is as follows:
D_{mn}＝((L_{m1}L)+(L_{m2}L)+…+(L_{mn}L))/n；
wherein D is_{mn}Average difference in path length for the nth inspection of the mth inspector, L_{mn}The path length of the nth routing inspection for the mth inspector is shown, n represents the number of routing inspection, and L is the standard path length.
9. Attendance device is patrolled and examined to cellphone based on twodimensional code and GPS, its characterized in that includes:
a memory for storing a program;
a processor for loading the program to execute the mobile phone inspection and attendance checking method based on the twodimensional code and the GPS according to any one of claims 1 to 7.
Priority Applications (1)
Application Number  Priority Date  Filing Date  Title 

CN201711440450.2A CN108122291B (en)  20171227  20171227  Mobile phone inspection and attendance checking method, system and device based on twodimensional code and GPS 
Applications Claiming Priority (1)
Application Number  Priority Date  Filing Date  Title 

CN201711440450.2A CN108122291B (en)  20171227  20171227  Mobile phone inspection and attendance checking method, system and device based on twodimensional code and GPS 
Publications (2)
Publication Number  Publication Date 

CN108122291A CN108122291A (en)  20180605 
CN108122291B true CN108122291B (en)  20200609 
Family
ID=62231985
Family Applications (1)
Application Number  Title  Priority Date  Filing Date 

CN201711440450.2A Active CN108122291B (en)  20171227  20171227  Mobile phone inspection and attendance checking method, system and device based on twodimensional code and GPS 
Country Status (1)
Country  Link 

CN (1)  CN108122291B (en) 
Families Citing this family (1)
Publication number  Priority date  Publication date  Assignee  Title 

CN109471142B (en) *  20181025  20210309  国网福建省电力有限公司厦门供电公司  Working track identification method based on RTK differential positioning 
Citations (5)
Publication number  Priority date  Publication date  Assignee  Title 

US5298725A (en) *  19921215  19940329  Trw Inc.  Bar code security system 
CN101923736A (en) *  20100812  20101222  浙江工业大学  Patrol system based on mobile communication terminal 
CN104537724A (en) *  20141230  20150422  山东信通电子股份有限公司  Patrol completion degree evaluation and calculation method 
US9454853B2 (en) *  20130313  20160927  Centric Group Llc  Electronic security patrol compliance systems and methods for institutional facility 
CN106485298A (en) *  20161011  20170308  合肥思盟信息科技有限公司  A kind of equipment routing inspection maintaining method based on Quick Response Code 

2017
 20171227 CN CN201711440450.2A patent/CN108122291B/en active Active
Patent Citations (5)
Publication number  Priority date  Publication date  Assignee  Title 

US5298725A (en) *  19921215  19940329  Trw Inc.  Bar code security system 
CN101923736A (en) *  20100812  20101222  浙江工业大学  Patrol system based on mobile communication terminal 
US9454853B2 (en) *  20130313  20160927  Centric Group Llc  Electronic security patrol compliance systems and methods for institutional facility 
CN104537724A (en) *  20141230  20150422  山东信通电子股份有限公司  Patrol completion degree evaluation and calculation method 
CN106485298A (en) *  20161011  20170308  合肥思盟信息科技有限公司  A kind of equipment routing inspection maintaining method based on Quick Response Code 
Also Published As
Publication number  Publication date 

CN108122291A (en)  20180605 
Similar Documents
Publication  Publication Date  Title 

US9134127B2 (en)  Determining tilt angle and tilt direction using image processing  
CN107194969B (en)  Sensor calibration and position estimation based on vanishing point determination  
CN105263118B (en)  The localization method and user terminal of a kind of user terminal  
RU2467343C2 (en)  Method and device to detect location of communication device  
US6748340B2 (en)  Cable position information management system, facility information management system, cable core wire management system, and methods and programs thereof  
Kiziltas et al.  Technological assessment and process implications of field data capture technologies for construction and facility/infrastructure management  
Wylie et al.  The nonline of sight problem in mobile location estimation  
RU2460086C2 (en)  Apparatus and method of determining matching of positions with starting position  
EP2162758B1 (en)  Method and device for trilateration using los link prediction and premeasurement los path filtering  
KR101207378B1 (en)  Visual examination device and visual examination method  
US10754001B2 (en)  Measuring system and measuring method using position and/or orientation sensors  
AU2009247831B2 (en)  Image acquisition  
US20130060520A1 (en)  Method And System For Position Determination Using RFID Devices  
JP3728900B2 (en)  Calibration method and apparatus, and calibration data generation method  
US9316486B2 (en)  Method and apparatus for determining and storing the position and orientation of antenna structures  
JP2005031082A (en)  Test method of integrity of gps measuring, error detection method in special vehicle, mapping method and system of gps multipath level, and system installed in vehicle for testing integrity of gps measuring  
US20130076896A1 (en)  Threedimensional measurement apparatus, threedimensional measurement method, and storage medium  
Dai et al.  Comparison of imagebased and timeofflightbased technologies for threedimensional reconstruction of infrastructure  
US20140132723A1 (en)  Methods for calibrating a digital photographic image of utility structures  
CN104488304B (en)  The system and method for measuring the crowding of certain vicinal population  
EP1790993A2 (en)  Method for recognizing location using builtin camera and device thereof  
KR102154979B1 (en)  Navigation and integrity monitoring  
JP2007013500A (en)  Radio terminal position estimating system, position estimating method for radio terminal position estimating system, and data processor  
US20110228052A1 (en)  Threedimensional measurement apparatus and method  
JP4825064B2 (en)  Position measuring system and position measuring method 
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 