Base station attachment analysis method and system, electronic equipment and storage medium

By automatically analyzing the abnormal base station affiliation, the problems of low efficiency and human error of 5G base station affiliation analysis are solved, and the automated analysis of missed base stations is realized, reducing labor costs and improving operational efficiency and user experience.

CN118984453APending Publication Date: 2024-11-19广州市申迪计算机系统有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411175534.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

In the prior art, the affiliation analysis of 5G base stations relies on manual operation, which is inefficient and has a risk of human error, and requires high technical knowledge and security awareness, resulting in high labor costs and low operational efficiency.

Method used

By responding to the query instructions of the target object, traverse all network elements to obtain the original data of the base station information, analyze and collect the base station list, count the actual and the list of network elements that should be mounted, and combine the mapping relationship table comparison to automatically mark the base station affiliation exception to realize the base station affiliation exception automated analysis.

Benefits of technology

It realizes automated collection and analysis of 5G base station missed hooks, reducing labor costs, improving analysis efficiency and accuracy, and improving operational efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118984453A_ABST
    Figure CN118984453A_ABST
Patent Text Reader

Abstract

The invention discloses a base station affiliation analysis method and system, electronic equipment and a storage medium, and the method comprises the steps: responding to a query instruction of a target object, and traversing all network elements to obtain base station information original data; analyzing and collecting the original data of the base station information to obtain a base station list; the base station list comprises base station information associated with each network element, and the base station information comprises a base station ID and a tracking area code; based on the base station list, carrying out statistics to obtain an actual mounted network element list of each base station; based on the tracking area code, determining a list of network elements to be mounted of each base station in combination with a preset mapping relation table; wherein the actual mounting network element list and the to-be-mounted network element list corresponding to each base station are both associated with the base station ID; comparing the actual mounting network element list with the to-be-mounted network element list, and marking an abnormally-mounted base station; and summarizing all the abnormally-attached base stations, and sorting to obtain a base station abnormally-attached list. The method efficiently performs base station attachment analysis, and can be widely applied to the technical field of data processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a base station affiliation analysis method, system, electronic equipment and storage medium. Background Art

[0002] Each 5G base station needs to be associated with each AMF in the AMF Pool of the city or prefecture corresponding to its coverage area, and all AMFs in this pool will participate in the access and management of users of the base station. That is, its identification information (such as TAC) matches the configuration of the AMF Pool of the city or prefecture, so as to ensure efficient communication and seamless user experience. However, the current method is to obtain the base station list information through manual operation, that is, manually log in to each AMF network element through the manufacturer's network management server to execute a specific query command. This information contains TAC information. Then, according to the geographical area division corresponding to the TAC and the regional setting of the service pool to which the AMF belongs, a detailed manual comparison and analysis is performed to determine whether the base station is accurately connected to all AMFs in the corresponding pool of the corresponding area. Summary of the invention

[0003] The main purpose of the embodiments of the present invention is to propose a base station attachment analysis method, system, electronic device and storage medium, in order to solve at least one problem of the prior art. The present invention can efficiently perform base station attachment analysis.

[0004] To achieve the above purpose, an embodiment of the present invention provides a base station attachment analysis method in one aspect, the method comprising:

[0005] In response to the query instruction of the target object, traverse all network elements to obtain the original data of base station information;

[0006] The original data of base station information is analyzed and collected to obtain a base station list; the base station list includes base station information associated with each network element, and the base station information includes a base station ID and a tracking area code;

[0007] Based on the base station list, obtain the actual list of network elements mounted on each base station;

[0008] Based on the tracking area code and in combination with a preset mapping relationship table, a list of network elements to be mounted on each base station is determined;

[0009] The actual mounted network element list and the list of network elements to be mounted corresponding to each base station are both associated with the base station ID;

[0010] Compare the list of network elements actually mounted with the list of network elements to be mounted, and mark the abnormal base stations; summarize all abnormal base stations and compile a list of abnormal base station mounting.

[0011] In some embodiments, in response to a query instruction of a target object, traversing all network elements to obtain original data of base station information includes the following steps:

[0012] Receive a trigger action of a target object on a collection and analysis button in a preset interactive interface, and generate a query instruction based on the trigger action;

[0013] In response to the query instruction, the manufacturer's network management server automatically traverses all network elements to obtain the original data of base station information.

[0014] In some embodiments, based on the base station list, obtaining a list of actually mounted network elements of each base station by statistics includes the following steps:

[0015] Based on the base station list, the base station information associated with all network elements is traversed, and the actual mounted network element list of each base station is obtained through base station ID association statistics.

[0016] In some embodiments, the mapping relationship table includes a first mapping relationship table and a second mapping relationship table; determining the list of network elements to be mounted on each base station based on the tracking area code in combination with the preset mapping relationship table includes the following steps:

