CN106982152A - Broadcast the sampling monitoring method of service state - Google Patents

Broadcast the sampling monitoring method of service state Download PDF

Info

Publication number
CN106982152A
CN106982152A CN201710254942.6A CN201710254942A CN106982152A CN 106982152 A CN106982152 A CN 106982152A CN 201710254942 A CN201710254942 A CN 201710254942A CN 106982152 A CN106982152 A CN 106982152A
Authority
CN
China
Prior art keywords
grid
server
monitoring method
networking
service state
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
CN201710254942.6A
Other languages
Chinese (zh)
Other versions
CN106982152B (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.)
Qianxun Position Network Co Ltd
Original Assignee
Qianxun Position Network 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 Qianxun Position Network Co Ltd filed Critical Qianxun Position Network Co Ltd
Priority to CN201710254942.6A priority Critical patent/CN106982152B/en
Publication of CN106982152A publication Critical patent/CN106982152A/en
Application granted granted Critical
Publication of CN106982152B publication Critical patent/CN106982152B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/022Capturing of monitoring data by sampling

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A kind of sampling monitoring method for broadcasting service state, using UML physical models, the UML physical models include triangle networking table, server table and grid table;Triangle networking table stores the information of networking, including physical base station, triangle networking state;Server table stores the information of server, including IP address, server state;Grid table stores the information of all grids, including grid name, grid and the incidence relation of networking and the incidence relation with server, and grid table uses isCheck fields, for preserving whether grid table is grid table that sampling is chosen.The present invention uses triangle networking, it is only necessary to sampling one grid of monitoring, so needs the monitoring server quantity used to decline into multiple.

Description

