WO2023061342A1 - Data trend detection method, electronic device, and storage medium - Google Patents
Data trend detection method, electronic device, and storage medium Download PDFInfo
- Publication number
- WO2023061342A1 WO2023061342A1 PCT/CN2022/124465 CN2022124465W WO2023061342A1 WO 2023061342 A1 WO2023061342 A1 WO 2023061342A1 CN 2022124465 W CN2022124465 W CN 2022124465W WO 2023061342 A1 WO2023061342 A1 WO 2023061342A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- historical data
- trend
- sub
- detection method
- Prior art date
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 64
- 230000004044 response Effects 0.000 claims description 27
- 238000000034 method Methods 0.000 claims description 24
- 230000015654 memory Effects 0.000 claims description 20
- 238000009825 accumulation Methods 0.000 claims description 13
- 238000004364 calculation method Methods 0.000 claims description 8
- 238000004458 analytical method Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 6
- 238000012544 monitoring process Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 claims description 6
- 230000002159 abnormal effect Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 7
- 238000012360 testing method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 3
- 238000011002 quantification Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/26—Visual data mining; Browsing structured data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
- G06F18/232—Non-hierarchical techniques
- G06F18/2321—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
Definitions
- the embodiment of the present application relates to the communication field, and in particular to a data trend detection method, an electronic device, and a storage medium.
- the wireless network system needs to ensure continuous and stable operation to meet the communication needs of daily life, business and public services. To this end, it is necessary to monitor the data change trend of each component or each device in the network, and infer the current operating status of the network or a certain component based on the monitoring results.
- the Mann-Kendall trend test algorithm based on statistics is mostly used to analyze the data, but this algorithm is only effective for monotonous trend monitoring, and it is very prone to misjudgment when the data increases and decreases from time to time. , It is even impossible to judge its overall trend.
- the main purpose of the embodiment of the present application is to provide a data trend detection method, electronic device and storage medium, so as to realize accurate and rapid judgment on the overall trend of data in complex situations.
- an embodiment of the present application provides a data trend detection method, including: acquiring historical data, and dividing the historical data into multiple sub-data in chronological order, wherein the historical data is required to be Responding to the processed data; respectively performing curve fitting on the multiple pieces of sub-data to obtain the slope of the fitted line segment of each sub-data; performing distribution symmetry detection on the slopes of the multiple pieces of sub-data to obtain the trend of the historical data.
- the embodiment of the present application also provides an electronic device, including: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores information that can be used by the at least one An instruction executed by a processor, the instruction is executed by the at least one processor, so that the at least one processor can execute the above data trend detection method.
- the embodiments of the present application further provide a computer-readable storage medium storing a computer program, and implementing the above data trend detection method when the computer program is executed by a processor.
- Fig. 1 is a schematic flow diagram 1 of a data trend detection method provided by an embodiment of the present application
- Fig. 2 is a schematic flow diagram II of the data trend detection method provided by the embodiment of the present application.
- Fig. 3 is a schematic flow diagram three of the data trend detection method provided by the embodiment of the present application.
- FIG. 4 is a flowchart of step 302 in the data trend detection method provided by the embodiment of FIG. 3 of the present application;
- FIG. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
- the data trend detection method provided in this application includes the following steps.
- Step 101 acquiring historical data and dividing the historical data into multiple sub-data in chronological order, wherein the historical data is data that needs to be processed by the network device in response.
- the historical data is data that needs to be processed by the network device in response, such as message data.
- the data trend detection method of the present application can be applied to a certain service platform, can also be applied to electronic equipment in a certain network, and can also be applied to the middleware of a certain system, such as: DT (Data Technology, data technology) system middleware (such as: Kafka database).
- DT Data Technology, data technology
- Kafka database Kafka database
- the historical data mentioned in this application is a kind of real-time data. For example: on the first day, 100 pieces of data are generated, on the second day, 50 pieces of data are generated, and 40 pieces of data are processed in response, then the historical data obtained at the current moment is 110 pieces. Another example: on the first day, 100 pieces of data are generated, on the second day, no data is generated, and on the third day, no data is generated, then the historical data at the current moment is 100 pieces.
- the historical data is divided into multiple sub-data in chronological order, where the granularity of time can be one day, one hour, or one minute, one second, or even one millisecond.
- the specific time granularity used to divide historical data into multiple pieces of data can be determined according to the scale of the network in the application scenario and the number of network devices in the network.
- the historical data can be evenly divided into multiple sub-data in chronological order, and different division methods can also be selected according to the characteristics of the application scenario. For example: Since a large amount of data that needs to be responded to is generated every minute or even every second during the day, less data that needs to be responded to may be generated at night. Therefore, the historical data of the day (7:00-24:00) can be divided into multiple parts by minute, and the historical data of night (1:00-7:00) can be divided into multiple parts by hour.
- the historical data before dividing the historical data into multiple pieces of sub-data in chronological order, it may further include: when missing data is detected in the historical data, filling the missing data with historical data at a moment before the missing data. That is to preprocess the historical data to ensure the integrity of the historical data.
- Step 102 perform curve fitting on multiple sub-data respectively, and obtain the slope of the fitted line segment of each sub-data.
- the end point of the fitted line segment corresponding to the previous sub-data is connected to the first endpoint of the fitted line segment corresponding to the next sub-data. That is to say, when performing curve fitting on multiple sub-data to obtain the fitted line segment of each sub-data, the curve between the fitted line segments of each sub-data needs to be continuous, otherwise the slope obtained from multiple sub-data cannot accurately represent the data trend situation.
- the first sub-data is expressed as S1(k1, k2,...,k100), and the obtained fitting line segment is Y1( x)
- the second sub-data is expressed as S2(k1, k2,...,k100)
- the obtained fitting line segment is Y2(x)
- the last endpoint Y1(k100) of the first sub-data and the second sub-data The curve between the first endpoint of Y2(k1) needs to be continuous.
- a point can be selected as a reference point between the end point of the first fitted line segment and the first end point of the second fitted line segment, and the fitting function of the first part of data is limited to the right, and the second The fitting function of the member data takes the limit to the left, when the right limit value of the fitting function of the first part of data at the reference point is equal to the left limit value of the fitting function of the second part of data at the reference point, it can be Ensure that there is a continuous curve between two adjacent fitting line segments.
- the selection method of the reference point is not limited here, it can be selected arbitrarily, and can also be selected by interpolation.
- step 103 the distribution symmetry detection is performed on the slopes of multiple sub-data to obtain the trend of historical data.
- the slopes of multiple pieces of data are arranged according to the time sequence corresponding to the multiple pieces of data, so as to ensure that the real trend of historical data can be obtained.
- the distribution symmetry detection is performed on the slope of multiple pieces of data, that is, the symmetry center and the degree of symmetry about the symmetry center of the slope of multiple pieces of data are detected. For example: if the slope of multiple sub-data is symmetrically distributed about 0, it means that the data has no obvious trend of change. If the slope of multiple sub-data deviates from 0 and is more positive, the data shows an increasing trend. If the slope of multiple sub-data deviates from 0 and is more negative, the data shows an increasing trend.
- the trend of data can pre-set a variety of trend types. For example, if the amount of data increases with time, it is an increase trend, if the amount of data decreases with time, it is a downward trend, and if the amount of data remains constant, it can be defined as The data has a tendency to accumulate (the accumulation trend can be regarded as a growth trend), or it can be defined as the data has no trend.
- a certain database can store up to 500 pieces of data, and currently there are 50 pieces of data, which have not been responded to and processed, and the data can be defined as no trend (neither increasing nor decreasing).
- a database can store up to 500 pieces of data, and at the current moment, 400 pieces of data in the database have not been responded to and processed.
- a threshold can be set according to the database capacity for storing data. If the amount of data is greater than the threshold, it is considered that there is an accumulation or growth trend. If the amount of data is less than the threshold, it is considered that there is no trend.
- the degree of growth of the historical data may be further analyzed. For example: define a mild growth trend if the number of data growth per second is less than 1,000, and define a rapid growth trend if the number of data growth per second is greater than 5,000.
- this is only a specific example, and multiple different thresholds can be defined according to application scenarios and network scales to analyze and obtain the growth degree of historical data growth trends.
- the quantity of the historical data is obtained, and it is detected that the quantity of the historical data changes within the preset monitoring time, and the The historical data is divided into multiple sub-data in chronological order, and then subsequent steps 102 and 103 are performed.
- after obtaining the historical data it also includes: obtaining the quantity of historical data; when it is monitored that the quantity of historical data remains unchanged within the preset monitoring time and is greater than the preset fourth threshold, determine the historical data There is a growing trend. It should be noted that after the quantity of historical data is obtained, if the quantity of historical data remains unchanged, it means that the historical data has not been processed by the response. At the same time, if the amount of historical data is greater than the preset fourth threshold, it is not necessary to perform trend detection on the historical data, and directly determine that the historical data has a tendency to accumulate.
- a data trend detection method proposed in this application divides historical data into multiple sub-data, and performs curve fitting on each sub-data to obtain the slope of multiple sub-data, and each slope reflects the data of a certain period of time in the historical data The trend of all slopes realizes the quantification of the overall trend of historical data. Then, the distribution symmetry detection is performed on the slope of multiple sub-data to obtain the overall trend of the historical data. The method can accurately and quickly judge the overall trend of the data in complex situations.
- the embodiment of the present application relates to a data trend detection method, as shown in FIG. 2 , including the following steps.
- Step 201 acquiring historical data and dividing the historical data into multiple sub-data in chronological order, wherein the historical data is data that needs to be processed by the network device in response.
- the setting of the fourth threshold can be comprehensively determined according to the application scenario, the scale of the network, the storage capacity of the database and the needs of users. For example: if the data trend detection method of this application is applied to a network with extremely high real-time requirements , the fourth threshold can be directly set to 0, that is, if the number of historical data remains 1>0, it is determined that the data has a tendency to accumulate. Of course, this is only a specific example, and the number of the fourth thresholds may be any value.
- Step 202 performing curve fitting on multiple sub-data respectively, and obtaining the slope of the fitted line segment of each sub-data.
- steps 201 and 202 are basically the same as those of steps 101 and 102, and will not be repeated here.
- Step 203 check whether the symmetry center of the slope of the plurality of pieces of sub-data is 0, and obtain a first value.
- the Wilcoxon (Wilcoxon) signed rank sum test method when testing whether the center of symmetry of the slope of the plurality of sub-data is 0, can be used, and the Wilcoxon signed rank sum test is used to test Whether the difference between paired observations comes from a population with a mean of zero.
- the first value obtained is the p-value in the Wilcoxon signed rank sum test.
- the slopes of the multiple pieces of sub-data can be arranged in chronological order and combined into a slope array for processing to facilitate processing and improve calculation speed.
- Step 204 performing skewness calculation on the slopes of multiple pieces of sub-data to obtain a second value.
- the skewness is a characteristic number that characterizes the degree of asymmetry of the probability distribution density curve relative to the average value, and it is intuitively seen as the relative length of the tail of the density function curve.
- the skewness of the normal distribution is 0, that is, the lengths of the tails on both sides are symmetrical.
- this embodiment uses the following formula to calculate: where g 1 is expressed as skewness, mi is the intermediate quantity in the calculation process, Expressed as the average value of the slope of multiple sub-data, x n represents the slope of the n-th sub-data, and N represents the number of slope data.
- g 1 is expressed as skewness
- mi is the intermediate quantity in the calculation process
- x n represents the slope of the n-th sub-data
- N represents the number of slope data.
- Step 205 calculating the mean value and variance of the slopes of multiple pieces of sub-data, and obtaining a third value according to the mean value and variance.
- the result obtained by dividing the mean value of the slopes of the multiple pieces of data by the variance of the slopes of the multiple pieces of data is used as the third value.
- Step 206 when the first value, the mean value of the slope array, the second value and the third value meet the preset judgment conditions, it is determined that the historical data has an increasing trend; wherein, the preset judgment conditions are the preset first conditions, At least two of the preset second condition and the preset third condition are satisfied; the first condition is that the first value is less than the preset first threshold and the average value is greater than 0, and the second condition is that the first The second value is greater than a preset second threshold, and the third condition is that the third value is greater than a preset third threshold.
- the preset judgment conditions are the preset first conditions, At least two of the preset second condition and the preset third condition are satisfied; the first condition is that the first value is less than the preset first threshold and the average value is greater than 0, and the second condition is that the first The second value is greater than a preset second threshold, and the third condition is that the third value is greater than a preset third threshold.
- the setting of the first threshold, the second threshold and the third threshold may be comprehensively determined according to expert experience, network scale and application scenarios.
- the first threshold may be set to 0.05, the second threshold to 1, and the third threshold to 0.1.
- the probability density function of the slope of multiple pieces of data can also be obtained, and the integral area (first area) of the probability density curve at x>0 and the probability density curve at x>0 can be obtained.
- the integral area (the second area) of the x ⁇ 0 part when the first area is greater than the second area, it can be judged that the data has a growing trend.
- it can also calculate the positive sum of the slopes of multiple pieces of data, calculate the negative sum of the slopes of multiple pieces of data, judge whether the ratio of the positive sum to the negative sum is greater than the threshold, and determine that the data has a growing trend when it is greater than the threshold.
- the historical data after determining that the historical data has a growth trend or accumulation trend, it further includes: saving the trend detection results of the historical data; re-acquiring the historical data after a preset time interval, and performing trend detection on the historical data; When the trend detection result is an increasing trend or accumulation trend again, an abnormal data accumulation alarm will be generated.
- the detection results are saved, and after a preset time interval, the historical data is reacquired multiple times to perform trend detection on the historical data. For example: at the current moment, it is detected that the historical data has a growth trend or accumulation trend, assuming that the preset time interval is one day (24 hours), then after one day, the historical data is re-obtained, and the trend detection is performed again.
- the trend detection result is an increase trend again or accumulation trend, an abnormal data accumulation alarm will be generated.
- the trend detection result is an increasing trend or the number of times of the accumulation trend is multiple, an abnormal data accumulation alarm will be generated, and the specific number of times can be set arbitrarily.
- the accumulation trend can also be considered as a growth trend, and the specific definition of the data growth trend can be set according to the application scenario and network scale.
- a data trend detection method proposed in this application divides historical data into multiple sub-data, and performs curve fitting on each sub-data to obtain the slope of multiple sub-data, and each slope reflects the data of a certain period of time in the historical data
- the trend of all slopes realizes the quantification of the overall trend of historical data.
- the method can accurately and quickly judge the overall trend of the data in complex situations, and avoid accurate detection when the data is piled up.
- a data trend detection method proposed in this application includes the following steps.
- Step 301 acquiring the response time of historical data.
- the historical data is real-time data, and its response time is the moment when the amount of historical data is less than or equal to a preset fifth threshold.
- the value of the fifth threshold may be comprehensively determined according to network scale, user requirements, application scenarios, etc., and may even be set to 0.
- the fourth threshold and the fifth threshold in this application may be equal or unequal.
- Step 302 analyze the response time of the historical data, and obtain the analysis result of the historical data.
- step 302 in this embodiment may further include the following steps.
- Step 401 taking the response time closest to the current moment among the response times as the first response time of the historical data.
- Step 402 acquiring the time difference between the first response time and the current moment.
- Step 403 comparing the time difference with a preset time threshold, and obtaining an analysis result of historical data according to the comparison result.
- Step 303 when the analysis result indicates that the historical data has not been responded in time, it is determined that trend detection needs to be performed on the historical data.
- Step 304 acquiring historical data and dividing the historical data into multiple sub-data in chronological order, wherein the historical data is data that needs to be processed by the network device in response.
- step 305 curve fitting is performed on the plurality of pieces of sub-data respectively, and the slope of the fitted line segment of each piece of sub-data is obtained.
- step 306 the distribution symmetry detection is performed on the slopes of multiple pieces of sub-data to obtain the trend of historical data.
- a data trend detection method proposed in this application divides historical data into multiple sub-data, and performs curve fitting on each sub-data to obtain the slope of multiple sub-data, and each slope reflects the data of a certain period of time in the historical data The trend of all slopes realizes the quantification of the overall trend of historical data. Then, the distribution symmetry detection is performed on the slope of multiple sub-data to obtain the overall trend of the historical data. The method can accurately and quickly judge the overall trend of the data in complex situations. In addition, before performing trend detection on historical data, it is judged whether historical data needs to perform trend detection by analyzing the response time of historical data, so as to improve the efficiency of trend detection.
- the embodiment of the present application relates to an electronic device, as shown in FIG. 5 , including: at least one processor 501; and a memory 502 connected in communication with at least one processor 501; wherein, the memory 502 stores information that can be processed by at least one Instructions executed by the processor 501, the instructions are executed by at least one processor 501, so that the at least one processor 501 can execute the data trend detection method as in the above embodiment.
- the electronic device includes: one or more processors 501 and a memory 502, one processor 501 is taken as an example in FIG. 5 .
- the processor 501 and the memory 502 may be connected through a bus or in other ways, and connection through a bus is taken as an example in FIG. 5 .
- the memory 502 as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs and modules, such as the corresponding processing strategies in the strategy space in the embodiment of the present application
- the algorithm is stored in the memory 502.
- the processor 501 executes various functional applications and data processing of the device by running the non-volatile software programs, instructions and modules stored in the memory 502, that is, realizes the above data trend detection method.
- the memory 502 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store an option list and the like.
- the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage devices.
- the memory 502 may optionally include a memory set remotely relative to the processor 501, and these remote memories may be connected to an external device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- One or more modules are stored in the memory 502, and when executed by one or more processors 501, execute the data trend detection method in any method implementation above.
- Embodiments of the present application relate to a computer-readable storage medium storing a computer program.
- the above method embodiments are implemented when the computer program is executed by the processor.
- the program is stored in a storage medium, and includes several instructions to make a device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods in the various embodiments of the present application.
- the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
Landscapes
- Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Algebra (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Probability & Statistics with Applications (AREA)
- Pure & Applied Mathematics (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Embodiments of the present application relate to the field of communications. Disclosed are a data trend detection method, an electronic device, and a storage medium. The data trend detection method of the present application comprises: obtaining historical data and dividing same into a plurality of pieces of sub-data according to a time sequence, the historical data being data required to be responded and processed by a network device; respectively performing curve fitting on the plurality of pieces of sub-data to obtain the slope of a fitting line segment of each piece of sub-data; and performing distribution symmetry detection on the slopes of the plurality of pieces of sub-data to obtain the trend of the historical data.
Description
相关申请的交叉引用Cross References to Related Applications
本申请要求在2021年10月13日提交的中国专利申请第202111192904.5号的优先权,该中国专利申请的全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202111192904.5 filed on October 13, 2021, the entire content of which is hereby incorporated by reference.
本申请实施例涉及通信领域,特别涉及一种数据趋势检测方法、电子设备和存储介质。The embodiment of the present application relates to the communication field, and in particular to a data trend detection method, an electronic device, and a storage medium.
作为信息时代重要的基础设施,无线网络系统需保证持续稳定的运行,以满足社会日常、商业及公共服务等各方面的通讯需要。为此,需要对网络中各组件或各设备的数据变化趋势进行监测,根据监测结果推断当前网络或某个组件的运行状况。As an important infrastructure in the information age, the wireless network system needs to ensure continuous and stable operation to meet the communication needs of daily life, business and public services. To this end, it is necessary to monitor the data change trend of each component or each device in the network, and infer the current operating status of the network or a certain component based on the monitoring results.
在一些情形下,大多采用基于统计的Mann-Kendall趋势检验算法对数据进行分析,但该算法只对单调趋势监测有效,而对数据时而增长时而降低的这种情况,非常容易出现误判的情况、甚至于无法判断其整体趋势。In some cases, the Mann-Kendall trend test algorithm based on statistics is mostly used to analyze the data, but this algorithm is only effective for monotonous trend monitoring, and it is very prone to misjudgment when the data increases and decreases from time to time. , It is even impossible to judge its overall trend.
发明内容Contents of the invention
本申请实施例的主要目的在于提出一种数据趋势检测方法、电子设备和存储介质,实现对复杂情况的数据的整体趋势进行准确、快速判断。The main purpose of the embodiment of the present application is to provide a data trend detection method, electronic device and storage medium, so as to realize accurate and rapid judgment on the overall trend of data in complex situations.
为实现上述目的,本申请实施例提供了一种数据趋势检测方法,包括:获取历史数据,并将所述历史数据按时间顺序划分为多份子数据,其中,所述历史数据为需要被网络设备响应处理的数据;对所述多份子数据分别进行曲线拟合,获取每份子数据的拟合线段的斜率;对多份子数据的斜率进行分布对称性检测,获取所述历史数据的趋势。In order to achieve the above purpose, an embodiment of the present application provides a data trend detection method, including: acquiring historical data, and dividing the historical data into multiple sub-data in chronological order, wherein the historical data is required to be Responding to the processed data; respectively performing curve fitting on the multiple pieces of sub-data to obtain the slope of the fitted line segment of each sub-data; performing distribution symmetry detection on the slopes of the multiple pieces of sub-data to obtain the trend of the historical data.
为实现上述目的,本申请实施方式还提供了一种电子设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述的数据趋势检测方法。To achieve the above object, the embodiment of the present application also provides an electronic device, including: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores information that can be used by the at least one An instruction executed by a processor, the instruction is executed by the at least one processor, so that the at least one processor can execute the above data trend detection method.
为实现上述目的,本申请实施方式还提供了一种计算机可读存储介质,存储有计算机程序,计算机程序被处理器执行时实现上述的数据趋势检测方法。To achieve the above object, the embodiments of the present application further provide a computer-readable storage medium storing a computer program, and implementing the above data trend detection method when the computer program is executed by a processor.
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定。One or more embodiments are exemplified by pictures in the accompanying drawings, and these exemplifications are not intended to limit the embodiments.
图1是本申请的实施例提供的数据趋势检测方法的流程示意图一;Fig. 1 is a schematic flow diagram 1 of a data trend detection method provided by an embodiment of the present application;
图2是本申请的实施例提供的数据趋势检测方法的流程示意图二;Fig. 2 is a schematic flow diagram II of the data trend detection method provided by the embodiment of the present application;
图3是本申请的实施例提供的数据趋势检测方法的流程示意图三;Fig. 3 is a schematic flow diagram three of the data trend detection method provided by the embodiment of the present application;
图4是本申请图3的实施例提供的数据趋势检测方法中步骤302的流程图;FIG. 4 is a flowchart of step 302 in the data trend detection method provided by the embodiment of FIG. 3 of the present application;
图5是本申请的实施方式提供的电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请的各实施例进行详细的阐述。然而,本领域的普通技术人员可以理解,在本申请各实施例中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施例的种种变化和修改,也可以实现本申请所要求保护的技术方案。以下各个实施例的划分是为了描述方便,不应对本申请的具体实现方式构成任何限定,各个实施例在不矛盾的前提下可以相互结合相互引用。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. However, those of ordinary skill in the art can understand that in each embodiment of the application, many technical details are provided for readers to better understand the application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in this application can also be realized. The division of the following embodiments is for the convenience of description, and should not constitute any limitation to the specific implementation of the present application, and the embodiments can be combined and referred to each other on the premise of no contradiction.
本申请提供的数据趋势检测方法,如图1所示,包括以下步骤。The data trend detection method provided in this application, as shown in FIG. 1 , includes the following steps.
步骤101,获取历史数据,并将历史数据按时间顺序划分为多份子数据,其中,历史数据为需要被网络设备响应处理的数据。 Step 101, acquiring historical data and dividing the historical data into multiple sub-data in chronological order, wherein the historical data is data that needs to be processed by the network device in response.
本实施例中,历史数据为需要被网络设备响应处理的数据,比如:消息数据。本申请的数据趋势检测方法可以应用于某一服务平台,也可以应用于某一网络中的电子设备中,还可以应用于某一系统的中间件,比如:DT(Data Technology,数据技术)系统的中间件(如:Kafka数据库)。In this embodiment, the historical data is data that needs to be processed by the network device in response, such as message data. The data trend detection method of the present application can be applied to a certain service platform, can also be applied to electronic equipment in a certain network, and can also be applied to the middleware of a certain system, such as: DT (Data Technology, data technology) system middleware (such as: Kafka database).
需要说明的是,本申请所说的历史数据是一种即时数据。比如:第一天,产生了100条数据,第二天,产生了50条数据,响应处理了40条数据,则当前时刻获得的历史数据为110条。又比如:第一天,产生了100条数据,第二天,没有产生数据,第三天,没有产生数据,则当前时刻的历史数据为100条。It should be noted that the historical data mentioned in this application is a kind of real-time data. For example: on the first day, 100 pieces of data are generated, on the second day, 50 pieces of data are generated, and 40 pieces of data are processed in response, then the historical data obtained at the current moment is 110 pieces. Another example: on the first day, 100 pieces of data are generated, on the second day, no data is generated, and on the third day, no data is generated, then the historical data at the current moment is 100 pieces.
另外,步骤101中将历史数据按时间顺序划分为多份子数据,其中时间的颗粒度可以是一天、一小时,也可以是一分钟、一秒、甚至于一毫秒。而具体采用何种时间颗粒度将历史数据划分为多份子数据,可以根据应用场景的网络的规模和网络中网络设备的数量进行决定。In addition, in step 101, the historical data is divided into multiple sub-data in chronological order, where the granularity of time can be one day, one hour, or one minute, one second, or even one millisecond. The specific time granularity used to divide historical data into multiple pieces of data can be determined according to the scale of the network in the application scenario and the number of network devices in the network.
在一实施例中,可以将历史数据按时间顺序均匀划分为多份子数据,还可以按照应用场景的特点选取不同的划分方式。比如:由于白天每一分钟甚至每一秒钟都会产生大量需要响应的数据,而晚上则可能产生较少的需要响应的数据。因此可以将白天的历史数据(7:00—24:00)按分钟划分为多份,将夜晚的历史数据(1:00-7:00)按小时划分为多份。In an embodiment, the historical data can be evenly divided into multiple sub-data in chronological order, and different division methods can also be selected according to the characteristics of the application scenario. For example: Since a large amount of data that needs to be responded to is generated every minute or even every second during the day, less data that needs to be responded to may be generated at night. Therefore, the historical data of the day (7:00-24:00) can be divided into multiple parts by minute, and the historical data of night (1:00-7:00) can be divided into multiple parts by hour.
另外,在将历史数据按时间顺序划分为多份子数据之前,还可以包括:当检测到历史数据中存在缺失的数据时,用缺失的数据的前一时刻的历史数据填补缺失的数据。即对历史数据进行预处理,确保历史数据的完整性。In addition, before dividing the historical data into multiple pieces of sub-data in chronological order, it may further include: when missing data is detected in the historical data, filling the missing data with historical data at a moment before the missing data. That is to preprocess the historical data to ensure the integrity of the historical data.
步骤102,对多份子数据分别进行曲线拟合,获取每份子数据的拟合线段的斜率。 Step 102, perform curve fitting on multiple sub-data respectively, and obtain the slope of the fitted line segment of each sub-data.
本实施例中,对每份子数据进行曲线拟合时,可以根据每份子数据的分布特点选择不同的拟合方法,可以采用最小二乘法、三次样条曲线拟合法、时间序列模型Prophet、贝叶斯采样方法拟合等任何现有的曲线拟合方法对数据进行处理,此处仅为举例说明,不做任何具体限定。In this embodiment, when performing curve fitting on each sub-data, different fitting methods can be selected according to the distribution characteristics of each sub-data, such as least squares method, cubic spline curve fitting method, time series model Prophet, Bayeux Any existing curve fitting method such as Adams sampling method fitting to process the data, this is only an example for illustration, without any specific limitation.
在一实施例中,对相邻两份子数据进行曲线拟合过程中,将前一份子数据对应的拟合线段的尾端点与后一份子数据对应的拟合线段的首端点进行连接。也就是说,在对多份子数据分别进行曲线拟合获取每份子数据的拟合线段时,每份子数据的拟合线段之间的曲线需要保持连续,否则得到多份子数据的斜率不能准确表示数据的趋势情况。比如:将获取的历史数据按时间顺序划分为25份,每份中包含100条数据,则第一份子数据表示为S1(k1、k2、……、k100),获取的拟合线段为Y1(x),第二份子数据表示为S2(k1、k2、……、k100),获取的拟合线段为Y2(x),则第一份子数据的最后一个端点Y1(k100)和第二份子数据的第一个端点Y2(k1)之间的曲线需要为连续的。具体地,可以在第一个拟合线段的尾端点和第二个拟合线段的首端点之间选择一个点作为参考点,将第一份子数据的拟合函数向右取极限,将第二份子数据的拟合函数向左取极限,当第一份子数据的拟合函数在参考点处的右极限值与第二份子数据的拟合函数在参考点处的左极限值相等时,就可以保证相邻两份拟合线段之间为连续的曲线。当然,参考点的选取方式在此不做限定,可以任意选取,也可以进行插值选取。In one embodiment, during the curve fitting process of two adjacent pieces of sub-data, the end point of the fitted line segment corresponding to the previous sub-data is connected to the first endpoint of the fitted line segment corresponding to the next sub-data. That is to say, when performing curve fitting on multiple sub-data to obtain the fitted line segment of each sub-data, the curve between the fitted line segments of each sub-data needs to be continuous, otherwise the slope obtained from multiple sub-data cannot accurately represent the data trend situation. For example: Divide the obtained historical data into 25 parts in chronological order, each containing 100 pieces of data, then the first sub-data is expressed as S1(k1, k2,...,k100), and the obtained fitting line segment is Y1( x), the second sub-data is expressed as S2(k1, k2,...,k100), and the obtained fitting line segment is Y2(x), then the last endpoint Y1(k100) of the first sub-data and the second sub-data The curve between the first endpoint of Y2(k1) needs to be continuous. Specifically, a point can be selected as a reference point between the end point of the first fitted line segment and the first end point of the second fitted line segment, and the fitting function of the first part of data is limited to the right, and the second The fitting function of the member data takes the limit to the left, when the right limit value of the fitting function of the first part of data at the reference point is equal to the left limit value of the fitting function of the second part of data at the reference point, it can be Ensure that there is a continuous curve between two adjacent fitting line segments. Of course, the selection method of the reference point is not limited here, it can be selected arbitrarily, and can also be selected by interpolation.
步骤103,对多份子数据的斜率进行分布对称性检测,获取历史数据的趋势。In step 103, the distribution symmetry detection is performed on the slopes of multiple sub-data to obtain the trend of historical data.
本实施例中,对多份子数据的斜率进行分布对称性检测时,多份子数据的斜率是按照多份子数据对应的时间顺序排列的,如此才能保证获取历史数据的真实趋势。对多份子数据的斜率进行分布对称性检测,即检测多份子数据的斜率的对称中心、关于对称中心的对称程度。比如:若多份子数据的斜率关于0对称分布,则表示数据没有明显的变化趋势。若多份子数据的斜率 偏离0且更偏向正值,则数据为增长趋势。若多份子数据的斜率偏离0且更偏向负值,则数据为增长趋势。In this embodiment, when the distribution symmetry detection is performed on the slopes of multiple pieces of data, the slopes of multiple pieces of data are arranged according to the time sequence corresponding to the multiple pieces of data, so as to ensure that the real trend of historical data can be obtained. The distribution symmetry detection is performed on the slope of multiple pieces of data, that is, the symmetry center and the degree of symmetry about the symmetry center of the slope of multiple pieces of data are detected. For example: if the slope of multiple sub-data is symmetrically distributed about 0, it means that the data has no obvious trend of change. If the slope of multiple sub-data deviates from 0 and is more positive, the data shows an increasing trend. If the slope of multiple sub-data deviates from 0 and is more negative, the data shows an increasing trend.
另外,数据的趋势可以预先设定多种趋势类型,比如:数据数量随着时间而增长的为增长趋势,数据数量随着时间而减少的为下降趋势,数据数量一直保持不变的可以定义为数据有堆积趋势(可以将堆积趋势看成增长趋势),也可以定义为数据无趋势。又比如:某一数据库最多可以存储500条数据,当前有50条数据,这50条数据一直未被响应处理,可以定义该数据为无趋势(既不增长也不减少)。又比如:某一数据库最多可以存储500条数据,当前时刻该数据库有400条数据一直未被响应处理,此时可以定义这430条数据有堆积趋势或增长趋势。即可以根据存储数据的数据库容量设定一阈值,若数据的数量大于该阈值认为有堆积趋势或增长趋势,若数据的数量小于该阈值认为无趋势。In addition, the trend of data can pre-set a variety of trend types. For example, if the amount of data increases with time, it is an increase trend, if the amount of data decreases with time, it is a downward trend, and if the amount of data remains constant, it can be defined as The data has a tendency to accumulate (the accumulation trend can be regarded as a growth trend), or it can be defined as the data has no trend. Another example: a certain database can store up to 500 pieces of data, and currently there are 50 pieces of data, which have not been responded to and processed, and the data can be defined as no trend (neither increasing nor decreasing). Another example: a database can store up to 500 pieces of data, and at the current moment, 400 pieces of data in the database have not been responded to and processed. At this time, it can be defined that these 430 pieces of data have a tendency to accumulate or increase. That is, a threshold can be set according to the database capacity for storing data. If the amount of data is greater than the threshold, it is considered that there is an accumulation or growth trend. If the amount of data is less than the threshold, it is considered that there is no trend.
另外,对于判定为增长趋势的历史数据,可以进一步分析历史数据的增长的程度。比如:定义每秒钟数据增长的数量小于1000条的为轻度增长趋势,定义每秒钟数据增长数量大于5000条的为快速增长趋势。当然,此处仅为具体的举例说明,可以根据应用场景和网络规模定义多个不同的阈值来分析获取历史数据增长趋势的增长程度。In addition, for the historical data determined to be an increasing trend, the degree of growth of the historical data may be further analyzed. For example: define a mild growth trend if the number of data growth per second is less than 1,000, and define a rapid growth trend if the number of data growth per second is greater than 5,000. Of course, this is only a specific example, and multiple different thresholds can be defined according to application scenarios and network scales to analyze and obtain the growth degree of historical data growth trends.
在一实施例中,在获取历史数据之后,并将历史数据按时间顺序划分为多份子数据之前,获取历史数据的数量,并监测到历史数据的数量在预设的监测时间内有变化,将历史数据按时间顺序划分为多份子数据,然后执行后续步骤102和步骤103。In one embodiment, after obtaining the historical data and before dividing the historical data into multiple sub-data in chronological order, the quantity of the historical data is obtained, and it is detected that the quantity of the historical data changes within the preset monitoring time, and the The historical data is divided into multiple sub-data in chronological order, and then subsequent steps 102 and 103 are performed.
在一实施例中,获取历史数据之后,还包括:获取历史数据的数量;当监测到历史数据的数量在预设的监测时间内保持不变且大于预设的第四阈值时,确定历史数据有增长趋势。需要说明的是,获取历史数据的数量之后,若历史数据的数量一直保持不变,则说明该历史数据一直未被响应处理。同时若历史数据的数量大于预设的第四阈值,则可以不用对该历史数据进行趋 势检测,直接确定该历史数据有堆积趋势。In one embodiment, after obtaining the historical data, it also includes: obtaining the quantity of historical data; when it is monitored that the quantity of historical data remains unchanged within the preset monitoring time and is greater than the preset fourth threshold, determine the historical data There is a growing trend. It should be noted that after the quantity of historical data is obtained, if the quantity of historical data remains unchanged, it means that the historical data has not been processed by the response. At the same time, if the amount of historical data is greater than the preset fourth threshold, it is not necessary to perform trend detection on the historical data, and directly determine that the historical data has a tendency to accumulate.
本申请提出的一种数据趋势检测方法,通过将历史数据划分为多份子数据,对每份子数据进行曲线拟合获取多份子数据的斜率,每一个斜率反映了历史数据中某一时间段的数据的趋势情况,所有斜率则实现了对历史数据整体趋势情况的量化。然后对多份子数据的斜率进行分布对称性检测,即可获取历史数据的整体趋势情况。本方法能对复杂情况的数据的整体趋势进行准确、快速判断。A data trend detection method proposed in this application divides historical data into multiple sub-data, and performs curve fitting on each sub-data to obtain the slope of multiple sub-data, and each slope reflects the data of a certain period of time in the historical data The trend of all slopes realizes the quantification of the overall trend of historical data. Then, the distribution symmetry detection is performed on the slope of multiple sub-data to obtain the overall trend of the historical data. The method can accurately and quickly judge the overall trend of the data in complex situations.
本申请的实施例涉及一种数据趋势检测方法,如图2所示,包括以下步骤。The embodiment of the present application relates to a data trend detection method, as shown in FIG. 2 , including the following steps.
步骤201,获取历史数据,并将历史数据按时间顺序划分为多份子数据,其中,历史数据为需要被网络设备响应处理的数据。 Step 201, acquiring historical data and dividing the historical data into multiple sub-data in chronological order, wherein the historical data is data that needs to be processed by the network device in response.
需要说明的是,第四阈值的设定可以根据应用场景、网络的规模、数据库的存储容量以及用户的需求综合决定,比如:若本申请的数据趋势检测方法应用于实时性要求极高的网络中,则可以将第四阈值直接设置为0,即若历史数据的数量一直保持为1>0,则判定数据有堆积趋势。当然,此处仅为具体的举例说明,第四阈值的数量可以为任何数值。It should be noted that the setting of the fourth threshold can be comprehensively determined according to the application scenario, the scale of the network, the storage capacity of the database and the needs of users. For example: if the data trend detection method of this application is applied to a network with extremely high real-time requirements , the fourth threshold can be directly set to 0, that is, if the number of historical data remains 1>0, it is determined that the data has a tendency to accumulate. Of course, this is only a specific example, and the number of the fourth thresholds may be any value.
步骤202,对多份子数据分别进行曲线拟合,获取每份子数据的拟合线段的斜率。 Step 202, performing curve fitting on multiple sub-data respectively, and obtaining the slope of the fitted line segment of each sub-data.
在本实施例中,步骤201、步骤202的具体实施细节与步骤101、102基本相同,在此不做赘述。In this embodiment, the specific implementation details of steps 201 and 202 are basically the same as those of steps 101 and 102, and will not be repeated here.
步骤203,对所述多份子数据的斜率的对称中心是否为0进行检验,获取第一数值。 Step 203, check whether the symmetry center of the slope of the plurality of pieces of sub-data is 0, and obtain a first value.
在本实施例中,在对所述多份子数据的斜率的对称中心是否为0进行检验时,可以采用威尔科克森(Wilcoxon)符号秩和检验的方法,Wilcoxon符号秩和检验用来检验成对的观测数据的差值是否来自均值为0的总体。获取的第一数值即为Wilcoxon符号秩和检验中的p值。另外,对所述多份子数据 的斜率的对称中心是否为0进行检验之前,可以将多份子数据的斜率按照时间顺序排列并组合成一个斜率数组进行处理,以方便处理,提高计算速度。In this embodiment, when testing whether the center of symmetry of the slope of the plurality of sub-data is 0, the Wilcoxon (Wilcoxon) signed rank sum test method can be used, and the Wilcoxon signed rank sum test is used to test Whether the difference between paired observations comes from a population with a mean of zero. The first value obtained is the p-value in the Wilcoxon signed rank sum test. In addition, before checking whether the center of symmetry of the slopes of the multiple pieces of sub-data is 0, the slopes of the multiple pieces of sub-data can be arranged in chronological order and combined into a slope array for processing to facilitate processing and improve calculation speed.
步骤204,对多份子数据的斜率进行偏度计算,获取第二数值。 Step 204, performing skewness calculation on the slopes of multiple pieces of sub-data to obtain a second value.
在本实施例中,偏度是表征概率分布密度曲线相对于平均值不对称程度的特征数,直观看来就是密度函数曲线尾部的相对长度。比如:正态分布的偏度为0,即两侧尾部长度对称。在计算多份子数据的偏度时,本实施例采用如下公式计算:
其中g
1表示为偏度,m
i为计算过程中的中间量,
表示为多份子数据的斜率的均值,x
n表示第n份子数据的斜率,N表示斜率数据的数量。本实施例为了计算多份子数据的斜率关于0的偏度,可以直接用0代替
进行计算,计算结果就可直接表示多份子数据的斜率关于0的对称程度。
In this embodiment, the skewness is a characteristic number that characterizes the degree of asymmetry of the probability distribution density curve relative to the average value, and it is intuitively seen as the relative length of the tail of the density function curve. For example: the skewness of the normal distribution is 0, that is, the lengths of the tails on both sides are symmetrical. When calculating the skewness of multiple sub-data, this embodiment uses the following formula to calculate: where g 1 is expressed as skewness, mi is the intermediate quantity in the calculation process, Expressed as the average value of the slope of multiple sub-data, x n represents the slope of the n-th sub-data, and N represents the number of slope data. In this embodiment, in order to calculate the skewness of the slope of multiple molecular data with respect to 0, it can be directly replaced by 0 Calculation is performed, and the calculation result can directly represent the symmetry degree of the slope of the multi-part data with respect to 0.
步骤205,计算多份子数据的斜率的均值和方差,并根据均值和方差获取第三数值。 Step 205, calculating the mean value and variance of the slopes of multiple pieces of sub-data, and obtaining a third value according to the mean value and variance.
在本实施例中,将多份子数据的斜率的均值除以多份子数据斜率的方差得到的结果作为第三数值。In this embodiment, the result obtained by dividing the mean value of the slopes of the multiple pieces of data by the variance of the slopes of the multiple pieces of data is used as the third value.
步骤206,当第一数值、斜率数组的均值、第二数值和第三数值满足预设的判定条件时,确定历史数据有增长趋势;其中,预设的判定条件为预设的第一条件、预设的第二条件和预设的第三条件中至少两个条件成立;第一条件为所述第一数值小于预设的第一阈值且所述均值大于0,第二条件为所述第二数值大于预设的第二阈值,所述第三条件为所述第三数值大于预设的第三阈值。 Step 206, when the first value, the mean value of the slope array, the second value and the third value meet the preset judgment conditions, it is determined that the historical data has an increasing trend; wherein, the preset judgment conditions are the preset first conditions, At least two of the preset second condition and the preset third condition are satisfied; the first condition is that the first value is less than the preset first threshold and the average value is greater than 0, and the second condition is that the first The second value is greater than a preset second threshold, and the third condition is that the third value is greater than a preset third threshold.
本实施例中,第一条件用数学符号表示为:criteria_1=p<m1 and mean(k)>0,其中p为第一数值(以Wilcoxon符号秩和检验中的p值为例),m1为第一阈值,mean(k)为多份子数据斜率的均值;第二条件用数学符号表示为:criteria_2=g1>m2,其中g1为多份子数据的偏度,m2为第二阈值;第三条件 用数学符号表示为:criteria_3=[mean(k)/std(k)]>m3,其中std(k)为多份子数据的斜率的方差,m3为第三阈值。当第一条件、第二条件和第三条件中至少有两个成立时,判定数据有增长趋势,否则为无增长趋势。需要说明的是,第一阈值,第二阈值和第三阈值的设定可以根据专家经验、网络规模和应用场景的需要综合决定。在一实施例中,可以将第一阈值设定为0.05,第二阈值设定为1,第三阈值为0.1。In this embodiment, the first condition is represented by mathematical symbols: criteria_1=p<m1 and mean(k)>0, where p is the first value (taking the p value in the Wilcoxon signed rank sum test as an example), and m1 is The first threshold, mean(k) is the mean value of the slope of multiple sub-data; the second condition is expressed in mathematical symbols: criteria_2=g1>m2, where g1 is the skewness of multiple sub-data, and m2 is the second threshold; the third condition It is expressed in mathematical symbols as: criteria_3=[mean(k)/std(k)]>m3, where std(k) is the variance of the slope of multiple pieces of sub-data, and m3 is the third threshold. When at least two of the first condition, the second condition and the third condition are established, it is judged that the data has an increasing trend, otherwise, there is no increasing trend. It should be noted that the setting of the first threshold, the second threshold and the third threshold may be comprehensively determined according to expert experience, network scale and application scenarios. In an embodiment, the first threshold may be set to 0.05, the second threshold to 1, and the third threshold to 0.1.
另外,在对多份子数据的斜率进行分布对称性检测时,还可以获取多份子数据斜率的概率密度函数,获取概率密度曲线在x>0部分的积分面积(第一面积)和概率密度曲线在x<0部分的积分面积(第二面积),当第一面积大于第二面积时,可以判定数据有增长趋势。另外,还可以计算多份子数据的斜率的正值和,计算多份子数据的斜率的负值和,判断正值和与负值和的比值是否大于阈值,大于阈值时判定数据有增长趋势。In addition, when detecting the distribution symmetry of the slope of multiple pieces of data, the probability density function of the slope of multiple pieces of data can also be obtained, and the integral area (first area) of the probability density curve at x>0 and the probability density curve at x>0 can be obtained. The integral area (the second area) of the x<0 part, when the first area is greater than the second area, it can be judged that the data has a growing trend. In addition, it can also calculate the positive sum of the slopes of multiple pieces of data, calculate the negative sum of the slopes of multiple pieces of data, judge whether the ratio of the positive sum to the negative sum is greater than the threshold, and determine that the data has a growing trend when it is greater than the threshold.
在一实施例中,确定历史数据有增长趋势或堆积趋势之后,还包括:将历史数据的趋势检测结果进行保存;在预设的时间间隔之后,重新获取历史数据,对历史数据进行趋势检测;当趋势检测结果再次为增长趋势或堆积趋势时,产生数据堆积异常告警。In one embodiment, after determining that the historical data has a growth trend or accumulation trend, it further includes: saving the trend detection results of the historical data; re-acquiring the historical data after a preset time interval, and performing trend detection on the historical data; When the trend detection result is an increasing trend or accumulation trend again, an abnormal data accumulation alarm will be generated.
需要说明的是,当第一次确定数据有增长趋势或堆积趋势之后,将检测结果保存,在预设的时间间隔之后,多次重新获取历史数据,对历史数据进行趋势检测。比如:当前时刻检测到历史数据有增长趋势或堆积趋势,假设预设的时间间隔为一天(24小时),则一天之后,重新获取历史数据,再次进行趋势检测,当趋势检测结果再次为增长趋势或堆积趋势时,产生数据堆积异常告警。当然,当趋势检测结果为增长趋势或堆积趋势的次数为多次时,就产生数据堆积异常告警,具体次数可以任意设定。另外,堆积趋势也可以认为是一种增长趋势,具体对数据增长趋势的定义可以根据应用场景、网络规模等自行设定。It should be noted that when the data has a growth trend or accumulation trend is determined for the first time, the detection results are saved, and after a preset time interval, the historical data is reacquired multiple times to perform trend detection on the historical data. For example: at the current moment, it is detected that the historical data has a growth trend or accumulation trend, assuming that the preset time interval is one day (24 hours), then after one day, the historical data is re-obtained, and the trend detection is performed again. When the trend detection result is an increase trend again or accumulation trend, an abnormal data accumulation alarm will be generated. Of course, when the trend detection result is an increasing trend or the number of times of the accumulation trend is multiple, an abnormal data accumulation alarm will be generated, and the specific number of times can be set arbitrarily. In addition, the accumulation trend can also be considered as a growth trend, and the specific definition of the data growth trend can be set according to the application scenario and network scale.
本申请提出的一种数据趋势检测方法,通过将历史数据划分为多份子数 据,对每份子数据进行曲线拟合获取多份子数据的斜率,每一个斜率反映了历史数据中某一时间段的数据的趋势情况,所有斜率则实现了对历史数据整体趋势情况的量化。然后对多份子数据的斜率进行Wilcoxon符号秩和检验、偏度计算、均值和方差计算,根据获取的数据和多个判定条件准确量化历史数据的整体趋势。本方法能对复杂情况的数据的整体趋势进行准确、快速判断,避免数据出现堆积时无法准确检测。A data trend detection method proposed in this application divides historical data into multiple sub-data, and performs curve fitting on each sub-data to obtain the slope of multiple sub-data, and each slope reflects the data of a certain period of time in the historical data The trend of all slopes realizes the quantification of the overall trend of historical data. Then conduct Wilcoxon signed rank sum test, skewness calculation, mean and variance calculation on the slope of multiple sub-data, and accurately quantify the overall trend of historical data according to the acquired data and multiple judgment conditions. The method can accurately and quickly judge the overall trend of the data in complex situations, and avoid accurate detection when the data is piled up.
本申请提出的一种数据趋势检测方法,如图3所示,包括以下步骤。A data trend detection method proposed in this application, as shown in FIG. 3 , includes the following steps.
步骤301,获取历史数据的响应时间。 Step 301, acquiring the response time of historical data.
本实施例中,历史数据为即时数据,其响应时间为历史数据的数量小于或等于预设的第五阈值时的时刻。比如:day1,产生100条数据(历史数据=100),day2,产生50条数据(历史数据=150),day3,没有产生数据,消费140条(历史数据=10<阈值,响应时间T1),day4,产生20条(历史数据=30),消费30条(历史数据=0<阈值,响应时间T2),则当前时刻对历史数据进行处理时就获取到了两个响应时间T1和T2。需要说明的是,第五阈值的数值可以根据网络规模、用户需求、应用场景等综合决定,甚至于可以设定为0。另外,本申请中的第四阈值和第五阈值可以相等,也可以不等。In this embodiment, the historical data is real-time data, and its response time is the moment when the amount of historical data is less than or equal to a preset fifth threshold. For example: day1, generate 100 pieces of data (historical data=100), day2, generate 50 pieces of data (historical data=150), day3, generate no data, consume 140 pieces (historical data=10<threshold, response time T1), On day4, 20 records are generated (historical data = 30), and 30 records are consumed (historical data = 0<threshold, response time T2), then two response times T1 and T2 are obtained when the historical data is processed at the current moment. It should be noted that the value of the fifth threshold may be comprehensively determined according to network scale, user requirements, application scenarios, etc., and may even be set to 0. In addition, the fourth threshold and the fifth threshold in this application may be equal or unequal.
步骤302,对历史数据的响应时间进行分析,获取历史数据的分析结果。 Step 302, analyze the response time of the historical data, and obtain the analysis result of the historical data.
进一步地,如图4所示,本实施例中步骤302还可以包括以下步骤。Further, as shown in FIG. 4 , step 302 in this embodiment may further include the following steps.
步骤401,将响应时间中距离当前时刻最近的一个响应时间作为历史数据的第一响应时间。 Step 401, taking the response time closest to the current moment among the response times as the first response time of the historical data.
步骤402,获取第一响应时间与当前时刻的时间差值。 Step 402, acquiring the time difference between the first response time and the current moment.
步骤403,将时间差值和预设的时间阈值进行比较,根据比较结果获取历史数据的分析结果。 Step 403, comparing the time difference with a preset time threshold, and obtaining an analysis result of historical data according to the comparison result.
本实施例中,当第一响应时间和当前时刻之间的时间间隔小于预设的时间阈值时,认为数据被及时响应处理,否则认为数据未被及时响应。需要进行趋势检测。In this embodiment, when the time interval between the first response time and the current moment is less than a preset time threshold, it is considered that the data is responded to and processed in a timely manner; otherwise, it is considered that the data is not responded to in a timely manner. Trend detection is required.
步骤303,当分析结果指示历史数据未被及时响应时,判定需要对历史数据进行趋势检测。 Step 303, when the analysis result indicates that the historical data has not been responded in time, it is determined that trend detection needs to be performed on the historical data.
步骤304,获取历史数据,并将历史数据按时间顺序划分为多份子数据,其中,历史数据为需要被网络设备响应处理的数据。 Step 304, acquiring historical data and dividing the historical data into multiple sub-data in chronological order, wherein the historical data is data that needs to be processed by the network device in response.
步骤305,对多份子数据分别进行曲线拟合,获取每份子数据的拟合线段的斜率。In step 305, curve fitting is performed on the plurality of pieces of sub-data respectively, and the slope of the fitted line segment of each piece of sub-data is obtained.
步骤306,对多份子数据的斜率进行分布对称性检测,获取历史数据的趋势。In step 306, the distribution symmetry detection is performed on the slopes of multiple pieces of sub-data to obtain the trend of historical data.
本实施例中,步骤304-步骤305的具体实施细节可以参考前面所述的多个实施例相关步骤的实施细节,在此不做赘述。In this embodiment, for specific implementation details of steps 304 to 305, reference may be made to the implementation details of related steps in the above-mentioned multiple embodiments, and details are not repeated here.
本申请提出的一种数据趋势检测方法,通过将历史数据划分为多份子数据,对每份子数据进行曲线拟合获取多份子数据的斜率,每一个斜率反映了历史数据中某一时间段的数据的趋势情况,所有斜率则实现了对历史数据整体趋势情况的量化。然后对多份子数据的斜率进行分布对称性检测,即可获取历史数据的整体趋势情况。本方法能对复杂情况的数据的整体趋势进行准确、快速判断。另外,在对历史数据进行趋势检测之前通过分析历史数据的响应时间判断历史数据是否需要进行趋势检测,提高趋势检测的效率。A data trend detection method proposed in this application divides historical data into multiple sub-data, and performs curve fitting on each sub-data to obtain the slope of multiple sub-data, and each slope reflects the data of a certain period of time in the historical data The trend of all slopes realizes the quantification of the overall trend of historical data. Then, the distribution symmetry detection is performed on the slope of multiple sub-data to obtain the overall trend of the historical data. The method can accurately and quickly judge the overall trend of the data in complex situations. In addition, before performing trend detection on historical data, it is judged whether historical data needs to perform trend detection by analyzing the response time of historical data, so as to improve the efficiency of trend detection.
此外,应当理解的是,上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本专利的保护范围内;对流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其流程的核心设计都在该专利的保护范围内。In addition, it should be understood that the division of steps in the above methods is only for clarity of description, and may be combined into one step or split into multiple steps during implementation. As long as the same logical relationship is included, all Within the scope of protection of this patent; adding insignificant modifications to the process or introducing insignificant designs without changing the core design of the process are all within the scope of protection of this patent.
本申请的实施方式涉及一种电子设备,如图5所示,包括:至少一个处理器501;以及,与至少一个处理器501通信连接的存储器502;其中,存储器502存储有可被至少一个处理器501执行的指令,指令被至少一个处理器501执行,以使至少一个处理器501能够执行如上述实施方式的数据趋势检 测方法。The embodiment of the present application relates to an electronic device, as shown in FIG. 5 , including: at least one processor 501; and a memory 502 connected in communication with at least one processor 501; wherein, the memory 502 stores information that can be processed by at least one Instructions executed by the processor 501, the instructions are executed by at least one processor 501, so that the at least one processor 501 can execute the data trend detection method as in the above embodiment.
该电子设备包括:一个或多个处理器501以及存储器502,图5中以一个处理器501为例。处理器501、存储器502可以通过总线或者其他方式连接,图5中以通过总线连接为例。存储器502作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施方式中策略空间内的各处理策略对应的算法就存储于存储器502中。处理器501通过运行存储在存储器502中的非易失性软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述数据趋势检测方法。The electronic device includes: one or more processors 501 and a memory 502, one processor 501 is taken as an example in FIG. 5 . The processor 501 and the memory 502 may be connected through a bus or in other ways, and connection through a bus is taken as an example in FIG. 5 . The memory 502, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs and modules, such as the corresponding processing strategies in the strategy space in the embodiment of the present application The algorithm is stored in the memory 502. The processor 501 executes various functional applications and data processing of the device by running the non-volatile software programs, instructions and modules stored in the memory 502, that is, realizes the above data trend detection method.
存储器502可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储选项列表等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施方式中,存储器502可选包括相对于处理器501远程设置的存储器,这些远程存储器可以通过网络连接至外接设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 502 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store an option list and the like. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage devices. In some implementations, the memory 502 may optionally include a memory set remotely relative to the processor 501, and these remote memories may be connected to an external device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
一个或者多个模块存储在存储器502中,当被一个或者多个处理器501执行时,执行上述任意方法实施方式中的数据趋势检测方法。One or more modules are stored in the memory 502, and when executed by one or more processors 501, execute the data trend detection method in any method implementation above.
上述产品可执行本申请实施方式所提供的方法,具备执行方法相应的功能模块和有益效果,未在本实施方式中详尽描述的技术细节,可参见本申请实施方式所提供的方法。The above-mentioned products can execute the methods provided in the embodiments of this application, and have the corresponding functional modules and beneficial effects for executing the methods. For technical details not described in detail in this embodiment, please refer to the methods provided in the embodiments of this application.
本申请的实施方式涉及一种计算机可读存储介质,存储有计算机程序。计算机程序被处理器执行时实现上述方法实施例。Embodiments of the present application relate to a computer-readable storage medium storing a computer program. The above method embodiments are implemented when the computer program is executed by the processor.
即,本领域技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor) 执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。That is, those skilled in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, the program is stored in a storage medium, and includes several instructions to make a device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
本领域的普通技术人员可以理解,上述各实施方式是实现本申请的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本申请的精神和范围。Those of ordinary skill in the art can understand that the above-mentioned implementation modes are specific examples for realizing the present application, and in practical applications, various changes can be made to it in form and details without departing from the spirit and spirit of the present application. scope.
Claims (12)
- 一种数据趋势检测方法,包括:A data trend detection method, comprising:获取历史数据,并将所述历史数据按时间顺序划分为多份子数据,其中,所述历史数据为需要被网络设备响应处理的数据;Obtaining historical data, and dividing the historical data into multiple sub-data in chronological order, wherein the historical data is data that needs to be processed by the network device in response;对所述多份子数据分别进行曲线拟合,获取每份子数据的拟合线段的斜率;Curve fitting is performed on the plurality of sub-data respectively, and the slope of the fitted line segment of each sub-data is obtained;对多份子数据的斜率进行分布对称性检测,获取所述历史数据的趋势。The distribution symmetry detection is performed on the slope of multiple pieces of sub-data to obtain the trend of the historical data.
- 根据权利要求1中所述的数据趋势检测方法,其中,所述对多份子数据的斜率进行分布对称性检测,获取所述历史数据的趋势,包括:The data trend detection method according to claim 1, wherein said performing distribution symmetry detection on the slope of multiple pieces of sub-data, and obtaining the trend of said historical data comprises:对所述多份子数据的斜率的对称中心是否为0进行检验,获取第一数值;Check whether the center of symmetry of the slope of the plurality of pieces of sub-data is 0, and obtain a first value;对所述多份子数据的斜率进行偏度计算,获取第二数值;performing skewness calculation on the slope of the plurality of pieces of sub-data to obtain a second value;计算所述多份子数据的斜率的均值和方差,并根据所述均值和所述方差获取第三数值;calculating the mean and variance of the slopes of the plurality of sub-data, and obtaining a third value according to the mean and the variance;若所述第一数值、所述多份子数据的斜率的均值、所述第二数值和所述第三数值满足预设的判定条件,确定所述历史数据有增长趋势;If the first value, the average value of the slopes of the plurality of sub-data, the second value and the third value meet a preset judgment condition, it is determined that the historical data has an increasing trend;其中,所述预设的判定条件为预设的第一条件、预设的第二条件和预设的第三条件中至少两个条件成立;第一条件为所述第一数值小于预设的第一阈值且所述均值大于0,第二条件为所述第二数值大于预设的第二阈值,所述第三条件为所述第三数值大于预设的第三阈值。Wherein, the preset judgment condition is that at least two conditions among the preset first condition, the preset second condition and the preset third condition are established; the first condition is that the first value is less than the preset The first threshold and the average value are greater than 0, the second condition is that the second value is greater than a preset second threshold, and the third condition is that the third value is greater than a preset third threshold.
- 根据权利要求1所述的数据趋势检测方法,其中,所述获取历史数据之后,并将所述历史数据按时间顺序划分为多份子数据之前,还包括:The data trend detection method according to claim 1, wherein, after the acquisition of historical data, and before dividing the historical data into multiple sub-data in chronological order, further comprising:获取所述历史数据的数量,并监测到所述历史数据的数量在预设的监测时间内有变化。The quantity of the historical data is acquired, and it is monitored that the quantity of the historical data changes within a preset monitoring time.
- 根据权利要求3所述的数据趋势检测方法,其中,所述获取历史数据之后,还包括:The data trend detection method according to claim 3, wherein, after the acquisition of historical data, further comprising:若监测到所述历史数据的数量在所述监测时间内保持不变且大于预设的 第四阈值,确定所述历史数据有增长趋势。If it is monitored that the quantity of the historical data remains unchanged within the monitoring time and is greater than the preset fourth threshold, it is determined that the historical data has an increasing trend.
- 根据权利要求1所述的数据趋势检测方法,其中,所述对所述多份子数据分别进行曲线拟合,包括:对相邻两份子数据进行曲线拟合过程中,将前一份子数据对应的拟合线段的尾端点与后一份子数据对应的拟合线段的首端点进行连接。The data trend detection method according to claim 1, wherein said performing curve fitting on said plurality of pieces of sub-data respectively comprises: during the process of performing curve fitting on two adjacent pieces of sub-data, the previous sub-data corresponding to The end point of the fitted line segment is connected with the first end point of the fitted line segment corresponding to the latter sub-data.
- 根据权利要求1至5中任一项所述的数据趋势检测方法,其中,所述获取历史数据,并将所述历史数据按时间顺序划分为多份子数据之前,还包括:The data trend detection method according to any one of claims 1 to 5, wherein, before acquiring historical data and dividing the historical data into multiple sub-data in chronological order, further comprising:获取所述历史数据的响应时间;Acquiring the response time of the historical data;对所述历史数据的响应时间进行分析,获取所述历史数据的分析结果;Analyzing the response time of the historical data to obtain an analysis result of the historical data;若所述分析结果指示所述历史数据未被及时响应,判定需要对所述历史数据进行趋势检测。If the analysis result indicates that the historical data has not been responded in time, it is determined that trend detection needs to be performed on the historical data.
- 根据权利要求6所述的数据趋势检测方法,其中,所述历史数据的响应时间为历史数据的数量小于或等于预设的第五阈值时的时刻。The data trend detection method according to claim 6, wherein the response time of the historical data is the moment when the amount of historical data is less than or equal to a preset fifth threshold.
- 根据权利要求7所述的数据趋势检测方法,其中,所述对所述历史数据的响应时间进行分析,获取所述历史数据的分析结果,包括:The data trend detection method according to claim 7, wherein said analyzing the response time of said historical data and obtaining the analysis result of said historical data comprises:将所述响应时间中距离当前时刻最近的一个响应时间作为所述历史数据的第一响应时间;Taking the response time closest to the current moment among the response times as the first response time of the historical data;获取所述第一响应时间与当前时刻的时间差值;Obtain the time difference between the first response time and the current moment;将所述时间差值和预设的时间阈值进行比较,根据比较结果获取所述历史数据的分析结果。The time difference is compared with a preset time threshold, and an analysis result of the historical data is obtained according to the comparison result.
- 根据权利要求2或4所述的数据趋势检测方法,其中,所述确定所述历史数据有增长趋势之后,还包括:The data trend detection method according to claim 2 or 4, wherein, after determining that the historical data has an increasing trend, further comprising:将所述历史数据的趋势检测结果进行保存;saving the trend detection results of the historical data;在预设的时间间隔之后,重新获取历史数据,对所述历史数据进行趋势检测;After a preset time interval, historical data is reacquired, and trend detection is performed on the historical data;若所述趋势检测结果再次为增长趋势,产生数据堆积异常告警。If the trend detection result is an increasing trend again, an abnormal data accumulation alarm is generated.
- 根据权利要求1所述的数据趋势检测方法,其中,所述将所述历史数据按时间顺序划分为多份子数据之前,还包括:The data trend detection method according to claim 1, wherein, before dividing the historical data into multiple sub-data in chronological order, further comprising:若检测到所述历史数据中存在缺失的数据,用所述缺失的数据的前一时刻的历史数据填补所述缺失的数据。If it is detected that there is missing data in the historical data, the missing data is filled with historical data at a moment before the missing data.
- 一种电子设备,包括:An electronic device comprising:至少一个处理器;以及,at least one processor; and,与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至10中任意一项所述数据趋势检测方法。The memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can perform the operation described in any one of claims 1 to 10 The data trend detection method described above.
- 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1至10中任一项所述的数据趋势检测方法。A computer-readable storage medium storing a computer program, wherein the computer program implements the data trend detection method according to any one of claims 1 to 10 when executed by a processor.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111192904.5A CN115982265A (en) | 2021-10-13 | 2021-10-13 | Data trend detection method, electronic device and storage medium |
CN202111192904.5 | 2021-10-13 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023061342A1 true WO2023061342A1 (en) | 2023-04-20 |
Family
ID=85962751
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/124465 WO2023061342A1 (en) | 2021-10-13 | 2022-10-10 | Data trend detection method, electronic device, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115982265A (en) |
WO (1) | WO2023061342A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116320043A (en) * | 2023-05-24 | 2023-06-23 | 深圳龙电华鑫控股集团股份有限公司 | Method and system for improving transmission efficiency of multi-carrier communication system |
CN116448263A (en) * | 2023-06-16 | 2023-07-18 | 山东德圣源新材料有限公司 | Method for detecting running state of boehmite production equipment |
CN117873838A (en) * | 2024-03-12 | 2024-04-12 | 武汉众诚华鑫科技有限公司 | Method and system for monitoring ambient temperature of telecommunication equipment |
CN118037013A (en) * | 2024-04-12 | 2024-05-14 | 济南玖通志恒信息技术有限公司 | Intelligent agricultural environment regulation and control method |
CN118133974A (en) * | 2024-05-08 | 2024-06-04 | 西安航天动力试验技术研究所 | Engine test run data processing method, device, equipment and medium |
CN118456119A (en) * | 2024-07-09 | 2024-08-09 | 湖北工业大学 | Intelligent anti-collision detection method and system for numerical control machining center |
CN118505274A (en) * | 2024-06-13 | 2024-08-16 | 北京法伯宏业科技发展有限公司 | Data trend prediction system based on AI analysis |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118447999A (en) * | 2023-10-11 | 2024-08-06 | 荣耀终端有限公司 | Method for monitoring motion information and related equipment |
CN117493832B (en) * | 2023-12-29 | 2024-04-09 | 江西飞尚科技有限公司 | Landslide hazard curve identification method, landslide hazard curve identification system, storage medium and computer |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110087358A1 (en) * | 2009-10-12 | 2011-04-14 | Boyl-Davis Theodore M | Methods and systems for processing surface data for the manufacturing of optimum fit mating parts |
CN106251026A (en) * | 2016-08-16 | 2016-12-21 | 南京信息工程大学 | Thunder and lightning based on PDBSCAN algorithm closes on trend prediction method |
CN110070205A (en) * | 2019-03-13 | 2019-07-30 | 中交广州航道局有限公司 | Trend prediction method, device, computer equipment and the storage medium of ship machine dredge pump |
CN111918319A (en) * | 2019-05-08 | 2020-11-10 | 中国移动通信集团福建有限公司 | Busy hour busy area prediction method and device |
CN111999580A (en) * | 2020-08-14 | 2020-11-27 | 佳都新太科技股份有限公司 | Detection method and device for subway platform gate, computer equipment and storage medium |
CN112418921A (en) * | 2020-11-11 | 2021-02-26 | 深圳力维智联技术有限公司 | Power demand prediction method, device, system and computer storage medium |
-
2021
- 2021-10-13 CN CN202111192904.5A patent/CN115982265A/en active Pending
-
2022
- 2022-10-10 WO PCT/CN2022/124465 patent/WO2023061342A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110087358A1 (en) * | 2009-10-12 | 2011-04-14 | Boyl-Davis Theodore M | Methods and systems for processing surface data for the manufacturing of optimum fit mating parts |
CN106251026A (en) * | 2016-08-16 | 2016-12-21 | 南京信息工程大学 | Thunder and lightning based on PDBSCAN algorithm closes on trend prediction method |
CN110070205A (en) * | 2019-03-13 | 2019-07-30 | 中交广州航道局有限公司 | Trend prediction method, device, computer equipment and the storage medium of ship machine dredge pump |
CN111918319A (en) * | 2019-05-08 | 2020-11-10 | 中国移动通信集团福建有限公司 | Busy hour busy area prediction method and device |
CN111999580A (en) * | 2020-08-14 | 2020-11-27 | 佳都新太科技股份有限公司 | Detection method and device for subway platform gate, computer equipment and storage medium |
CN112418921A (en) * | 2020-11-11 | 2021-02-26 | 深圳力维智联技术有限公司 | Power demand prediction method, device, system and computer storage medium |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116320043A (en) * | 2023-05-24 | 2023-06-23 | 深圳龙电华鑫控股集团股份有限公司 | Method and system for improving transmission efficiency of multi-carrier communication system |
CN116320043B (en) * | 2023-05-24 | 2023-08-01 | 深圳龙电华鑫控股集团股份有限公司 | Method and system for improving transmission efficiency of multi-carrier communication system |
CN116448263A (en) * | 2023-06-16 | 2023-07-18 | 山东德圣源新材料有限公司 | Method for detecting running state of boehmite production equipment |
CN116448263B (en) * | 2023-06-16 | 2023-09-05 | 山东德圣源新材料有限公司 | Method for detecting running state of boehmite production equipment |
CN117873838A (en) * | 2024-03-12 | 2024-04-12 | 武汉众诚华鑫科技有限公司 | Method and system for monitoring ambient temperature of telecommunication equipment |
CN117873838B (en) * | 2024-03-12 | 2024-05-24 | 武汉众诚华鑫科技有限公司 | Method and system for monitoring ambient temperature of telecommunication equipment |
CN118037013A (en) * | 2024-04-12 | 2024-05-14 | 济南玖通志恒信息技术有限公司 | Intelligent agricultural environment regulation and control method |
CN118133974A (en) * | 2024-05-08 | 2024-06-04 | 西安航天动力试验技术研究所 | Engine test run data processing method, device, equipment and medium |
CN118505274A (en) * | 2024-06-13 | 2024-08-16 | 北京法伯宏业科技发展有限公司 | Data trend prediction system based on AI analysis |
CN118456119A (en) * | 2024-07-09 | 2024-08-09 | 湖北工业大学 | Intelligent anti-collision detection method and system for numerical control machining center |
Also Published As
Publication number | Publication date |
---|---|
CN115982265A (en) | 2023-04-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2023061342A1 (en) | Data trend detection method, electronic device, and storage medium | |
CN110493065B (en) | Alarm correlation degree analysis method and system for cloud center operation and maintenance | |
CN111522636A (en) | Application container adjusting method, application container adjusting system, computer readable medium and terminal device | |
CN112749221A (en) | Data task scheduling method and device, storage medium and scheduling tool | |
CN113032157B (en) | Automatic intelligent server capacity expansion and reduction method and system | |
CN107346270B (en) | Method and system for real-time computation based radix estimation | |
WO2017054422A1 (en) | Method and device for managing cell peak time segment and self-organizing network cell | |
CN114090646A (en) | Abnormal electricity utilization identification method and system | |
CN111400045B (en) | Load balancing method and device | |
CN116167581A (en) | Battery demand estimation method and device, scheduling method and computer equipment | |
CN112367384A (en) | Kafka cluster-based dynamic speed limiting method and device and computer equipment | |
CN116774064B (en) | Battery self-discharge detection method, device, equipment and storage medium | |
CN114237505A (en) | Batch processing method and device of business data and computer equipment | |
CN117472652A (en) | Data backup method, device and system of cloud computing operation and maintenance platform | |
CN112751722B (en) | Data transmission quality monitoring method and system | |
CN116700624A (en) | Data deleting method and device, electronic equipment and storage medium | |
CN116502802A (en) | Data management system based on big data and wireless sensing technology | |
CN116204311A (en) | Pod cluster capacity expansion and contraction method and device, computer equipment and storage medium | |
CN117009094B (en) | Data oblique scattering method and device, electronic equipment and storage medium | |
CN116389584B (en) | Cloud edge data transmission method for electrochemical energy storage station | |
CN114238258B (en) | Database data processing method, device, computer equipment and storage medium | |
CN112202607B (en) | Statistical calculation method of log message, server and storage medium | |
WO2024066770A9 (en) | Information acquisition method and apparatus, and storage medium | |
US20230297393A1 (en) | Application tuning based on performance characteristics | |
CN116483658A (en) | Method, device, system, equipment and storage medium for monitoring server performance |
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: 22880279 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: 22880279 Country of ref document: EP Kind code of ref document: A1 |