[0017] Determine the area to which each base station belongs based on the tracking area code;

[0018] Based on the region to which it belongs, confirm the Pool that should be mounted on each base station through the first mapping relationship table mapping;

[0019] Based on the Pool to be mounted, a list of network elements to be mounted on each base station is confirmed through mapping in the second mapping relationship table;

[0020] The corresponding relationship between the base station and the pool to be mounted and the list of network elements to be mounted is based on the base station ID association.

[0021] In some embodiments, the method further comprises the following steps:

[0022] Obtain operator planning data;

[0023] Determine a first mapping relationship between a tracking area code and a corresponding area based on operator planning data, and then obtain a first mapping relationship table;

[0024] Based on the operator planning data, a second mapping relationship between each base station and the Pool to be mounted thereon is determined, and then a second mapping relationship table is obtained.

[0025] In some embodiments, comparing the list of actually mounted network elements with the list of network elements to be mounted, and marking abnormally mounted base stations, includes the following steps:

[0026] Obtain all base stations to be compared and sort them out to obtain a base station list; take the first base station in the base station list as the target base station;

[0027] Traverse and match each network element in the list of network elements actually mounted on the target base station with all network elements in the list of network elements to be mounted, and determine the marking result of the target base station based on the matching result; the marking result includes mounting an abnormal base station and mounting a normal base station;

[0028] The next base station of the target base station in the base station list is taken as the target base station, and the step of traversing and matching each network element in the actual mounted network element list of the target base station with all network elements in the list of network elements to be mounted is returned until all base stations in the base station list are matched.

[0029] In some embodiments, the abnormal base station to be attached includes a wrong base station to be attached and a missed base station to be attached; each network element in the list of network elements actually attached to the target base station is traversed and matched with all network elements in the list of network elements to be attached, and a marking result of the target base station is determined based on the matching result, including the following steps:

[0030] Based on the base station ID of the target base station, obtain a list of network elements actually mounted on the target base station as a first list, and obtain a list of network elements to be mounted on the target base station as a second list;

[0031] Taking the first network element in the first list as the target network element;

[0032] Match the target network element with all network elements in the second list in sequence, and when a network element identical to the target network element is matched in the second list, mark the corresponding network element in the second list as matching the same; otherwise, mark the target base station as a wrongly connected base station;

[0033] The next network element of the target network element in the first list is used as the target network element, and the step of matching the target network element with all network elements in the second list in sequence is returned to be executed until all network elements in the first list are matched;

[0034] When there is a network element in the second list that is not marked as matching the same, the target base station is marked as a missed base station; otherwise, the target base station is marked as a normal base station.

[0035] To achieve the above object, another aspect of an embodiment of the present invention provides a base station affiliation analysis system, the system comprising:

[0036] The first module is used to respond to the query instruction of the target object and traverse all network elements to obtain the original data of base station information;

[0037] The second module is used to parse and collect the original data of base station information to obtain a base station list; the base station list includes the base station information associated with each network element, and the base station information includes the base station ID and the tracking area code;

[0038] The third module is used to obtain a list of actually mounted network elements for each base station based on the base station list;

[0039] The fourth module is used to determine the list of network elements to be mounted on each base station based on the tracking area code and in combination with a preset mapping relationship table;

[0040] The actual mounted network element list and the list of network elements to be mounted corresponding to each base station are both associated with the base station ID;

[0041] The fifth module is used to compare the list of network elements actually mounted with the list of network elements to be mounted, mark abnormal base stations, summarize all abnormal base stations, and obtain a list of abnormal base station mounting.

[0042] In some embodiments, the system further comprises:

[0043] The sixth module is used to obtain operator planning data;

[0044] A seventh module is used to determine a first mapping relationship between a tracking area code and a corresponding area based on operator planning data, and then to obtain a first mapping relationship table;

[0045] The eighth module is used to determine the second mapping relationship between each base station and the Pool to be mounted thereon based on the operator planning data, and then to obtain a second mapping relationship table.

[0046] To achieve the above objective, another aspect of an embodiment of the present invention provides an electronic device, the electronic device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the above method when executing the computer program.

[0047] To achieve the above objective, another aspect of an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above method is implemented.

