Method and device for analyzing network operation status of satellite gateway station
By extracting target network data from gateway station log files and establishing an evaluation model, the problem of low efficiency of traditional analysis is solved, efficient evaluation and optimization of the gateway station network operating status is achieved, and network quality is improved.
Patent Information
- Application Number
- CN202410970233.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-07-19
AI Technical Summary
Traditional methods of monitoring and analyzing the operating status of gateway stations are inefficient and difficult to ensure the accuracy of analysis results. Especially as the network scale expands and traffic increases, it is difficult to effectively monitor and manage the operating status of gateway stations.
By obtaining the log files generated by the gateway station, using keywords in different network communication stages to extract target network data, establish an evaluation model, determine whether the network operating status of the gateway station meets the preset requirements, and then optimize the hardware configuration and software strategy.
It improves the efficiency and quality of gateway station network operation status analysis, can quickly evaluate network deficiencies, improves the quality of network evaluation, supports targeted adjustments and optimization, and improves the overall network operation quality.
Smart Images

Figure CN118509038B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of satellite communication technology, and in particular to a method and device for analyzing the network operation status of a satellite gateway. Background Art
[0002] As the core equipment of satellite communication network, the operation quality of gateway is directly related to the user experience. With the growth of network scale and traffic, it is necessary to analyze the operation status and performance bottleneck of gateway network through operation status monitoring to provide a basis for future network planning and optimization, and predict its capacity demand in case of emergency. Network operation status monitoring data can not only be fed back to product development and improvement, but also judge whether the network meets user needs and analyze common fault types to improve problem location and resolution efficiency.
[0003] As the scale of satellite communication networks expands, the number of access requests and sessions processed by gateways is also growing rapidly, which poses a great challenge to the monitoring and management of gateway operation status. The traditional method is to manually analyze the operating system logs of gateways directly, which has the technical problem of low efficiency and it is difficult to guarantee the accuracy of the analysis results.
[0004] Therefore, how to improve the efficiency and quality of the analysis of the network operation status of the gateway station is a technical problem that needs to be solved. Summary of the invention
[0005] One of the purposes of the present invention is to provide a method and device for analyzing the network operation status of a satellite gateway station, which can improve the efficiency and quality of analyzing the network operation status of the gateway station. The embodiment of the present invention can be implemented as follows:
[0006] In a first aspect, the present invention provides a method for analyzing the network operation status of a satellite gateway, the method comprising: obtaining a log file generated by the gateway; using keywords corresponding to different network communication stages to extract target network data of each terminal in different network communication stages from the log file; using the target network data to establish an evaluation model of the gateway in different network communication stages; and determining whether the network operation status of the gateway meets preset requirements based on each evaluation model.
[0007] In a second aspect, the present invention provides a device for analyzing the network operation status of a satellite gateway, comprising: an acquisition module, an extraction module, an establishment module and an analysis module; the acquisition module is used to acquire a log file generated by the gateway; the extraction module is used to extract target network data of each terminal in different network communication stages from the log file using keywords corresponding to different network communication stages; the establishment module is used to establish an evaluation model of the gateway in different network communication stages using the target network data; the analysis module is used to determine whether the network operation status of the gateway meets preset requirements based on each evaluation model.
[0008] In a third aspect, the present invention provides a performance analysis server, comprising a processor and a memory, wherein the memory stores a computer program that can be executed by the processor, and the processor can execute the computer program to implement the method for analyzing the network operation status of a satellite gateway station described in the first aspect.
[0009] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for analyzing the network operation status of a satellite gateway as described in the first aspect is implemented.
[0010] The method and device for analyzing the network operation status of a satellite gateway provided by the present invention have the following advantages: first, the target network data of each terminal at different network communication stages are extracted from the log file generated by the gateway. Then, an evaluation model is established for the gateway at different network communication stages based on these data. These evaluation models can reflect comprehensive indicators such as the response speed and success rate of the terminal at a specific stage of the gateway. Finally, by comparing with the preset requirements, it can be clearly checked in which network communication stages the gateway meets expectations. In this way, the hardware configuration or software strategy of the gateway can be adjusted and optimized in a targeted manner to improve the overall network operation quality. By analyzing the key log data of the gateway at different network communication stages, the method can quickly evaluate the operation status of the gateway in each network communication link, thereby finding the insufficient links of the network and improving the quality of network evaluation. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0012] Figure 1The present invention is an architecture diagram of an existing information gateway network operation status analysis system;
[0013] Figure 2 A system architecture diagram for a satellite gateway network operation status analysis method provided by an embodiment of the present invention;
[0014] Figure 3 A schematic diagram of the structure of a performance analysis server provided by an embodiment of the present invention;
[0015] Figure 4 A schematic flow chart of a method for analyzing the network operation status of a satellite gateway provided by an embodiment of the present invention;
[0016] Figure 5 A log record content of an original login signaling of a terminal provided by an embodiment of the present invention;
[0017] Figure 6 A log record content of a signal-to-noise ratio update signaling provided by an embodiment of the present invention;
[0018] Figure 7 A schematic diagram of a database table provided in an embodiment of the present invention;
[0019] Figure 8 A functional module diagram of a device for analyzing network operation status of a satellite gateway provided by an embodiment of the present invention;
[0020] Fig. 9 A functional module diagram of the extraction module provided in an embodiment of the present invention.
[0021] Icons: 100-gateway modulation equipment; 101-gateway demodulation equipment; 102-border router; 103-gateway server; 104-Ethernet gateway; 210-performance analysis server; 220-monitoring terminal; 2101-memory; 2102-processor; 2103-communication interface; 2104-bus; 900-device for analyzing network operation status of satellite gateway; 901-acquisition module; 902-extraction module; 903-establishment module; 904-analysis module; 9021-login information extraction unit; 9022-online process information extraction unit; 9023-data storage unit. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0023] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. 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.
[0024] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0025] In the description of the present invention, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. appear, the orientation or position relationship indicated is based on the orientation or position relationship shown in the drawings, or is the orientation or position relationship in which the product of the invention is usually placed when used. It is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0026] In addition, the terms “first”, “second”, etc., if used, are merely used to distinguish between the descriptions and should not be understood as indicating or implying relative importance.
[0027] It should be noted that, in the absence of conflict, the features in the embodiments of the present invention may be combined with each other.
[0028] Please refer to Figure 1 , Figure 1 The architecture diagram of an existing gateway network operation status analysis system includes a gateway modulation device 100 , a gateway demodulation device 101 , a border router 102 , a gateway server 103 , and an Ethernet gateway 104 .
[0029] The gateway modulation device 100 and the gateway demodulation device 101 refer to devices used for modulating digital signals and demodulating analog signals in the gateway, respectively, and they interact with the border router 102 through network protocol signaling.
[0030] The border router 102 is a router located at the network boundary and connecting different network domains. It can realize the connectivity between different networks and forward the data packets to the corresponding network domain or other network domains according to the routing table. Similarly, the border router 102 can also interact with the gateway server 103 through network protocol signaling. The gateway server 103 is responsible for the management and control of various functions inside the gateway, including user identity authentication, session management, log recording, etc. At the same time, the border router 102 can also send the log generated by the gateway server 103 to the Ethernet gateway 104 side through the log transmission channel, and the Ethernet gateway 104 continues to send the log to the analyst's computer through the log transmission channel. The analyst prints the log file and performs manual analysis.
[0031] The existing gateway network operation status analysis solution is implemented as follows:
[0032] Step 1: Deploy the Ethernet gateway 104 between the gateway server 103 and the analyst's computer to achieve remote transmission of the gateway log compressed file from the gateway server to the analyst's computer.
[0033] Step 2: The analyst decompresses all gateway log compressed files received from the gateway server 103 to obtain gateway text log files.
[0034] Step 3: The analyst searches the text log file of the gateway for the end-station signaling content to obtain the network data during the communication phase between the end-station and the gateway.
[0035] Step 4: The analyst collects statistics on the network access status of the terminal based on the retrieved network data.
[0036] Step 5: The analyst analyzes the network operation status of the gateway station based on the statistical results of step 4.
[0037] Although the above scheme can obtain the results of the gateway network operation status analysis, its efficiency and accuracy are low for the following reasons:
[0038] (1) As the number of end-station devices increases, the number of login requests initiated by end-station devices to the gateway network increases, and the time after the end-station devices are connected to the gateway network increases, the gateway server will record and generate a large number of log compression files. For example, when 60 end-station devices are connected, the number of log files generated per day is not less than 200, and the size of a single log text file after decompression is not less than 200MB, and the number of lines recorded in a single log file is not less than 900,000. Manual analysis is very time-consuming and prone to omissions.
[0039] (2) The current statistical analysis lacks the collection and analysis of failure information during the process of end-station equipment accessing the gateway network, and cannot support the adoption of countermeasures;
[0040] (3) As the number of end-station devices increases, the number of login requests initiated by end-station devices to the gateway network increases, and the time after end-station devices are connected to the gateway network increases, there is a lack of means to store, query, and visualize large amounts of statistical analysis data.
[0041] In order to solve the above technical problems, the embodiments of the present invention are Figure 1 Based on the system architecture shown in the figure, the following are improved: Figure 2 The system architecture diagram shown in the figure, Figure 2 The system architecture diagram of the satellite gateway network operation status analysis method provided by the embodiment of the present invention is shown in FIG. Figure 1 On the basis of, the embodiment of the present invention adds a performance analysis server 210 and a monitoring terminal 220.
[0042] The monitoring terminal 220 is used to receive the log files from the Ethernet gateway 104 through the log transmission channel, and is responsible for sending the log files to the performance analysis server 210 for automatic analysis.
[0043] In an optional implementation, the monitoring terminal 220 may be, but is not limited to, a personal computer, a tablet computer, a personal digital assistant, etc.
[0044] The performance analysis server 210 is used to execute the satellite gateway network operation status analysis method provided in the embodiment of the present invention to improve the efficiency and quality of the analysis of the gateway network operation status. Figure 3 , Figure 3 A schematic diagram of the structure of a performance analysis server provided in an embodiment of the present invention.
[0045] The performance analysis server 210 includes: a memory 2101, a processor 2102, a communication interface 2103 and a bus 2104. The memory 2101, the processor 2102 and the communication interface 2103 are directly or indirectly electrically connected to each other to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines.
[0046] Optionally, bus 2104 may be a peripheral component interconnect standard bus or an extended industry standard structure bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0047] In an embodiment of the present invention, the processor 2102 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiment of the present invention. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor. The software module may be located in the memory 2101, and the processor 2102 reads the program instructions in the memory 2101 and completes the steps of the above method in combination with its hardware.
[0048] In the embodiment of the present invention, the memory 2101 may be a non-volatile memory, such as a hard disk or a solid state drive, or a volatile memory, such as a RAM. The memory may also be any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory in the embodiment of the present invention may also be a circuit or any other device that can realize a storage function, and is used to store instructions and / or data.
[0049] The memory 2101 can be used to store software programs and modules, such as the instructions / modules for the satellite gateway network operation status analysis device 900 provided in the embodiment of the present invention, which can be stored in the memory 2101 in the form of software or firmware or fixed in the operating system of the performance analysis server 210. The processor 2102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 2101. The communication interface 2103 can be used to communicate signaling or data with other node devices.
[0050] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0051] Understandably, Figure 3 The structure shown is for illustration only. The performance analysis server 210 may also include Figure 3 More or fewer components as shown, or with Figure 3 Different configurations are shown. Figure 3 The components shown may be implemented in hardware, software or a combination thereof.
[0052] Figure 3 The performance analysis server 210 shown includes, but is not limited to, a single network server, a server group consisting of multiple network servers, or a cloud consisting of a large number of hosts or network servers based on cloud computing.
[0053] based on Figure 2 The system architecture shown in the figure, the embodiment of the present invention provides a method for analyzing the network operation status of a satellite gateway station, and the execution subject of the method can be Figure 3 The performance analysis server 210 shown in FIG. Figure 4 , Figure 4 A schematic flow chart of a method for analyzing the network operation status of a satellite gateway provided by an embodiment of the present invention includes the following steps:
[0054] S401: Obtain the log file generated by the gateway.
[0055] It is understandable that the end stations under the gateway station can track the signaling process through log files in different network communication stages with the main station, understand the network operation status, and locate the fault point, such as connection abnormality, request failure, etc., which is conducive to network optimization and maintenance.
[0056] In an embodiment of the present invention, each record in the log file may include information such as a timestamp, an event, and an event description. Among them, an event may include a login request, an authentication, a session, a logout, etc. The content of each record may be recorded in a form standardized by the satellite communication protocol for signaling. It can be understood that each record may include keywords corresponding to different events and event content. Among them, the keywords can be used as a basis for subsequent retrieval of target network data in different events. Once the satellite communication protocol changes, the changed or newly added signaling keywords can be quickly revised.
[0057] S402: extracting target network data of each end station in different network communication stages from the log file using keywords corresponding to different network communication stages;
[0058] In the embodiment of the present invention, the network communication stage may include, but is not limited to, a login request stage, an online stage, and a network exit stage. The online stage may include a reverse signal-to-noise ratio update process and a forward signal-to-noise ratio update process, and the network exit stage may be understood as a terminal station logout offline process.
[0059] It is understandable that in different network communication stages, the gateway station can record the target network data associated with the stage. For example, in the login request stage, the gateway station can record useful network data such as the terminal station account, login time, login result, authentication time and authentication result of each terminal station, Mac24 address assigned to the terminal station and terminal station ID (UE ID); in the reverse signal-to-noise ratio update process, the gateway station can record useful network data such as the Mac24 address, reverse signal-to-noise ratio and update time of each terminal station.
[0060] By extracting the target network data in different communication stages, the network operation status of the trust gateway in different communication stages can be analyzed.
[0061] S403: Using the target network data, establish an evaluation model of the gateway at different network communication stages.
[0062] In the embodiment of the present invention, the analysis efficiency can be improved by establishing evaluation models in different network communication stages.
[0063] S404: Determine whether the network operation status of the gateway satisfies a preset requirement according to each evaluation model.
[0064] In the scheme of the above steps S401 to S404, the target network data of each terminal at different network communication stages are first extracted from the log files generated by the gateway. Then, evaluation models are established for the gateway at different network communication stages based on these data. These evaluation models can reflect comprehensive indicators such as the response speed and success rate of the terminal at a specific stage of the gateway. Finally, by comparing with the preset network quality requirements, it can be clearly checked in which network communication stages the gateway meets expectations. In this way, the hardware configuration or software strategy of the gateway can be adjusted and optimized in a targeted manner to improve the overall network operation quality. By analyzing the key log data of the gateway at different network communication stages, the method can accurately evaluate the operating status of the gateway in each network communication link, thereby finding the insufficient links of the network, and can efficiently evaluate the network quality, which is conducive to the accurate location and correction of problems.
[0065] based on Figure 4 In the embodiment shown, in an optional implementation, step S402 may include the following steps:
[0066] Step a1: extract the login information of the terminal in the login request phase in the log file according to the login signaling keyword, and extract the login failure information in the login request phase according to the login failure signaling keyword.
[0067] Step a2: extract the signal-to-noise ratio information of each terminal in the online phase using the signal-to-noise ratio update signaling keyword, and extract the deregistration offline information of each terminal in the network-deregistration phase according to the deregistration signaling keyword.
[0068] Step a3: Login information, login failure information, signal-to-noise ratio information and logout offline information are used as target network data.
[0069] In the embodiment of the present invention, the login signaling keyword, the signal-to-noise ratio update signaling keyword, the login failure signaling keyword and the logout signaling keyword are all obtained by standardizing the signaling according to the satellite communication protocol. Based on the signaling keyword, a line-by-line extraction method for the log file can be implemented. Once the satellite communication protocol changes, the changed or newly added signaling keyword can be quickly revised in the module, which is convenient for data maintenance.
[0070] For easier understanding, see Figure 5 , Figure 5 The log record content of the original login signaling of a terminal provided by an embodiment of the present invention is shown in Table 1. Figure 5 An illustration of the various keywords in the login signaling. Figure 5 The "xxxx-xx-xxxx:xx:xx.xxx" in the table refers to the trigger time in Table 1.
[0071] Table 1
[0072]
[0073] As shown in Table 1, after obtaining the log file, the embodiment of the present invention can extract login information according to the login signaling keyword CreatedCachedusersession, and the extracted login information includes: terminal account, Mac24 address, terminal ID, trigger time and other information.
[0074] See also Figure 6 , Figure 6 The log record content of a signal-to-noise ratio update signaling provided by an embodiment of the present invention is shown in Table 2 as an example of a keyword of the signal-to-noise ratio update signaling. Figure 6 The "xxxx-xx-xxxx:xx:xx.xxx" in the table refers to the update time in Table 2.
[0075] Table 2
[0076]
[0077] As shown in Table 2, the reverse signal-to-noise ratio information of the terminal station can be extracted according to the keyword Updatereversepathsnr of the reverse signal-to-noise ratio update signaling, including: Mac24 address, reverse signal-to-noise ratio, and update time. The forward signal-to-noise ratio information of the terminal station can be extracted according to the keyword UpdateForwardSnr of the forward signal-to-noise ratio update signaling, including: terminal station ID, forward signal-to-noise ratio, update time and other information.
[0078] It is understandable that the embodiments of the present invention can also standardize the forward update signaling and the reverse update signaling according to the satellite communication protocol, and implement a line-by-line extraction method for the log file based on the forward signal-to-noise ratio update signaling keyword and the reverse signal-to-noise ratio update signaling keyword. Once the satellite communication protocol changes, the changed or newly added signaling keywords can be quickly revised in the module.
[0079] In an embodiment of the present invention, the logout offline information of the terminal station can also be extracted in the log file according to the logout signaling keyword LogOutInitialize, including: terminal station account, Mac24 address, ue Id, and logout offline time, and the login failure signaling information of the terminal station can be extracted according to the login failure signaling keyword LogOnFailure, including: terminal station account, login failure reason, and login time.
[0080] By extracting network data from the above-mentioned different communication stages, the operating status of the gateway in each network communication link can be accurately evaluated, thereby finding the insufficient links in the network and efficiently evaluating the network quality.
[0081] In an optional implementation, in order to improve the analysis efficiency, after extracting the target network data of each end station in each different communication stage, all the target network data can be uniformly stored in the database table Table_Analyzeapp_Log according to the end station classification. Figure 7 , Figure 7 A schematic diagram of a database table provided in an embodiment of the present invention.
[0082] exist Figure 7 In Table_Analyzeapp_Log, PKid is used to identify each record in Table_Analyzeapp_Log; the keyword field stores the signaling events in Table 1 or Table 2 above, and the value field stores Figure 5 or Figure 6 The original message of the terminal shown in the figure, the ue_account (terminal account) field stores the terminal account in Table 1 above, the mac24 (media access control address) field stores the Mac24 address in Table 1 or Table 2 above, the ue Id stores the terminal Id in Table 1 or Table 2 above, and the position (position) field stores Figure 5 or Figure 6 The log file path and line number of the log record are shown. The forwardsnr (forward signal-to-noise ratio) field stores the forward signal-to-noise ratio in the above Table 2. The reversesnr (reverse signal-to-noise ratio) field stores the reverse signal-to-noise ratio in the above Table 2. The datatime (time) field stores the trigger time in Table 1 or the update time in Table 2.
[0083] Therefore, in an optional implementation manner, the embodiment of the present invention may further perform the following steps after step S402:
[0084] Step b1: Extract the terminal account, Mac24 address and terminal ID from each login information, and establish a mapping relationship between the terminal account, Mac24 address and terminal ID.
[0085] Step b2: Determine the login failure information, signal-to-noise ratio information and logout offline information associated with each login information based on the mapping relationship and the Mac24 address and / or terminal ID contained in each signal-to-noise ratio information, logout offline information and login failure information.
[0086] Step b3: Store each login information and the login failure information, signal-to-noise ratio information and logout offline information associated with it into the database table in sequence.
[0087] In the above steps b1 to b3, after the login information is extracted, the extracted target network data can be stored in the database table Table_Analyzeapp_Log, and a data dictionary storage structure Dict_Ue_Id_Account is established to store the mapping relationship between the terminal account, Mac24 address, and terminal ID. This mapping relationship establishes a connection between the Mac24 address, the terminal ID, and the terminal account, which provides a guarantee for the subsequent merging and storage of the reverse signal-to-noise ratio signaling information, the front signal-to-noise ratio signaling information, and the offline cancellation information corresponding to a certain terminal with the login information of the terminal, so as to achieve the effect of grouping all the extracted target network data according to the terminal account, and improve the efficiency of subsequent statistical queries. Through database deployment and database table design, the extracted signaling information can be effectively stored, which can avoid the loss of network operation data and support visual presentation through database search statements.
[0088] Continue to see Figure 4 In the embodiment shown, in an optional implementation, step S403 may include the following steps:
[0089] Step c1: Establish an access assessment model corresponding to each terminal station according to the target network data in the login request phase.
[0090] In the embodiment of the present invention, the access evaluation model is shown in Table 3, and may include: terminal station account, access times, success times, failure times, and terminal station device name. The access evaluation model can be used to analyze whether the access status of the terminal station under the gateway is stable.
[0091] Table 3
[0092]
[0093] In an embodiment of the present invention, the implementation method of the above-mentioned step c1 can be: grouping the target network data in the login request stage according to the terminal account; within each terminal account group, counting the number of successful and failed login results; establishing an access assessment model according to the terminal account and the number of successful and failed login results corresponding to the terminal account.
[0094] Through the above implementation, an access evaluation model of the end station under the gateway station can be quickly established, which provides a basis for subsequent analysis of whether the access status under the gateway station is stable.
[0095] Step c2: The target network data in the combined login request phase and the network exit phase are used to establish an online evaluation model corresponding to each terminal.
[0096] In an embodiment of the present invention, the online evaluation model is shown in Table 4, and may include a terminal account, a Mac24 address, a terminal ID, a login time, an offline time, and an online duration.
[0097] Table 4
[0098]
[0099] The online evaluation model can be used to analyze whether the online status of the terminal station under the gateway station is stable. Therefore, the implementation method of step c2 provided in the embodiment of the present invention is: grouping the target data in all login request stages and network exit stages according to the terminal station account; extracting the Mac24 address, terminal station ID, login time and offline time corresponding to each terminal station account in the group of each terminal station account; determining the online duration corresponding to each terminal station account according to the offline time and login time; establishing an online evaluation model according to the Mac24 address, terminal station ID, login time, offline time and online duration corresponding to each terminal station account.
[0100] Through the above implementation, an online evaluation model for each terminal station in the online stage can be quickly established, which provides a basis for subsequent analysis of whether the online status of the terminal station under the gateway is stable.
[0101] Step c3: using the target network data in the online phase to establish a signal-to-noise ratio evaluation model corresponding to each terminal;
[0102] In the embodiment of the present invention, the signal-to-noise ratio evaluation model is shown in Table 5, including: terminal account, terminal ID, Mac24 address, update time, forward signal-to-noise ratio, and reverse signal-to-noise ratio.
[0103] Table 5
[0104]
[0105] The signal-to-noise ratio evaluation model can be used to analyze whether the air interface channel conditions under the satellite gateway meet the preset requirements. Therefore, the implementation method of step c3 provided in the embodiment of the present invention is: grouping the target network data in the online stage according to the terminal account; extracting the Mac24 address in each target network data and the reverse signal-to-noise ratio associated with the Mac24 address in the group of each terminal account, or extracting the terminal ID in each target network data and the forward signal-to-noise ratio associated with the terminal ID; establishing a signal-to-noise ratio evaluation model based on the Mac24 address corresponding to each terminal account and the reverse signal-to-noise ratio associated with the Mac24 address, the terminal ID, and the forward signal-to-noise ratio associated with the terminal ID.
[0106] Through the above implementation, a signal-to-noise ratio evaluation model for each terminal in the online stage can be quickly established, providing a basis for subsequent analysis of whether the air interface channel conditions of the terminal under the gateway meet the requirements.
[0107] In an optional implementation manner, the embodiment of the present invention further provides an implementation manner, that is, the above step S403 may include the following steps:
[0108] Step d1: Construct the data retrieval statement corresponding to each evaluation model.
[0109] Step d2: Extract key data used to establish each evaluation model from the database table according to the data retrieval statement.
[0110] Step d3: Establish an evaluation model based on the key data corresponding to each evaluation model.
[0111] Among them, for each evaluation model, a data retrieval statement can be constructed based on the information included in each evaluation model. For example, the information included in the access evaluation model includes the terminal account, access times, success times, failure times, and terminal device name. Then, when constructing a data retrieval statement, the terminal account and login results in the login information can be used to construct a retrieval statement. Similarly, for the signal-to-noise ratio evaluation model, a data retrieval statement can be constructed based on the terminal account, Mac24 address, terminal ID, forward signal-to-noise ratio, reverse signal-to-noise ratio, and other information, thereby achieving the effect of querying and counting the key information corresponding to each evaluation model.
[0112] The embodiment of the present invention can store the target network data in each network communication stage through the database table Table_Analyzeapp_Log. In order to improve the establishment speed of various evaluation models, data retrieval and statistics can be performed based on the database table, thereby completing the establishment of various evaluation models and improving processing efficiency.
[0113] Continue to see Figure 4In the illustrated embodiment, in step S104, after obtaining the access evaluation model, the online evaluation model, and the signal-to-noise ratio evaluation model in step S403, the stability of the current gateway network operation status can be quickly evaluated.
[0114] For the access assessment model, when the number of terminal stations is higher than the preset number threshold, and the proportion of the number of successful accesses of each terminal station in the number of accesses is higher than the preset threshold value, it can assist in indicating that the access of the terminal stations under the satellite gateway is stable. Among them, the preset number threshold and the threshold value can be set according to actual needs. For example, the preset number threshold is 100 and the preset threshold value is 90%. Then, when the number of terminal stations is higher than 100 and the proportion of the number of successful accesses of each terminal station in the number of accesses is higher than 90%, it indicates that the access is stable.
[0115] For the online evaluation model, when the online duration of the terminal station is longer than the preset duration, it can be used to help indicate that the online status of the terminal station under the satellite gateway is stable. The preset duration can be set according to actual needs. For example, if the preset duration is 24 hours, then when the online duration of the terminal station is longer than 24 hours, it can be used to help indicate that the online status of the terminal station under the satellite gateway is stable.
[0116] For the signal-to-noise ratio evaluation model, when the forward signal-to-noise ratio of the terminal station is higher than the first signal-to-noise ratio threshold of 8dB and the difference in the forward signal-to-noise ratio at adjacent times does not exceed the second signal-to-noise ratio threshold of 0.5dB, and the reverse signal-to-noise ratio of the terminal station is higher than the third signal-to-noise ratio threshold of 6dB and the difference in the reverse signal-to-noise ratio at adjacent times does not exceed the fourth signal-to-noise ratio threshold of 1dB, it can be used to assist in explaining that the air interface channel conditions under the satellite gateway are good. Among them, the relationship between the first signal-to-noise ratio threshold, the first signal-to-noise ratio threshold, the first signal-to-noise ratio threshold and the fourth signal-to-noise ratio threshold is: the first signal-to-noise ratio threshold is greater than the second signal-to-noise ratio threshold, the third signal-to-noise ratio threshold is greater than the fourth signal-to-noise ratio threshold, the first signal-to-noise ratio threshold is greater than the third signal-to-noise ratio threshold, and the second signal-to-noise ratio threshold is less than the fourth signal-to-noise ratio threshold.
[0117] For example, when the forward signal-to-noise ratio of the terminal station is higher than 8dB and the difference in the forward signal-to-noise ratio at adjacent times does not exceed 0.5dB, and the reverse signal-to-noise ratio of the terminal station is higher than 6dB and the difference in the reverse signal-to-noise ratio at adjacent times does not exceed 1dB, it can assist in explaining that the air interface channel conditions under the satellite gateway meet the requirements.
[0118] In summary, the method for analyzing the network operation status of a satellite gateway provided by the embodiment of the present invention traverses the original log file list recorded by the gateway system, parses each log file line by line, and extracts the login log, reverse reception signal-to-noise ratio log, forward reception signal-to-noise ratio log, and offline log of each terminal station according to the time sequence of the terminal station initiating access and the signaling definition standard formulated based on the satellite communication protocol, captures and records abnormal logs that do not meet the signaling definition standard, stores the extracted and captured logs in a database table, and according to the network operation status evaluation model, counts the number of access times, online time, forward reception signal-to-noise ratio change trend, and reverse reception signal-to-noise ratio change trend of the terminal station through a database retrieval method, thereby quickly evaluating the satellite network operation status. Compared with the existing analysis scheme, it has the following advantages:
[0119] (1) A large number of original log files of signaling gateways can be quickly analyzed through high-performance concurrent analysis software. The log files of the entire network for the whole day can be extracted within 2 hours, which greatly improves the analysis efficiency and extracts line by line based on signaling keywords without omissions.
[0120] (2) Through the network operation status assessment model and evaluation method, including the terminal station access assessment model, the online assessment model, and the signal-to-noise ratio assessment model, the stability of the current gateway station network operation status can be quickly assessed, and failure abnormal information can be accurately identified, so that countermeasures can be quickly taken.
[0121] (3) Through database deployment and database table design, the extracted signaling information can be effectively stored to avoid the loss of network operation data and support visual presentation through database retrieval statements.
[0122] Based on Figure 4 The same inventive concept, the embodiment of the present invention also provides a device for analyzing the network operation status of a satellite gateway, see Figure 8 , Figure 8 The functional module diagram of the device for analyzing the network operation status of a satellite gateway provided by the embodiment of the present invention includes: an acquisition module 901, an extraction module 902, a creation module 903 and an analysis module 904.
[0123] The acquisition module 901 is used to acquire the log file generated by the information gateway.
[0124] The extraction module 902 is used to extract the target network data of each terminal in different network communication stages from the log file by using the keywords corresponding to different network communication stages.
[0125] The building module 903 is used to build an evaluation model of the gateway in different network communication stages by using the target network data.
[0126] The analysis module 904 is used to determine whether the network operation status of the gateway meets the preset requirements according to each evaluation model.
[0127] It is understandable that the acquisition module 901, the extraction module 902, the establishment module 903 and the analysis module 904 can collaboratively execute steps S401 to S404 to achieve corresponding technical effects.
[0128] In an alternative implementation, see Fig. 9 , Fig. 9 The functional module diagram of the extraction module provided by the embodiment of the present invention includes a login information extraction unit 9021, an online process information extraction unit 9022 and a data storage unit 9023.
[0129] A login information extraction unit 9021 is used to extract the login information of the terminal in the login request phase in the log file according to the login signaling keyword, and to extract the login failure information in the login request phase according to the login failure signaling keyword;
[0130] The online process information extraction unit 9022 is used to extract the signal-to-noise ratio information of each terminal in the online stage by using the signal-to-noise ratio update signaling keyword, and to extract the deregistration offline information of each terminal in the deregistration stage according to the deregistration signaling keyword;
[0131] The data storage unit 9023 is used to use the login information, login failure information, signal-to-noise ratio information and logout offline information as target network data.
[0132] In an optional implementation, the data storage unit 9023 may also be used to extract the terminal account, Mac24 address and terminal ID from each piece of login information, and establish a mapping relationship between the terminal account, Mac24 address and terminal ID; determine the login failure information, signal-to-noise ratio information and logout offline information associated with each piece of login information based on the mapping relationship and the Mac24 address and / or terminal ID contained in each piece of signal-to-noise ratio information, logout offline information and login failure information; and store each piece of login information and the login failure information, signal-to-noise ratio information and logout offline information associated with it in a database table in sequence.
[0133] In an optional implementation, the establishment module 903 is specifically used to execute the above steps c1 to c3 and steps d1 to d3 to achieve corresponding technical effects.
[0134] Based on the above embodiments, the present application also provides a storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer executes the method for analyzing the network operation status of a satellite gateway provided in the above embodiments.
[0135] Based on the above embodiments, an embodiment of the present invention further provides a computer program. When the computer program is executed on a computer, the computer executes the method for analyzing the network operation status of a satellite gateway provided in the above embodiments.
[0136] Based on the above embodiments, an embodiment of the present invention further provides a chip, which is used to read a computer program stored in a memory and to execute the method for analyzing the network operation status of a satellite gateway provided in the above embodiments.
[0137] An embodiment of the present invention further provides a computer program product, including instructions, which, when executed on a computer, enables the computer to execute the method for analyzing the network operation status of a satellite gateway provided in the above embodiment.
[0138] The embodiments of the present invention are 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 invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by instructions. These instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. 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.
[0139] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable 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.
[0140] These computer program instructions can also be loaded onto a computer or other programmable 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 implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0141] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A method for analyzing the network operation status of a satellite gateway, characterized in that: The method comprises: Get the log files generated by the gateway; Using keywords corresponding to different network communication stages, extracting target network data of each terminal in different network communication stages from the log file; Using the target network data to establish an evaluation model of the gateway at different network communication stages; Determine whether the network operation status of the gateway satisfies the preset requirements according to each of the evaluation models; Extracting target network data of each terminal in different network communication stages from the log file using keywords corresponding to different network communication stages, including: extracting login information of the terminal in the login request stage from the log file according to a login signaling keyword, and extracting login failure information in the login request stage according to a login failure signaling keyword; extracting signal-to-noise ratio information of each terminal in the online stage according to a signal-to-noise ratio update signaling keyword, and extracting deregistration offline information of each terminal in the network deregistration stage according to a deregistration signaling keyword; using the login information, the login failure information, the signal-to-noise ratio information, and the deregistration offline information as the target network data; The target network data is used to establish an evaluation model of the gateway in different network communication stages, including: establishing an access evaluation model corresponding to each terminal according to the target network data in the login request stage; the access evaluation model is used to assist in analyzing whether the access status of the terminal under the gateway is stable; establishing an online evaluation model corresponding to each terminal in combination with the target network data in the login request stage and the network exit stage; the online evaluation model is used to assist in analyzing whether the online status of the terminal under the gateway is stable; establishing a signal-to-noise ratio evaluation model corresponding to each terminal using the target network data in the online stage; the signal-to-noise ratio evaluation model is used to assist in analyzing whether the air interface channel condition of the gateway meets the preset requirements.
2. The method for analyzing the network operation status of a satellite gateway according to claim 1, characterized in that: After extracting the target network data of each terminal in different network communication stages from the log file using the keywords corresponding to the different network communication stages, the method further includes: Extracting the terminal station account, Mac24 address and terminal station ID from each of the login information, and establishing a mapping relationship between the terminal station account, the Mac24 address and the terminal station ID; Determine the login failure information, the signal-to-noise ratio information, and the logout offline information associated with each piece of the login information according to the mapping relationship and the Mac24 address and / or terminal ID contained in each piece of the signal-to-noise ratio information, the logout offline information, and the login failure information; Each piece of login information and the login failure information, the signal-to-noise ratio information and the offline logout information associated with the login information are sequentially stored in a database table.
3. The method for analyzing the network operation status of a satellite gateway according to claim 1, characterized in that: Establishing an access assessment model corresponding to each terminal station according to the target network data in the login request phase, including: Grouping the target network data in the login request phase according to the end station account; In each group of the terminal station accounts, the number of successful and failed login results is counted; The access assessment model is established according to the terminal station account and the login results corresponding to the terminal station account, which are the number of successes and failures respectively.
4. The method for analyzing the network operation status of a satellite gateway according to claim 1, characterized in that: Combining the target network data in the login request phase and the network exit phase to establish an online evaluation model corresponding to each terminal station includes: Grouping all target data in the login request phase and the network exit phase according to the terminal station account; In each group of the terminal station account, extract the Mac24 address, terminal station ID, login time and offline time corresponding to each terminal station account; Determine the online duration corresponding to each of the terminal station accounts according to the offline time and the login time; The online evaluation model is established according to the Mac24 address, the terminal ID, the login time, the offline time and the online time corresponding to each terminal account.
5. The method for analyzing the network operation status of a satellite gateway according to claim 1, characterized in that: The target network data in the online phase is used to establish a signal-to-noise ratio evaluation model corresponding to each terminal, including: grouping the target network data in the online phase according to the end station account; In each group of the end station account, extract the Mac24 address in each of the target network data and the reverse signal-to-noise ratio associated with the Mac24 address, or extract the end station ID in each of the target network data and the forward signal-to-noise ratio associated with the end station ID; The signal-to-noise ratio evaluation model is established according to the Mac24 address corresponding to each end station account and the reverse signal-to-noise ratio associated with the Mac24 address and the end station ID and the forward signal-to-noise ratio associated with the end station ID.
6. The method for analyzing the network operation status of a satellite gateway according to claim 2, characterized in that: Using the target network data to establish an evaluation model of the gateway at different network communication stages includes: Constructing a data retrieval statement corresponding to each of the evaluation models; Extracting key data for establishing each of the evaluation models from the database table according to the data retrieval statement; The evaluation model is established according to the key data corresponding to each evaluation model.
7. A device for analyzing the network operation status of a satellite gateway, characterized in that: include: Acquisition module, extraction module, building module and analysis module; The acquisition module is used to acquire the log files generated by the information gateway; The extraction module is used to extract the target network data of each terminal in different network communication stages from the log file by using the keywords corresponding to different network communication stages; The establishment module is used to establish an evaluation model of the gateway station at different network communication stages using the target network data; The analysis module is used to determine whether the network operation status of the gateway station meets the preset requirements according to each evaluation model; The extraction module includes: a login information extraction unit, an online process information extraction unit and a data storage unit; the login information extraction unit is used to extract the login information of the terminal in the login request phase in the log file according to the login signaling keyword, and extract the login failure information in the login request phase according to the login failure signaling keyword; the online process information extraction unit is used to extract the signal-to-noise ratio information of each terminal in the online phase using the signal-to-noise ratio update signaling keyword, and extract the deregistration offline information of each terminal in the network deregistration phase according to the deregistration signaling keyword; the data storage unit is used to use the login information, the login failure information, the signal-to-noise ratio information and the deregistration offline information as the target network data; The establishment module is specifically used to: establish an access evaluation model corresponding to each of the end stations according to the target network data in the login request stage; the access evaluation model is used to assist in analyzing whether the access status of the end station under the gateway is stable; establish an online evaluation model corresponding to each of the end stations in combination with the target network data in the login request stage and the network exit stage; the online evaluation model is used to assist in analyzing whether the online status of the end station under the gateway is stable; establish a signal-to-noise ratio evaluation model corresponding to each of the end stations using the target network data in the online stage; the signal-to-noise ratio evaluation model is used to assist in analyzing whether the air interface channel condition of the gateway meets the preset requirements.
