Data type identification method and device, equipment, storage medium and program product
By analyzing the service data packets of the 4G core network data interface, and determining the service quality level value in combination with IP address and transmission tunnel identification, the problem of inaccurate IP address filtering is solved, and the accurate identification and management of VoLTE data is achieved.
Patent Information
- Application Number
- CN202411434929.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2024-12-20
AI Technical Summary
In 4G core network, relying solely on IP addresses for VoLTE data filtering may lead to inaccurate identification, especially when the IMS domain element device processes multiple types of data, or when the VoLTE service uses dynamic IP address allocation, the preset IP The address list may not contain all valid VoLTE IP addresses, resulting in reduced identification accuracy.
By analyzing the service data packets obtained from the data surface interface of the core network, determining the first network protocol IP address and the first transmission tunnel identifier of its relative data surface interface, combining these information to determine the target service quality level value, thereby accurately identifying the service data The data type of the package.
It ensures the accuracy of the target service quality level value, realizes accurate identification of service packet data types, improves the identification accuracy of VoLTE data, and thus manages and promotes related business applications more effectively.
Smart Images

Figure CN119172307A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a data type identification method, device, equipment, storage medium and program product. Background Art
[0002] The construction of 4G network has been going on for more than 10 years, and the network coverage is wide. Most mobile terminals support the voice over LTE (VoLTE) call function. In the 4G core network, the proportion of VoLTE traffic is increasing, exceeding 10% of the total traffic, so the identification and analysis of this part of the traffic is becoming more and more important.
[0003] At present, VoLTE data on the S1-U interface of the 4G core network is generally identified by IP addresses. Operators generally have a fixed list of IP addresses for network element devices in the IP Multimedia Subsystem (IMS) domain. Network devices can learn the IP addresses used for VoLTE services, thereby identifying and filtering VoLTE data in the data stream.
[0004] However, since network element devices in the IMS domain may process multiple types of data at the same time, filtering based solely on IP addresses may result in inaccurate identification of VoLTE data. For example, if an IP address is used for multiple services, including VoLTE and other non-VoLTE services, then filtering methods based solely on IP addresses may incorrectly identify non-VoLTE data as VoLTE data, or miss some VoLTE data. In addition, if the VoLTE service uses dynamic IP address allocation, the pre-set IP address list may not contain all valid VoLTE IP addresses, thereby reducing the accuracy of identification. Summary of the invention
[0005] The present invention provides a data type identification method, device, equipment, storage medium and program product to solve the problem that only relying on IP address for filtering may lead to inaccurate VoLTE data identification.
[0006] In a first aspect, an embodiment of the present invention provides a method for identifying a data type, the method comprising:
[0007] Parsing a service data packet obtained from a data plane interface of a core network, and determining a first network protocol IP address and a first transmission tunnel identifier of the service data packet relative to the data plane interface;
[0008] Determine a target service quality level value corresponding to the service data packet according to the first network protocol IP address and the first transmission tunnel identifier;
[0009] The data type of the service data packet is determined according to the target service quality level value.
[0010] In a second aspect, an embodiment of the present invention provides a data type identification device, the device comprising:
[0011] A service data packet parsing module, configured to parse a service data packet obtained from a data plane interface of a core network, and determine a first network protocol IP address and a first transmission tunnel identifier of the service data packet relative to the data plane interface;
[0012] A level value determination module, used to determine a target service quality level value corresponding to the business data packet according to the first network protocol IP address and the first transmission tunnel identifier;
[0013] The data type determination module is used to determine the data type of the service data packet according to the target service quality level value.
[0014] In a third aspect, an embodiment of the present invention provides an electronic device, the electronic device comprising:
[0015] at least one processor;
[0016] and a memory communicatively coupled to the at least one processor;
[0017] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the data type identification method described in any embodiment of the present invention.
[0018] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the data type identification method described in any embodiment of the present invention when executed.
[0019] In a fifth aspect, an embodiment of the present invention further provides a computer program product, characterized in that the computer program product comprises a computer program, and when the computer program is executed by a processor, the data type identification method according to any embodiment of the present invention is implemented.
[0020] The technical solution of the embodiment of the present invention determines the first network protocol IP address and the first transmission tunnel identifier of the service data packet relative to the data plane interface by parsing the service data packet obtained from the data plane interface of the core network; determines the target service quality level value corresponding to the service data packet according to the first network protocol IP address and the first transmission tunnel identifier; and determines the data type of the service data packet according to the target service quality level value. By determining the first network protocol IP address and the first transmission tunnel identifier of the service data packet relative to the data plane interface, and determining the target service quality level value corresponding to the service data packet in combination with the first network protocol IP address and the first transmission tunnel identifier, the accuracy of the determined target service quality level value is ensured, and the data type of the service data packet is determined according to the target service quality level value, thereby realizing accurate identification of the data type of the service data packet. By accurately identifying the data type, related business applications can be more effectively managed and promoted.
[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 A flow chart of a method for identifying a data type provided by an embodiment of the present invention;
[0024] Figure 2 A schematic diagram of the structure of a data type identification device provided by an embodiment of the present invention;
[0025] Figure 3 A schematic diagram of the structure of an electronic device that can be used to implement an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0028] It should be noted that the VoLTE data of the S1-U interface of the 4G core network is often identified by IP address. However, since network element devices in the IMS domain may process multiple types of data at the same time, filtering based solely on IP addresses may lead to inaccurate identification of VoLTE data.
[0029] Based on this, an embodiment of the present invention provides a method for identifying a data type. Figure 1 A flowchart of a data type identification method provided in an embodiment of the present invention. The embodiment of the present invention is applicable to scenarios for identifying VoLTE data. The method can be performed by a data type identification device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which is preferably a mobile terminal, a desktop computer, a laptop computer, a server, etc.
[0030] like Figure 1 As shown, the data type identification method provided by the embodiment of the present invention may specifically include:
[0031] S101. Parse a service data packet obtained from a data plane interface of a core network, and determine a first network protocol IP address and a first transmission tunnel identifier of the service data packet relative to the data plane interface.
[0032] Among them, the data plane can be understood as the part of the core network that is responsible for transmitting and processing actual data (such as voice, video, file transfer, etc.). The service data packet can be understood as a data packet containing user service data, such as voice, video, data, etc., as well as information related to session management and mobility management. The first network protocol IP address can be considered as the IP address of the destination of the service data packet transmission, which is used to identify the network location of the receiving device at the network layer (IP layer). The first transmission tunnel identifier can be understood as an identifier of the tunnel endpoint of the destination of the service data packet, which is used to help identify the end point of the tunnel to ensure that the service data packet can be correctly sent to the target endpoint.
[0033] In this embodiment, service data packets can be obtained from the data plane interface of the core network by means of splitting, mirroring, etc., and the service data packets are parsed and processed by proprietary equipment or x86 servers to determine the first network protocol IP address and the first transmission tunnel identifier of the service data packet relative to the data plane interface.
[0034] Exemplarily, GPRS Tunneling Protocol User Plane Part (GTP-U) service data packets can be captured from a data plane interface such as the S1-U interface (the interface between the base station and the serving gateway user plane) by optical splitting.
[0035] S102: Determine a target service quality level value corresponding to the service data packet according to the first network protocol IP address and the first transmission tunnel identifier.
[0036] The target service quality level value may be understood as the service quality level value corresponding to the item to be searched, that is, the service quality level value corresponding to the service data packet.
[0037] In this embodiment, since the service quality level value exists in the signaling data packet, the service quality level value contained in the signaling data can be obtained by searching for signaling data with the same first network protocol IP address and first transmission tunnel identifier, and the service quality level value can be determined as the target service quality level value corresponding to the business data packet.
[0038] It should be noted that, since a service data packet and a corresponding signaling data packet are sent to the same destination, the signaling data packet has a network protocol IP address and a transmission tunnel identifier that are the same as the first network protocol IP address and the first transmission tunnel identifier.
[0039] S103: Determine the data type of the service data packet according to the target service quality level value.
[0040] In this embodiment, the data type of the service data packet is determined based on the correspondence between the service level value and the standard service categories such as conversational voice and IMS signaling, wherein the data type can be non-Long Term Evolution Voice Bearer (Voice over LTE, VoLTE) data, or VoLTE data such as video, voice or signaling.
[0041] A data type identification method provided by an embodiment of the present invention determines the first network protocol IP address and the first transmission tunnel identifier of the service data packet relative to the data plane interface by parsing the service data packet obtained from the data plane interface of the core network; determines the target service quality level value corresponding to the service data packet according to the first network protocol IP address and the first transmission tunnel identifier; and determines the data type of the service data packet according to the target service quality level value. The technical solution of the embodiment of the present invention determines the first network protocol IP address and the first transmission tunnel identifier of the service data packet relative to the data plane interface, and determines the target service quality level value corresponding to the service data packet in combination with the first network protocol IP address and the first transmission tunnel identifier, thereby ensuring the accuracy of the determined target service quality level value, and determining the data type of the service data packet according to the target service quality level value, thereby realizing accurate identification of the data type of the service data packet. By accurately identifying the data type, related business applications can be more effectively managed and promoted.
[0042] As a first optional embodiment of this embodiment, on the basis of the above embodiment, determining the target service quality level value corresponding to the service data packet according to the first network protocol IP address and the first transmission tunnel identifier can be concretized into the following steps:
[0043] a1) determining the first network protocol IP address and the first transmission tunnel identifier as items to be searched, and searching for a hash value associated with the items to be searched from a predetermined hash association table.
[0044] The item to be searched can be understood as information that requires searching for associated items. The hash association table can be understood as a table that stores one or more searchable items and hash values associated with each searchable item. The hash value is determined based on the associated information corresponding to each searchable item. It should be noted that one of the searchable items is the same as the item to be searched.
[0045] In this embodiment, the first network protocol IP address and the first transmission tunnel identifier are determined as items to be searched, and a searchable item identical to the item to be searched is searched from a hash association table predetermined according to a signaling data packet. When the same searchable item is found, the hash value associated with the searchable item is determined according to the hash association table, which is the hash value associated with the item to be searched.
[0046] As one implementation method, this optional embodiment may further specify the step of creating the hash association table as follows:
[0047] a11) parsing the signaling data obtained from the control plane interface of the core network, and determining the second network protocol IP address, the second transmission tunnel identifier and key authentication information of each signaling data packet in the signaling data relative to the control plane interface, wherein the key authentication information includes a service quality level value.
[0048] Among them, the control plane can be understood as the part that undertakes the core network control function, which is used to process the control signaling in the network to ensure the normal operation of the network. The second network protocol IP address can be understood as the IP address of the destination of the signaling data packet transmission, which is used to identify the network location of the device receiving the signaling at the network layer (IP layer). The second transmission tunnel identifier can be understood as an identifier of the tunnel endpoint that identifies the destination of the signaling data packet, which is used to distinguish different data streams transmitted through the same tunnel. Key authentication information can be considered to be information associated with the second network protocol IP address and the second transmission tunnel identifier and containing authentication information such as service quality level value, international mobile user identity code, access point name, and tracking area identity.
[0049] In this embodiment, signaling data can be obtained in real time from the control plane interface of the core network by means of splitting, mirroring, etc., and the signaling data is parsed and processed by a proprietary device or an x86 server to determine the second network protocol IP address, the second transmission tunnel identifier and key authentication information of each signaling data packet in the signaling data relative to the control plane interface.
[0050] Exemplarily, the control plane part (GTPv2-C) signaling data of GTP version 2 may be obtained from a control plane interface such as the S11 interface (an interface between a mobility management entity and a control plane part of a serving gateway) by using a splitting method.
[0051] a12) storing each of the key authentication information, and performing hash calculation on the storage address of each of the key authentication information by using a given hash function to obtain a hash value corresponding to each of the key authentication information.
[0052] In this embodiment, each key authentication information parsed from the signaling data packet is stored. In the storage system, each entry or object has a unique storage address. By using a hash function, such as MurmurHash, Blake3 or CityHash, a hash calculation is performed on the storage address of each key authentication information to obtain a hash value corresponding to each key authentication information.
[0053] a13) storing each of the second network protocol IP addresses and the second transmission tunnel identifier in association with the hash value corresponding to the corresponding key authentication information to form a hash association table.
[0054] In this embodiment, each second network protocol IP address and the second transmission tunnel identifier are associated with a hash value of key authentication information corresponding to each second network protocol IP address and the second transmission tunnel identifier by constructing a hash table to form a hash association table.
[0055] The above technical solution of this embodiment forms a hash association table by associating and storing each of the second network protocol IP addresses and the second transmission tunnel identifier with the hash value corresponding to the corresponding key authentication information. The constructed hash association table can be dynamically updated in real time, thereby providing a convenient, fast and accurate search mechanism, thereby improving the efficiency and accuracy of data type identification.
[0056] b1) Determine the target key authentication information corresponding to the hash value through an anti-hash function.
[0057] Among them, the target key authentication information can be understood as data information associated with the hash value, that is, the associated information corresponding to the item to be searched.
[0058] In this embodiment, an anti-hash function is used to process the hash value associated with the search item to determine the target key authentication information corresponding to the hash value. The target key authentication information may include a service quality level value, an international mobile user identity code, an access point name, and a tracking area identity.
[0059] c1) determining the service quality level value included in the target key authentication information as the target service quality level value corresponding to the business data packet.
[0060] In this embodiment, the determined target key authentication information is the associated information corresponding to the item to be found and the business data packet to which the item to be found belongs. Therefore, the service quality level value contained in the target key authentication information can be determined as the target service quality level value corresponding to the business data packet.
[0061] The above technical scheme of this embodiment, by determining the first network protocol IP address and the first transmission tunnel identifier as the items to be searched, searching the hash value associated with the items to be searched from the hash association table, and determining the target key authentication information corresponding to the hash value through the inverse hash function, thereby obtaining the target service quality level value, and realizing rapid and accurate determination of the target service quality level value corresponding to the business data packet.
[0062] As a second optional embodiment of this embodiment, the step of determining the data type of the service data packet according to the target service quality level value may be specifically optimized into the following steps:
[0063] a2) If the target service quality level value is empty, determining that the data type of the service data packet is non-long term evolution voice bearer data.
[0064] In this embodiment, if the target service quality level value is empty, it means that the target service quality level value is not found, and it can be determined that the data type of the corresponding service data packet is non-long term evolution voice bearer data.
[0065] b2) If the target service quality level value is not empty, determining the data type of the service data packet according to the target service quality level value.
[0066] In this embodiment, if the target service quality level value is not empty, it can be determined that the data type of the corresponding service data packet is long-term evolution voice bearer data, and the data type of the service data packet is determined based on the correspondence between the target service quality level value and standard service categories such as conversational voice, IMS signaling, etc.
[0067] The above technical solution of this embodiment provides a method for determining the data type when the target service quality levels are empty and non-empty, thereby accurately identifying whether the data type of the service data packet is long-term evolution voice bearer data.
[0068] As one implementation manner, this optional embodiment may further specify the data type of the service data packet according to the target service quality level value as follows:
[0069] b21) If the target service quality level value is the first set value, determining that the data type of the service data packet is long term evolution voice bearer signaling data.
[0070] In this embodiment, the first setting value can be considered as a preset value. For example, in a 4G network, the first setting value can be 5. If the target service quality level value matches the first setting value, that is, the target service quality level value is 5, the data type of the relevant service data packet can be determined as long-term evolution voice bearer signaling data based on the correspondence between the target service quality level value and the 4G standard service category, that is, the service data packet contains control information for establishing, maintaining and releasing call connections, rather than actual voice or video data.
[0071] b22) If the target service quality level value is a second set value, determining that the data type of the service data packet is long term evolution voice bearer voice data.
[0072] In this embodiment, the second setting value can be considered as a preset numerical value, which is different from the first setting value. For example, in a 4G network, the second setting value can be 1. If the target service quality level value matches the second setting value, that is, the target service quality level value is 1, then based on the correspondence between the target service quality level value and the 4G standard service category, it can be determined that the data type of the relevant service data packet is long-term evolution voice bearer voice data, that is, the service data packet contains the actual voice call content.
[0073] b23) If the target service quality level value is a third set value, determining that the data type of the service data packet is long term evolution voice over video data.
[0074] In this embodiment, the third setting value can be considered as a preset value, which is different from the first setting value and the second setting value. For example, in a 4G network, the third setting value can be 2. If the target service quality level value matches the third setting value, then based on the correspondence between the target service quality level value and the 4G standard service category, it can be determined that the data type of the relevant service data packet is long-term evolution voice-bearing video data, that is, the service data packet contains actual video content.
[0075] The above technical solution of this embodiment provides a method for determining the data type of the business data packet according to the target service quality level value, thereby realizing accurate identification of long-term evolution voice-bearing signaling data, long-term evolution voice-bearing voice data and long-term evolution voice-bearing video data, thereby enabling the effective promotion of related business applications.
[0076] As one implementation of any embodiment of the present invention, it also includes:
[0077] a3) storing the service data packets whose target service quality level values are not empty according to a given storage format.
[0078] In this embodiment, for business data packets whose target service quality level value is not empty, they are stored according to a given storage format, which may include multiple attributes of the business data packet, such as source IP address, destination IP address, port number, timestamp, data packet size, corresponding target service quality level value, and determined data type of the business data packet, etc. The business data packet is stored in an appropriate storage system, such as a database, file system, etc., according to the storage format.
[0079] The above technical solution of this embodiment stores the service data packets with non-empty target service quality level values in a given storage format, ensuring that the data organization and index are orderly, facilitating subsequent access, analysis and processing.
[0080] Figure 2 Schematic diagram of a data type identification device provided by an embodiment of the present invention. Figure 2 As shown, the device includes: a service data packet parsing module 21, a level value determination module 22 and a data type determination module 23, wherein:
[0081] A service data packet parsing module 21, configured to parse a service data packet obtained from a data plane interface of a core network, and determine a first network protocol IP address and a first transmission tunnel identifier of the service data packet relative to the data plane interface;
[0082] A level value determination module 22, configured to determine a target service quality level value corresponding to the service data packet according to the first network protocol IP address and the first transmission tunnel identifier;
[0083] The data type determination module 23 is used to determine the data type of the service data packet according to the target service quality level value.
[0084] An embodiment of the present invention provides a data type identification device, which determines the first network protocol IP address and the first transmission tunnel identifier of the service data packet relative to the data plane interface by parsing the service data packet obtained from the data plane interface of the core network; determines the target service quality level value corresponding to the service data packet according to the first network protocol IP address and the first transmission tunnel identifier; and determines the data type of the service data packet according to the target service quality level value. The technical solution of the embodiment of the present invention ensures the accuracy of the determined target service quality level value by determining the first network protocol IP address and the first transmission tunnel identifier of the service data packet relative to the data plane interface, and determines the target service quality level value corresponding to the service data packet in combination with the first network protocol IP address and the first transmission tunnel identifier, and determines the data type of the service data packet according to the target service quality level value, thereby realizing accurate identification of the data type of the service data packet. By accurately identifying the data type, related business applications can be more effectively managed and promoted.
[0085] Furthermore, the level value determination module 22 may be specifically used for:
[0086] Determine the first network protocol IP address and the first transmission tunnel identifier as items to be searched, and search for a hash value associated with the items to be searched from a predetermined hash association table;
[0087] Determine the target key authentication information corresponding to the hash value through an inverse hash function;
[0088] The service quality level value included in the target key authentication information is determined as the target service quality level value corresponding to the business data packet.
[0089] Furthermore, the data type identification device also includes a hash association table creation module, which is specifically used to:
[0090] Parsing signaling data obtained from the control plane interface of the core network, determining a second network protocol IP address, a second transmission tunnel identifier, and key authentication information of each signaling data packet in the signaling data relative to the control plane interface, wherein the key authentication information includes a quality of service level value;
[0091] Storing each of the key authentication information, and performing hash calculation on the storage address of each of the key authentication information through a given hash function to obtain a hash value corresponding to each of the key authentication information;
[0092] Each of the second network protocol IP addresses and the second transmission tunnel identifier is associated with a hash value corresponding to the corresponding key authentication information and stored to form a hash association table.
[0093] Furthermore, the data type determination module 23 may specifically include:
[0094] A first type determination unit, configured to determine that the data type of the service data packet is non-long term evolution voice bearer data if the target service quality level value is empty;
[0095] The second type determination unit is configured to determine the data type of the service data packet according to the target service quality level value if the target service quality level value is not empty.
[0096] Further, the second type determination unit may be specifically configured to:
[0097] If the target service quality level value is the first set value, determining that the data type of the service data packet is long term evolution voice bearer signaling data;
[0098] If the target service quality level value is a second set value, determining that the data type of the service data packet is long term evolution voice bearer voice data;
[0099] If the target service quality level value is a third set value, it is determined that the data type of the service data packet is long term evolution voice over video data.
[0100] Furthermore, the data type identification device also includes a storage module, which is specifically used to:
[0101] The service data packet whose target service quality level value is not empty is stored according to a given storage format.
[0102] The data type identification device provided in the embodiment of the present invention can execute the data type identification method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0103] Figure 3 A schematic diagram of an electronic device 30 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0104] like Figure 3 As shown, the electronic device 30 includes at least one processor 31, and a memory connected to the at least one processor 31, such as a read-only memory (ROM) 32, a random access memory (RAM) 33, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 31 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 32 or the computer program loaded from the storage unit 38 to the random access memory (RAM) 33. In the RAM 33, various programs and data required for the operation of the electronic device 30 can also be stored. The processor 31, the ROM 32, and the RAM 33 are connected to each other through a bus 34. An input / output (I / O) interface 35 is also connected to the bus 34.
[0105] A number of components in the electronic device 30 are connected to the I / O interface 35, including: an input unit 36, such as a keyboard, a mouse, etc.; an output unit 37, such as various types of displays, speakers, etc.; a storage unit 38, such as a disk, an optical disk, etc.; and a communication unit 39, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 39 allows the electronic device 30 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0106] The processor 31 may be a variety of general and / or dedicated processing components with processing and computing capabilities. Some examples of the processor 31 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 31 performs the various methods and processes described above, such as a data type recognition method.
[0107] In some embodiments, the data type identification method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 38. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 30 via the ROM 32 and / or the communication unit 39. When the computer program is loaded into the RAM 33 and executed by the processor 31, one or more steps of the data type identification method described above may be performed. Alternatively, in other embodiments, the processor 31 may be configured to perform the data type identification method in any other appropriate manner (e.g., by means of firmware).
[0108] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0109] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0110] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0111] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0112] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0113] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0114] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0115] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A data type identification method, It is characterized in that include: Parsing a service data packet obtained from a data plane interface of a core network, and determining a first network protocol IP address and a first transmission tunnel identifier of the service data packet relative to the data plane interface; Determine a target service quality level value corresponding to the service data packet according to the first network protocol IP address and the first transmission tunnel identifier; The data type of the service data packet is determined according to the target service quality level value.
2. The method according to claim 1, It is characterized in that The determining, according to the first network protocol IP address and the first transmission tunnel identifier, a target service quality level value corresponding to the service data packet includes: Determine the first network protocol IP address and the first transmission tunnel identifier as items to be searched, and search for a hash value associated with the items to be searched from a predetermined hash association table; Determine the target key authentication information corresponding to the hash value through an inverse hash function; The service quality level value included in the target key authentication information is determined as the target service quality level value corresponding to the business data packet.
3. The method according to claim 2, It is characterized in that The steps of creating the hash association table include: Parsing signaling data obtained from the control plane interface of the core network, determining a second network protocol IP address, a second transmission tunnel identifier, and key authentication information of each signaling data packet in the signaling data relative to the control plane interface, wherein the key authentication information includes a quality of service level value; Storing each of the key authentication information, and performing hash calculation on the storage address of each of the key authentication information through a given hash function to obtain a hash value corresponding to each of the key authentication information; Each of the second network protocol IP addresses and the second transmission tunnel identifier is associated with a hash value corresponding to the corresponding key authentication information and stored to form a hash association table.
4. The method according to claim 1, It is characterized in that The step of determining the data type of the service data packet according to the target service quality level value includes: If the target service quality level value is empty, determining that the data type of the service data packet is non-long term evolution voice bearer data; If the target service quality level value is not empty, the data type of the service data packet is determined according to the target service quality level value.
5. The method according to claim 4, It is characterized in that Determining the data type of the service data packet according to the target service quality level value includes: If the target service quality level value is the first set value, determining that the data type of the service data packet is long term evolution voice bearer signaling data; If the target service quality level value is a second set value, determining that the data type of the service data packet is long term evolution voice bearer voice data; If the target service quality level value is a third set value, it is determined that the data type of the service data packet is long term evolution voice over video data.
6. The method according to any one of claims 1 to 5, It is characterized in that Also includes: The service data packet whose target service quality level value is not empty is stored according to a given storage format.
7. A data type identification device, It is characterized in that include: A service data packet parsing module, configured to parse a service data packet obtained from a data plane interface of a core network, and determine a first network protocol IP address and a first transmission tunnel identifier of the service data packet relative to the data plane interface; A level value determination module, used to determine a target service quality level value corresponding to the business data packet according to the first network protocol IP address and the first transmission tunnel identifier; The data type determination module is used to determine the data type of the service data packet according to the target service quality level value.
8. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the data type identification method described in any one of claims 1 to 6.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the data type identification method according to any one of claims 1 to 6 when executed.
10. A computer program product, It is characterized in that The computer program product comprises a computer program, which, when executed by a processor, implements the data type identification method according to any one of claims 1 to 6.
Citation Information
Cited By
Service traffic grading method, electronic equipment, storage medium and product
CN121098815A