[0048] The embodiments of the present invention include at least the following beneficial effects: the present invention provides a base station attachment analysis method, system, electronic device and storage medium, the scheme traverses all network elements to obtain the original data of base station information by responding to the query instruction of the target object; the original data of base station information is analyzed and collected to obtain a base station list; the base station list includes the base station information associated with each network element, and the base station information includes the base station ID and the tracking area code; based on the base station list, the actual mounted network element list of each base station is statistically obtained; based on the tracking area code, the list of network elements to be mounted for each base station is determined in combination with a preset mapping relationship table; wherein, the actual mounted network element list and the list of network elements to be mounted corresponding to each base station are both associated with the base station ID; the actual mounted network element list and the list of network elements to be mounted are compared, and abnormal base stations are marked; all abnormal base stations are summarized to obtain an abnormal list of base station attachment. The embodiments of the present invention can realize the automatic collection and analysis of 5G base station misattachment and omission, reduce labor costs, improve the efficiency of analysis and verification and the accuracy of analysis results, thereby improving operational efficiency and user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 is a flow chart of a base station affiliation analysis method provided by an embodiment of the present invention;

[0050] Figure 2 It is a schematic diagram of the overall process principle of the base station affiliation analysis method provided by an embodiment of the present invention;

[0051] Figure 3 It is a schematic diagram of the architecture of the base station attachment analysis system provided by an embodiment of the present invention;

[0052] Figure 4 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present invention. They are only examples of systems and methods consistent with some aspects of the embodiments of the present invention as detailed in the attached claims.

[0054] It is understood that the terms "first", "second", etc. used in the present invention may be used herein to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of the present invention, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0055] The terms "at least one", "multiple", "each", "any", etc. used in the present invention, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.

[0056] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.

[0057] The base station hanging analysis method provided by the embodiment of the present invention relates to the field of data processing technology. The base station hanging analysis method provided by the embodiment of the present invention can be applied to a terminal, can also be applied to a server, and can also be software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and a car terminal, etc., but is not limited to this; the server side can be configured as an independent physical server, or it can be configured as a server cluster or a distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network; the software can be an application that implements the base station hanging analysis method, etc., but is not limited to the above forms.

[0058] The present invention can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present invention can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present invention can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0059] Figure 1 is an optional flow chart of a base station attachment analysis method provided by an embodiment of the present invention. Figure 1 The method may include but is not limited to steps S100 to S500.

[0060] S100, in response to a query instruction of a target object, traverse all network elements to obtain original data of base station information;

[0061] It should be noted that, in some embodiments, step S100 may include the following steps: receiving a trigger action of a target object on a collection and analysis button in a preset interactive interface, and generating a query instruction based on the trigger action; in response to the query instruction, automatically traversing all network elements through the manufacturer's network management server to obtain the original data of the base station information.

[0062] Exemplarily, in some specific implementations, the present invention can be used to connect to the manufacturer's network management server, and the manufacturer's network management server can use a script program to automatically log in to traverse all AMF network elements, execute query instructions, and obtain the original data of base station information.

[0063] Specifically, in some actual application scenarios, collection and analysis are performed on demand. When analysis is required, the collection and analysis is manually triggered through the interface button, so there is no limit on the collection time. If a network failure or data anomaly occurs during the collection process, it will automatically retry, up to 3 times. If an AMF retries the collection 3 times and still cannot obtain the desired result, then this collection will be assigned a "failed" status.

[0064] S200, analyzing and collecting the original data of base station information to obtain a base station list;

[0065] The base station list includes base station information associated with each network element, and the base station information includes a base station ID and a tracking area code;

[0066] Exemplarily, in some specific implementations, the program can automatically parse the collected original data of base station information, save the information needed for database analysis, such as the base station ID (the unique identifier of the base station), TAC, the name of the AMF network element mounted on the base station, etc. (the AMF from which the base station information is collected indicates that the base station is mounted on this AMF), and obtain a base station list.

[0067] S300, based on the base station list, obtain a list of network elements actually mounted on each base station;

[0068] It should be noted that, in some embodiments, step S300 may include the following steps: traversing the base station information associated with all network elements based on the base station list, and obtaining a list of actually mounted network elements for each base station through base station ID association statistics.

[0069] Exemplarily, in some specific implementations, a program can be used to automatically analyze the base station list, and a list of all AMF network elements actually mounted on the base station can be obtained through base station ID association statistics.

[0070] S400, determining a list of network elements to be mounted on each base station based on the tracking area code and in combination with a preset mapping relationship table;

[0071] The actual mounted network element list and the list of network elements to be mounted corresponding to each base station are both associated with the base station ID;

[0072] It should be noted that the mapping relationship table includes a first mapping relationship table and a second mapping relationship table; in some embodiments, step S400 may include the following steps: determining the area to which each base station belongs based on the tracking area code; based on the area to which it belongs, confirming the Pool to be mounted for each base station through mapping through the first mapping relationship table; based on the Pool to be mounted, confirming the list of network elements to be mounted for each base station through mapping through the second mapping relationship table; wherein the correspondence between the base station and the Pool to be mounted and the list of network elements to be mounted is based on the base station ID association.

