WO2022095381A1 - Performance monitoring and evaluation method and apparatus, computer device, and readable storage medium - Google Patents
Performance monitoring and evaluation method and apparatus, computer device, and readable storage medium Download PDFInfo
- Publication number
- WO2022095381A1 WO2022095381A1 PCT/CN2021/091338 CN2021091338W WO2022095381A1 WO 2022095381 A1 WO2022095381 A1 WO 2022095381A1 CN 2021091338 W CN2021091338 W CN 2021091338W WO 2022095381 A1 WO2022095381 A1 WO 2022095381A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mobile terminal
- performance
- data
- index
- deep learning
- Prior art date
Links
- 238000011156 evaluation Methods 0.000 title claims abstract description 108
- 238000012544 monitoring process Methods 0.000 title claims abstract description 86
- 230000002159 abnormal effect Effects 0.000 claims abstract description 135
- 238000013135 deep learning Methods 0.000 claims abstract description 109
- 238000012360 testing method Methods 0.000 claims abstract description 94
- 238000012549 training Methods 0.000 claims abstract description 53
- 238000000034 method Methods 0.000 claims abstract description 29
- 210000002569 neuron Anatomy 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 11
- 230000005856 abnormality Effects 0.000 claims description 10
- 230000006870 function Effects 0.000 claims description 8
- 206010033864 Paranoia Diseases 0.000 claims description 4
- 208000027099 Paranoid disease Diseases 0.000 claims description 4
- 238000013473 artificial intelligence Methods 0.000 abstract description 7
- 238000013528 artificial neural network Methods 0.000 description 8
- 230000007774 longterm Effects 0.000 description 7
- 230000000694 effects Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000032683 aging Effects 0.000 description 3
- 238000011478 gradient descent method Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 102100035115 Testin Human genes 0.000 description 1
- 101710070533 Testin Proteins 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013145 classification model Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000003062 neural network model Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
Definitions
- the present application relates to the technical field of intelligent decision-making of artificial intelligence, and in particular, to a performance monitoring and evaluation method, apparatus, computer equipment and readable storage medium, which use the deep learning technology of artificial intelligence.
- the mobile terminal runs a large number of apps all the time. Therefore, it is necessary to monitor the performance indicators of the mobile terminal through performance monitoring tools to prevent the mobile terminal from entering an abnormal state due to running a large number of apps (such as: freeze, freeze, system crash, etc.). ); current performance monitoring tools usually use preset performance thresholds to monitor various performance indicators of the mobile terminal and issue an alarm.
- the inventor realized that once the mobile terminal is used for a long time, the performance of the mobile terminal will be degraded (for example, the hardware is aging, the hard disk stores too much data, a large number of APPs are downloaded, etc.), or when the user replaces the mobile terminal, Then the preset performance threshold will no longer match the performance index when the mobile terminal enters an abnormal state, so that it cannot accurately issue an alarm to the mobile terminal, resulting in low reliability of the performance alarm.
- the purpose of this application is to provide a performance monitoring and evaluation method, device, computer equipment and readable storage medium, which are used to solve the problem that after long-term use of the mobile terminal in the prior art, the preset performance threshold will no longer be compatible with the mobile terminal.
- the performance indicators match, so that it cannot accurately send an alarm to the mobile terminal, resulting in the problem of low reliability of the performance alarm.
- the present application provides a performance monitoring and evaluation method for monitoring and evaluating the performance indicators of the mobile terminal, including:
- a mature deep learning network is obtained by training the preset initial deep learning network through the performance data and the preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state;
- the performance index of the mobile terminal is monitored and taken as a real-time index, an evaluation result is obtained by evaluating the real-time index according to the dynamic index, and alarm information is sent to the mobile terminal according to the evaluation result.
- the present application also provides a performance monitoring and evaluation device, comprising:
- an abnormality acquisition module configured to acquire performance data of the mobile terminal according to the abnormality information sent by the mobile terminal, wherein the performance data reflects the performance index of the mobile terminal in an abnormal state;
- a network training module for training a preset initial deep learning network to obtain a mature deep learning network through the performance data and preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state;
- the dynamic adjustment module is used to calculate the preset adjustable data through the mature deep learning network to generate the test result, and calculate the difference between the test result and the preset equalization result to obtain the test loss value, according to the test loss Adjust the adjustable data until the test result generated by the mature deep learning network is consistent with the equilibrium result, and set the adjustable data as a dynamic index;
- the monitoring and alarming module is used to monitor the performance index of the mobile terminal and use it as a real-time index, evaluate the real-time index according to the dynamic index to obtain an evaluation result, and send alarm information to the mobile terminal according to the evaluation result.
- the present application also provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, which is implemented when the processor of the computer device executes the computer program.
- the performance monitoring and evaluation method includes:
- a mature deep learning network is obtained by training the preset initial deep learning network through the performance data and the preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state;
- the performance index of the mobile terminal is monitored and taken as a real-time index, an evaluation result is obtained by evaluating the real-time index according to the dynamic index, and alarm information is sent to the mobile terminal according to the evaluation result.
- the present application also provides a computer-readable storage medium, where a computer program is stored on the readable storage medium, and the above-mentioned performance monitoring is implemented when the computer program stored in the readable storage medium is executed by a processor.
- Evaluation method the performance monitoring evaluation method includes:
- a mature deep learning network is obtained by training the preset initial deep learning network through the performance data and the preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state;
- the performance index of the mobile terminal is monitored and taken as a real-time index, an evaluation result is obtained by evaluating the real-time index according to the dynamic index, and alarm information is sent to the mobile terminal according to the evaluation result.
- the performance monitoring and evaluation method, device, computer equipment and readable storage medium provided by this application train the initial neural network through the performance data of the mobile terminal in normal and abnormal states, and obtain the ability to accurately judge the mobile terminal according to the performance index of the mobile terminal. Whether the terminal is in a normal state or an abnormal state of a mature deep learning network, the mature deep learning network generates dynamic indicators by adjusting the adjustable data.
- the adjustable data corresponding to the critical point between the normal state and the abnormal state of the mobile terminal is dynamically identified based on the mature deep learning network, and the adjustable data is set as a dynamic index, so that the mobile terminal is Whether the performance of the mobile terminal is degraded due to long-term use, or the mobile terminal is replaced, the dynamic index can correctly reflect the performance index of the mobile terminal at the critical point of normal state and abnormal state, so as to achieve Accurately send alarm information to the mobile terminal to ensure the reliability of mobile terminal monitoring and evaluation.
- Fig. 1 is the flow chart of the first embodiment of the performance monitoring and evaluation method of the present application
- Fig. 2 is the environmental application schematic diagram of the performance monitoring and evaluation method in the second embodiment of the performance monitoring and evaluation method of the application;
- Fig. 3 is the specific method flow chart of the performance monitoring and evaluation method in the second embodiment of the performance monitoring and evaluation method of the present application;
- FIG. 4 is a schematic diagram of a program module of Embodiment 3 of the performance monitoring and evaluation device of the present application;
- FIG. 5 is a schematic diagram of a hardware structure of a computer device in Embodiment 4 of the computer device of the present application.
- the performance monitoring and evaluation method, device, computer equipment and readable storage medium provided by this application are suitable for the technical field of intelligent decision-making of artificial intelligence, and provide a method based on abnormal acquisition module, network training module, dynamic adjustment module and monitoring and alarm module. Performance monitoring and evaluation methods.
- This application obtains the performance data of the mobile terminal according to the abnormal information sent by the mobile terminal; trains the initial deep learning network to obtain a mature deep learning network through the performance data and benchmark data; The difference between the result and the equilibrium result is the test loss value, and the adjustable data is adjusted according to the test loss value until the test result generated by the mature deep learning network is consistent with the equilibrium result, and the adjustable data is set as a dynamic index; monitor the performance index of the mobile terminal, And evaluate the performance index according to the dynamic index to obtain the evaluation result, and send the alarm information to the mobile terminal according to the evaluation result.
- a performance monitoring and evaluation method of the present embodiment is used to monitor and evaluate the performance indicators of the mobile terminal, including:
- S102 Acquire performance data of the mobile terminal according to the abnormality information sent by the mobile terminal, wherein the performance data reflects the performance index of the mobile terminal in an abnormal state.
- S106 Train a preset initial deep learning network to obtain a mature deep learning network by using the performance data and preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state.
- S107 Generate a test result by calculating preset adjustable data through the mature deep learning network, and calculate the difference between the test result and a preset equalization result to obtain a test loss value, and adjust the test loss value according to the test loss value Adjust the data until the test result generated by the mature deep learning network is consistent with the equilibrium result, and set the adjustable data as a dynamic index.
- S109 Monitor the performance index of the mobile terminal and use it as a real-time index, evaluate the real-time index according to the dynamic index to obtain an evaluation result, and send alarm information to the mobile terminal according to the evaluation result.
- the performance data of the mobile terminal is obtained through a performance monitoring tool, and the user information of the mobile terminal is obtained.
- the performance monitoring tool is a computer program for monitoring the performance of the mobile terminal, so as to obtain the abnormal state of the mobile terminal. performance data below.
- the initial neural network is trained to obtain a mobile terminal that can accurately judge whether the mobile terminal is in a normal state or an abnormal state according to the performance index of the mobile terminal. Mature deep learning network to realize the purpose of judging the normal state and abnormal state of the mobile terminal based on artificial intelligence technology.
- the adjustable data By entering the adjustable data into the input layer of the mature deep learning network, calling the hidden layer of the mature deep learning network to calculate the adjustable data of the input layer to obtain the test results, and outputting the test results to the mature deep learning network
- the output layer of the deep learning network the test loss value is obtained by the preset test loss function and the difference between the test result and the preset equalization result, and the gradient descent method is used to adjust the test loss value according to the test loss value. Adjust the data until the mature deep learning network generates the test result and the equilibrium result through the adjustable data, and set the adjustable data as a dynamic index.
- the performance index of the mobile terminal exceeds the dynamic index, it can be regarded as abnormal, which greatly improves the judgment efficiency of the abnormal state of the mobile terminal, and further greatly reduces the monitoring of the performance index of the mobile terminal, and the judgment of the performance index in the said performance index. It can realize the technical effect of monitoring and judging the performance indicators of a large number of mobile terminals.
- the performance of the mobile terminal will be degraded (such as hardware aging, too much data stored on the hard disk, downloaded a large number of apps, etc.), or when the user replaces the mobile terminal, the performance index of the mobile terminal when it enters an abnormal state will also change accordingly.
- the adjustable data corresponding to the critical point between the normal state and the abnormal state of the mobile terminal is dynamically identified based on the mature deep learning network, and the adjustable data is set as a dynamic index, so that the mobile terminal is Whether the performance of the mobile terminal is degraded due to long-term use, or the mobile terminal is replaced, the dynamic index can correctly reflect the performance index of the mobile terminal at the critical point of normal state and abnormal state, so as to achieve Accurately send alarm information to the mobile terminal to ensure the reliability of mobile terminal monitoring and evaluation.
- the performance indicators of the mobile terminal are monitored by a performance monitoring tool, and dynamic indicators associated with the user information of the mobile terminal are obtained, the performance indicators are evaluated according to the dynamic indicators to obtain an evaluation result, and the mobile terminal is obtained according to the evaluation results. Whether there may be an abnormal state, and send alarm information to the mobile terminal that may be abnormal, so as to realize the real-time monitoring and evaluation of the mobile terminal, and the technical effect of real-time alarming the mobile terminal that may be in an abnormal state.
- Embodiment 2 is a diagrammatic representation of Embodiment 1:
- This embodiment is a specific application scenario of the above-mentioned Embodiment 1. Through this embodiment, the method provided in this application can be described more clearly and specifically.
- FIG. 2 schematically shows a schematic diagram of an environmental application of the performance monitoring and evaluation method according to the second embodiment of the present application.
- the server 2 where the performance monitoring and evaluation method is located is respectively connected to the mobile terminal 4 through the network 3; the server 2 may provide services through one or more networks 3, and the network 3 may include various network devices, such as Routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices and/or etc.
- the network 3 may include physical links such as coaxial cable links, twisted pair cable links, fiber optic links, combinations thereof, and/or the like.
- the network 3 may include wireless links, such as cellular links, satellite links, Wi-Fi links and/or the like; the mobile terminal 4 may be computer equipment such as smart phones, tablet computers, notebook computers, desktop computers, etc.
- FIG. 3 is a flowchart of a specific method of a performance monitoring and evaluation method provided by an embodiment of the present application, and the method specifically includes steps S200 to S209.
- this step creates an upload interface to monitor the abnormal information uploaded by the mobile terminal in real time.
- upload abnormal information to the upload interface, so as to realize the rapid discovery of the abnormal state of the mobile terminal, so as to obtain the performance data under the abnormal state in time; wherein, the abnormal information is the mobile terminal judging its own running state is in an abnormal state, and the sent message is used to reflect that the mobile terminal is currently in an abnormal state.
- the proxy event corresponding to the button is used to send abnormal information to the upload interface, so that the user only needs to click the button.
- the sending of abnormal information realizes the effect of one-click abnormal feedback.
- S201 Send a status request to a mobile terminal, and receive status information sent by the mobile terminal according to the status request; determine whether the status information has an abnormal tag; if so, determine that the status information is abnormal information, and execute S202; if not, end.
- this step sends a status request to the mobile terminal, and receives the status information sent by the mobile terminal according to the status request;
- the pop-up box is used as a status request, and the mobile terminal generates status information with an abnormal label by clicking the abnormal button; if the current state of the mobile terminal is normal, the mobile terminal will click the normal button in the pop-up box to send a message with normal status.
- the status information of the tag, or the status information with the cancellation tag is sent by clicking the close button in the pop-up box.
- the abnormal information is a message sent by the user to determine that the mobile terminal is currently in an abnormal state, and is used to reflect that the mobile terminal is currently in an abnormal state.
- S202 Acquire performance data of the mobile terminal according to the abnormality information sent by the mobile terminal, wherein the performance data reflects the performance index of the mobile terminal in an abnormal state.
- the performance data of the mobile terminal is obtained through a performance monitoring tool, and the user information of the mobile terminal is obtained.
- Monitoring tools are computer programs used to monitor mobile performance, such as PerfDog, MobilePerformance Solo ⁇ , Testin, etc.
- the performance data refers to performance indicators that reflect the abnormal state of the mobile terminal, such as CPU usage, memory usage, power consumption, and the like.
- S203 Acquire user information of the mobile terminal, associate and save the performance data with the user information.
- the user information is used as data information for marking the user identity using the mobile terminal, for example: the user's login account on the mobile terminal, the user's mobile phone number, and the like.
- the user information is used as a primary key and the performance data is used as a key value to construct a key-value pair, so as to realize the association between the performance data and the user information, and combine the performance data with the user information.
- User information is sent to the preset exception database for preservation.
- S204 Call the exception database to aggregate performance data belonging to the same user information to form a performance set, and delete performance data that exceeds a preset time limit in the performance set.
- the performance data corresponding to the user information will no longer match the replaced mobile terminal.
- the performance data that exceeds the preset time limit in the performance set is deleted, so as to avoid the impact of the performance data before a long period on the dynamic indicators currently judging the mobile terminal.
- the step of deleting performance data that exceeds a preset time limit in the performance set includes:
- the time limit can be counted as day, month and year. Exemplarily, if the current time is 2020/3/1 and the time limit is 2 months, then the deadline is 2020/1/1.
- the performance data in the performance set has a time stamp, and the time stamp reflects the time when the performance data is acquired, the time stamp of each performance data in the performance set is identified, and the time stamp with a date earlier than the deadline is deleted. corresponding performance data.
- S205 Calculate the number of performance data in the performance set in the abnormal database, and determine whether the number of performance data reaches a preset training threshold; if so, extract the performance data in the performance set, and execute S206; if not, end .
- this step calculates the number of performance data in the performance set in the abnormal database, and determines whether the number of performance data reaches the training threshold. ; If the quantity of performance data reaches the training threshold, the deep learning network can be trained; if the quantity of performance data does not reach the training threshold, end until the quantity of the performance data reaches the training threshold.
- S51 Calculate the quantity of performance data in the performance set in the abnormal database, and determine whether the quantity of the performance data reaches a preset training threshold;
- S206 Train a preset initial deep learning network to obtain a mature deep learning network by using the performance data and preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state.
- the initial neural network is trained by the performance data and the benchmark data used to reflect the performance index of the mobile terminal in the normal state, In order to obtain a mature deep learning network that can accurately judge whether the mobile terminal is in a normal state or an abnormal state according to the performance indicators of the mobile terminal.
- the step of training a preset initial deep learning network to obtain a mature deep learning network by using the performance data and preset benchmark data includes:
- S62 According to the sub-data items in the benchmark data and the performance data, construct the neurons of the input layer in the initial deep learning network; enter the data corresponding to each sub-data item in the benchmark data into the corresponding input layer In the neuron, the data corresponding to each sub-data item in the performance data is entered into the corresponding neuron in the input layer;
- the sub-data item is the metadata of the sub-data in the benchmark data and the performance data
- the sub-data is the smallest data unit that constitutes the benchmark data and the performance data
- the performance data is CPU usage: 35%
- Use memory: 550M power consumption 0.26mAh/s
- sub-data items of this performance data include: CPU usage: 35%
- used memory: 550M power consumption 0.26mAh/s
- sub-data items of this performance data include: CPU usage, memory usage, power consumption.
- the benchmark data is: CPU usage: 1%, memory usage: 10M, power consumption 0.01mAh/s; sub-data of this benchmark data include: CPU usage rate: 1%, memory usage: 10M, power consumption 0.01mAh/s s; the sub-data items of the benchmark data include: CPU usage, memory usage, and power consumption.
- S63 Invoke the hidden layer of the initial deep learning network, obtain the input vector of the input layer and perform operations on it to obtain an output vector, and output the output vector to the output layer of the initial deep learning network.
- the output layer includes normal neurons and abnormal neurons
- the normal neuron is used to express the probability that the mobile terminal is in a normal state
- the abnormal neuron is used to express the probability that the mobile terminal is in an abnormal state
- the initial deep learning network is trained by the benchmark data and performance data at the same time, the purpose is to avoid training the initial deep learning network only by the benchmark data or performance data, resulting in the obtained mature deep learning network can only judge, Whether the mobile terminal is in a normal state or whether it is in an abnormal state occurs, and it is impossible to determine the normal state and the abnormal state at the same time. Therefore, it is helpful to obtain the critical point when the mobile terminal is in a normal state and an abnormal state.
- S64 Calculate the difference between the output vector of the output layer and the abnormal information corresponding to the performance data by using a preset training loss function, and obtain a training loss value.
- S65 Adjust the weight and paranoia value of the hidden layer through the back-propagation algorithm and according to the training loss value until the training loss value is less than a preset training loss threshold to obtain a mature deep learning network.
- BP network Back Propagation
- BP network is a multi-layer feedforward network trained according to the error back propagation algorithm, and is one of the most widely used neural network models at present.
- BP network can learn and store a large number of input-output pattern mapping relationships without revealing the mathematical equations describing this mapping relationship in advance.
- the loss function is a way to measure the predicted and actual values of an artificial neural network (ANN). It is used for training the deep learning network, so that the predicted value of the deep learning network is close to or even in line with the actual value.
- ANN artificial neural network
- the back-propagation method refers to a supervised learning algorithm, which is often used to train a multilayer perceptron and a forward neural network.
- the back-propagation algorithm (BP algorithm) mainly consists of two links (excitation propagation, weight update) iterating repeatedly until the network's response to the input reaches a predetermined target range.
- S207 Generate a test result by calculating preset adjustable data through the mature deep learning network, and calculate the difference between the test result and the preset equalization result to obtain a test loss value, and adjust the test loss value according to the test loss value Adjust the data until the test result generated by the mature deep learning network is consistent with the equilibrium result, and set the adjustable data as a dynamic index.
- a mature deep learning network is used to monitor the performance indicators of the mobile terminal in real time, a large part of the computing power of the server will be consumed, and if a large number of performance indicators of the mobile terminal are monitored, it is even more impossible to achieve; in this step, the preset Adjustable data is entered into the input layer of the mature deep learning network, and the hidden layer of the mature deep learning network is called to calculate the adjustable data of the input layer to obtain test results, and the test results are output to the mature deep learning network The output layer of the network; the test loss value is obtained by the preset test loss function and the difference between the test result and the preset equalization result, and the adjustable data is adjusted according to the test loss value by using the gradient descent method , until the mature deep learning network generates the test result and the equilibrium result through the adjustable data, and sets the adjustable data as a dynamic index.
- the equilibrium result reflects a critical result between a normal state and an abnormal state, for example, the normal probability value of the output layer is 0.5, and the abnormal probability value is 0.5.
- the adjustable data and the metadata of the performance data are in one-to-one correspondence, and the data set in which the value corresponding to each metadata in the adjustable data can be adjusted includes CPU usage. Rate, memory usage, power consumption, for example: adjustable data include: CPU usage: X%, memory usage: YM, power consumption ZAh/s; where X, Y, Z can be any real number.
- test result is a data set generated by the mature deep learning network calculating the adjustable data, and the test result is in one-to-one correspondence with the metadata of the test result, which includes normal probability values and abnormal values.
- the probability value for example, the adjustable data is CPU usage: 35%, memory usage: 550M, power consumption 0.26mAh/s; the obtained test results are the normal probability value of 0.2 and the abnormal probability value of 0.8.
- the performance of the mobile terminal will be degraded (such as hardware aging, too much data stored on the hard disk, downloaded a large number of apps, etc.), or when the user replaces the mobile terminal, the performance index of the mobile terminal when it enters an abnormal state will also change accordingly.
- the adjustable data corresponding to the critical point between the normal state and the abnormal state of the mobile terminal is dynamically identified based on the mature deep learning network, and the adjustable data is set as a dynamic index, so that the mobile terminal is Whether the performance of the mobile terminal is degraded due to long-term use, or the mobile terminal is replaced, the dynamic index can correctly reflect the performance index of the mobile terminal at the critical point of normal state and abnormal state, so as to achieve Accurately send alarm information to the mobile terminal to ensure the reliability of mobile terminal monitoring and evaluation.
- the gradient descent method is an optimizer commonly used in machine learning, which is used to predict the experimental results of mature deep learning networks according to adjustable data, and optimally adjust the adjustable as an input layer according to the experimental results. Adjust the data, and finally match the test results with the equilibrium results.
- the adjustable data is CPU usage: 35%, memory used: 550M, and power consumption 0.26mAh/s; the test results obtained are the normal probability value of 0.2 and the abnormal probability value of 0.8; then the normal probability value is 0.8.
- the value of 0.2 is 0.3 lower than the normal probability of the balanced result at 0.5, and the abnormal probability value of 0.8 is 0.3 higher than the abnormal probability value of 0.5 of the balanced result, so it is necessary to reduce the CPU usage in the tunable data and/or
- the values of memory and/or power consumption are used to increase the normal probability value of the test result and decrease the abnormal probability value of the test result until the value of the test result agrees with the value of the equilibrium result.
- this step ensures that the user with the user information can accurately call by associating the dynamic index with the user information.
- Corresponding dynamic indicators are used to evaluate the performance indicators of the mobile terminal used, which ensures the directivity and accuracy of dynamic indicators evaluation, and sends the associated dynamic indicators and user information to the preset indicator server, so that the dynamic indicators can be It is reused for a long time to ensure the reliability of the performance index monitoring of the mobile terminal.
- the key-value key-value pair technology is used to associate the dynamic indicator with the user information, wherein the user information is used as the primary key and the dynamic indicator is used as the key value to form a mutual association. key-value pair.
- the method further includes:
- the corresponding summary information is obtained based on the dynamic index and the user information.
- the summary information is obtained by hashing the dynamic index and the user information, for example, by using the sha256s algorithm.
- Uploading summary information to the blockchain ensures its security and fairness and transparency to users.
- User equipment can download the summary information from the blockchain to verify whether dynamic indicators and user information have been tampered with.
- the blockchain referred to in this example is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
- Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify its Validity of information (anti-counterfeiting) and generation of the next block.
- the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
- S209 Monitor the performance index of the mobile terminal and use it as a real-time index, evaluate the real-time index according to the dynamic index to obtain an evaluation result, and send alarm information to the mobile terminal according to the evaluation result.
- the performance indicators of the mobile terminal are monitored by a performance monitoring tool, and user information related to the mobile terminal is obtained.
- the associated dynamic index, the performance index is evaluated according to the dynamic index to obtain an evaluation result, and according to the evaluation result, it is known whether the mobile terminal may be in an abnormal state, and an alarm message may be sent to the mobile terminal that may be abnormal,
- real-time alarm to the mobile terminal that may appear abnormal state.
- the monitoring of the performance index of the mobile terminal, and evaluating the performance index according to the dynamic index to obtain an evaluation result, and the step of sending alarm information to the mobile terminal according to the evaluation result includes the following steps: :
- S91 Monitor the performance indicators of the mobile terminal and use them as real-time indicators, and acquire user information of the mobile terminal and extract dynamic indicators associated with the user information.
- the performance monitoring tool is used to monitor the performance indicators of the mobile terminal, and user information of the mobile terminal is acquired, and an indicator server is invoked to acquire dynamic indicators associated with the user information.
- S92 Set the real-time index whose value exceeds the dynamic index as an abnormal index, and set the number of the abnormal index as an evaluation result.
- the performance index is compared with the dynamic index, the performance index whose value exceeds the dynamic index is identified, and the performance index is set as the abnormal index; the number of the abnormal index is calculated, and the number is set as the evaluation result.
- the dynamic indicators associated with the user information of the mobile terminal A include: CPU: 30%, power consumption: 0.238mAh/s, memory: 500M;
- the performance indicators obtained by monitoring mobile terminal A include: CPU: 35%, power consumption: 0.26mAh/s, memory: 550M; then, since the device CPU: 35% > CPU threshold 30%; the device power consumption 0.26mAh/s > The power consumption threshold is 0.238mAh/s; the device memory 550M > the memory threshold 500M. Therefore, an evaluation result of 3 was obtained.
- the abnormality threshold is 2
- the obtained evaluation result is 3
- a performance monitoring and evaluation device 1 of this embodiment includes:
- An abnormality acquisition module 12 configured to acquire performance data of the mobile terminal according to the abnormality information sent by the mobile terminal, wherein the performance data reflects the performance index of the mobile terminal in an abnormal state;
- the network training module 16 is used for training the preset initial deep learning network to obtain a mature deep learning network through the performance data and the preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state ;
- the dynamic adjustment module 17 is configured to calculate the preset adjustable data through the mature deep learning network to generate the test result, and calculate the difference between the test result and the preset equalization result to obtain the test loss value, according to the test The loss value is adjusted to the adjustable data until the test result generated by the mature deep learning network is consistent with the equilibrium result, and the adjustable data is set as a dynamic index;
- the monitoring and alarming module 19 is used to monitor the performance index of the mobile terminal and use it as a real-time index, evaluate the real-time index according to the dynamic index to obtain an evaluation result, and send alarm information to the mobile terminal according to the evaluation result.
- the performance monitoring and evaluation device 1 further includes:
- the creation module 10 is used to create an upload interface for monitoring the abnormal information of the mobile terminal, and call the abnormal acquisition module 12;
- the performance monitoring and evaluation device 1 further includes:
- the information request module 11 is used for sending a status request to the mobile terminal, and receiving the status information sent by the mobile terminal according to the status request; judging whether the status information has an abnormal label; if yes, then judging that the status information is exception information, and call the exception acquisition module 12; if not, end.
- the performance monitoring and evaluation device 1 further includes:
- the information association module 13 is configured to acquire user information of the mobile terminal, and associate and save the performance data with the user information.
- the performance monitoring and evaluation device 1 further includes:
- the information deletion module 14 is configured to call the exception database to aggregate performance data belonging to the same user information to form a performance set, and delete performance data exceeding a preset time limit in the performance set.
- the performance monitoring and evaluation device 1 further includes:
- the training trigger module 15 is used to calculate the quantity of performance data in the performance set in the abnormal database, and judge whether the quantity of the performance data reaches a preset training threshold; if so, extract the performance data in the performance set, and invoke network training Module 16,; if not, end.
- the performance monitoring and evaluation device 1 further includes:
- the association saving module 18 is configured to associate and save the dynamic indicator with the user information of the mobile terminal.
- This technical solution is applied to the field of intelligent decision-making of artificial intelligence, and the performance data of the mobile terminal is obtained according to the abnormal information sent by the mobile terminal; through the performance data and the benchmark data, the neural network is used as the initial deep learning network for training, and a mature deep learning network is obtained and its As a classification model; the test result is generated by calculating the adjustable data through the mature deep learning network, and the test loss value is obtained by calculating the gap between the test result and the equilibrium result, and the adjustable data is adjusted according to the test loss value until the test result generated by the mature deep learning network. Consistent with the equilibrium result, the adjustable data is set as the dynamic index; the performance index of the mobile terminal is monitored, and the performance index is evaluated according to the dynamic index to obtain the evaluation result, and alarm information is sent to the mobile terminal according to the evaluation result.
- Embodiment 4 is a diagrammatic representation of Embodiment 4:
- the present application also provides a computer device 5, the components of the performance monitoring and evaluation device 1 of the third embodiment can be dispersed in different computer devices, and the computer device 5 can be a smart phone, tablet computer, Notebook computers, desktop computers, rack servers, blade servers, tower servers or rack servers (including independent servers, or server clusters composed of multiple application servers), etc.
- the computer device in this embodiment at least includes but is not limited to: a memory 51 and a processor 52 that can be communicatively connected to each other through a system bus, as shown in FIG. 5 .
- FIG. 5 only shows a computer device having a component -, but it should be understood that it is not required to implement all the shown components, and more or less components may be implemented instead.
- the memory 51 (ie, a readable storage medium) includes flash memory, hard disk, multimedia card, card-type memory (eg, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Programmable Read-Only Memory (PROM), Magnetic Memory, Magnetic Disk, Optical Disk, etc.
- the memory 51 may be an internal storage unit of a computer device, such as a hard disk or a memory of the computer device.
- the memory 51 may also be an external storage device of a computer device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), Secure Digital (SD) card, Flash Card (Flash Card), etc.
- the memory 51 may also include both the internal storage unit of the computer device and its external storage device.
- the memory 51 is generally used to store the operating system and various application software installed on the computer equipment, such as the program code of the performance monitoring and evaluation apparatus of the third embodiment.
- the memory 51 can also be used to temporarily store various types of data that have been output or will be output.
- the processor 52 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments.
- the processor 52 is typically used to control the overall operation of the computer device.
- the processor 52 is used for running the program code or processing data stored in the memory 51, for example, running a performance monitoring and evaluation apparatus, so as to implement the performance monitoring and evaluation methods of the first and second embodiments.
- Embodiment 5 is a diagrammatic representation of Embodiment 5:
- the present application also provides a computer-readable storage medium.
- the computer-readable storage medium may be volatile or non-volatile, such as flash memory, hard disk, multimedia card, Card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable Read only memory (PROM), magnetic memory, magnetic disk, optical disk, server, App application mall, etc., on which computer programs are stored, and when the programs are executed by the processor 52, corresponding functions are realized.
- the computer-readable storage medium of this embodiment is used to store the performance monitoring and evaluation apparatus, and when executed by the processor 52, implements the performance monitoring and evaluation methods of the first embodiment and the second embodiment.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Biophysics (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- Biomedical Technology (AREA)
- Quality & Reliability (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Evolutionary Computation (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
A performance monitoring and evaluation method and apparatus, a computer device, and a readable storage medium, relating to the technical field of artificial intelligence. The method comprises: obtaining performance data of a mobile terminal according to anomaly information sent from the mobile terminal (S102); training an initial deep learning network by means of the performance data and benchmark data to obtain a mature deep learning network (S106); generating a test result by calculating adjustable data by means of the mature deep learning network, calculating the difference between the test result and an equilibrium result to obtain a test loss value, adjusting the adjustable data according to the test loss value until the test result generated by the mature deep learning network is consistent with the equilibrium result, and setting the adjustable data as a dynamic indicator (S107); and monitoring a performance indicator of the mobile terminal and using same as a real-time indicator, and evaluating the real-time indicator according to the dynamic indicator to obtain an evaluation result (S109). The present method can accurately reflect the performance indicators of the mobile terminal in the normal state and at the critical point of the abnormal state, thereby ensuring the reliability of mobile terminal monitoring and evaluation.
Description
本申请要求于2020年11月3日递交的申请号为CN 202011208472.8、名称为“性能监测评价方法、装置、计算机设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number CN 202011208472.8 and the title of "Performance Monitoring and Evaluation Method, Apparatus, Computer Equipment and Readable Storage Medium" filed on November 3, 2020, the entire contents of which are incorporated by reference in this application.
本申请涉及人工智能的智能决策技术领域,尤其涉及一种性能监测评价方法、装置、计算机设备及可读存储介质,其使用到人工智能的深度学习技术。The present application relates to the technical field of intelligent decision-making of artificial intelligence, and in particular, to a performance monitoring and evaluation method, apparatus, computer equipment and readable storage medium, which use the deep learning technology of artificial intelligence.
随着智能移动端的普及推动了移动端app的快速发展,当前人类活动基本可以通过移动端app完成,app的性能值得关注。With the popularity of smart mobile terminals promoting the rapid development of mobile applications, human activities can basically be completed through mobile applications, and the performance of the applications is worthy of attention.
移动端每时每刻会运行大量的app,因此,需要通过性能监测工具对移动端的性能指标进行监控以避免移动端因运行大量app而进入异常状态(例如:卡顿、死机、系统崩溃等情况);当前的性能监测工具通常是采用预设的性能阈值,对移动端的各项性能指标进行监控并发出报警。The mobile terminal runs a large number of apps all the time. Therefore, it is necessary to monitor the performance indicators of the mobile terminal through performance monitoring tools to prevent the mobile terminal from entering an abnormal state due to running a large number of apps (such as: freeze, freeze, system crash, etc.). ); current performance monitoring tools usually use preset performance thresholds to monitor various performance indicators of the mobile terminal and issue an alarm.
然而,发明人意识到,一旦移动端在长期使用后,会导致移动端性能下降(例如硬件老化、硬盘存储数据过多、下载了大量的APP等情况),或发生用户更换移动端的情况时,那么所述预设的性能阈值将不再与所述移动端进入到异常状态时的性能指标相匹配,导致其无法准确的向移动端发出报警,造成性能报警可靠性低下。However, the inventor realized that once the mobile terminal is used for a long time, the performance of the mobile terminal will be degraded (for example, the hardware is aging, the hard disk stores too much data, a large number of APPs are downloaded, etc.), or when the user replaces the mobile terminal, Then the preset performance threshold will no longer match the performance index when the mobile terminal enters an abnormal state, so that it cannot accurately issue an alarm to the mobile terminal, resulting in low reliability of the performance alarm.
发明内容SUMMARY OF THE INVENTION
本申请的目的是提供一种性能监测评价方法、装置、计算机设备及可读存储介质,用于解决现有技术存在的移动端在长期使用后,预设的性能阈值将不再与所述移动端进入到异常状态时的性能指标相匹配,导致其无法准确的向移动端发出报警,造成性能报警可靠性低下的问题。The purpose of this application is to provide a performance monitoring and evaluation method, device, computer equipment and readable storage medium, which are used to solve the problem that after long-term use of the mobile terminal in the prior art, the preset performance threshold will no longer be compatible with the mobile terminal. When the terminal enters an abnormal state, the performance indicators match, so that it cannot accurately send an alarm to the mobile terminal, resulting in the problem of low reliability of the performance alarm.
为实现上述目的,本申请提供一种性能监测评价方法,用于对移动端的性能指标进行监测及评价,包括:In order to achieve the above purpose, the present application provides a performance monitoring and evaluation method for monitoring and evaluating the performance indicators of the mobile terminal, including:
根据移动端发送的异常信息获取所述移动端的性能数据,其中,所述性能数据反映了所述移动端在异常状态下的性能指标;Obtain performance data of the mobile terminal according to the abnormal information sent by the mobile terminal, wherein the performance data reflects the performance index of the mobile terminal in an abnormal state;
通过所述性能数据及预置的基准数据,训练预置的初始深度学习网络得到成熟深度学习网络,其中,所述基准数据反映了移动端在正常状态时的性能指标;A mature deep learning network is obtained by training the preset initial deep learning network through the performance data and the preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state;
通过所述成熟深度学习网络计算预置的可调数据生成试验结果,及计算所述试验结果与预置的均衡结果之间的差距得到试验损失值,根据所述试验损失值调整所述可调数据直至所述成熟深度学习网络生成的试验结果与所述均衡结果一致,将所述可调数据设为动态指标;Calculate the preset adjustable data through the mature deep learning network to generate the test result, and calculate the difference between the test result and the preset equalization result to obtain the test loss value, and adjust the adjustable data according to the test loss value. Data until the test result generated by the mature deep learning network is consistent with the equilibrium result, and the adjustable data is set as a dynamic index;
监测移动端的性能指标并将其作为实时指标,根据所述动态指标对所述实时指标进行评价得到评价结果,根据所述评价结果向所述移动端发送报警信息。The performance index of the mobile terminal is monitored and taken as a real-time index, an evaluation result is obtained by evaluating the real-time index according to the dynamic index, and alarm information is sent to the mobile terminal according to the evaluation result.
为实现上述目的,本申请还提供一种性能监测评价装置,包括:In order to achieve the above purpose, the present application also provides a performance monitoring and evaluation device, comprising:
异常获取模块,用于根据移动端发送的异常信息获取所述移动端的性能数据,其中,所述性能数据反映了所述移动端在异常状态下的性能指标;an abnormality acquisition module, configured to acquire performance data of the mobile terminal according to the abnormality information sent by the mobile terminal, wherein the performance data reflects the performance index of the mobile terminal in an abnormal state;
网络训练模块,用于通过所述性能数据及预置的基准数据,训练预置的初始深度学习网络得到成熟深度学习网络,其中,所述基准数据反映了移动端在正常状态时的性能指标;a network training module for training a preset initial deep learning network to obtain a mature deep learning network through the performance data and preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state;
动态调节模块,用于通过所述成熟深度学习网络计算预置的可调数据生成试验结果,及计算所述试验结果与预置的均衡结果之间的差距得到试验损失值,根据所述试验损失值调整所述可调数据直至所述成熟深度学习网络生成的试验结果与所述均衡结果一致,将所述可调数据设为动态指标;The dynamic adjustment module is used to calculate the preset adjustable data through the mature deep learning network to generate the test result, and calculate the difference between the test result and the preset equalization result to obtain the test loss value, according to the test loss Adjust the adjustable data until the test result generated by the mature deep learning network is consistent with the equilibrium result, and set the adjustable data as a dynamic index;
监测报警模块,用于监测移动端的性能指标并将其作为实时指标,根据所述动态指标对所述实时指标进行评价得到评价结果,根据所述评价结果向所述移动端发送报警信息。The monitoring and alarming module is used to monitor the performance index of the mobile terminal and use it as a real-time index, evaluate the real-time index according to the dynamic index to obtain an evaluation result, and send alarm information to the mobile terminal according to the evaluation result.
为实现上述目的,本申请还提供一种计算机设备,其包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,所述计算机设备的处理器执行所述计算机程序时实现上述性能监测评价方法;In order to achieve the above object, the present application also provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, which is implemented when the processor of the computer device executes the computer program. The above performance monitoring and evaluation methods;
所述性能监测评价方法包括:The performance monitoring and evaluation method includes:
根据移动端发送的异常信息获取所述移动端的性能数据,其中,所述性能数据反映了所述移动端在异常状态下的性能指标;Obtain performance data of the mobile terminal according to the abnormal information sent by the mobile terminal, wherein the performance data reflects the performance index of the mobile terminal in an abnormal state;
通过所述性能数据及预置的基准数据,训练预置的初始深度学习网络得到成熟深度学习网络,其中,所述基准数据反映了移动端在正常状态时的性能指标;A mature deep learning network is obtained by training the preset initial deep learning network through the performance data and the preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state;
通过所述成熟深度学习网络计算预置的可调数据生成试验结果,及计算所述试验结果与预置的均衡结果之间的差距得到试验损失值,根据所述试验损失值调整所述可调数据直至所述成熟深度学习网络生成的试验结果与所述均衡结果一致,将所述可调数据设为动态指标;Calculate the preset adjustable data through the mature deep learning network to generate the test result, and calculate the difference between the test result and the preset equalization result to obtain the test loss value, and adjust the adjustable data according to the test loss value. Data until the test result generated by the mature deep learning network is consistent with the equilibrium result, and the adjustable data is set as a dynamic index;
监测移动端的性能指标并将其作为实时指标,根据所述动态指标对所述实时指标进行评价得到评价结果,根据所述评价结果向所述移动端发送报警信息。The performance index of the mobile terminal is monitored and taken as a real-time index, an evaluation result is obtained by evaluating the real-time index according to the dynamic index, and alarm information is sent to the mobile terminal according to the evaluation result.
为实现上述目的,本申请还提供一种计算机可读存储介质,所述可读存储介质上存储有计算机程序,所述可读存储介质存储的所述计算机程序被处理器执行时实现上述性能监测评价方法,所述性能监测评价方法包括:In order to achieve the above purpose, the present application also provides a computer-readable storage medium, where a computer program is stored on the readable storage medium, and the above-mentioned performance monitoring is implemented when the computer program stored in the readable storage medium is executed by a processor. Evaluation method, the performance monitoring evaluation method includes:
根据移动端发送的异常信息获取所述移动端的性能数据,其中,所述性能数据反映了所述移动端在异常状态下的性能指标;Obtain performance data of the mobile terminal according to the abnormal information sent by the mobile terminal, wherein the performance data reflects the performance index of the mobile terminal in an abnormal state;
通过所述性能数据及预置的基准数据,训练预置的初始深度学习网络得到成熟深度学习网络,其中,所述基准数据反映了移动端在正常状态时的性能指标;A mature deep learning network is obtained by training the preset initial deep learning network through the performance data and the preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state;
通过所述成熟深度学习网络计算预置的可调数据生成试验结果,及计算所述试验结果与预置的均衡结果之间的差距得到试验损失值,根据所述试验损失值调整所述可调数据直至所述成熟深度学习网络生成的试验结果与所述均衡结果一致,将所述可调数据设为动态指标;Calculate the preset adjustable data through the mature deep learning network to generate the test result, and calculate the difference between the test result and the preset equalization result to obtain the test loss value, and adjust the adjustable data according to the test loss value. Data until the test result generated by the mature deep learning network is consistent with the equilibrium result, and the adjustable data is set as a dynamic index;
监测移动端的性能指标并将其作为实时指标,根据所述动态指标对所述实时指标进行评价得到评价结果,根据所述评价结果向所述移动端发送报警信息。本申请提供的性能监测评价方法、装置、计算机设备及可读存储介质,通过移动端在正常状态和异常状态下的性能数据对初始神经网络进行训练,得到能够准确根据移动端的性能指标,判断移动端是处于正常状态还是异常状态的成熟深度学习网络,所述成熟深度学习网络通过调整可调数据生成动态指标。The performance index of the mobile terminal is monitored and taken as a real-time index, an evaluation result is obtained by evaluating the real-time index according to the dynamic index, and alarm information is sent to the mobile terminal according to the evaluation result. The performance monitoring and evaluation method, device, computer equipment and readable storage medium provided by this application train the initial neural network through the performance data of the mobile terminal in normal and abnormal states, and obtain the ability to accurately judge the mobile terminal according to the performance index of the mobile terminal. Whether the terminal is in a normal state or an abnormal state of a mature deep learning network, the mature deep learning network generates dynamic indicators by adjusting the adjustable data.
因此,基于所述成熟深度学习网络动态化的识别所述移动端介于所述正常状态和异常状态的临界点对应的可调数据,并将该可调数据设为动态指标,使得所述移动端无论是出现长期使用所导致的移动端性能下降的情况,还是更换了所述移动端的情况,该动态指标均能够正确的反映该移动端处于正常状态和异常状态临界点的性能指标,以实现准确的向移动端发送报警信息,保证了移动端监测评价的可靠性。Therefore, the adjustable data corresponding to the critical point between the normal state and the abnormal state of the mobile terminal is dynamically identified based on the mature deep learning network, and the adjustable data is set as a dynamic index, so that the mobile terminal is Whether the performance of the mobile terminal is degraded due to long-term use, or the mobile terminal is replaced, the dynamic index can correctly reflect the performance index of the mobile terminal at the critical point of normal state and abnormal state, so as to achieve Accurately send alarm information to the mobile terminal to ensure the reliability of mobile terminal monitoring and evaluation.
图1为本申请性能监测评价方法实施例一的流程图;Fig. 1 is the flow chart of the first embodiment of the performance monitoring and evaluation method of the present application;
图2为本申请性能监测评价方法实施例二中性能监测评价方法的环境应用示意图;Fig. 2 is the environmental application schematic diagram of the performance monitoring and evaluation method in the second embodiment of the performance monitoring and evaluation method of the application;
图3是本申请性能监测评价方法实施例二中性能监测评价方法的具体方法流程图;Fig. 3 is the specific method flow chart of the performance monitoring and evaluation method in the second embodiment of the performance monitoring and evaluation method of the present application;
图4为本申请性能监测评价装置实施例三的程序模块示意图;4 is a schematic diagram of a program module of Embodiment 3 of the performance monitoring and evaluation device of the present application;
图5为本申请计算机设备实施例四中计算机设备的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of a computer device in Embodiment 4 of the computer device of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
本申请提供的性能监测评价方法、装置、计算机设备及可读存储介质,适用于人工智能的智能决策技术领域,为提供一种基于异常获取模块、网络训练模块、动态调节模块、监测报警模块的性能监测评价方法。本申请通过根据移动端发送的异常信息获取移动端的性能数据;通过性能数据及基准数据,训练初始深度学习网络得到成熟深度学习网络;通过成熟深度学习网络计算可调数据生成试验结果,及计算试验结果与均衡结果之间的差距得到试验损失值,根据试验损失值调整可调数据直至成熟深度学习网络生成的试验结果与均衡结果一致,将可调数据设为动态指标;监测移动端的性能指标,并根据动态指标对性能指标进行评价得到评价结果,根据评价结果向移动端发送报警信息。The performance monitoring and evaluation method, device, computer equipment and readable storage medium provided by this application are suitable for the technical field of intelligent decision-making of artificial intelligence, and provide a method based on abnormal acquisition module, network training module, dynamic adjustment module and monitoring and alarm module. Performance monitoring and evaluation methods. This application obtains the performance data of the mobile terminal according to the abnormal information sent by the mobile terminal; trains the initial deep learning network to obtain a mature deep learning network through the performance data and benchmark data; The difference between the result and the equilibrium result is the test loss value, and the adjustable data is adjusted according to the test loss value until the test result generated by the mature deep learning network is consistent with the equilibrium result, and the adjustable data is set as a dynamic index; monitor the performance index of the mobile terminal, And evaluate the performance index according to the dynamic index to obtain the evaluation result, and send the alarm information to the mobile terminal according to the evaluation result.
实施例一:Example 1:
请参阅图1,本实施例的一种性能监测评价方法,用于对移动端的性能指标进行监测及评价,包括:Referring to FIG. 1, a performance monitoring and evaluation method of the present embodiment is used to monitor and evaluate the performance indicators of the mobile terminal, including:
S102:根据移动端发送的异常信息获取所述移动端的性能数据,其中,所述性能数据反映了所述移动端在异常状态下的性能指标。S102: Acquire performance data of the mobile terminal according to the abnormality information sent by the mobile terminal, wherein the performance data reflects the performance index of the mobile terminal in an abnormal state.
S106:通过所述性能数据及预置的基准数据,训练预置的初始深度学习网络得到成熟深度学习网络,其中,所述基准数据反映了移动端在正常状态时的性能指标。S106: Train a preset initial deep learning network to obtain a mature deep learning network by using the performance data and preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state.
S107:通过所述成熟深度学习网络计算预置的可调数据生成试验结果,及计算所述试验结果与预置的均衡结果之间的差距得到试验损失值,根据所述试验损失值调整所述可调数据直至所述成熟深度学习网络生成的试验结果与所述均衡结果一致,将所述可调数据设为动态指标。S107: Generate a test result by calculating preset adjustable data through the mature deep learning network, and calculate the difference between the test result and a preset equalization result to obtain a test loss value, and adjust the test loss value according to the test loss value Adjust the data until the test result generated by the mature deep learning network is consistent with the equilibrium result, and set the adjustable data as a dynamic index.
S109:监测移动端的性能指标并将其作为实时指标,根据所述动态指标对所述实时指标进行评价得到评价结果,根据所述评价结果向所述移动端发送报警信息。S109: Monitor the performance index of the mobile terminal and use it as a real-time index, evaluate the real-time index according to the dynamic index to obtain an evaluation result, and send alarm information to the mobile terminal according to the evaluation result.
于本实施例中,通过性能监控工具获取所述移动端的性能数据,并获取所述移动端的用户信息,所述性能监控工具是用于监控移动端性能的计算机程序,以获取移动端在异常状态下的性能数据。
In this embodiment, the performance data of the mobile terminal is obtained through a performance monitoring tool, and the user information of the mobile terminal is obtained. The performance monitoring tool is a computer program for monitoring the performance of the mobile terminal, so as to obtain the abnormal state of the mobile terminal. performance data below.
通过所述性能数据以及用于反应移动端在正常状态时的性能指标的基准数据,对初始神经网络进行训练,以得到能够准确根据移动端的性能指标,判断移动端是处于正常状态还是异常状态的成熟深度学习网络,以实现基于人工智能技术对移动端的正常状态和异常状态进行判断的目的。通过将可调数据录入所述成熟深度学习网络的输入层,调用所述成熟深度学习网络的隐藏层计算所述输入层的可调数据得到试验结果,并将所述试验结果输出至所述成熟深度学习网络的输出层;通过预置的试验损失函数及计算所述试验结果与预置的均衡结果之间的差距得到试验损失值,采用梯度下降法并根据所述试验损失值调整所述可调数据,直至所述成熟深度学习网络通过所述可调数据生成的试验结果与所述均衡结果为止,并将所述可调数据设为动态指标。因此,移动端的性能指标一旦超过该动态指标,即可认定为异常,极大的提升了移动端异常状态的判断效率,进而极大的降低了监测移动端性能指标,及判断在所述性能指标下移动端是否异常所消耗的算力,因此能够实现对大量移动端的性能指标进行监测和判断的技术效果。Based on the performance data and the benchmark data used to reflect the performance index of the mobile terminal in a normal state, the initial neural network is trained to obtain a mobile terminal that can accurately judge whether the mobile terminal is in a normal state or an abnormal state according to the performance index of the mobile terminal. Mature deep learning network to realize the purpose of judging the normal state and abnormal state of the mobile terminal based on artificial intelligence technology. By entering the adjustable data into the input layer of the mature deep learning network, calling the hidden layer of the mature deep learning network to calculate the adjustable data of the input layer to obtain the test results, and outputting the test results to the mature deep learning network The output layer of the deep learning network; the test loss value is obtained by the preset test loss function and the difference between the test result and the preset equalization result, and the gradient descent method is used to adjust the test loss value according to the test loss value. Adjust the data until the mature deep learning network generates the test result and the equilibrium result through the adjustable data, and set the adjustable data as a dynamic index. Therefore, once the performance index of the mobile terminal exceeds the dynamic index, it can be regarded as abnormal, which greatly improves the judgment efficiency of the abnormal state of the mobile terminal, and further greatly reduces the monitoring of the performance index of the mobile terminal, and the judgment of the performance index in the said performance index. It can realize the technical effect of monitoring and judging the performance indicators of a large number of mobile terminals.
同时,由于移动端的长期使用会导致移动端性能下降(例如硬件老化、硬盘存储数据过多、下载了大量的APP等情况),或用户更换移动端时,移动端进入到异常状态时的性能指标也将随之变化。因此,基于所述成熟深度学习网络动态化的识别所述移动端介于所述正常状态和异常状态的临界点对应的可调数据,并将该可调数据设为动态指标,使得所述移动端无论是出现长期使用所导致的移动端性能下降的情况,还是更换了所述移动端的情况,该动态指标均能够正确的反映该移动端处于正常状态和异常状态临界点的性能指标,以实现准确的向移动端发送报警信息,保证了移动端监测评价的可靠性。At the same time, due to the long-term use of the mobile terminal, the performance of the mobile terminal will be degraded (such as hardware aging, too much data stored on the hard disk, downloaded a large number of apps, etc.), or when the user replaces the mobile terminal, the performance index of the mobile terminal when it enters an abnormal state will also change accordingly. Therefore, the adjustable data corresponding to the critical point between the normal state and the abnormal state of the mobile terminal is dynamically identified based on the mature deep learning network, and the adjustable data is set as a dynamic index, so that the mobile terminal is Whether the performance of the mobile terminal is degraded due to long-term use, or the mobile terminal is replaced, the dynamic index can correctly reflect the performance index of the mobile terminal at the critical point of normal state and abnormal state, so as to achieve Accurately send alarm information to the mobile terminal to ensure the reliability of mobile terminal monitoring and evaluation.
通过性能监控工具监测移动端的性能指标,并获取与所述移动端的用户信息关联的动态指标,根据所述动态指标对所述性能指标进行评价得到评价结果,根据所述评价结果获知所述移动端是否可能会出现异常状态,并对可能会出现异常移动端发送报警信息,以实现对移动端的实时监测及评价,并对可能会出现异常状态的移动端进行实时报警的技术效果。The performance indicators of the mobile terminal are monitored by a performance monitoring tool, and dynamic indicators associated with the user information of the mobile terminal are obtained, the performance indicators are evaluated according to the dynamic indicators to obtain an evaluation result, and the mobile terminal is obtained according to the evaluation results. Whether there may be an abnormal state, and send alarm information to the mobile terminal that may be abnormal, so as to realize the real-time monitoring and evaluation of the mobile terminal, and the technical effect of real-time alarming the mobile terminal that may be in an abnormal state.
实施例二:Embodiment 2:
本实施例为上述实施例一的一种具体应用场景,通过本实施例,能够更加清楚、具体地阐述本申请所提供的方法。This embodiment is a specific application scenario of the above-mentioned Embodiment 1. Through this embodiment, the method provided in this application can be described more clearly and specifically.
下面,以在运行有性能监测评价方法的服务器中,对通过成熟深度学习网络对可调数据进行调节生成动态指标为例,来对本实施例提供的方法进行具体说明。需要说明的是,本实施例只是示例性的,并不限制本申请实施例所保护的范围。Hereinafter, the method provided by this embodiment will be specifically described by taking as an example that a mature deep learning network is used to adjust the adjustable data to generate a dynamic index in a server running the performance monitoring and evaluation method. It should be noted that this embodiment is only exemplary, and does not limit the protection scope of the embodiment of this application.
图2示意性示出了根据本申请实施例二的性能监测评价方法的环境应用示意图。FIG. 2 schematically shows a schematic diagram of an environmental application of the performance monitoring and evaluation method according to the second embodiment of the present application.
在示例性的实施例中,性能监测评价方法所在的服务器2通过网络3分别连接移动端4;所述服务器2可以通过一个或多个网络3提供服务,网络3可以包括各种网络设备,例如路由器,交换机,多路复用器,集线器,调制解调器,网桥,中继器,防火墙,代理设备和/或等等。网络3可以包括物理链路,例如同轴电缆链路,双绞线电缆链路,光纤链路,它们的组合和/或类似物。网络3可以包括无线链路,例如蜂窝链路,卫星链路,Wi-Fi链路和/或类似物;所述移动端4可为智能手机、平板电脑、笔记本电脑、台式电脑等计算机设备。In the exemplary embodiment, the server 2 where the performance monitoring and evaluation method is located is respectively connected to the mobile terminal 4 through the network 3; the server 2 may provide services through one or more networks 3, and the network 3 may include various network devices, such as Routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices and/or etc. The network 3 may include physical links such as coaxial cable links, twisted pair cable links, fiber optic links, combinations thereof, and/or the like. The network 3 may include wireless links, such as cellular links, satellite links, Wi-Fi links and/or the like; the mobile terminal 4 may be computer equipment such as smart phones, tablet computers, notebook computers, desktop computers, etc.
图3是本申请一个实施例提供的一种性能监测评价方法的具体方法流程图,该方法具体包括步骤S200至S209。FIG. 3 is a flowchart of a specific method of a performance monitoring and evaluation method provided by an embodiment of the present application, and the method specifically includes steps S200 to S209.
S200:创建用于监听移动端的异常信息的上传接口,并执行步骤S202;S200: Create an upload interface for monitoring abnormal information of the mobile terminal, and execute step S202;
为便于及时获知移动端在运行时出现的异常状态,以便于及时获取移动端在异常状态下的性能数据,本步骤通过创建上传接口以实时监听移动端上传的异常信息,用户可在移动端发生异常之时,向所述上传接口上传异常信息,以实现快速发现移动端的异常状态,以便于及时获取该异常状态下的性能数据;其中,所述异常信息是所述移动端判断其自身运行状态的处于异常状态,所发送的用于反映所述移动端当前处于异常状态的报文。In order to know the abnormal state of the mobile terminal during operation in time, so as to obtain the performance data of the mobile terminal in the abnormal state in time, this step creates an upload interface to monitor the abnormal information uploaded by the mobile terminal in real time. When abnormal, upload abnormal information to the upload interface, so as to realize the rapid discovery of the abnormal state of the mobile terminal, so as to obtain the performance data under the abnormal state in time; wherein, the abnormal information is the mobile terminal judging its own running state is in an abnormal state, and the sent message is used to reflect that the mobile terminal is currently in an abnormal state.
于本实施例中,通过在移动端上设置按键并将其与所述上传接口关联,所述按键对应的代理事件用于向所述上传接口发送异常信息,使用户仅需点击按键即可实现异常信息的发送,实现了一键异常反馈的效果。In this embodiment, by setting a button on the mobile terminal and associating it with the upload interface, the proxy event corresponding to the button is used to send abnormal information to the upload interface, so that the user only needs to click the button. The sending of abnormal information realizes the effect of one-click abnormal feedback.
S201:向移动端发送状态请求,并接收所述移动端根据所述状态请求发送的状态信息;判断所述状态信息中是否具有异常标签;若是,则判定所述状态信息为异常信息,并执行S202;若否,则结束。S201: Send a status request to a mobile terminal, and receive status information sent by the mobile terminal according to the status request; determine whether the status information has an abnormal tag; if so, determine that the status information is abnormal information, and execute S202; if not, end.
为能够更多的发现移动端出现异常状态的情况,本步骤通过向移动端发送状态请求,并接收移动端根据状态请求发送的状态信息;于本实施例中,通过向移动端发送具有异常按钮的弹框以作为状态请求,移动端通过点击所述异常按钮以生成具有异常标签的状态信息;如果当前移动端的状态为正常,移动端将会通过点击所述弹框中的正常按钮发送具有正常标签的状态信息,或通过点击所述弹框中的关闭按钮发送具有取消标签的状态信息。所述异常信息是用户主动判断所述移动端当前处于异常状态,所发送的用于反映所述移动端当前处于异常状态的报文。In order to be able to find out more situations where the mobile terminal has an abnormal state, this step sends a status request to the mobile terminal, and receives the status information sent by the mobile terminal according to the status request; The pop-up box is used as a status request, and the mobile terminal generates status information with an abnormal label by clicking the abnormal button; if the current state of the mobile terminal is normal, the mobile terminal will click the normal button in the pop-up box to send a message with normal status. The status information of the tag, or the status information with the cancellation tag is sent by clicking the close button in the pop-up box. The abnormal information is a message sent by the user to determine that the mobile terminal is currently in an abnormal state, and is used to reflect that the mobile terminal is currently in an abnormal state.
S202:根据移动端发送的异常信息获取所述移动端的性能数据,其中,所述性能数据反映了所述移动端在异常状态下的性能指标。S202: Acquire performance data of the mobile terminal according to the abnormality information sent by the mobile terminal, wherein the performance data reflects the performance index of the mobile terminal in an abnormal state.
为获取移动端在异常状态下的性能数据,并将移动端与该性能数据能够相互对应, 本步骤通过性能监控工具获取所述移动端的性能数据,并获取所述移动端的用户信息,所述性能监控工具是用于监控移动端性能的计算机程序,例如:PerfDog 、MobilePerformance Soloπ、Testin等。所述性能数据是指反应移动端在异常状态时的性能指标,例如:CPU使用率、使用内存、耗电量等。In order to obtain the performance data of the mobile terminal in an abnormal state, and to make the mobile terminal and the performance data correspond to each other, in this step, the performance data of the mobile terminal is obtained through a performance monitoring tool, and the user information of the mobile terminal is obtained. Monitoring tools are computer programs used to monitor mobile performance, such as PerfDog, MobilePerformance Soloπ, Testin, etc. The performance data refers to performance indicators that reflect the abnormal state of the mobile terminal, such as CPU usage, memory usage, power consumption, and the like.
S203:获取所述移动端的用户信息,将所述性能数据与所述用户信息关联并保存。S203: Acquire user information of the mobile terminal, associate and save the performance data with the user information.
本步骤中,所述用户信息是作为对使用移动端的用户身份进行标记的数据信息,例如:用户在所述移动端上的登陆账号,用户的手机号等。基于key-value键值对技术,将所述用户信息作为主键并将所述性能数据作为键值构建成为键值对,实现所述性能数据与所述用户信息的关联,将所述性能数据和用户信息发送至预置的异常数据库中保存。In this step, the user information is used as data information for marking the user identity using the mobile terminal, for example: the user's login account on the mobile terminal, the user's mobile phone number, and the like. Based on the key-value key-value pair technology, the user information is used as a primary key and the performance data is used as a key value to construct a key-value pair, so as to realize the association between the performance data and the user information, and combine the performance data with the user information. User information is sent to the preset exception database for preservation.
S204:调用异常数据库汇总属于同一用户信息的性能数据形成性能集合,删除性能集合中超过预设的时间期限的性能数据。S204: Call the exception database to aggregate performance data belonging to the same user information to form a performance set, and delete performance data that exceeds a preset time limit in the performance set.
由于随着移动端的长期使用会导致移动端性能下降,或用户更换移动端导致用户信息对应的性能数据不再与所述更换的移动端匹配等情况,本步骤在调用异常数据库汇总属于同一用户信息的性能数据形成性能集合之后,删除性能集合中超过预设的时间期限的性能数据,以避免较长时期之前的性能数据对当前判断移动端的动态指标造成影响。Since the performance of the mobile terminal will be degraded with the long-term use of the mobile terminal, or the user changes the mobile terminal, the performance data corresponding to the user information will no longer match the replaced mobile terminal. After a performance set is formed from the performance data obtained from the set, the performance data that exceeds the preset time limit in the performance set is deleted, so as to avoid the impact of the performance data before a long period on the dynamic indicators currently judging the mobile terminal.
于本实施例中,所述删除性能集合中超过预设的时间期限的性能数据的步骤,包括:In this embodiment, the step of deleting performance data that exceeds a preset time limit in the performance set includes:
S41:提取当前时间,其中,所述当前时间为反映当前日期的数据信息。S41: Extract the current time, where the current time is data information reflecting the current date.
S42:将所述当前时间与所述时间期限相减得到截止期限。S42: Subtract the current time and the time limit to obtain a deadline.
本步骤中,所述时间期限可以日、月、年为计。示例性地,若当前时间为2020/3/1,时间期限为2个月,那么截止期限则为2020/1/1。In this step, the time limit can be counted as day, month and year. Exemplarily, if the current time is 2020/3/1 and the time limit is 2 months, then the deadline is 2020/1/1.
S43:删除性能集合中日期早于所述截止期限的性能数据。S43: Delete performance data whose date is earlier than the deadline in the performance collection.
本步骤中,性能集合中的性能数据具有时间戳,该时间戳反映了获取所述性能数据的时间,识别性能集合中各性能数据的时间戳,并删除日期早于所述截止期限的时间戳所对应的性能数据。In this step, the performance data in the performance set has a time stamp, and the time stamp reflects the time when the performance data is acquired, the time stamp of each performance data in the performance set is identified, and the time stamp with a date earlier than the deadline is deleted. corresponding performance data.
S205:计算异常数据库内性能集合中性能数据的数量,判断所述性能数据的数量是否达到预置的训练阈值;若是,提取所述性能集合中的性能数据,并执行S206;若否,则结束。S205: Calculate the number of performance data in the performance set in the abnormal database, and determine whether the number of performance data reaches a preset training threshold; if so, extract the performance data in the performance set, and execute S206; if not, end .
为避免少量的性能数据无法使深度学习网络,稳定准确的判断出动态指标的情况发生,本步骤通过计算异常数据库内性能集合中性能数据的数量,并判断所述性能数据的数量是否达到训练阈值;如果性能数据的数量达到了训练阈值方可对深度学习网络进行训练;若未达到训练阈值,则结束直至所述性能数据的数量达到训练阈值为止。In order to avoid the situation that a small amount of performance data cannot make the deep learning network stably and accurately determine the dynamic indicators, this step calculates the number of performance data in the performance set in the abnormal database, and determines whether the number of performance data reaches the training threshold. ; If the quantity of performance data reaches the training threshold, the deep learning network can be trained; if the quantity of performance data does not reach the training threshold, end until the quantity of the performance data reaches the training threshold.
于图3中,所述S205采用以下标注展示:In FIG. 3, the S205 is shown with the following labels:
S51:计算异常数据库内性能集合中性能数据的数量,判断所述性能数据的数量是否达到预置的训练阈值;S51: Calculate the quantity of performance data in the performance set in the abnormal database, and determine whether the quantity of the performance data reaches a preset training threshold;
S52:若是,提取所述性能集合中的性能数据,并执行S206;S52: If yes, extract the performance data in the performance set, and execute S206;
S53:若否,则结束。S53: If no, end.
S206:通过所述性能数据及预置的基准数据,训练预置的初始深度学习网络得到成熟深度学习网络,其中,所述基准数据反映了移动端在正常状态时的性能指标。S206: Train a preset initial deep learning network to obtain a mature deep learning network by using the performance data and preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state.
为实现基于人工智能技术对移动端的正常状态和异常状态进行判断的目的,本步骤通过所述性能数据以及用于反应移动端在正常状态时的性能指标的基准数据,对初始神经网络进行训练,以得到能够准确根据移动端的性能指标,判断移动端是处于正常状态还是异常状态的成熟深度学习网络。In order to realize the purpose of judging the normal state and abnormal state of the mobile terminal based on artificial intelligence technology, in this step, the initial neural network is trained by the performance data and the benchmark data used to reflect the performance index of the mobile terminal in the normal state, In order to obtain a mature deep learning network that can accurately judge whether the mobile terminal is in a normal state or an abnormal state according to the performance indicators of the mobile terminal.
在一个优选的实施例中,所述通过所述性能数据及预置的基准数据,训练预置的初始深度学习网络得到成熟深度学习网络的步骤,包括:In a preferred embodiment, the step of training a preset initial deep learning network to obtain a mature deep learning network by using the performance data and preset benchmark data includes:
S61:获取基准数据;S61: obtain benchmark data;
S62:根据所述基准数据和性能数据中的子数据项,构建所述初始深度学习网络中输入层的神经元;将所述基准数据中各子数据项对应的数据录入所述输入层中对应的神经元内,将所述性能数据中各子数据项对应的数据录入所述输入层中对应的神经元内;S62: According to the sub-data items in the benchmark data and the performance data, construct the neurons of the input layer in the initial deep learning network; enter the data corresponding to each sub-data item in the benchmark data into the corresponding input layer In the neuron, the data corresponding to each sub-data item in the performance data is entered into the corresponding neuron in the input layer;
本步骤中,所述子数据项是基准数据和性能数据中子数据的元数据,所述子数据是构成基准数据和性能数据的最小数据单元;例如:性能数据为CPU使用率:35%,使用内存:550M,耗电量0.26mAh/s;该性能数据的子数据包括:CPU使用率:35%,使用内存:550M,耗电量0.26mAh/s;该性能数据的子数据项包括:CPU使用率、使用内存、耗电量。基准数据为:CPU使用率:1%,使用内存:10M,耗电量0.01mAh/s;该基准数据的子数据包括:CPU使用率:1%,使用内存:10M,耗电量0.01mAh/s;该基准数据的子数据项包括:CPU使用率、使用内存、耗电量。In this step, the sub-data item is the metadata of the sub-data in the benchmark data and the performance data, and the sub-data is the smallest data unit that constitutes the benchmark data and the performance data; for example, the performance data is CPU usage: 35%, Use memory: 550M, power consumption 0.26mAh/s; sub-data items of this performance data include: CPU usage: 35%, used memory: 550M, power consumption 0.26mAh/s; sub-data items of this performance data include: CPU usage, memory usage, power consumption. The benchmark data is: CPU usage: 1%, memory usage: 10M, power consumption 0.01mAh/s; sub-data of this benchmark data include: CPU usage rate: 1%, memory usage: 10M, power consumption 0.01mAh/s s; the sub-data items of the benchmark data include: CPU usage, memory usage, and power consumption.
S63:调用所述初始深度学习网络的隐藏层,获取所述输入层的输入向量并对其进行运算得到输出向量,并将所述输出向量输出至所述初始深度学习网络的输出层。S63: Invoke the hidden layer of the initial deep learning network, obtain the input vector of the input layer and perform operations on it to obtain an output vector, and output the output vector to the output layer of the initial deep learning network.
本步骤中,所述输出层包括正常神经元和异常神经元In this step, the output layer includes normal neurons and abnormal neurons
其中,正常神经元用于表达移动端处于正常状态的概率,异常神经元用于表达移动端处于异常状态的概率。Among them, the normal neuron is used to express the probability that the mobile terminal is in a normal state, and the abnormal neuron is used to express the probability that the mobile terminal is in an abnormal state.
进一步地,同时通过基准数据和性能数据对初始深度学习网络进行训练,其目的在于,避免仅通过基准数据或性能数据对初始深度学习网络进行训练,导致获得的成熟深度学习网络仅能够判断出,移动端是否处于正常状态,或是否处于异常状态,而无法同时对正常状态和异常状态进行判定的情况发生,因此,有助于获得移动端处于正常状态和异常状态时的临界点。Further, the initial deep learning network is trained by the benchmark data and performance data at the same time, the purpose is to avoid training the initial deep learning network only by the benchmark data or performance data, resulting in the obtained mature deep learning network can only judge, Whether the mobile terminal is in a normal state or whether it is in an abnormal state occurs, and it is impossible to determine the normal state and the abnormal state at the same time. Therefore, it is helpful to obtain the critical point when the mobile terminal is in a normal state and an abnormal state.
S64:通过预置的训练损失函数计算所述输出层的输出向量,与所述性能数据对应的异常信息之间的差距并得到训练损失值。S64: Calculate the difference between the output vector of the output layer and the abnormal information corresponding to the performance data by using a preset training loss function, and obtain a training loss value.
S65:通过反向传播算法并根据所述训练损失值调整所述隐藏层的权重和偏执值,直至所述训练损失值小于预置的训练损失阈值,得到成熟深度学习网络。S65: Adjust the weight and paranoia value of the hidden layer through the back-propagation algorithm and according to the training loss value until the training loss value is less than a preset training loss threshold to obtain a mature deep learning network.
需要说明的是,采用BP (Back
Propagation)神经网络作为所述初始深度学习网络,BP网络(Back Propagation),是一种按误差逆传播算法训练的多层前馈网络,是目前应用最广泛的神经网络模型之一。BP网络能学习和存贮大量的输入-输出模式映射关系,而无需事前揭示描述这种映射关系的数学方程。It should be noted that using BP (Back
Propagation) neural network as the initial deep learning network, BP network (Back Propagation), is a multi-layer feedforward network trained according to the error back propagation algorithm, and is one of the most widely used neural network models at present. BP network can learn and store a large number of input-output pattern mapping relationships without revealing the mathematical equations describing this mapping relationship in advance.
所述损失函数是是用来衡量人工神经网络(ANN)的预测值与实际值的一种方式。其用于对深度学习网络的训练,使该深度学习网络的预测值接近甚至符合所述实际值。The loss function is a way to measure the predicted and actual values of an artificial neural network (ANN). It is used for training the deep learning network, so that the predicted value of the deep learning network is close to or even in line with the actual value.
所述反向传播法是指是一种监督学习算法,常被用来训练多层感知机,用于训练前向神经网络。所述反向传播算法(BP算法)主要由两个环节(激励传播、权重更新)反复循环迭代,直到网络的对输入的响应达到预定的目标范围为止。The back-propagation method refers to a supervised learning algorithm, which is often used to train a multilayer perceptron and a forward neural network. The back-propagation algorithm (BP algorithm) mainly consists of two links (excitation propagation, weight update) iterating repeatedly until the network's response to the input reaches a predetermined target range.
S207:通过所述成熟深度学习网络计算预置的可调数据生成试验结果,及计算所述试验结果与预置的均衡结果之间的差距得到试验损失值,根据所述试验损失值调整所述可调数据直至所述成熟深度学习网络生成的试验结果与所述均衡结果一致,将所述可调数据设为动态指标。S207: Generate a test result by calculating preset adjustable data through the mature deep learning network, and calculate the difference between the test result and the preset equalization result to obtain a test loss value, and adjust the test loss value according to the test loss value Adjust the data until the test result generated by the mature deep learning network is consistent with the equilibrium result, and set the adjustable data as a dynamic index.
如果利用成熟深度学习网络实时的监测移动端的性能指标,则会消耗掉服务器很大一部分算力,而如果对大量的移动端的性能指标进行监测,则更加无法实现;本步骤中,将预置的可调数据录入所述成熟深度学习网络的输入层,调用所述成熟深度学习网络的隐藏层计算所述输入层的可调数据得到试验结果,并将所述试验结果输出至所述成熟深度学习网络的输出层;通过预置的试验损失函数及计算所述试验结果与预置的均衡结果之间的差距得到试验损失值,采用梯度下降法并根据所述试验损失值调整所述可调数据,直至所述成熟深度学习网络通过所述可调数据生成的试验结果与所述均衡结果为止,并将所述可调数据设为动态指标。其中,所述均衡结果反映了介于正常状态和异常状态的临界结果,例如:输出层的正常概率值为0.5,异常概率值为0.5。于本实施例中,所述可调数据和所述性能数据的元数据一一对应,且,所述可调数据中各元数据所对应的数值可被调节的数据集合,其包括有CPU使用率,使用内存,耗电量,例如:可调数据包括:CPU使用率:X%,使用内存:YM,耗电量ZAh/s;其中,X,Y,Z可为任一实数。进一步地,所述试验结果是所述成熟深度学习网络计算所述可调数据所生成的数据集合,所述试验结果和所述试验结果的元数据一一对应,其包括有正常概率值和异常概率值,例如,可调数据为CPU使用率:35%,使用内存:550M,耗电量0.26mAh/s;其获得的试验结果是正常概率值0.2,异常概率值0.8。If a mature deep learning network is used to monitor the performance indicators of the mobile terminal in real time, a large part of the computing power of the server will be consumed, and if a large number of performance indicators of the mobile terminal are monitored, it is even more impossible to achieve; in this step, the preset Adjustable data is entered into the input layer of the mature deep learning network, and the hidden layer of the mature deep learning network is called to calculate the adjustable data of the input layer to obtain test results, and the test results are output to the mature deep learning network The output layer of the network; the test loss value is obtained by the preset test loss function and the difference between the test result and the preset equalization result, and the adjustable data is adjusted according to the test loss value by using the gradient descent method , until the mature deep learning network generates the test result and the equilibrium result through the adjustable data, and sets the adjustable data as a dynamic index. The equilibrium result reflects a critical result between a normal state and an abnormal state, for example, the normal probability value of the output layer is 0.5, and the abnormal probability value is 0.5. In this embodiment, the adjustable data and the metadata of the performance data are in one-to-one correspondence, and the data set in which the value corresponding to each metadata in the adjustable data can be adjusted includes CPU usage. Rate, memory usage, power consumption, for example: adjustable data include: CPU usage: X%, memory usage: YM, power consumption ZAh/s; where X, Y, Z can be any real number. Further, the test result is a data set generated by the mature deep learning network calculating the adjustable data, and the test result is in one-to-one correspondence with the metadata of the test result, which includes normal probability values and abnormal values. The probability value, for example, the adjustable data is CPU usage: 35%, memory usage: 550M, power consumption 0.26mAh/s; the obtained test results are the normal probability value of 0.2 and the abnormal probability value of 0.8.
因此,通过获得能够被成熟深度学习网络判定为介于正常状态和异常状态临界点(即所述均衡结果)的动态指标,因此,移动端的性能指标一旦超过该动态指标,即可认定为异常,极大的提升了移动端异常状态的判断效率,进而极大的降低了监测移动端性能指标,及判断在所述性能指标下移动端是否异常所消耗的算力,因此能够实现对大量移动端的性能指标进行监测和判断的技术效果。Therefore, by obtaining a dynamic index that can be determined by a mature deep learning network as a critical point between a normal state and an abnormal state (ie, the equilibrium result), therefore, once the performance index of the mobile terminal exceeds the dynamic index, it can be identified as abnormal, The efficiency of judging the abnormal state of the mobile terminal is greatly improved, which in turn greatly reduces the computing power consumed by monitoring the performance indicators of the mobile terminal and judging whether the mobile terminal is abnormal under the performance indicators. Performance indicators to monitor and judge the technical effect.
同时,由于移动端的长期使用会导致移动端性能下降(例如硬件老化、硬盘存储数据过多、下载了大量的APP等情况),或用户更换移动端时,移动端进入到异常状态时的性能指标也将随之变化。因此,基于所述成熟深度学习网络动态化的识别所述移动端介于所述正常状态和异常状态的临界点对应的可调数据,并将该可调数据设为动态指标,使得所述移动端无论是出现长期使用所导致的移动端性能下降的情况,还是更换了所述移动端的情况,该动态指标均能够正确的反映该移动端处于正常状态和异常状态临界点的性能指标,以实现准确的向移动端发送报警信息,保证了移动端监测评价的可靠性。At the same time, due to the long-term use of the mobile terminal, the performance of the mobile terminal will be degraded (such as hardware aging, too much data stored on the hard disk, downloaded a large number of apps, etc.), or when the user replaces the mobile terminal, the performance index of the mobile terminal when it enters an abnormal state will also change accordingly. Therefore, the adjustable data corresponding to the critical point between the normal state and the abnormal state of the mobile terminal is dynamically identified based on the mature deep learning network, and the adjustable data is set as a dynamic index, so that the mobile terminal is Whether the performance of the mobile terminal is degraded due to long-term use, or the mobile terminal is replaced, the dynamic index can correctly reflect the performance index of the mobile terminal at the critical point of normal state and abnormal state, so as to achieve Accurately send alarm information to the mobile terminal to ensure the reliability of mobile terminal monitoring and evaluation.
需要说明的是,所述梯度下降法(Gradient
Descent)是一种在机器学习中常用的优化器(optimizer),其用于根据可调数据来预测成熟深度学习网络的试验结果,并根据所述试验结果来优化调节作为输入层的所述可调数据,最终使该试验结果与均衡结果。基于上述举例,如果可调数据为CPU使用率:35%,使用内存:550M,耗电量0.26mAh/s;其获得的试验结果是正常概率值0.2,异常概率值0.8;么所述正常概率值0.2相较于均衡结果的正常概率在0.5低0.3,而所述异常概率值0.8相较于均衡结果的异常概率值0.5高0.3,因此,需要降低可调数据中的CPU使用率和/或使用内存和/或耗电量的值,以提高所述试验结果的正常概率值,并降低所述试验结果的异常概率值,直至所述试验结果的值与均衡结果的值一致。It should be noted that the gradient descent method (Gradient
Descent) is an optimizer commonly used in machine learning, which is used to predict the experimental results of mature deep learning networks according to adjustable data, and optimally adjust the adjustable as an input layer according to the experimental results. Adjust the data, and finally match the test results with the equilibrium results. Based on the above example, if the adjustable data is CPU usage: 35%, memory used: 550M, and power consumption 0.26mAh/s; the test results obtained are the normal probability value of 0.2 and the abnormal probability value of 0.8; then the normal probability value is 0.8. The value of 0.2 is 0.3 lower than the normal probability of the balanced result at 0.5, and the abnormal probability value of 0.8 is 0.3 higher than the abnormal probability value of 0.5 of the balanced result, so it is necessary to reduce the CPU usage in the tunable data and/or The values of memory and/or power consumption are used to increase the normal probability value of the test result and decrease the abnormal probability value of the test result until the value of the test result agrees with the value of the equilibrium result.
S208:将所述动态指标与所述移动端的用户信息关联并保存。S208: Associate and save the dynamic indicator with the user information of the mobile terminal.
为保证动态指标能够在较长时间内能够被重复调用,并且保证动态指标能够准确的对应相应的移动端;本步骤通过将动态指标与用户信息关联,保证具有该用户信息的用户能够准确的调用相应的动态指标,以对其使用的移动端的性能指标进行评价,保证了动态指标评价的指向性和准确度,将关联的动态指标和用户信息发送至预置的指标服务器,使得动态指标能够在较长的时间内被重复使用,保证了移动端的性能指标监测的可靠性。In order to ensure that the dynamic index can be repeatedly called in a long time, and to ensure that the dynamic index can accurately correspond to the corresponding mobile terminal; this step ensures that the user with the user information can accurately call by associating the dynamic index with the user information. Corresponding dynamic indicators are used to evaluate the performance indicators of the mobile terminal used, which ensures the directivity and accuracy of dynamic indicators evaluation, and sends the associated dynamic indicators and user information to the preset indicator server, so that the dynamic indicators can be It is reused for a long time to ensure the reliability of the performance index monitoring of the mobile terminal.
于本实施例中,采用key-value键值对技术使所述动态指标和所述用户信息关联,其中,将所述用户信息作为主键,并将所述动态指标作为键值,以形成相互关联的键值对。In this embodiment, the key-value key-value pair technology is used to associate the dynamic indicator with the user information, wherein the user information is used as the primary key and the dynamic indicator is used as the key value to form a mutual association. key-value pair.
可选的,所述将所述动态指标与所述移动端的用户信息关联并保存之后,所述方法还包括:Optionally, after associating and saving the dynamic indicator with the user information of the mobile terminal, the method further includes:
将所述动态指标和所述用户信息上传至区块链中。Upload the dynamic indicator and the user information to the blockchain.
需要说明的是,基于动态指标和用户信息得到对应的摘要信息,具体来说,摘要信息由动态指标和用户信息进行散列处理得到,比如利用sha256s算法处理得到。将摘要信息上传至区块链可保证其安全性和对用户的公正透明性。用户设备可以从区块链中下载得该摘要信息,以便查证动态指标和用户信息是否被篡改。本示例所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。It should be noted that the corresponding summary information is obtained based on the dynamic index and the user information. Specifically, the summary information is obtained by hashing the dynamic index and the user information, for example, by using the sha256s algorithm. Uploading summary information to the blockchain ensures its security and fairness and transparency to users. User equipment can download the summary information from the blockchain to verify whether dynamic indicators and user information have been tampered with. The blockchain referred to in this example is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify its Validity of information (anti-counterfeiting) and generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
S209:监测移动端的性能指标并将其作为实时指标,根据所述动态指标对所述实时指标进行评价得到评价结果,根据所述评价结果向所述移动端发送报警信息。S209: Monitor the performance index of the mobile terminal and use it as a real-time index, evaluate the real-time index according to the dynamic index to obtain an evaluation result, and send alarm information to the mobile terminal according to the evaluation result.
为实现对移动端的性能指标进行实时监测及评价,并实时的对可能会出现异常状态的移动端发送报警信息,本步骤通过性能监控工具监测移动端的性能指标,并获取与所述移动端的用户信息关联的动态指标,根据所述动态指标对所述性能指标进行评价得到评价结果,根据所述评价结果获知所述移动端是否可能会出现异常状态,并对可能会出现异常移动端发送报警信息,以实现对移动端的实时监测及评价,并对可能会出现异常状态的移动端进行实时报警的技术效果。In order to monitor and evaluate the performance indicators of the mobile terminal in real time, and send alarm information to the mobile terminal that may be in an abnormal state in real time, in this step, the performance indicators of the mobile terminal are monitored by a performance monitoring tool, and user information related to the mobile terminal is obtained. The associated dynamic index, the performance index is evaluated according to the dynamic index to obtain an evaluation result, and according to the evaluation result, it is known whether the mobile terminal may be in an abnormal state, and an alarm message may be sent to the mobile terminal that may be abnormal, In order to realize the technical effect of real-time monitoring and evaluation of the mobile terminal, and real-time alarm to the mobile terminal that may appear abnormal state.
在一个优选的实施例中,所述监测移动端的性能指标,并根据所述动态指标对所述性能指标进行评价得到评价结果,根据所述评价结果向所述移动端发送报警信息的步骤,包括:In a preferred embodiment, the monitoring of the performance index of the mobile terminal, and evaluating the performance index according to the dynamic index to obtain an evaluation result, and the step of sending alarm information to the mobile terminal according to the evaluation result includes the following steps: :
S91:监测移动端的性能指标并将其作为实时指标,及获取所述移动端的用户信息并提取与所述用户信息关联的动态指标。S91: Monitor the performance indicators of the mobile terminal and use them as real-time indicators, and acquire user information of the mobile terminal and extract dynamic indicators associated with the user information.
本步骤中,采用所述性能监控工具监测移动端的性能指标,及获取移动端的用户信息,调用指标服务器获取与所述用户信息关联的动态指标。In this step, the performance monitoring tool is used to monitor the performance indicators of the mobile terminal, and user information of the mobile terminal is acquired, and an indicator server is invoked to acquire dynamic indicators associated with the user information.
S92:将值超过所述动态指标的实时指标设为异常指标,并将所述异常指标的数量设为评价结果。本步骤中,将性能指标与动态指标进行比对,识别值超过所述动态指标的性能指标并将所述性能指标设为异常指标;计算所述异常指标的数量,并将该数量设为评价结果。S92: Set the real-time index whose value exceeds the dynamic index as an abnormal index, and set the number of the abnormal index as an evaluation result. In this step, the performance index is compared with the dynamic index, the performance index whose value exceeds the dynamic index is identified, and the performance index is set as the abnormal index; the number of the abnormal index is calculated, and the number is set as the evaluation result.
示例性地,假设移动端A的用户信息关联的动态指标包括:CPU:30%,功耗:0.238mAh/s,内存:500M;Exemplarily, it is assumed that the dynamic indicators associated with the user information of the mobile terminal A include: CPU: 30%, power consumption: 0.238mAh/s, memory: 500M;
监测移动端A所获得的性能指标包括:CPU:35%,功耗:0.26mAh/s,内存:550M;那么,由于设备CPU:35% > CPU阈值30%;设备耗电0.26mAh/s > 耗电阈值0.238mAh/s;设备内存550M > 内存阈值500M。因此,获得的评价结果为3。The performance indicators obtained by monitoring mobile terminal A include: CPU: 35%, power consumption: 0.26mAh/s, memory: 550M; then, since the device CPU: 35% > CPU threshold 30%; the device power consumption 0.26mAh/s > The power consumption threshold is 0.238mAh/s; the device memory 550M > the memory threshold 500M. Therefore, an evaluation result of 3 was obtained.
S93:判断所述评价结果是否超过预置的异常阈值;S93: Determine whether the evaluation result exceeds a preset abnormal threshold;
S94:若是,则向所述移动端发送报警信息;S94: if yes, send alarm information to the mobile terminal;
S95:若否,则结束。S95: If no, end.
示例性地,假设异常阈值为2,基于上述举例,得到的评价结果为3,则判定该移动端可能会出现或已经出现异常状态,因此,向所述移动端发送报警信息。Exemplarily, assuming that the abnormality threshold is 2, and based on the above example, the obtained evaluation result is 3, it is determined that the mobile terminal may appear or has experienced an abnormal state, and therefore, alarm information is sent to the mobile terminal.
实施例三:Embodiment three:
请参阅图4,本实施例的一种性能监测评价装置1,包括:Please refer to FIG. 4 , a performance monitoring and evaluation device 1 of this embodiment includes:
异常获取模块12,用于根据移动端发送的异常信息获取所述移动端的性能数据,其中,所述性能数据反映了所述移动端在异常状态下的性能指标;An abnormality acquisition module 12, configured to acquire performance data of the mobile terminal according to the abnormality information sent by the mobile terminal, wherein the performance data reflects the performance index of the mobile terminal in an abnormal state;
网络训练模块16,用于通过所述性能数据及预置的基准数据,训练预置的初始深度学习网络得到成熟深度学习网络,其中,所述基准数据反映了移动端在正常状态时的性能指标;The network training module 16 is used for training the preset initial deep learning network to obtain a mature deep learning network through the performance data and the preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state ;
动态调节模块17,用于通过所述成熟深度学习网络计算预置的可调数据生成试验结果,及计算所述试验结果与预置的均衡结果之间的差距得到试验损失值,根据所述试验损失值调整所述可调数据直至所述成熟深度学习网络生成的试验结果与所述均衡结果一致,将所述可调数据设为动态指标;The dynamic adjustment module 17 is configured to calculate the preset adjustable data through the mature deep learning network to generate the test result, and calculate the difference between the test result and the preset equalization result to obtain the test loss value, according to the test The loss value is adjusted to the adjustable data until the test result generated by the mature deep learning network is consistent with the equilibrium result, and the adjustable data is set as a dynamic index;
监测报警模块19,用于监测移动端的性能指标并将其作为实时指标,根据所述动态指标对所述实时指标进行评价得到评价结果,根据所述评价结果向所述移动端发送报警信息。The monitoring and alarming module 19 is used to monitor the performance index of the mobile terminal and use it as a real-time index, evaluate the real-time index according to the dynamic index to obtain an evaluation result, and send alarm information to the mobile terminal according to the evaluation result.
可选的,所述性能监测评价装置1还包括:Optionally, the performance monitoring and evaluation device 1 further includes:
创建模块10,用于创建用于监听移动端的异常信息的上传接口,并调用异常获取模块12;The creation module 10 is used to create an upload interface for monitoring the abnormal information of the mobile terminal, and call the abnormal acquisition module 12;
可选的,所述性能监测评价装置1还包括:Optionally, the performance monitoring and evaluation device 1 further includes:
信息请求模块11,用于向移动端发送状态请求,并接收所述移动端根据所述状态请求发送的状态信息;判断所述状态信息中是否具有异常标签;若是,则判定所述状态信息为异常信息,并调用异常获取模块12;若否,则结束。The information request module 11 is used for sending a status request to the mobile terminal, and receiving the status information sent by the mobile terminal according to the status request; judging whether the status information has an abnormal label; if yes, then judging that the status information is exception information, and call the exception acquisition module 12; if not, end.
可选的,所述性能监测评价装置1还包括:Optionally, the performance monitoring and evaluation device 1 further includes:
信息关联模块13,用于获取所述移动端的用户信息,将所述性能数据与所述用户信息关联并保存。The information association module 13 is configured to acquire user information of the mobile terminal, and associate and save the performance data with the user information.
可选的,所述性能监测评价装置1还包括:Optionally, the performance monitoring and evaluation device 1 further includes:
信息删除模块14,用于调用异常数据库汇总属于同一用户信息的性能数据形成性能集合,删除性能集合中超过预设的时间期限的性能数据。The information deletion module 14 is configured to call the exception database to aggregate performance data belonging to the same user information to form a performance set, and delete performance data exceeding a preset time limit in the performance set.
可选的,所述性能监测评价装置1还包括:Optionally, the performance monitoring and evaluation device 1 further includes:
训练触发模块15,用于计算异常数据库内性能集合中性能数据的数量,判断所述性能数据的数量是否达到预置的训练阈值;若是,提取所述性能集合中的性能数据,并调用网络训练模块16,;若否,则结束。The training trigger module 15 is used to calculate the quantity of performance data in the performance set in the abnormal database, and judge whether the quantity of the performance data reaches a preset training threshold; if so, extract the performance data in the performance set, and invoke network training Module 16,; if not, end.
可选的,所述性能监测评价装置1还包括:Optionally, the performance monitoring and evaluation device 1 further includes:
关联保存模块18,用于将所述动态指标与所述移动端的用户信息关联并保存。The association saving module 18 is configured to associate and save the dynamic indicator with the user information of the mobile terminal.
本技术方案应用于人工智能的智能决策领域,根据移动端发送的异常信息获取移动端的性能数据;通过性能数据及基准数据,训练采用神经网络作为初始深度学习网络,得到成熟深度学习网络并将其作为分类模型;通过成熟深度学习网络计算可调数据生成试验结果,及计算试验结果与均衡结果之间的差距得到试验损失值,根据试验损失值调整可调数据直至成熟深度学习网络生成的试验结果与均衡结果一致,将可调数据设为动态指标;监测移动端的性能指标,并根据动态指标对性能指标进行评价得到评价结果,根据评价结果向移动端发送报警信息。This technical solution is applied to the field of intelligent decision-making of artificial intelligence, and the performance data of the mobile terminal is obtained according to the abnormal information sent by the mobile terminal; through the performance data and the benchmark data, the neural network is used as the initial deep learning network for training, and a mature deep learning network is obtained and its As a classification model; the test result is generated by calculating the adjustable data through the mature deep learning network, and the test loss value is obtained by calculating the gap between the test result and the equilibrium result, and the adjustable data is adjusted according to the test loss value until the test result generated by the mature deep learning network. Consistent with the equilibrium result, the adjustable data is set as the dynamic index; the performance index of the mobile terminal is monitored, and the performance index is evaluated according to the dynamic index to obtain the evaluation result, and alarm information is sent to the mobile terminal according to the evaluation result.
实施例四:Embodiment 4:
为实现上述目的,本申请还提供一种计算机设备5,实施例三的性能监测评价装置1的组成部分可分散于不同的计算机设备中,计算机设备5可以是执行程序的智能手机、平板电脑、笔记本电脑、台式计算机、机架式服务器、刀片式服务器、塔式服务器或机柜式服务器(包括独立的服务器,或者多个应用服务器所组成的服务器集群)等。本实施例的计算机设备至少包括但不限于:可通过系统总线相互通信连接的存储器51、处理器52,如图5所示。需要指出的是,图5仅示出了具有组件-的计算机设备,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。In order to achieve the above purpose, the present application also provides a computer device 5, the components of the performance monitoring and evaluation device 1 of the third embodiment can be dispersed in different computer devices, and the computer device 5 can be a smart phone, tablet computer, Notebook computers, desktop computers, rack servers, blade servers, tower servers or rack servers (including independent servers, or server clusters composed of multiple application servers), etc. The computer device in this embodiment at least includes but is not limited to: a memory 51 and a processor 52 that can be communicatively connected to each other through a system bus, as shown in FIG. 5 . It should be pointed out that FIG. 5 only shows a computer device having a component -, but it should be understood that it is not required to implement all the shown components, and more or less components may be implemented instead.
本实施例中,存储器51(即可读存储介质)包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,存储器51可以是计算机设备的内部存储单元,例如该计算机设备的硬盘或内存。在另一些实施例中,存储器51也可以是计算机设备的外部存储设备,例如该计算机设备上配备的插接式硬盘,智能存储卡(Smart
Media Card, SMC),安全数字(Secure Digital, SD)卡,闪存卡(Flash Card)等。当然,存储器51还可以既包括计算机设备的内部存储单元也包括其外部存储设备。本实施例中,存储器51通常用于存储安装于计算机设备的操作系统和各类应用软件,例如实施例三的性能监测评价装置的程序代码等。此外,存储器51还可以用于暂时地存储已经输出或者将要输出的各类数据。In this embodiment, the memory 51 (ie, a readable storage medium) includes flash memory, hard disk, multimedia card, card-type memory (eg, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Programmable Read-Only Memory (PROM), Magnetic Memory, Magnetic Disk, Optical Disk, etc. In some embodiments, the memory 51 may be an internal storage unit of a computer device, such as a hard disk or a memory of the computer device. In other embodiments, the memory 51 may also be an external storage device of a computer device, such as a plug-in hard disk, a smart memory card (Smart
Media Card, SMC), Secure Digital (SD) card, Flash Card (Flash Card), etc. Of course, the memory 51 may also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the memory 51 is generally used to store the operating system and various application software installed on the computer equipment, such as the program code of the performance monitoring and evaluation apparatus of the third embodiment. In addition, the memory 51 can also be used to temporarily store various types of data that have been output or will be output.
处理器52在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器52通常用于控制计算机设备的总体操作。本实施例中,处理器52用于运行存储器51中存储的程序代码或者处理数据,例如运行性能监测评价装置,以实现实施例一和实施例二的性能监测评价方法。The processor 52 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 52 is typically used to control the overall operation of the computer device. In this embodiment, the processor 52 is used for running the program code or processing data stored in the memory 51, for example, running a performance monitoring and evaluation apparatus, so as to implement the performance monitoring and evaluation methods of the first and second embodiments.
实施例五:Embodiment 5:
为实现上述目的,本申请还提供一种计算机可读存储介质,本实施例中该计算机可读存储介质可以是易失性的,也可以是非易失性的,如闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘、服务器、App应用商城等等,其上存储有计算机程序,程序被处理器52执行时实现相应功能。本实施例的计算机可读存储介质用于存储性能监测评价装置,被处理器52执行时实现实施例一和实施例二的性能监测评价方法。In order to achieve the above purpose, the present application also provides a computer-readable storage medium. In this embodiment, the computer-readable storage medium may be volatile or non-volatile, such as flash memory, hard disk, multimedia card, Card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable Read only memory (PROM), magnetic memory, magnetic disk, optical disk, server, App application mall, etc., on which computer programs are stored, and when the programs are executed by the processor 52, corresponding functions are realized. The computer-readable storage medium of this embodiment is used to store the performance monitoring and evaluation apparatus, and when executed by the processor 52, implements the performance monitoring and evaluation methods of the first embodiment and the second embodiment.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present application, or directly or indirectly applied in other related technical fields , are similarly included within the scope of patent protection of this application.
Claims (20)
- 一种性能监测评价方法,用于对移动端的性能指标进行监测及评价,其中,包括:A performance monitoring and evaluation method is used to monitor and evaluate the performance indicators of the mobile terminal, including:根据移动端发送的异常信息获取所述移动端的性能数据,其中,所述性能数据反映了所述移动端在异常状态下的性能指标;Obtain performance data of the mobile terminal according to the abnormal information sent by the mobile terminal, wherein the performance data reflects the performance index of the mobile terminal in an abnormal state;通过所述性能数据及预置的基准数据,训练预置的初始深度学习网络得到成熟深度学习网络,其中,所述基准数据反映了移动端在正常状态时的性能指标;A mature deep learning network is obtained by training the preset initial deep learning network through the performance data and the preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state;通过所述成熟深度学习网络计算预置的可调数据生成试验结果,及计算所述试验结果与预置的均衡结果之间的差距得到试验损失值,根据所述试验损失值调整所述可调数据直至所述成熟深度学习网络生成的试验结果与所述均衡结果一致,将所述可调数据设为动态指标;Calculate the preset adjustable data through the mature deep learning network to generate the test result, and calculate the difference between the test result and the preset equalization result to obtain the test loss value, and adjust the adjustable data according to the test loss value. Data until the test result generated by the mature deep learning network is consistent with the equilibrium result, and the adjustable data is set as a dynamic index;监测移动端的性能指标并将其作为实时指标,根据所述动态指标对所述实时指标进行评价得到评价结果,根据所述评价结果向所述移动端发送报警信息。The performance index of the mobile terminal is monitored and taken as a real-time index, an evaluation result is obtained by evaluating the real-time index according to the dynamic index, and alarm information is sent to the mobile terminal according to the evaluation result.
- 根据权利要求1所述的性能监测评价方法,其中,所述根据移动端发送的异常信息获取所述移动端的性能数据之前,所述方法还包括: The performance monitoring and evaluation method according to claim 1, wherein before acquiring the performance data of the mobile terminal according to the abnormal information sent by the mobile terminal, the method further comprises:创建用于监听移动端的异常信息的上传接口。Create an upload interface for monitoring exception information on the mobile terminal.
- 根据权利要求1所述的性能监测评价方法,其中,所述根据移动端发送的异常信息获取所述移动端的性能数据之前,所述方法还包括: The performance monitoring and evaluation method according to claim 1, wherein before acquiring the performance data of the mobile terminal according to the abnormal information sent by the mobile terminal, the method further comprises:向移动端发送状态请求,并接收所述移动端根据所述状态请求发送的状态信息;判断所述状态信息中是否具有异常标签;若是,则判定所述状态信息为异常信息;若否,则结束。Send a status request to the mobile terminal, and receive the status information sent by the mobile terminal according to the status request; determine whether the status information has an abnormal label; if so, determine that the status information is abnormal information; if not, then Finish.
- 根据权利要求1所述的性能监测评价方法,其中,所述根据移动端发送的异常信息获取所述移动端的性能数据之后,所述方法还包括: The performance monitoring and evaluation method according to claim 1, wherein after acquiring the performance data of the mobile terminal according to the abnormal information sent by the mobile terminal, the method further comprises:获取所述移动端的用户信息,将所述性能数据与所述用户信息关联并保存;acquiring user information of the mobile terminal, associating and saving the performance data with the user information;调用异常数据库汇总属于同一用户信息的性能数据形成性能集合,删除性能集合中超过预设的时间期限的性能数据;Call the exception database to aggregate the performance data belonging to the same user information to form a performance set, and delete the performance data in the performance set that exceeds the preset time limit;计算异常数据库内性能集合中性能数据的数量,判断所述性能数据的数量是否达到预置的训练阈值;若是,提取所述性能集合中的性能数据;若否,则结束。Calculate the number of performance data in the performance set in the abnormal database, and determine whether the number of performance data reaches a preset training threshold; if so, extract the performance data in the performance set; if not, end.
- 根据权利要求1所述的性能监测评价方法,其中,所述通过所述性能数据及预置的基准数据,训练预置的初始深度学习网络得到成熟深度学习网络的步骤,包括: The performance monitoring and evaluation method according to claim 1, wherein the step of training a preset initial deep learning network to obtain a mature deep learning network by using the performance data and the preset benchmark data comprises:获取基准数据;Get benchmark data;根据所述基准数据和性能数据中的子数据项,构建所述初始深度学习网络中输入层的神经元;将所述基准数据中各子数据项对应的数据录入所述输入层中对应的神经元内,将所述性能数据中各子数据项对应的数据录入所述输入层中对应的神经元内;According to the sub-data items in the benchmark data and performance data, construct the neurons of the input layer in the initial deep learning network; enter the data corresponding to each sub-data item in the benchmark data into the corresponding neurons in the input layer In the unit, the data corresponding to each sub-data item in the performance data is entered into the corresponding neuron in the input layer;调用所述初始深度学习网络的隐藏层,获取所述输入层的输入向量并对其进行运算得到输出向量,并将所述输出向量输出至所述初始深度学习网络的输出层;Calling the hidden layer of the initial deep learning network, obtaining the input vector of the input layer and operating it to obtain an output vector, and outputting the output vector to the output layer of the initial deep learning network;通过预置的训练损失函数计算所述输出层的输出向量,与所述性能数据对应的异常信息之间的差距并得到训练损失值;Calculate the difference between the output vector of the output layer and the abnormal information corresponding to the performance data through the preset training loss function, and obtain the training loss value;通过反向传播算法并根据所述训练损失值调整所述隐藏层的权重和偏执值,直至所述训练损失值小于预置的训练损失阈值,得到成熟深度学习网络。A mature deep learning network is obtained by adjusting the weight and paranoia value of the hidden layer through the back-propagation algorithm and according to the training loss value until the training loss value is less than a preset training loss threshold.
- 根据权利要求1所述的性能监测评价方法,其中,所述将所述可调数据设为动态指标之后,所述方法还包括: The performance monitoring and evaluation method according to claim 1, wherein after the adjustable data is set as a dynamic index, the method further comprises:将所述动态指标与所述移动端的用户信息关联并保存;associating and saving the dynamic indicator with the user information of the mobile terminal;所述将所述动态指标与所述移动端的用户信息关联并保存之后,所述方法还包括:After associating and saving the dynamic indicator with the user information of the mobile terminal, the method further includes:将所述动态指标和所述用户信息上传至区块链中。Upload the dynamic indicator and the user information to the blockchain.
- 根据权利要求1所述的性能监测评价方法,其中,所述监测移动端的性能指标并将其作为实时指标,根据所述动态指标对所述实时指标进行评价得到评价结果,根据所述评价结果向所述移动端发送报警信息的步骤,包括: The performance monitoring and evaluation method according to claim 1, wherein the performance index of the monitoring mobile terminal is used as a real-time index, an evaluation result is obtained by evaluating the real-time index according to the dynamic index, and an evaluation result is sent to the mobile terminal according to the evaluation result. The step of sending alarm information by the mobile terminal includes:监测移动端的性能指标并将其作为实时指标,及获取所述移动端的用户信息并提取与所述用户信息关联的动态指标;Monitor the performance index of the mobile terminal and use it as a real-time index, and obtain the user information of the mobile terminal and extract the dynamic index associated with the user information;将值超过所述动态指标的实时指标设为异常指标,并将所述异常指标的数量设为评价结果;判断所述评价结果是否超过预置的异常阈值;Set the real-time index whose value exceeds the dynamic index as an abnormal index, and set the number of the abnormal index as an evaluation result; determine whether the evaluation result exceeds a preset abnormal threshold;若是,则向所述移动端发送报警信息;If so, send alarm information to the mobile terminal;若否,则结束。If not, end.
- 一种性能监测评价装置,其中,包括: A performance monitoring and evaluation device, comprising:异常获取模块,用于根据移动端发送的异常信息获取所述移动端的性能数据,其中,所述性能数据反映了所述移动端在异常状态下的性能指标;an abnormality acquisition module, configured to acquire performance data of the mobile terminal according to the abnormality information sent by the mobile terminal, wherein the performance data reflects the performance index of the mobile terminal in an abnormal state;网络训练模块,用于通过所述性能数据及预置的基准数据,训练预置的初始深度学习网络得到成熟深度学习网络,其中,所述基准数据反映了移动端在正常状态时的性能指标;a network training module for training a preset initial deep learning network to obtain a mature deep learning network through the performance data and preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state;动态调节模块,用于通过所述成熟深度学习网络计算预置的可调数据生成试验结果,及计算所述试验结果与预置的均衡结果之间的差距得到试验损失值,根据所述试验损失值调整所述可调数据直至所述成熟深度学习网络生成的试验结果与所述均衡结果一致,将所述可调数据设为动态指标;The dynamic adjustment module is used to calculate the preset adjustable data through the mature deep learning network to generate the test result, and calculate the difference between the test result and the preset equalization result to obtain the test loss value, according to the test loss Adjust the adjustable data until the test result generated by the mature deep learning network is consistent with the equilibrium result, and set the adjustable data as a dynamic index;监测报警模块,用于监测移动端的性能指标并将其作为实时指标,根据所述动态指标对所述实时指标进行评价得到评价结果,根据所述评价结果向所述移动端发送报警信息。The monitoring and alarming module is used to monitor the performance index of the mobile terminal and use it as a real-time index, evaluate the real-time index according to the dynamic index to obtain an evaluation result, and send alarm information to the mobile terminal according to the evaluation result.
- 一种计算机设备,其包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其中,所述计算机设备的处理器执行所述计算机程序时实现性能监测评价方法,所述性能监测评价方法,包括: A computer device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor of the computer device implements a performance monitoring and evaluation method when executing the computer program, and the Performance monitoring and evaluation methods, including:根据移动端发送的异常信息获取所述移动端的性能数据,其中,所述性能数据反映了所述移动端在异常状态下的性能指标;Obtain performance data of the mobile terminal according to the abnormal information sent by the mobile terminal, wherein the performance data reflects the performance index of the mobile terminal in an abnormal state;通过所述性能数据及预置的基准数据,训练预置的初始深度学习网络得到成熟深度学习网络,其中,所述基准数据反映了移动端在正常状态时的性能指标;A mature deep learning network is obtained by training the preset initial deep learning network through the performance data and the preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state;通过所述成熟深度学习网络计算预置的可调数据生成试验结果,及计算所述试验结果与预置的均衡结果之间的差距得到试验损失值,根据所述试验损失值调整所述可调数据直至所述成熟深度学习网络生成的试验结果与所述均衡结果一致,将所述可调数据设为动态指标;Calculate the preset adjustable data through the mature deep learning network to generate the test result, and calculate the difference between the test result and the preset equalization result to obtain the test loss value, and adjust the adjustable data according to the test loss value. Data until the test result generated by the mature deep learning network is consistent with the equilibrium result, and the adjustable data is set as a dynamic index;监测移动端的性能指标并将其作为实时指标,根据所述动态指标对所述实时指标进行评价得到评价结果,根据所述评价结果向所述移动端发送报警信息。The performance index of the mobile terminal is monitored and taken as a real-time index, an evaluation result is obtained by evaluating the real-time index according to the dynamic index, and alarm information is sent to the mobile terminal according to the evaluation result.
- 根据权利要求9所述的计算机设备,其中,所述根据移动端发送的异常信息获取所述移动端的性能数据之前,所述方法还包括: The computer device according to claim 9, wherein, before acquiring the performance data of the mobile terminal according to the abnormal information sent by the mobile terminal, the method further comprises:创建用于监听移动端的异常信息的上传接口;Create an upload interface for monitoring the abnormal information of the mobile terminal;所述根据移动端发送的异常信息获取所述移动端的性能数据之前,所述方法还包括:Before acquiring the performance data of the mobile terminal according to the abnormal information sent by the mobile terminal, the method further includes:向移动端发送状态请求,并接收所述移动端根据所述状态请求发送的状态信息;判断所述状态信息中是否具有异常标签;若是,则判定所述状态信息为异常信息;若否,则结束。Send a status request to the mobile terminal, and receive the status information sent by the mobile terminal according to the status request; determine whether the status information has an abnormal label; if so, determine that the status information is abnormal information; if not, then Finish.
- 根据权利要求9所述的计算机设备,其中,所述根据移动端发送的异常信息获取所述移动端的性能数据之后,所述方法还包括: The computer device according to claim 9, wherein, after obtaining the performance data of the mobile terminal according to the abnormal information sent by the mobile terminal, the method further comprises:获取所述移动端的用户信息,将所述性能数据与所述用户信息关联并保存;acquiring user information of the mobile terminal, associating and saving the performance data with the user information;调用异常数据库汇总属于同一用户信息的性能数据形成性能集合,删除性能集合中超过预设的时间期限的性能数据;Call the exception database to aggregate the performance data belonging to the same user information to form a performance set, and delete the performance data in the performance set that exceeds the preset time limit;计算异常数据库内性能集合中性能数据的数量,判断所述性能数据的数量是否达到预置的训练阈值;若是,提取所述性能集合中的性能数据;若否,则结束。Calculate the number of performance data in the performance set in the abnormal database, and determine whether the number of performance data reaches a preset training threshold; if so, extract the performance data in the performance set; if not, end.
- 根据权利要求9所述的计算机设备,其中,所述通过所述性能数据及预置的基准数据,训练预置的初始深度学习网络得到成熟深度学习网络的步骤,包括: The computer device according to claim 9, wherein the step of training a preset initial deep learning network to obtain a mature deep learning network by using the performance data and the preset benchmark data comprises:获取基准数据;Get benchmark data;根据所述基准数据和性能数据中的子数据项,构建所述初始深度学习网络中输入层的神经元;将所述基准数据中各子数据项对应的数据录入所述输入层中对应的神经元内,将所述性能数据中各子数据项对应的数据录入所述输入层中对应的神经元内;According to the sub-data items in the benchmark data and performance data, construct the neurons of the input layer in the initial deep learning network; enter the data corresponding to each sub-data item in the benchmark data into the corresponding neurons in the input layer In the unit, the data corresponding to each sub-data item in the performance data is entered into the corresponding neuron in the input layer;调用所述初始深度学习网络的隐藏层,获取所述输入层的输入向量并对其进行运算得到输出向量,并将所述输出向量输出至所述初始深度学习网络的输出层;Calling the hidden layer of the initial deep learning network, obtaining the input vector of the input layer and operating it to obtain an output vector, and outputting the output vector to the output layer of the initial deep learning network;通过预置的训练损失函数计算所述输出层的输出向量,与所述性能数据对应的异常信息之间的差距并得到训练损失值;Calculate the difference between the output vector of the output layer and the abnormal information corresponding to the performance data through the preset training loss function, and obtain the training loss value;通过反向传播算法并根据所述训练损失值调整所述隐藏层的权重和偏执值,直至所述训练损失值小于预置的训练损失阈值,得到成熟深度学习网络。A mature deep learning network is obtained by adjusting the weight and paranoia value of the hidden layer through the back-propagation algorithm and according to the training loss value until the training loss value is less than a preset training loss threshold.
- 根据权利要求9所述的计算机设备,其中,所述将所述可调数据设为动态指标之后,所述方法还包括: The computer device according to claim 9, wherein after setting the adjustable data as a dynamic index, the method further comprises:将所述动态指标与所述移动端的用户信息关联并保存;associating and saving the dynamic indicator with the user information of the mobile terminal;所述将所述动态指标与所述移动端的用户信息关联并保存之后,所述方法还包括:After associating and saving the dynamic indicator with the user information of the mobile terminal, the method further includes:将所述动态指标和所述用户信息上传至区块链中。Upload the dynamic indicator and the user information to the blockchain.
- 根据权利要求9所述的计算机设备,其中,所述监测移动端的性能指标并将其作为实时指标,根据所述动态指标对所述实时指标进行评价得到评价结果,根据所述评价结果向所述移动端发送报警信息的步骤,包括: The computer device according to claim 9, wherein the performance index of the monitoring mobile terminal is used as a real-time index, an evaluation result is obtained by evaluating the real-time index according to the dynamic index, and an evaluation result is sent to the The steps of sending the alarm information by the mobile terminal include:监测移动端的性能指标并将其作为实时指标,及获取所述移动端的用户信息并提取与所述用户信息关联的动态指标;Monitor the performance index of the mobile terminal and use it as a real-time index, and obtain the user information of the mobile terminal and extract the dynamic index associated with the user information;将值超过所述动态指标的实时指标设为异常指标,并将所述异常指标的数量设为评价结果;判断所述评价结果是否超过预置的异常阈值;Set the real-time index whose value exceeds the dynamic index as an abnormal index, and set the number of the abnormal index as an evaluation result; determine whether the evaluation result exceeds a preset abnormal threshold;若是,则向所述移动端发送报警信息;If so, send alarm information to the mobile terminal;若否,则结束。If not, end.
- 一种计算机可读存储介质,所述可读存储介质上存储有计算机程序,其中,所述可读存储介质存储的所述计算机程序被处理器执行时实现性能监测评价方法 A computer-readable storage medium on which a computer program is stored, wherein the computer program stored in the readable storage medium is executed by a processor to implement a performance monitoring and evaluation method所述性能监测评价方法,包括:The performance monitoring and evaluation method includes:根据移动端发送的异常信息获取所述移动端的性能数据,其中,所述性能数据反映了所述移动端在异常状态下的性能指标;Obtain performance data of the mobile terminal according to the abnormal information sent by the mobile terminal, wherein the performance data reflects the performance index of the mobile terminal in an abnormal state;通过所述性能数据及预置的基准数据,训练预置的初始深度学习网络得到成熟深度学习网络,其中,所述基准数据反映了移动端在正常状态时的性能指标;A mature deep learning network is obtained by training the preset initial deep learning network through the performance data and the preset benchmark data, wherein the benchmark data reflects the performance index of the mobile terminal in a normal state;通过所述成熟深度学习网络计算预置的可调数据生成试验结果,及计算所述试验结果与预置的均衡结果之间的差距得到试验损失值,根据所述试验损失值调整所述可调数据直至所述成熟深度学习网络生成的试验结果与所述均衡结果一致,将所述可调数据设为动态指标;Calculate the preset adjustable data through the mature deep learning network to generate the test result, and calculate the difference between the test result and the preset equalization result to obtain the test loss value, and adjust the adjustable data according to the test loss value. Data until the test result generated by the mature deep learning network is consistent with the equilibrium result, and the adjustable data is set as a dynamic index;监测移动端的性能指标并将其作为实时指标,根据所述动态指标对所述实时指标进行评价得到评价结果,根据所述评价结果向所述移动端发送报警信息。The performance index of the mobile terminal is monitored and taken as a real-time index, an evaluation result is obtained by evaluating the real-time index according to the dynamic index, and alarm information is sent to the mobile terminal according to the evaluation result.
- 根据权利要求15所述的计算机可读存储介质,其中,所述根据移动端发送的异常信息获取所述移动端的性能数据之前,所述方法还包括: The computer-readable storage medium according to claim 15, wherein, before acquiring the performance data of the mobile terminal according to the abnormality information sent by the mobile terminal, the method further comprises:创建用于监听移动端的异常信息的上传接口;Create an upload interface for monitoring the abnormal information of the mobile terminal;所述根据移动端发送的异常信息获取所述移动端的性能数据之前,所述方法还包括:Before acquiring the performance data of the mobile terminal according to the abnormal information sent by the mobile terminal, the method further includes:向移动端发送状态请求,并接收所述移动端根据所述状态请求发送的状态信息;判断所述状态信息中是否具有异常标签;若是,则判定所述状态信息为异常信息;若否,则结束。Send a status request to the mobile terminal, and receive the status information sent by the mobile terminal according to the status request; determine whether the status information has an abnormal label; if so, determine that the status information is abnormal information; if not, then Finish.
- 根据权利要求15所述的计算机可读存储介质,其中,所述根据移动端发送的异常信息获取所述移动端的性能数据之后,所述方法还包括: The computer-readable storage medium according to claim 15, wherein after acquiring the performance data of the mobile terminal according to the abnormal information sent by the mobile terminal, the method further comprises:获取所述移动端的用户信息,将所述性能数据与所述用户信息关联并保存;acquiring user information of the mobile terminal, associating and saving the performance data with the user information;调用异常数据库汇总属于同一用户信息的性能数据形成性能集合,删除性能集合中超过预设的时间期限的性能数据;Call the exception database to aggregate the performance data belonging to the same user information to form a performance set, and delete the performance data in the performance set that exceeds the preset time limit;计算异常数据库内性能集合中性能数据的数量,判断所述性能数据的数量是否达到预置的训练阈值;若是,提取所述性能集合中的性能数据;若否,则结束。Calculate the number of performance data in the performance set in the abnormal database, and determine whether the number of performance data reaches a preset training threshold; if so, extract the performance data in the performance set; if not, end.
- 根据权利要求15所述的计算机可读存储介质,其中,所述通过所述性能数据及预置的基准数据,训练预置的初始深度学习网络得到成熟深度学习网络的步骤,包括: The computer-readable storage medium according to claim 15, wherein the step of training a preset initial deep learning network to obtain a mature deep learning network by using the performance data and the preset benchmark data comprises:获取基准数据;Get benchmark data;根据所述基准数据和性能数据中的子数据项,构建所述初始深度学习网络中输入层的神经元;将所述基准数据中各子数据项对应的数据录入所述输入层中对应的神经元内,将所述性能数据中各子数据项对应的数据录入所述输入层中对应的神经元内;According to the sub-data items in the benchmark data and performance data, construct the neurons of the input layer in the initial deep learning network; enter the data corresponding to each sub-data item in the benchmark data into the corresponding neurons in the input layer In the unit, the data corresponding to each sub-data item in the performance data is entered into the corresponding neuron in the input layer;调用所述初始深度学习网络的隐藏层,获取所述输入层的输入向量并对其进行运算得到输出向量,并将所述输出向量输出至所述初始深度学习网络的输出层;Calling the hidden layer of the initial deep learning network, obtaining the input vector of the input layer and operating it to obtain an output vector, and outputting the output vector to the output layer of the initial deep learning network;通过预置的训练损失函数计算所述输出层的输出向量,与所述性能数据对应的异常信息之间的差距并得到训练损失值;Calculate the difference between the output vector of the output layer and the abnormal information corresponding to the performance data through the preset training loss function, and obtain the training loss value;通过反向传播算法并根据所述训练损失值调整所述隐藏层的权重和偏执值,直至所述训练损失值小于预置的训练损失阈值,得到成熟深度学习网络。A mature deep learning network is obtained by adjusting the weight and paranoia value of the hidden layer through the back-propagation algorithm and according to the training loss value until the training loss value is less than a preset training loss threshold.
- 根据权利要求15所述的计算机可读存储介质,其中,所述将所述可调数据设为动态指标之后,所述方法还包括: The computer-readable storage medium of claim 15, wherein after setting the adjustable data as a dynamic indicator, the method further comprises:将所述动态指标与所述移动端的用户信息关联并保存;associating and saving the dynamic indicator with the user information of the mobile terminal;所述将所述动态指标与所述移动端的用户信息关联并保存之后,所述方法还包括:After associating and saving the dynamic indicator with the user information of the mobile terminal, the method further includes:将所述动态指标和所述用户信息上传至区块链中。Upload the dynamic indicator and the user information to the blockchain.
- 根据权利要求15所述的计算机设备,其中,所述监测移动端的性能指标并将其作为实时指标,根据所述动态指标对所述实时指标进行评价得到评价结果,根据所述评价结果向所述移动端发送报警信息的步骤,包括: The computer device according to claim 15, wherein the performance index of the monitoring mobile terminal is used as a real-time index, an evaluation result is obtained by evaluating the real-time index according to the dynamic index, and an evaluation result is sent to the The steps of sending the alarm information by the mobile terminal include:监测移动端的性能指标并将其作为实时指标,及获取所述移动端的用户信息并提取与所述用户信息关联的动态指标;Monitor the performance index of the mobile terminal and use it as a real-time index, and obtain the user information of the mobile terminal and extract the dynamic index associated with the user information;将值超过所述动态指标的实时指标设为异常指标,并将所述异常指标的数量设为评价结果;判断所述评价结果是否超过预置的异常阈值;Set the real-time index whose value exceeds the dynamic index as an abnormal index, and set the number of the abnormal index as an evaluation result; determine whether the evaluation result exceeds a preset abnormal threshold;若是,则向所述移动端发送报警信息;If so, send alarm information to the mobile terminal;若否,则结束。If not, end.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011208472.8 | 2020-11-03 | ||
CN202011208472.8A CN112306808B (en) | 2020-11-03 | 2020-11-03 | Performance monitoring and evaluating method and device, computer equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022095381A1 true WO2022095381A1 (en) | 2022-05-12 |
Family
ID=74333860
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/091338 WO2022095381A1 (en) | 2020-11-03 | 2021-04-30 | Performance monitoring and evaluation method and apparatus, computer device, and readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112306808B (en) |
WO (1) | WO2022095381A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115164993A (en) * | 2022-07-26 | 2022-10-11 | 正人智慧科技(苏州)有限公司 | Pump room environment temperature and humidity monitoring and early warning method and system |
CN115629353A (en) * | 2022-11-29 | 2023-01-20 | 浙江万胜智能科技股份有限公司 | Pre-investigation method and system for abnormal electric meter |
CN116156401A (en) * | 2023-04-17 | 2023-05-23 | 深圳市英唐数码科技有限公司 | Hearing-aid equipment intelligent detection method, system and medium based on big data monitoring |
CN116485280A (en) * | 2023-06-15 | 2023-07-25 | 深圳市蓝巨科技有限公司 | UVC-LED production quality evaluation method and system based on artificial intelligence |
CN117762716A (en) * | 2024-01-05 | 2024-03-26 | 深圳市沃存电子有限公司 | Method and system for rapidly positioning memory bank abnormality on main board |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112306808B (en) * | 2020-11-03 | 2022-08-16 | 平安科技(深圳)有限公司 | Performance monitoring and evaluating method and device, computer equipment and readable storage medium |
CN113393143B (en) * | 2021-06-24 | 2022-06-17 | 重庆大学 | Fin machining state monitoring method based on information fusion |
CN114221874B (en) * | 2021-12-14 | 2023-11-14 | 平安壹钱包电子商务有限公司 | Traffic analysis and scheduling method and device, computer equipment and readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150242744A1 (en) * | 2014-02-21 | 2015-08-27 | Qualcomm Incorporated | Stochastic delay plasticity |
CN109684310A (en) * | 2018-11-22 | 2019-04-26 | 安徽继远软件有限公司 | A kind of information system performance Situation Awareness method based on big data analysis |
CN110262939A (en) * | 2019-05-14 | 2019-09-20 | 苏宁金融服务(上海)有限公司 | Algorithm model operation and monitoring method, device, computer equipment and storage medium |
CN110598802A (en) * | 2019-09-26 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Memory detection model training method, memory detection method and device |
CN112306808A (en) * | 2020-11-03 | 2021-02-02 | 平安科技(深圳)有限公司 | Performance monitoring and evaluating method and device, computer equipment and readable storage medium |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6831890B1 (en) * | 2000-10-31 | 2004-12-14 | Agilent Technologies, Inc. | Measuring network performance parameters in data communication networks |
CN105357097A (en) * | 2014-08-19 | 2016-02-24 | 中兴通讯股份有限公司 | Virtual network (VN) regulation method and system |
CN105259754B (en) * | 2015-10-16 | 2018-07-10 | 华北理工大学 | A kind of plate thickness intelligent control method based on Active Learning |
CN105956734B (en) * | 2016-04-15 | 2020-01-21 | 广东轩辕网络科技股份有限公司 | Method and system for dynamically setting index threshold of performance of IT equipment |
CN109460890B (en) * | 2018-09-21 | 2021-08-06 | 浙江大学 | Intelligent self-healing method based on reinforcement learning and control performance monitoring |
CN109120715A (en) * | 2018-09-21 | 2019-01-01 | 华南理工大学 | Dynamic load balancing method under a kind of cloud environment |
CN109376615B (en) * | 2018-09-29 | 2020-12-18 | 苏州科达科技股份有限公司 | Method, device and storage medium for improving prediction performance of deep learning network |
CN109492193B (en) * | 2018-12-28 | 2020-11-27 | 同济大学 | Abnormal network data generation and prediction method based on deep machine learning model |
CN109948703A (en) * | 2019-03-20 | 2019-06-28 | 上海交通大学 | Gene image procossing estimation method, system, medium and equipment based on deep learning |
CN110647900B (en) * | 2019-04-12 | 2022-04-22 | 中国人民解放军战略支援部队信息工程大学 | Intelligent safety situation prediction method, device and system based on deep neural network |
-
2020
- 2020-11-03 CN CN202011208472.8A patent/CN112306808B/en active Active
-
2021
- 2021-04-30 WO PCT/CN2021/091338 patent/WO2022095381A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150242744A1 (en) * | 2014-02-21 | 2015-08-27 | Qualcomm Incorporated | Stochastic delay plasticity |
CN109684310A (en) * | 2018-11-22 | 2019-04-26 | 安徽继远软件有限公司 | A kind of information system performance Situation Awareness method based on big data analysis |
CN110262939A (en) * | 2019-05-14 | 2019-09-20 | 苏宁金融服务(上海)有限公司 | Algorithm model operation and monitoring method, device, computer equipment and storage medium |
CN110598802A (en) * | 2019-09-26 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Memory detection model training method, memory detection method and device |
CN111078479A (en) * | 2019-09-26 | 2020-04-28 | 腾讯科技(深圳)有限公司 | Memory detection model training method, memory detection method and device |
CN112306808A (en) * | 2020-11-03 | 2021-02-02 | 平安科技(深圳)有限公司 | Performance monitoring and evaluating method and device, computer equipment and readable storage medium |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115164993A (en) * | 2022-07-26 | 2022-10-11 | 正人智慧科技(苏州)有限公司 | Pump room environment temperature and humidity monitoring and early warning method and system |
CN115629353A (en) * | 2022-11-29 | 2023-01-20 | 浙江万胜智能科技股份有限公司 | Pre-investigation method and system for abnormal electric meter |
CN116156401A (en) * | 2023-04-17 | 2023-05-23 | 深圳市英唐数码科技有限公司 | Hearing-aid equipment intelligent detection method, system and medium based on big data monitoring |
CN116156401B (en) * | 2023-04-17 | 2023-06-27 | 深圳市英唐数码科技有限公司 | Hearing-aid equipment intelligent detection method, system and medium based on big data monitoring |
CN116485280A (en) * | 2023-06-15 | 2023-07-25 | 深圳市蓝巨科技有限公司 | UVC-LED production quality evaluation method and system based on artificial intelligence |
CN116485280B (en) * | 2023-06-15 | 2023-09-19 | 深圳市蓝巨科技有限公司 | UVC-LED production quality evaluation method and system based on artificial intelligence |
CN117762716A (en) * | 2024-01-05 | 2024-03-26 | 深圳市沃存电子有限公司 | Method and system for rapidly positioning memory bank abnormality on main board |
Also Published As
Publication number | Publication date |
---|---|
CN112306808A (en) | 2021-02-02 |
CN112306808B (en) | 2022-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022095381A1 (en) | Performance monitoring and evaluation method and apparatus, computer device, and readable storage medium | |
US9558347B2 (en) | Detecting anomalous user behavior using generative models of user actions | |
CN107122669B (en) | Method and device for evaluating data leakage risk | |
CN113159615B (en) | Intelligent information security risk measuring system and method for industrial control system | |
JP2017174375A (en) | Risk early warning method and apparatus | |
CN109564609A (en) | It mitigates and corrects using the detection of the computer attack of advanced computers decision-making platform | |
CN112700131B (en) | AB test method and device based on artificial intelligence, computer equipment and medium | |
US20230177527A1 (en) | Block chain system, and biological product monitoring method and device | |
CN110855648A (en) | Early warning control method and device for network attack | |
CN113392426A (en) | Method and system for enhancing data privacy of an industrial or electrical power system | |
CN114564757A (en) | Data auditing method, device and equipment of block chain and readable storage medium | |
CN111931047A (en) | Artificial intelligence-based black product account detection method and related device | |
CN115329381A (en) | Sensitive data-based analysis and early warning method and device, computer equipment and medium | |
CN115936895A (en) | Risk assessment method, device and equipment based on artificial intelligence and storage medium | |
US11902309B1 (en) | Anomaly prediction for electronic resources | |
CN114064498A (en) | Script development control method and device, computer equipment and storage medium | |
CN116843395A (en) | Alarm classification method, device, equipment and storage medium of service system | |
CN112365362A (en) | Method for protecting existing IT domain asset data based on power grid by adopting block chain technology | |
CN112365938A (en) | Method for realizing power grid IT asset data management by adopting block chain technology | |
CN116776150A (en) | Interface abnormal access identification method and device, computer equipment and storage medium | |
CN112561538B (en) | Risk model creation method, apparatus, computer device and readable storage medium | |
CN115099875A (en) | Data classification method based on decision tree model and related equipment | |
CN113343577A (en) | Parameter optimization method and device, computer equipment and readable storage medium | |
CN112764957A (en) | Application fault delimiting method and device | |
CN112307271A (en) | Safety monitoring method and device for remote control service of power distribution automation system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21888085 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21888085 Country of ref document: EP Kind code of ref document: A1 |