A mobile application software flow detection system and method
Through the design of the mobile application software traffic detection system, the signal analysis module and the numerical calculation module are used to solve the problem in the existing technology of being unable to analyze the authenticity of software traffic anomalies, achieve more accurate detection results, and reduce detection errors.
Patent Information
- Application Number
- CN202411124303.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-16
AI Technical Summary
Existing software traffic detection systems cannot effectively analyze the authenticity of software traffic anomalies, resulting in detection errors or omissions.
A mobile application software traffic detection system is designed, including a software detection signal acquisition module, a normal signal analysis module, an abnormal signal analysis module and a numerical calculation analysis module. By classifying and analyzing the acquired traffic detection signals, normal and abnormal consumption are calculated. , compare the difference values to determine the authenticity of the signal and improve the accuracy of detection.
Through separate analysis of different signals, we can accurately determine the normal and abnormal conditions of software traffic, improve the accuracy of detection, and reduce the number of errors and omissions.
Smart Images

Figure CN118660291B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of software flow detection, and in particular to a mobile application software flow detection system and method. Background Art
[0002] At this stage, facing the security issues existing in software-defined networks, network abnormal traffic detection has begun to be applied to software-defined networks. It can perceive the abnormal traffic in software-defined networks, trace the source of network attacks through traffic analysis technology, and help security personnel take corresponding measures.
[0003] Some existing software traffic detection systems, when detecting the traffic usage of software, are unable to mark and remind software with abnormal usage due to the limitation that they can only detect the amount of traffic used. Secondly, when abnormal situations occur during the detection process, the authenticity of the abnormalities cannot be analyzed, resulting in errors or omissions in the detection. Summary of the invention
[0004] In view of the deficiencies in the prior art, the present invention provides a mobile application software flow detection system and method, which solves the problem that when detecting software flow, the authenticity of the abnormality cannot be analyzed, and there are errors or omissions.
[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: a mobile application software flow detection system, comprising:
[0006] The software detection signal acquisition module is used to acquire the traffic detection signal corresponding to the mobile application software, and the mobile application software represents different APPs installed on the mobile phone, such as video software, chat software and dating software, etc. At the same time, the common feature of this type of software is that it needs to be operated online, and the acquired traffic detection signal includes: normal marking signal and abnormal marking signal. Then the acquired traffic detection signal is transmitted separately, the normal marking signal is transmitted to the normal signal analysis module, and the abnormal marking signal is transmitted to the abnormal signal analysis module, and the acquired signal is analyzed through different functional modules.
[0007] The normal signal analysis module is used to analyze the mobile application software corresponding to the acquired normal marking signal, and here one of the mobile application software is taken as an example for analysis, and the specific analysis is:
[0008] The mobile application software corresponding to the normal marking signal is recorded as the object to be analyzed. First, the corresponding usage time to be analyzed is obtained. At the same time, the usage time can be classified into: real-time usage time and background standby time. Specifically, even if some applications are switched to the background, their background services are still running. These services may perform data synchronization, push notifications, automatic updates, etc., thereby consuming traffic. For example, the email application may need to check new emails regularly, the weather application may need to update the weather forecast, and the social media application may need to receive messages, etc. The real-time usage time indicates the corresponding time of normal user use, and the real-time usage time is recorded as Ts, and the background standby time is recorded as Td. Then, the network environment of the object to be analyzed within the time period t is obtained, and the specific value of the time period t is set by the operator, such as t can be one hour or one day, and the network environment is classified into stable and non-stable conditions; when the data traffic is too large, the network may be congested, which is another common cause of network fluctuations. The status of the server accessed by the user will also affect the stability of the network. If the server load is too high or fails, it may also cause network fluctuations.
[0009] Then, the real-time usage time and background standby time under stable conditions are obtained, and the corresponding network transmission speed under stable conditions is obtained. The overall traffic usage of the object to be analyzed under stable conditions is calculated based on the obtained data, and recorded as stable consumption. Specifically, the network transmission speed is expressed as the number of bits of data passing through the communication line per unit time.
[0010] Then, the real-time usage duration and background standby duration in the non-stationary state are obtained, and the corresponding network transmission speed in the non-stationary state is obtained. The transmission speed obtained here is an interval value, specifically the minimum and maximum values of the network transmission speed in the time period t. Then, the overall traffic usage of the object to be analyzed in the non-stationary state is calculated and recorded as the interval consumption. At the same time, the interval consumption is calculated by multiplying the minimum and maximum values of the network transmission speed with the usage time.
[0011] At the same time, the calculated interval consumption and stable consumption are summed to obtain the analysis consumption corresponding to the normal marking signal, and the analysis consumption information is generated, and then the analysis consumption information is transmitted to the numerical calculation and analysis module.
[0012] The numerical calculation and analysis module is used to obtain the transmitted analysis consumption information, and calculate the difference between it and the monitored consumption corresponding to the normal marking signal, and compare the calculated difference with the threshold. The specific value of the threshold is set by the operator. When the difference is less than the threshold, it indicates normal and generates normal information, and the object to be analyzed is not processed. When the difference is greater than the threshold, it indicates an abnormality, and the object to be analyzed is marked as a missed object, and the missed object information is generated, and then the missed object information is transmitted to the detection information output module.
[0013] The abnormal signal analysis module is used to analyze the acquired abnormal marking signal, and the specific analysis method is as follows:
[0014] The software corresponding to the abnormal signal is recorded as the abnormal object, and the abnormal cause of the abnormal object is determined. The abnormal cause here is expressed as the over-reporting or under-reporting of traffic. Then the basic information corresponding to the abnormal object is obtained, where the basic information includes the usage time and network environment. The specific network environment can be classified into local area network and cellular network. At the same time, the traffic usage corresponding to the local area network and cellular network is calculated separately.
[0015] When the network environment is a local area network, the specific analysis method for abnormal objects is as follows:
[0016] Obtain the traffic consumption corresponding to the background standby time of the abnormal object, and obtain the traffic consumption corresponding to the usage time, then sum the two to obtain the corresponding LAN consumption of the abnormal object in the LAN. Here, it is assumed that the corresponding network transmission speed in the LAN environment is stable. At the same time, when calculating according to the network transmission speed, the average network transmission speed obtained within the time period t is used as the standard for consumption calculation.
[0017] When the network environment is a cellular network, the specific analysis method for abnormal objects is as follows:
[0018] The usage time of the abnormal object within the time period t is obtained, and the network transmission speed corresponding to the usage time is obtained, and the network transmission speed is classified into stable and non-stationary types. For the network transmission speed in a stable environment, the corresponding network transmission speed mean is calculated as the calculation standard value, and then the corresponding cellular network stable consumption is calculated according to the usage time in the stable environment. For the network transmission speed in a non-stationary environment, the maximum and minimum values corresponding to the network transmission speed in the time period t are obtained, and then the corresponding cellular network non-stationary consumption under the non-stationary condition is calculated according to the usage time in the time period t. At the same time, the cellular network stable consumption and the cellular network non-stationary consumption are summed to obtain the cellular network consumption, and the cellular network non-stationary consumption calculated here is an interval consisting of a minimum value and a maximum value, and the product operation is performed according to the cellular network transmission speeds corresponding to the minimum value and the maximum value during the calculation.
[0019] At the same time, the generated cellular network consumption and local area network consumption are transmitted to the numerical calculation and analysis module.
[0020] The numerical calculation and analysis module is used to obtain the cellular network consumption and the monitored consumption within the time period t, and compare the overall consumption with the monitored consumption, and determine whether it matches the cause of the monitoring abnormality. If it matches, it means that the detection result is over-reported or under-reported, and a matching signal is generated. If it does not match, it means that the detection result is normal, there is no over-reporting or under-reporting, and a mismatch signal is generated.
[0021] At the same time, the generated matching signal or non-matching signal is transmitted to the monitoring information output module.
[0022] The present invention provides a mobile application software flow detection system and method. Compared with the prior art, it has the following beneficial effects:
[0023] The present invention analyzes the different generated signals separately, and for the normal marking signal that appears, calculates the traffic of the corresponding software to determine whether the current normally marked software is a normal signal. Secondly, for the abnormal marking signal that appears, the overall traffic usage is analyzed and determined in combination with the network situation, so as to determine the authenticity of the abnormal marking signal and improve the accuracy of the overall detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is the principle diagram of the system of the present invention;
[0025] Figure 2 The main flow chart of the method of the present invention is shown in FIG. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] See also Figure 1 The present application provides a mobile application software flow detection system, including: a software detection signal acquisition module, a normal signal analysis module, an abnormal signal analysis module, a numerical calculation analysis module, and a detection information output module.
[0028] Embodiment 1
[0029] The software detection signal acquisition module is used to acquire the traffic detection signal corresponding to the mobile application software, and the mobile application software represents different APPs installed on the mobile phone, such as video software, chat software and dating software, etc. At the same time, the common feature of this type of software is that it needs to be operated online, and the acquired traffic detection signal includes: normal marking signal and abnormal marking signal. Then the acquired traffic detection signal is transmitted separately, the normal marking signal is transmitted to the normal signal analysis module, and the abnormal marking signal is transmitted to the abnormal signal analysis module, and the acquired signal is analyzed through different functional modules.
[0030] The normal signal analysis module is used to analyze the mobile application software corresponding to the acquired normal marking signal, and here one of the mobile application software is taken as an example for analysis, and the specific analysis is:
[0031] The mobile application software corresponding to the normal marking signal is recorded as the object to be analyzed. First, the corresponding usage time to be analyzed is obtained. At the same time, the usage time can be classified into: real-time usage time and background standby time. Specifically, even if some applications are switched to the background, their background services are still running. These services may perform data synchronization, push notifications, automatic updates, etc., thereby consuming traffic. For example, the email application may need to check new emails regularly, the weather application may need to update the weather forecast, and the social media application may need to receive messages, etc. The real-time usage time indicates the corresponding time of normal user use, and the real-time usage time is recorded as Ts, and the background standby time is recorded as Td. Then, the network environment of the object to be analyzed within the time period t is obtained, and the specific value of the time period t is set by the operator, such as t can be one hour or one day, and the network environment is classified into stable and non-stable conditions; when the data traffic is too large, the network may be congested, which is another common cause of network fluctuations. The status of the server accessed by the user will also affect the stability of the network. If the server load is too high or fails, it may also cause network fluctuations.
[0032] Then, the real-time usage time and background standby time under stable conditions are obtained, and the corresponding network transmission speed under stable conditions is obtained. The overall traffic usage of the object to be analyzed under stable conditions is calculated based on the obtained data, and recorded as stable consumption. Specifically, the network transmission speed is expressed as the number of bits of data passing through the communication line per unit time.
[0033] Then, the real-time usage duration and background standby duration in the non-stationary state are obtained, and the corresponding network transmission speed in the non-stationary state is obtained. The transmission speed obtained here is an interval value, specifically the minimum and maximum values of the network transmission speed in the time period t. Then, the overall traffic usage of the object to be analyzed in the non-stationary state is calculated and recorded as the interval consumption. At the same time, the interval consumption is calculated by multiplying the minimum and maximum values of the network transmission speed with the usage time.
[0034] At the same time, the calculated interval consumption and stable consumption are summed to obtain the analysis consumption corresponding to the normal marking signal, and the analysis consumption information is generated, and then the analysis consumption information is transmitted to the numerical calculation and analysis module.
[0035] The numerical calculation and analysis module is used to obtain the transmitted analysis consumption information, and calculate the difference between it and the monitored consumption corresponding to the normal marking signal, and compare the calculated difference with the threshold. The specific value of the threshold is set by the operator. When the difference is less than the threshold, it indicates normal and generates normal information, and the object to be analyzed is not processed. When the difference is greater than the threshold, it indicates an abnormality, and the object to be analyzed is marked as a missed object, and the missed object information is generated, and then the missed object information is transmitted to the detection information output module.
[0036] The detection information output module is used to obtain the transmitted missed object information or normal marking signal and display it to the operator.
[0037] Embodiment 2
[0038] As the second embodiment of the present invention, the difference from the first embodiment is that the software detection signal acquisition module transmits the generated abnormal mark signal to the abnormal signal analysis module.
[0039] The abnormal signal analysis module is used to analyze the acquired abnormal marking signal. The specific analysis method is as follows:
[0040] The software corresponding to the abnormal signal is recorded as the abnormal object, and the abnormal cause of the abnormal object is determined. The abnormal cause here is expressed as the over-reporting or under-reporting of traffic. Then the basic information corresponding to the abnormal object is obtained, where the basic information includes the usage time and network environment. The specific network environment can be classified into local area network and cellular network. At the same time, the traffic usage corresponding to the local area network and cellular network is calculated separately.
[0041] When the network environment is a local area network, the specific analysis method for abnormal objects is as follows:
[0042] Obtain the traffic consumption corresponding to the background standby time of the abnormal object, and obtain the traffic consumption corresponding to the usage time, then sum the two to obtain the corresponding LAN consumption of the abnormal object in the LAN. Here, it is assumed that the corresponding network transmission speed in the LAN environment is stable. At the same time, when calculating according to the network transmission speed, the average network transmission speed obtained within the time period t is used as the standard for consumption calculation.
[0043] When the network environment is a cellular network, the specific analysis method for abnormal objects is as follows:
[0044] The usage time of the abnormal object within the time period t is obtained, and the network transmission speed corresponding to the usage time is obtained, and the network transmission speed is classified into stable and non-stationary types. For the network transmission speed in a stable environment, the corresponding network transmission speed mean is calculated as the calculation standard value, and then the corresponding cellular network stable consumption is calculated according to the usage time in the stable environment. For the network transmission speed in a non-stationary environment, the maximum and minimum values corresponding to the network transmission speed in the time period t are obtained, and then the corresponding cellular network non-stationary consumption under the non-stationary condition is calculated according to the usage time in the time period t. At the same time, the cellular network stable consumption and the cellular network non-stationary consumption are summed to obtain the cellular network consumption, and the cellular network non-stationary consumption calculated here is an interval consisting of a minimum value and a maximum value, and the product operation is performed according to the cellular network transmission speeds corresponding to the minimum value and the maximum value during the calculation.
[0045] At the same time, the generated cellular network consumption and local area network consumption are transmitted to the numerical calculation and analysis module.
[0046] The numerical calculation and analysis module is used to obtain the cellular network consumption and the monitored consumption within the time period t, and compare the overall consumption with the monitored consumption, and determine whether it matches the cause of the monitoring abnormality. If it matches, it means that the detection result is over-reported or under-reported, and a matching signal is generated. If it does not match, it means that the detection result is normal, there is no over-reporting or under-reporting, and a mismatch signal is generated.
[0047] At the same time, the generated matching signal or non-matching signal is transmitted to the monitoring information output module.
[0048] The detection information output module is used to transmit and display the acquired matching signal or non-matching signal to the operator.
[0049] Embodiment 3, as the embodiment 3 of the present invention, focuses on combining the implementation processes of embodiment 1 and embodiment 2 for implementation.
[0050] See also Figure 2 , a mobile application software flow detection method, the method specifically comprises the following steps:
[0051] Step 1: Obtain the generated normal marking signal and abnormal marking signal, and mark the software that generates different signals;
[0052] Step 2: Calculate the software traffic consumption corresponding to the normal marking signal to obtain the analysis consumption, and compare the analysis consumption with the monitoring consumption;
[0053] Step 3: Calculate the software traffic consumption corresponding to the abnormal mark signal to obtain the overall consumption, and compare the overall consumption with the monitored consumption;
[0054] Step 4: Perform difference analysis on the compared results to generate corresponding difference signals, and output the difference signals at the same time.
[0055] Some of the data in the above formulas are dimensionless and numerically calculated. Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.
[0056] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A mobile application software flow detection system, It is characterized in that include: The software detection signal acquisition module is used to acquire the normal marking signal and the abnormal marking signal generated by the software, and transmit the acquired normal marking signal to the normal signal analysis module, and transmit the abnormal marking signal to the abnormal signal analysis module; The normal signal analysis module is used to mark the software corresponding to the normal marking signal and record it as the object to be analyzed, and calculate the analysis consumption of the object to be analyzed according to the usage time and network environment of the object to be analyzed, and transmit the analysis consumption to the numerical calculation analysis module; The abnormal signal analysis module is used to mark the software corresponding to the abnormal marking signal and record it as an abnormal object, and calculate the cellular network consumption and local area network consumption of the abnormal object according to the usage time and network environment of the abnormal object, and transmit them to the numerical calculation analysis module; The numerical calculation and analysis module is used to compare the analyzed consumption with the preset monitoring consumption when receiving the analyzed consumption, and obtain the comparison result of normal information and missed object information; When receiving the cellular network consumption and the local area network consumption, the cellular network consumption and the local area network consumption are summed and then numerically compared with the preset monitoring consumption to generate a comparison result of a matching signal and a non-matching signal; It is also used to transmit the comparison result to the detection information output module; The detection information output module is used to display the comparison results to the operator.
2. A mobile application software flow detection system according to claim 1, It is characterized in that The specific method in which the normal signal analysis module analyzes the object to be analyzed is: S1: Record the mobile application software corresponding to the normal marking signal as the object to be analyzed, and obtain the usage time of the object to be analyzed, and classify the usage time into real-time usage time and background standby time; S2: Then, the network environment of the object to be analyzed within the time period t is obtained, and the network environment is classified into a stable situation and a non-stable situation.
3. A mobile application software flow detection system according to claim 2, It is characterized in that The normal signal analysis module calculates the consumption in both stable and non-steady conditions as follows: P1: Obtain the real-time usage time and background standby time of the object to be analyzed under stable conditions, and obtain the network transmission speed under stable conditions, calculate the traffic of the object to be analyzed, and record the calculated overall traffic value of the object to be analyzed as stable consumption; P2: Obtain the real-time usage time and background standby time of the object to be analyzed under non-stationary conditions, obtain the minimum and maximum values of the network transmission speed under non-stationary conditions, calculate the flow of the object to be analyzed, and record the calculated flow of the object to be analyzed as the interval consumption.
4. A mobile application software flow detection system according to claim 1, It is characterized in that The specific method in which the abnormal signal analysis module analyzes the abnormal object is as follows: The mobile application software corresponding to the abnormal signal is obtained and recorded as the abnormal object, and the abnormal cause of the abnormal object is determined. At the same time, the usage time and network environment information of the abnormal object are obtained, and then the usage time is classified into real-time usage time and background standby time, and the network environment is classified into local area network and cellular network.
5. A mobile application software flow detection system according to claim 1, It is characterized in that The abnormal signal analysis module analyzes abnormal objects in the local area network in the following way: The real-time usage time and background standby time of the abnormal object in the local area network are obtained, and the local area network consumption of the abnormal object is calculated according to the transmission speed of the local area network.
6. A mobile application software flow detection system according to claim 1, It is characterized in that The abnormal signal analysis module analyzes the abnormal object in the case of a cellular network in the following manner: Obtain the usage time of the abnormal object, and classify the cellular network into stable and non-stable conditions. For the network transmission speed in the stable condition, calculate the average network transmission speed within the time period t, and use the average network transmission speed as the calculation standard to calculate the average consumption of the cellular network; For the network transmission speed under non-stationary conditions, the maximum and minimum values of the network transmission speed within the time period t are obtained, and the non-stationary consumption of the cellular network under non-stationary conditions is calculated based on the usage time. The cellular network consumption is calculated by summing the average cellular network consumption and the non-stationary consumption of the cellular network.
7. A mobile application software flow detection system according to claim 1, It is characterized in that The numerical calculation and analysis module analyzes the consumption in the following manner: Obtain the analysis consumption of the transmission, and at the same time obtain the monitoring consumption corresponding to the normal marking signal, and calculate the difference between the two. Then compare the difference with the threshold. When the difference is less than the threshold, normal information is generated. When the difference is greater than the threshold, the object to be analyzed is marked as a missed object, and the missed object information is generated.
8. A mobile application software flow detection system according to claim 1, It is characterized in that The numerical calculation and analysis module analyzes the cellular network consumption in the following manner: Obtain the cellular network consumption and the monitored consumption within the time period t, and compare the overall consumption with the monitored consumption to determine whether the comparison result matches the cause of the monitored abnormality. If so, generate a match signal, otherwise, generate a mismatch signal.
9. A mobile application software flow detection method, used to execute a mobile application software flow detection system as claimed in any one of claims 1 to 8, It is characterized in that The method specifically comprises the following steps: Step 1: Obtain the generated normal marking signal and abnormal marking signal, and mark the software that generates different signals; Step 2: Calculate the software traffic consumption corresponding to the normal marking signal to obtain the analysis consumption, and compare the analysis consumption with the monitoring consumption; Step 3: Calculate the software traffic consumption corresponding to the abnormal mark signal to obtain the overall consumption, and compare the overall consumption with the monitored consumption; Step 4: Perform difference analysis on the compared results to generate corresponding difference signals, and output the difference signals at the same time.
Citation Information
Patent Citations
Internet surfing unusual flow detection method and device
CN103117903A
Attack behavior detection method based on flow abnormity and feature analysis
CN105119919A