[0073] Exemplarily, in some specific implementations, the area to which the base station belongs can be analyzed through the TAC information of the base station and the mapping relationship between TAC and the area, and the Pool that should be mounted on the base station can be analyzed through the mapping relationship between the area and the Pool, and then the list of AMF network elements that should be mounted on the base station can be obtained through the mapping relationship between the Pool and AMF.

[0074] Among them, in some embodiments, the method may also include the following steps: obtaining operator planning data; determining a first mapping relationship between the tracking area code and the area to which it belongs based on the operator planning data, and then collating to obtain a first mapping relationship table; determining a second mapping relationship between each base station and the Pool to which it should be mounted based on the operator planning data, and then collating to obtain a second mapping relationship table.

[0075] Exemplarily, in some specific implementations, based on operator-related information data, the segment mapping relationship of TAC according to regional planning can be pre-saved, which is used to determine which area a certain TAC is divided into according to the segment interval, and then obtain the base station's belonging area, and pre-saved the 5G core network AMF's pool situation and the mapping relationship between the region and the pool, which is used to determine which pool a certain area belongs to and which AMFs are included in the corresponding pool.

[0076] S500: Compare the list of network elements actually mounted with the list of network elements to be mounted, and mark abnormal base stations; summarize all abnormal base stations, and obtain an abnormal base station mounting list.

[0077] It should be noted that, in some embodiments, the actual mounted network element list and the list of network elements to be mounted are compared, and abnormal base stations are marked for mounting, which can include the following steps: obtaining all base stations to be compared and arranging them to obtain a base station list; taking the first base station in the base station list as the target base station; traversing and matching each network element in the actual mounted network element list of the target base station with all network elements in the list of network elements to be mounted, and determining the marking result of the target base station based on the matching result; the marking result includes mounting abnormal base stations and mounting normal base stations; taking the next base station of the target base station in the base station list as the target base station, and returning to execute the step of traversing and matching each network element in the actual mounted network element list of the target base station with all network elements in the list of network elements to be mounted, until all base stations in the base station list are matched.

[0078] Among them, the abnormal base stations to be attached include wrongly attached base stations and missed base stations; in some embodiments, each network element in the actual mounted network element list of the target base station is traversed and matched with all network elements in the list of network elements to be mounted, and the marking result of the target base station is determined based on the matching result, which may include the following steps: based on the base station ID of the target base station, the actual mounted network element list of the target base station is obtained as the first list, and the list of network elements to be mounted of the target base station is obtained as the second list; the first network element in the first list is used as the target network element; the target network element is matched with all network elements in the second list in turn, and when the network element identical to the target network element is matched in the second list, the corresponding network element in the second list is marked as matching the same; otherwise, the target base station is marked as a wrongly attached base station; the next network element of the target network element in the first list is used as the target network element, and the step of matching the target network element with all network elements in the second list in turn is returned to execute until all network elements in the first list are matched; when there are network elements in the second list that are not marked as matching the same, the target base station is marked as a missed base station; otherwise, the target base station is marked as attached to a normal base station.

[0079] Exemplarily, in some specific implementations, the program can automatically compare the AMF network element list actually mounted by the base station and the AMF network element list that the base station should mount, and analyze whether the base station is wrongly mounted or missed. For example, if the AMF list that a base station should be mounted on is AMF01\AMF02\AMF03\AMF04, but the actual mounted list is AMF01\AMF02\AMF03, it is missed, and if the actual mounted list is AMF01\AMF02\AMF03\AMF05, it is wrongly mounted. Any inconsistency with the list that should be mounted is a wrong mounting or missing mounting, and is classified as a mounting anomaly. Finally, the information of all base stations with mounting anomalies is summarized to obtain a list of wrong mounting or missing mounting of base stations.

[0080] In order to explain the principle of the technical solution of the present invention in detail, the overall process of the present invention is described below in combination with some specific embodiments. It is easy to understand that the following is an explanation of the technical principle of the present invention and cannot be regarded as a limitation of the present invention.

[0081] First of all, it should be noted that in the design of the 5G mobile core network (5GC), AMF (Access and Mobility Management Function) is a key network element in the user plane and control plane, responsible for the access management and mobility management of UE (user equipment). AMFs are usually organized into pools (AMF Pool), which can provide redundancy and load balancing, ensuring that even if an AMF fails, services can continue to be provided through other AMFs.

[0082] When a 5G base station (gNB or RRU) needs to access the core network, it will first communicate with the nearby AMF. Each base station is usually assigned a specific Tracking Area Code (TAC), which is an identifier used to locate the UE. Based on the regional division of the TAC, the AMF Pool will be predefined to be responsible for serving the UE within the specific TAC range.

