Signaling tracking method, apparatus, device, and storage medium
By assigning dynamic identifiers to communication terminals at the base station and establishing a mapping relationship between service addresses and dynamic identifiers, the problem of low signaling tracing efficiency in 5G communication networks is solved, and efficient signaling tracing is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN LINKING INNOVATIVE NEBULA COMM TECH CO LTD
- Filing Date
- 2023-04-19
- Publication Date
- 2026-07-21
AI Technical Summary
In 5G communication networks, traditional signaling tracing methods require the cooperation of 5G base stations and core networks, resulting in low signaling tracing efficiency.
After the base station acquires the signaling tracing task, it assigns a unique dynamic identifier to the communication terminal, associates the signaling with the dynamic identifier, and parses the service data to establish a mapping relationship between the service address and the dynamic identifier, thereby determining the tracing signaling. Signaling tracing can be achieved simply by communicating with the communication terminal.
It improves the efficiency of signaling tracing, reduces waste of resources and time, and simplifies the signaling tracing process.
Smart Images

Figure CN116546453B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication technology, and in particular to a signaling tracking method, apparatus, device, and storage medium. Background Technology
[0002] With the development of wireless communication technology, signaling tracing technology has emerged. Signaling tracing technology is a very important and widely used technology in the daily maintenance and optimization of networks. The signaling collected by signaling tracing provides effective data support for the daily maintenance, debugging and fault location of base station equipment, thereby improving the efficiency of base station equipment maintenance.
[0003] In traditional technologies, to achieve user-level signaling tracing at the base station side in 5G (5th Generation Mobile Communication Technology) communication networks, the cooperation between the 5G base station and the core network is required, resulting in low efficiency of signaling tracing in 5G communication networks. Summary of the Invention
[0004] Therefore, it is necessary to provide a signaling tracing method, apparatus, device, and storage medium that can improve the efficiency of signaling tracing in response to the above-mentioned technical problems.
[0005] Firstly, this application provides a signaling tracing method. The method includes:
[0006] Obtain a signaling tracing task; the signaling tracing task includes tracing the service address;
[0007] Obtain a random access request sent by a communication terminal and assign a unique dynamic identifier to the communication terminal;
[0008] The signaling sent by the communication terminal is obtained, and the signaling is associated with the dynamic identifier corresponding to the communication terminal to obtain candidate signaling;
[0009] The service data sent by the communication terminal is obtained, and a mapping relationship between the service address and dynamic identifier of the communication terminal is established based on the service data.
[0010] Based on the mapping relationship, the target dynamic identifier corresponding to the tracking service address is determined, and based on the target dynamic identifier, the tracking signaling is determined from the candidate signaling.
[0011] In one embodiment, obtaining the service data sent by the communication terminal and establishing a mapping relationship between the service address and the dynamic identifier of the communication terminal based on the service data includes:
[0012] Receive service data corresponding to the dynamic identifier sent by the communication terminal;
[0013] When the service data corresponding to the dynamic identifier is received for the first time, the service data is parsed to obtain the service address in the service data;
[0014] Establish a mapping relationship between the service address and the dynamic identifier.
[0015] In one embodiment, the signaling tracing task further includes a tracing interface; the step of associating the signaling sent by the communication terminal with the corresponding dynamic identifier to obtain candidate signaling includes:
[0016] Select the interface signaling associated with the tracking interface from the signaling;
[0017] The interface signaling is associated with the corresponding dynamic identifier to obtain candidate signaling.
[0018] In one embodiment, the signaling tracing task further includes the user identification code of the target terminal; the method further includes:
[0019] With signaling tracing enabled, acquire the first and second storage areas;
[0020] The candidate signaling is stored in the first storage area;
[0021] The tracking signaling is associated with the tracking service address and the user identification code to obtain the reporting signaling, and the reporting signaling is stored in the second storage area.
[0022] In one embodiment, the method includes:
[0023] The number of cells of the target base station, the number of communication terminals during the access process, and the signaling tracking memory occupied by each communication terminal are obtained. Based on the number of cells, the number of communication terminals, and the signaling tracking memory, the first cache capacity is obtained.
[0024] Based on the first cache capacity, obtain the first storage area;
[0025] The preset number of cells and the preset number of tracking communication terminals for the target base station to perform signaling tracking are obtained, and the second cache capacity is obtained based on the preset number of cells, the preset number of tracking communication terminals and the signaling tracking memory;
[0026] Based on the second cache capacity, obtain the second storage area.
[0027] In one embodiment, the method further includes:
[0028] After obtaining the signaling tracing task, start the signaling upload timer;
[0029] When the signaling upload timer reaches the tracking signaling upload duration, the reported signaling in the second storage area is sent to the signaling server.
[0030] In one embodiment, the method further includes:
[0031] After obtaining the signaling tracing task, start the cache clearing timer;
[0032] When the cache clearing timer reaches the preset duration, the candidate signaling in the first storage area is cleared.
[0033] Secondly, this application also provides a signaling tracing device. The device includes:
[0034] The acquisition module is used to acquire signaling tracing tasks; the signaling tracing tasks include tracing service addresses;
[0035] The receiving module is used to acquire random access requests sent by the communication terminal and assign a unique dynamic identifier to the communication terminal;
[0036] The association module is used to obtain the signaling sent by the communication terminal, associate the signaling with the dynamic identifier corresponding to the communication terminal, and obtain candidate signaling;
[0037] The mapping module is used to acquire the service data sent by the communication terminal and, based on the service data, establish a mapping relationship between the service address and the dynamic identifier of the communication terminal.
[0038] The determination module is used to determine the target dynamic identifier corresponding to the tracking service address based on the mapping relationship, and to determine the tracking signaling from the candidate signaling based on the target dynamic identifier.
[0039] Thirdly, this application also provides an apparatus comprising a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps described in the signaling tracing method above.
[0040] Fourthly, this application also provides a readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps described in the signaling tracing method above.
[0041] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps described in the signaling tracing method above.
[0042] The aforementioned signaling tracing method, apparatus, device, and storage medium involve a base station acquiring a signaling tracing task, which includes tracing a service address. After receiving a random access request from a communication terminal, the base station assigns a unique dynamic identifier to the communication terminal. Upon receiving the dynamic identifier, the communication terminal sends both the dynamic identifier and the signaling and service data to the base station. The base station receives the signaling sent by the communication terminal, associates the signaling with the dynamic identifier, and obtains candidate signaling. When the base station receives service data sent by the communication terminal, it parses the service data to obtain the service address corresponding to the communication terminal, establishes a mapping relationship between the service address and the dynamic identifier corresponding to the service data, determines the target dynamic identifier corresponding to the tracing service address from the mapping relationship, and determines the tracing signaling from the candidate signaling based on the target dynamic identifier. Throughout the entire signaling tracing process, the base station only needs to communicate with the communication terminal to obtain the tracing signaling, thereby improving the efficiency of signaling tracing. Attached Figure Description
[0043] Figure 1 This is a diagram illustrating the application environment of a signaling tracing method in one embodiment.
[0044] Figure 2 This is a flowchart illustrating a signaling tracing method in one embodiment;
[0045] Figure 3 This is a flowchart illustrating the steps for establishing mapping relationships in one embodiment;
[0046] Figure 4 This is a flowchart illustrating the steps for obtaining the first and second storage areas in one embodiment;
[0047] Figure 5 This is a flowchart illustrating the signaling tracing method in another embodiment;
[0048] Figure 6 This is a structural block diagram of a signaling tracing device in one embodiment;
[0049] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0050] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0051] The signaling tracing method provided in this application embodiment can be applied to, for example... Figure 1In the application environment shown, terminal 102 communicates with base station 104 via a network. A data storage system can store the data that base station 104 needs to process. The data storage system can be integrated on base station 104 or placed in the cloud or on other network servers. The terminal and base station cooperate to execute the signaling tracing method provided in this embodiment. For example, the base station acquires a signaling tracing task, acquires a random access request sent by the communication terminal, assigns a unique dynamic identifier to the communication terminal, acquires the signaling sent by the communication terminal, associates the signaling with the dynamic identifier corresponding to the communication terminal to obtain candidate signaling, acquires the service data sent by the communication terminal, establishes a mapping relationship between the service address of the communication terminal and the dynamic identifier based on the service data, determines the target dynamic identifier corresponding to the tracking service address based on the mapping relationship, and determines the tracking signaling from the candidate signaling based on the target dynamic identifier. Terminal 102 can be, but is not limited to, various personal smartphones, IoT devices, and portable wearable devices. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. Base station 104 can be implemented using an independent base station or a base station cluster composed of multiple base stations.
[0052] In one embodiment, such as Figure 2 As shown, a signaling tracing method is provided. This embodiment uses the application of this method to a base station as an example for illustration, including steps 202 to 210.
[0053] Step 202: Obtain the signaling tracing task; the signaling tracing task includes the tracing service address.
[0054] A base station, or public mobile communication base station, refers to a radio transceiver device that transmits information between a mobile terminal and a mobile communication switching center. The base station can be a 5G base station under test or a 5G base station under maintenance. A signaling tracing task is the task of acquiring signaling. This task includes, but is not limited to, tracing service addresses, tracing ports, and signaling upload cycles. The signaling tracing task is issued to the base station by the OMC (Operation & Maintenance Center). A tracing service address is the service address that needs to be traced. This can be understood as the service address corresponding to the tracing signaling. A service address is the Internet Protocol address assigned to the mobile terminal by the core network. The core network assigns multiple service addresses to the mobile terminal, each corresponding to a type of service. These multiple service addresses are bound to the mobile terminal's IMSI (International Mobile Subscriber Identity). In other words, each mobile terminal has multiple unique and unchanging service addresses.
[0055] For example, the base station receives a signaling tracing task issued by the operation and maintenance center, and the signaling tracing task includes tracing the service address.
[0056] Step 204: Obtain the random access request sent by the communication terminal and assign a unique dynamic identifier to the communication terminal.
[0057] In this context, a communication terminal refers to a mobile terminal that communicates with a base station. There can be one or more communication terminals. A random access request is an instruction sent by the communication terminal to the base station, requesting to establish a connection with the base station. A dynamic identifier refers to a Cell Radio Network Temporary Identifier (Crnti), a dynamic identifier assigned to a communication terminal by the base station, uniquely identifying the communication terminal within a cell of the base station.
[0058] For example, the communication terminal sends a random access request to the base station. After receiving the random access request, the base station assigns a unique dynamic identifier to the communication terminal and then sends the dynamic identifier to the communication terminal.
[0059] Step 206: Obtain the signaling sent by the communication terminal, associate the signaling with the dynamic identifier corresponding to the communication terminal, and obtain candidate signaling.
[0060] Signaling refers to the control commands sent by the communication terminal to the base station, also known as "signaling information." It can be understood that during communication between the communication terminal and the base station, apart from user information (including voice information and non-voice service information), all other information is signaling information. Signaling is used to establish signaling bearers and service bearers.
[0061] For example, the communication terminal sends a dynamic identifier and signaling, the base station receives the dynamic identifier and signaling, and then associates the signaling with the corresponding dynamic identifier to obtain candidate signaling.
[0062] In one embodiment, the base station associates signaling with the corresponding dynamic identifier to obtain candidate signaling, and stores the candidate signaling in the tracking shared buffer area.
[0063] Step 208: Obtain the service data sent by the communication terminal, and establish a mapping relationship between the service address and dynamic identifier of the communication terminal based on the service data.
[0064] In this context, "service data" refers to data packets containing communication content. Service data includes both the communication content and the service address of the communication terminal. The mapping relationship refers to the correspondence between service addresses and dynamic identifiers. This mapping relationship can be one-to-one or many-to-one.
[0065] For example, the communication terminal sends a dynamic identifier and service data, the base station receives the dynamic identifier and service data, parses the service data to obtain the service address in the service data, and then establishes a mapping relationship between the service address and the dynamic identifier.
[0066] Step 210: Based on the mapping relationship, determine the target dynamic identifier corresponding to the tracking service address, and based on the target dynamic identifier, determine the tracking signaling from the candidate signaling.
[0067] The target dynamic identifier refers to a dynamic identifier that corresponds to the tracking service address. There can be one or more target dynamic identifiers. Tracking signaling refers to the signaling associated with the target dynamic identifier.
[0068] For example, the base station determines the target dynamic identifier corresponding to the tracking service address from the mapping relationship, and then selects the signaling associated with the target dynamic identifier from the candidate signaling, and uses the signaling associated with the target dynamic identifier as the tracking signaling.
[0069] In one embodiment, the base station stores the tracking signaling in the reporting cache area and uploads the tracking signaling in the reporting cache area to the signaling server based on a preset time interval.
[0070] In this embodiment, the base station acquires a signaling tracing task, which includes tracing a service address. After receiving a random access request from a communication terminal, the base station assigns a unique dynamic identifier to the communication terminal. After receiving the dynamic identifier, the communication terminal sends both the dynamic identifier and the signaling and service data to the base station. The base station receives the signaling sent by the communication terminal, associates the signaling with the dynamic identifier, and obtains candidate signaling. When the base station receives service data sent by the communication terminal, it parses the service data to obtain the service address corresponding to the communication terminal contained in the service data, establishes a mapping relationship between the service address and the dynamic identifier corresponding to the service data, determines the target dynamic identifier corresponding to the tracing service address from the mapping relationship, and determines the tracing signaling from the candidate signaling based on the target dynamic identifier. Throughout the entire signaling tracing process, the base station only needs to communicate with the communication terminal to obtain the tracing signaling, thereby improving the efficiency of signaling tracing.
[0071] In one embodiment, such as Figure 3 As shown, acquiring the service data sent by the communication terminal and establishing the mapping relationship between the service address and dynamic identifier of the communication terminal based on the service data includes:
[0072] Step 302: Receive service data corresponding to the dynamic identifier sent by the communication terminal.
[0073] For example, the communication terminal sends dynamic identifiers and service data, and the base station receives the dynamic identifiers and service data.
[0074] Step 304: When receiving the service data corresponding to the dynamic identifier for the first time, parse the service data to obtain the service address in the service data.
[0075] Parsing refers to the process of decapsulating business data.
[0076] For example, when the base station receives service data corresponding to the dynamic identifier for the first time, it parses the service data to obtain the service address in the service data. When it receives service data corresponding to the dynamic identifier again, it does not parse the service data again.
[0077] Step 306: Establish the mapping relationship between the business address and the dynamic identifier.
[0078] For example, the base station establishes a mapping relationship between service addresses and dynamic identifiers.
[0079] In this embodiment, after the communication terminal establishes a connection with the base station, it will generally perform a service activity, such as a voice call. During the entire service activity, the service addresses in the multiple service data received by the base station are the same. Therefore, the base station only needs to parse the service data corresponding to the dynamic identifier for the first time to obtain the service address used by the communication terminal. This avoids parsing multiple service data corresponding to the same dynamic identifier multiple times, saving the time spent on multiple parsings and improving the efficiency of establishing the mapping relationship.
[0080] In one embodiment, the signaling tracing task further includes a tracing interface; associating the signaling sent by the communication terminal with the corresponding dynamic identifier to obtain candidate signaling includes:
[0081] Select the interface signaling associated with the tracking interface from the signaling; associate the interface signaling with the corresponding dynamic identifier to obtain candidate signaling.
[0082] In this context, the tracking interface refers to the interface related to tracking signaling. For example, interfaces within a base station include interface E1 between CU-C (Central Unit Control plane) and CU-U (Central Unit User plane), and interface F1 between CU (Centralized Unit) and DU (Distributed Unit). If a signaling tracking task requires acquiring signaling related to interface F1, then interface F1 is the tracking interface. There can be one or more tracking interfaces, configured according to actual needs.
[0083] For example, the base station obtains the tracking interface from the signaling tracking task, filters the received signaling based on the tracking interface, takes the signaling related to the tracking interface as the interface signaling, and then associates the interface signaling with the corresponding dynamic identifier to obtain candidate signaling.
[0084] In one embodiment, the base station associates the received signaling with the corresponding dynamic identifier to obtain initial candidate signaling, obtains the tracking interface from the signaling tracking task, and selects candidate signaling from the initial candidate signaling based on the tracking interface.
[0085] In this embodiment, when the signaling tracing task also includes a tracing interface, it means that this signaling tracing task only needs to obtain the signaling related to the tracing interface, select the interface signaling associated with the tracing interface from the signaling, associate the interface signaling with the corresponding dynamic identifier to obtain candidate signaling, avoid associating the signaling unrelated to the tracing interface, reduce the waste of resources and time, and improve the efficiency of signaling tracing.
[0086] In one embodiment, the signaling tracing task further includes a user identification code of the target terminal; the signaling tracing method further includes:
[0087] When the signaling tracing function is enabled, the first storage area and the second storage area are obtained; the candidate signaling is saved in the first storage area; the tracing signaling is associated with the tracing service address and the user identification code to obtain the reporting signaling, and the reporting signaling is saved in the second storage area.
[0088] The User Identification Code (UIC) refers to the International Mobile Subscriber Identity (IMSI), a unique identifier used to identify different mobile terminals within a mobile network. The first storage area is used to store candidate signaling. The first storage area can be configured according to actual needs. The second storage area is used to store reported signaling. The second storage area can also be configured according to actual needs.
[0089] For example, when the signaling tracing task of the base station is started, the base station obtains a first storage area and a second storage area. When the base station is performing the signaling tracing task, it saves the candidate signaling in the first storage area, associates the tracing signaling selected from the candidate signaling with the tracing service address and user identification code in the signaling tracing task to obtain the reporting signaling, and saves the reporting signaling in the second storage area.
[0090] In this embodiment, when the signaling tracking function of the base station is enabled, the base station obtains a first storage area for storing candidate signaling and a second storage area for storing reported signaling, thus providing storage areas for candidate signaling and reported signaling.
[0091] In one embodiment, such as Figure 4 As shown, the signaling tracing method also includes:
[0092] Step 402: Obtain the number of cells of the target base station, the number of communication terminals during the access process, and the signaling tracing memory occupied by each communication terminal. Based on the number of cells, the number of communication terminals, and the signaling tracing memory, obtain the first buffer capacity.
[0093] In this context, a cell refers to the area covered by one antenna of a base station. A base station comprises one or more cells. The target base station is the base station that performs signaling tracing tasks. The access procedure refers to the process by which a communication terminal establishes a connection with the base station. The number of communication terminals refers to the maximum number of communication terminals that can access the network during the access procedure. The number of communication terminals is determined by the performance of the base station. Signaling tracing memory refers to the memory allocated for signaling tracing of a communication terminal. The signaling tracing memory can be configured according to actual needs.
[0094] For example, from the performance parameters of the target base station, the base station obtains the number of cells, the number of communication terminals, and the signaling tracking memory, and performs a product operation on the number of cells, the number of communication terminals, and the signaling tracking memory to obtain the first cache capacity.
[0095] Step 404: Obtain the first storage area based on the first cache capacity.
[0096] For example, the base station obtains a first storage area with a first cache capacity.
[0097] Step 406: Obtain the preset number of cells and the preset number of tracking communication terminals for the target base station to perform signaling tracking. Based on the preset number of cells, the preset number of tracking communication terminals, and the signaling tracking memory, obtain the second cache capacity.
[0098] The preset number of cells refers to the number of cells that can be used simultaneously for signaling tracing, set in advance. The preset number of cells is less than or equal to the number of cells. The preset number of tracing communication terminals refers to the maximum number of communication terminals that can be used simultaneously for signaling tracing, set in advance.
[0099] For example, the base station obtains the preset number of cells and the preset number of tracking communication terminals, and performs a product operation on the preset number of cells, the preset number of tracking communication terminals and the signaling tracking memory to obtain the second buffer capacity.
[0100] Step 408: Obtain the second storage area based on the second cache capacity.
[0101] For example, the base station obtains a second storage area with a second cache capacity.
[0102] In this embodiment, the base station calculates the first cache capacity and the second cache capacity respectively, obtains the first storage area based on the first cache capacity, and obtains the second storage area based on the second cache capacity. This avoids the situation where the capacity of the first and second storage areas is insufficient, resulting in the inability to store candidate signaling and reported signaling, and also avoids the situation where the capacity of the first and second storage areas is too large, resulting in the waste of storage resources.
[0103] In one embodiment, the signaling tracing method further includes:
[0104] After obtaining the signaling tracing task, start the signaling upload timer; when the signaling upload timer reaches the signaling upload duration, send the reported signaling in the second storage area to the signaling server.
[0105] The signaling upload timer is a module that tracks time to instruct the base station to send follow-up signaling to the signaling server. The tracking signaling upload duration refers to the interval at which the reported signaling is sent to the signaling server. The tracking signaling upload duration can be equal to the signaling upload cycle in the signaling tracking task, or it can be a preset upload duration. The signaling server is the server that receives the reported signaling. The signaling server can be a single server or a server cluster.
[0106] For example, after the base station obtains the signaling tracing task, it starts a signaling upload timer. When the signaling upload timer reaches the signaling upload duration, the base station sends the reported signaling in the second storage area to the signaling server.
[0107] In one embodiment, after the base station sends the reported signaling in the second storage area to the signaling server, it clears the candidate signaling in the first storage area and the reported signaling in the second storage area.
[0108] In one embodiment, after the base station sends the reporting signaling in the second storage area to the signaling server, it clears the reporting signaling in the second storage area.
[0109] In this embodiment, the interval transmission of reporting signaling is achieved by tracking the upload duration of the upload timer, which avoids sending reporting signaling one by one and improves the transmission efficiency of reporting signaling.
[0110] In one embodiment, the signaling tracing method further includes:
[0111] After acquiring the signaling tracing task, start the cache clearing timer; when the cache clearing timer reaches the preset duration, clear the candidate signaling in the first storage area.
[0112] The cache clearing timer is a module that tracks time to instruct the base station to clear candidate signaling. The preset duration is a pre-set duration for clearing candidate signaling.
[0113] For example, after the base station acquires the signaling tracing task, it starts a cache clearing timer. When the cache clearing timer reaches a preset duration, the base station clears the candidate signaling in the first storage area.
[0114] In one embodiment, after the base station acquires the signaling tracing task, it starts a cache clearing timer. When the cache clearing timer reaches a preset duration, it acquires the generation time of each candidate signaling in the first storage area. For each candidate signaling, it calculates the storage duration of the candidate signaling based on the generation time of the candidate signaling and clears the candidate signaling whose storage duration exceeds the preset storage duration.
[0115] In this embodiment, a cache clearing timer is used to promptly clear candidate signaling in the first storage area, thereby improving the utilization rate of the first storage area.
[0116] In one exemplary embodiment, the 5G base station user-level signaling tracing flowchart is as follows: Figure 5 As shown, it includes UE (User Equipment) communication terminals, 5G base stations, mainly involving the operation administration and maintenance (OAM) process and control plane process of 5G base stations, AMF (Access and Mobility Management Function) core network, and OMC (Operation & Maintenance Center) operation and maintenance center.
[0117] The first step is for the AMF core network to set up multiple service addresses for the communication terminal and bind the International Mobile Subscriber Identity (IMSI) of the communication terminal to the service address. Each service address corresponds to a service, and each service address is unique and can uniquely identify the communication terminal.
[0118] The second step involves the operator setting up a user-level signaling tracing task in the OMC operation and maintenance center. This task includes the communication terminal's International Mobile Subscriber Identity (IMSI), the tracing service address, the tracing interface, and the upload cycle. Specifically, if the service the communication terminal is about to perform is known in advance, the service address corresponding to that service is used as the tracing service address and set in the signaling tracing task. If the service is unknown, all service addresses of the communication terminal are used as tracing service addresses and set in the signaling tracing task.
[0119] Third, when the control plane process of the 5G base station enables the signaling tracing function, the operation management and maintenance process of the 5G base station obtains the first storage area with the first cache capacity and the second storage area with the second cache capacity. The first cache capacity is equal to the product of the number of cells, the number of communication terminals, and the signaling tracing memory; the second cache capacity is equal to the product of the preset number of cells, the preset number of tracking communication terminals, and the signaling tracing memory.
[0120] The fourth step involves the 5G base station's operation management and maintenance process receiving and saving the signaling tracing task sent by the OMC (Operation and Maintenance Center). Simultaneously, it starts the signaling upload timer and the cache clearing timer.
[0121] Fifth, the communication terminal initiates a random access request to the 5G base station. After receiving the random access request, the base station sends a dynamic identifier to the communication terminal. The communication terminal sends signaling and the dynamic identifier to the 5G base station. The operation, management, and maintenance process of the 5G base station will receive the signaling related to the tracking interface, associate it with the dynamic identifier, obtain candidate instructions, and store the candidate instructions in the first storage area.
[0122] The sixth step involves the communication terminal sending service data and dynamic identifiers to the 5G base station. The control plane process of the 5G base station parses the received service data, obtains the service address in the service data, establishes a mapping relationship between the service address and the dynamic identifier corresponding to the service data, and sends the mapping relationship to the operation management and maintenance process of the 5G base station.
[0123] Step 7: The 5G base station operation management and maintenance process receives the mapping relationship. Based on the mapping relationship, it finds the target dynamic identifier corresponding to the tracking service address, selects the tracking signaling corresponding to the target dynamic identifier from the candidate signaling, associates the tracking signaling with the International Mobile Subscriber Identity (IMSI) and the tracking service address in the signaling tracking task to obtain the reporting signaling, and saves the reporting signaling in the second storage area.
[0124] Step 8: When the signaling upload timer of the 5G base station reaches the upload period, the operation management and maintenance process of the 5G base station will send the reported signaling in the second storage area to the signaling server.
[0125] The ninth step is for the signaling server to display the reported signaling according to the testers' requirements.
[0126] Step 10: When the cache clearing timer of the 5G base station reaches the preset duration, the operation management and maintenance process of the 5G base station clears the candidate signaling in the first storage area.
[0127] The aforementioned signaling tracing method includes tracing the service address. After receiving a random access request from a communication terminal, the base station assigns a unique dynamic identifier to the communication terminal. After receiving the dynamic identifier, the communication terminal sends both the dynamic identifier and the signaling and service data to the base station. The base station receives the signaling sent by the communication terminal, associates the signaling with the dynamic identifier, and obtains candidate signaling. When the base station receives service data sent by the communication terminal, it parses the service data to obtain the service address corresponding to the communication terminal contained in the service data, establishes a mapping relationship between the service address and the dynamic identifier corresponding to the service data, determines the target dynamic identifier corresponding to the tracing service address from the mapping relationship, and determines the tracing signaling from the candidate signaling based on the target dynamic identifier. In the entire signaling tracing process, the base station only needs to communicate with the communication terminal to obtain the tracing signaling, thereby improving the efficiency of signaling tracing.
[0128] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0129] Based on the same inventive concept, this application also provides a signaling tracing apparatus for implementing the signaling tracing method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations in one or more signaling tracing apparatus embodiments provided below can be found in the limitations of the signaling tracing method described above, and will not be repeated here.
[0130] In one embodiment, such as Figure 6 As shown, a signaling tracing device is provided, including: an acquisition module 602, a receiving module 604, an association module 606, a mapping module 608, and a determination module 610, wherein:
[0131] The acquisition module 602 is used to acquire signaling tracing tasks; the signaling tracing tasks include tracing service addresses.
[0132] The receiving module 604 is used to acquire random access requests sent by the communication terminal and assign a unique dynamic identifier to the communication terminal.
[0133] The association module 606 is used to obtain the signaling sent by the communication terminal, associate the signaling with the dynamic identifier corresponding to the communication terminal, and obtain candidate signaling.
[0134] The mapping module 608 is used to acquire service data sent by the communication terminal and establish a mapping relationship between the service address and dynamic identifier of the communication terminal based on the service data.
[0135] The determination module 610 is used to determine the target dynamic identifier corresponding to the tracking service address based on the mapping relationship, and to determine the tracking signaling from the candidate signaling based on the target dynamic identifier.
[0136] In one embodiment, the mapping module 608 is further configured to: receive service data corresponding to the dynamic identifier sent by the communication terminal; parse the service data to obtain the service address in the service data when the service data corresponding to the dynamic identifier is received for the first time; and establish a mapping relationship between the service address and the dynamic identifier.
[0137] In one embodiment, the association module 606 is further configured to: select interface signaling associated with the tracking interface from the signaling; and associate the interface signaling with the corresponding dynamic identifier to obtain candidate signaling.
[0138] In one embodiment, the signaling tracing device further includes a storage module, which is used to: obtain a first storage area and a second storage area when the signaling tracing function is enabled; save candidate signaling in the first storage area; associate the tracing signaling with the tracing service address and user identification code to obtain the reporting signaling, and save the reporting signaling in the second storage area.
[0139] In one embodiment, the storage module is further configured to: obtain the number of cells of the target base station, the number of communication terminals during the access procedure execution, and the signaling tracking memory occupied by each communication terminal; obtain a first cache capacity based on the number of cells, the number of communication terminals, and the signaling tracking memory; obtain a first storage area based on the first cache capacity; obtain a preset number of cells and a preset number of tracking communication terminals for signaling tracking of the target base station; obtain a second cache capacity based on the preset number of cells, the preset number of tracking communication terminals, and the signaling tracking memory; and obtain a second storage area based on the second cache capacity.
[0140] In one embodiment, the storage module is further configured to: after acquiring the signaling tracing task, start a signaling upload timer; when the signaling upload timer reaches the signaling upload duration, send the reported signaling in the second storage area to the signaling server.
[0141] In one embodiment, the storage module is further configured to: after acquiring the signaling tracing task, start a cache clearing timer; and when the cache clearing timer reaches a preset duration, clear the candidate signaling in the first storage area.
[0142] Each module in the aforementioned signaling tracing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0143] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a signaling tracing method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0144] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0145] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0146] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0147] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0148] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0149] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0150] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0151] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A signaling tracing method, characterized in that, The method includes: Obtain a signaling tracing task; the signaling tracing task includes tracing the service address; Obtain a random access request sent by a communication terminal and assign a unique dynamic identifier to the communication terminal; The signaling sent by the communication terminal is obtained, and the signaling is associated with the dynamic identifier corresponding to the communication terminal to obtain candidate signaling; The service data sent by the communication terminal is obtained, and a mapping relationship between the service address and dynamic identifier of the communication terminal is established based on the service data. Based on the mapping relationship, the target dynamic identifier corresponding to the tracking service address is determined, and based on the target dynamic identifier, the tracking signaling is determined from the candidate signaling.
2. The method according to claim 1, characterized in that, The step of acquiring the service data sent by the communication terminal and establishing a mapping relationship between the service address and the dynamic identifier of the communication terminal based on the service data includes: Receive service data corresponding to the dynamic identifier sent by the communication terminal; When the service data corresponding to the dynamic identifier is received for the first time, the service data is parsed to obtain the service address in the service data; Establish a mapping relationship between the service address and the dynamic identifier.
3. The method according to claim 1, characterized in that, The signaling tracing task also includes a tracing interface; the step of associating the signaling sent by the communication terminal with the corresponding dynamic identifier to obtain candidate signaling includes: Select the interface signaling associated with the tracking interface from the signaling; The interface signaling is associated with the corresponding dynamic identifier to obtain candidate signaling.
4. The method according to claim 1, characterized in that, The signaling tracing task also includes the user identification code of the target terminal; the method further includes: With signaling tracing enabled, acquire the first and second storage areas; The candidate signaling is stored in the first storage area; The tracking signaling is associated with the tracking service address and the user identification code to obtain the reporting signaling, and the reporting signaling is stored in the second storage area.
5. The method according to claim 4, characterized in that, The term includes: The number of cells of the target base station, the number of communication terminals during the access process, and the signaling tracking memory occupied by each communication terminal are obtained. Based on the number of cells, the number of communication terminals, and the signaling tracking memory, the first cache capacity is obtained. Based on the first cache capacity, obtain the first storage area; The preset number of cells and the preset number of tracking communication terminals for the target base station to perform signaling tracking are obtained, and the second cache capacity is obtained based on the preset number of cells, the preset number of tracking communication terminals and the signaling tracking memory; Based on the second cache capacity, obtain the second storage area.
6. The method according to claim 4, characterized in that, The method further includes: After obtaining the signaling tracing task, start the signaling upload timer; When the signaling upload timer reaches the tracking signaling upload duration, the reported signaling in the second storage area is sent to the signaling server.
7. The method according to claim 4, characterized in that, The method further includes: After obtaining the signaling tracing task, start the cache clearing timer; When the cache clearing timer reaches the preset duration, the candidate signaling in the first storage area is cleared.
8. A signaling tracking device, characterized in that, The device includes: The acquisition module is used to acquire signaling tracing tasks; the signaling tracing tasks include tracing service addresses; The receiving module is used to acquire random access requests sent by the communication terminal and assign a unique dynamic identifier to the communication terminal; The association module is used to obtain the signaling sent by the communication terminal, associate the signaling with the dynamic identifier corresponding to the communication terminal, and obtain candidate signaling; The mapping module is used to acquire the service data sent by the communication terminal and, based on the service data, establish a mapping relationship between the service address and the dynamic identifier of the communication terminal. The determination module is used to determine the target dynamic identifier corresponding to the tracking service address based on the mapping relationship, and to determine the tracking signaling from the candidate signaling based on the target dynamic identifier.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.