Base station ID acquisition and drift positioning method and system based on ifx

Through ifx-based base station ID acquisition and drift positioning methods, base station ID information is automatically collected and positioned, and the problems of resource waste and inefficiency caused by relying on manual analysis in the prior art are solved, and the rapid and accurate collection and positioning of base station ID information is achieved.

CN119892669AActive Publication Date: 2025-04-25SHANGHAI HENGWEI INTELLIGENT TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510048059.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-13
Publication Date
2025-04-25
Estimated Expiration
2045-01-13

AI Technical Summary

Technical Problem

The existing technology relies on operation and maintenance personnel to conduct full-process on-duty analysis to obtain and record base station ID information, which has problems such as occupying manpower, requiring specific knowledge reserves, slow manual analysis speed, and untimely positioning.

Method used

Using ifx-based base station ID acquisition and drift positioning methods, automatic collection and positioning are realized by reading configuration data, judging file storage directory, starting packet capture process, and analyzing ifx traffic packets, generating user dictionary and outputting base station ID information.

Benefits of technology

It realizes the automatic collection and positioning of base station ID information, reduces manpower occupation, reduces the knowledge reserve requirements of operation and maintenance personnel, and improves the real-time analysis and comparison capabilities of base station ID information, avoiding the problem of missed collection and untimely positioning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119892669A_ABST
    Figure CN119892669A_ABST
Patent Text Reader

Abstract

The invention provides an ifx-based base station ID acquisition and drift positioning method and system. The method comprises the following steps: reading configuration data; starting a packet capturing master process and a packet capturing slave process at the same time; the packet capturing main process comprises the following steps: analyzing an ifx traffic message, and generating a user dictionary; whether the base station ID list configuration data has a value or not is judged, if not, the base station ID information is output to a log file corresponding to the log file name, and if yes, a comparison result of the base station ID information and the base station ID list configuration data with the value currently is output to the log file corresponding to the log file name; the packet capture slave process comprises the following steps: judging whether the packet capture time is reached or not according to the packet capture duration configuration data, and if so, stopping the packet capture process; and storing the ifx flow message in a file storage directory as a message file, and naming the message file according to the message name configuration data. According to the invention, manpower is liberated, the knowledge reserve requirement of operation and maintenance personnel is reduced, and the risk of missed collection and less statistics is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data communication technology, and in particular to an ifx-based base station ID collection and drift positioning method and system. Background Art

[0002] The core network obtains the call and Internet information of users at the mission location, and the traffic is transmitted to the X86 server through the convergence and diversion equipment. The processing software running on the server can identify and obtain the user information at the mission location, and monitor the spread of sensitive information such as fraud, violence, and pyramid schemes. Once identified, such as a user posting fraudulent information through text messages, the system will immediately block the source of the information to prevent adverse effects. In order to ensure accurate identification of users at the mission location, the base station ID information of the mission location must be collected in advance, and the newly appeared base station ID must be located and recorded in a timely manner to avoid omissions.

[0003] However, the current method relies on operation and maintenance personnel to be on duty throughout the process to obtain and record base station ID information, which has the disadvantages of occupying manpower, requiring specific knowledge reserves, slow manual analysis, and untimely positioning. Summary of the invention

[0004] In order to help solve the above technical problems, the present application provides an ifx-based base station ID collection and drift positioning method and system.

[0005] In the first aspect, the present application provides a base station ID collection and drift positioning method based on ifx, which adopts the following technical solution: A base station ID collection and drift positioning method based on ifx, wherein the method comprises: Read configuration data, the configuration data includes configuration files and configuration information, the configuration data includes file storage directory configuration data, base station ID list configuration data, log file name configuration data, message name configuration data and packet capture duration configuration data; Determine whether a file storage directory exists, and if not, create a file storage directory according to the file storage directory configuration data; Start a packet capture process, the packet capture process includes a packet capture master process and a packet capture slave process, and start the packet capture master process and the packet capture slave process at the same time; The packet capture main process includes: Parse ifx traffic messages and generate a user dictionary, wherein the user dictionary stores base station ID information; Determine whether the base station ID list configuration data has a value, if not, output the base station ID information to the log file corresponding to the log file name, if there is a value, output the comparison result between the base station ID information and the current base station ID list configuration data with a value to the log file corresponding to the log file name; The packet capture process includes: Determine whether the packet capture time has been reached according to the packet capture time configuration data, and if so, stop the packet capture process; The ifx traffic message is stored in the file storage directory as a message file, and the message file is named according to the message name configuration data.

