CN109977184A - A kind of monitoring method, monitoring device and server - Google Patents

A kind of monitoring method, monitoring device and server Download PDF

Info

Publication number
CN109977184A
CN109977184A CN201910205780.6A CN201910205780A CN109977184A CN 109977184 A CN109977184 A CN 109977184A CN 201910205780 A CN201910205780 A CN 201910205780A CN 109977184 A CN109977184 A CN 109977184A
Authority
CN
China
Prior art keywords
address location
client
monitoring method
server
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910205780.6A
Other languages
Chinese (zh)
Inventor
杨磊
宋忠磊
徐春辉
王琪峰
张新炬
陈明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Junzheng Network Technology Co Ltd
Original Assignee
Shanghai Junzheng Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Junzheng Network Technology Co Ltd filed Critical Shanghai Junzheng Network Technology Co Ltd
Priority to CN201910205780.6A priority Critical patent/CN109977184A/en
Publication of CN109977184A publication Critical patent/CN109977184A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Abstract

The present invention provides a kind of monitoring method, monitoring device and server, obtains the address location that operation client currently reports;It is greater than preset displacement threshold value about the displacement difference between the address location for runing client when the last time acquisition for judging to store in the operation client address location currently reported and specified data library, the currently transmitted address location of the operation client is stored in the database.The present invention can timely obtain the address location of operation client, and when the operation client occurs certain mobile, the address location that will acquire is stored, and to realize the storage of more efficient and accurate address location, improves the validity and accuracy of the operation of server.

Description