Broadcast the sampling monitoring method of service state
Technical field
The present invention relates to broadcasting service technology field, more particularly to a kind of sampling monitoring method for broadcasting service state.
Background technology
The extensive high accuracy positioning service of broadcasting, usually using grid (minimum unit for providing difference calculation result) skill Art, by service coverage area gridding.For example, service will cover the whole of China's (total 9,600,000 square kilometres), according to each grid 25 Square kilometre, then take around 400,000 grids.
Any one grid is abnormal, all directly results in this regional service abnormal, it is therefore desirable to monitor the clothes of each grid Business state.
The technical scheme of prior art is generally as follows:
Using software modeling scheme, allowing in each grid has a Virtual User, while periodic triggers Location Request, The service state of grid is detected, and then realizes national service condition monitoring.
Because the service of broadcasting uses NTRIP agreements (agreement of differential data transmission to be carried out on the internet, based on TCP/ IP, belongs to application layer protocol, and differential data is positioning and rectifying data), and NTRIP is based on TCP length and connects realization, that is to say, that it is every Individual grid, all sets up length with server and is connected, therefore service end needs to support about 400,000 concurrent connection number.This resource consumption It is very big.Every server on the premise of ensureing that system is stable is generally up to about that 30,000 long connection can only be provided.This is also Theoretical situation, because these connections also need to the CPU and memory source of shared server.This special scenes is serviced broadcasting Under, the internal memory for taking 2.5M by each connection is calculated, 16G server, can only at most provide 4,000 long under actual conditions Connection, that is to say, that about 4,000 grids can only be monitored.
As can be seen here, national service state is monitored, is taken around using 100 monitoring servers.This cost is very big.
The content of the invention
Based on above mentioned problem, the present invention proposes a kind of sampling monitoring method for broadcasting service state, can use a small amount of clothes Business device resource, the state of Fast Monitoring magnanimity grid greatly reduces cost.
The technical solution adopted by the present invention is:
A kind of sampling monitoring method for broadcasting service state, using UML physical models, the UML physical models include three Angle networking table, server table and grid table;Triangle networking table stores the information of networking;Server table stores the letter of server Breath;Grid table stores the information of all grids.
Further, the grid table uses isCheck fields, and for preserving the grid table, whether sampling is chosen Grid table.
Further, the information of the networking includes physical base station, triangle networking state;The information of the server includes IP address, server state;The information of the grid includes the incidence relation and and server of grid name, grid and networking Incidence relation.
Further, the sampling monitoring method includes randomAssign processes;FetchGridByIp processes, CheckGridStatus processes and updateGridStatus processes, monitored object include server table and database.
Further, the randomAssign processes include:
Server table is randomly assigned a grid table in each triangle networking table, is used as the state of the triangle networking table Monitor grid;Database manipulation is then the isCheck fields for safeguarding grid table;
All grid tables for indicating isCheck are evenly distributed on Servers-all table;Database manipulation is then to safeguard The serverId fields of grid table.
Further, the fetchGridByIp processes are used to obtain the grid table that server table needs to monitor.
Further, the server table that obtains needs the grid table step monitored as follows:
IP is obtained first and inquires about server ID in server table, and grid is then inquired about in grid table according to serverId Information, finally returns to grid table.
Further, the checkGridStatus processes are used for the letter for checking grid in the grid table got one by one Breath.
Further, the checkGridStatus processes use multithreading.
Further, the updateGridStatus processes are responsible for the information batch of the grid of return being written to data In storehouse.
The present invention broadcasts server during difference resolves (i.e. the calculating process of differential data), uses triangle networking (delta-shaped region being made up of three neighbouring physical base stations) technology, all grids in same triangle networking have with Lower feature:
1st, identical calculation result;
2nd, identical service state.
Because all grids in same triangle networking all have identical service state, that is to say, that these grids are such as Exception occurs for fruit, then can be simultaneously abnormal, will also recover simultaneously when recovering normal.Same triangle networking, it is only necessary to sampling monitoring One grid.Therefore it is aobvious the beneficial effects of the present invention are, it is necessary to the monitoring server quantity used will decline into multiple Work reduces cost.
Brief description of the drawings
Fig. 1 is UML physical models of the present invention.
Fig. 2 is flow timing diagram of the present invention.
Embodiment
The present invention service of broadcasting, using the grid in triangle networking technology, i.e. certain area, makes during difference resolving With the calculation result of same triangle networking.Hereinafter, the present invention is further elaborated in conjunction with the accompanying drawings and embodiments.
The present invention uses UML physical models, as shown in figure 1, a total of 3 core tables, wherein:
It is as shown below, a total of 3 core tables, wherein:
1st, triangle networking table, stores the information such as the information of networking, including physical base station, triangle networking state;
2nd, server table, stores the information of server, including IP address, server state etc.;
3rd, grid table, stores the information of all grids, includes incidence relation, the Yi Jiyu of grid name, grid and networking The incidence relation of server.Additionally need and pay special attention to, because being sampling monitoring, isCheck fields have been used, for preserving this Whether grid table is the grid chosen of sampling.
Fig. 2 is flow timing diagram of the present invention, and whole process is related to two roles of server table and database, detailed friendship Mutual running is as follows:
1st, function randomAssign.This process mainly has two work:
1.1st, server table can be randomly assigned a grid table in each triangle networking table, be used as this triangle networking Condition monitoring grid.Corresponding database manipulation is then the isCheck fields for safeguarding grid table;
1.2nd, by all grids for indicating isCheck, it is evenly distributed on Servers-all table.Corresponding database manipulation It is then the serverId fields for safeguarding grid table.
2nd, function fetchGridByIp.This process, which is mainly, obtains the grid table that book server table needs to monitor.First IP is obtained in server table inquiry server ID (serverId), the letter of grid is then inquired about in grid table according to serverId Breath, is then back to grid table.
3rd, function checkGridStatus.This process is mainly checked in the grid table got in previous step one by one The information of grid.Multithreading can be used under normal circumstances, and state outcome is obtained at faster speed.
4th, function updateGridStatus.This process is then responsible for the information for the grid that will be returned in previous step, batch It is written in database
Preferentially developed in embodiments of the present invention using JAVA language, the ripe NIO of JAVA language be (non-obstruction IO compilation models) network service and multithreading exploitation class libraries, be especially suitable for the present invention be previously mentioned TCP length connection etc. scene.
There is a kind of alternative solution, the object of the invention can also be realized, using less machine, monitoring broadcasts clothes on a large scale Business:Reduce look-in frequency.It will such as detect within every 20 seconds originally, and be revised as detection in every 40 seconds once, system occupancy resource will reduce near Half.
Although the present invention is disclosed as above with preferred embodiment, it is not for limiting the present invention, any this area Technical staff without departing from the spirit and scope of the present invention, may be by the methods and techniques content of the disclosure above to this hair Bright technical scheme makes possible variation and modification, therefore, every content without departing from technical solution of the present invention, according to the present invention Any simple modifications, equivalents, and modifications made to above example of technical spirit, belong to technical solution of the present invention Protection domain.

