CN107402865B - Client data monitoring method and device - Google Patents

Client data monitoring method and device Download PDF

Info

Publication number
CN107402865B
CN107402865B CN201710542507.3A CN201710542507A CN107402865B CN 107402865 B CN107402865 B CN 107402865B CN 201710542507 A CN201710542507 A CN 201710542507A CN 107402865 B CN107402865 B CN 107402865B
Authority
CN
China
Prior art keywords
index
client
index data
data
identifier
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
Application number
CN201710542507.3A
Other languages
Chinese (zh)
Other versions
CN107402865A (en
Inventor
谢伟亭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Jingshu Information Technology Co ltd
Original Assignee
Shanghai Jingshu Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Jingshu Information Technology Co ltd filed Critical Shanghai Jingshu Information Technology Co ltd
Priority to CN201710542507.3A priority Critical patent/CN107402865B/en
Publication of CN107402865A publication Critical patent/CN107402865A/en
Application granted granted Critical
Publication of CN107402865B publication Critical patent/CN107402865B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols 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 invention provides a client data monitoring method and a client data monitoring device, wherein the method comprises the following steps: receiving an index data packet actively sent by a client, wherein the index data packet comprises: the system comprises a client identifier, an index identifier and an index data string corresponding to the index identifier, wherein the index data string comprises an index name and index data; identifying the index identification; when the index identification is identified as the operation data index, storing the index data string into a cache space corresponding to the client identification; and when the index identification is identified as a parameter change index, updating the index name in the stored index data string corresponding to the client identification according to the index data in the index data string. The client data monitoring method and device provided by the invention can improve the monitoring efficiency and improve the accuracy of client data monitoring.

Description

Client data monitoring method and device
Technical Field
The invention relates to the internet data monitoring technology, in particular to a client data monitoring method and device.
Background
With the development of internet technology, a monitoring system is adopted in more and more fields to monitor the operation data of a plurality of clients through the internet so as to obtain the operation state of each client, and store the operation data of the clients so as to be convenient for subsequent analysis according to the stored data. For example: the field of car networking, internet of things, etc. has applied comparatively ripe monitored control system.
At present, the monitoring system mainly monitors data in the following ways: the monitoring system sends monitoring requests to the clients, and after the clients receive the monitoring requests, the clients feed back the running data of the clients to the monitoring system, so that even if the clients do not update the data, messages need to be fed back to the monitoring data. The monitoring mode occupies more tasks of the monitoring system, wastes more resources and reduces the monitoring efficiency. Even when the number of clients is large, the monitoring system is very susceptible to crash. Moreover, when the client side has parameter change, the client side does not actively inform the monitoring system, so that the monitoring system cannot acquire the change, and even cannot identify data corresponding to the changed parameters sent by the client side, thereby causing failure in acquiring the operation data and reducing the accuracy of data monitoring.
Disclosure of Invention
The invention provides a client data monitoring method and device, which are used for improving monitoring efficiency and improving the accuracy of client data monitoring.
One aspect of the present invention provides a client data monitoring method, including:
receiving an index data packet actively sent by a client, wherein the index data packet comprises: the system comprises a client identifier, an index identifier and an index data string corresponding to the index identifier, wherein the index data string comprises an index name and index data;
identifying the index identification;
when the index identification is identified as the operation data index, storing the index data string into a cache space corresponding to the client identification;
and when the index identification is identified as a parameter change index, updating the index name in the stored index data string corresponding to the client identification according to the index data in the index data string.
Another aspect of the present invention provides a client data monitoring apparatus, including:
the index data packet receiving module is used for receiving an index data packet sent by a client, and the index data packet comprises: the system comprises a client identifier, an index identifier and an index data string corresponding to the index identifier, wherein the index data string comprises an index name and index data;
the index identification recognition module is used for recognizing the index identification;
the index data string storage module is used for storing the index data string into a cache space corresponding to the client identifier when the index identifier is identified as the operating data index;
and the index data string updating module is used for updating the stored index name in the index data string corresponding to the client identifier according to the index data in the index data string when the index identifier is identified as the parameter change index.
According to the technical scheme provided by the invention, a mode that the client actively sends the index data packet is adopted, so that a large amount of resources of the monitoring system can be saved, and the operation efficiency of the monitoring system is further improved. Further, the received pointer packet is configured to adopt a pointer method including: the client identification, the index name and the index data, and the monitoring system identifies the content of the index data packet, so that the content of the data packet can be quickly known without complex identification or processing processes. When the monitoring system identifies that the index mark is the operation data index, directly storing the index name and the index data into a cache space corresponding to the client; when the monitoring system identifies that the index mark is the parameter change index, the index name stored in the monitoring system is changed according to the index data in the index mark, so that the client actively initiates a parameter change notification, the monitoring system can timely know and update the change content, the subsequent index data corresponding to the changed index name is smoothly identified, the continuity of data receiving is ensured, and the accuracy is also improved.
Drawings
Fig. 1 is a flowchart of a client data monitoring method according to an embodiment of the present invention;
fig. 2 is a flowchart of a client data monitoring method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a client data monitoring method according to a third embodiment of the present invention;
fig. 4 is a flowchart of a client data monitoring method according to a fourth embodiment of the present invention;
fig. 5 is a flowchart illustrating updating of a client configuration file in a client data monitoring method according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a client data monitoring apparatus according to a sixth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a client data monitoring apparatus according to a seventh embodiment of the present invention;
fig. 8 is a schematic structural diagram of a client data monitoring apparatus according to an eighth embodiment of the present invention;
fig. 9 is a schematic structural diagram of an index data string updating module in a client data monitoring apparatus according to a ninth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a client data monitoring apparatus according to a tenth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
The embodiment provides a client data monitoring method, which can be applied to various fields and is used for monitoring the running state of each client connected with a monitoring system through the internet. The method provided by the embodiment can be executed by a client data monitoring device in a monitoring system, and can be implemented by software and/or hardware.
Fig. 1 is a flowchart of a client data monitoring method according to an embodiment of the present invention. As shown in fig. 1, the client data monitoring method provided in this embodiment includes:
step 101, a monitoring system receives an index data packet actively sent by a client, wherein the index data packet comprises: the system comprises a client identifier, an index identifier and an index data string corresponding to the index identifier, wherein the index data string comprises an index name and index data.
In the embodiment, after the client collects the operation data, the index data packet is actively sent to the monitoring system, so that the resources of the monitoring system are saved, and the data processing efficiency of the monitoring system is improved.
In addition, the client sends the operation data in the form of a index, and each index can be included as a monitoring item. The client packs the data to be sent into an index data packet, and client identifications included in the index data packet correspond to the clients one to one, so that the monitoring system can know which client sent the data according to each received index data packet and store the data in a storage area corresponding to the client. In this embodiment, the physical address of the client is used as the client identifier.
The index identifier corresponds to the index data string one to one, the index identifier is used for distinguishing the content of the index data string, and the index identifier may be: running data identification, parameter change indexes and the like. And if the index identifier is the operation data identifier, the corresponding index data string is the operation data of the client. If the index mark is a parameter change index, the corresponding index data string is the content of the parameter change.
The index data string includes an index name and index data, the index name may be set according to the monitoring item, and assuming that the index identifier is an operation data identifier, the index name may be: the temperature of the central processing unit of the client, the number of hard disk partitions and the like. The index data is the specific content of the monitoring item, and if the index name is the temperature of the central processing unit of the client, the index data is 50 degrees; if the index name is the number of hard disk partitions, the index data is 3. Assuming that the indicator is identified as a parameter change indicator, the indicator name may be the indicator name before the change and the indicator data is the indicator name after the change. For example: at the client, the index name of a certain monitoring item is changed to Temp1 to Temp2, and then the index name in the index data string is Temp1 and the index data is Temp 2.
The above are examples, and the client may generate the index data packet by changing the operation data and various parameters, and send the index data packet to the monitoring system.
And after the monitoring system receives the index data packet, analyzing the index data packet to obtain a client identifier, an index name and index data.
According to different application fields of the monitoring method provided by the embodiment, the client can acquire the operation data through different acquisition modes based on different operating systems. In this embodiment, the client executes the client program based on the Linux operating system by using the self-contained timed task software (Crontab) of the Linux operating system. And in each timing period, collecting the self operation data, packaging the operation data into an index data packet and sending the index data packet to the monitoring system.
And stopping collecting the operation data after each timing period is finished, and continuing to collect the operation data after the next timing period is started. The method has the advantages that the running data are collected by adopting the timed task software, and the running data can be started and stopped periodically, so that the problem of halt caused by continuous running is avoided.
The data transmission Protocol between the client and the monitoring system may be a hypertext transfer Protocol (HTTP Protocol).
And 102, identifying the index identification by the monitoring system.
And 103, when the index identification is identified as the operation data index, the monitoring system stores the index data string into a cache space corresponding to the client identification.
And when the monitoring system identifies that the index identification is the operation data index, temporarily storing the received index data string. And a cache region is arranged in the monitoring system and used for temporarily storing the received data of each client so as to process the data.
And for each client, a corresponding cache space is set. The monitoring system can store the received index data string into the corresponding cache space according to the client identification.
And 104, when the index identification is identified as the parameter change index, the monitoring system updates the index name in the stored index data string corresponding to the client identification according to the index data in the index data string.
When the monitoring system identifies that the index mark is the parameter change index, the stored parameter needs to be modified correspondingly.
For example: the index name stored in the monitoring system is the temperature Temp1 of the central processing unit of the client. In step 104, if the index name is Temp1 and the index data is Temp2 in the received index data packet, the index name stored in the monitoring system is changed to Temp 2. Subsequently, the client will continue to send the index packets with Temp2 as the index name.
According to the technical scheme provided by the embodiment, a mode that the client actively sends the index data packet is adopted, a large number of resources of the monitoring system can be saved, and the operation efficiency of the monitoring system is further improved. Further, the received pointer packet is configured to adopt a pointer method including: the client identification, the index name and the index data, and the monitoring system identifies the content of the index data packet, so that the content of the data packet can be quickly known without complex identification or processing processes. When the monitoring system identifies that the index mark is the operation data index, directly storing the index name and the index data into a cache space corresponding to the client; when the monitoring system identifies that the index mark is the parameter change index, the index name stored in the monitoring system is changed according to the index data in the index mark, so that the client actively initiates a parameter change notification, the monitoring system can timely know and update the change content, the subsequent index data corresponding to the changed index name is smoothly identified, the continuity of data receiving is ensured, and the accuracy is also improved.
Example two
The embodiment is a further improvement of the client data monitoring method on the basis of the above embodiment. The method may be performed by a client data monitoring device in a monitoring system, and may be implemented in software and/or hardware.
Fig. 2 is a flowchart of a client data monitoring method according to a second embodiment of the present invention. As shown in fig. 2, in step 103, the monitoring system stores the index data string in the cache space corresponding to the client identifier, and then the monitoring system may process the index data string in the cache space, for example:
and 105, judging whether the index data in the cache space is in a set range by the monitoring system, and if not, executing a step 106.
Step 106, the monitoring system generates an alarm message.
The setting range may be formed by an upper threshold and a lower threshold, and specifically, it is determined whether the index data in the cache space is less than or equal to the upper threshold, and the index data is greater than or equal to the lower threshold, if so, the index data is within the setting range. If the index data is larger than the upper limit threshold value or smaller than the lower limit threshold value, the index data is not in the set range, and the monitoring system needs to generate an alarm signal. The alarm signal may instruct a display screen in the monitoring system to display a picture, or instruct an audio device in the monitoring system to emit an alarm audio sound, etc. for prompting a user.
According to the technical scheme provided by the embodiment, a mode that the client actively sends the index data packet is adopted, a large number of resources of the monitoring system can be saved, and the operation efficiency of the monitoring system is further improved. Further, the received pointer packet is configured to adopt a pointer method including: the client identification, the index name and the index data, and the monitoring system identifies the content of the index data packet, so that the content of the data packet can be quickly known without complex identification or processing processes. When the monitoring system identifies that the index mark is the operation data index, directly storing the index name and the index data into a cache space corresponding to the client; when the monitoring system identifies that the index mark is the parameter change index, the index name stored in the monitoring system is changed according to the index data in the index mark, so that the client actively initiates a parameter change notification, the monitoring system can timely know and update the change content, the subsequent index data corresponding to the changed index name is smoothly identified, the continuity of data receiving is ensured, and the accuracy is also improved.
Furthermore, the technical solution provided in this embodiment further determines the index data stored in the buffer space, and determines whether the index data is within the set range, and if not, the monitoring system generates an alarm signal to prompt the user.
EXAMPLE III
The embodiment is a further improvement of the client data monitoring method on the basis of the above embodiment. The method may be performed by a client data monitoring device in a monitoring system, and may be implemented in software and/or hardware.
Fig. 3 is a flowchart of a client data monitoring method according to a third embodiment of the present invention. As shown in fig. 3, after the above step 105, if the index data in the buffer space is determined to be within the set range, step 107 is executed.
And step 107, the monitoring system stores the index data into a file with a set format.
The set format can be a file format which is commonly used in the monitoring system and is convenient to read and analyze. In the prior art, after processing the data fed back by the client, the monitoring system directly stores the fed-back data without setting any storage format. The subsequent third-party system (such as a time sequence database) can not be directly applied after the data is extracted, and the data format needs to be adjusted and converted before being applied to the processes such as analysis and the like. Therefore, the index data are stored as the file with the set format, and the data are directly extracted and analyzed according to the set format subsequently, so that convenience and data processing efficiency are improved.
Example four
The embodiment is a further improvement of the client data monitoring method on the basis of the above embodiment. The method may be performed by a client data monitoring device in a monitoring system, and may be implemented in software and/or hardware.
Fig. 4 is a flowchart of a client data monitoring method according to a fourth embodiment of the present invention. As shown in fig. 4, in step 104, before the index name in the stored index data string corresponding to the client identifier is updated according to the index data in the index data string, a change confirmation window may be generated for the user to view and confirm.
The step 104 can be implemented in the following manner:
and 1041, when the index identification is recognized as the parameter change index, the monitoring system generates a change confirmation window according to the index data string.
The confirmation window reveals: and the client identifier, the index name before the change and the index name after the change (namely the index data in the index data string) are provided for the user to view.
In addition, the confirmation window is also provided with a virtual confirmation key and a virtual cancel key, and a user can confirm parameter change or cancel parameter change by clicking the keys.
The operation of pressing the confirmation key by the user can be used as a confirmation change instruction and sent to the monitoring system.
Step 1042, the monitoring system receives a change confirmation instruction input by the user through the change confirmation window.
Step 1043, the monitoring system updates the stored index name in the index data string corresponding to the client identifier according to the index data in the index data string.
According to the technical scheme provided by the embodiment, a mode that the client actively sends the index data packet is adopted, a large number of resources of the monitoring system can be saved, and the operation efficiency of the monitoring system is further improved. Further, the received pointer packet is configured to adopt a pointer method including: the client identification, the index name and the index data, and the monitoring system identifies the content of the index data packet, so that the content of the data packet can be quickly known without complex identification or processing processes. When the monitoring system identifies that the index mark is the operation data index, directly storing the index name and the index data into a cache space corresponding to the client; when the monitoring system identifies that the index mark is the parameter change index, the index name stored in the monitoring system is changed according to the index data in the index mark, so that the client actively initiates a parameter change notification, the monitoring system can timely know and update the change content, the subsequent index data corresponding to the changed index name is smoothly identified, the continuity of data receiving is ensured, and the accuracy is also improved.
EXAMPLE five
The embodiment is based on the above embodiment, and further improves the client data monitoring method, and particularly further improves the manner of updating the client configuration file. The method may be performed by a client data monitoring device in a monitoring system, and may be implemented in software and/or hardware.
Fig. 5 is a flowchart illustrating updating of a client configuration file in a client data monitoring method according to a fifth embodiment of the present invention. As shown in fig. 5, the monitoring method further includes:
step 110, the monitoring system receives a configuration file change query message sent by the client, where the configuration file change query message includes: a client identifier;
in this embodiment, the change of the configuration file of the client is placed in the monitoring system, and the monitoring system controls the upgrade or update of the client software. The client periodically sends a profile change query message to the monitoring system.
And step 120, the monitoring system searches a configuration file corresponding to the client identifier according to the client identifier.
Step 130, the monitoring system determines whether the configuration file has been changed, if yes, step 140 is executed.
The configuration file is stored in the monitoring system, and if the configuration file is updated, the monitoring system can keep the update record. According to the client identification, the monitoring system searches a corresponding configuration file in an internal storage area and judges whether the configuration file is changed.
Specifically, the monitoring system records the current configuration file version of the client after sending the configuration file to the client each time. Therefore, when a configuration file change query message sent by the client is subsequently received, the monitoring system searches the latest version of the configuration file corresponding to the client, and if the version of the configuration file is different from the recorded version of the configuration file, the configuration file is changed.
Or, the client sends the configuration file change query message to the monitoring system, wherein the configuration file change query message also carries the version number of the current configuration file of the client, the monitoring system searches the configuration file in a self storage area, and if the version number of the configuration file is different from the version number sent by the client, the configuration file is changed.
Step 140, the monitoring system sends the configuration file to the client.
And the client receives the changed configuration file for software updating and upgrading.
According to the technical scheme provided by the embodiment, a mode that the client actively sends the index data packet is adopted, a large number of resources of the monitoring system can be saved, and the operation efficiency of the monitoring system is further improved. Further, the received pointer packet is configured to adopt a pointer method including: the client identification, the index name and the index data, and the monitoring system identifies the content of the index data packet, so that the content of the data packet can be quickly known without complex identification or processing processes. When the monitoring system identifies that the index mark is the operation data index, directly storing the index name and the index data into a cache space corresponding to the client; when the monitoring system identifies that the index mark is the parameter change index, the index name stored in the monitoring system is changed according to the index data in the index mark, so that the client actively initiates a parameter change notification, the monitoring system can timely know and update the change content, the subsequent index data corresponding to the changed index name is smoothly identified, the continuity of data receiving is ensured, and the accuracy is also improved.
Furthermore, the configuration file change operation of the client is set in the monitoring system, so that a user can control the software update of the client only through the monitoring system, the client does not need to log in one by one for updating, and convenience is improved.
On the basis of the technical scheme, if the monitoring system does not receive the index data packet about a certain monitoring item sent by the client within a long period of time, the monitoring system can actively send a notification message to the client for ascertaining whether the client normally operates. If the feedback message sent by the client is not received within the set time after the notification message is sent, the phenomenon that the client crashes and the like can be considered to occur, and the monitoring system can generate a prompt signal for prompting the client; or the monitoring system may send a restart instruction signal directly to the client. If the feedback message sent by the client is received within the set time after the notification message is sent, the client can be considered to be normally operated.
EXAMPLE six
Fig. 6 is a schematic structural diagram of a client data monitoring apparatus according to a sixth embodiment of the present invention. As shown in fig. 6, the present embodiment provides a client data monitoring apparatus, including: the system comprises an index data packet receiving module 11, an index identification module 12, an index data string storage module 13 and an index data string updating module 14.
The index data packet receiving module 11 is configured to receive an index data packet actively sent by a client, where the index data packet includes: the system comprises a client identifier, an index identifier and an index data string corresponding to the index identifier, wherein the index data string comprises an index name and index data. The index identifier recognition module 12 is configured to recognize an index identifier. And the index data string storage module 13 is used for storing the index data string into the cache space corresponding to the client identifier when the index identifier is identified as the operation data index. The index data string updating module 14 is configured to update the index name in the stored index data string corresponding to the client identifier according to the index data in the index data string when the index identifier is identified as the parameter change index.
According to the technical scheme provided by the embodiment, a mode that the client actively sends the index data packet is adopted, a large number of resources of the monitoring system can be saved, and the operation efficiency of the monitoring system is further improved. Further, the received pointer packet is configured to adopt a pointer method including: the client identification, the index name and the index data, and the monitoring system identifies the content of the index data packet, so that the content of the data packet can be quickly known without complex identification or processing processes. When the monitoring system identifies that the index mark is the operation data index, directly storing the index name and the index data into a cache space corresponding to the client; when the monitoring system identifies that the index mark is the parameter change index, the index name stored in the monitoring system is changed according to the index data in the index mark, so that the client actively initiates a parameter change notification, the monitoring system can timely know and update the change content, the subsequent index data corresponding to the changed index name is smoothly identified, the continuity of data receiving is ensured, and the accuracy is also improved.
EXAMPLE seven
Fig. 7 is a schematic structural diagram of a client data monitoring apparatus according to a seventh embodiment of the present invention. As shown in fig. 7, on the basis of the above embodiment, the client data monitoring apparatus further includes: an index data judging module 15 and an alarm message generating module 16.
The index data determining module 15 is configured to determine whether the index data in the cache space is within a set range. The alarm message generating module 16 is configured to generate an alarm message when it is determined that the index data in the cache space is not within the set range.
According to the technical scheme provided by the embodiment, a mode that the client actively sends the index data packet is adopted, a large number of resources of the monitoring system can be saved, and the operation efficiency of the monitoring system is further improved. Further, the received pointer packet is configured to adopt a pointer method including: the client identification, the index name and the index data, and the monitoring system identifies the content of the index data packet, so that the content of the data packet can be quickly known without complex identification or processing processes. When the monitoring system identifies that the index mark is the operation data index, directly storing the index name and the index data into a cache space corresponding to the client; when the monitoring system identifies that the index mark is the parameter change index, the index name stored in the monitoring system is changed according to the index data in the index mark, so that the client actively initiates a parameter change notification, the monitoring system can timely know and update the change content, the subsequent index data corresponding to the changed index name is smoothly identified, the continuity of data receiving is ensured, and the accuracy is also improved.
Furthermore, the technical solution provided in this embodiment further determines the index data stored in the buffer space, and determines whether the index data is within the set range, and if not, the monitoring system generates an alarm signal to prompt the user.
Example eight
Fig. 8 is a schematic structural diagram of a client data monitoring apparatus according to an eighth embodiment of the present invention. As shown in fig. 8, the client data monitoring apparatus provided in this embodiment further includes: and a file storage module 17.
The file storage module 17 is configured to store the index data in the cache space as a file in a set format when it is determined that the index data is in the set range.
According to the embodiment, the index data is stored as the file with the set format, and the data is subsequently and directly extracted and analyzed according to the set format, so that convenience and data processing efficiency are improved.
Example nine
Fig. 9 is a schematic structural diagram of an index data string updating module in a client data monitoring apparatus according to a ninth embodiment of the present invention. As shown in fig. 9, in the client data monitoring apparatus provided in this embodiment, the index data string updating module 14 specifically includes: a change confirmation window generation module 141, a confirmation change instruction receiving unit 142, and a pointer name updating unit 143.
The change confirmation window generation unit 141 is configured to generate a change confirmation window from the index data string when it is recognized that the index flag is the parameter change index. The confirmation change instruction receiving unit 142 is configured to receive a confirmation change instruction input by the user through the change confirmation window. The index name updating unit 143 is configured to update an index name in the stored index data string corresponding to the client identifier according to the index data in the index data string.
According to the technical scheme provided by the embodiment, a mode that the client actively sends the index data packet is adopted, a large number of resources of the monitoring system can be saved, and the operation efficiency of the monitoring system is further improved. Further, the received pointer packet is configured to adopt a pointer method including: the client identification, the index name and the index data, and the monitoring system identifies the content of the index data packet, so that the content of the data packet can be quickly known without complex identification or processing processes. When the monitoring system identifies that the index mark is the operation data index, directly storing the index name and the index data into a cache space corresponding to the client; when the monitoring system identifies that the index mark is the parameter change index, the index name stored in the monitoring system is changed according to the index data in the index mark, so that the client actively initiates a parameter change notification, the monitoring system can timely know and update the change content, the subsequent index data corresponding to the changed index name is smoothly identified, the continuity of data receiving is ensured, and the accuracy is also improved.
Example ten
Fig. 10 is a schematic structural diagram of a client data monitoring apparatus according to a tenth embodiment of the present invention. As shown in fig. 10, the client data monitoring apparatus provided in this embodiment further includes: a profile change query message receiving module 19, a profile searching module 20, a profile change judging module 21 and a profile sending module 22. The four modules shown in fig. 6 are omitted from fig. 10.
The module 19 is configured to receive a configuration file change query message sent by a client, where the configuration file change query message includes: and identifying the client. The configuration file searching module 20 is configured to search the configuration file corresponding to the client identifier according to the client identifier. The configuration file change determining module 21 is used for determining whether the configuration file has been changed. The configuration file sending module 22 is configured to send the configuration file to the client when determining that the configuration file is changed.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
According to the technical scheme provided by the embodiment, a mode that the client actively sends the index data packet is adopted, a large number of resources of the monitoring system can be saved, and the operation efficiency of the monitoring system is further improved. Further, the received pointer packet is configured to adopt a pointer method including: the client identification, the index name and the index data, and the monitoring system identifies the content of the index data packet, so that the content of the data packet can be quickly known without complex identification or processing processes. When the monitoring system identifies that the index mark is the operation data index, directly storing the index name and the index data into a cache space corresponding to the client; when the monitoring system identifies that the index mark is the parameter change index, the index name stored in the monitoring system is changed according to the index data in the index mark, so that the client actively initiates a parameter change notification, the monitoring system can timely know and update the change content, the subsequent index data corresponding to the changed index name is smoothly identified, the continuity of data receiving is ensured, and the accuracy is also improved.
Furthermore, the configuration file change operation of the client is set in the monitoring system, so that a user can control the software update of the client only through the monitoring system, the client does not need to log in one by one for updating, and convenience is improved.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A client data monitoring method is characterized by comprising the following steps:
receiving an index data packet actively sent by a client, wherein the index data packet comprises: the system comprises a client identifier, an index identifier and an index data string corresponding to the index identifier, wherein the index data string comprises an index name and index data;
identifying the index identification;
when the index identification is identified as the operation data index, storing the index data string into a cache space corresponding to the client identification;
when the index identification is identified as a parameter change index, updating the index name in the stored index data string corresponding to the client identification according to the index data in the index data string;
when the index identifier is identified as a parameter change index, updating the index name in the stored index data string corresponding to the client identifier according to the index data in the index data string, including:
when the index identification is identified as a parameter change index, generating a change confirmation window according to the index data string;
and when a change confirmation instruction input by a user through the change confirmation window is received, updating the index name in the stored index data string corresponding to the client identifier according to the index data in the index data string.
2. The client data monitoring method according to claim 1, wherein after storing the index data string in the cache space corresponding to the client identifier, the method further comprises:
judging whether the index data in the cache space is in a set range or not;
and generating an alarm message when the index data in the cache space is judged not to be in the set range.
3. The client data monitoring method of claim 2, further comprising:
and when the index data in the cache space is judged to be in the set range, storing the index data into a file with a set format.
4. The client data monitoring method of claim 1, further comprising:
receiving a configuration file change query message sent by the client, wherein the configuration file change query message comprises: a client identifier;
searching a configuration file corresponding to the client identifier according to the client identifier;
judging whether the configuration file is changed or not;
and when the configuration file is judged to be changed, sending the configuration file to the client.
5. A client data monitoring apparatus, comprising:
the index data packet receiving module is used for receiving an index data packet sent by a client, and the index data packet comprises: the system comprises a client identifier, an index identifier and an index data string corresponding to the index identifier, wherein the index data string comprises an index name and index data;
the index identification recognition module is used for recognizing the index identification;
the index data string storage module is used for storing the index data string into a cache space corresponding to the client identifier when the index identifier is identified as the operating data index;
the index data string updating module is used for updating the stored index name in the index data string corresponding to the client identifier according to the index data in the index data string when the index identifier is identified as the parameter change index;
the index data string updating module includes:
a change confirmation window generation unit configured to generate a change confirmation window from the index data string when the index identification is recognized as the parameter change index;
and the index name updating unit is used for updating the index name in the stored index data string corresponding to the client identifier according to the index data in the index data string when a change confirmation instruction input by a user through the change confirmation window is received.
6. The client data monitoring device of claim 5, further comprising:
the index data judgment module is used for judging whether the index data in the cache space is in a set range or not;
and the alarm message generating module is used for generating an alarm message when the index data in the cache space is judged not to be in the set range.
7. The client data monitoring device of claim 6, further comprising:
and the file storage module is used for storing the index data in the cache space into a file with a set format when the index data is judged to be in the set range.
8. The client data monitoring device of claim 5, further comprising:
a configuration file change query message receiving module, configured to receive a configuration file change query message sent by the client, where the configuration file change query message includes: a client identifier;
the configuration file searching module is used for searching a configuration file corresponding to the client identifier according to the client identifier;
the configuration file change judging module is used for judging whether the configuration file is changed or not;
and the configuration file sending module is used for sending the configuration file to the client when the configuration file is judged to be changed.
CN201710542507.3A 2017-07-05 2017-07-05 Client data monitoring method and device Active CN107402865B (en)

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 CN107402865A (en) 2017-11-28
CN107402865B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165136B (en) * 2018-07-25 2021-09-28 平安科技(深圳)有限公司 Terminal operation data monitoring method, terminal device and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8744934B1 (en) * 2004-06-07 2014-06-03 Keal, Inc. System and method for improved time reporting and billing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN107402865A (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN111447109A (en) Monitoring management apparatus and method, computer readable storage medium
EP3798839A1 (en) Log analysis in vector space
WO2015180291A1 (en) Method and system for monitoring server cluster
WO2014067439A1 (en) Method, system and device for monitorring data
CN112866260A (en) Flow detection method combining cloud computing and user behavior analysis and big data center
CN108600779B (en) Target object operation method and device based on video content
CN115665016A (en) Heartbeat monitoring method, device, equipment and storage medium
CN107402865B (en) Client data monitoring method and device
CN112506969A (en) BMC address query method, system, equipment and readable storage medium
EP3754998B1 (en) Streaming media quality monitoring method and system
CN115622906A (en) Application log capturing system and method
CN113342608B (en) Method and device for monitoring tasks of streaming computing engine
JP6665503B2 (en) Data collection system, data collection device and data collection method
CN108833961B (en) Method, server and system for acquiring flight record data
CN110275785B (en) Data processing method and device, client and server
CN114450920A (en) Distributed security detection system, method, device and storage medium
CN116419184A (en) Processing method for vehicle remote wake-up and computer readable storage medium
CN111026637A (en) Method and device for positioning problem code
CN114996080A (en) Data processing method, device, equipment and storage medium
CN111506422B (en) Event analysis method and system
CN110166561B (en) Data processing method, device, system, equipment and medium for wearable equipment
CN112436969A (en) Internet of things equipment management method, system, equipment and medium
JP3920681B2 (en) Security information management system
CN111177100A (en) Training data processing method and device and storage medium
CN116095683B (en) Network security protection method and device for wireless router

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