A kind of monitoring method, monitoring device and server
Technical field
The present invention relates to information technology fields, more particularly to a kind of monitoring method, monitoring device and server.
Background technique
With shared expanding economy, the development of shared bicycle industry also emerges in large numbers like the mushrooms after rain, in order to more preferably tie up The bicycle under line is protected, brings better experience to user, needs to carry out clearer control to the case where staff under line, To carry out the adjustment of staff under more scientific line according to the working condition of staff, the operation effect of company's entirety is improved Rate.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of monitoring methods, monitoring device And server, for solve the problems, such as in the prior art cannot promptly and accurately acquisition operation personnel position.
In order to achieve the above objects and other related objects, the present invention provides a kind of monitoring method, is applied in server, institute The method of stating includes: the address location for obtaining operation client and currently reporting;When the institute for judging that the operation client currently reports It states between the last address location about the operation client obtained stored in address location and specified data library Displacement difference be greater than preset displacement threshold value, the currently transmitted address location of the operation client is stored in the number According in library.
In a specific embodiment of the invention, according to the address about the operation client stored in the database Position forms the motion track about the operation client.
In an of the invention specific embodiment, by straight line by the corresponding coordinate in address location of the operation client into Row connection, to form the motion track.
In a specific embodiment of the invention, exist when between two address locations adjoined stored in the database When address location about the operation client obtains the operation of failure, then when forming the motion track, this is adjoined It is attached between address location with dotted line.
In a specific embodiment of the invention, the monitoring method further includes the motion track for receiving inquiring client terminal and sending Inquiry request, and according to the motion track inquiry request, the specified motion track of Xiang Suoshu inquiring client terminal response is for institute Inquiring client terminal is stated to be shown.
In a specific embodiment of the invention, the motion track inquiry request includes filter condition, and receives and be encapsulated as The filter condition of ison format;Wherein, the filter condition includes one of following or a variety of: operation personnel's information, Time and address range.
In a specific embodiment of the invention, the database is server database.
In a specific embodiment of the invention, obtain what the operation client currently reported according to the preset time cycle The address location.
In order to achieve the above objects and other related objects, the present invention also provides a kind of monitoring devices, are applied in server, The monitoring device includes: address acquisition module, the address location currently reported to obtain operation client;Judgment module, To when judge described to run the last time stored in the client address location and specified data library that currently report and obtain The displacement difference between the address location about the operation client taken is greater than preset displacement threshold value, by the operation client The currently transmitted address location is held to be stored in the database.
In order to achieve the above objects and other related objects, the present invention also provides a kind of servers, including processor and storage Device;The memory is used to execute the computer program of the memory storage for storing computer program, the processor, So that the server executes as above described in any item monitoring methods.
As described above, the present invention provides a kind of monitoring method, monitoring device and server, obtain operation client it is current on The address location of report;When judge to store in the address location that currently reports of operation client and specified data library The displacement difference between the address location about the operation client that last time obtains is greater than preset displacement threshold value, will be described The currently transmitted address location of operation client is stored in the database.The present invention can timely obtain operation visitor The address location at family end, and when the operation client occurs certain mobile, the address location that will acquire is stored, To realize the storage of more efficient and accurate address location, the validity and accuracy of the operation of server are improved.
Detailed description of the invention
Fig. 1 is shown as the flow diagram of monitoring method of the invention in one embodiment.
Fig. 2 is shown as the composition schematic diagram of monitoring device of the invention in one embodiment.
Fig. 3 is shown as the composition schematic diagram of server of the invention in one embodiment.
Component label instructions
1 monitoring device
11 address acquisition modules
12 judgment modules
2 servers
21 processors
22 memories
S1~S4 step
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from Various modifications or alterations are carried out under spirit of the invention.It should be noted that in the absence of conflict, following embodiment and implementation Feature in example can be combined with each other.
It should be noted that illustrating the basic structure that only the invention is illustrated in a schematic way provided in following embodiment Think, only shown in diagram then with related component in the present invention rather than component count, shape and size when according to actual implementation Draw, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel It is likely more complexity.
Referring to Fig. 1, being shown as the flow diagram of monitoring method of the invention in one embodiment.The monitoring Method is applied in server, and the monitoring method includes:
S1: the address location that operation client currently reports is obtained;Wherein, the operation client can be computer, intelligence It can the data intelligence processings equipment such as mobile phone or smartwatch.
S2: by the last time runed and stored in the address location and specified data library that client currently reports The address location about the operation client obtained is compared, to obtain the difference of the two;
S3: judge whether the difference is greater than preset displacement threshold value;If so, thening follow the steps S4;If it is not, then ignoring this The address location currently obtained.
S4: upper when judging to store in operation the client address location and specified data library that currently report The displacement difference between the address location about the operation client once obtained is greater than preset displacement threshold value, by the fortune The currently transmitted address location of battalion's client is stored in the database.
In a specific embodiment of the invention, according to the address about the operation client stored in the database Position forms the motion track about the operation client.
Wherein, the corresponding coordinate in address location of the operation client can be attached by straight line, to be formed State motion track.
However, when existing between two address locations adjoined stored in the database about the operation client Address location obtain failure operation when, then when forming the motion track, by between the address location adjoined with dotted line It is attached.The address location adjoined, to obtain and being stored within the time adjoined about the operation client Address location.It, can be with the preset time cycle to the server for example, when operation client logs in specified application program The address location about the operating side is reported, and when the operation client exits the application program, then it services Device will fail the acquisition of the address location at operation visitor end, then generates and obtain about the address location of the operation client The operation of failure.When there are the operation clients between two address locations of the storage in adjacent time in the database Address location obtain failure the case where when, formed it is described operation client motion track when, by the adjacent ground Location position is corresponding to sit dashed be attached.
In a specific embodiment of the invention, the monitoring method further includes the motion track for receiving inquiring client terminal and sending Inquiry request, and according to the motion track inquiry request, the specified motion track of Xiang Suoshu inquiring client terminal response is for institute Inquiring client terminal is stated to be shown.
In some embodiments, the motion track inquiry request includes filter condition, and receives and be encapsulated as json format The filter condition;Wherein, the filter condition includes one of following or a variety of: operation personnel's information, the time and Address range.Then the server can be transferred according to the filter condition and meet the address location of the filter condition and be sent to institute Operation client is stated to be shown.
In an of the invention specific embodiment, the database is server database, for example, Hbase database, because It is bigger for the data that are related to, do not write direct in relevant database.The track for checking operation personnel when, by rail Mark data are taken out from the Hbase database, are shown on client end interface.
In a specific embodiment of the invention, the server obtains the operation client according to the preset time cycle The address location currently reported.
For example, in one embodiment, runing track intelligent monitoring, obtaining the address of operation personnel under line in real time first Position obtains once for every 5 minutes, and being displaced will be more than 25 meters, just will record current position coordinates, then protect its data In presence service client database (Hbase), because the data being related to are bigger, do not write direct in relevant database. The track for checking operation personnel when, track data is taken out from database, show on client end interface.The implementation The implementation process of example specifically:
1, it when the position of operation personnel, is reported on server, the position coordinates of operation personnel are stored in by server In Hbase.
2, when client request inquires track, filter condition is packaged into json and is transmitted to server.
3, according to the position coordinates of operation personnel, it is connected with straight line, is moved back if will be applied among operation personnel Out, then failure is obtained, then client is connected when showing track, by this two o'clock with dotted line.
4, end value is finally returned into client and makes corresponding displaying.
Monitoring method of the invention is applied in server, and the method includes obtaining to run what client currently reported Address location;As judge to store in the address location that currently reports of operation client and specified data library upper one Displacement difference between the address location about the operation client of secondary acquisition is greater than preset displacement threshold value, by the operation The currently transmitted address location of client is stored in the database.The present invention can timely obtain operation client Address location, and when the operation client occurs certain mobile, the address location that will acquire is stored, with reality The storage of existing more efficient and accurate address location, improves the validity and accuracy of the operation of server, can also reduce public affairs The spending of operation cost is taken charge of, the working efficiency to operation personnel under entire line is also to improve.
Referring to Fig. 2, being shown as the composition schematic diagram of monitoring device of the invention in one embodiment.
The monitoring device 1 is applied in server, and the monitoring device 1 includes: address acquisition module 11 and judges mould Block 12.
The address location that the address acquisition module 11 is currently reported to obtain operation client;
The judgment module 12 is to when judge the address location that currently reports of operation client and specify The displacement difference between the last address location about the operation client obtained stored in database is greater than preset The currently transmitted address location of the operation client is stored in the database by displacement threshold value.
In the of the invention specific embodiment, the monitoring device 1 also to according to stored in the database about The address location of the operation client forms the motion track about the operation client.
Wherein, the corresponding coordinate in address location of the operation client can be attached by straight line, to be formed State motion track.
However, when existing between two address locations adjoined stored in the database about the operation client Address location obtain failure operation when, then when forming the motion track, by between the address location adjoined with dotted line It is attached.The address location adjoined, to obtain and being stored within the time adjoined about the operation client Address location.It, can be with the preset time cycle to the server for example, when operation client logs in specified application program The address location about the operating side is reported, and when the operation client exits the application program, then it services Device will fail the acquisition of the address location at operation visitor end, then generates and obtain about the address location of the operation client The operation of failure.When there are the operation clients between two address locations of the storage in adjacent time in the database Address location obtain failure the case where when, formed it is described operation client motion track when, by the adjacent ground Location position is corresponding to sit dashed be attached.
In a specific embodiment of the invention, moving rail of the monitoring device 1 also to receive inquiring client terminal transmission Mark inquiry request, and according to the motion track inquiry request, the specified motion track of Xiang Suoshu inquiring client terminal response for The inquiring client terminal is shown.
In some embodiments, the motion track inquiry request includes filter condition, and receives and be encapsulated as json format The filter condition;Wherein, the filter condition includes one of following or a variety of: operation personnel's information, the time and Address range.Then the server can be transferred according to the filter condition and meet the address location of the filter condition and be sent to institute Operation client is stated to be shown.
In an of the invention specific embodiment, the database is server database, for example, Hbase database, because It is bigger for the data that are related to, do not write direct in relevant database.The track for checking operation personnel when, by rail Mark data are taken out from the Hbase database, are shown on client end interface.
In a specific embodiment of the invention, the server obtains the operation client according to the preset time cycle The address location currently reported.
For example, in one embodiment, runing track intelligent monitoring, obtaining the address of operation personnel under line in real time first Position obtains once for every 5 minutes, and being displaced will be more than 25 meters, just will record current position coordinates, then protect its data In presence service client database (Hbase), because the data being related to are bigger, do not write direct in relevant database. The track for checking operation personnel when, track data is taken out from database, show on client end interface.The implementation The implementation process of example specifically:
1, it when the position of operation personnel, is reported on server, the position coordinates of operation personnel are stored in by server In Hbase.
2, when client request inquires track, filter condition is packaged into json and is transmitted to server.
3, according to the position coordinates of operation personnel, it is connected with straight line, is moved back if will be applied among operation personnel Out, then failure is obtained, then client is connected when showing track, by this two o'clock with dotted line.
4, end value is finally returned into client and makes corresponding displaying.
Refering to Fig. 3, it is shown as the composition schematic diagram of server of the invention in one embodiment.The server 2 Including processor 21 and memory 22;The memory 22 is for storing computer program, and the processor 21 is for executing institute The computer program for stating the storage of memory 22, so that the server 2 executes monitoring method as shown in Figure 1.The memory 22 for storing computer program, and the processor 21 is used to execute the computer program that the memory 22 stores, so that institute State the monitoring method that server 2 executes embodiment as shown in Figure 1.
The memory 22 may include high-speed random access memory, and may also include nonvolatile memory, such as One or more disk storage equipments, flash memory device or other non-volatile solid-state memory devices.In certain embodiments, it stores Device 22 can also include the memory 22 far from one or more processors 21, such as via RF circuit or outside port and lead to The network attached storage of communication network access, wherein the communication network can be internet, one or more intranets, local Net (LAN), wide area network (WLAN), storage area network (SAN) etc. or its is appropriately combined.Memory Controller controllable device Access of the other assemblies of such as CPU and Peripheral Interface etc to memory 22.
The processor 21 is operationally coupled with memory 22 and/or non-volatile memory device.More specifically, processing The instruction that stores in memory 22 and/or non-volatile memory device can be performed to execute operation in calculating equipment in device 21, It such as generates image data and/or image data is transferred to electronic console.In this way, processor 21 may include one or more General purpose microprocessor, one or more application specific processor (ASIC), one or more Field Programmable Logic Array (FPGA) or Any combination of them.
In conclusion the present invention provides a kind of monitoring method, monitoring device and server, obtain operation client it is current on The address location of report;When judge to store in the address location that currently reports of operation client and specified data library The displacement difference between the address location about the operation client that last time obtains is greater than preset displacement threshold value, will be described The currently transmitted address location of operation client is stored in the database.The present invention can timely obtain operation visitor The address location at family end, and when the operation client occurs certain mobile, the address location that will acquire is stored, To realize the storage of more efficient and accurate address location, the validity and accuracy of the operation of server are improved.So this Invention effectively overcomes various shortcoming in the prior art and has high industrial utilization value.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as At all equivalent modifications or change, should be covered by the claims of the present invention.

