CN116541246A - System load data monitoring method, monitoring system and storage medium - Google Patents

System load data monitoring method, monitoring system and storage medium Download PDF

Info

Publication number
CN116541246A
CN116541246A CN202310522310.9A CN202310522310A CN116541246A CN 116541246 A CN116541246 A CN 116541246A CN 202310522310 A CN202310522310 A CN 202310522310A CN 116541246 A CN116541246 A CN 116541246A
Authority
CN
China
Prior art keywords
data
file
acquisition
data acquisition
acquired
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310522310.9A
Other languages
Chinese (zh)
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.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile 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 Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202310522310.9A priority Critical patent/CN116541246A/en
Publication of CN116541246A publication Critical patent/CN116541246A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Computer Hardware Design (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention provides a system load data monitoring method, a system and a storage medium, and belongs to the technical field of system monitoring. The method comprises the following steps: continuously collecting operation data of the system based on a preset time sequence; wherein, each time data acquisition is executed, the acquired data is written into a designated directory; each time data acquisition of one period is completed, namely generating an acquisition file based on all operation data in a specified directory in the current period; uploading the acquired file to an upper computer for analyzing the acquired file by the upper computer to obtain an analyzed file; and drawing dynamic data images based on the analysis file. The method solves the problems that the reliability of the system cannot be accurately estimated and the visualization performance is poor in the existing system load data monitoring scheme.

Description

System load data monitoring method, monitoring system and storage medium
Technical Field
The present invention relates to the field of system monitoring technologies, and in particular, to a system load data monitoring method, a system load data monitoring system, and a computer readable storage medium.
Background
As the demands of users are more and more abundant, the application services corresponding to the car machine systems are more and more abundant and perfect, and the development trend perfectly meets the demands of users, but the problem that the car machine application management is more and more difficult is unavoidable. In addition to the on-board applications that require configuration of vehicle operation and security management, service-type applications for improving user experience are also installed in large numbers into the on-board systems. In the subsequent operation and maintenance process, whether in consideration of safe running of the vehicle or in consideration of user experience, the requirement of ensuring stable running of the vehicle-machine system to support normal operation of each application is indispensable.
In order to fully monitor the running data of the vehicle-mounted system, real-time monitoring of the running data of the vehicle-mounted system is needed to monitor the running state of the vehicle-mounted system by a user. However, the current solution is to perform short data acquisition when the system reports errors or other triggering conditions, and the system data is not acquired for a long time in this way, so that the reliability of the system cannot be accurately estimated, and the situation of the change of the system state along with time cannot be known. In addition, the existing scheme displays the state data of the system by using characters and numbers, the system state cannot be intuitively obtained, a user needs to waste a great deal of time to actively process the characters and the numbers, and the corresponding judging efficiency cannot meet the user requirement in emergency. Aiming at the problems that the existing system load data monitoring scheme cannot accurately evaluate the system reliability and has poor visualization performance, a new system load data monitoring scheme needs to be created.
Disclosure of Invention
The invention aims to provide a system load data monitoring method, a system and a storage medium, which at least solve the problems that the reliability and the visualization performance of a system cannot be accurately estimated in the existing system load data monitoring scheme.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows:
the first aspect of the invention provides a system load data monitoring method, which is applied to a vehicle-mounted system, and comprises the following steps: continuously collecting operation data of the system based on a preset time sequence; wherein, each time data acquisition is executed, the acquired data is written into a designated directory; each time data acquisition of one period is completed, namely generating an acquisition file based on all operation data in a specified directory in the current period; uploading the acquired file to an upper computer for analyzing the acquired file by the upper computer to obtain an analyzed file; and drawing dynamic data images based on the analysis file.
Optionally, the operation data includes: status data of each system module in the system and a data acquisition time stamp.
Optionally, before performing the first run data acquisition, the method further comprises: judging whether a data acquisition tool exists in the current system; if yes, executing operation data acquisition based on the data acquisition tool; if the data is not available, the data acquisition tool is compiled in a crossing mode, the data acquisition tool is uploaded to a system, and operation data acquisition is executed based on the uploaded data acquisition tool.
Optionally, the method further comprises: in each acquisition cycle, data acquisition is performed while: judging the disk residual space in real time, stopping data acquisition when the disk residual space is smaller than a preset space amount, and printing related information; and pushing the related information to a preset user terminal.
Optionally, the collection file is uploaded to an upper computer based on an ethernet or a serial port.
Optionally, the upper computer is configured to: extracting the received acquisition file once every preset analysis time; analyzing the acquired file based on a regular matching rule to obtain an analysis file; and storing the analysis file based on a specified data structure.
Optionally, the drawing of the dynamic data image based on the parsing file includes: drawing the analysis file into a corresponding data image table based on a preset image drawing library; and pushing the data image table in real time.
Optionally, the method further comprises: and updating the data image table while updating the analysis file, and pushing an updating result in real time.
A second aspect of the present invention provides a system load data monitoring system, applied to a vehicle system, the system comprising: the acquisition unit is used for continuously acquiring the operation data of the system based on a preset time sequence; wherein, each time data acquisition is executed, the acquired data is written into a designated catalog of the processing unit; the processing unit is used for generating an acquisition file based on all operation data in the appointed catalogue in the current period when the acquisition unit completes data acquisition of one period; the transmission unit is used for uploading the acquired file to an upper computer so as to enable the upper computer to analyze the acquired file and obtain an analyzed file; and the drawing unit is used for drawing dynamic data images based on the analysis file.
In another aspect, the present invention provides a computer readable storage medium having instructions stored thereon, which when run on a computer cause the computer to perform the system load data monitoring method described above.
The invention has the beneficial effects that:
1) According to the scheme, continuous data acquisition is performed for a long time through a preset time schedule, real-time monitoring of running data of the vehicle-mounted system is guaranteed, monitoring of the whole running process of the vehicle-mounted system is realized through long acquisition and monitoring of the running data, missing burst abnormality is avoided, monitoring precision is improved, and the problem that the reliability of the system cannot be accurately evaluated in the existing system load data monitoring scheme is solved;
2) The acquired data are generated in batches, the generated acquisition files are uploaded to the upper computer after the data acquisition of one acquisition period is completed, the local space is released, and the load on the storage space of the vehicle is not caused by too much acquired data while the data acquisition of the vehicle system is carried out for a long time;
3) Furthermore, the acquired file is analyzed and then is drawn into dynamic images, and the text and digital information is processed into visual image information, so that a user can conveniently and efficiently review data, and the problem of poor visual performance in the existing system load data monitoring scheme is solved.
Drawings
FIG. 1 is a flow chart of steps of a system load data monitoring method according to an embodiment of the present invention;
FIG. 2 is a graph of the time-varying imaging effect of CPU occupancy of a vehicle-mounted operating system provided by one embodiment of the present invention;
FIG. 3 is a graph of imaging effects of changes in the state of a vehicle-mounted operating system file system over time provided by one embodiment of the present invention;
FIG. 4 is a system block diagram of a system load data monitoring system according to one embodiment of the present invention;
fig. 5 is a schematic structural diagram of a system load data monitoring system according to an embodiment of the present invention.
Detailed Description
Further advantages and effects of the present invention will become readily apparent to those skilled in the art from the disclosure herein, by referring to the accompanying drawings and the preferred embodiments. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention. It should be understood that the preferred embodiments are presented by way of illustration only and not by way of limitation.
As the demands of users are more and more abundant, the application services corresponding to the car machine systems are more and more abundant and perfect, and the development trend perfectly meets the demands of users, but the problem that the car machine application management is more and more difficult is unavoidable. In addition to the on-board applications that require configuration of vehicle operation and security management, service-type applications for improving user experience are also installed in large numbers into the on-board systems. In the subsequent operation and maintenance process, whether the vehicle is in consideration of safe running or user experience, the requirement of ensuring the stable running of the vehicle-machine system to support the normal work of each application is indispensable.
In order to fully monitor the running data of the vehicle-mounted system, real-time monitoring of the running data of the vehicle-mounted system is needed to monitor the running state of the vehicle-mounted system by a user. For real-time monitoring of system operation data, patent application with application number of CN202210891269 and entitled "a KVM virtual machine state monitoring device, method, device and medium" discloses a monitoring scheme, which monitors CPU usage, memory usage, network connection state, etc. of a KVM virtual machine running in a Linux operating system to determine whether a current virtual machine is in a normal running state. According to the scheme, although the system state data of the virtual machine are comprehensively acquired, the system data are not acquired for a long time, so that the system reliability cannot be accurately estimated, the system state change condition along with time cannot be known aiming at some sporadic problems.
Other existing solutions generally have the problem, in addition, if the state data of the system are displayed by characters and numbers, the state of the system cannot be intuitively obtained, a user needs to waste a great deal of time to actively process the characters and the numbers, and in an emergency situation, the corresponding judging efficiency cannot meet the requirements of the user. Aiming at the problems that the reliability and the visualization performance of the system cannot be accurately estimated in the existing system load data monitoring scheme, the invention provides a novel system load data monitoring method. According to the scheme, the continuous data acquisition is carried out for a long time through the preset time schedule, so that the real-time monitoring of the running data of the vehicle-mounted system is ensured. And then, the acquired data are subjected to batch generation of acquisition files, and the upper computer uploading the generated acquisition files releases the local space after completing data acquisition of one acquisition period, so that the load on the storage space of the vehicle is not caused by too much acquired data while the data acquisition of the vehicle system is carried out for a long time. Furthermore, by analyzing the acquired file and then drawing the dynamic image, the text and digital information is processed into visual image information, so that the user can conveniently and efficiently review the data, and the problem that the reliability and the visualization performance of the system cannot be accurately evaluated in the existing system load data monitoring scheme is solved.
Fig. 1 is a flowchart of a system load data monitoring method according to an embodiment of the present invention. As shown in fig. 1, an embodiment of the present invention provides a system load data monitoring method, which includes:
step S10: continuously collecting operation data of the system based on a preset time sequence; wherein, each time data acquisition is executed, the acquired data is written into a specified catalogue.
Specifically, the scheme of the invention is different from the prior art, when the system operation data is collected, the short data collection is not carried out when the system is in error or other triggering conditions, but the uninterrupted long-time data collection is carried out in the system operation process. The method comprises the steps of presetting a collection time sequence table, wherein the collection time sequence table is generated before each collection period starts, the first collection time is the starting time of the corresponding collection period, one collection time is determined every preset collection time later, and in one collection period, all the determined collection times form a preset time sequence according to the time sequence.
Further, after the preset time sequence is generated, the operation data of the system is acquired at each preset acquisition time based on the preset time sequence. Preferably, the operation data includes: status data of each system module and an acquisition time stamp corresponding to each data.
In the embodiment of the invention, the full monitoring of all applications of the vehicle-mounted system is realized, and when data acquisition is carried out, the state data of each system module is required to be synchronously acquired so as to generate a comprehensive visual data chart of the vehicle-mounted system for subsequent generation, so that the state display of the vehicle-mounted system is carried out to the user comprehensively. Furthermore, while collecting the state data of each system module, a time stamp needs to be added in the collected data to determine the collection time of each data category, and then if abnormal data exists, the user can perform data analysis based on the time stamp.
In a possible implementation manner, by compiling a shell program to collect all system state acquisition instructions, designating a data acquisition time interval (for example, 1 s), defining an uninterrupted cycle to perform data acquisition, and simultaneously acquiring a time stamp of an acquisition point and printing other data in the acquisition process so as to perform subsequent analysis, and running the shell program in a background of a vehicle-mounted operating system, so that system state data acquisition can be performed uninterruptedly.
Preferably, before performing the first system operation data acquisition, the method further comprises: judging whether a data acquisition tool exists in the current system; if yes, executing the operation data acquisition of the first system; if the data is not available, the data acquisition tool is compiled in a crossing mode, the data acquisition tool is uploaded to the system, and the operation data acquisition of the first system is executed based on the uploaded data acquisition tool.
In the embodiment of the invention, in order to facilitate the practical application of the scheme of the invention, for the vehicle using the scheme for the first time, the data acquisition tool detection is automatically carried out on the vehicle. If the data acquisition tool exists, the data acquisition can be directly performed based on the preset time sequence based on the data acquisition tool. If the data acquisition tool does not exist, the tool is added in the system, so that the system load data monitoring method provided by the scheme of the invention can be executed. In this way the versatility of the solution of the present application is improved.
In one possible implementation manner, after the system state data to be collected is evaluated and determined, whether the relevant data collection tool is provided in the vehicle-mounted operating system is determined, if not, the relevant collection tool needs to be cross-compiled and uploaded to the vehicle-mounted operating system, and a path is added to the environment variable because the computing platform of the vehicle-mounted operating system is an ARM architecture.
Preferably, in each preset period, the method further comprises, while data acquisition is performed: judging the disk residual space in real time, stopping data acquisition when the disk residual space is smaller than a preset space amount, and printing related information; and pushing the related information to a preset user terminal.
In the embodiment of the invention, the states of the vehicle systems of the vehicles are different, for example, the sizes of the internal memory spaces of the vehicles are different. Under the difference, if all vehicles are set to be the same acquisition period, for the vehicles with small internal memory of the vehicle-mounted system, the situation that the disk is full is easy to occur, and in order to avoid the problem that the vehicle-mounted system cannot normally operate due to the fact that the disk is full, the method and the device acquire the occupation situation of the disk in real time, and stop executing data acquisition when the residual space of the disk is smaller than the preset space amount, so that the basic requirement of normal operation of the system is ensured. And then the related personnel of the alarm system process the data, and the subsequent user can modify the acquisition period based on the condition of the vehicle, or the system can automatically modify the acquisition period based on the current data acquisition quantity. And the data acquisition is carried out on the vehicle based on the modified acquisition period, so that the running stability is ensured in turn, and the universality of the scheme is also ensured.
Step S20: and each time the data acquisition of one period is completed, generating an acquisition file based on all operation data in the appointed catalogue in the current period.
Specifically, in order to facilitate centralized management of data, in the scheme of the invention, data which are acquired once are not acquired in an acquisition period, the data which are correspondingly acquired are written into a designated directory to be cached, so that after data acquisition in one period is completed later, the data are subjected to centralized processing.
In one possible implementation, the data record and other printing information are collected at intervals of time to the corresponding file of the designated directory, after a period of time (for example, 1 h) is collected, the status data can be stored in another file automatically generated in the shell program, after a period of time can be set and executed in the shell (a script) program, the remaining space of the disk of the system is checked, if the space is insufficient, the data collection is stopped, and relevant information is printed.
Specifically, after data acquisition in one acquisition period is completed, centralized processing is performed based on all cached data, and data in the designated directory are integrated based on a preset format to generate a corresponding acquisition file. Including data filtering, compression, encryption, etc.
In the scheme of the invention, the collected data is uploaded to the upper computer later, so that the data is required to be subjected to centralized processing in order to ensure the efficiency and the safety of data transmission, and the data volume is reduced after the processing such as compression, encryption and the like so as to improve the data transmission efficiency, and meanwhile, the safety of the data can be ensured, and the situation that a malicious attack end meter intercepts the data and causes the information leakage of a user is avoided.
Step S30: and uploading the acquired file to an upper computer so that the upper computer can analyze the acquired file to obtain an analysis file.
Preferably, the collection file is uploaded to the upper computer based on the Ethernet or the serial port. And connecting the computing platform carrying the vehicle-mounted operating system with the upper computer in a serial port or Ethernet mode, acquiring data at intervals, executing related instructions by a shell program running in the background, automatically transmitting the system state data file in the Ethernet or serial port mode, and transmitting or reading the data to an upper computer designated directory for storage.
Furthermore, because the acquired system state data formats are different, in order to realize drawing the image of the system state changing along with time according to the data, the new data file of the upper computer is automatically read once every a period of time through a python program, and various system state data are analyzed through a rule of symptom matching and stored in a designated data structure.
Preferably, the upper computer is configured to: extracting the received acquisition file once every preset analysis time; analyzing the acquired file based on a regular matching rule to obtain an analysis file; storing the analysis file based on a specified data structure
In the embodiment of the invention, a plurality of application components of the vehicle-mounted system are provided, the data interfaces and the data formats among the components have certain differences, and the data are required to be subjected to format matching in order to realize the subsequent visualization processing of all data. The scheme of the invention analyzes data through regular matching, and uses a regular expression (regular expression) to analyze the data, wherein the regular expression describes a character string matching mode (pattern) which can be used for checking whether a string contains a certain sub-string, replacing the matched sub-string or taking out the sub-string meeting a certain condition from the certain string, and the like. By the method, data unification is realized, and subsequent execution of data visualization processing is facilitated.
Step S40: and drawing dynamic data images based on the analysis file.
Specifically, based on a preset image drawing library, drawing the analysis file into a corresponding data image table; and displaying and pushing the data image table in real time. And according to the analyzed data, drawing images of various system state data changing along with time by using an image drawing library of the python, automatically storing the images to a designated position, and automatically drawing new data whenever new data is generated.
In the scheme of the invention, firstly, system state data such as CPU load, CPU occupancy rate, memory load, IO load, network load, interrupt number and the like which need to be acquired are definitely ensured to be available; then, continuously running in a system background by writing a shell program set related data acquisition instruction, acquiring system state data for a period of time, storing the system state data in a file of a designated directory, and starting writing data into another file; connecting a computing platform carrying an on-board operating system with an upper computer by using a network or a serial port, and automatically reading or transmitting data system state data to the upper computer through the serial port or the network at intervals; writing a python program, reading newly generated data in a storage data folder at intervals and analyzing to obtain data which can be used for drawing an image; and (3) automatically drawing and storing the graph of the related system state data each time new data are generated by utilizing the self-contained graph library, so that long-time uninterrupted acquisition and real-time visual display of the system state data are realized.
Preferably, the method further comprises: and updating the data image table in real time every time a new analysis file is updated, and displaying a pushing updating result in real time.
In the embodiment of the invention, the data image is updated in real time, so that when a user reviews the data at any time, the correspondingly displayed data are all corresponding data at the current moment, and the user accurately controls the real-time state of the system.
Examples:
fig. 2 is an imaging effect diagram of the CPU occupancy rate of the vehicle-mounted operating system according to the present invention, and the CPU occupancy rate of key data such as user process, kernel process, soft interrupt, etc. can be clearly obtained from the diagram. And the method is helpful for analyzing the conditions such as the system reliability and the like.
FIG. 3 is a graph of imaging effects of changes in the state of a file system of a vehicle-mounted operating system over time, from which the changes of the file descriptor of the vehicle-mounted operating system and inode nodes over time can be clearly obtained.
Fig. 4 is a system configuration diagram of a system load data monitoring system according to an embodiment of the present invention. As shown in fig. 4, an embodiment of the present invention provides a system load data monitoring system, including: the acquisition unit is used for continuously acquiring the operation data of the system based on a preset time sequence; wherein, each time data acquisition is executed, the acquired data is written into a designated catalog of the processing unit; the processing unit is used for generating an acquisition file based on all operation data in the appointed catalogue in the current period when the acquisition unit completes data acquisition of one period; the transmission unit is used for uploading the acquired file to an upper computer so as to enable the upper computer to analyze the acquired file and obtain an analyzed file; and the drawing unit is used for drawing dynamic data images based on the analysis file.
In one possible implementation manner, as shown in fig. 5, the vehicle-mounted computing platform carries a vehicle-mounted operating system, on which a system state data acquisition program (acquisition unit) is always operated to perform data acquisition, the data is continuously transmitted to the upper computer by a network or serial port mode, the upper computer (processing unit) carries a python program to continuously analyze and image the data, and meanwhile, the upper computer carries a linux virtual machine environment (drawing unit) to realize cross compiling of a load acquisition tool.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores instructions, and when the computer readable storage medium runs on a computer, the computer is enabled to execute the system load data monitoring method.
Those skilled in the art will appreciate that all or part of the steps in a method for implementing the above embodiments may be implemented by a program stored in a storage medium, where the program includes several instructions for causing a single-chip microcomputer, chip or processor (processor) to perform all or part of the steps in a method according to the embodiments of the invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The alternative embodiments of the present invention have been described in detail above with reference to the accompanying drawings, but the embodiments of the present invention are not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solutions of the embodiments of the present invention within the scope of the technical concept of the embodiments of the present invention, and all the simple modifications belong to the protection scope of the embodiments of the present invention. In addition, the specific features described in the above embodiments may be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the various possible combinations of embodiments of the invention are not described in detail.
In addition, any combination of the various embodiments of the present invention may be made, so long as it does not deviate from the idea of the embodiments of the present invention, and it should also be regarded as what is disclosed in the embodiments of the present invention.