[0083] For prefecture-level cities, the configuration of AMF Pool is usually based on the division of geographical areas, for example, one AMF Pool corresponds to one or more prefecture-level cities. The purpose of this is to optimize service quality and reduce registration delays, because the UE only needs to register once, and then when moving within the area, AMF can quickly identify and process the UE's request based on the TAC, without having to start the registration process from scratch every time.

[0084] For a 5G base station (gNodeB), it will establish a connection with a specific AMF Pool to ensure that when a UE (user equipment) initiates a communication request, the request can be assigned to an AMF in the pool for processing. When the base station attempts to connect to the core network, it sends a registration request containing the TAC information to which it belongs. The AMF Pool will check this TAC and decide how to respond based on the preset strategy. The purpose of this is to optimize the use of network resources, reduce latency, and achieve efficient mobility management.

[0085] Therefore, each 5G base station needs to be associated with each AMF in the AMF Pool of the city or prefecture corresponding to its coverage area, and all AMFs in this pool will participate in the access and management of users of the base station. That is, its identification information (such as TAC) matches the configuration of the AMF Pool of the city or prefecture, so as to ensure efficient communication and seamless user experience.

[0086] However, existing manual comparison and analysis methods have the following disadvantages:

[0087] 1. Manual comparison is inefficient, time-consuming and labor-intensive, and carries the risk of human error;

[0088] 2. It is necessary to manually log in to the network element to execute instructions, which requires high safety awareness and technical knowledge reserves of operators, requires specialized personnel, and has high labor costs.

[0089] The above shortcomings are caused by the following reasons:

[0090] 1. There are a huge number of base stations. A province may have tens of thousands to hundreds of thousands of base stations, and manual verification is time-consuming and laborious.

[0091] 2. The logic of verification is relatively complex, and it is impossible to directly determine whether there is a mistake or omission in the verification. It is necessary to count the actual mounting situation and analyze the expected mounting situation, and then compare the two results to know whether there is a mistake or omission in the verification. Manual analysis and statistics have the risk of human error;

[0092] 3. Only personnel with certain professional knowledge can operate network elements in the production environment to perform query operations. If they are operated incorrectly, it may cause failures, paralyze services, and affect user experience.

[0093] In view of this, the present invention aims to realize the automated collection and analysis of 5G base station misconnections and missed connections through programs and related devices, reduce labor costs, improve analysis and verification efficiency and the accuracy of analysis results, thereby improving operational efficiency and user experience.

[0094] In some specific application scenarios, the technical solution of the present invention can be implemented in the following implementation environment: two Linux servers, one for connecting to the network element manufacturer's network management and collecting base station information, and one for statistical analysis of base station mounting conditions, equipped with a MYSQL database. Figure 2 As shown, the present invention can be implemented by the following steps:

[0095] 1. Pre-save the mapping relationship of TAC sections according to regional planning, so as to determine which area a certain TAC is divided into according to the section interval, and then obtain the belonging area of ​​the base station;

[0096] TAC is the abbreviation of Tracking Area Code, which is an important parameter in mobile communication networks and is used to identify different tracking areas. In LTE networks, TAC is associated with base stations in network elements and is used to manage and track the movement of mobile devices between different tracking areas. The definition and management of TAC is crucial to ensure the normal operation of mobile communication networks and optimize user experience.

[0097] Specifically, the mapping relationship between TAC and region is determined by the operator's planning. One region corresponds to multiple TAC codes, which are generally divided into continuous segments. For example, the TAC planning segment corresponding to a certain municipal area is 750000~75FFFF, with a total of 65536 TACs. The planning segments are unique and there is no duplication. The mapping relationship is relatively fixed and will not be updated frequently. There is no fixed update cycle. If TAC resources need to be increased, the operator will notify in advance and guide the corresponding data update.

[0098] 2. Pre-save the pooling of 5G core network AMF and the mapping relationship between regions and pools to determine which pool a certain area belongs to and which AMFs are included in the corresponding pool;

[0099] Specifically, the planning and design of the Pool is led by the operator, and its specific content will be dynamically adjusted according to the operator's own business needs, network scale, service characteristics and technological evolution. Usually, they are divided according to geographical location or service coverage area. For example, a province may divide its subordinate prefecture-level cities into several different Pools according to geographical location or service area. Each Pool may contain 1 to N prefecture-level cities, and then allocate appropriate AMF (access and mobility management function) nodes to each Pool to achieve load balancing. This allocation relationship is relatively fixed and will not be changed frequently unless there is capacity expansion or other major changes. If AMF resources need to be increased, the operator will notify in advance and guide the corresponding data update.

[0100] 3. Use the present invention to connect to the manufacturer's network management server, use the script program to automatically log in to traverse all AMF network elements through the manufacturer's network management server, execute query instructions, and obtain the original data of base station information;