Claims (10)

1. a kind of monitoring method, which is characterized in that be applied in server, which comprises
Obtain the address location that operation client currently reports;
When judging that the last time stored in operation the client address location and specified data library that currently report obtains The displacement difference between the address location about the operation client taken is greater than preset displacement threshold value, by the operation client The currently transmitted address location is held to be stored in the database.
2. monitoring method according to claim 1, which is characterized in that according to being stored in the database about the fortune The address location of client is sought, the motion track about the operation client is formed.
3. monitoring method according to claim 2, which is characterized in that by straight line by it is described operation client address bit It sets corresponding coordinate to be attached, to form the motion track.
4. monitoring method according to claim 3, which is characterized in that when two ground adjoined stored in the database When there is the operation about the address location acquisition failure of the operation client between the position of location, then the motion track is formed When, it will be attached between the address location adjoined with dotted line.
5. monitoring method according to claim 2, which is characterized in that the monitoring method further includes receiving inquiring client terminal The motion track inquiry request of transmission, and according to the motion track inquiry request, the response of Xiang Suoshu inquiring client terminal is specified Motion track is shown for the inquiring client terminal.
6. monitoring method according to claim 5, which is characterized in that the motion track inquiry request includes filtering rod Part, and receive the filter condition for being encapsulated as json format;Wherein, the filter condition includes one of following or more Kind:
Operation personnel's information, time and address range.
7. monitoring method according to claim 1, which is characterized in that the database is server database.
8. monitoring method according to claim 1, which is characterized in that obtain the operation visitor according to the preset time cycle The address location that family end currently reports.
9. a kind of monitoring device, which is characterized in that be applied in server, the monitoring device includes:
Address acquisition module, the address location currently reported to obtain operation client;
Judgment module judges that described run in the address location and specified data library that client currently reports is deposited to work as Displacement difference between the last address location about the operation client obtained of storage is greater than preset displacement threshold value, will The currently transmitted address location of the operation client is stored in the database.
10. a kind of server, which is characterized in that including processor and memory;The memory is used to store computer program, The processor is used to execute the computer program of the memory storage, so that the server executes such as claim 1 to 8 Any one of described in monitoring method.
CN201910205780.6A 2019-03-18 2019-03-18 A kind of monitoring method, monitoring device and server Pending CN109977184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910205780.6A CN109977184A (en) 2019-03-18 2019-03-18 A kind of monitoring method, monitoring device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910205780.6A CN109977184A (en) 2019-03-18 2019-03-18 A kind of monitoring method, monitoring device and server