Claims (10)

1. a kind of sampling monitoring method for broadcasting service state, it is characterised in that use UML physical models, the UML entities mould Type includes triangle networking table, server table and grid table;Triangle networking table stores the information of networking;Server table stores clothes The information of business device;Grid table stores the information of all grids.
2. a kind of sampling monitoring method for broadcasting service state as claimed in claim 1, it is characterised in that the grid table makes IsCheck fields are used, for preserving whether the grid table is the grid table chosen of sampling.
3. a kind of sampling monitoring method for broadcasting service state as claimed in claim 1, it is characterised in that the letter of the networking Breath includes physical base station, triangle networking state;The information of the server includes IP address, server state;The grid Information includes grid name, grid and the incidence relation of networking and the incidence relation with server.
4. a kind of sampling monitoring method for broadcasting service state as claimed in claim 2, it is characterised in that the sampling monitoring Method includes randomAssign processes;FetchGridByIp processes, checkGridStatus processes and UpdateGridStatus processes, monitored object includes server table and database.
5. a kind of sampling monitoring method for broadcasting service state as claimed in claim 4, it is characterised in that described RandomAssign processes include:
Server table is randomly assigned a grid table in each triangle networking table, is used as the condition monitoring of the triangle networking table Grid;Database manipulation is then the isCheck fields for safeguarding grid table;
All grid tables for indicating isCheck are evenly distributed on Servers-all table;Database manipulation is then to safeguard grid The serverId fields of table.
6. a kind of sampling monitoring method for broadcasting service state as claimed in claim 5, it is characterised in that described FetchGridByIp processes are used to obtain the grid table that server table needs to monitor.
7. a kind of sampling monitoring method for broadcasting service state as claimed in claim 6, it is characterised in that the acquisition service Device table needs the grid table step monitored as follows:
IP is obtained first and inquires about server ID in server table, then inquires about the letter of grid in grid table according to serverId Breath, finally returns to grid table.
8. a kind of sampling monitoring method for broadcasting service state as claimed in claim 7, it is characterised in that described CheckGridStatus processes are used for the information for checking grid in the grid table got one by one.
9. a kind of sampling monitoring method for broadcasting service state as claimed in claim 8, it is characterised in that described CheckGridStatus processes use multithreading.
10. a kind of sampling monitoring method for broadcasting service state as claimed in claim 9, it is characterised in that described to be DateGridStatus processes are responsible for the information batch of the grid of return being written in database.
CN201710254942.6A 2017-04-18 2017-04-18 Broadcast the sampling monitoring method of service state Active CN106982152B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710254942.6A CN106982152B (en) 2017-04-18 2017-04-18 Broadcast the sampling monitoring method of service state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710254942.6A CN106982152B (en) 2017-04-18 2017-04-18 Broadcast the sampling monitoring method of service state

Publications (2)

Publication Number Publication Date
CN106982152A true CN106982152A (en) 2017-07-25
CN106982152B CN106982152B (en) 2019-05-07

Family

ID=59345632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710254942.6A Active CN106982152B (en) 2017-04-18 2017-04-18 Broadcast the sampling monitoring method of service state

Country Status (1)