[0006] Preferably, in the reading configuration data, the configuration data also includes network port name configuration data, and the packet capture process is started, and the packet capture process includes a packet capture master process and a packet capture slave process. The packet capture master process and the packet capture slave process are started at the same time, including: the ifx traffic message is connected to the network port corresponding to the network port name configuration data.

[0007] Preferably, in the parsing of ifx traffic messages, a user dictionary is generated, and the user dictionary stores base station ID information. The ifx traffic messages include user international mobile user identification code information, mobile station international user directory number information and base station ID information.

[0008] Preferably, in the parsing of ifx traffic messages, a user dictionary is generated, and the user dictionary stores the base station ID information. The user dictionary also stores the international mobile user identification code information, the mobile station international user directory number information, the base station ID information, timestamp information and network standard information.

[0009] In the second aspect, the present application provides a base station ID collection and drift positioning system based on ifx, which adopts the following technical solutions: A base station ID collection and drift positioning system based on ifx, wherein the system uses the method as described in any one of the first aspects above, the system is set in an X86 server, and the system includes: A configuration data module, wherein the configuration data module is provided with the configuration data, and the configuration data includes: Network port name configuration data, representing the network port name for ifx traffic access; Packet capture duration configuration data, representing the time for capturing ifx traffic; File storage directory configuration data, representing the intersection for storing log files and packet capture files; Message name configuration data, representing the file name of the stored message; Log file name configuration data, record the log file name; Base station ID list configuration data: a list of base station IDs representing the expected mission locations.

[0010] Preferably, the system further comprises a file storage directory module, and the file storage directory module is used to execute the determination whether the file storage directory exists, and if not, to create the file storage directory according to the file storage directory configuration data.

[0011] Preferably, the system further comprises a packet capture module, the packet capture module comprises a packet capture main process submodule and a packet capture slave process submodule, the packet capture main process submodule is used to execute the packet capture main process, and the packet capture slave process submodule is used to execute the packet capture slave process.

[0012] In summary, this application has the following advantages: 1. Since the collection and analysis process is fully automated, a lot of manpower is freed up.

[0013] 2. Operation and maintenance personnel can obtain results by analyzing the recorded logs without analyzing the original traffic, which reduces the knowledge requirements for operation and maintenance personnel.

[0014] 3. Compared with manual positioning analysis, the tool can perform real-time analysis and comparison without the risk of missing data or under-stating. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A schematic block diagram of an embodiment of a base station ID collection and drift positioning method based on ifx of the present application; Figure 2 This is a flow chart of an embodiment of a base station ID collection and drift positioning method based on ifx of the present application. DETAILED DESCRIPTION

[0016] The present application is further described below in conjunction with the accompanying drawings, and the structure and principle of the present application are very clear to people in the field. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0017] Figure 1 This is a schematic block diagram of an embodiment of a base station ID collection and drift positioning method based on ifx in the present application. Figure 2 This is a flow chart of an embodiment of a base station ID collection and drift positioning method based on ifx of the present application.

[0018] Combination Figure 1 and Figure 2 It is understood that the method of the present application may include: Step S11: Read configuration data, the configuration data includes configuration files and configuration information, and the configuration data includes file storage directory configuration data, base station ID list configuration data, log file name configuration data, message name configuration data and packet capture duration configuration data.

[0019] Step S12: Determine whether a file storage directory exists, and if not, create a file storage directory according to the file storage directory configuration data.

[0020] Step S13: Start the packet capture process, which includes a packet capture master process and a packet capture slave process, and start the packet capture master process and the packet capture slave process at the same time. In step S13, the ifx traffic message is connected to the network port corresponding to the network port name configuration data.

[0021] The main process of packet capture includes: Step S21: Parse the ifx traffic message and generate a user dictionary, which stores base station ID information, international mobile subscriber identity code information, mobile station international subscriber directory number information, base station ID information, timestamp information and network standard information. In step S21, the ifx traffic message includes the user's international mobile subscriber identity code information, mobile station international subscriber directory number information and base station ID information.

