Network detection method, system, storage medium and electronic device
Patent Information
- Application Number
- CN202310092770.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-29
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-01-29
AI Technical Summary
Active diagnosis in existing network detection methods may aggravate network congestion, leading to lags and untimely responses during real-time operations in complex network environments, which may have serious consequences.
Adopting a passive detection method, by receiving multi-dimensional network data sent by the client, it performs attribution processing on the network, determines abnormal information, and avoids network freezes caused by frequent active detection. It also performs abnormal analysis based on multi-dimensional data to provide fast and accurate diagnosis. in accordance with.
It effectively avoids network congestion caused by active detection, quickly and accurately identifies network anomalies, provides the direction for network optimization, improves network transmission efficiency and reliability, and reduces ineffective optimization.
Smart Images

Figure CN116074217B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of network detection, and in particular to a network detection method, system, storage medium and electronic device. Background Art
[0002] As the network environment becomes more and more complex, more and more devices are using the network, and the network may cause packet loss, jitter, etc. due to various problems. As a result, when performing some real-time actions in a complex network environment, it is likely to be stuck and the response is not timely. These stuck and untimely responses may cause some serious consequences.
[0003] In the related art, active diagnosis is usually performed on the data flow in the network, that is, active sending of detection packets to the client. If the frequency is not well controlled, network congestion may be aggravated. In this regard, a better network detection solution needs to be provided. Summary of the invention
[0004] In view of this, the embodiments of the present disclosure provide a network detection method, system, storage medium and electronic device to solve the problem that the method of actively diagnosing data flows in the network in the related art may aggravate network congestion.
[0005] According to a first aspect, an embodiment of the present disclosure provides a network detection method, the method comprising: receiving a detection request for detecting a network, wherein the detection request comprises data items required for network detection, and target query conditions to be executed for searching the data items; according to the target query conditions, obtaining target data of data items corresponding to the target query conditions from stored multi-dimensional network data, wherein the multi-dimensional network data collects relevant data of the network in multiple dimensions for the client of the network; performing attribution processing on the network according to the target data to determine abnormal information of the network, wherein the abnormal information is used to perform abnormal analysis processing on the network.
[0006] By responding to detection requests, the network is passively detected, avoiding the situation where frequent active detection may aggravate network lag. In addition, network data from multiple dimensions of the client can be combined to attribute network anomalies, determine network anomaly information, and quickly and accurately provide a basis for network diagnosis.
[0007] According to the second aspect, an embodiment of the present disclosure provides a network detection system, comprising: a detection front end, a control module, a storage device, and a transmission device; the transmission device is connected to a client of a network to be detected, and is used to receive multidimensional network source data actively sent by the client, and process the multidimensional network source data to obtain multidimensional network data; the storage device is connected to the transmission device, and is used to store the multidimensional network data; the detection front end is used to generate a corresponding detection request according to the data items required for the network detection operated by the front end, and the target query conditions to be executed for searching the data items, and send the detection request to the control module; the control module is connected to the detection front end and the storage device, and is used to receive the detection request of the detection front end for detecting the network; according to the target query conditions, the target data of the data items corresponding to the target query conditions are obtained from the multidimensional network data stored in the storage device; the network is attributed according to the target data, and abnormal information of the network is determined, wherein the abnormal information is used to perform abnormal analysis on the network.
[0008] By responding to detection requests, the network is passively detected, avoiding the situation where frequent active detection may aggravate network lag. In addition, network data from multiple dimensions of the client can be combined to attribute network anomalies, determine network anomaly information, and quickly and accurately provide a basis for network diagnosis.
[0009] According to a third aspect, an embodiment of the present disclosure provides a computer-readable storage medium, wherein the storage medium is used to store a program, wherein the program executes the network detection method described in any one of the implementations of the first aspect above.
[0010] According to a fourth aspect, an embodiment of the present disclosure provides an electronic device, comprising at least one processor and a memory, wherein the memory is used to store at least one program, wherein when the at least one program is executed by the at least one processor, the at least one processor implements the network detection method described in any one of the embodiments of the first aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The features and advantages of the present disclosure will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the present disclosure in any way. In the accompanying drawings:
[0012] Figure 1 A flow chart of a network detection method according to Embodiment 1 of the present disclosure is shown;
[0013] Figure 2 A flow chart of a network detection method according to Embodiment 2 of the present disclosure is shown;
[0014] Figure 3A flow chart of a network detection method according to Embodiment 3 of the present disclosure is shown;
[0015] Figure 4 A flowchart of a network detection method according to Embodiment 4 of the present disclosure is shown;
[0016] Figure 5 A flowchart of a network detection method according to Embodiment 5 of the present disclosure is shown;
[0017] Figure 6 A schematic diagram of a network detection system according to Embodiment 6 of the present disclosure is shown;
[0018] Figure 7 A schematic diagram showing the overall architecture of a network detection system according to Embodiment 6 of the present disclosure;
[0019] Figure 8 A schematic diagram of an electronic device according to Embodiment 7 of the present disclosure is shown. DETAILED DESCRIPTION
[0020] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0021] In the related art, when detecting a network, the detection is usually carried out actively, specifically, according to a predetermined frequency, a detection request is actively initiated to intercept the traffic in the network, and an abnormality detection is performed on the traffic.
[0022] For example, in a scenario example of a gaming network provided in this specification, the gaming network includes a client and a server. Usually, the gaming network provides data interaction between different clients and servers. When actively detecting the gaming network, it is necessary to actively intercept data streams from the gaming network at a predetermined frequency on the server or a third-party device for abnormality detection, or to send detection packets to the client or server in the gaming network to detect abnormalities in the gaming network.
[0023] Since most gaming networks need to perform actions with high real-time requirements, when a freeze or untimely response occurs, it may cause some serious consequences if not handled in time. In the current gaming scenario, for some games, a freeze may overturn the outcome of a game. In the related art, if the frequency of actively sending detection packets to the client is not well controlled, it may aggravate the congestion on the link and increase the burden on the gaming network.
[0024] Therefore, it is necessary to provide a method different from active detection to detect anomalies in the network.
[0025] Network detection is to understand the cause of network anomalies. In the process of network transmission optimization, only by determining the cause of the jam can we "prescribe the right medicine" to avoid blind optimization and ineffective optimization. Therefore, accurate network detection and accurate attribution can provide direction for subsequent network transmission optimization. It can be said that the diagnosis results can provide guidance for network optimization methods and are also the cornerstone of the overall optimization plan.
[0026] Network detection can be considered from three aspects: determining the network failure point and restoring the normal operation of the network; discovering the shortcomings in network planning and configuration, improving and optimizing the performance of the network; observing the operation status of the network and timely predicting the quality of network communication.
[0027] Network detection is based on the knowledge of network principles, network configuration and network operation. Starting from the fault phenomenon, network diagnostic tools are used to obtain diagnostic information, determine the network fault point, find the root cause of the problem, eliminate the fault, and restore the normal operation of the network.
[0028] Network anomalies usually have the following possibilities: physical devices in the physical layer fail to connect to each other or hardware and line problems; interface configuration problems of network devices in the data link layer; network protocol configuration or operation errors in the network layer; equipment performance or communication congestion problems in the transport layer; The process of network fault diagnosis should be carried out from the physical layer upward along the seven-layer model of OSI (Open System Interconnection Reference Model). First check the physical layer, then check the data link layer, and so on, and try to determine the fault point of communication failure until the system communication is normal.
[0029] Based on this, the present application provides a network detection method, which estimates unobservable network information through the limited information that can be collected. This scheme is a passive diagnosis, which uses the diagnostic packets and data packets sent by the client as the data source, and then analyzes the data in the data source, attributes it according to certain indicators, and then derives the current network situation.
[0030] Furthermore, when improving the efficiency of network transmission, by attributing network data to determine the location and cause of network anomalies, and then improving and improving the network in a targeted manner, network transmission can be optimized more efficiently and quickly, and the burden on the network can be avoided.
[0031] This detection method does not take the initiative to diagnose because it actively sends detection packets to the client. If the frequency is not well controlled, it may aggravate the congestion on the link.
[0032] Specifically, the client sends a diagnostic data packet to the server at some appropriate time. The data packet includes multi-dimensional network data such as the packet routing path, the delay of each routing, and the packet loss rate. At the same time, the communication mode is distinguished, including WIFI communication and mobile data communication.
[0033] After the server collects and processes the information from different dimensions, it can obtain the network status on different links. After the information on different links is aggregated, the overall status of the partial network can be obtained. This can provide monitoring, alarm and other functions for SRE (Site Reliability Engineer).
[0034] It should be noted that the server can analyze the data reported by users and divide it according to the detection dimension, and then diagnose the cause to help SRE locate the problem. Through the analysis of the diagnosis cause, optimization points can be obtained, which can provide reference suggestions for SRE to determine the direction of network optimization. You can view the detailed route of network requests under specified conditions, and display the delay, packet loss, etc. of each hop, which can help SRE analyze the network situation at that time.
[0035] By analyzing the data reported by users, we can get a large picture of the network monitoring of the region and conduct network monitoring. We can view the network conditions of certain regions at certain times, and make certain predictions about the network conditions in the future based on these network conditions, so as to avoid congestion, etc. We can also monitor certain indicators by setting monitoring indicators. If the threshold is reached, an alarm will be issued to notify the relevant SRE to deal with the problem in a timely manner.
[0036] The network detection method provided in this specification can be applied to a device with a user interaction function, which can respond to a user request to communicate with the network and detect the network. The network detection method provided in this specification can be applied to a third-party electronic device with a user interaction function. The electronic device may include a notebook, a desktop computer, a smart phone, a smart wearable device (virtual reality glasses, smart watches, etc.), a tablet computer, etc. Of course, the network detection method provided in this specification can also be applied to an application running in the above-mentioned electronic device. For example, the network detection method can be applied to a browser with an instant messaging function, and can also be applied to an instant messaging software.
[0037] Example 1
[0038] Figure 1 A flow chart of the network detection method of Embodiment 1 of the present disclosure is shown. Figure 1 As shown, according to the first aspect, an embodiment of the present disclosure provides a network detection method, the method comprising the following steps:
[0039] Step S101, receiving a detection request for detecting a network, wherein the detection request includes data items required for network detection and target query conditions to be executed for searching the data items;
[0040] Step S102, according to the target query condition, obtaining target data of data items corresponding to the target query condition from the stored multi-dimensional network data, wherein the multi-dimensional network data is relevant data collected by the client in multiple dimensions of the network;
[0041] Step S103, performing attribution processing on the network according to the target data to determine abnormal information of the network, wherein the abnormal information is used to perform abnormal analysis processing on the network.
[0042] The detection request may be actively sent by the user through a user interaction device. For example, the user uses an application program of a terminal, or a browser webpage provided by the application. The user interaction device may communicate with the execution subject of the above steps, or be a component device of the execution subject, providing the execution subject with a function of interacting with the user.
[0043] The detection request may include data items required for network detection, and a data item may indicate a type of data. For example, routing path data, routing delay data, packet loss rate data, transmission rate data, etc. The data item corresponds to the type of data. The target query condition is also the search range of the data items required for detecting network anomalies.
[0044] Since a data item may be continuously generated in the network, and the client generating the data item may be different, the scenario in which it is generated may also be different, etc., this leads to the need to obtain it according to the target query conditions rather than obtaining all of it when detecting network anomalies.
[0045] For example, in the above game network scenario, network anomaly detection is to detect whether the transmission rate of client A is normal when playing game A within a week. The data item is the transmission rate, and the target query condition is when client A plays game A within a week. There are not only client identification requirements, but also time requirements and specific data transmission scenarios in the network.
[0046] It should be noted that the above target query conditions are not limited to the above forms, and may also include account information, path information, etc., which are determined according to the specific detection requirements corresponding to the detection request. The above detection request is actually generated by the user at the front-end user interaction device according to actual needs.
[0047] The above target query conditions can be searched from multi-dimensional network data to obtain the target data required for the network detection corresponding to the detection request and limited by the target query conditions. Then, network detection and anomaly analysis can be performed based on the obtained target data to determine whether there are anomalies in the network and the anomaly information when anomalies exist.
[0048] The above multi-dimensional network data can be understood as the network client collecting relevant data of the network in multiple dimensions. The above client can be provided with at least one target application, and the target application can be understood as an application that depends on the network. For example, in the scenario where the network is a game network, the application can be understood as a game application.
[0049] The target application can be set on a client of the network. When a user uses the target application, the client will automatically obtain network data of multiple dimensions for data interaction using the network when the target application is running.
[0050] The network data of multiple dimensions can be determined based on at least one detection function provided by the user interaction device for the user. Each specific detection function requires at least one clear data, and the data items involved in multiple detection functions are also limited. Based on the detection function provided by the user interaction device for the user, the multi-dimensional network data that may be used can be determined.
[0051] It should be noted that the multi-dimensional network data is actively collected by the client and sent to the execution subject, which stores it and calls the corresponding data in response to the detection request to perform network detection. The client actively sends the data to occupy as few network resources as possible to avoid aggravating network congestion.
[0052] Attribution processing is performed based on the target data to determine the abnormal information of the network. Attribution processing can be implemented through a series of attribution rules. By hitting the attribution rules, it is determined whether it is abnormal and the abnormal information of the abnormality.
[0053] The above steps passively detect the network by responding to the detection request, avoiding the situation where frequent active detection may aggravate the network jam. In addition, it can combine the network data of multiple dimensions of the client to attribute the network anomaly, determine the abnormal information of the network, and quickly and accurately provide a basis for network diagnosis.
[0054] Example 2
[0055] Figure 2 A flow chart of the network detection method of Embodiment 2 of the present disclosure is shown. Figure 2 As shown, this embodiment is a further limitation of Embodiment 1. In step S101 of Embodiment 1, after receiving a detection request for detecting a network, the method includes:
[0056] Step S201, performing authentication processing on the account corresponding to the detection request, wherein the detection request also includes the account information that issues the detection request;
[0057] Step S202, when the account authentication of the detection request is passed, the step of acquiring target data corresponding to the target query condition from the stored multi-dimensional network data is executed according to the target query condition.
[0058] By authenticating the account of the detection request, the privacy data in the multi-dimensional network data sent by the client can be effectively protected, the possibility of privacy data leakage can be reduced, and user privacy can be protected as much as possible.
[0059] The sender of the detection request is authenticated, and only authorized users can view the corresponding network data. Since different data information contains different user privacy information, the security requirements for privacy protection are also different. In different detection demand scenarios, the account of the detection request can be authenticated through different authentication rules.
[0060] The user permissions here can be broken down into the dimension of network usage scenarios. For example, in the scenario of a gaming network, a network usage scenario can be understood as a usage scenario for the network, which can also be a game or multiple games under the same mode.
[0061] Only relevant personnel with game permissions can view the game data. Because the network status is transmitted by the game users, the data will carry some user data, such as user device ID, system information, hardware information, etc., which belong to the user's privacy. Authentication avoids the leakage of user privacy information and improves the security of network data.
[0062] This allows precise permission control of detection requests to prevent user data from being viewed by unrelated personnel. Illegal access by third parties can also be controlled. By identifying illegal traffic, it can be restricted and blocked, reducing the risk of user data leakage.
[0063] Example 3
[0064] Figure 3 A flow chart of the network detection method of Embodiment 3 of the present disclosure is shown. Figure 3 As shown, this embodiment is a further limitation of Embodiment 1. Based on step S101 of Embodiment 1, receiving a detection request for detecting a network includes:
[0065] Step S301, obtaining traffic source information of a detection request through a front end, wherein the detection request is generated by a traffic source of the front end and sent through traffic;
[0066] Step S302, when the detection request is detected successfully according to the traffic source information, the detection request is sent to the backend through the traffic, wherein the backend is used to receive the traffic.
[0067] By detecting the traffic source of the request, the security of the detection request is verified. From the perspective of the front-end traffic source, the security of the detection request is improved to avoid abnormal attacks on the network through detection requests.
[0068] Considering that the traffic source that generates the detection request traffic may be in various forms, such as mobile terminals, PC terminals, web terminals, etc., its security is usually difficult to guarantee, which in turn leads to the lack of security of the user interaction device. In particular, when the user interaction device generates the detection request in the form of an online web page, the security of the detection request itself is low, which will threaten the security of the entire network.
[0069] Therefore, this embodiment will limit the traffic of the detection request sent by the sender, especially for the front-end user of the sender is a web browser, which needs to adopt zero trust. Considering that if the user identity is leaked, it may lead to partial data leakage. In order to reduce the losses caused by such risks, abnormal traffic will be restricted or access denied and banned.
[0070] Specifically, the front end identifies the browser information of the detection request, for example, whether it is a headless browser, whether it is a crawler, etc. The abnormal traffic of headless browsers and crawlers is restricted, and the request can be directly rejected after identifying these abnormal traffic.
[0071] It should be noted that the above detection request is sent by the web browser at the front end of the sender, and it carries the attribute information of the browser, such as IP address, access time, whether it has been tampered with, etc. Based on the attribute information, it is possible to detect whether the browser is a headless browser or a crawler.
[0072] As an optional implementation, after sending the detection request to the backend via traffic, the method further includes: performing frequency detection on the detection request via the backend; and receiving the detection request if the frequency detection passes.
[0073] The detection request of abnormal traffic is detected by frequency detection at the back end. The security of the detection request is improved from the back end to avoid abnormal attacks on the network through detection requests.
[0074] The backend of the sender controls the frequency of the detection request. If the upper limit of the frequency control is reached, it will be limited. By caching the route and request time of each user request, a time period is formed, and the number of requests in a certain time window can be limited.
[0075] It should be noted that all request information can be cached, and multiple dimensions can be cached. In order to avoid excessive occupation of cache resources, it is necessary to introduce data expiration time, that is, to regularly update the cached route and request time to avoid a large burden on storage resources. The specific expiration time can be set according to needs.
[0076] As an optional implementation, performing frequency detection on detection requests through the back-end includes: detecting the detection request according to detection rules preset by the back-end, wherein the detection rules include at least one rule, and each rule is used to perform frequency detection on at least one parameter carried by the detection request; when it is detected that the detection request does not meet the requirements of the detection rules, verifying the account of the detection request through the verification method corresponding to the detection rules; when it is detected that the detection request meets the requirements of the detection rules, or when the account verification passes, determining that the frequency detection passes; when the account verification fails, determining that the frequency detection fails.
[0077] When performing frequency detection, at least one parameter frequency detection is implemented by setting at least one detection rule. Different account verification methods are set for the detection rules according to the security of different parameter frequencies. If the detection rules are not met, account verification is performed. On the one hand, detection requests with abnormal frequencies are detected, and on the other hand, the security of the detection requests is further verified by account verification to reduce the probability of detection errors.
[0078] The above frequency detection can be divided into multiple dimensions, or multiple dimensions can be combined for control, such as browser dimension, user dimension, etc. The granularity of frequency detection can also be configured, such as second-level control or millisecond-level control.
[0079] There are multiple levels of verification methods for frequency detection. The verification level here can also be configured, such as verification code, human-machine verification, access denial and other strategies.
[0080] For example, after the traffic frequency hits the first level of frequency control threshold, the user is prompted to enter a verification code, which can be a slider verification code or the like.
[0081] When the traffic frequency reaches the second level frequency control threshold, the user is prompted to perform a human-machine verification.
[0082] When the traffic frequency hits the third level frequency control threshold, the traffic request is directly rejected and the rejection time is returned. It is best to block for a period of time to avoid accidentally hurting normal users. When the number of abnormal traffic requests reaches a certain level in a certain period of time, an alarm will be issued. After receiving the alarm, relevant personnel can perform operations such as permanent blocking.
[0083] Example 4
[0084] Figure 4 A flowchart of a network detection method according to Embodiment 4 of the present disclosure is shown. Figure 4 As shown, this embodiment is a further limitation of Embodiment 1. In step S101 of Embodiment 1, before receiving a detection request, the method further includes:
[0085] Step S401, receiving multi-dimensional network source data actively sent by the client, wherein the multi-dimensional network source data includes at least one of the following: network attribute data, network device data, game data, network path data, network transmission data;
[0086] Step S402, processing the multi-dimensional network source data to obtain multi-dimensional network data;
[0087] Step S403: storing the multi-dimensional network data in a dependent storage device.
[0088] Before receiving the detection request, the multi-dimensional network source data actively sent by the client is received and stored to provide data support for responding to the detection request later. This avoids the problem of aggravated network jams caused by actively obtaining multi-dimensional network data after responding to the detection request.
[0089] The above-mentioned storage device can be a dependent external device and can be independent of the above-mentioned execution entity. Since many data in the client's multi-dimensional network data have time attributes, the multi-dimensional network data will continue to increase with the passage of time. If it is directly stored locally, it will soon become impossible to store. The use of externally dependent storage devices can have a larger storage space and a certain storage strategy, which can enable more efficient storage.
[0090] In addition, it should be noted here that the multi-dimensional network source data collected by the above-mentioned client may be in a predetermined format, such as json format.
[0091] The above-mentioned multi-dimensional network data may include data in the dimension of network attributes, such as signal strength level, number of people sharing WIFI, geographic location area, etc. It may also include data in the dimension of network equipment, such as CPU model, CPU memory, frequency, network card model. It may also include data in the dimension of game, such as number of players in the game, game ID, etc. It may also include data in the dimension of network path, such as routing path, and delay and packet loss of each routing point. It may also include data in the dimension of network transmission, such as whether data is transmitted through VPN or using a proxy, and whether route tracking is successfully run. Of course, it also includes some other data, such as the detection type of the network, such as network diagnosis or game diagnosis, and the data format, such as json, etc.
[0092] This embodiment provides types of multi-dimensional network data in a gaming network detection scenario, as shown in Table 1, which is a multi-dimensional network data table of a gaming network.
[0093] Table 1 Multi-dimensional network data table of game network
[0094]
[0095]
[0096] It should be noted here that in the scenario of game networks, when attribution is performed based on the data items in Table 1, different attribution rules are used for different types of game networks. The types of game networks include mobile networks and WIFI networks. For mobile networks, the attribution rules shown in Table 2 are used for attribution, and for WIFI networks, the attribution rules shown in Table 3 are used for attribution, where Table 2 is a list of mobile network attribution rules, and Table 3 is a list of WIFI network attribution rules.
[0097] Table 2 List of mobile network attribution rules
[0098]
[0099]
[0100] Table 3 WIFI network attribution rules list
[0101]
[0102]
[0103] In other optional implementations, processing the multidimensional network source data to obtain the multidimensional network data includes: receiving the multidimensional network source data through a message queue, wherein the message queue is used to transmit the multidimensional network source data in real time and resend the multidimensional network source data with transmission abnormalities; performing data cleaning on the multidimensional network source data output by the message queue to extract the required valid data as the multidimensional network data.
[0104] By sending the multi-dimensional network source data to the client through the dependent message queue, the efficiency of data transmission can be effectively improved. The multi-dimensional network source data is cleaned to extract the valid data that can be used for the detection request, that is, the multi-dimensional network data, avoiding the storage of more useless data when the data volume is large, which will cause a waste of storage resources.
[0105] The above execution subject can receive the multi-dimensional network source data sent by the client by setting up a transmission device, and write these multi-dimensional network source data into the message queue. No data processing will be performed, including operations such as flow control. Because it is best to analyze the full amount of information from the data source, so that the data obtained will be more accurate.
[0106] Rocket MQ can be used for the message queue because it has high data reliability, ensuring that multi-dimensional network source data will not be lost. It can also maintain high throughput, ensuring the real-time nature of multi-dimensional network source data. For messages that fail to be delivered, retries will be made continuously, and a dead letter queue will be added to ensure message delivery.
[0107] By consuming the multi-dimensional network source data in the message queue, the multi-dimensional network source data is aggregated and classified, and stored in the data storage device. The service will analyze the multi-dimensional network source data, extract some fields in the multi-dimensional network source data, and process it according to the collection rules and attribution rules to obtain multi-dimensional network data. The processed multi-dimensional network data is stored in the data storage device for subsequent response to detection requests.
[0108] In an optional embodiment, after storing the multidimensional network data in a dependent storage device, the method further includes: determining, according to a preset frequency, commonly used data of multiple data items with the highest request frequency in the multidimensional network data based on historical data; migrating the commonly used data from the storage device to a cache device, and caching the commonly used data by overwriting the data in the cache device, wherein the cache device is used to directly respond to the detection request to obtain the corresponding target data.
[0109] By storing frequently used data in the cache device, when the data required for the detection request hits the frequently used data, the hit data can be provided quickly, thereby improving the response efficiency of the detection request. And by updating the frequently used data at a preset frequency, the hit rate of the frequently used data in the cache is maintained, thereby maintaining the high efficiency of the response to the detection request.
[0110] The cache device will temporarily store the data for a period of time in order to speed up the response of the control plane data, quickly return it to the front end, and reduce the user's waiting time. The cache device uses Redis because Redis supports multiple data types, which is convenient for fine-grained caching of data and can control the expiration of different parts of data. Moreover, as a memory-based cache component, Redis has excellent read and write performance and guaranteed throughput.
[0111] Since the amount of data in the data storage is large and the user query conditions are complex, each query needs to aggregate and filter a large amount of data. This will cause the response time to be too long, which may time out and cause the front-end to fail to query the data. By introducing a cache device, the common data that users frequently query is cached for a certain period of time. In this way, the user can directly obtain the result from the cache after the request, which reduces the response time and thus reduces the user's waiting time.
[0112] The data cannot be cached for a long time here, because the network data will change on the same day, and it may change frequently in a day, because the client will continuously report data. Therefore, in order to avoid a large amount of cache resources and ensure the real-time nature of commonly used data in the cache device, it is necessary to introduce a cache expiration time, preferably 40s to 60s.
[0113] In other optional implementations, after storing the multidimensional network data in a dependent storage device, the method further includes: in the storage device, partitioning the multidimensional network data according to time to obtain historical date data that will not change, and current date data that will change; aggregating the historical date data to obtain aggregated data, wherein the aggregated data is used to determine the target data in combination with the current date data.
[0114] Aggregating the historical date data that will not change in the stored multi-dimensional network data can save storage resources on the one hand, and on the other hand, it can quickly respond when the detection request hits the aggregated data, thereby improving the response efficiency of the detection request.
[0115] Considering that network data will change constantly except for the data of the current day, the data before that will remain unchanged. Based on this feature, the data can be optimized. First, the data can be partitioned according to different time periods to reduce the amount of data involved in the calculation. For data other than the current day, it can be aggregated, for example, the data of the previous day can be aggregated today.
[0116] In this way, there is no need to recalculate the previous data when querying, reducing the amount of data involved in the calculation. When querying, you must use the primary key (the primary key here is time) to query. Reduce the amount of data. This can have a certain optimization to reduce data time consumption and improve the response efficiency of detection requests to a certain extent.
[0117] Example 5
[0118] Figure 5 A flowchart of the network detection method of Embodiment 5 of the present disclosure is shown. Figure 5 As shown, this embodiment is a further limitation of Embodiment 1. Based on the network detection method of Embodiment 1, before receiving a detection request for detecting the network, the method further includes:
[0119] Step S501, detecting the currently running system environment, wherein there are multiple system environments;
[0120] Step S502: calling corresponding configuration information according to the detected system environment, wherein each system environment corresponds to different configuration information.
[0121] A system environment component is provided, and different configuration information is provided in different system environments, so that the above network detection method can be applied to a variety of system environments, thereby improving the scope of application of the network detection method.
[0122] System environment components can help isolate different system environments. Different system environments use different information and data sources. For example, the test environment needs to use the test environment configuration, data source, etc., which need to be isolated from the online environment resources. The test environment must not directly operate the online environment in order to protect the online data.
[0123] In some other optional implementations, the method further includes: generating a log according to the action, state and corresponding time; and storing the log locally or reporting the log to a server.
[0124] Provides a log component to record the action logs of the network detection method for easy tracing. The log component can help the system print logs, collect log information and display it, etc. If an abnormality occurs in the system, it can be located based on the log and then resolved. It can also collect information in the log and specify monitoring indicators, and issue alarm notifications for the indicators, etc.
[0125] The log component has multiple output sources, including local log files, reporting log services, etc. The log service can collect and analyze logs, monitor them, and solve system anomalies in a timely manner.
[0126] Through the log component, logs can be reported to the log center. By analyzing online logs and monitoring online service nodes, the stability of the entire system can be controlled as a whole. You can also monitor data and analyze the causes of abnormalities to repair the system's exposed or potential risks.
[0127] By setting monitoring indicators, the current system operation status can be obtained in real time, achieving the effect of real-time monitoring. By monitoring and configuring alarms, online problems can be discovered and solved in time to reduce online losses.
[0128] In some optional implementations, the method further includes: hot updating configuration components of the system environment, wherein the configuration components are independent of the system; periodically obtaining update information of currently used configuration information from the configuration components; and updating the configuration information according to the update information.
[0129] Provide independent configuration components to store configuration information so that when the configuration information is updated, hot updates can be implemented to improve user experience.
[0130] The system records the resources used in different environments in the form of configuration, and then reads the configuration of the corresponding environment for use. The configuration should be separated from the system (that is, the network detection service) so that the system will not be affected when the configuration is updated.
[0131] Configuration information can be placed in the configuration center, and the configuration can be dynamically updated by monitoring data changes in the configuration center to achieve hot updates of configuration information. Note that the updated configuration needs to be thread / process safe.
[0132] In some optional embodiments, the method further includes: generating error information based on the abnormal information; sending the error information to the sender of the detection request, wherein the error information is recognizable by the sender and is used to instruct the sender to perform corresponding error correction actions to handle the network abnormality.
[0133] An error information component is provided to generate error information that can be recognized by the sender from the abnormal information, and send it to the sender to complete the response to the detection request. This can facilitate users to use the error information to perform error correction and handle network anomalies at the detection request sender.
[0134] The system uses different error messages to prompt the front end of some abnormal situations, and then controls some behaviors of the front end. Here, error codes are used, that is, different error situations are encoded and returned to the front end in the form of error codes. In this way, the front end can perform different behaviors or provide multi-language prompts based on the agreed error codes.
[0135] For example, when traffic restrictions are applied, different error codes are returned, and the front end displays different restriction levels based on these error codes.
[0136] Example 6
[0137] Accordingly, please refer to Figure 6 , Figure 6 A schematic diagram of a network detection system of embodiment 6 of the present disclosure is shown. According to the second aspect, the embodiment of the present disclosure provides a network detection system, which includes: a detection front end 61, a control module 62, a storage device 63, and a transmission device 64. The system is described in detail below.
[0138] The transmission device 64 is connected to the client of the network to be detected, and is used to receive the multi-dimensional network source data actively sent by the client, and process the multi-dimensional network source data to obtain the multi-dimensional network data;
[0139] The storage device 63 is connected to the transmission device 64 and is used to store multi-dimensional network data;
[0140] The detection front end 61 is used to generate a corresponding detection request according to the data items required for the network detection of the front end operation and the target query conditions to be performed for the search of the data items, and send the detection request to the control module 62;
[0141] The control module 62 is connected to the detection front end 61 and the storage device 63, and is used to receive a detection request from the detection front end to detect the network; according to the target query condition, the target data of the data item corresponding to the target query condition is obtained from the multi-dimensional network data stored in the storage device; according to the target data, the network is attributed and the abnormal information of the network is determined, wherein the abnormal information is used to perform abnormal analysis and processing on the network.
[0142] By responding to detection requests, the network is passively detected, avoiding the situation where frequent active detection may aggravate network lag. In addition, network data from multiple dimensions of the client can be combined to attribute network anomalies, determine network anomaly information, and quickly and accurately provide a basis for network diagnosis.
[0143] It should be noted that the message queues of the above storage devices and transmission devices can be external dependent devices. The external dependent devices are independent of the above systems, have little interference with the system operation, and improve the stability of the system operation. Moreover, the dependent external devices are generally managed by the operator, and the system party does not need to bear more management costs.
[0144] Figure 7 A schematic diagram showing the overall architecture of the network detection system of Embodiment 6 of the present disclosure is shown as follows: Figure 7As shown, the client, as a data source, collects multi-dimensional network source data and sends it to the data receiving surface of the above system. The device corresponding to the receiving surface is the transmission device. The transmission device includes a message queue. The data sent by the client is sent to the message queue by the data receiving plug-in. The above data receiving plug-in can be set on the client in the form of SDK (Software Development Kit) to match the transmission device.
[0145] The message queue is sent to the above system through parallel transmission. In the system, the multiple data received in parallel are cleaned in parallel, and the valid data in the data is obtained to form multi-dimensional network data, which is stored in an externally dependent data storage device.
[0146] The detection front end is a front end provided to users for users to detect network conditions. In fact, it can be the same device as the sender of the above detection request. The detection front end can generate corresponding detection requests according to user needs, and send the detection requests to the above control module. The control module responds to the detection request, obtains corresponding data from the external dependent cache device or storage device for attribution processing, determines network anomaly information, and then sends it to the detection front end for the user.
[0147] The above-mentioned network detection device includes a processor and a memory. The above-mentioned detection front end 61, control module 62, storage device 63, transmission device 64, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0148] The processor contains a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set. When improving the efficiency of network transmission, the multi-dimensional network data of the client of the network to be detected is obtained and attributed to determine the location and cause of network anomalies, and then the network is improved and improved in a targeted manner, which can achieve more efficient and rapid optimization of network transmission.
[0149] Example 7
[0150] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0151] An embodiment of the present disclosure provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, a network detection method or a network detection display method is implemented.
[0152] Figure 8A schematic diagram of an electronic device according to Embodiment 7 of the present disclosure is shown. Figure 8 As shown, an embodiment of the present application provides an electronic device 80, which includes a processor 82, a memory 84, and a program stored in the memory and executable on the processor.
[0153] In this application, the technical solutions in the above embodiments can be applied to Figure 8 The electronic device 80 shown in the figure may include one or more (only one is shown in the figure) processors 82 (the processor 82 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 84 for storing data, and a transmission module 86 for communication functions. It can be understood by those skilled in the art that Figure 8 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 8 More or fewer components as shown, or with Figure 8 Different configurations are shown.
[0154] The memory 84 can be used to store software programs and modules of application software, and the processor 82 executes various functional applications and data processing by running the software programs and modules stored in the memory 84. The memory 84 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 84 may further include a memory remotely arranged relative to the processor 82, and these remote memories can be connected to the electronic device 80 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0155] The transmission device 86 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the electronic device 80. In one example, the transmission device 86 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 86 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0156] The steps of implementing the above-mentioned network detection method when the processor executes the program are: receiving a detection request for detecting the network, wherein the detection request includes data items required for network detection and target query conditions to be executed for searching the data items; according to the target query conditions, obtaining target data of the data items corresponding to the target query conditions from the stored multi-dimensional network data, wherein the multi-dimensional network data collects relevant data of the network in multiple dimensions for the client of the network; performing attribution processing on the network according to the target data, and determining abnormal information of the network, wherein the abnormal information is used to perform abnormal analysis processing on the network.
[0157] As an optional implementation, after receiving a detection request for performing a detection on a network, the method includes: authenticating the account corresponding to the detection request, wherein the detection request also includes the account information for issuing the detection request; when the account authentication of the detection request is passed, executing the step of obtaining target data corresponding to the target query condition from the stored multi-dimensional network data according to the target query condition.
[0158] As an optional implementation, receiving a detection request for detecting a network includes: obtaining traffic source information of the detection request through a front end, wherein the detection request is generated by the traffic source of the front end and sent through the traffic; in a case where the detection request is detected and passed according to the traffic source information, sending the detection request to a back end through the traffic, wherein the back end is used to receive the traffic.
[0159] As an optional implementation, after sending the detection request to the backend via traffic, the method further includes: performing frequency detection on the detection request via the backend; and receiving the detection request if the frequency detection passes.
[0160] As an optional implementation, performing frequency detection on detection requests through the back-end includes: detecting the detection request according to detection rules preset by the back-end, wherein the detection rules include at least one rule, and each rule is used to perform frequency detection on at least one parameter carried by the detection request; when it is detected that the detection request does not meet the requirements of the detection rules, verifying the account of the detection request through the verification method corresponding to the detection rules; when it is detected that the detection request meets the requirements of the detection rules, or when the account verification passes, determining that the frequency detection passes; when the account verification fails, determining that the frequency detection fails.
[0161] As an optional implementation, before receiving the detection request, the method also includes: receiving multi-dimensional network source data actively sent by the client, wherein the multi-dimensional network source data includes at least one of the following: network attribute data, network device data, game data, network path data, network transmission data; processing the multi-dimensional network source data to obtain multi-dimensional network data; and storing the multi-dimensional network data in a dependent storage device.
[0162] As an optional implementation, processing the multidimensional network source data to obtain the multidimensional network data includes: receiving the multidimensional network source data through a message queue, wherein the message queue is used to transmit the multidimensional network source data in real time and resend the multidimensional network source data with transmission abnormalities; performing data cleaning on the multidimensional network source data output by the message queue to extract the required valid data as the multidimensional network data.
[0163] As an optional implementation, after storing the multidimensional network data in a dependent storage device, the method also includes: determining, according to a preset frequency, the commonly used data of multiple data items with the highest request frequency in the multidimensional network data based on historical data; migrating the commonly used data from the storage device to the cache device, and caching the commonly used data by overwriting the data in the cache device, wherein the cache device is used to directly respond to the detection request to obtain the corresponding target data.
[0164] As an optional implementation, after storing the multidimensional network data in a dependent storage device, the method also includes: in the storage device, partitioning the multidimensional network data according to time to obtain historical date data that will not change, and current date data that will change; aggregating the historical date data to obtain aggregated data, wherein the aggregated data is used to determine the target data in combination with the current date data.
[0165] As an optional implementation, before receiving a detection request for detecting the network, the method also includes: detecting a currently running system environment, wherein there are multiple system environments; calling corresponding configuration information based on the detected system environment, wherein each system environment corresponds to different configuration information.
[0166] As an optional implementation, the method further includes: generating a log according to the action, state and corresponding time; and storing the log locally or reporting the log to a server.
[0167] As an optional implementation, the method also includes: hot updating the configuration components of the system environment, wherein the configuration components are independent of the system; regularly obtaining update information of the currently used configuration information from the configuration components; and updating the configuration information according to the update information.
[0168] As an optional implementation, the method also includes: generating error information based on the abnormal information; sending the error information to the sender of the detection request, wherein the error information is recognizable by the sender and is used to instruct the sender to perform corresponding error correction behavior to handle the network abnormality.
[0169] The present application also provides a computer program product, which, when executed on a processing device for job monitoring data, is suitable for executing a program initialized with any of the above method steps.
[0170] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0171] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable job monitoring data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable job monitoring data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0172] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable job monitoring data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0173] These computer program instructions may also be loaded onto a computer or other programmable job monitoring data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0174] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0175] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0176] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0177] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0178] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0179] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
[0180] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A network detection method, characterized in that: The method comprises: Receiving a detection request for detecting a network, wherein the detection request includes data items required for network detection and target query conditions to be executed for searching the data items; According to the target query condition, target data of the data item corresponding to the target query condition is obtained from the stored multi-dimensional network data, wherein the multi-dimensional network data is the relevant data of the network in multiple dimensions collected by the client of the network; Attribution processing is performed on the network according to the target data to determine abnormal information of the network, wherein the abnormal information is used to perform abnormal analysis processing on the network.
2. The method according to claim 1, characterized in that After receiving a detection request for detecting a network, the method includes: Performing authentication processing on the account corresponding to the detection request, wherein the detection request also includes account information that issues the detection request; In the case where the account authentication of the detection request is passed, a step of acquiring target data corresponding to the target query condition from the stored multi-dimensional network data is performed according to the target query condition.
3. The method according to claim 1, characterized in that Receiving a detection request for detecting a network includes: Acquire traffic source information of the detection request through the front end, wherein the detection request is generated by the traffic source of the front end and sent through the traffic; In the case that the detection request is detected successfully according to the traffic source information, the detection request is sent to a backend through traffic, wherein the backend is used to receive the traffic.
4. The method according to claim 3, characterized in that After sending the detection request to the backend through traffic, the method further includes: Performing frequency detection on the detection request through the backend; In a case where the frequency detection is passed, the detection request is received.
5. The method according to claim 4, characterized in that Performing frequency detection on the detection request by the backend includes: Detecting the detection request according to the detection rules preset by the backend, wherein the detection rules include at least one rule, and each rule is used to perform frequency detection on at least one parameter carried by the detection request; When it is detected that the detection request does not meet the requirements of the detection rule, verify the account of the detection request by using the verification method corresponding to the detection rule; When it is detected that the detection request meets the requirements of the detection rule, or the account verification passes, determining that the frequency detection passes; In the case where the account verification fails, it is determined that the frequency detection fails.
6. The method according to claim 1, characterized in that Before receiving the detection request, the method further includes: Receiving multi-dimensional network source data actively sent by the client, wherein the multi-dimensional network source data includes at least one of the following: network attribute data, network device data, game data, network path data, and network transmission data; Processing the multidimensional network source data to obtain the multidimensional network data; The multi-dimensional network data is stored in a dependent storage device.
7. The method according to claim 6, characterized in that Processing the multi-dimensional network source data to obtain the multi-dimensional network data includes: Receiving the multi-dimensional network source data through a message queue, wherein the message queue is used to transmit the multi-dimensional network source data in real time and retransmit the multi-dimensional network source data with transmission anomalies; The multi-dimensional network source data output by the message queue is cleaned to extract the required valid data as the multi-dimensional network data.
8. The method according to claim 6, characterized in that After storing the multi-dimensional network data in a dependent storage device, the method further comprises: Determining, according to a preset frequency and based on historical data, commonly used data of a plurality of data items with the highest request frequency in the multi-dimensional network data; The frequently used data is migrated from the storage device to the cache device, and the frequently used data is cached by overwriting the data in the cache device, wherein the cache device is used to directly respond to the detection request to obtain the corresponding target data.
9. The method according to claim 6, characterized in that After storing the multi-dimensional network data in a dependent storage device, the method further comprises: In the storage device, the multi-dimensional network data is partitioned according to time to obtain historical date data that will not change and current date data that will change; The historical date data is aggregated to obtain aggregated data, wherein the aggregated data is used to determine target data in combination with the current date data.
10. The method according to any one of claims 1 to 9, characterized in that Before receiving a detection request for detecting the network, the method further includes: Detecting a currently running system environment, wherein there are multiple system environments; The corresponding configuration information is called according to the detected system environment, wherein each of the system environments corresponds to different configuration information.
11. The method according to any one of claims 1 to 9, characterized in that The method further comprises: Generate logs based on actions, states, and corresponding times; The log is stored locally or reported to the server.
12. The method according to any one of claims 1 to 9, characterized in that The method further comprises: Hot updating configuration components of the system environment, wherein the configuration components are independent of the system; Periodically obtaining updated information of the currently used configuration information from the configuration component; The configuration information is updated according to the update information.
13. The method according to any one of claims 1 to 9, characterized in that The method further comprises: Generate error information according to the abnormal information; The error information is sent to a sender of the detection request, wherein the error information is recognizable by the sender and is used to instruct the sender to perform corresponding error correction actions to handle the abnormality of the network.
14. A network detection system, characterized in that: include: Detection front end, control module, storage device, transmission equipment; The transmission device is connected to a client of the network to be detected, and is used to receive multi-dimensional network source data actively sent by the client, and process the multi-dimensional network source data to obtain multi-dimensional network data; The storage device is connected to the transmission device and is used to store the multi-dimensional network data; The detection front end is used to generate a corresponding detection request according to the data items required for the network detection of the front end operation and the target query conditions to be performed for searching the data items, and send the detection request to the control module; The control module is connected to the detection front end and the storage device, and is used to receive a detection request from the detection front end to detect the network; according to the target query condition, obtain the target data of the data item corresponding to the target query condition from the multi-dimensional network data stored in the storage device; Attribution processing is performed on the network according to the target data to determine abnormal information of the network, wherein the abnormal information is used to perform abnormal analysis processing on the network.
15. A computer-readable storage medium, characterized in that: The storage medium is used to store a program, wherein the program executes the network detection method according to any one of claims 1 to 13.
16. An electronic device, characterized in that: The invention comprises at least one processor and a memory, wherein the memory is used to store at least one program, wherein when the at least one program is executed by the at least one processor, the at least one processor implements the network detection method according to any one of claims 1 to 13.
