CN107402865A - client data monitoring method and device - Google Patents
client data monitoring method and device Download PDFInfo
- Publication number
- CN107402865A CN107402865A CN201710542507.3A CN201710542507A CN107402865A CN 107402865 A CN107402865 A CN 107402865A CN 201710542507 A CN201710542507 A CN 201710542507A CN 107402865 A CN107402865 A CN 107402865A
- Authority
- CN
- China
- Prior art keywords
- index
- client
- achievement data
- data
- achievement
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3051—Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of client data monitoring method and device, wherein, method includes:The achievement data bag that client is actively sent is received, the achievement data bag includes:Client identification, index mark and achievement data string corresponding with index mark, the achievement data string include index name and achievement data;Index mark is identified;When identifying that the index is identified as service data index, the achievement data string is stored in spatial cache corresponding with the client identification;When identifying that the index is identified as parameter modification index, the index name in the achievement data string corresponding with the client identification that the achievement data renewal in the achievement data string has stored.Client data monitoring method provided by the invention and device can improve monitoring efficiency and improve the accuracy of client data monitoring.
Description
Technical field
The present invention relates to internet data monitoring technology, more particularly to a kind of client data monitoring method and device.
Background technology
It can all use monitoring system by internet to multiple with the development of Internet technology, in increasing field
The service data of client is monitored, and to know the running status of each client, and the service data of client is carried out
Storage is analyzed in order to the data subsequently according to storage.Such as:The fields such as car networking, Internet of Things, have been applied more
Ripe monitoring system.
At present, monitoring system is mainly to the mode that data are monitored:Monitoring system sends to each client and monitored
Request, after each client receives monitoring request, the service data of itself is fed back into monitoring system, even if client does not have
There is data renewal, it is also desirable to monitoring data feedback message.Above-mentioned monitor mode occupies the more task of monitoring system, wastes
More resource, reduces monitoring efficiency.Even when client terminal quantity is more, monitoring system is also very easy to be absorbed in
Collapse.Also, when client has parameter modification, because client will not actively inform monitoring system, therefore, monitoring system
System can not know the change, or even the data corresponding with parameter after change that can not be sent to client are identified, and cause
Service data obtains failure, reduces the accuracy of data monitoring.
The content of the invention
The present invention provides a kind of client data monitoring method and device, for improving monitoring efficiency and improving number clients
According to the accuracy of monitoring.
One aspect of the present invention provides a kind of client data monitoring method, including:
The achievement data bag that client is actively sent is received, the achievement data bag includes:Client identification, index mark
And achievement data string corresponding with index mark, the achievement data string include index name and achievement data;
Index mark is identified;
When identifying that the index is identified as service data index, by achievement data string deposit and the client
Spatial cache corresponding to mark;
When identifying that the index is identified as parameter modification index, the achievement data in the achievement data string is more
Index name in the new achievement data string corresponding with the client identification stored.
Another aspect of the invention provides a kind of client data supervising device, including:
Achievement data bag receiving module, the achievement data bag actively sent for receiving client, the achievement data bag
Including:Client identification, index mark and achievement data string corresponding with index mark, the achievement data string include
Index name and achievement data;
Index identifies identification module, for index mark to be identified;
Achievement data string memory module, for when identifying that the index is identified as service data index, by the finger
Mark serial data and be stored in spatial cache corresponding with the client identification;
Achievement data string update module, for when identifying that the index is identified as parameter modification index, according to described
Index name in the achievement data string corresponding with the client identification that achievement data renewal in achievement data string has stored
Claim.
Technical scheme provided by the invention, the mode of achievement data bag is actively sent by using client, can saved
The ample resources of monitoring system, and then improve the operational efficiency of monitoring system.In addition, the achievement data bag received uses index
Mode, consist of:Client identification, index mark, index name and achievement data, monitoring system recognize achievement data
The content of bag, you can quickly learn the content of the packet, need not move through identification or the processing procedure of complexity.When monitoring system is known
When being clipped to index and being identified as service data index, directly by index name and achievement data deposit caching sky corresponding with client
In;When monitoring system, which recognizes index, is identified as parameter modification index, then according to achievement data therein to monitoring system
In the index name that has stored changed, realize client and actively initiate parameter modification notice, so that monitoring system is timely
Know changed content and update, and then smoothly recognize the corresponding achievement data subsequently with the index name of change, it is ensured that number
According to the continuity of reception, accuracy is also improved.
Brief description of the drawings
Fig. 1 is the flow chart for the client data monitoring method that the embodiment of the present invention one provides;
Fig. 2 is the flow chart for the client data monitoring method that the embodiment of the present invention two provides;
Fig. 3 is the flow chart for the client data monitoring method that the embodiment of the present invention three provides;
Fig. 4 is the flow chart for the client data monitoring method that the embodiment of the present invention four provides;
Fig. 5 is to the stream of client configuration file renewal in the client data monitoring method that the embodiment of the present invention five provides
Cheng Tu;
Fig. 6 is the structural representation for the client data supervising device that the embodiment of the present invention six provides;
Fig. 7 is the structural representation for the client data supervising device that the embodiment of the present invention seven provides;
Fig. 8 is the structural representation for the client data supervising device that the embodiment of the present invention eight provides;
Fig. 9 is the structure of index serial data update module in the client data supervising device that the embodiment of the present invention nine provides
Schematic diagram;
Figure 10 is the structural representation for the client data supervising device that the embodiment of the present invention ten provides.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Embodiment one
The present embodiment provides a kind of client data monitoring method, and this method can be applied in multiple fields, for supervising
Control system pair is monitored with the running status of its each client being connected by internet.The method that the present embodiment provides can
To be performed by the client data supervising device in monitoring system, can be realized by way of software and/or hardware.
Fig. 1 is the flow chart for the client data monitoring method that the embodiment of the present invention one provides.As shown in figure 1, this implementation
The client data monitoring method that example provides, including:
Step 101, monitoring system receive the achievement data bag that client is actively sent, and the achievement data bag includes:Client
End mark, index mark and achievement data string corresponding with index mark, achievement data string include index name and index number
According to.
In the present embodiment, after client collects service data, actively achievement data bag, section are sent to monitoring system
The resource of monitoring system has been saved, has improved treatment effeciency of the monitoring system to data.
In addition, client sends service data in the form of an index, each index can include being one
Monitored item.Data to be sent are packaged into achievement data bag by client, the client identification that achievement data bag includes and visitor
Family end is one-to-one, so that monitoring system can know which is according to each the achievement data bag received
What individual client was sent, and store data in corresponding to the client in storage region.In the present embodiment, by the thing of client
Address is managed as client identification.
These parameters mark is one-to-one with achievement data string, and index is identified for distinguishing the interior of achievement data string
Hold, index mark can be:Service data mark, parameter modification index etc..If index is identified as service data mark, correspond to
Achievement data string be client service data.If index is identified as parameter modification index, corresponding achievement data string is
The content of parameter modification.
These parameters serial data includes index name and achievement data, and index name can be set according to monitored item, false
If index is identified as service data mark, index name can be:Temperature, the fdisk number of client central processing unit
Deng.Achievement data is the particular content of monitored item, if index name is the temperature of client central processing unit, achievement data
For 50 °;If index name is fdisk number, achievement data is 3.Assuming that index is identified as parameter modification index, refer to
Entitling can be referred to as the index name before changing, and achievement data is the index name after change.Such as:At client,
It is that Temp1 is changed to Temp2 by the index name of a certain monitored item, then the index name in achievement data string is Temp1, index
Data are Temp2.
Above-mentioned is for example, service data and various parameters change can be generated These parameters number by client
According to bag, monitoring system is sent to.
After monitoring system receives These parameters packet, the achievement data bag is parsed, obtained therein
Client identification, index mark, index name and achievement data.
The field that the monitoring method provided according to the present embodiment is applied is different, and client can be based on different operations
System, service data is gathered by different acquisition modes.In the present embodiment, client is based on (SuSE) Linux OS, uses
Timed task software (Crontab) that (SuSE) Linux OS carries performs client-side program.In each timing cycle,
The service data of itself is gathered, and is packaged into achievement data bag and is sent to monitoring system.
After each timing cycle terminates, stop being acquired service data, treat that next timing cycle starts
Afterwards, continue to be acquired service data.The advantages of being acquired using timed task software to service data is being capable of week
The startup and stopping of phase property, avoid the problem that crashed caused by continuous service is easier to.
Data Transport Protocol between client and monitoring system can be HTTP (HyperText
Transfer Protocol, referred to as:Http protocol).
Index mark is identified for step 102, monitoring system.
Step 103, when identifying that index is identified as service data index, monitoring system by achievement data string deposit with visitor
Spatial cache corresponding to the mark of family end.
When monitoring system identifies that index is identified as service data index, then the achievement data string received is faced
When store.Buffer area is provided with monitoring system, the data for each client to receiving carry out interim storage, with
It is easy to handle data.
For each client, corresponding spatial cache is provided with.Monitoring system be able to will connect according to client identification
Corresponding to the achievement data string deposit received in spatial cache.
Step 104, when identifying that index is identified as parameter modification index, finger of the monitoring system in achievement data string
Index name in the achievement data string corresponding with client identification that mark data renewal has stored.
When monitoring system identifies that index is identified as parameter modification index, then need to carry out accordingly the parameter stored
Modification.
Such as:The index name stored in monitoring system is the temperature Temp1 of client central processing unit.In step
In 104, in the achievement data bag received, index name Temp1, achievement data Temp2, then it will be deposited in monitoring system
The index name of storage is changed to Temp2.Subsequently, client will continue to send achievement data bag using Temp2 as index name.
The technical scheme that the present embodiment provides, the mode of achievement data bag, Neng Goujie are actively sent by using client
The ample resources of monitoring system is saved, and then improves the operational efficiency of monitoring system.Refer in addition, the achievement data bag received uses
Target mode, is consisted of:Client identification, index mark, index name and achievement data, monitoring system recognize index number
According to the content of bag, you can quickly learn the content of the packet, need not move through identification or the processing procedure of complexity.Work as monitoring system
When recognizing index and being identified as service data index, directly cache index name and achievement data deposit are corresponding with client
In space;When monitoring system, which recognizes index, is identified as parameter modification index, it is to monitoring according to achievement data therein then
The index name stored in system is changed, realize client actively initiate parameter modification notice so that monitoring system and
Shi Zhixiao changed contents simultaneously update, and then smoothly recognize the corresponding achievement data subsequently with the index name of change, it is ensured that
The continuity of data receiver, also improves accuracy.
Embodiment two
The present embodiment is on the basis of above-described embodiment, and client data monitoring method is further improved.
This method can be performed by the client data supervising device in monitoring system, can be by way of software and/or hardware
To realize.
Fig. 2 is the flow chart for the client data monitoring method that the embodiment of the present invention two provides.As shown in Fig. 2 above-mentioned
Achievement data string is stored in spatial cache corresponding with client identification by step 103 monitoring system, and afterwards, monitoring system can be to slow
The achievement data string deposited in space is handled, such as:
Step 105, monitoring system judge achievement data in spatial cache whether in setting range, if it is not, then performing
Step 106.
Step 106, monitoring system produce warning message.
The setting range can be formed by upper limit threshold and lower threshold, specifically, judging the index in spatial cache
Whether data are less than or equal to upper limit threshold, and achievement data is more than or equal to lower threshold, if so, then achievement data is being set
In the range of.If achievement data is more than upper limit threshold, or less than lower threshold, then achievement data then monitors not in setting range
System need to produce alarm signal.Alarm signal can indicate that the display screen in monitoring system carries out picture and shown, or instruction prison
Audio frequency apparatus in control system sends alert audio sound etc., for prompting user.
The technical scheme that the present embodiment provides, the mode of achievement data bag, Neng Goujie are actively sent by using client
The ample resources of monitoring system is saved, and then improves the operational efficiency of monitoring system.Refer in addition, the achievement data bag received uses
Target mode, is consisted of:Client identification, index mark, index name and achievement data, monitoring system recognize index number
According to the content of bag, you can quickly learn the content of the packet, need not move through identification or the processing procedure of complexity.Work as monitoring system
When recognizing index and being identified as service data index, directly cache index name and achievement data deposit are corresponding with client
In space;When monitoring system, which recognizes index, is identified as parameter modification index, it is to monitoring according to achievement data therein then
The index name stored in system is changed, realize client actively initiate parameter modification notice so that monitoring system and
Shi Zhixiao changed contents simultaneously update, and then smoothly recognize the corresponding achievement data subsequently with the index name of change, it is ensured that
The continuity of data receiver, also improves accuracy.
Further, the present embodiment provides technical scheme and also the achievement data in deposit spatial cache is judged,
It is judged whether in setting range, if not in setting range, monitoring system produces alarm signal, to prompt user.
Embodiment three
The present embodiment is on the basis of above-described embodiment, and client data monitoring method is further improved.
This method can be performed by the client data supervising device in monitoring system, can be by way of software and/or hardware
To realize.
Fig. 3 is the flow chart for the client data monitoring method that the embodiment of the present invention three provides.As shown in figure 3, by upper
Step 105 is stated, if judging achievement data in spatial cache in setting range, performs step 107.
Achievement data is stored as setting the file of form by step 107, monitoring system.
Above-mentioned setting form can be the file format for being easy to read and parse commonly used in monitoring system.Due to existing skill
In art, monitoring system is directly stored to the data of feedback, not set after handling the data of client feedback
Fixed any storage format.Cause subsequent third method, system (such as:Time series databases) can not directly it be answered after data are extracted
With, and need just to can apply to the processes such as analysis after being adjusted data format and changing.Therefore, the present embodiment is by index
Data storage is the file of setting form, and subsequently directly data are extracted and parsed according to setting form, are improved
Convenience and the efficiency of data processing.
Example IV
The present embodiment is on the basis of above-described embodiment, and client data monitoring method is further improved.
This method can be performed by the client data supervising device in monitoring system, can be by way of software and/or hardware
To realize.
Fig. 4 is the flow chart for the client data monitoring method that the embodiment of the present invention four provides.As shown in figure 4, above-mentioned
In step 104, the achievement data in achievement data string updates the achievement data string corresponding with client identification stored
In index name before, change acknowledgement window can also be generated, so that user checks and confirms.
Above-mentioned steps 104 can specifically be realized in the following way:
Step 1041, when identifying that index is identified as parameter modification index, monitoring system is concatenated into according to achievement data
Change acknowledgement window.
Acknowledgement window is shown:The index name after index name and change before client identification, change
(i.e.:Achievement data in achievement data string), checked for user.
In addition, acknowledgement window is additionally provided with virtual confirmation button and cancels button, user can be confirmed by click keys
Parameter modification cancels parameter modification.
User, which presses, confirms that the operation of button can be used as confirmation alteration command, is sent to monitoring system.
Step 1042, monitoring system receive the confirmation alteration command that user inputs by changing acknowledgement window.
Step 1043, monitoring system in achievement data string achievement data renewal stored with client identification pair
Index name in the achievement data string answered.
The technical scheme that the present embodiment provides, the mode of achievement data bag, Neng Goujie are actively sent by using client
The ample resources of monitoring system is saved, and then improves the operational efficiency of monitoring system.Refer in addition, the achievement data bag received uses
Target mode, is consisted of:Client identification, index mark, index name and achievement data, monitoring system recognize index number
According to the content of bag, you can quickly learn the content of the packet, need not move through identification or the processing procedure of complexity.Work as monitoring system
When recognizing index and being identified as service data index, directly cache index name and achievement data deposit are corresponding with client
In space;When monitoring system, which recognizes index, is identified as parameter modification index, it is to monitoring according to achievement data therein then
The index name stored in system is changed, realize client actively initiate parameter modification notice so that monitoring system and
Shi Zhixiao changed contents simultaneously update, and then smoothly recognize the corresponding achievement data subsequently with the index name of change, it is ensured that
The continuity of data receiver, also improves accuracy.
Embodiment five
The present embodiment is on the basis of above-described embodiment, and client data monitoring method is further improved,
Especially the mode of client configuration file renewal is further improved.This method can be by the client in monitoring system
Data monitoring device performs, and can be realized by way of software and/or hardware.
Fig. 5 is to the stream of client configuration file renewal in the client data monitoring method that the embodiment of the present invention five provides
Cheng Tu.As shown in figure 5, monitoring method also includes:
Step 110, monitoring system receive the configuration file change query messages that client is sent, configuration file change inquiry
Message includes:Client identification;
In the present embodiment, the change of the configuration file of client is placed in monitoring system, controlled by monitoring system
The upgrading or renewal of client software.Client is periodically to monitoring system send configuration document change query messages.
Step 120, monitoring system search configuration file corresponding with client identification according to client identification.
Step 130, monitoring system judge whether configuration file has altered, if so, then performing step 140.
Configuration file is stored in monitoring system, if configuration file has renewal, monitoring system can retain more new record.According to
Client identification, monitoring system searched in the storage region inside it corresponding to configuration file, and judge that the configuration file is
It is no to have altered.
Specifically, monitoring system to after client send configuration file, can record the current configuration of client every time
FileVersion.Therefore, when the configuration file that subsequently received client is sent changes query messages, monitoring system is searched and should
The latest edition of configuration file corresponding to client, if different from the configuration file version of record, show that configuration file has change
More.
Or client also carries client into monitoring system send configuration document change query messages and is currently configured
The version number of file, monitoring system search configuration file in itself storage region, if the version that its version number sends with client
This number difference, show that configuration file has altered.
Configuration file is sent to client by step 140, monitoring system.
Client receives the configuration file after change, for software upgrading and upgrading.
The technical scheme that the present embodiment provides, the mode of achievement data bag, Neng Goujie are actively sent by using client
The ample resources of monitoring system is saved, and then improves the operational efficiency of monitoring system.Refer in addition, the achievement data bag received uses
Target mode, is consisted of:Client identification, index mark, index name and achievement data, monitoring system recognize index number
According to the content of bag, you can quickly learn the content of the packet, need not move through identification or the processing procedure of complexity.Work as monitoring system
When recognizing index and being identified as service data index, directly cache index name and achievement data deposit are corresponding with client
In space;When monitoring system, which recognizes index, is identified as parameter modification index, it is to monitoring according to achievement data therein then
The index name stored in system is changed, realize client actively initiate parameter modification notice so that monitoring system and
Shi Zhixiao changed contents simultaneously update, and then smoothly recognize the corresponding achievement data subsequently with the index name of change, it is ensured that
The continuity of data receiver, also improves accuracy.
Further, the configuration file of client is changed into operation setting in monitoring system, then user only passes through monitoring
System is the software upgrading of controllable client, is updated without logging in client in turn, improves convenience.
On the basis of above-mentioned technical proposal, if monitoring system does not receive what client was sent within long period of time
On the achievement data bag of some monitored item, monitoring system actively can send a notification message to client, for finding out client
End whether normal operation.If the feedback message that client is sent is not received in setting time after sending the notification message,
It is believed that phenomena such as client crashes, monitoring system can produce cue, for prompting client;Or monitoring system can
To directly transmit restarting command signal to client.If it have received client in setting time after sending the notification message
The feedback message sent is held, then it is believed that client normal operation.
Embodiment six
Fig. 6 is the structural representation for the client data supervising device that the embodiment of the present invention six provides.As shown in fig. 6, this
Embodiment provides a kind of client data supervising device, including:Achievement data bag receiving module 11, index mark identification module
12nd, achievement data string memory module 13 and achievement data string update module 14.
Wherein, achievement data bag receiving module 11 is used to receive the achievement data bag that client is actively sent, achievement data
Bag includes:Client identification, index mark and achievement data string corresponding with index mark, achievement data string include index name
Title and achievement data.Index mark identification module 12 is used to index mark be identified.Achievement data string memory module 13 is used
In when identifying that index is identified as service data index, it is empty that achievement data string is stored in caching corresponding with client identification
Between.Achievement data string update module 14 is used for when identifying that index is identified as parameter modification index, according in achievement data string
The achievement data string corresponding with client identification that has stored of achievement data renewal in index name.
The technical scheme that the present embodiment provides, the mode of achievement data bag, Neng Goujie are actively sent by using client
The ample resources of monitoring system is saved, and then improves the operational efficiency of monitoring system.Refer in addition, the achievement data bag received uses
Target mode, is consisted of:Client identification, index mark, index name and achievement data, monitoring system recognize index number
According to the content of bag, you can quickly learn the content of the packet, need not move through identification or the processing procedure of complexity.Work as monitoring system
When recognizing index and being identified as service data index, directly cache index name and achievement data deposit are corresponding with client
In space;When monitoring system, which recognizes index, is identified as parameter modification index, it is to monitoring according to achievement data therein then
The index name stored in system is changed, realize client actively initiate parameter modification notice so that monitoring system and
Shi Zhixiao changed contents simultaneously update, and then smoothly recognize the corresponding achievement data subsequently with the index name of change, it is ensured that
The continuity of data receiver, also improves accuracy.
Embodiment seven
Fig. 7 is the structural representation for the client data supervising device that the embodiment of the present invention seven provides.As shown in fig. 7,
On the basis of above-described embodiment, client data supervising device also includes:Achievement data judge module 15 and warning message produce
Module 16.
Wherein, whether the achievement data that achievement data judge module 15 is used to judge in spatial cache is in setting range.
Warning message generation module 16 is used for when judging the achievement data in spatial cache not in setting range, produces alarm and disappears
Breath.
The technical scheme that the present embodiment provides, the mode of achievement data bag, Neng Goujie are actively sent by using client
The ample resources of monitoring system is saved, and then improves the operational efficiency of monitoring system.Refer in addition, the achievement data bag received uses
Target mode, is consisted of:Client identification, index mark, index name and achievement data, monitoring system recognize index number
According to the content of bag, you can quickly learn the content of the packet, need not move through identification or the processing procedure of complexity.Work as monitoring system
When recognizing index and being identified as service data index, directly cache index name and achievement data deposit are corresponding with client
In space;When monitoring system, which recognizes index, is identified as parameter modification index, it is to monitoring according to achievement data therein then
The index name stored in system is changed, realize client actively initiate parameter modification notice so that monitoring system and
Shi Zhixiao changed contents simultaneously update, and then smoothly recognize the corresponding achievement data subsequently with the index name of change, it is ensured that
The continuity of data receiver, also improves accuracy.
Further, the present embodiment provides technical scheme and also the achievement data in deposit spatial cache is judged,
It is judged whether in setting range, if not in setting range, monitoring system produces alarm signal, to prompt user.
Embodiment eight
Fig. 8 is the structural representation for the client data supervising device that the embodiment of the present invention eight provides.As shown in figure 8, this
The client data supervising device that embodiment provides, in addition to:File storage module 17.
File storage module 17 is used for when judging that the achievement data in spatial cache is in setting range, by index number
According to the file for being stored as setting form.
Achievement data is stored as setting the file of form by the present embodiment, and subsequently directly data are carried out according to setting form
Extraction and parsing, improve convenience and the efficiency of data processing.
Embodiment nine
Fig. 9 is the structure of index serial data update module in the client data supervising device that the embodiment of the present invention nine provides
Schematic diagram.As shown in figure 9, in the client data supervising device that the present embodiment provides, achievement data string update module 14 is specific
Including:Change acknowledgement window generation module 141, confirm alteration command receiving unit 142 and index name updating block 143.
Change acknowledgement window generation unit 141 to be used for when identifying that index is identified as parameter modification index, according to index
Serial data generation change acknowledgement window.Confirm that alteration command receiving unit 142 is defeated by changing acknowledgement window for receiving user
The confirmation alteration command entered.The achievement data renewal that index name updating block 143 is used in achievement data string has stored
Achievement data string corresponding with client identification in index name.
The technical scheme that the present embodiment provides, the mode of achievement data bag, Neng Goujie are actively sent by using client
The ample resources of monitoring system is saved, and then improves the operational efficiency of monitoring system.Refer in addition, the achievement data bag received uses
Target mode, is consisted of:Client identification, index mark, index name and achievement data, monitoring system recognize index number
According to the content of bag, you can quickly learn the content of the packet, need not move through identification or the processing procedure of complexity.Work as monitoring system
When recognizing index and being identified as service data index, directly cache index name and achievement data deposit are corresponding with client
In space;When monitoring system, which recognizes index, is identified as parameter modification index, it is to monitoring according to achievement data therein then
The index name stored in system is changed, realize client actively initiate parameter modification notice so that monitoring system and
Shi Zhixiao changed contents simultaneously update, and then smoothly recognize the corresponding achievement data subsequently with the index name of change, it is ensured that
The continuity of data receiver, also improves accuracy.
Embodiment ten
Figure 10 is the structural representation for the client data supervising device that the embodiment of the present invention ten provides.As shown in Figure 10,
The client data supervising device that the present embodiment provides, in addition to:Configuration file change query messages receiving module 19, configuration text
Part searching modul 20, configuration file change judge module 21 and configuration file sending module 22.Eliminated in Figure 10 shown in Fig. 6
Four modules.
Wherein, configuration file change query messages receiving module 19 is looked into for receiving the configuration file change that client is sent
Message is ask, configuration file change query messages include:Client identification.Configuration file searching modul 20 is used for according to client mark
Know and search configuration file corresponding with client identification.Configuration file change judge module 21 is used to judge whether configuration file has
Change.Configuration file sending module 22 is used for when judging that configuration file has altered, then configuration file is sent into client.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to
The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey
Sequence upon execution, execution the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or
Person's CD etc. is various can be with the medium of store program codes.
The technical scheme that the present embodiment provides, the mode of achievement data bag, Neng Goujie are actively sent by using client
The ample resources of monitoring system is saved, and then improves the operational efficiency of monitoring system.Refer in addition, the achievement data bag received uses
Target mode, is consisted of:Client identification, index mark, index name and achievement data, monitoring system recognize index number
According to the content of bag, you can quickly learn the content of the packet, need not move through identification or the processing procedure of complexity.Work as monitoring system
When recognizing index and being identified as service data index, directly cache index name and achievement data deposit are corresponding with client
In space;When monitoring system, which recognizes index, is identified as parameter modification index, it is to monitoring according to achievement data therein then
The index name stored in system is changed, realize client actively initiate parameter modification notice so that monitoring system and
Shi Zhixiao changed contents simultaneously update, and then smoothly recognize the corresponding achievement data subsequently with the index name of change, it is ensured that
The continuity of data receiver, also improves accuracy.
Further, the configuration file of client is changed into operation setting in monitoring system, then user only passes through monitoring
System is the software upgrading of controllable client, is updated without logging in client in turn, improves convenience.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.
Claims (10)
- A kind of 1. client data monitoring method, it is characterised in that including:The achievement data bag that client is actively sent is received, the achievement data bag includes:Client identification, index mark and Achievement data string corresponding with index mark, the achievement data string include index name and achievement data;Index mark is identified;When identifying that the index is identified as service data index, by achievement data string deposit and the client identification Corresponding spatial cache;When identifying that the index is identified as parameter modification index, the achievement data renewal in the achievement data string is Index name in the achievement data string corresponding with the client identification of storage.
- 2. client data monitoring method according to claim 1, it is characterised in that by the achievement data string deposit with After spatial cache corresponding to the client identification, in addition to:Judge the achievement data in the spatial cache whether in setting range;When judging the achievement data in the spatial cache not in the setting range, warning message is produced.
- 3. client data monitoring method according to claim 2, it is characterised in that also include:When judging that the achievement data in the spatial cache is in the setting range, the achievement data is stored as setting The file for the formula that fixes.
- 4. client data monitoring method according to claim 1, it is characterised in that when identifying that the index is identified as During parameter modification index, the achievement data renewal in the achievement data string has stored corresponding with the client identification Achievement data string in index name, including:When identifying that the index is identified as parameter modification index, according to institute's index serial data generation change acknowledgement window;When receiving the confirmation alteration command that user is inputted by the change acknowledgement window, according in the achievement data string The achievement data string corresponding with the client identification that has stored of achievement data renewal in index name.
- 5. client data monitoring method according to claim 1, it is characterised in that also include:The configuration file change query messages that the client is sent are received, the configuration file change query messages include: Client identification;Configuration file corresponding with the client identification is searched according to the client identification;Judge whether the configuration file has altered;When judging that the configuration file has altered, the configuration file is sent to the client.
- A kind of 6. client data supervising device, it is characterised in that including:Achievement data bag receiving module, the achievement data bag actively sent for receiving client, the achievement data bag include: Client identification, index mark and achievement data string corresponding with index mark, the achievement data string include index Title and achievement data;Index identifies identification module, for index mark to be identified;Achievement data string memory module, for when identifying that the index is identified as service data index, by the index number Spatial cache corresponding with the client identification is stored according to string;Achievement data string update module, for when identifying that the index is identified as parameter modification index, according to the index Index name in the achievement data string corresponding with the client identification that achievement data renewal in serial data has stored.
- 7. client data supervising device according to claim 6, it is characterised in that also include:Achievement data judge module, for judging the achievement data in the spatial cache whether in setting range;Warning message generation module, for that ought judge the achievement data in the spatial cache not in the setting range When, produce warning message.
- 8. client data supervising device according to claim 7, it is characterised in that also include:File storage module, for when judging that the achievement data in the spatial cache is in the setting range, by institute State the file that achievement data is stored as setting form.
- 9. client data supervising device according to claim 6, it is characterised in that the achievement data string update module Including:Acknowledgement window generation unit is changed, for when identifying that the index is identified as parameter modification index, according to institute's index Serial data generation change acknowledgement window;Index name updating block, for working as the confirmation alteration command for receiving user and passing through the change acknowledgement window and inputting When, the achievement data in the achievement data string updates the achievement data string corresponding with the client identification stored In index name.
- 10. client data supervising device according to claim 6, it is characterised in that also include:Configuration file changes query messages receiving module, disappears for receiving the configuration file change inquiry that the client is sent Breath, the configuration file change query messages include:Client identification;Configuration file searching modul, for searching configuration file corresponding with the client identification according to the client identification;Configuration file changes judge module, for judging whether the configuration file has altered;Configuration file sending module, for when judging that the configuration file has altered, being then sent to the configuration file The client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710542507.3A CN107402865B (en) | 2017-07-05 | 2017-07-05 | Client data monitoring method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710542507.3A CN107402865B (en) | 2017-07-05 | 2017-07-05 | Client data monitoring method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107402865A true CN107402865A (en) | 2017-11-28 |
CN107402865B CN107402865B (en) | 2020-10-16 |
Family
ID=60404910
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710542507.3A Active CN107402865B (en) | 2017-07-05 | 2017-07-05 | Client data monitoring method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107402865B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109165136A (en) * | 2018-07-25 | 2019-01-08 | 平安科技(深圳)有限公司 | Monitoring method, terminal device and the medium of terminal operating data |
CN110705307A (en) * | 2019-08-30 | 2020-01-17 | 深圳壹账通智能科技有限公司 | Information change index monitoring method and device, computer equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070094110A1 (en) * | 2004-06-07 | 2007-04-26 | Mccrea Frank | System and method for improved time reporting and billing |
CN106100902A (en) * | 2016-08-04 | 2016-11-09 | 腾讯科技(深圳)有限公司 | High in the clouds index monitoring method and apparatus |
CN106452931A (en) * | 2016-12-27 | 2017-02-22 | 中国建设银行股份有限公司 | Monitoring index, domain value discovery method, domain value adjusting method and automatic monitoring system |
-
2017
- 2017-07-05 CN CN201710542507.3A patent/CN107402865B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070094110A1 (en) * | 2004-06-07 | 2007-04-26 | Mccrea Frank | System and method for improved time reporting and billing |
CN106100902A (en) * | 2016-08-04 | 2016-11-09 | 腾讯科技(深圳)有限公司 | High in the clouds index monitoring method and apparatus |
CN106452931A (en) * | 2016-12-27 | 2017-02-22 | 中国建设银行股份有限公司 | Monitoring index, domain value discovery method, domain value adjusting method and automatic monitoring system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109165136A (en) * | 2018-07-25 | 2019-01-08 | 平安科技(深圳)有限公司 | Monitoring method, terminal device and the medium of terminal operating data |
WO2020019437A1 (en) * | 2018-07-25 | 2020-01-30 | 平安科技(深圳)有限公司 | Method and apparatus for monitoring terminal operating data, terminal device, and medium |
CN110705307A (en) * | 2019-08-30 | 2020-01-17 | 深圳壹账通智能科技有限公司 | Information change index monitoring method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107402865B (en) | 2020-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107273263B (en) | Abnormal operation analysis method, application terminal and monitoring server | |
CN102291430B (en) | Method for processing allocation information of Internet of things, Internet of things platform and system | |
CN107330035B (en) | Operation log synchronization method in database, mobile terminal and computer readable storage medium | |
CN108509299B (en) | Message processing method, device and computer readable storage medium | |
CN107040543B (en) | Single sign-on method, terminal and storage medium | |
CN107026821A (en) | The processing method and processing device of message | |
US20160234307A1 (en) | Data transmission method, device, and system | |
CN110247967A (en) | Intelligent networking gateway and its data intelligence processing method | |
CN107402865A (en) | client data monitoring method and device | |
US11405973B2 (en) | Detecting network connectivity anomalies with presence analysis | |
CN115426135B (en) | Processing of flow detection rules, and network flow detection method, device and equipment | |
US20150256962A1 (en) | M2m gateway device and applying method thereof | |
CN108684069B (en) | Network attachment method and device and mobile terminal | |
CN104660725A (en) | Method for automatically deploying and withdrawing monitoring according to detected mobile phone location | |
CN108684021B (en) | Bluetooth low-power-consumption communication method and device | |
JP6042243B2 (en) | Monitoring system, monitoring server, and monitoring method | |
CN111818021B (en) | Configuration information safety protection system and method based on new generation information technology | |
US11075951B1 (en) | Query learning for automated incident investigation and remediation | |
CN116758645A (en) | Robot inspection method, system, computer equipment and storage medium | |
CN106254575B (en) | A kind of method and apparatus of determining user identifier | |
CN112866422B (en) | Data request processing method and device | |
CN109889593B (en) | Distributed master-slave machine communication method and device for mobile security shelter | |
CN113079500B (en) | Terminal activation method and device, storage medium and electronic equipment | |
CN104426997B (en) | The processing method and processing device of signaling tracing | |
CN114024697A (en) | Security control method, device, system, electronic device, and storage medium |
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 |