CN106982152B - Broadcast the sampling monitoring method of service state - Google Patents
Broadcast the sampling monitoring method of service state Download PDFInfo
- Publication number
- CN106982152B CN106982152B CN201710254942.6A CN201710254942A CN106982152B CN 106982152 B CN106982152 B CN 106982152B CN 201710254942 A CN201710254942 A CN 201710254942A CN 106982152 B CN106982152 B CN 106982152B
- Authority
- CN
- China
- Prior art keywords
- grid
- server
- monitoring method
- sampling monitoring
- sampling
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/02—Capturing of monitoring data
- H04L43/022—Capturing 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 model, the UML physical model includes triangle group netlist, server table and grid table;Triangle group netlist stores the information of networking, including physical base station, triangle group net 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 with the incidence relation of server, grid table uses isCheck field, for saving whether grid table is the grid table chosen of sampling.The present invention uses triangle networking, it is only necessary to which sampling one grid of monitoring needs the monitoring server quantity used that will decline at multiple in this way.
Description
Technical field
The present invention relates to broadcasting service technology field, in particular to a kind of sampling monitoring method for broadcasting service state.
Background technique
The extensive high accuracy positioning service of broadcasting, usually using grid (providing the minimum unit of difference calculation result) skill
Art, by service coverage area gridding.For example, service will cover the whole of China (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 exception, it is therefore desirable to monitor the clothes of each grid
Business state.
The technical solution of the 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.
Since the service of broadcasting (is carried out the agreement of differential data transmission on the internet, is based on TCP/ using NTRIP agreement
IP belongs to application layer protocol, differential data, that is, positioning and rectifying data), and NTRIP is realized based on TCP long connection, that is to say, that it is every
A grid all establishes long connection with server, therefore server-side needs support about 400,000 concurrent connection number.This resource consumption
It is very big.For every server under the premise of guaranteeing that system is stablized, 30,000 long connections can only be provided by being generally up to about.This is also
Theoretical situation, because these connections also need the CPU and memory source of shared server.This special scenes is serviced broadcasting
Under, it calculates, the server of a 16G, can only at most be provided under actual conditions 4,000 long by the memory that each connection occupies 2.5M
Connection, that is to say, that about 4,000 grids can only be monitored.
It can be seen that monitoring national service state, takes around using 100 monitoring servers.This cost is very big.
Summary of the invention
Based on the above issues, the present invention proposes a kind of sampling monitoring method for broadcasting service state, is able to use a small amount of clothes
Business device resource, the state of Fast Monitoring magnanimity grid greatly reduce cost.
The technical solution adopted by the present invention is that:
A kind of sampling monitoring method for broadcasting service state, using UML physical model, the UML physical model includes three
Angle group netlist, server table and grid table;Triangle group netlist 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 field, and for saving the grid table, whether sampling is chosen
Grid table.
Further, the information of the networking includes physical base station, triangle group net state;The information of the server includes
IP address, server state;The information of the grid includes grid name, grid and the incidence relation of networking and and server
Incidence relation.
Further, the sampling monitoring method includes randomAssign process;FetchGridByIp process,
CheckGridStatus process and updateGridStatus process, monitored object include server table and database.
Further, the randomAssign process includes:
Server table is randomly assigned a grid table in each triangle group netlist, the state as the triangle group netlist
Monitor grid;Database manipulation is then the isCheck field for safeguarding grid table;
All grid tables for indicating isCheck are evenly distributed on Servers-all table;Database manipulation is then maintenance
The serverId field of grid table.
Further, the fetchGridByIp process is used to obtain the grid table that server table needs to monitor.
Further, steps are as follows for the grid table that the acquisition server table needs to monitor:
IP is obtained first in server table query service device ID, then inquires grid in grid table according to serverId
Information finally returns to grid table.
Further, the checkGridStatus process is used to check the letter of grid in the grid table got one by one
Breath.
Further, the checkGridStatus process uses multithreading.
Further, the updateGridStatus process is responsible for the information batch of the grid of return being written to data
In library.
The present invention broadcasts server during difference resolves (i.e. the calculating process of differential data), uses triangle networking
(delta-shaped region being made of three neighbouring physical base stations) technology, all grids in the same triangle networking have with
Lower feature:
1, identical calculation result;
2, identical service state.
Due to all grids service state all having the same in the same triangle networking, that is to say, that these grids are such as
Fruit is abnormal, then can be abnormal simultaneously, will also restore simultaneously when restoring normal.The same triangle networking, it is only necessary to sampling monitoring
One grid.Therefore the beneficial effects of the present invention are the monitoring server quantity for needing to use will decline at multiple, show
Work reduces costs.
Detailed description of the invention
Fig. 1 is UML physical model of the present invention.
Fig. 2 is process timing diagram of the present invention.
Specific embodiment
The present invention service of broadcasting, using triangle networking technology, i.e. grid in certain area, makes during difference resolves
With the calculation result of the same triangle networking.Hereinafter, the present invention is further elaborated in conjunction with the accompanying drawings and embodiments.
The present invention uses UML physical model, as shown in Figure 1, a total of 3 core tables, in which:
As shown below, a total of 3 core tables, in which:
1, triangle group netlist stores the information such as the information of networking, including physical base station, triangle group net state;
2, server table stores information of server, including IP address, server state etc.;
3, grid table stores the information of all grids, including grid name, grid and the incidence relation of networking, Yi Jiyu
The incidence relation of server.It additionally needs and pays special attention to, because being sampling monitoring, isCheck field has been used, for saving this
Whether grid table is the grid chosen of sampling.
Fig. 2 is process timing diagram of the present invention, and whole process is related to two roles of server table and database, detailed friendship
Mutual operational process is as follows:
1, function randomAssign.Mainly there are two work for this process:
1.1, server table can be randomly assigned a grid table in each triangle group netlist, as this triangle networking
Condition monitoring grid.Corresponding database manipulation is then the isCheck field for safeguarding grid table;
1.2, it by all grids for indicating isCheck, is evenly distributed on Servers-all table.Corresponding database manipulation
It is then the serverId field for safeguarding grid table.
2, function fetchGridByIp.This process is mainly the grid table for obtaining book server table and needing to monitor.First
IP is obtained in server table query service device ID (serverId), then inquires the letter of grid in grid table according to serverId
Breath, then returns to grid table.
3, function checkGridStatus.This process is mainly checked one by one in the grid table got in previous step
The information of grid.It will use multithreading under normal conditions, obtain state outcome at faster speed.
4, 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
It is preferentially developed in embodiments of the present invention using JAVA language, the NIO of JAVA language maturation be (non-obstruction
IO compilation model) network communication and multithreading develop class libraries, it is very suitable to the scenes such as the TCP long connection that the present invention is previously mentioned.
There is a kind of alternative solution, the object of the invention also may be implemented, using less machine, clothes are broadcast in monitoring on a large scale
Business: look-in frequency is reduced.It will such as detect within every 20 seconds originally, and be revised as detecting within every 40 seconds once, system occupies resource and will reduce closely
Half.
Although the invention has been described by way of example and in terms of the preferred embodiments, but it is not for limiting the present invention, any this field
Technical staff without departing from the spirit and scope of the present invention, may be by the methods and technical content of the disclosure above to this hair
Bright technical solution makes possible variation and modification, therefore, anything that does not depart from the technical scheme of the invention, and according to the present invention
Technical spirit any simple modifications, equivalents, and modifications to the above embodiments, belong to technical solution of the present invention
Protection scope.
Claims (9)
1. a kind of sampling monitoring method for broadcasting service state, which is characterized in that use UML physical model, the UML entity mould
Type includes triangle group netlist, server table and grid table;Triangle group netlist stores the information of networking;Server table stores clothes
The information of business device;Grid table stores the information of all grids;
The triangle networking is the delta-shaped region being made of three neighbouring physical base stations;
All grids in the same triangle networking have identical calculation result and identical service state;
To the same triangle networking, it is only necessary to sampling one grid of monitoring.
2. a kind of sampling monitoring method for broadcasting service state as described in claim 1, which is characterized in that the grid table makes
With isCheck field, for saving whether the grid table is grid table that sampling is chosen.
3. a kind of sampling monitoring method for broadcasting service state as described in claim 1, which is characterized in that the letter of the networking
Breath includes physical base station, triangle group net 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, which is characterized in that the sampling monitoring
Method includes randomAssign process comprising:
Server table is randomly assigned a grid table in each triangle group netlist, the condition monitoring as the triangle group netlist
Grid;Database manipulation is then the isCheck field for safeguarding grid table;
All grid tables for indicating isCheck are evenly distributed on Servers-all table;Database manipulation is then maintenance grid
The serverId field of table.
5. a kind of sampling monitoring method for broadcasting service state as claimed in claim 2, which is characterized in that the sampling monitoring
Method includes fetchGridByIp process, is used to obtain the grid table that server table needs to monitor.
6. a kind of sampling monitoring method for broadcasting service state as claimed in claim 5, which is characterized in that the acquisition service
Steps are as follows for the grid table that device table needs to monitor:
IP is obtained first in server table query service device ID, then inquires the letter of grid in grid table according to serverId
Breath, finally returns to grid table.
7. a kind of sampling monitoring method for broadcasting service state as claimed in claim 2, which is characterized in that the sampling monitoring
Method includes checkGridStatus process, is used to check the information of grid in the grid table got one by one.
8. a kind of sampling monitoring method for broadcasting service state as claimed in claim 7, which is characterized in that described
CheckGridStatus process uses multithreading.
9. a kind of sampling monitoring method for broadcasting service state as claimed in claim 2, which is characterized in that the sampling monitoring
Method includes updateGridStatus process, is responsible for for the information batch of the grid of return being written in database.
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 CN106982152A (en) | 2017-07-25 |
CN106982152B true 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 (7)
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 | 河海大学常州校区 | Wireless sensor network positioning method |
CN104063301A (en) * | 2014-07-02 | 2014-09-24 | 网神信息技术(北京)股份有限公司 | Monitoring method and device |
CN104067322A (en) * | 2011-12-15 | 2014-09-24 | 巴里·布鲁克 | System and method for tracking lost subjects |
CN105678846A (en) * | 2016-02-22 | 2016-06-15 | 武汉华信联创技术工程有限公司 | Three-dimensional visualization method and system for real-time meteorological networking radar data |
CN106019331A (en) * | 2015-08-28 | 2016-10-12 | 千寻位置网络有限公司 | Non-difference correction distributed processing method and system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102664927B (en) * | 2012-04-01 | 2014-09-17 | Ut斯达康通讯有限公司 | Building advertisement system and realization method thereof |
CN106028363B (en) * | 2016-05-10 | 2019-04-12 | 浙江树人大学 | A kind of wireless sensing network node locating method with mobile beacon node |
CN106357430A (en) * | 2016-08-29 | 2017-01-25 | 桂林浩新科技服务有限公司 | Method and system for service state monitoring of cloud computing cluster |
-
2017
- 2017-04-18 CN CN201710254942.6A patent/CN106982152B/en active Active
Patent Citations (7)
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 | 河海大学常州校区 | Wireless sensor network positioning method |
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN106982152A (en) | 2017-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107818133B (en) | Residential area network capacity analysis method and system based on big data | |
CN109857518A (en) | A kind of distribution method and equipment of Internet resources | |
CN109814878A (en) | Cross-platform cross commercialization is from the complicated huge information system mixed deployment system of primary climate | |
CN103516802A (en) | Method and device for achieving seamless transference of across heterogeneous virtual switch | |
CN103955509A (en) | Quick search method for massive electric power metering data | |
CN108777637A (en) | A kind of data center's total management system and method for supporting server isomery | |
CN104933602A (en) | Mobile outdoor advertisement monitoring service system and method | |
CN104331766A (en) | Automatic health management based integrated service system | |
CN103368970B (en) | A kind of automation safety detection method for network objectives | |
CN109857514A (en) | Cross-platform cross commercialization is from the complicated huge information system mixed deployment system of primary climate | |
CN102999424A (en) | Parallel remote automated testing method | |
CN105242873B (en) | The acquisition of the performance data of cloud computing system and storage method and device | |
CN106970811A (en) | A kind of patch file installation method and its equipment | |
CN106789265A (en) | The clustering method and device of a kind of service cluster | |
CN106982152B (en) | Broadcast the sampling monitoring method of service state | |
CN105677912A (en) | Displaying method and system for mass data of online electronic map | |
CN113902583A (en) | Distribution network side operation and maintenance method and system using low-voltage network equipment data | |
CN101510279B (en) | Support system for traffic planning business and reconstruction method for business flowpath | |
CN107645423A (en) | The display systems and its method of a kind of monitoring data | |
CN109885472A (en) | Test and management method and system and computer readable storage medium | |
CN115278529A (en) | Mobile terminal distribution visualization method and device | |
CN115643162A (en) | System fault domain positioning method and system, electronic equipment and storage medium | |
CN104573948A (en) | Distribution network topology analysis method based on distributed computation | |
CN109995571A (en) | Server configuration applies matched method and device with VNF | |
CN114997574A (en) | Power distribution station area elastic resource management method and device based on service middling station |
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. |