Memory monitoring method and system
By obtaining and analyzing the logs and memory data of embedded products in real time, and generating line charts to judge memory status, the misjudgment and misjudgment problems caused by monitoring relying on logs in the existing technology are solved, and monitoring efficiency is improved.
Patent Information
- Application Number
- CN202510060680.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-15
- Publication Date
- 2025-06-06
AI Technical Summary
The prior art relies on the use log in embedded product memory monitoring, which is prone to misjudgment and misjudgment, which reduces work efficiency.
By obtaining the target log of the embedded product in real time, printing the remaining memory at preset times, using the preset program to generate a data dictionary and a target line chart, and determining whether the memory is abnormal in real time.
It realizes objective and accurate judgment of the memory status of embedded products, improves work efficiency, and reduces missed judgments and misjudgments.
Smart Images

Figure CN120104413A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to data processing technology, and in particular to a memory monitoring method and system. Background Art
[0002] With the advancement of science and technology and the rapid development of productivity, the production technology of embedded products has become increasingly mature and has been widely used in many fields, which has correspondingly improved people's work efficiency.
[0003] Among them, in existing embedded products, most of their memories are relatively small, which makes the memory of embedded products particularly precious. Therefore, it is necessary to monitor the memory usage of embedded products in real time to ensure that the embedded products can continue to be in a normal working state.
[0004] Furthermore, in the process of real-time monitoring of the memory of an embedded product in the prior art, most of them print the usage log of the embedded product at regular intervals, and directly judge whether the memory of the embedded product is normal based on the usage log. However, this monitoring method is completely dependent on the data carried by the usage log, and when the data in the log is abnormal, it will directly judge that the memory of the embedded product is abnormal, which is prone to missed judgments and misjudgments, which correspondingly reduces work efficiency. Summary of the invention
[0005] Based on this, the purpose of the present invention is to provide a memory monitoring method and system to solve the problem that the monitoring method of the prior art is completely dependent on the data carried by the usage log, and when the log data is abnormal, it will directly determine that the memory of the embedded product is abnormal, which is prone to missed judgments and misjudgments, which correspondingly reduces the work efficiency.
[0006] The first aspect of the embodiment of the present invention proposes:
[0007] A memory monitoring method, wherein the method comprises:
[0008] During the working process of the embedded product, the target log generated by the embedded product is obtained in real time, and the remaining memory corresponding to the embedded product is printed once every preset time;
[0009] Exporting the target log to a preset program through the remaining memory, and outputting a data dictionary corresponding to the embedded product in real time according to the target log through the preset program;
[0010] Based on the preset specifications, a corresponding target line graph is generated in real time according to the data dictionary, and it is determined in real time according to the target line graph whether the memory of the embedded product is abnormal.
[0011] The beneficial effect of the present invention is that the working status of the embedded product can be obtained in real time by acquiring the target log of the embedded product in real time. Based on this, the remaining memory of the current embedded product will be printed once every preset time, and a data dictionary adapted to the working status of the current embedded product can be immediately generated in real time according to a pre-set program. Based on this, a target line graph for determining whether the embedded product is normal can be finally obtained, so that it is possible to objectively and accurately determine whether the embedded product is normal, thereby correspondingly improving work efficiency.
[0012] Furthermore, the step of outputting a data dictionary corresponding to the embedded product in real time according to the target log through the preset program includes:
[0013] When the target log is acquired in real time, a regular expression adapted to the target log is called out in real time inside the preset program;
[0014] The target log is screened in real time by using the regular expression to detect a number of target keywords contained in the target log in real time, and the data dictionary is generated in real time according to the target keywords.
[0015] Furthermore, the step of generating the data dictionary in real time according to the target keywords includes:
[0016] When a plurality of the target keywords are acquired in real time, the plurality of the target keywords are integrated and processed in real time to generate a corresponding target data set in real time;
[0017] When the target data set is acquired in real time, the printing time corresponding to the target log is detected in real time;
[0018] When the target data set and the printing time are respectively acquired, the corresponding initial dictionary template is called out in real time inside the preset program, and the data dictionary is correspondingly generated in real time according to the target data set, the printing time and the initial dictionary template.
[0019] Furthermore, the step of generating a corresponding target line graph in real time according to the data dictionary based on preset rules includes:
[0020] When the initial dictionary template is acquired in real time, the initial dictionary template is fully scanned to detect in real time a number of filling areas corresponding to the initial dictionary template;
[0021] When a plurality of the filling areas are acquired in real time, a corresponding target identifier is added to each of the filling areas;
[0022] The target data set and the printing time are filled into each of the filling areas based on the target identifier to generate the data dictionary accordingly.
[0023] Furthermore, the step of generating a corresponding target line graph in real time according to the data dictionary based on preset rules includes:
[0024] When the data dictionary is acquired in real time, the data dictionary is fully scanned to detect the target data chain and the target time chain contained in the data dictionary in real time;
[0025] Constructing a mapping relationship between the target data chain and the target time chain in real time;
[0026] The target data chain and the target time chain are graphically processed based on the mapping relationship to generate the target line graph accordingly.
[0027] Furthermore, the step of generating a corresponding target line graph in real time according to the data dictionary based on preset rules includes:
[0028] When the target data chain and the target time chain are acquired respectively, a reference surface is created in real time through the preset program;
[0029] When the reference plane is acquired in real time, a target two-dimensional coordinate system is correspondingly created inside the reference plane, and the target line graph is correspondingly generated in real time according to the target two-dimensional coordinate system, the target data chain and the target time chain.
[0030] Furthermore, the step of generating the target line graph in real time according to the target two-dimensional coordinate system, the target data chain and the target time chain includes:
[0031] When the target two-dimensional coordinate system is acquired in real time, the horizontal axis of the target two-dimensional coordinate system is set to time, the vertical axis of the target two-dimensional coordinate system is set to data, and the target data chain and the target time chain are correspondingly imported into the target two-dimensional coordinate system to generate the target line chart accordingly.
[0032] The second aspect of the embodiment of the present invention proposes:
[0033] A memory monitoring system, wherein the system comprises:
[0034] The acquisition module is used to obtain the target log generated by the embedded product in real time during the working process of the embedded product, and print the remaining memory corresponding to the embedded product once every preset time;
[0035] A detection module, configured to export the target log to a preset program through the remaining memory, and output a data dictionary corresponding to the embedded product in real time according to the target log through the preset program;
[0036] The control module is used to generate a corresponding target line graph in real time according to the data dictionary based on preset specifications, and to determine in real time according to the target line graph whether the memory of the embedded product is abnormal.
[0037] Furthermore, the control module is specifically used for:
[0038] When the target log is acquired in real time, a regular expression adapted to the target log is called out in real time inside the preset program;
[0039] The target log is screened in real time by using the regular expression to detect a number of target keywords contained in the target log in real time, and the data dictionary is generated in real time according to the target keywords.
[0040] Furthermore, the control module is specifically used for:
[0041] When a plurality of the target keywords are acquired in real time, the plurality of the target keywords are integrated and processed in real time to generate a corresponding target data set in real time;
[0042] When the target data set is acquired in real time, the printing time corresponding to the target log is detected in real time;
[0043] When the target data set and the printing time are respectively acquired, the corresponding initial dictionary template is called out in real time inside the preset program, and the data dictionary is correspondingly generated in real time according to the target data set, the printing time and the initial dictionary template.
[0044] Furthermore, the control module is specifically used for:
[0045] When the initial dictionary template is acquired in real time, the initial dictionary template is fully scanned to detect in real time a number of filling areas corresponding to the initial dictionary template;
[0046] When a plurality of the filling areas are acquired in real time, a corresponding target identifier is added to each of the filling areas;
[0047] The target data set and the printing time are filled into each of the filling areas based on the target identifier to generate the data dictionary accordingly.
[0048] Furthermore, the control module is specifically used for:
[0049] When the data dictionary is acquired in real time, the data dictionary is fully scanned to detect the target data chain and the target time chain contained in the data dictionary in real time;
[0050] Constructing a mapping relationship between the target data chain and the target time chain in real time;
[0051] The target data chain and the target time chain are graphically processed based on the mapping relationship to generate the target line graph accordingly.
[0052] Furthermore, the control module is specifically used for:
[0053] When the target data chain and the target time chain are acquired respectively, a reference surface is created in real time through the preset program;
[0054] When the reference plane is acquired in real time, a target two-dimensional coordinate system is correspondingly created inside the reference plane, and the target line graph is correspondingly generated in real time according to the target two-dimensional coordinate system, the target data chain and the target time chain.
[0055] Furthermore, the control module is specifically used for:
[0056] When the target two-dimensional coordinate system is acquired in real time, the horizontal axis of the target two-dimensional coordinate system is set to time, the vertical axis of the target two-dimensional coordinate system is set to data, and the target data chain and the target time chain are correspondingly imported into the target two-dimensional coordinate system to generate the target line chart accordingly.
[0057] The third aspect of the embodiment of the present invention proposes:
[0058] A computer comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the memory monitoring method as described above when executing the computer program.
[0059] The fourth aspect of the embodiments of the present invention proposes:
[0060] A readable storage medium stores a computer program, wherein the program implements the memory monitoring method as described above when executed by a processor.
[0061] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 A flowchart of a memory monitoring method provided by a first embodiment of the present invention;
[0063] Figure 2 This is a structural block diagram of a memory monitoring system provided by the third embodiment of the present invention.
[0064] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0065] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.
[0066] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.
[0067] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0068] See also Figure 1 , shown is the memory monitoring method provided by the first embodiment of the present invention. The memory monitoring method provided by this embodiment can objectively and accurately determine whether the embedded product is in a normal working state, and can monitor the memory usage in real time, thereby correspondingly improving work efficiency.
[0069] Specifically, this embodiment provides:
[0070] A memory monitoring method specifically comprises the following steps:
[0071] Step S10, during the working process of the embedded product, obtaining the target log generated by the embedded product in real time, and printing the remaining memory corresponding to the embedded product once every preset time;
[0072] Step S20, exporting the target log to a preset program through the remaining memory, and outputting a data dictionary corresponding to the embedded product in real time according to the target log through the preset program;
[0073] Step S30, generating a corresponding target line graph in real time according to the data dictionary based on preset specifications, and judging in real time according to the target line graph whether the memory of the embedded product is abnormal.
[0074] Second embodiment
[0075] Furthermore, the step of outputting a data dictionary corresponding to the embedded product in real time according to the target log through the preset program includes:
[0076] When the target log is acquired in real time, a regular expression adapted to the target log is called out in real time inside the preset program;
[0077] The target log is screened in real time by using the regular expression to detect a number of target keywords contained in the target log in real time, and the data dictionary is generated in real time according to the target keywords.
[0078] Furthermore, the step of generating the data dictionary in real time according to the target keywords includes:
[0079] When a plurality of the target keywords are acquired in real time, the plurality of the target keywords are integrated and processed in real time to generate a corresponding target data set in real time;
[0080] When the target data set is acquired in real time, the printing time corresponding to the target log is detected in real time;
[0081] When the target data set and the printing time are respectively acquired, the corresponding initial dictionary template is called out in real time inside the preset program, and the data dictionary is correspondingly generated in real time according to the target data set, the printing time and the initial dictionary template.
[0082] Furthermore, the step of generating a corresponding target line graph in real time according to the data dictionary based on preset rules includes:
[0083] When the initial dictionary template is acquired in real time, the initial dictionary template is fully scanned to detect in real time a number of filling areas corresponding to the initial dictionary template;
[0084] When a plurality of the filling areas are acquired in real time, a corresponding target identifier is added to each of the filling areas;
[0085] The target data set and the printing time are filled into each of the filling areas based on the target identifier to generate the data dictionary accordingly.
[0086] Furthermore, the step of generating a corresponding target line graph in real time according to the data dictionary based on preset rules includes:
[0087] When the data dictionary is acquired in real time, the data dictionary is fully scanned to detect the target data chain and the target time chain contained in the data dictionary in real time;
[0088] Constructing a mapping relationship between the target data chain and the target time chain in real time;
[0089] The target data chain and the target time chain are graphically processed based on the mapping relationship to generate the target line graph accordingly.
[0090] Furthermore, the step of generating a corresponding target line graph in real time according to the data dictionary based on preset rules includes:
[0091] When the target data chain and the target time chain are acquired respectively, a reference surface is created in real time through the preset program;
[0092] When the reference plane is acquired in real time, a target two-dimensional coordinate system is correspondingly created inside the reference plane, and the target line graph is correspondingly generated in real time according to the target two-dimensional coordinate system, the target data chain and the target time chain.
[0093] Furthermore, the step of generating the target line graph in real time according to the target two-dimensional coordinate system, the target data chain and the target time chain includes:
[0094] When the target two-dimensional coordinate system is acquired in real time, the horizontal axis of the target two-dimensional coordinate system is set to time, the vertical axis of the target two-dimensional coordinate system is set to data, and the target data chain and the target time chain are correspondingly imported into the target two-dimensional coordinate system to generate the target line chart accordingly.
[0095] In addition, in the present embodiment, it is also necessary to explain that after the required target log is obtained in real time, the current target log needs to be further processed to obtain the working status of the above-mentioned embedded product in real time. It should be pointed out that in order to be able to comprehensively and accurately determine whether the above-mentioned embedded product is normal, preferably, the present invention will obtain a log once every 3 seconds or 5 seconds inside the current embedded product. At the same time, in the process of obtaining the log, the remaining memory corresponding to the current embedded product will be printed once. Based on this, in the actual application process, when it is necessary to troubleshoot the current embedded product, it is necessary to input the current real-time target log into the existing python project. At the same time, a regular expression adapted to the current target log is called out in the current python project, and the regular expression can be used to filter out the required target keywords in real time in the current target log. At the same time, in order to facilitate subsequent integration processing, the printing time corresponding to the above-mentioned target log will be further detected at this time, so that comprehensive data can be obtained for subsequent processing.
[0096] Furthermore, after obtaining several target keywords in real time through the above steps, in order to improve the data processing speed, the current several target keywords will be further integrated and processed, and the required target data set can be further generated. Based on this, in order to facilitate the subsequent generation of graphics, the required initial dictionary template will be further called out in real time within the above-mentioned preset program. At the same time, the several filling areas corresponding to the current initial dictionary template are synchronously detected. Based on this, it is only necessary to fill the current several target keywords and the current printing time into each current filling area in real time to generate the required data dictionary in real time. On this basis, in order to improve the speed of subsequent graphics generation, the present invention will further parse the current data dictionary, and can further extract the target data chain and target time chain contained in the current data dictionary. At the same time, the mapping relationship between the current target data chain and the current target time chain is constructed in real time. Based on this, a target two-dimensional coordinate system will be further created. It should be pointed out that the horizontal axis of the target two-dimensional coordinate system is time, and correspondingly, the vertical axis of the target two-dimensional coordinate system is data. Based on this, the above-mentioned target data chain and target time chain can be finally filled into the interior of the current target two-dimensional coordinate system in sequence, so as to form the above-mentioned target line graph, and complete subsequent judgments, which correspondingly improves work efficiency.
[0097] See also Figure 2 , the third embodiment of the present invention provides:
[0098] A memory monitoring system, wherein the system comprises:
[0099] The acquisition module is used to obtain the target log generated by the embedded product in real time during the working process of the embedded product, and print the remaining memory corresponding to the embedded product once every preset time;
[0100] A detection module, configured to export the target log to a preset program through the remaining memory, and output a data dictionary corresponding to the embedded product in real time according to the target log through the preset program;
[0101] The control module is used to generate a corresponding target line graph in real time according to the data dictionary based on preset specifications, and to determine in real time according to the target line graph whether the memory of the embedded product is abnormal.
[0102] Furthermore, the control module is specifically used for:
[0103] When the target log is acquired in real time, a regular expression adapted to the target log is called out in real time inside the preset program;
[0104] The target log is screened in real time by using the regular expression to detect a number of target keywords contained in the target log in real time, and the data dictionary is generated in real time according to the target keywords.
[0105] Furthermore, the control module is specifically used for:
[0106] When a plurality of the target keywords are acquired in real time, the plurality of the target keywords are integrated and processed in real time to generate a corresponding target data set in real time;
[0107] When the target data set is acquired in real time, the printing time corresponding to the target log is detected in real time;
[0108] When the target data set and the printing time are respectively acquired, the corresponding initial dictionary template is called out in real time inside the preset program, and the data dictionary is correspondingly generated in real time according to the target data set, the printing time and the initial dictionary template.
[0109] Furthermore, the control module is specifically used for:
[0110] When the initial dictionary template is acquired in real time, the initial dictionary template is fully scanned to detect in real time a number of filling areas corresponding to the initial dictionary template;
[0111] When a plurality of the filling areas are acquired in real time, a corresponding target identifier is added to each of the filling areas;
[0112] The target data set and the printing time are filled into each of the filling areas based on the target identifier to generate the data dictionary accordingly.
[0113] Furthermore, the control module is specifically used for:
[0114] When the data dictionary is acquired in real time, the data dictionary is fully scanned to detect the target data chain and the target time chain contained in the data dictionary in real time;
[0115] Constructing a mapping relationship between the target data chain and the target time chain in real time;
[0116] The target data chain and the target time chain are graphically processed based on the mapping relationship to generate the target line graph accordingly.
[0117] Furthermore, the control module is specifically used for:
[0118] When the target data chain and the target time chain are acquired respectively, a reference surface is created in real time through the preset program;
[0119] When the reference plane is acquired in real time, a target two-dimensional coordinate system is correspondingly created inside the reference plane, and the target line graph is correspondingly generated in real time according to the target two-dimensional coordinate system, the target data chain and the target time chain.
[0120] Furthermore, the control module is specifically used for:
[0121] When the target two-dimensional coordinate system is acquired in real time, the horizontal axis of the target two-dimensional coordinate system is set to time, the vertical axis of the target two-dimensional coordinate system is set to data, and the target data chain and the target time chain are correspondingly imported into the target two-dimensional coordinate system to generate the target line chart accordingly.
[0122] A fourth embodiment of the present invention provides a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the memory monitoring method as described above when executing the computer program.
[0123] A fifth embodiment of the present invention provides a readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the memory monitoring method as described above.
[0124] In summary, the memory monitoring method and system provided by the above embodiments of the present invention can objectively and accurately determine whether the embedded product is in a normal working state, and can monitor the memory usage in real time, thereby correspondingly improving work efficiency.
[0125] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0126] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0127] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0128] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0129] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0130] The above-described embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the attached claims.
Claims
1. A memory monitoring method, characterized in that: The method comprises: During the working process of the embedded product, the target log generated by the embedded product is obtained in real time, and the remaining memory corresponding to the embedded product is printed once every preset time; Exporting the target log to a preset program through the remaining memory, and outputting a data dictionary corresponding to the embedded product in real time according to the target log through the preset program; Based on the preset specifications, a corresponding target line graph is generated in real time according to the data dictionary, and it is determined in real time according to the target line graph whether the memory of the embedded product is abnormal.
2. The memory monitoring method according to claim 1, characterized in that: The step of outputting a data dictionary corresponding to the embedded product in real time according to the target log through the preset program includes: When the target log is acquired in real time, a regular expression adapted to the target log is called out in real time inside the preset program; The target log is screened in real time by using the regular expression to detect a number of target keywords contained in the target log in real time, and the data dictionary is generated in real time according to the target keywords.
3. The memory monitoring method according to claim 2, characterized in that: The step of generating the data dictionary in real time according to the target keywords includes: When a plurality of the target keywords are acquired in real time, the plurality of the target keywords are integrated and processed in real time to generate a corresponding target data set in real time; When the target data set is acquired in real time, the printing time corresponding to the target log is detected in real time; When the target data set and the printing time are respectively acquired, the corresponding initial dictionary template is called out in real time inside the preset program, and the data dictionary is correspondingly generated in real time according to the target data set, the printing time and the initial dictionary template.
4. The memory monitoring method according to claim 3, characterized in that: The step of generating the data dictionary in real time according to the target data set, the printing time and the initial dictionary template also includes: When the initial dictionary template is acquired in real time, the initial dictionary template is fully scanned to detect in real time a number of filling areas corresponding to the initial dictionary template; When a plurality of the filling areas are acquired in real time, a corresponding target identifier is added to each of the filling areas; The target data set and the printing time are filled into each of the filling areas based on the target identifier to generate the data dictionary accordingly.
5. The memory monitoring method according to claim 1, characterized in that: The step of generating a corresponding target line graph in real time according to the data dictionary based on preset rules comprises: When the data dictionary is acquired in real time, the data dictionary is fully scanned to detect the target data chain and the target time chain contained in the data dictionary in real time; Constructing a mapping relationship between the target data chain and the target time chain in real time; The target data chain and the target time chain are graphically processed based on the mapping relationship to generate the target line graph accordingly.
6. The memory monitoring method according to claim 5, characterized in that: The step of generating a corresponding target line graph in real time according to the data dictionary based on preset rules comprises: When the target data chain and the target time chain are acquired respectively, a reference surface is created in real time through the preset program; When the reference plane is acquired in real time, a target two-dimensional coordinate system is correspondingly created inside the reference plane, and the target line graph is correspondingly generated in real time according to the target two-dimensional coordinate system, the target data chain and the target time chain.
7. The memory monitoring method according to claim 6, characterized in that: The step of generating the target line graph in real time according to the target two-dimensional coordinate system, the target data chain and the target time chain comprises: When the target two-dimensional coordinate system is acquired in real time, the horizontal axis of the target two-dimensional coordinate system is set to time, the vertical axis of the target two-dimensional coordinate system is set to data, and the target data chain and the target time chain are correspondingly imported into the target two-dimensional coordinate system to generate the target line chart accordingly.
8. A memory monitoring system, characterized in that: The system comprises: The acquisition module is used to obtain the target log generated by the embedded product in real time during the working process of the embedded product, and print the remaining memory corresponding to the embedded product once every preset time; A detection module, configured to export the target log to a preset program through the remaining memory, and output a data dictionary corresponding to the embedded product in real time according to the target log through the preset program; The control module is used to generate a corresponding target line graph in real time according to the data dictionary based on preset specifications, and to determine in real time according to the target line graph whether the memory of the embedded product is abnormal.
9. A computer comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the memory monitoring method according to any one of claims 1 to 7 is implemented.
10. A readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the memory monitoring method as described in any one of claims 1 to 7 is implemented.