[0101] Collection and analysis are performed on demand. When analysis is needed, the collection and analysis can be manually triggered through the interface button, so there is no limit on the collection time. If a network failure or data anomaly occurs during the collection process, it will automatically retry, up to 3 times. If an AMF retries the collection 3 times and still cannot obtain the desired result, then this collection will be assigned a "failed" status.

[0102] 4. The program automatically parses the collected original data of base station information, saves the information needed for storage analysis, such as base station ID (the unique identifier of the base station), TAC, the name of the AMF network element mounted on the base station, etc. (the base station information collected from which AMF indicates that the base station is mounted on this AMF), and obtains the base station list;

[0103] 5. Automatically analyze the base station list through the program, and obtain the list of all AMF network elements actually mounted on the base station through the base station ID association statistics;

[0104] 6. Analyze the area to which the base station belongs through the TAC information of the base station and the mapping relationship between TAC and area, and analyze the Pool that the base station should mount through the mapping relationship between area and Pool, and then obtain the AMF network element list that the base station should mount through the mapping relationship between Pool and AMF; the specific process example is as follows:

[0105] ① After obtaining the TAC code of the base station (for example, 750001), we can automatically compare it with the TAC planning segment of the region through the program to obtain the planning segment to which the TAC belongs (750000~75FFFF), and obtain the area to which the TAC belongs through the mapping relationship between the planning segment and the region, that is, the area to which the base station belongs;

[0106] ②After obtaining the area to which the base station belongs, the program compares the mapping relationship between the area and the pool to obtain the pool to which the base station belongs;

[0107] ③ After obtaining the pool to which the base station belongs, through the mapping relationship between the pool and the AMF, you can get which AMFs are allocated to the pool. All the AMFs allocated to the pool are the AMF list that the corresponding base station should mount. (The base station should be mounted on each AMF under the pool to which it belongs);

[0108] 7. The program automatically compares the AMF network element list actually mounted on the base station with the AMF network element list that the base station should mount, and analyzes whether the base station is wrongly mounted or missed. For example, if the AMF list that a base station should mount is AMF01\AMF02\AMF03\AMF04, but the actual list mounted is AMF01\AMF02\AMF03, it is missed. If the actual list mounted is AMF01\AMF02\AMF03\AMF05, it is wrongly mounted. Any inconsistency with the list that should be mounted is wrongly mounted or missed, and is classified as mounting abnormality.

[0109] 8. Summarize the information of all abnormal base stations and obtain a list of wrong or missed base stations;

[0110] Specifically, the present invention adopts manual triggering for collection and analysis, and the ultimate goal of the present invention is to automatically collect, analyze and output a list of base stations that are wrongly connected or missed, so as to assist operation and maintenance personnel in correcting the configuration.

[0111] In summary, the present invention uses SSL encrypted socket communication to connect to the manufacturer's network management server through the server, so that the program automatically traverses and logs in to the AMF network element, and automatically executes the query command to obtain the base station list information associated with the network element, while the prior art is to manually log in to the AMF network element one by one and manually execute the query command to obtain the base station information list. Compared with the current technology, the method of obtaining the base station information list of all AMFs in the present invention is more efficient, does not require manual operation, is more secure, and saves human resources.

[0112] In addition, the present invention automatically analyzes the situations of missed or omitted base stations through a program, and automatically analyzes and obtains a list of base station missed or incorrect connections. The prior art uses manual analysis. Compared with the prior art, the analysis method of the present invention is more efficient and accurate, and there will be no human errors. The present invention can solve the following technical problems: It solves the problem that operators have difficulty in troubleshooting and analyzing the situations of missed or incorrect connections of a large number of base stations in AMF network elements in different pools on the core network side, and the problem that manual verification is time-consuming and labor-intensive, and realizes automatic analysis of missed or incorrect connections of base stations, obtains a list of missed or incorrect connections of base stations, saves labor costs, and improves operational efficiency and user experience.

[0113] Compared with the prior art, the present invention has at least the following beneficial effects:

[0114] 1. The technical solution of the present invention greatly improves the analysis efficiency of 5G base station misconnection and omission. The present invention uses hardware equipment and programs to automatically log in to the manufacturer's network management server and automatically traverse and collect base station information. Compared with the prior art method of manually logging in to the manufacturer's network management server and manually executing collection instructions one by one to collect base station information, the collection speed is faster and more efficient. In addition, the present invention uses a program to automatically analyze the misconnection and omission of base stations. Compared with the manual analysis method of the prior art, the speed is faster and more efficient.

[0115] 2. The analysis results of the present invention are more accurate. The present invention uses hardware equipment and programs for automatic analysis, and there is no human error. The prior art uses manual analysis, which may result in human error.