Country Link
CN (1) CN106982152B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2348080A (en) * 1999-01-19 2000-09-20 Dominic Conrad Lakin Child position monitoring
CN101720095A (en) * 2009-11-18 2010-06-02 首都师范大学 Monitoring sensor node deployment method and device
CN101986758A (en) * 2010-11-10 2011-03-16 河海大学常州校区 Method for positioning wireless sensor network
CN102664927A (en) * 2012-04-01 2012-09-12 Ut斯达康通讯有限公司 Building advertisement system and realization method thereof
CN104067322A (en) * 2011-12-15 2014-09-24 巴里·布鲁克 System and method for tracking lost subjects
CN104063301A (en) * 2014-07-02 2014-09-24 网神信息技术(北京)股份有限公司 Monitoring method and device
CN105678846A (en) * 2016-02-22 2016-06-15 武汉华信联创技术工程有限公司 Three-dimensional visualization method and system for real-time meteorological networking radar data
CN106028363A (en) * 2016-05-10 2016-10-12 浙江树人大学 Positioning method for wireless sensor network nodes with mobile beacon nodes
CN106019331A (en) * 2015-08-28 2016-10-12 千寻位置网络有限公司 Non-difference correction distributed processing method and system
CN106357430A (en) * 2016-08-29 2017-01-25 桂林浩新科技服务有限公司 Method and system for service state monitoring of cloud computing cluster

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2348080A (en) * 1999-01-19 2000-09-20 Dominic Conrad Lakin Child position monitoring
CN101720095A (en) * 2009-11-18 2010-06-02 首都师范大学 Monitoring sensor node deployment method and device
CN101986758A (en) * 2010-11-10 2011-03-16 河海大学常州校区 Method for positioning wireless sensor network
CN104067322A (en) * 2011-12-15 2014-09-24 巴里·布鲁克 System and method for tracking lost subjects
CN102664927A (en) * 2012-04-01 2012-09-12 Ut斯达康通讯有限公司 Building advertisement system and realization method thereof
CN104063301A (en) * 2014-07-02 2014-09-24 网神信息技术(北京)股份有限公司 Monitoring method and device
CN106019331A (en) * 2015-08-28 2016-10-12 千寻位置网络有限公司 Non-difference correction distributed processing method and system
CN105678846A (en) * 2016-02-22 2016-06-15 武汉华信联创技术工程有限公司 Three-dimensional visualization method and system for real-time meteorological networking radar data
CN106028363A (en) * 2016-05-10 2016-10-12 浙江树人大学 Positioning method for wireless sensor network nodes with mobile beacon nodes
CN106357430A (en) * 2016-08-29 2017-01-25 桂林浩新科技服务有限公司 Method and system for service state monitoring of cloud computing cluster

Also Published As

Publication number Publication date
CN106982152B (en) 2019-05-07

Similar Documents

Publication Publication Date Title
CN106354765B (en) Log analysis system and method based on distributed acquisition
CN108205486A (en) A kind of intelligent distributed call chain tracking based on machine learning
CN104363253B (en) Website security detection method and device
CN104092755B (en) A kind of method and device for capturing of cloud service origination data
CN107040578A (en) Method of data synchronization, device and system
CN103795575B (en) A kind of system monitoring method towards multiple data centers
CN103297267B (en) A kind of methods of risk assessment of network behavior and system
CN102799643A (en) Mobile platform advertisement filtering method
CN110995785A (en) Low-voltage distribution network cloud platform based on Internet of things
US20130173965A1 (en) Fault tracing system and method for remote maintenance
CN105472412A (en) Big data processing method capable of distinguishing state of intelligent television
CN104009887A (en) Automatic speed testing method applied to network resource optimization
CN107483381A (en) The monitoring method and device of interlock account
CN107592274A (en) A kind of control management method of web server computer
CN114143171B (en) Alarm root cause positioning method and system based on TR069 protocol
CN109816453B (en) Detection method and device for promotion resource link
CN103368970B (en) A kind of automation safety detection method for network objectives
CN103036746B (en) Passive measurement method and passive measurement system of web page responding time based on network intermediate point
CN109559121A (en) Transaction path calls exception analysis method, device, equipment and readable storage medium storing program for executing
CN106060048A (en) Network resource access method and network resource access device
CN106888238A (en) A kind of method of data synchronization and device
CN107249050A (en) The management method and device of resource in cloud platform
CN105259896B (en) A kind of method for diagnosing faults based on power dispatch data network
CN106101117B (en) A kind of fishing website blocking-up method, device and system
CN106982152A (en) Broadcast the sampling monitoring method of service state

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
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 200438 9 / F, 10 / F, 11 / F, 12 / F, 38 Lane 1688, Guoquan North Road, Yangpu District, Shanghai

Patentee after: QIANXUN SPATIAL INTELLIGENCE Inc.

Address before: Room j165, 1st floor, building 64, 1436 Jungong Road, Yangpu District, Shanghai, 200433

Patentee before: QIANXUN SPATIAL INTELLIGENCE Inc.