[0022] Step S22: Determine whether the base station ID list configuration data has a value. If not, output the base station ID information to the log file corresponding to the log file name. If there is a value, output the comparison result between the base station ID information and the current base station ID list configuration data with a value to the log file corresponding to the log file name.

[0023] The packet capture process includes: Step S31: judging whether the packet capture time has been reached according to the packet capture time configuration data, and if so, stopping the packet capture process.

[0024] Step S32: Store the ifx traffic message in the file storage directory as a message file, and name the message file according to the message name configuration data.

[0025] Specifically, the program implementation steps of the method of this application are as follows: First, read the configuration file, or configuration information. The configuration information contains the following: Network port name: the name of the network port for traffic access, configurable, default enp61s0f1; Packet capture duration: the time to capture ifx traffic, configurable, default 3600s; File storage directory: the intersection for storing log files and packet capture files, configurable, default is / home; Message name: the file name for storing messages, configurable, default is ifx.pcap; Log name: the file name of the log, configurable, the default is obtain_cellID.log; Base station ID list: Base station ID list of expected mission locations, configurable, default value is [].

[0026] Next, create a directory for storing files: Create the corresponding directory according to the "File Storage Directory" in the configuration. If the directory already exists, it will not be created.

[0027] Then, start the packet capture process: According to the parameters in the configuration, the master process parses the input ifx traffic and starts the packet capture slave process; The main process steps are as follows: Parse ifx traffic packets and generate user dictionaries. The specific implementation example is as follows: { "460XXXXX": { "MSISDN" : "137XXXXXXX", "CellID" : { "29954" : ["20241110-152010", "4G"], } } } As described in the sample, the dictionary stores the following information: IMSI, MSISDN, base station ID, timestamp, network standard; Determine whether there is a value in the "Base Station ID List" in the configuration file; If there is no value, that is, no expectation, then the collected base station ID is output to the log file; Timestamp: IMSI-MSISDN-base station ID-network standard; 20241110-152010: 460XXXXX-137XXXXXXX-29954-4G; If there is a value, that is, there is an expectation, then the comparison result is output to the log file; Timestamp: IMSI-MSISDN-base station ID-network standard-NotMatch | Match; 20241110-152010:460XXXXX-137XXXXXXX-29954-4G-Match.

[0028] The steps from the process are as follows: Determine whether the packet capture time has been reached. If so, stop the packet capture program. If satisfied, stop the packet capture process; Store the message in the directory and name it according to the message name in the configuration file.

[0029] The present application provides a base station ID collection and drift positioning system based on ifx, the system uses the aforementioned method, the system is set in an X86 server, and the system may include: Configuration data module: Configuration data is set in the configuration data module, and the configuration data includes: Network port name configuration data, representing the network port name for ifx traffic access; Packet capture duration configuration data, representing the time for capturing ifx traffic; File storage directory configuration data, representing the intersection for storing log files and packet capture files; Message name configuration data, representing the file name of the stored message; Log file name configuration data, record the log file name; Base station ID list configuration data: a list of base station IDs representing the expected mission locations.

[0030] In addition, the system also includes a file storage directory module and a packet capture module. The file storage directory module is used to determine whether a file storage directory exists. If not, the file storage directory is created according to the file storage directory configuration data. The packet capture module includes a packet capture main process submodule and a packet capture slave process submodule. The packet capture main process submodule is used to execute the packet capture main process, and the packet capture slave process submodule is used to execute the packet capture slave process.

[0031] The system of this application is intended to assist in collecting base station ID information at the mission location. The base station ID is a unique identifier that identifies a mobile communication base station, and is essential for ensuring the accuracy and stability of the communication connection. In order to meet new business needs, we need to collect this base station ID information, and this system can effectively obtain it by analyzing ifx messages. When a base station ID other than the preset one appears at the mission location, that is, when a base station drift occurs, the system can promptly locate and record the new base station ID information.