Claims (10)

1. A system load data monitoring method applied to a vehicle-mounted system, the method comprising:
continuously collecting operation data of the system based on a preset time sequence; wherein, each time data acquisition is executed, the acquired data is written into a designated directory;
each time data acquisition of one period is completed, namely generating an acquisition file based on all operation data in a specified directory in the current period;
uploading the acquired file to an upper computer for analyzing the acquired file by the upper computer to obtain an analyzed file;
and drawing dynamic data images based on the analysis file.
2. The system load data monitoring method of claim 1, wherein the operational data comprises:
status data of each system module in the system and a data acquisition time stamp.
3. The system load data monitoring method of claim 1, wherein prior to performing the first operational data acquisition, the method further comprises:
judging whether a data acquisition tool exists in the current system;
if yes, executing operation data acquisition based on the data acquisition tool;
if the data is not available, the data acquisition tool is compiled in a crossing mode, the data acquisition tool is uploaded to a system, and operation data acquisition is executed based on the uploaded data acquisition tool.
4. The system load data monitoring method of claim 1, wherein the method further comprises: in each acquisition cycle, data acquisition is performed while:
judging the disk residual space in real time, stopping data acquisition when the disk residual space is smaller than a preset space amount, and printing related information;
and pushing the related information to a preset user terminal.
5. The system load data monitoring method according to claim 1, wherein the acquisition file is uploaded to an upper computer based on ethernet or serial port.
6. The system load data monitoring method of claim 1, wherein the host computer is configured to:
extracting the received acquisition file once every preset analysis time;
analyzing the acquired file based on a regular matching rule to obtain an analysis file;
and storing the analysis file based on a specified data structure.
7. The system load data monitoring method according to claim 1, wherein the dynamic data image rendering based on the parsing file comprises:
drawing the analysis file into a corresponding data image table based on a preset image drawing library;
and pushing the data image table in real time.
8. The system load data monitoring method of claim 7, wherein the method further comprises:
and updating the data image table while updating the analysis file, and pushing an updating result in real time.
9. A system load data monitoring system for use in a vehicle system, the system comprising:
the acquisition unit is used for continuously acquiring the operation data of the system based on a preset time sequence; wherein, each time data acquisition is executed, the acquired data is written into a designated catalog of the processing unit;
the processing unit is used for generating an acquisition file based on all operation data in the appointed catalogue in the current period when the acquisition unit completes data acquisition of one period;
the transmission unit is used for uploading the acquired file to an upper computer so as to enable the upper computer to analyze the acquired file and obtain an analyzed file;
and the drawing unit is used for drawing dynamic data images based on the analysis file.
10. A computer readable storage medium having instructions stored thereon which when run on a computer cause the computer to perform the system load data monitoring method of any of claims 1 to 8.
CN202310522310.9A 2023-05-10 2023-05-10 System load data monitoring method, monitoring system and storage medium Pending CN116541246A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310522310.9A CN116541246A (en) 2023-05-10 2023-05-10 System load data monitoring method, monitoring system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310522310.9A CN116541246A (en) 2023-05-10 2023-05-10 System load data monitoring method, monitoring system and storage medium