[0116] 3. The method of the present invention saves more manpower. The present invention uses hardware equipment and programs to automatically collect and analyze the misconnection and missed connection of 5G base stations without manual operation. The existing technology requires manpower and requires dynamic command operation and personnel familiar with the business to implement. Therefore, compared with the existing technology, the present invention effectively reduces labor costs.

[0117] like Figure 3 The embodiment of the present invention further provides a base station hanging analysis system 900, which may include:

[0118] The first module 910 is used to traverse all network elements to obtain original data of base station information in response to a query instruction of a target object;

[0119] The second module 920 is used to parse and collect the original data of the base station information to obtain a base station list; the base station list includes the base station information associated with each network element, and the base station information includes the base station ID and the tracking area code;

[0120] The third module 930 is used to obtain a list of actually mounted network elements of each base station based on the base station list;

[0121] The fourth module 940 is used to determine the list of network elements to be mounted on each base station based on the tracking area code and in combination with a preset mapping relationship table;

[0122] The actual mounted network element list and the list of network elements to be mounted corresponding to each base station are both associated with the base station ID;

[0123] The fifth module 950 is used to compare the actual mounted network element list with the list of network elements to be mounted, mark abnormally mounted base stations; summarize all abnormally mounted base stations, and compile a base station mounting abnormality list.

[0124] It should be noted that, in some embodiments, the system may further include:

[0125] The sixth module is used to obtain operator planning data;

[0126] A seventh module is used to determine a first mapping relationship between a tracking area code and a corresponding area based on operator planning data, and then to obtain a first mapping relationship table;

[0127] The eighth module is used to determine the second mapping relationship between each base station and the Pool to be mounted thereon based on the operator planning data, and then to obtain a second mapping relationship table.

[0128] The contents of the method embodiments of the present invention are all applicable to the system embodiments. The functions specifically implemented by the system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method.

[0129] The embodiment of the present invention further provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned base station affiliation analysis method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.

[0130] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0131] See also Figure 4 , Figure 4 The hardware structure of an electronic device 1000 of another embodiment is illustrated. The electronic device 1000 includes:

[0132] The processor 1001 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present invention;

[0133] The memory 1002 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1002 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1002, and the processor 1001 calls and executes the base station docking analysis method of the embodiment of the present invention;

[0134] Input / output interface 1003, used to implement information input and output;

[0135] The communication interface 1004 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);

[0136] A bus 1005 , which transmits information between various components of the device (e.g., the processor 1001 , the memory 1002 , the input / output interface 1003 , and the communication interface 1004 );

[0137] The processor 1001 , the memory 1002 , the input / output interface 1003 and the communication interface 1004 are connected to each other in communication within the device via the bus 1005 .

[0138] An embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned base station attachment analysis method is implemented.

[0139] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0140] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor 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.

[0141] The base station attachment analysis method, base station attachment analysis system, electronic device and storage medium provided by the embodiment of the present invention, by responding to the query instruction of the target object, traverse all network elements to obtain the original data of base station information; parse and collect the original data of base station information to obtain a base station list; the base station list includes the base station information associated with each network element, and the base station information includes the base station ID and the tracking area code; based on the base station list, the actual mounted network element list of each base station is statistically obtained; based on the tracking area code, the list of network elements to be mounted for each base station is determined in combination with a preset mapping relationship table; wherein, the actual mounted network element list and the list of network elements to be mounted corresponding to each base station are both associated with the base station ID; the actual mounted network element list and the list of network elements to be mounted are compared, and abnormal base stations are marked; all abnormal base stations are summarized to obtain an abnormal list of base station attachments. The embodiment of the present invention can realize the automated collection and analysis of wrong and missed attachments of 5G base stations, reduce labor costs, improve the efficiency of analysis and verification and the accuracy of analysis results, thereby improving operational efficiency and user experience.

[0142] The embodiments described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. Those skilled in the art can appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems.

[0143] Those skilled in the art will appreciate that the technical solutions shown in the figures do not limit the embodiments of the present invention and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0144] The system embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0145] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0146] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0147] It should be understood that in the present invention, "at least one (item)" refers to one or more, and "plurality" refers to two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can represent: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0148] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.

[0149] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0150] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0151] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including multiple instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store programs.

[0152] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the embodiments of the present invention is not limited thereby. Any modification, equivalent substitution and improvement made by those skilled in the art without departing from the scope and essence of the embodiments of the present invention shall be within the scope of the rights of the embodiments of the present invention.

Claims