Publications (1)

Publication Number Publication Date
CN109977184A true CN109977184A (en) 2019-07-05

Family

ID=67079404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910205780.6A Pending CN109977184A (en) 2019-03-18 2019-03-18 A kind of monitoring method, monitoring device and server

Country Status (1)

Country Link
CN (1) CN109977184A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2433856A (en) * 2005-12-01 2007-07-04 Birkbeck University Of London Delivering location based information to a mobile user and navigating a user through a physical space.
CN103052128A (en) * 2012-12-20 2013-04-17 华南理工大学 Wireless sensor network-based energy-efficient collaborative scheduling method
CN106210111A (en) * 2016-07-26 2016-12-07 北京明朝万达科技股份有限公司 A kind of personnel's method for tracing based on mobile terminal and system
US20170352252A1 (en) * 2016-06-01 2017-12-07 Tile, Inc. User Intervention Based on External Data in a Tracking Device Environment
CN108900979A (en) * 2018-08-17 2018-11-27 浙江阿卡云信息科技有限公司 School badge positioning system based on NB-IoT

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2433856A (en) * 2005-12-01 2007-07-04 Birkbeck University Of London Delivering location based information to a mobile user and navigating a user through a physical space.
CN103052128A (en) * 2012-12-20 2013-04-17 华南理工大学 Wireless sensor network-based energy-efficient collaborative scheduling method
US20170352252A1 (en) * 2016-06-01 2017-12-07 Tile, Inc. User Intervention Based on External Data in a Tracking Device Environment
CN106210111A (en) * 2016-07-26 2016-12-07 北京明朝万达科技股份有限公司 A kind of personnel's method for tracing based on mobile terminal and system
CN108900979A (en) * 2018-08-17 2018-11-27 浙江阿卡云信息科技有限公司 School badge positioning system based on NB-IoT

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
红圈小管家: "员工定位轨迹中的失联、停留时长、实线、虚线是什么意思?", 《HTTP://WWW.HECOM.CN/BBS/?/QUESTION/645》 *
红圈小管家: "红圈通报表中,员工定位轨迹的"停留时长"和轨迹中的实线、虚线是什么意思?", 《HTTP://WWW.HECOM.CN/BBS/?/QUESTION/315》 *