Publications (1)

Publication Number Publication Date
CN116541246A true CN116541246A (en) 2023-08-04

Family

ID=87455586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310522310.9A Pending CN116541246A (en) 2023-05-10 2023-05-10 System load data monitoring method, monitoring system and storage medium

Country Status (1)

Country Link
CN (1) CN116541246A (en)

Similar Documents

Publication Publication Date Title
CN111563016B (en) Log collection and analysis method and device, computer system and readable storage medium
CN111209166B (en) Automatic inspection system for B/S architecture service system
CN111309505B (en) Page exception handling method and device and electronic equipment
CN112269713B (en) Method, device and equipment for acquiring program running state and storage medium
CN109656894A (en) Log standardization storage method, device, equipment and readable storage medium storing program for executing
CN112100239A (en) Portrait generation method and apparatus for vehicle detection device, server and readable storage medium
JP2019049802A (en) Failure analysis supporting device, incident managing system, failure analysis supporting method, and program
CN113010208B (en) Version information generation method, device, equipment and storage medium
CN111784176A (en) Data processing method, device, server and medium
CN116541246A (en) System load data monitoring method, monitoring system and storage medium
CN112131090B (en) Service system performance monitoring method, device, equipment and medium
CN115310011A (en) Page display method and system and readable storage medium
CN112162954B (en) User operation log generation and path positioning method, device, equipment and medium
CN115145870A (en) Method and device for positioning reason of failed task, electronic equipment and storage medium
CN111741046B (en) Data reporting method, data acquisition method, device, equipment and medium
US11710019B2 (en) Method and system for displaying equipment fault code diagnostic information
CN113505079A (en) Application program testing method, device, equipment and medium
CN113900902A (en) Log processing method and device, electronic equipment and storage medium
CN101819419B (en) Active plc intelligent liquid crystal display
CN111538770B (en) Data monitoring method and device, electronic equipment and readable storage medium
CN111584059A (en) System monitoring method and device and computer equipment
CN113360398B (en) Hybrid application program testing method, device, equipment and medium
CN117608894B (en) Log storage method and device, computer equipment and storage medium
CN112363870B (en) Application program development processing method and device, computer equipment and storage medium
CN111708684B (en) Recording method and device for page access and computer system

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