5G signaling traffic deduplication method, device, equipment and medium
By performing protocol feature identification and feature transformation on data packets of 5G signaling traffic, combined with existing protocol data, efficient deduplication of 5G signaling traffic is achieved, solving the problem of time-consuming and low-efficiency detection in the prior art.
Patent Information
- Application Number
- CN202510100491.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-22
- Publication Date
- 2025-05-09
AI Technical Summary
In 5G mobile communication technology, repeated detection of 5G signaling traffic usually needs to be compared one by one, resulting in time-consuming, labor-consuming and consuming equipment resources, and the inability to efficiently deduplicate.
By obtaining data packets of the 5G signaling traffic to be processed, protocol feature identification is performed, target protocol features are determined, and target protocol data is determined based on preset feature transformation methods and target protocol features. Then, based on the target protocol data and existing protocol data, the deduplication result of 5G signaling traffic is determined.
Accurate and convenient repetitive detection of 5G signaling traffic is achieved, reducing the efficiency of deduplication and avoiding the generation of detailed records of duplication or errors.
Smart Images

Figure CN119967480A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of 5G mobile network technology, and in particular, to a 5G signaling traffic deduplication method, device, equipment and medium. Background Art
[0002] The 5th Generation Mobile Communication Technology (5G) signaling plane deep packet inspection (DPI) program requires the input of 5G core network signaling traffic. These flows are usually mirrored by the core network switch and reach the 5G signaling plane DPI through the aggregation and diversion equipment, which may cause traffic duplication. At this time, using duplicate traffic for processing will output duplicate or erroneous detailed records (X detailed records, XDR).
[0003] At present, a one-by-one comparison method is usually used to detect whether the traffic is repeated. However, this one-by-one comparison method often requires comparing the contents of 5G signaling traffic one by one, which is time-consuming and labor-intensive, and will occupy a large amount of equipment resources for a long time. Summary of the invention
[0004] The embodiments of the present invention provide a 5G signaling traffic deduplication method, device, equipment and medium, so as to accurately and conveniently perform repeatability detection on 5G signaling traffic and perform corresponding processing on the 5G signaling traffic according to the detection results, so as to obtain accurate deduplication results and improve the deduplication efficiency of 5G signaling traffic.
[0005] In a first aspect, an embodiment of the present invention provides a 5G signaling traffic deduplication method, including:
[0006] Get the data packets in the 5G signaling traffic to be processed;
[0007] Performing protocol feature recognition on the data packet to determine a target protocol feature corresponding to the data packet;
[0008] Based on the preset feature transformation mode and the target protocol feature, determining the target protocol data corresponding to the target protocol feature;
[0009] Based on the target protocol data and the existing protocol data, determine the deduplication result corresponding to the 5G signaling traffic.
[0010] Optionally, the method further includes: performing preliminary analysis on the data packet to determine a target protocol type corresponding to a target protocol in the data packet; performing protocol feature identification on the data packet based on a feature identification method corresponding to the target protocol type to determine a target protocol feature corresponding to the data packet.
[0011] Optionally, the method further includes: sorting each sub-feature in the target protocol feature based on a preset sorting method to determine a reference protocol feature corresponding to the data packet; performing feature transformation on the reference protocol feature based on a hash algorithm to determine a target hash value corresponding to the target protocol feature.
[0012] Optionally, the method also includes: performing data comparison based on the target protocol data and the existing protocol data to determine the traffic status information corresponding to the 5G signaling traffic; processing the 5G signaling traffic based on the traffic status information to determine the deduplication result corresponding to the 5G signaling traffic.
[0013] Optionally, the method also includes: if the target protocol data is the same as any existing protocol data corresponding to the target protocol type, then determining that the traffic status information corresponding to the 5G signaling traffic is a traffic duplication state; if the target protocol data is different from any existing protocol data corresponding to the target protocol type, then determining that the traffic status information corresponding to the 5G signaling traffic is a traffic separate state.
[0014] Optionally, the method also includes: if the traffic status information is a traffic duplication state, deleting the 5G signaling traffic, and determining the deduplication result corresponding to the 5G signaling traffic as the traffic has been deleted; if the traffic status information is a traffic separate state, transmitting the 5G signaling traffic to the core service module to output a communication details list, and determining the deduplication result corresponding to the 5G signaling traffic as the traffic has been transmitted.
[0015] In a second aspect, an embodiment of the present invention further provides a 5G signaling traffic deduplication device, the device comprising:
[0016] A data packet acquisition module, used to acquire data packets in the 5G signaling traffic to be processed;
[0017] A target protocol feature identification module, used to perform protocol feature identification on the data packet and determine the target protocol feature corresponding to the data packet;
[0018] A target protocol data determination module, used to determine the target protocol data corresponding to the target protocol feature based on a preset feature transformation mode and the target protocol feature;
[0019] A deduplication result determination module is used to determine the deduplication result corresponding to the 5G signaling traffic based on the target protocol data and the existing protocol data.
[0020] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:
[0021] one or more processors;
[0022] A memory for storing one or more programs;
[0023] When the one or more programs are executed by the one or more processors, the one or more processors implement the 5G signaling traffic deduplication method provided in any embodiment of the present invention.
[0024] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a 5G signaling traffic deduplication method as provided in any embodiment of the present invention.
[0025] In a fifth aspect, an embodiment of the present invention provides a computer program product, including a computer program, which, when executed by a processor, implements a 5G signaling traffic deduplication method as provided in any embodiment of the present invention.
[0026] The technical solution of the embodiment of the present invention obtains data packets in the 5G signaling traffic to be processed; performs protocol feature identification on the data packets to determine the target protocol features corresponding to the data packets; determines the target protocol data corresponding to the target protocol features based on a preset feature transformation method and the target protocol features; and determines the deduplication results corresponding to the 5G signaling traffic based on the target protocol data and the existing protocol data. Based on the target protocol data and the existing protocol data, the 5G signaling traffic is accurately and conveniently tested for repeatability and the 5G signaling traffic is processed accordingly based on the test results, thereby obtaining accurate deduplication results and improving the deduplication efficiency of the 5G signaling traffic.
[0027] 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
[0028] 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.
[0029] Figure 1 This is a flow chart of a 5G signaling traffic deduplication method provided in Embodiment 1 of the present invention;
[0030] Figure 2 This is a flow chart of a 5G signaling traffic deduplication method provided in Embodiment 2 of the present invention;
[0031] Figure 3It is a structural schematic diagram of a 5G signaling traffic deduplication device provided in Embodiment 3 of the present invention;
[0032] Figure 4 It is a structural diagram of an electronic device that implements the 5G signaling traffic deduplication method of an embodiment of the present invention. DETAILED DESCRIPTION
[0033] 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.
[0034] 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.
[0035] Embodiment 1
[0036] Figure 1 A flowchart of a 5G signaling traffic deduplication method is provided for the first embodiment of the present invention. This embodiment is applicable to the case of repeatability detection of 5G signaling traffic. The method can be performed by a 5G signaling traffic deduplication device. The 5G signaling traffic deduplication device can be implemented in the form of hardware and / or software. The 5G signaling traffic deduplication device can be configured in an electronic device. Figure 1 As shown, the method includes:
[0037] S110. Obtain data packets in the 5G signaling traffic to be processed.
[0038] Among them, 5G signaling traffic may refer to the control plane signaling traffic in the core network of the 5G mobile network. The core network (CN) is an important part of the communication network, located in the center of the network, connecting different types of network nodes, such as base stations, data centers, servers, etc. Control plane signaling may refer to the information exchange method used to control and manage the communication process in the communication system. Control plane signaling may include: transmission control signaling, call establishment and release signaling, network management signaling, etc. A data packet may refer to a data unit in TCP / IP protocol communication transmission. A data packet can be understood as a message. A data packet may include: communication protocol, communication content, and address information of the sender and receiver.
[0039] Specifically, DPI obtains data packets in the 5G signaling traffic to be processed from the core network. DPI can be deployed in parallel with the actual communication network and access communication traffic, such as 5G signaling traffic, through equipment such as splitting, aggregation and shunting.
[0040] S120: Perform protocol feature recognition on the data packet to determine the target protocol feature corresponding to the data packet.
[0041] The target protocol feature may refer to all or part of the key information corresponding to the protocol in the data packet. For example, the target protocol feature may be used to characterize the transmission direction and the type of protocol used of the data packet.
[0042] Specifically, protocol feature recognition is performed on a data packet based on a pre-trained protocol feature recognition model, thereby determining a target protocol feature corresponding to the data packet based on an output of the model.
[0043] S130: Determine the target protocol data corresponding to the target protocol feature based on the preset feature transformation mode and the target protocol feature.
[0044] The preset feature conversion method may refer to a preset feature representation form conversion method. The target protocol data may refer to a target protocol feature represented in a data form.
[0045] Specifically, a hash algorithm is used to perform feature transformation on target protocol features to determine fixed-length data, namely, target protocol data.
[0046] On the basis of the above technical scheme, "determining the target protocol data corresponding to the target protocol feature based on a preset feature transformation method and the target protocol feature" may include: sorting each sub-feature in the target protocol feature based on a preset sorting method to determine the reference protocol feature corresponding to the data packet; performing feature transformation on the reference protocol feature based on a hash algorithm to determine the target hash value corresponding to the target protocol feature.
[0047] Among them, the preset sorting method may refer to a preset sub-feature arrangement order. The target protocol features composed of sub-features in different arrangement orders have different target hash values. Sub-features may refer to detailed features in a protocol. Sub-features may be used to form target protocol features. Reference protocol features may refer to protocol features arranged in a specific order. The target hash value may be understood as the target protocol data obtained by feature transformation using a hash algorithm.
[0048] Specifically, each sub-feature in the target protocol feature is sorted in reverse order to determine the reference protocol feature corresponding to the data packet, and the reference protocol feature is transformed based on the MD5 information digest algorithm to determine the target hash value corresponding to the target protocol feature.
[0049] S140. Determine the deduplication result corresponding to the 5G signaling traffic based on the target protocol data and the existing protocol data.
[0050] The existing protocol data may refer to the target protocol data generated by the non-repeated 5G signaling traffic according to the aforementioned steps. The deduplication result may be used to characterize the deduplication processing result of the 5G signaling traffic. The deduplication result may include: traffic has been deleted (i.e., traffic duplication has been deleted) and traffic has been transmitted (i.e., traffic has been transmitted without duplication).
[0051] Specifically, the target protocol data is compared with all existing protocol data. If the target protocol data is consistent with any existing protocol data, it indicates that the 5G signaling traffic is transmitted repeatedly. To avoid repeated transmission or generating XDR call records, the 5G signaling traffic can be deleted and the corresponding deduplication results can be generated. If the target protocol data is inconsistent with all existing protocol data, it indicates that the 5G signaling traffic is transmitted for the first time. The 5G signaling traffic can be transmitted, and the corresponding deduplication results can be generated, and the target protocol data can be stored and used as existing protocol data.
[0052] The technical solution of the embodiment of the present invention obtains data packets in the 5G signaling traffic to be processed; identifies the protocol features of the data packets to determine the target protocol features corresponding to the data packets; determines the target protocol data corresponding to the target protocol features based on the preset feature transformation method and the target protocol features; and determines the deduplication results corresponding to the 5G signaling traffic based on the target protocol data and the existing protocol data. Based on the target protocol data and the existing protocol data, only the key protocol information corresponding to the 5G signaling traffic is used to accurately and conveniently perform repeatability detection on the 5G signaling traffic and perform corresponding processing on the 5G signaling traffic based on the detection results, thereby obtaining accurate deduplication results, avoiding the use of the entire 5G signaling traffic for repeatability detection, and thus improving the deduplication efficiency of the 5G signaling traffic.
[0053] Embodiment 2
[0054] Figure 2 This is a flowchart of a 5G signaling traffic deduplication method provided in Embodiment 2 of the present invention. Based on the above embodiments, this embodiment describes in detail the process of determining the target protocol characteristics corresponding to the data packet. The explanations of the terms that are the same or corresponding to the above embodiments are not repeated here. Figure 2 As shown, the method includes:
[0055] S210. Obtain data packets in the 5G signaling traffic to be processed.
[0056] S220: Perform a preliminary analysis on the data packet to determine the target protocol type corresponding to the target protocol in the data packet.
[0057] The target protocol type may include, but is not limited to, Stream Control Transmission Protocol (SCTP), Packet Forwarding Control Protocol (PFCP), and an upgraded version of the General Packet Radio Service (GPRS) Tunneling Protocol (GTP v2). In the core network, the SCTP protocol is a transport layer protocol used in the 5G core network N2 interface, the PFCP protocol is an application layer protocol used in the 5G core network N4 interface, and the GTPv2 protocol is an application layer protocol used in the 5G core network N26 interface.
[0058] Specifically, DPI performs a preliminary analysis of the data packet to determine the target protocol type corresponding to the target protocol in the data packet. A data packet uses only one protocol.
[0059] S230: Perform protocol feature recognition on the data packet based on a feature recognition method corresponding to the target protocol type, and determine a target protocol feature corresponding to the data packet.
[0060] The feature recognition method may refer to a preset specific protocol feature recognition method corresponding to each target protocol type. For example, the number and specific content of sub-features recognized by different feature recognition methods are different.
[0061] Specifically, if the target protocol type is the SCTP protocol, the source IP and destination IP are identified from the IP layer, the source port, destination port, verification tag and checksum are identified from the transport layer SCTP (SCTP protocol header), and the transmission sequence number, stream identifier and sequence number are identified from the SCTP DATA, so as to use the identified sub-features to form the target protocol features.
[0062] If the target protocol type is the PFCP protocol, the source IP and destination IP are identified from the IP layer, the source port, destination port and checksum are identified from the transport layer UDP (PFCP protocol stack), and the version (Version), the type defining the message content (Message Type), the message length (Message Length) and the sequence number (Sequence Number) are identified from the application layer PFCP (PFCP protocol header), so as to use the identified sub-features to form the target protocol features.
[0063] If the target protocol type is the GTPv2 protocol, the source IP and destination IP are identified from the IP layer, the source port, destination port and checksum are identified from the transport layer UDP (GTPv2 protocol stack), and the version (Version), the type defining the message content (Message Type), the message length (Message Length) and the sequence number (Sequence Number) are identified from the application layer GTPv2 (GTPv2 protocol header), so as to use the identified sub-features to form the target protocol features.
[0064] S240: Determine the target protocol data corresponding to the target protocol feature based on the preset feature transformation mode and the target protocol feature.
[0065] S250. Determine the deduplication result corresponding to the 5G signaling traffic based on the target protocol data and the existing protocol data.
[0066] Based on the above technical solution, "determining the deduplication result corresponding to the 5G signaling traffic based on the target protocol data and the existing protocol data" may include: performing data comparison based on the target protocol data and the existing protocol data to determine the traffic status information corresponding to the 5G signaling traffic; processing the 5G signaling traffic based on the traffic status information to determine the deduplication result corresponding to the 5G signaling traffic.
[0067] Among them, the traffic status information can be used to characterize whether the currently transmitted 5G signaling traffic is repeated with the transmitted 5G signaling traffic.
[0068] Specifically, based on the aforementioned hash algorithm as an example, a data consistency comparison is performed based on the target hash value and the existing hash value, and the traffic status information corresponding to the 5G signaling traffic is determined based on the comparison result, so that the 5G signaling traffic can be processed accordingly according to the traffic status information, and the deduplication result corresponding to the 5G signaling traffic can be determined.
[0069] On the basis of the above technical solution, "determining the traffic status information corresponding to the 5G signaling traffic based on data comparison between the target protocol data and the existing protocol data" may include: if the target protocol data is the same as any existing protocol data corresponding to the target protocol type, then determining that the traffic status information corresponding to the 5G signaling traffic is a traffic duplication state; if the target protocol data is different from each existing protocol data corresponding to the target protocol type, then determining that the traffic status information corresponding to the 5G signaling traffic is a traffic separate state.
[0070] Among them, the advantage of this setting is that it can avoid comparing protocol data between different types of protocols, which may lead to inaccurate determination of traffic status information, and further improve the accuracy of 5G signaling traffic deduplication.
[0071] On the basis of the above technical solution, "processing the 5G signaling traffic based on the traffic status information and determining the deduplication result corresponding to the 5G signaling traffic" may include: if the traffic status information is a traffic duplication state, the 5G signaling traffic is deleted, and the deduplication result corresponding to the 5G signaling traffic is determined as the traffic has been deleted; if the traffic status information is a traffic separate state, the 5G signaling traffic is transmitted to the core service module to output the communication details list, and the deduplication result corresponding to the 5G signaling traffic is determined as the traffic has been transmitted.
[0072] The technical solution of the embodiment of the present invention determines the target protocol type corresponding to the target protocol in the data packet by performing preliminary analysis on the data packet; and performs protocol feature identification on the data packet based on the feature identification method corresponding to the target protocol type, so as to extract key protocol information, i.e., target protocol features, for different protocols, thereby further improving the accuracy of 5G signaling traffic deduplication.
[0073] The following is an embodiment of a 5G signaling traffic deduplication device provided in an embodiment of the present invention. The device and the 5G signaling traffic deduplication method in the above-mentioned embodiments belong to the same inventive concept. For details not described in detail in the embodiment of the 5G signaling traffic deduplication device, please refer to the embodiment of the above-mentioned 5G signaling traffic deduplication method.
[0074] Embodiment 3
[0075] Figure 3 This is a schematic diagram of the structure of a 5G signaling traffic deduplication device provided in Embodiment 3 of the present invention. Figure 3 As shown, the device includes: a data packet acquisition module 310, a target protocol feature identification module 320, a target protocol data determination module 330 and a deduplication result determination module 340.
[0076] Among them, the data packet acquisition module 310 is used to acquire data packets in the 5G signaling traffic to be processed; the target protocol feature identification module 320 is used to identify the protocol features of the data packets and determine the target protocol features corresponding to the data packets; the target protocol data determination module 330 is used to determine the target protocol data corresponding to the target protocol features based on the preset feature transformation method and the target protocol features; the deduplication result determination module 340 is used to determine the deduplication results corresponding to the 5G signaling traffic based on the target protocol data and the existing protocol data.
[0077] The technical solution of the embodiment of the present invention obtains data packets in the 5G signaling traffic to be processed; identifies the protocol features of the data packets to determine the target protocol features corresponding to the data packets; determines the target protocol data corresponding to the target protocol features based on the preset feature transformation method and the target protocol features; and determines the deduplication results corresponding to the 5G signaling traffic based on the target protocol data and the existing protocol data. Based on the target protocol data and the existing protocol data, the 5G signaling traffic is accurately and conveniently tested for repeatability and the 5G signaling traffic is processed accordingly based on the test results, thereby obtaining accurate deduplication results and improving the deduplication efficiency of the 5G signaling traffic.
[0078] Based on the above technical solution, the target protocol feature identification module 320 is specifically used to: perform preliminary analysis on the data packet to determine the target protocol type corresponding to the target protocol in the data packet; perform protocol feature identification on the data packet based on the feature identification method corresponding to the target protocol type to determine the target protocol feature corresponding to the data packet.
[0079] Based on the above technical solution, the target protocol data determination module 330 is specifically used to: sort each sub-feature in the target protocol feature based on a preset sorting method to determine the reference protocol feature corresponding to the data packet; perform feature transformation on the reference protocol feature based on a hash algorithm to determine the target hash value corresponding to the target protocol feature.
[0080] Based on the above technical solution, the deduplication result determination module 340 may include:
[0081] The traffic status information determination submodule is used to compare the target protocol data with the existing protocol data to determine the traffic status information corresponding to the 5G signaling traffic;
[0082] The deduplication result determination submodule is used to process the 5G signaling traffic based on the traffic status information and determine the deduplication result corresponding to the 5G signaling traffic.
[0083] Based on the above technical solution, the traffic status information determination submodule is specifically used for: if the target protocol data is the same as any existing protocol data corresponding to the target protocol type, then the traffic status information corresponding to the 5G signaling traffic is determined to be a traffic duplication state; if the target protocol data is different from each existing protocol data corresponding to the target protocol type, then the traffic status information corresponding to the 5G signaling traffic is determined to be a traffic separate state.
[0084] Based on the above technical solution, the deduplication result determination submodule is specifically used for: if the traffic status information is a traffic duplication state, the 5G signaling traffic is deleted, and the deduplication result corresponding to the 5G signaling traffic is determined as the traffic has been deleted; if the traffic status information is a traffic separate state, the 5G signaling traffic is transmitted to the core service module to output the communication details list, and the deduplication result corresponding to the 5G signaling traffic is determined as the traffic has been transmitted.
[0085] The 5G signaling traffic deduplication device provided in the embodiment of the present invention can execute the 5G signaling traffic deduplication method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the 5G signaling traffic deduplication method.
[0086] It is worth noting that in the above-mentioned embodiment of 5G signaling traffic deduplication, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0087] Embodiment 4
[0088] Figure 4 A schematic diagram of the structure of an electronic device 10 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 electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. 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 required herein.
[0089] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0090] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0091] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 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, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 performs the various methods and processes described above, such as a 5G signaling traffic deduplication method.
[0092] In some embodiments, the 5G signaling traffic deduplication method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the 5G signaling traffic deduplication method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the 5G signaling traffic deduplication method in any other appropriate manner (e.g., by means of firmware).
[0093] 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.
[0094] 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.
[0095] 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 conjunction 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.
[0096] 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).
[0097] 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.
[0098] 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.
[0099] An embodiment of the present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements the 5G signaling traffic deduplication method provided in any embodiment of the present application.
[0100] In the process of implementation, the computer program product can be written in one or more programming languages or a combination thereof to perform the computer program code of the present invention, and the programming language includes an object-oriented programming language, such as Java, Smalltalk, C++, and also includes a conventional procedural programming language, such as "C" language or similar programming language. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to connect through the Internet). The program product and the 5G signaling traffic deduplication method disclosed in each embodiment of the present application belong to the same inventive concept, so it is not repeated here.
[0101] 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.
[0102] 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 5G signaling traffic deduplication method, characterized in that: include: Get the data packets in the 5G signaling traffic to be processed; Performing protocol feature recognition on the data packet to determine a target protocol feature corresponding to the data packet; Based on the preset feature transformation mode and the target protocol feature, determining the target protocol data corresponding to the target protocol feature; Based on the target protocol data and the existing protocol data, determine the deduplication result corresponding to the 5G signaling traffic.
2. The method according to claim 1, characterized in that The performing protocol feature identification on the data packet to determine the target protocol feature corresponding to the data packet includes: Performing preliminary analysis on the data packet to determine the target protocol type corresponding to the target protocol in the data packet; The protocol feature of the data packet is identified based on the feature identification method corresponding to the target protocol type to determine the target protocol feature corresponding to the data packet.
3. The method according to claim 1, characterized in that The determining, based on the preset feature transformation mode and the target protocol feature, the target protocol data corresponding to the target protocol feature includes: Sort each sub-feature in the target protocol feature based on a preset sorting method to determine a reference protocol feature corresponding to the data packet; The reference protocol feature is transformed based on a hash algorithm to determine a target hash value corresponding to the target protocol feature.
4. The method according to claim 1, characterized in that: The determining, based on the target protocol data and the existing protocol data, a deduplication result corresponding to the 5G signaling traffic includes: Performing data comparison based on the target protocol data and the existing protocol data to determine the traffic state information corresponding to the 5G signaling traffic; The 5G signaling traffic is processed based on the traffic status information to determine a deduplication result corresponding to the 5G signaling traffic.
5. The method according to claim 4, characterized in that The comparing the target protocol data with the existing protocol data to determine the traffic state information corresponding to the 5G signaling traffic includes: If the target protocol data is the same as any existing protocol data corresponding to the target protocol type, determining that the traffic state information corresponding to the 5G signaling traffic is a traffic duplication state; If the target protocol data is different from the existing protocol data corresponding to the target protocol type, it is determined that the traffic status information corresponding to the 5G signaling traffic is a separate traffic status.
6. The method according to claim 4, characterized in that The processing of the 5G signaling traffic based on the traffic state information to determine a deduplication result corresponding to the 5G signaling traffic includes: If the traffic state information is a traffic duplication state, the 5G signaling traffic is deleted, and the deduplication result corresponding to the 5G signaling traffic is determined as traffic deleted; If the traffic status information is a separate traffic status, the 5G signaling traffic is transmitted to the core service module to output the communication details list, and the deduplication result corresponding to the 5G signaling traffic is determined as the traffic has been transmitted.
7. A 5G signaling traffic deduplication device, characterized in that: The device comprises: A data packet acquisition module, used to acquire data packets in the 5G signaling traffic to be processed; A target protocol feature identification module, used to perform protocol feature identification on the data packet and determine the target protocol feature corresponding to the data packet; A target protocol data determination module, used to determine the target protocol data corresponding to the target protocol feature based on a preset feature transformation mode and the target protocol feature; A deduplication result determination module is used to determine the deduplication result corresponding to the 5G signaling traffic based on the target protocol data and the existing protocol data.
8. An electronic device, characterized in that: The electronic device comprises: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the 5G signaling traffic deduplication method as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, it implements the 5G signaling traffic deduplication method as described in any one of claims 1-6.
10. A computer program product, comprising a computer program, characterized in that When executed by a processor, the computer program implements the 5G signaling traffic deduplication method as described in any one of claims 1-6.