[0032] The ifx message is the call record information output by the signaling parsing component after parsing the core network signaling, which contains key information such as the user's IMSI, MSISDN, and base station ID. IMSI is the International Mobile Subscriber Identity, and MSISDN is equivalent to the mobile phone number you call daily. This system runs on an X86 server, can parse and obtain the corresponding configuration information, and continuously parse the received ifx traffic. The main process is responsible for storing user information in a dictionary and outputting the collected base station ID information; at the same time, when there is an expected base station list, the system will compare and output the comparison results.

[0033] In order to fully support the collection of base station ID information and the judgment of base station drift, the system is also designed with the function of sending messages from the process. After the packet capture time is met, the system will store the corresponding message for subsequent analysis. Operation and maintenance personnel can easily obtain base station ID information or judge whether the base station has drifted by analyzing the recorded log files. In addition, if the corresponding ifx original traffic needs to be analyzed in depth, the system will automatically store it in the specified directory to provide convenience for operation and maintenance personnel.

Claims

1. A base station ID collection and drift positioning method based on ifx, characterized in that: The method comprises: Read configuration data, the configuration data includes configuration files and configuration information, the configuration data includes file storage directory configuration data, base station ID list configuration data, log file name configuration data, message name configuration data and packet capture duration configuration data; Determine whether a file storage directory exists, and if not, create a file storage directory according to the file storage directory configuration data; Start a packet capture process, the packet capture process includes a packet capture master process and a packet capture slave process, and start the packet capture master process and the packet capture slave process at the same time; The main packet capture process includes: Parse ifx traffic messages and generate a user dictionary, wherein the user dictionary stores base station ID information; Determine whether the base station ID list configuration data has a value, if not, output the base station ID information to the log file corresponding to the log file name, if there is a value, output the comparison result between the base station ID information and the current base station ID list configuration data with a value to the log file corresponding to the log file name; The packet capture process includes: Determine whether the packet capture time has been reached according to the packet capture time configuration data, and if so, stop the packet capture process; The ifx traffic message is stored in the file storage directory as a message file, and the message file is named according to the message name configuration data.

2. The method according to claim 1, characterized in that In the read configuration data, the configuration data also includes network port name configuration data, the packet capture process is started, the packet capture process includes a packet capture master process and a packet capture slave process, and the packet capture master process and the packet capture slave process are started at the same time, including: the ifx traffic message is connected to the network port corresponding to the network port name configuration data.

3. The method according to claim 1, characterized in that In the parsing of the ifx traffic message, a user dictionary is generated, and the user dictionary stores the base station ID information. The ifx traffic message includes the user's international mobile user identification code information, the mobile station international user directory number information and the base station ID information.

4. The method according to claim 3, characterized in that In the parsing of ifx traffic messages, a user dictionary is generated, and the user dictionary stores base station ID information. The user dictionary also stores the international mobile user identification code information, the mobile station international user directory number information, the base station ID information, timestamp information and network standard information.

5. A base station ID collection and drift positioning system based on ifx, characterized in that: The system uses the method according to any one of claims 1 to 4, the system is set in an X86 server, and the system includes: A configuration data module, wherein the configuration data module is provided with the configuration data, and the configuration data includes: Network port name configuration data, representing the network port name for ifx traffic access; Packet capture duration configuration data, representing the time for capturing ifx traffic; File storage directory configuration data, representing the intersection for storing log files and packet capture files; Message name configuration data, representing the file name of the stored message; Log file name configuration data, record the log file name; Base station ID list configuration data: a list of base station IDs representing the expected mission locations.

6. The system according to claim 5, characterized in that The system also includes a file storage directory module, which is used to execute the judgment whether a file storage directory exists, and if not, create a file storage directory according to the file storage directory configuration data.

7. The system according to claim 5, characterized in that The system also includes a packet capture module, which includes a packet capture main process submodule and a packet capture slave process submodule. The packet capture main process submodule is used to execute the packet capture main process, and the packet capture slave process submodule is used to execute the packet capture slave process.

Citation Information

Patent Citations

  • Method, device and system for identifying cell base station of user traffic in CDMA (code division multiple access) network

    CN102118750A

  • All-standard base station information acquisition device

    CN107484199A

  • Data processing method and device for base station

    CN110278579A

  • Rail travel feature extraction method based on adjacency matrix and signaling triggering rule

    CN110650431A

  • Method and system for analyzing base station security logs

    CN112134719A