1. A base station affiliation analysis method, characterized in that: The method comprises the following steps: In response to the query instruction of the target object, traverse all network elements to obtain the original data of base station information; The base station information raw data is parsed and collected to obtain a base station list; the base station list includes base station information associated with each network element, and the base station information includes a base station ID and a tracking area code; Based on the base station list, obtain a list of actually mounted network elements for each base station; Based on the tracking area code and in combination with a preset mapping relationship table, a list of network elements to be mounted on each of the base stations is determined; The list of actually mounted network elements and the list of network elements to be mounted corresponding to each base station are both associated with the base station ID; The list of actually mounted network elements is compared with the list of network elements to be mounted, and abnormal base stations with mounting are marked; all the abnormal base stations with mounting are summarized to obtain an abnormal base station mounting list.

2. The method according to claim 1, characterized in that The step of responding to the query instruction of the target object and traversing all network elements to obtain the original data of base station information includes the following steps: Receiving, on a preset interactive interface, a triggering action of the target object on a collection and analysis button, and generating the query instruction based on the triggering action; In response to the query instruction, the manufacturer's network management server automatically traverses all the network elements to obtain the original data of the base station information.

3. The method according to claim 1, characterized in that The step of obtaining a list of actually mounted network elements of each base station based on the base station list includes the following steps: The base station information associated with all the network elements is traversed based on the base station list, and a list of actually mounted network elements of each base station is obtained through statistics associated with the base station ID.

4. The method according to claim 1, characterized in that: The mapping relationship table includes a first mapping relationship table and a second mapping relationship table; the determining of the list of network elements to be mounted on each base station based on the tracking area code and in combination with the preset mapping relationship table includes the following steps: Determine the area to which each base station belongs based on the tracking area code; Based on the area to which it belongs, confirming through the first mapping table that each of the base stations should be mounted with a Pool; Based on the Pool to be mounted, confirming the list of network elements to be mounted of each base station through mapping in the second mapping relationship table; The corresponding relationship between the base station, the Pool to be mounted, and the list of network elements to be mounted is associated based on the base station ID.

5. The method according to claim 4, characterized in that The method further comprises the following steps: Obtain operator planning data; Determine a first mapping relationship between the tracking area code and the area to which it belongs based on the operator planning data, and then obtain the first mapping relationship table; Based on the operator planning data, a second mapping relationship between each base station and the Pool to be mounted thereon is determined, and then the second mapping relationship table is obtained.

6. The method according to claim 1, characterized in that The comparing the list of actually mounted network elements with the list of network elements to be mounted and marking abnormally mounted base stations comprises the following steps: Acquire all the base stations to be compared and sort them to obtain a base station list; take the first base station in the base station list as the target base station; Traversing and matching each network element in the list of network elements actually mounted on the target base station with all the network elements in the list of network elements to be mounted, and determining a marking result of the target base station based on the matching result; the marking result includes the abnormally mounted base station and the normally mounted base station; The next base station of the target base station in the base station list is taken as the target base station, and the step of traversing and matching each network element in the actual mounted network element list of the target base station with all the network elements in the list of network elements to be mounted is returned to, until all the base stations in the base station list are matched.

7. The method according to claim 6, characterized in that The abnormally mounted base station includes a wrongly mounted base station and a missed base station; traversing and matching each network element in the actually mounted network element list of the target base station with all the network elements in the list of network elements to be mounted, and determining the marking result of the target base station based on the matching result, comprises the following steps: Based on the base station ID of the target base station, obtaining the list of actually mounted network elements of the target base station as a first list, and obtaining the list of network elements to be mounted of the target base station as a second list; Taking the first network element in the first list as the target network element; Matching the target network element with all the network elements in the second list in sequence, and when a network element identical to the target network element is matched in the second list, marking the corresponding network element in the second list as matching the same; otherwise, marking the target base station as the wrongly connected base station; Taking the next network element of the target network element in the first list as the target network element, and returning to the step of sequentially matching the target network element with all the network elements in the second list until all the network elements in the first list are matched; When there is a network element in the second list that is not marked as the same match, the target base station is marked as the missed base station; otherwise, the target base station is marked as a normal base station.

8. A base station affiliation analysis system, characterized in that: The system comprises: The first module is used to respond to the query instruction of the target object and traverse all network elements to obtain the original data of base station information; The second module is used to parse and collect the original data of the base station information to obtain a base station list; the base station list includes the base station information associated with each network element, and the base station information includes a base station ID and a tracking area code; The third module is used to obtain a list of actually mounted network elements of each base station based on the base station list; The fourth module is used to determine a list of network elements to be mounted on each base station based on the tracking area code and in combination with a preset mapping relationship table; The actually mounted network element list and the to-be-mounted network element list corresponding to each base station are both associated with the base station ID; The fifth module is used to compare the list of actually mounted network elements with the list of network elements to be mounted, mark abnormally mounted base stations; summarize all the abnormally mounted base stations, and obtain a base station mounting abnormality list.

9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.