Data processing method, electronic equipment and storage medium
By analyzing user types and generating traffic data logs based on private network information matching rules in the hybrid private network, the problem of low data filling rate in the hybrid private network is solved, efficient data processing and accuracy are achieved, and resource overhead is reduced.
Patent Information
- Application Number
- CN202310304750.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2024-09-20
AI Technical Summary
In a hybrid private network, the data filling rate of enterprise users and individual users is low, and increasing the filling rate by extending the storage time of user context information will lead to data anomalies and increased resource overhead.
The user type of the first type of message is analyzed through the information matching rules based on the private network, the user type is determined using the device address information and network name information, and it is matched with the user context information of the same source message to generate traffic data logs, thereby realizing the matching Classified processing of different types of messages improves the filling rate of private network data and reduces the storage time of user context information.
It improves the filling rate of private network data, reduces the overhead of cache resources, speeds up message processing, improves the accuracy of user data processing, and avoids data anomalies and resource waste.
Smart Images

Figure CN118677797A
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a data processing method, an electronic device and a storage medium. Background Art
[0002] As communication networks become more mature, different types of communication networks continue to emerge, including: public network dedicated, independent private network and hybrid private network. Public network dedicated and independent private network are both network types determined based on the independence of physical devices; while hybrid private network is a network type that uses a combination of private network devices for enterprise users and human network devices for individual users.
[0003] In a hybrid private network, there is a problem that the fill rate of private network data in the traffic data log (X Data Recording, XDR) is low and the private network data of the park cannot be accurately sunk. Summary of the invention
[0004] The present application provides a data processing method, an electronic device and a storage medium.
[0005] An embodiment of the present application provides a data processing method, which includes: analyzing a first type of message based on an information matching rule of a private network to determine a user type corresponding to the first type of message, wherein the information matching rule of the private network is a rule determined based on preset device address information and preset network name information, and the source of the first type of message is a local interface; matching the user type corresponding to the first type of message with the user context information of a message having the same source as the first type of message to generate a traffic data log.
[0006] An embodiment of the present application provides an electronic device, including: one or more processors; a memory, on which one or more programs are stored. When the one or more programs are executed by one or more processors, the one or more processors implement any one of the data processing methods in the embodiment of the present application.
[0007] An embodiment of the present application provides a readable storage medium, which stores a computer program. When the computer program is executed by a processor, any one of the data processing methods in the embodiments of the present application is implemented.
[0008] According to the data processing method, electronic device and storage medium of the embodiment of the present application, the first type of message obtained is analyzed based on the information matching rule of the private network to determine the user type corresponding to the first type of message. The user type of the first type of message from the local interface can be analyzed through the device address information of the private network and the network name information of the private network in the information matching rule of the private network, and the user type to which the first type of message belongs is clarified, so as to facilitate the rapid processing of the first type of message and the message with the same source as the first type of message; the user type corresponding to the first type of message is matched with the user context information of the message with the same source as the first type of message, and a traffic data log is generated, so that various types of messages in the hybrid private network can obtain accurate user types, and then different types of messages are classified and processed based on different user types, so that the filling rate of the private network data can be improved; and there is no need to fill the traffic data log by extending the storage time of the user context information, which can reduce the storage time of the user context information, reduce the overhead of resources such as cache, speed up the processing speed of various types of messages, and improve the processing accuracy of user data.
[0009] With regard to the above embodiments and other aspects of the present application and their implementation, further description is provided in the accompanying drawings, detailed description and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 A flow chart showing a data processing method in an embodiment of the present application is shown.
[0011] Figure 2 A schematic diagram showing a list of preset network name information in an exemplary embodiment of the present application.
[0012] Figure 3 A schematic diagram showing the composition structure of a data processing system in an embodiment of the present application is shown.
[0013] Figure 4 A schematic diagram showing the composition structure of a data processing device in an embodiment of the present application is shown.
[0014] Figure 5 A schematic diagram showing the workflow of the data processing system in an embodiment of the present application is shown.
[0015] Figure 6 A schematic diagram showing the composition structure of a data processing device in an embodiment of the present application is shown.
[0016] Figure 7 A structural diagram showing an exemplary hardware architecture of a computing device capable of implementing the data processing method and apparatus according to an embodiment of the present invention. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solution and advantages of the present application more clear, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other arbitrarily without conflict.
[0018] As the demand for 5G networks continues to increase, operators, in order to maximize the use of existing network equipment such as base stations and main equipment, have formed hybrid private networks by deploying a mixture of 5G private network equipment for serving enterprise users and 5G human network equipment for serving individual users.
[0019] In a hybrid private network, if only one set of traffic data log collection system is deployed, the signaling plane data transmitted by enterprise users and individual users will be collected at the same time. However, enterprise users and individual users have different business needs and business habits (such as different data mining needs for user data, etc.); correspondingly, in the process of deep packet inspection (DPI) for data, the data caching mechanism, data association backfill mechanism, and data distribution mechanism of the two are different.
[0020] If the user context storage strategy used in 5G human network devices serving individual users is applied to 5G private network devices serving enterprise users, the fill rate of the collected private network data will decrease. The fill rate of the private network data is used to characterize the fill rate of the user's number, location and other information in the XDR. The higher the fill rate of the private network data, the better.
[0021] If the filling rate of private network data is improved only by extending the storage time of user context, it may cause abnormal data information records in the human network (for example, incorrect user location information is filled in, etc.). Moreover, the extension of the storage time of user context will also increase resource overhead such as cache, reducing the utilization efficiency of communication resources.
[0022] For the data collection system under this hybrid private network, in order to better provide enterprise users with better private network services without affecting the communication quality of individual users, the present application provides a data processing method, device, electronic device and storage medium, which can classify and process different types of messages based on different user types, thereby improving the filling rate of private network data; and there is no need to fill the traffic data log by extending the storage time of personal user context information, which reduces the storage time of user context information, reduces resource overhead such as cache, speeds up the processing of various types of messages, and improves the accuracy of processing user data.
[0023] In a first aspect, the present application provides a data processing method. Figure 1The flowchart of the data processing method in the embodiment of the present application is shown. The data processing method can be applied to a data processing device, which can be set in a base station or in a deep packet inspection (DPI) device. Figure 1 As shown, the data processing method in the embodiment of the present application may include but is not limited to the following steps.
[0024] Step S101: Analyze the first type of message based on the information matching rule of the private network to determine the user type corresponding to the first type of message.
[0025] Among them, the information matching rule of the private network is a rule determined based on preset device address information and preset network name information.
[0026] For example, the preset device address information can be network address information represented in the form of an independent enterprise user table, or it can be based on the network address of the main device network element provided by the existing operator server, with the user type information added; the above is only an example of the preset device address information, and other unspecified representation forms of the preset device address information are also within the scope of protection of the present application. It is only necessary to filter out the network addresses corresponding to different user types based on the preset device address information, which can be set according to the specific situation and will not be repeated here.
[0027] The source of the first type of message is the local interface. The local interface includes at least one of the following: an interface between an access and mobility management function entity and a session management function entity, an interface between a session management function entity and a user plane function entity, an interface between a policy control function entity and an application function entity, an interface between a session management function entity and a policy control function entity, and an interface between a session management function entity and a unified data management function entity.
[0028] By obtaining the first type of messages through interfaces between multiple entities, it is possible to clarify the interaction messages between the entities, making it easier to analyze and process the messages.
[0029] Step S102 : Match the user type corresponding to the first type of message with the user context information of the message of the same source as the first type of message to generate a traffic data log.
[0030] Among them, the message of the same source as the first type of message can be a message obtained through other interfaces in the communication network (e.g., interfaces other than the local end interface). In addition, matching the user type corresponding to the first type of message with the user context information of the message of the same source as the first type of message can enrich the user context information, so that the generated traffic data log can reflect the user type, and then classify the data based on different user types to improve the data processing efficiency.
[0031] In this embodiment, the first type of message obtained is analyzed based on the information matching rule of the private network to determine the user type corresponding to the first type of message. The user type of the first type of message from the local interface can be analyzed through the device address information of the private network and the network name information of the private network in the information matching rule of the private network, and the user type to which the first type of message belongs is clarified, so as to facilitate the rapid processing of the first type of message and the message with the same source as the first type of message; the user type corresponding to the first type of message is matched with the user context information of the message with the same source as the first type of message, and a traffic data log is generated, so that various types of messages in the hybrid private network can obtain accurate user types, and then different types of messages are classified and processed based on different user types, so that the filling rate of the private network data can be improved; and there is no need to fill the traffic data log by extending the storage time of personal user context information, which can reduce the storage time of personal user context information, reduce the overhead of resources such as cache, speed up the processing speed of various types of messages, and improve the processing accuracy of user data.
[0032] It should be noted that the preset network name information may include: a preset data network name (e.g., a data network name (Data Network Name, DNN) in the communication signaling in the 5G network), and / or a preset access point network name (e.g., an access network tag (Access Point Network, APN) used by private network users in the 4G network, etc.). In the entire service data processing flow, multiple main device network elements will share data through the corresponding data network name and / or access point network name.
[0033] For example, the data processing device can collect various signaling messages through the N1 interface between the terminal and the access and mobility management function entity, and the N2 interface between the wireless access network and the access and mobility management function entity. By learning various signaling messages, user context information such as user number and user location can be obtained. However, the terminal can support users to modify the default data network name of the mobile phone by themselves, which reduces the credibility of the information obtained from the N1 interface and the N2 interface. However, the first type of message collected through the local end interface is information that has been corrected by the core network device, and the information contained in it is credible. Therefore, by matching the user type corresponding to the first type of message with the user context information of the message of the same source as the first type of message, the credibility of the generated traffic data log is significantly improved, thereby obtaining a more accurate traffic data log.
[0034] In some optional embodiments, before executing step S102 of matching the user type corresponding to the first type of message with the user context information of the message from the same source as the first type of message and generating a traffic data log, it also includes: obtaining the second type of message; analyzing the process information carried by the second type of message to determine the user context information of the second type of message.
[0035] Among them, the second type of message is a message that has the same source as the first type of message but is obtained through a different path.
[0036] For example, the second type of message is a message obtained through the N1 interface and the N2 interface, and the second type of message is a message from the same source as the first type of message. In other words, the first type of message and the second type of message are messages sent by devices of the same user type. For example, the first type of message and the second type of message are messages sent by a personal terminal, or the first type of message and the second type of message are messages sent by a corporate user, etc. This makes it possible to trace the source of the message and confirm the type of user.
[0037] In some optional embodiments, the user type includes an enterprise user type or an individual user type; the analysis of the first type of message based on the information matching rule of the private network in step S102 to determine the user type corresponding to the first type of message can be implemented in the following manner:
[0038] The first type of message is parsed to obtain the network address to be confirmed and the network name to be confirmed; when it is determined that the network address to be confirmed does not match the preset device address information, and the preset network name information does not include the network name to be confirmed, the user type corresponding to the first type of message is determined to be an individual user type; otherwise, the user type corresponding to the first type of message is determined to be an enterprise user type.
[0039] The network address to be confirmed includes: a source address of the first type of message and / or a destination address of the first type of message; the network name to be confirmed includes: a data network name or an access point network name.
[0040] The address matching result is obtained by matching the source address of the first category message in the network address to be confirmed and / or the destination address of the first category message with the preset device address information; then, the data network name or access point network name in the network name to be confirmed is matched with the preset network name information to obtain the address matching result. The user type corresponding to the first category message can be determined based on the above address matching result and the address matching result, so as to more accurately determine the user type corresponding to the first category message, facilitate the classification processing of the first category message, and improve the data processing speed.
[0041] In some optional embodiments, after determining that the user type corresponding to the first type of message is an enterprise user type, the process further includes:
[0042] When it is determined that the network address to be confirmed does not match the preset device address information, and the preset network name information includes the network name to be confirmed, the preset device address information is updated according to the network address to be confirmed.
[0043] The preset device address information may include the network addresses of multiple network element devices for processing enterprise user type data, such as the network address information corresponding to the access and mobility management function entity, the network address information corresponding to the session management function entity, the network address information corresponding to the user plane function entity, etc., so that the preset device address information is richer and can identify multiple network element devices.
[0044] Furthermore, the preset device address information can be updated by the received network address to be confirmed (for example, the network address to be confirmed is added to the preset device address information), so that the preset device address information can identify more network element devices for processing enterprise user type data. This facilitates accurate identification of personal user network element devices when they are applied to the enterprise user network.
[0045] In some optional embodiments, after determining that the user type corresponding to the first type of message is an enterprise user type, it also includes: when it is determined that the network address to be confirmed matches the preset device address information, and the preset network name information does not include the network name to be confirmed, updating the preset network name information based on the network name to be confirmed.
[0046] Among them, since the preset network name information does not include the network name to be confirmed, the network name to be confirmed can be added to the preset network name information to speed up the update of the preset network name information, facilitate the subsequent use of the updated preset network name information to match other messages, and improve the matching accuracy of the network name information.
[0047] In some optional embodiments, step S102 matches the user type corresponding to the first category of messages with the user context information of messages from the same source as the first category of messages to generate a traffic data log, including: adding the user type corresponding to the first category of messages to the user context information of messages from the same source as the first category of messages to obtain a traffic data log.
[0048] The user context information of the message of the same source as the first type of message includes at least one of: user number information, user location information, user service information, and user access network name information.
[0049] It should be noted that the traffic data log can reflect the interaction information of users when communicating in the communication network, and the traffic data log records the user's number information, user location information, user service information, and user access network name information in the user context information, which can reflect the user's communication status from multiple angles, facilitate troubleshooting of poor quality issues reported by users, and timely monitor the communication network equipment and links used by users to improve the user experience.
[0050] In some optional embodiments, before executing the private network-based information matching rule in step S101 to analyze the first type of message and determining the user type corresponding to the first type of message, it also includes: analyzing multiple first type messages based on preset identifiers to obtain preset network name information.
[0051] Among them, the preset network name information includes at least one of a preset Internet of Things card identifier, a preset 5G private network access point identifier, a preset Internet of Things access point identifier and a preset private network general access point identifier.
[0052] For example, Table 1 shows the correspondence between different network names and matching rules. Among them, the preset IoT card identifier can be CMIOT5G, and its corresponding matching rule is "partial match", that is, when the received first-class message includes CMIOT5G, it can be determined that the first-class message corresponds to the preset IoT card identifier.
[0053] The preset Internet of Things access point identifier can be CMMTM5G, and its corresponding matching rule is "partial match", that is, when the received first-class message includes CMMTM5G, it can be determined that the first-class message corresponds to the preset Internet of Things access point identifier.
[0054] The preset private network universal access point identifier can be the full name of a private network DNN that does not meet the existing naming rules in the configuration table. For example, "cmiottdbkyzc.js" cannot be matched through "CMIOT5G". However, through the identification symbol, it can be known that the DNN is a private network DNN, so it can be added to the private network configuration table, and the matching rule is set to full match. When the private network universal access point identifier in the received first-class message completely matches "cmiottdbkyzc.js", it can be determined that the first-class message corresponds to a message related to an enterprise user, and the network element serving it is also an Internet of Things network element.
[0055] Table 1 Correspondence between different network names and matching rules
[0056] Serial number Matching content Matching rules 1 CMIOT5G Partial Match 2 CMMTM5G Partial Match 3 cmiottdbkyzc.js Full match
[0057] It should be noted that the "matching content" in Table 1 can be flexibly configured according to actual needs. For example, it can be specifically analyzed in combination with the information provided by the operator server, and as few recorded characters as possible can be used to cover all known preset network name information (such as 5G private network DNN, etc.). The above is only an example, and other unspecified matching content is also within the scope of protection of this application and will not be repeated here.
[0058] For example, Figure 2 A schematic diagram showing a list of preset network name information in an exemplary embodiment of the present application is shown. Figure 2 As shown, Figure 2 The parts blocked by the white boxes shown in the figure are different fields. However, each data network name (Data Network Name, DNN) includes the "CMIOT5" field, which can determine that the corresponding DNN type is "provincial DNN".
[0059] There is no need to match all the fields of each DNN name. You only need to match the "CMIOT5" field accordingly to obtain the DNN type corresponding to the message (ie, "DNN within the province").
[0060] Since the operator server has a corresponding naming rule when allocating DNN, the network name information of each main device network element can be regularly obtained according to the naming rule. Furthermore, the preset network name information can be generated by the network name information of each main device network element in the communication network collected from the operator server, or the corresponding purpose of the main device network element (such as the main device network element is used to process personal user data, or for processing enterprise user data, etc.).
[0061] In the actual process of processing messages, the network name information in each received message can also be learned by self-learning, so as to record more regular network name information.
[0062] It should be noted that since the operator server provides more than 10,000 DNN information records, if all the information is matched one by one, the performance overhead of the communication system will be greatly increased; and the dedicated network equipment used to process enterprise user data allocates communication resources on demand, that is, the DNN corresponding to each user is updated in real time and dynamically; therefore, in the process of self-learning, sample learning can be performed on multiple DNN information provided by the operator server to obtain representative preset network name information.
[0063] In some optional embodiments, the preset network name information may also be configured manually through a network management device.
[0064] In some optional embodiments, the preset device address information includes: a network address of a user plane function entity. After performing step S102 of matching the user type corresponding to the first type of message with the user context information of the message of the same source as the first type of message to generate a traffic data log, it also includes:
[0065] The traffic data log is screened according to the network address of the user plane functional entity to obtain the message to be distributed; the private network data analysis system corresponding to the message to be distributed is determined; and the message to be distributed is sent to the private network data analysis system corresponding to the message to be distributed.
[0066] It should be noted that by filtering the traffic data log using the network address of the user plane functional entity, it is possible to filter out user plane data (i.e., messages to be distributed), which can reflect the business processing status of the user when conducting communication services. Furthermore, the messages to be distributed are sent to the private network data analysis system corresponding to the messages to be distributed, so that the private network data analysis system can analyze the messages to be distributed in a timely manner (for example, the data analysis server of a certain enterprise user analyzes the messages to be distributed transmitted in its internal private network, etc.), thereby knowing whether the processing of business data within the private network is reasonable, facilitating adaptive adjustments to the business data within the private network, and improving business processing efficiency.
[0067] In a second aspect, the present application provides a data processing system and a data processing device in the data processing system. Figure 3 The data processing system in the embodiment of the present application is shown in the schematic diagram of the composition structure. The data processing system may be a subsystem in the communication system for processing communication data.
[0068] like Figure 3The data processing system includes but is not limited to the following devices: Access and Mobility Management Function (AMF) entity 301 of the communication connection, Session Management Function (SMF) entity 302, Policy Control Function (PCF) entity 303, Application Function (AF) entity 304, Unified Data Management (UDM) entity 305, Authentication Server Function (AUSF) entity 306, Network Slice Selection Function (NSSF) entity 307, User Plane Function (UPF) entity 308, Wireless Access Network (WAN or RAN) 309, User Equipment (UE) 310, and Data Network (DN) 311 (for example, a network for processing operator services, Internet services or third-party services).
[0069] Among them, the N1 interface is the interface between UE310 and AMF entity 301; the N2 interface is the interface between RAN309 and AMF entity 301; the N3 interface is the interface between RAN309 and UPF entity 308; the N4 interface is the interface between SMF entity 302 and UPF entity 308; and the N5 interface is the interface between PCF entity 303 and AF entity 304.
[0070] The N6 interface is the interface between DN311 and UPF entity 308; the N7 interface is the interface between SMF entity 302 and PCF entity 303; the N8 interface is the interface between AMF entity 301 and UDM entity 305; the N9 interface is the internal interface of UPF entity 308; and the N10 interface is the interface between SMF entity 302 and UDM entity 305.
[0071] The N11 interface is the interface between the AMF entity 301 and the SMF entity 302; the N12 interface is the interface between the AMF entity 301 and the AUSF entity 306; the N14 interface is the internal interface of the AMF entity 301; the N15 interface is the interface between the AMF entity 301 and the PCF entity 303; and the N22 interface is the interface between the AMF entity 301 and the NSSF entity 307.
[0072] The preset device address information and preset network name information learned through the N11 interface (N4 interface, N5 interface, N7 interface, N10 interface, etc.) can be used to identify the user type of the messages obtained from the N1 interface and the N2 interface, so as to match the messages of the same source but with different acquisition paths, so as to enrich the user context information, reflect the user types corresponding to different messages, and improve the efficiency of diverting multiple different messages.
[0073] Figure 4 The following is a schematic diagram of the structure of the data processing device in the embodiment of the present application. It should be noted that the data processing device can be set at the base station side or in the deep packet inspection system server (DPI) to process the data in the communication network.
[0074] like Figure 4 As shown, the data processing device may include the following modules: a data acquisition module 410, a data cleaning module 420, a data association synthesis module 430 and a data distribution module 440 connected in sequence.
[0075] Each module includes a control plane submodule and a user plane submodule. When processing data, each module divides the data into control plane data and user plane data for processing, that is, the control plane submodule inside each module is used to process the control plane data, and the user plane submodule inside each module is used to process the user plane data.
[0076] The data collection module 410 is used to collect the data to be processed output by the data source. For example, the data to be processed may be the first type of message obtained from the local end interface.
[0077] The data cleaning module 420 can not only be used to parse the message output by the data acquisition module 410, extract the information element, and learn the preset device address information and the preset network name information; it can also be used to identify the user type corresponding to the message (such as enterprise user type or personal user type, etc.). For example, in response to the needs of the private network, the user type is added to the user context information (such as setting 1 to represent the enterprise user type, 0 to represent the personal user type, and the default user type is 0).
[0078] Furthermore, the data cleaning module 420 may also output the learned preset device address information and preset network name information to the data association synthesis module 430 .
[0079] The data association synthesis module 430 is used to match the messages of the same source but different acquisition paths according to the user type to generate the flow data log. For example, the data association synthesis module 430 can also obtain the message transmitted from the N1 interface and / or the N2 interface, so as to match the message transmitted from the N1 interface and / or the N2 interface with the message obtained from the central office interface, so as to make the generated flow data log more accurate.
[0080] If the user type is an individual user type, the data is processed using the human network data processing method corresponding to the individual user type, so as to more accurately identify the individual user data. If the user type is an enterprise user type, the data is processed using the private network data processing method corresponding to the enterprise user type to solve the problem of low number return rate caused by enterprise users being online for a long time and having few registration processes.
[0081] It should be noted that, because the business behavior characteristics corresponding to the individual user type and the business behavior characteristics corresponding to the enterprise user type are different, the storage duration of the user context information required by different user types is also different.
[0082] From the data observed in the existing communication network and the analysis of the behavioral characteristics of enterprise users, it can be seen that since the proportion of enterprise private network users who will be online for a long time after completing a registration is relatively high, the user context information required by the enterprise user type needs to be saved for a longer time. Therefore, when data of the enterprise user type is obtained, the user context information of the data will be stored and managed separately to facilitate the enterprise user to process its data.
[0083] The data distribution module 440 is used to distribute the data to different addresses according to the user type corresponding to the data output by the data association synthesis module 430 (ie, the synthesized traffic data log).
[0084] For example, if the user type is an enterprise user type, the traffic data log is filtered according to the network address of the user plane functional entity to obtain the message to be distributed; the private network data analysis system corresponding to the message to be distributed is determined; and the message to be distributed is sent to the private network data analysis system corresponding to the message to be distributed.
[0085] Figure 5 The schematic diagram of the workflow of the data processing system in the embodiment of the present application is shown. For messages of different interfaces, the data processing system can synchronously obtain the messages (i.e., simultaneously execute step S511 and step S521), or, based on the chronological order, execute step S511 and step S521 in sequence.
[0086] like Figure 5 As shown, the working method of the data processing system includes but is not limited to the following steps:
[0087] Step S511: Acquire the second type of message through the N1 interface and the N2 interface.
[0088] Step S512: Analyze the process information carried by the second type of message to determine the user context information of the second type of message.
[0089] It should be noted that the data processing device may add a user type label when creating user context information. For example, the user type includes an enterprise user type and a personal user type, and the default value of the user type may be set to a personal user type.
[0090] After executing step S512, step S528 may be directly executed.
[0091] Step S521, obtaining a first type of message through the local end interface.
[0092] The local end interface may include any one or more of an N3 interface, an N4 interface, an N5 interface, an N7 interface, an N10 interface and an N11 interface.
[0093] For example, after the first type of message obtained by the N11 interface, further confirmation can be performed on the message obtained from the N3 interface. In other words, when the data cleaning module 420 processes the message obtained from the N11 interface, it is also necessary to confirm the network address of the UPF entity obtained from the N3 interface (i.e., the interface between the RAN309 and the UPF entity 308), and add the obtained network address of the UPF entity to the preset device address information, so that the user plane data in the private network can be quickly processed, such as sinking the user plane data, or performing data diversion and other processing.
[0094] Step S522: parse the first type of message to obtain the network address and network name to be confirmed.
[0095] Step S523, determining whether the network address to be confirmed matches the preset device address information, and whether the preset network name information includes the network name to be confirmed.
[0096] The preset device address information may include the source address of the first type of message and / or the destination address of the first type of message, for example, the IP addresses at both ends of the N11 interface, etc. The network address to be confirmed may include the source address and destination address corresponding to each master device in the private network.
[0097] For example, the preset device address information may be represented in the form of a 5G2B_NE_IP table, the preset network name information may be represented in the form of a 5G2B_DNN working parameter table, etc. The preset network name information may also be an APN in a 4G Internet of Things, etc.
[0098] If the source address of the first type of message and / or the destination address of the first type of message are different from (or do not match) the network addresses in the preset device address information, and the preset network name information does not include the network name to be confirmed, execute step S524; otherwise, execute any one of steps S525 to S527.
[0099] Step S524: determine that the user type corresponding to the first type of message is an individual user type.
[0100] After executing step S524, step S528 may be directly executed.
[0101] Step S525: When it is determined that the network address to be confirmed matches the preset device address information, and the preset network name information includes the network name to be confirmed, it is determined that the user type corresponding to the first type of message is an enterprise user type.
[0102] Step S526, when it is determined that the network address to be confirmed matches the preset device address information, and the preset network name information does not include the network name to be confirmed, it is determined that the user type corresponding to the first type of message is an enterprise user type, and the preset network name information is updated according to the network name to be confirmed.
[0103] It should be noted that if the network address to be confirmed matches the preset device address information, but the preset network name information does not include the network name to be confirmed, it means that new network name information (such as 5G private network DNN, etc.) has been allocated and applied, and the new network name information can be recorded in the preset network name information to enrich the preset network name information. Furthermore, the operation and maintenance personnel can be reminded to confirm the newly added network name and network type information by sending notifications through network management equipment.
[0104] Among them, by associating, comparing, verifying, sampling, and validating the data obtained from multiple interfaces within a preset time period, matching rules corresponding to the newly added network name information can be obtained, so that the updated preset network name information can be more practical.
[0105] Step S527, when it is determined that the network address to be confirmed does not match the preset device address information, and the preset network name information includes the network name to be confirmed, it is determined that the user type corresponding to the first type of message is an enterprise user type, and the preset device address information is updated according to the network address to be confirmed.
[0106] When it is determined that the network address to be confirmed does not match the preset device address information, in order to avoid network changes in the existing communication network, it is necessary to further determine whether the preset network name information includes the network name to be confirmed. When it is determined that the preset network name information includes the network name to be confirmed, it can be determined that the communication network has changed, a new main device for the private network has been added, or there is a situation where the original personal user type network element device is converted to be used for the private network. At this time, it is necessary to add the obtained network address to be confirmed to the preset device address information.
[0107] In some specific implementations, if after determining that the user type is an enterprise user type through the N11 interface, it is also possible to learn from the message obtained from the N11 interface / N4 interface whether the IPs at both ends of the N3 interface are in the preset device address information. If not, the newly learned network address to be confirmed needs to be updated to the preset device address information.
[0108] Step S528: Add the user type corresponding to the first type of message to the user context information of the second type of message to obtain a traffic data log.
[0109] The second type of message obtained in step S512 is a message of the same source as the first type of message. The user context information of the second type of message includes at least one of: user number information, user location information, user service information, and user access network name information.
[0110] For example, the label of the newly added user type in the user context information of the second type of message is set to the user type corresponding to the first type of message.
[0111] When it is determined that the user type corresponding to the first type of message is an enterprise user type, the message processing strategy of the private network can be used to process the user context information of the second type of message (for example, extending the aging time of the communication data card, etc.); when it is determined that the user type corresponding to the first type of message is an individual user type, the message processing strategy of the human network can be used to process the user context information of the second type of message.
[0112] Step S529, sending the traffic data log to the corresponding private network data analysis server.
[0113] Among them, the private network data analysis server can be a private network data analysis server corresponding to a certain industrial park, or it can be a server used by an enterprise to analyze its internal private network data. The above private network data analysis server is only an example for explanation, and specific settings can be made according to actual needs. Other unspecified private network data analysis servers are also within the scope of protection of this application and will not be repeated here.
[0114] For example, when processing user plane data, messages may be filtered based on the network address of the UPF entity in the preset device address information, and the filtered messages may be sent to a preset data processing platform for processing.
[0115] In this embodiment, by matching the first type of message obtained from the local interface with the second type of message obtained from the N1 interface and the N2 interface, the user type of the first type of message can be analyzed through the device address information of the private network and the network name information of the private network, and the user type to which the first type of message belongs can be clarified, so as to facilitate the rapid processing of the first type of message and the message of the same source as the first type of message (such as the second type of message); the user type corresponding to the first type of message is matched with the user context information of the second type of message, and a traffic data log is generated, so that various types of messages in the hybrid private network can obtain accurate user types, and then different types of messages are classified and processed based on different user types, so that the filling rate of the private network data can be improved; and there is no need to fill the traffic data log by extending the storage time of the user context information, which can reduce the storage time of the user context information, reduce the overhead of resources such as cache, speed up the processing speed of various types of messages, and improve the processing accuracy of user data.
[0116] In a third aspect, the present application provides a data processing device. Figure 6 The following is a schematic diagram showing the composition structure of the data processing device in the embodiment of the present application. Figure 6 As shown, the data processing device 600 may include but is not limited to the following modules.
[0117] Determination module 601 is used to analyze the first type of message based on the information matching rule of the private network to determine the user type corresponding to the first type of message. The information matching rule of the private network is a rule determined based on preset device address information and preset network name information. The source of the first type of message is the local interface.
[0118] The generating module 602 is used to match the user type corresponding to the first type of message with the user context information of the message of the same source as the first type of message to generate a traffic data log.
[0119] It should be noted that the data processing device 600 in this embodiment can execute any data processing method in this application, which will not be described in detail here.
[0120] According to the data processing device of the embodiment of the present application, the first type of message obtained is analyzed based on the information matching rule of the private network to determine the user type corresponding to the first type of message. The user type of the first type of message from the local interface can be analyzed through the device address information of the private network and the network name information of the private network in the information matching rule of the private network, and the user type to which the first type of message belongs is clarified, so as to facilitate the rapid processing of the first type of message and the message with the same source as the first type of message; the user type corresponding to the first type of message is matched with the user context information of the message with the same source as the first type of message, and a traffic data log is generated, so that various types of messages in the hybrid private network can obtain accurate user types, and then different types of messages are classified and processed based on different user types, so that the filling rate of the private network data is improved; and there is no need to fill the traffic data log by extending the storage time of the user context information, which can reduce the storage time of the user context information, reduce the overhead of resources such as cache, speed up the processing speed of various types of messages, and improve the processing accuracy of user data.
[0121] It should be clear that the present invention is not limited to the specific configurations and processes described in the above embodiments and shown in the figures. For the convenience and brevity of description, a detailed description of the known methods is omitted here, and the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, which will not be repeated here.
[0122] In a fourth aspect, the present application provides an electronic device and a readable storage medium.
[0123] Figure 7 A structural diagram showing an exemplary hardware architecture of a computing device capable of implementing the data processing method and apparatus according to an embodiment of the present invention.
[0124] like Figure 7 As shown, the computing device 700 includes an input device 701, an input interface 702, a central processing unit 703, a memory 704, an output interface 705, and an output device 706. The input interface 702, the central processing unit 703, the memory 704, and the output interface 705 are connected to each other via a bus 707, and the input device 701 and the output device 706 are connected to the bus 707 via the input interface 702 and the output interface 705, respectively, and are further connected to other components of the computing device 700.
[0125] Specifically, the input device 701 receives input information from the outside and transmits the input information to the central processing unit 703 through the input interface 702; the central processing unit 703 processes the input information based on the computer executable instructions stored in the memory 704 to generate output information, temporarily or permanently stores the output information in the memory 704, and then transmits the output information to the output device 706 through the output interface 705; the output device 706 outputs the output information to the outside of the computing device 700 for user use.
[0126] In one embodiment, Figure 7 The computing device shown may be implemented as an electronic device, which may include: a memory configured to store a program; and a processor configured to run the program stored in the memory to execute the data processing method described in the above embodiment.
[0127] In one embodiment, Figure 7 The computing device shown may be implemented as a data processing system, which may include: a memory configured to store a program; and a processor configured to run the program stored in the memory to execute the data processing method described in the above embodiment.
[0128] The above is only an exemplary embodiment of the present application and is not intended to limit the scope of protection of the present application. In general, various embodiments of the present application can be implemented in hardware or special circuits, software, logic or any combination thereof. For example, some aspects can be implemented in hardware, while other aspects can be implemented in firmware or software that can be executed by a controller, a microprocessor or other computing device, although the present application is not limited thereto.
[0129] Embodiments of the present application may be implemented by executing computer program instructions by a data processor of a mobile device, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.
[0130] The block diagram of any logic flow in the accompanying drawings of the present application can represent program steps, or can represent interconnected logic circuits, modules and functions, or can represent a combination of program steps and logic circuits, modules and functions. The computer program can be stored on a memory. The memory can have any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as but not limited to read-only memory (ROM), random access memory (RAM), optical memory device and system (digital versatile disc DVD or CD disc), etc. Computer-readable media may include non-transient storage media. The data processor can be any type suitable for the local technical environment, such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a programmable logic device (FGPA) and a processor based on a multi-core processor architecture.
[0131] By way of exemplary and non-limiting examples, a detailed description of exemplary embodiments of the present application has been provided above. However, various modifications and adjustments to the above embodiments will be apparent to those skilled in the art when considered in conjunction with the accompanying drawings and claims, but will not depart from the scope of the present invention. Therefore, the proper scope of the present invention will be determined according to the claims.
Claims
1. A data processing method, characterized in that: The method comprises: Analyze the first type of message based on the information matching rule of the private network to determine the user type corresponding to the first type of message, wherein the information matching rule of the private network is a rule determined based on preset device address information and preset network name information, wherein the source of the first type of message is the local end interface; The user type corresponding to the first type of message is matched with the user context information of the message having the same source as the first type of message to generate a traffic data log.
2. The method according to claim 1, characterized in that Before matching the user type corresponding to the first type of message with the user context information of the message having the same source as the first type of message and generating the traffic data log, the method further includes: Acquire a second type of message, where the second type of message is a message from the same source as the first type of message but acquired through a different path; The process information carried by the second-type message is analyzed to determine the user context information of the second-type message.
3. The method according to claim 1, characterized in that The user type includes an enterprise user type or an individual user type; the private network-based information matching rule analyzes the first type of message to determine the user type corresponding to the first type of message, including: Parsing the first type of message to obtain a network address and a network name to be confirmed; When it is determined that the network address to be confirmed does not match the preset device address information, and the preset network name information does not include the network name to be confirmed, determining that the user type corresponding to the first type of message is the personal user type; Otherwise, it is determined that the user type corresponding to the first type of message is the enterprise user type.
4. The method according to claim 3, characterized in that After determining that the user type corresponding to the first type of message is the enterprise user type, the method further includes: When it is determined that the network address to be confirmed does not match the preset device address information, and the preset network name information includes the network name to be confirmed, the preset device address information is updated according to the network address to be confirmed.
5. The method according to claim 3, characterized in that: After determining that the user type corresponding to the first type of message is the enterprise user type, the method further includes: When it is determined that the network address to be confirmed matches the preset device address information, and the preset network name information does not include the network name to be confirmed, the preset network name information is updated according to the network name to be confirmed.
6. The method according to claim 3, characterized in that The network address to be confirmed includes: a source address of the first type of message and / or a destination address of the first type of message; The network name to be confirmed includes: a data network name or an access point network name.
7. The method according to claim 1, characterized in that The local end interface includes at least one of the following: The interface between the access and mobility management function entity and the session management function entity, the interface between the session management function entity and the user plane function entity, the interface between the policy control function entity and the application function entity, the interface between the session management function entity and the policy control function entity, and the interface between the session management function entity and the unified data management function entity.
8. The method according to any one of claims 1 to 7, characterized in that The matching of the user type corresponding to the first type of message with the user context information of the message having the same source as the first type of message to generate a traffic data log includes: Add the user type corresponding to the first type of message to the user context information of the message having the same source as the first type of message, and obtain the traffic data log; The user context information of the message of the same source as the first type of message includes at least one of: user number information, user location information, user service information, and network name information accessed by the user.
9. The method according to any one of claims 1 to 7, characterized in that Before analyzing the first type of message based on the information matching rule of the private network to determine the user type corresponding to the first type of message, the method further includes: Analyze the plurality of first-category messages respectively based on the preset identifier to obtain the preset network name information; The preset network name information includes at least one of a preset Internet of Things card identifier, a preset Internet of Things access point identifier, and a preset private network universal access point identifier.
10. The method according to any one of claims 1 to 7, characterized in that The preset device address information includes: the network address of the user plane function entity; After matching the user type corresponding to the first type of message with the user context information of the message having the same source as the first type of message to generate the traffic data log, the method further includes: Filtering the traffic data log according to the network address of the user plane functional entity to obtain a message to be distributed; Determine the private network data analysis system corresponding to the message to be distributed; The message to be distributed is sent to the private network data analysis system corresponding to the message to be distributed.
11. An electronic device, comprising: one or more processors; A memory having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method as described in any one of claims 1-10.
12. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the data processing method according to any one of claims 1 to 10 is implemented.