Similar Documents

Publication Publication Date Title
CN104660682B (en) A kind of OPC data collection and monitoring intelligent terminal based on TD-LTE
CN103281366A (en) Embedded agency monitoring device and method supporting real-time operating state acquiring
CN102761454A (en) Method and system for monitoring internet of things
CN104954894B (en) A kind of video flow bootstrap technique, device and a kind of electronic equipment
CN107360038A (en) A kind of industrial sewing machine reports method and system, intelligent terminal, server for repairment
CN109359520A (en) People counting method, system, computer readable storage medium and server
CN106209512A (en) A kind of method and device of report of user behavioral data
CN108108248A (en) A kind of CPU+GPU cluster management methods, device and equipment for realizing target detection
CN109075995A (en) The device that performance measurement data for NFV performance management is subscribed to
CN105785962B (en) Shop material dispatching control and management platform based on UWB
CN110061892A (en) Method, system, storage medium and the electronic equipment of real-time display Network status
CN102088365A (en) Energy consumption collecting and energy-saving metering system of communication room
CN104484405A (en) Method and device for carrying out crawling task
CN110225379A (en) Intelligent terminal screen sharing method and system, car-mounted terminal based on car-mounted terminal
CN107491549A (en) A kind of data processing method and system
CN105760484B (en) A kind of crowd tramples method for early warning, system and the server with the system
CN110262951A (en) A kind of business second grade monitoring method and system, storage medium and client
CN109977184A (en) A kind of monitoring method, monitoring device and server
CN103645959A (en) Telecom real-time system multi-process SMP (shared memory pool) interaction assembly and method
CN101826145B (en) Device and method for realizing label counting in radio frequency recognition system
CN103034953A (en) Unified score counting device, system and method
CN107316494A (en) A kind of abnormal treating method and apparatus in parking lot
CN106331024A (en) Method and device for accessing cloud data
CN107798009A (en) Data aggregation method, apparatus and system
CN115278529A (en) Mobile terminal distribution visualization method and device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190705