CN104702616A - Method for storing and transmitting monitoring data of CS (client server) framework - Google Patents
Method for storing and transmitting monitoring data of CS (client server) framework Download PDFInfo
- Publication number
- CN104702616A CN104702616A CN201510123285.2A CN201510123285A CN104702616A CN 104702616 A CN104702616 A CN 104702616A CN 201510123285 A CN201510123285 A CN 201510123285A CN 104702616 A CN104702616 A CN 104702616A
- Authority
- CN
- China
- Prior art keywords
- data
- monitoring data
- client
- preserved
- monitoring
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method for storing and transmitting monitoring data of CS (client server) framework. The method comprises the following steps of storing acquired monitoring data by using a Client terminal of a CS mechanism; continuously acquiring and storing the monitoring data by using a Server terminal; judging the stored data according to the Client terminal when the Client terminal asks for the monitoring data; and acquiring and returning new data which are not acquired by the Client terminal in the data stored in the Server terminal. Repeated acquisition of redundant monitoring data is avoided, application instantaneity of the monitoring data of the Client terminal is guaranteed, large data transmission of the monitoring data is avoided, and the storage space, which is used for storing the monitoring data, of the Server terminal is saved.
Description
Technical field
The present invention relates to monitoring technique field, be specifically related to a kind of CS framework Monitoring Data and preserve and transmission realizing method, in the monitoring management environment of CS framework, preserved by C, S two ends Monitoring Data, a small amount of transfer of data, the implementation methods such as the configuration of Monitoring Data.
Background technology
Because the requirement of data security improves day by day, data volume increases, under the prerequisite that server farms is increasing.Most of company more and more payes attention to server admin.Due to the hardware of the limited manpower of company, large-scale server and complexity, often server administrators rely on and pay attention to the monitoring function of software.Of a great variety at monitored object, when monitoring period is longer, will inevitably cause the increase of Monitoring Data amount, under causing CS framework, the time of transmitting these data increases.
Summary of the invention
The technical problem to be solved in the present invention is: the present invention mainly provides a kind of CS framework Monitoring Data to preserve and transmission realizing method.
The technical solution adopted in the present invention is:
A kind of CS framework Monitoring Data is preserved and transmission realizing method, the Client end of described CS mechanism is preserved with the Monitoring Data obtained, Server end is uninterrupted to be obtained Monitoring Data and preserves, when Client asks Monitoring Data, hold the data of having preserved to judge according to Client, obtain and return Client in the data that Server end is preserved and hold the latest data do not obtained.
Described CS framework comprises: 1) Client holds real time data to preserve module, 2) Server Monitoring Data module for reading and writing, 3) Monitoring Data transmission configuration module, wherein: Client end initiates request of data, detecting transfer of data configuration module holds the Monitoring Data of having preserved to judge to Client, held the Monitoring Data of preserving Server end to read by Server and be transferred to Client and hold, finally carry out data configuration by transfer of data configuration module and be supplied to Client end using.
Described Client holds real time data to preserve module and preserves the Monitoring Data obtained from Server end, reduces the repeatedly request of repeating data in monitoring periods, avoids transmission data redundancy excessive.
Described Server Monitoring Data module for reading and writing, after monitoring starts triggering, the continual data to required monitoring read, and preservation position result is kept at specified by Monitoring Data transmission configuration module, and after the Monitoring Data getting maximum monitoring periods, carry out redundant data cleaning.
Described Monitoring Data transmission configuration module: when Client end initiates Monitoring Data request, Server end is preserved position from Monitoring Data and is read the Monitoring Data write, and hold request content according to Client, and Client holds the data of having preserved to be configured and transmits Client and holds the latest data do not obtained to hold to Client; Client end, according to the data of Server end transmission, in conjunction with the Monitoring Data of having preserved, carries out data configuration and uses.
Beneficial effect of the present invention is: Server of the present invention end is continual to be obtained Monitoring Data and preserves the response time that will reduce when Client initiates request of data, because Server end can directly directly reading but not go to read in hardware in the data of preserving.And the advantage that Client end preserves data is, when request of data, without the need to obtaining the data in whole monitoring periods again from Server end, avoid redundant data repeatedly to obtain, reduce volume of transmitted data, save keeper's stand-by period.The present invention reduces the repeated obtain of redundancy Monitoring Data, ensures that Client holds the real-time of Monitoring Data application, reduces Monitoring Data and forms big data quantity transmission, saves Server end and stores Monitoring Data memory space.
Accompanying drawing explanation
Fig. 1 is the configuration file schematic diagram that the Monitoring Data obtained from Server end is preserved by Client end;
Fig. 2 is that Server end uninterruptedly obtains Monitoring Data and preserves schematic diagram;
Fig. 3 is transfer of data and data configuration schematic diagram.
Embodiment
With reference to the accompanying drawings, by embodiment, the present invention is further described:
A kind of CS framework Monitoring Data is preserved and transmission realizing method, the Client end of described CS mechanism is preserved with the Monitoring Data obtained, Server end is uninterrupted to be obtained Monitoring Data and preserves, when Client asks Monitoring Data, hold the data of having preserved to judge according to Client, obtain and return Client in the data that Server end is preserved and hold the latest data do not obtained.
Described CS framework comprises: 1) Client holds real time data to preserve module, 2) Server Monitoring Data module for reading and writing, 3) Monitoring Data transmission configuration module, wherein: Client end initiates request of data, detecting transfer of data configuration module holds the Monitoring Data of having preserved to judge to Client, held the Monitoring Data of preserving Server end to read by Server and be transferred to Client and hold, finally carry out data configuration by transfer of data configuration module and be supplied to Client end using.
As shown in Figure 1, described Client holds real time data to preserve module and preserves the Monitoring Data obtained from Server end, reduces the repeatedly request of repeating data in monitoring periods, avoids transmission data redundancy excessive.
As shown in Figure 2, described Server Monitoring Data module for reading and writing, after monitoring starts triggering, the continual data to required monitoring read, and preservation position result is kept at specified by Monitoring Data transmission configuration module, and after the Monitoring Data getting maximum monitoring periods (requiring depending on user to determine), carry out redundant data cleaning.
As shown in Figure 3, described Monitoring Data transmission configuration module: when Client end initiates Monitoring Data request, Server end is preserved position from Monitoring Data and is read the Monitoring Data write, and hold request content according to Client, and Client holds the data of having preserved to be configured and transmits Client and holds the latest data do not obtained to hold to Client; Client end, according to the data of Server end transmission, in conjunction with the Monitoring Data of having preserved, carries out data configuration and uses.
Above execution mode is only for illustration of the present invention; and be not limitation of the present invention; the those of ordinary skill of relevant technical field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all equivalent technical schemes also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.
Claims (5)
1. a CS framework Monitoring Data is preserved and transmission realizing method, it is characterized in that: the Client end of described CS mechanism is preserved with the Monitoring Data obtained, Server end is uninterrupted to be obtained Monitoring Data and preserves, when Client asks Monitoring Data, hold the data of having preserved to judge according to Client, obtain and return Client in the data that Server end is preserved and hold the latest data do not obtained.
2. a kind of CS framework Monitoring Data according to claim 2 is preserved and transmission realizing method, it is characterized in that: described CS framework comprises: 1) Client holds real time data to preserve module, 2) Server Monitoring Data module for reading and writing, 3) Monitoring Data transmission configuration module, wherein: Client end initiates request of data, detecting transfer of data configuration module holds the Monitoring Data of having preserved to judge to Client, held the Monitoring Data of preserving Server end to read by Server and be transferred to Client and hold, finally carry out data configuration by transfer of data configuration module and be supplied to Client end using.
3. a kind of CS framework Monitoring Data according to claim 2 is preserved and transmission realizing method, it is characterized in that: described Client holds real time data to preserve module and preserves the Monitoring Data obtained from Server end.
4. a kind of CS framework Monitoring Data according to claim 2 is preserved and transmission realizing method, it is characterized in that: described Server Monitoring Data module for reading and writing, after monitoring starts triggering, the continual data to required monitoring read, and preservation position result is kept at specified by Monitoring Data transmission configuration module, and after the Monitoring Data getting maximum monitoring periods, carry out redundant data cleaning.
5. a kind of CS framework Monitoring Data according to claim 2 is preserved and transmission realizing method, it is characterized in that: described Monitoring Data transmission configuration module: when Client end initiates Monitoring Data request, Server end is preserved position from Monitoring Data and is read the Monitoring Data write, and hold request content according to Client, and Client holds the data of having preserved to be configured and transmits Client and holds the latest data do not obtained to hold to Client; Client end, according to the data of Server end transmission, in conjunction with the Monitoring Data of having preserved, carries out data configuration and uses.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510123285.2A CN104702616A (en) | 2015-03-20 | 2015-03-20 | Method for storing and transmitting monitoring data of CS (client server) framework |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510123285.2A CN104702616A (en) | 2015-03-20 | 2015-03-20 | Method for storing and transmitting monitoring data of CS (client server) framework |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104702616A true CN104702616A (en) | 2015-06-10 |
Family
ID=53349385
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510123285.2A Pending CN104702616A (en) | 2015-03-20 | 2015-03-20 | Method for storing and transmitting monitoring data of CS (client server) framework |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104702616A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100589087C (en) * | 2006-08-22 | 2010-02-10 | 中兴通讯股份有限公司 | General caching method |
CN101707697B (en) * | 2009-12-09 | 2011-09-28 | 深圳市同洲电子股份有限公司 | Method, system and equipment for pushing video and data contents |
CN102810091A (en) * | 2011-05-31 | 2012-12-05 | 捷达世软件(深圳)有限公司 | Monitoring data management method and system |
CN103592906A (en) * | 2013-09-29 | 2014-02-19 | 西安祥泰软件设备系统有限责任公司 | Motor parameter remote monitoring method and embedded motherboard |
CN103793485A (en) * | 2014-01-20 | 2014-05-14 | 锐达互动科技股份有限公司 | Method for inquiring network data by client terminal based on cached data |
CN103944957A (en) * | 2014-03-11 | 2014-07-23 | 成都阜特科技股份有限公司 | Off-line data collection method for industrial monitoring system and collection system thereof |
-
2015
- 2015-03-20 CN CN201510123285.2A patent/CN104702616A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100589087C (en) * | 2006-08-22 | 2010-02-10 | 中兴通讯股份有限公司 | General caching method |
CN101707697B (en) * | 2009-12-09 | 2011-09-28 | 深圳市同洲电子股份有限公司 | Method, system and equipment for pushing video and data contents |
CN102810091A (en) * | 2011-05-31 | 2012-12-05 | 捷达世软件(深圳)有限公司 | Monitoring data management method and system |
CN103592906A (en) * | 2013-09-29 | 2014-02-19 | 西安祥泰软件设备系统有限责任公司 | Motor parameter remote monitoring method and embedded motherboard |
CN103793485A (en) * | 2014-01-20 | 2014-05-14 | 锐达互动科技股份有限公司 | Method for inquiring network data by client terminal based on cached data |
CN103944957A (en) * | 2014-03-11 | 2014-07-23 | 成都阜特科技股份有限公司 | Off-line data collection method for industrial monitoring system and collection system thereof |
Non-Patent Citations (1)
Title |
---|
薛君: "变压器动态远程监测数据的存储和访问设计", 《电力学报》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2015121497A (en) | METHOD AND DEVICE FOR MANAGING APPLICATIONS, AND ALSO SERVER AND TERMINAL DEVICE | |
US20160004734A1 (en) | Secure data isolation in a multi-tenant historization system | |
US8806277B1 (en) | Systems and methods for fetching troubleshooting data | |
CN104202387A (en) | Metadata recovery method and related device | |
CN102158349A (en) | Log management device and method thereof | |
CN105577772A (en) | Material receiving method, material uploading method and device | |
US20170153909A1 (en) | Methods and Devices for Acquiring Data Using Virtual Machine and Host Machine | |
CN102497427A (en) | Method and device for realizing data acquisition services of renewable energy source monitoring system | |
CN105205167A (en) | Log data system | |
CN105610917B (en) | Method and system for realizing synchronous data repair in system | |
CN105245560A (en) | Method, device and system for realizing distributed cache | |
CN104125135A (en) | Instant messaging application chatting record management method and terminal thereof | |
CN108205482B (en) | File mount restoration methods | |
CN103490978A (en) | Terminal, server and message monitoring method | |
CN102891875A (en) | Signaling trace method, WEB client, service end and signaling trace system | |
US20140115112A1 (en) | Server system and message processing method thereof | |
CN108520052B (en) | Slow query information retrieval method and device, server and readable storage medium | |
CN111143465A (en) | Method and device for realizing data center station and electronic equipment | |
CN103885877B (en) | Method and device for generating simulation browser testing script of HTTP | |
CN110990351B (en) | Unstructured data acquisition method, device and system and computer equipment | |
CN105574008A (en) | Task scheduling method and equipment applied to distributed file system | |
CN104702616A (en) | Method for storing and transmitting monitoring data of CS (client server) framework | |
CN108769244B (en) | Storage task information acquisition method and related device | |
US20150317330A1 (en) | Storing data to multiple storage location types in a distributed historization system | |
CN102325051A (en) | EoC (Ethernet Over Coax) network equipment management system and method based on simple network management protocol |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20150610 |