CN112468371A - Method and equipment for determining transmission delay information of DPI equipment - Google Patents

Method and equipment for determining transmission delay information of DPI equipment Download PDF

Info

Publication number
CN112468371A
CN112468371A CN202011382041.3A CN202011382041A CN112468371A CN 112468371 A CN112468371 A CN 112468371A CN 202011382041 A CN202011382041 A CN 202011382041A CN 112468371 A CN112468371 A CN 112468371A
Authority
CN
China
Prior art keywords
transmission
data
time
information
dpi
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011382041.3A
Other languages
Chinese (zh)
Other versions
CN112468371B (en
Inventor
黄华桥
叶志钢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Greenet Information Service Co Ltd
Original Assignee
Wuhan Greenet Information Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Greenet Information Service Co Ltd filed Critical Wuhan Greenet Information Service Co Ltd
Priority to CN202011382041.3A priority Critical patent/CN112468371B/en
Publication of CN112468371A publication Critical patent/CN112468371A/en
Priority to PCT/CN2021/131450 priority patent/WO2022116851A1/en
Application granted granted Critical
Publication of CN112468371B publication Critical patent/CN112468371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • H04L43/0864Round trip delays

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a method and equipment for determining transmission delay information of DPI equipment, which comprises the following steps: acquiring transmission data information which is sent by the user equipment and forwarded by the DPI equipment and initial transmission time corresponding to the transmission data information; adjusting the forwarding delay information of the transmission data information in the network equipment; returning the transmission data information to the user equipment through the DPI equipment, and acquiring the transmission finishing time of the DPI equipment; and determining the transmission delay information of the DPI equipment according to the initial transmission time, the forwarding delay information and the end transmission time. The method and the device can clearly determine the time delay information corresponding to each link in the data transmission process, control in the data transmission process is more accurate, judgment on data transmission abnormity is more accurate, and reliability, abnormity processing efficiency and the like of the system in the data transmission process are improved.

Description

Method and equipment for determining transmission delay information of DPI equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for determining transmission delay information of a DPI device, a computer device, and a storage medium.
Background
Deep Packet Inspection (DPI) equipment can perform filtering control on detected traffic according to a predefined policy by detecting and analyzing the traffic and the message content at a key point of a network, and can complete functions such as fine service identification, traffic flow direction analysis, traffic flow proportion statistics, traffic proportion shaping, application layer denial of service attack, filtering of viruses and trojans, and control of misuse of P2P of a link where the DPI equipment is located. In the process of transmitting data through user equipment, DPI equipment, network equipment, DPI equipment and user equipment, if data output is abnormal in the process, each link needs to be checked in sequence.
Disclosure of Invention
The application provides a method, a device, a computer device and a storage medium for determining transmission delay information of DPI equipment, and the method, the device, the computer device and the storage medium can clearly determine the delay information corresponding to each link in a data transmission process, control in the data transmission process is more accurate, judgment on data transmission abnormity is more accurate, and reliability, abnormity processing efficiency and the like of a system in the data transmission process are improved.
According to an aspect of the present application, there is provided a method of determining transmission latency information of a DPI device, the method comprising:
acquiring transmission data information which is sent by the user equipment and forwarded by the DPI equipment and initial transmission time corresponding to the transmission data information;
adjusting the forwarding delay information of the transmission data information in the network equipment;
returning the transmission data information to the user equipment through the DPI equipment, and acquiring the transmission finishing time of the DPI equipment;
and determining the transmission delay information of the DPI equipment according to the initial transmission time, the forwarding delay information and the end transmission time.
According to an aspect of the present application, there is provided a network device for determining transmission delay information of a DPI device, wherein the network device is located in a network traffic system, the network traffic system further includes a user equipment and a DPI device, the user equipment communicates with the network device via the DPI device, and the network device includes:
an obtaining module, configured to obtain transmission data information and a corresponding initial transmission time, where the transmission data information is sent by the user equipment and forwarded by the DPI equipment;
the adjusting module is used for adjusting the forwarding delay information of the transmission data information in the network equipment;
a returning module, configured to return the transmission data information to the user equipment through the DPI, and acquire a transmission end time of the DPI;
and the determining module is used for determining the transmission delay information of the DPI equipment according to the initial transmission time, the forwarding delay information and the end transmission time.
According to an aspect of the present application, there is provided a device for determining transmission latency information of a DPI device, the computer device comprising:
one or more processors;
a memory; and
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to perform the operations of any of the methods described above.
According to an aspect of the application, there is also provided a computer readable storage medium having stored thereon a computer program, which is loaded by a processor to perform the operations of any of the methods described above.
According to the data transmission method and device, the transmission delay information of the DPI equipment in the data transmission process is determined through the initial transmission moment, the forwarding delay information and the end transmission moment of the transmission data, the delay information corresponding to each link in the data transmission process can be clearly determined, the control in the data transmission process is more accurate, the judgment on data transmission abnormity is more accurate, and the reliability, the abnormity processing efficiency and the like of the system in the data transmission process are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 illustrates a system topology diagram for determining transmission delay information of a DPI device according to an embodiment of the present application;
figure 2 illustrates a flowchart of an embodiment of a method for determining transmission delay information of a DPI device provided in an embodiment of the present application;
fig. 3 illustrates functional modules of a network device 100 provided in an embodiment of the present application;
FIG. 4 illustrates an exemplary system that can be used to implement the various embodiments described in this application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In this application, the word "exemplary" is used to mean "serving as an example, instance, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the invention. In the following description, details are set forth for the purpose of explanation. It will be apparent to one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well-known structures and processes are not shown in detail to avoid obscuring the description of the invention with unnecessary detail. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
It should be noted that, since the method in the embodiment of the present application is executed in the computing device, the processing objects of each computing device exist in the form of data or information, for example, time, which is substantially time information, it can be understood that, in the subsequent embodiments, if the size, the number, the position, and the like are mentioned, corresponding data exist, so that the electronic device performs processing, and details are not described herein.
In a typical configuration of the present application, a terminal or trusted party, etc. may include one or more processors (e.g., a Central Processing Unit (CPU), an input/output interface, a network interface, and a Memory.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, Phase-Change Memory (PCM), Programmable Random Access Memory (PRAM), Static Random-Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), electrically Erasable Programmable Read-Only Memory (EEPROM), flash Memory or other Memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
The device referred to in this application includes, but is not limited to, a user device, a network device, or a device formed by integrating a user device and a network device through a network. The user equipment includes, but is not limited to, any mobile electronic product, such as a smart phone, a tablet computer, etc., capable of performing human-computer interaction with a user (e.g., human-computer interaction through a touch panel), and the mobile electronic product may employ any operating system, such as an Android operating system, an iOS operating system, etc. The network Device includes an electronic Device capable of automatically performing numerical calculation and information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded Device, and the like. The network device includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud of a plurality of servers; here, the Cloud is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual supercomputer consisting of a collection of loosely coupled computers. Including, but not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless Ad Hoc network (Ad Hoc network), etc. Preferably, the device may also be a program running on the user device, the network device, or a device formed by integrating the user device and the network device, the touch terminal, or the network device and the touch terminal through a network.
Of course, those skilled in the art will appreciate that the foregoing is by way of example only, and that other existing or future devices, which may be suitable for use in the present application, are also encompassed within the scope of the present application and are hereby incorporated by reference.
The application shows a method for determining transmission delay information of a DPI device, which is applied to a network service system, wherein the network service system generally comprises user equipment, the DPI device and network equipment, and the network service system is completed by matching three terminals. As a non-exemplary scenario, fig. 1 shows a typical scenario of the present application, where transmission data of one or more user equipments is sent to a network device through a DPI device, and the network device forwards the transmission data to the user equipment through the DPI device, and the like, where the DPI device is mainly configured to perform filtering control on the transmission data according to a predefined policy, and perform functions of fine traffic identification, traffic flow direction analysis, traffic flow proportion statistics, traffic proportion shaping, application layer denial of service attack, filtering viruses or trojans, and abusing control of P2P on the links where the DPI device is located. In other words, the DPI device collects and identifies traffic on the link and distributes traffic or analysis statistics to the network devices that meet the needs of other systems. The data processing of the DPI device may cause transmission delay to data transmission, if the corresponding transmission delay information is within an allowable delay interval, the data processing of the current DPI device is relatively normal, and if the transmission delay information is outside the allowable delay interval, the data processing function of the current DPI device may be abnormal. The method and the device determine whether the data transmission process is abnormal or not by determining the transmission delay information of the DPI equipment.
In this embodiment, the network device may be an independent server, or may be a server network or a server cluster composed of servers, for example, the computer device described in this embodiment includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a cloud server composed of a plurality of servers. Among them, the Cloud server is constituted by a large number of computers or web servers based on Cloud Computing (Cloud Computing).
Those skilled in the art can understand that the application environment shown in fig. 1 is only one application scenario of the present application, and does not constitute a limitation on the application scenario of the present application, and as a person skilled in the art knows that as a network service scenario evolves and a new network service scenario appears, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
Referring to the system topology shown in fig. 1, fig. 2 shows a method for determining transmission delay information of a DPI device according to an aspect of the present application, which is applied to a network device located in a network service system, where the network service system further includes a user equipment and a DPI device, and the user equipment communicates with the network device via the DPI device, and the method includes step S101, step S102, step S103, and step S104. In step S101, a network device acquires transmission data information sent by the user equipment and forwarded by the DPI device and an initial transmission time corresponding to the transmission data information; in step S102, the network device adjusts forwarding delay information of the transmission data information in the network device; in step S103, the network device returns the transmission data information to the user equipment through the DPI device, and acquires a transmission end time of the DPI device; in step S104, the network device determines transmission delay information of the DPI device according to the initial transmission time, the forwarding delay information, and the end transmission time.
Specifically, in step S101, the network device acquires the transmission data information transmitted by the user equipment and forwarded by the DPI device, and the initial transmission time corresponding to the transmission data information. For example, an application (such as a third-party application, an applet, or a plug-in) corresponding to a network device is installed in a user equipment, the user equipment sends corresponding transmission data to the network device through the application, and the transmission data is sent to a DPI device for data processing, and is sent to the network device after being detected by the DPI device. When the user equipment sends the transmission data, the user equipment also sends the initial transmission time of the transmission data to the network equipment at the same time, in some cases, the initial transmission time comprises the time of starting transmission when the first byte of the transmission data is read at the user equipment side, and in other cases, the initial transmission time comprises the initial transmission time when the last byte of the transmission data is read at the user equipment side and is ready to be sent. For convenience of calculation, the following embodiments are described by taking the time when the last byte of the transmission data is read and ready to be sent as the corresponding start transmission time as an example, and it should be understood by those skilled in the art that the case where the time when the first byte of the transmission data is read at the ue side starts transmission is taken as the corresponding start transmission time is also applicable to the following embodiments, and shall be included in the scope of the present application.
In step S102, the network device adjusts forwarding delay information of the transmission data information at the network device. For example, the forwarding delay information is used to indicate the forwarding duration of the transmission data information in the network device, and the like, for example, if the starting time at which the network device starts to receive the transmission data information is counted until the corresponding network device finishes forwarding the transmission data information, the forwarding duration obtained by the counting is the corresponding forwarding delay information. The forwarding delay information may be obtained by the network device side according to a random number, or obtained by setting operation of a manager. In general, the forwarding delay information is smaller than a corresponding forwarding time threshold, and the like, where the forwarding time threshold is used to indicate a time corresponding to the abnormal data transmission of the user equipment, and if the user equipment does not receive the corresponding forwarded data information and the like within the forwarding time threshold after sending the corresponding data transmission information, the user equipment determines that the current data transmission process is abnormal and the like.
In step S103, the network device returns the transmission data information to the user equipment via the DPI device, and acquires the transmission end time of the DPI device. For example, the network device returns the corresponding transmission data information to the user device via the DPI device, and the user device records an end transmission time of the transmission data, corresponding to the start transmission time, in some cases, the end transmission time includes a time corresponding to the transmission data information being completely received by the user device, and in other cases, the end transmission time includes a time corresponding to the transmission data information being started to be received by the user device. For convenience of calculation, the following embodiments are described by taking the time corresponding to the start of receiving the transmission data information by the ue as the corresponding transmission ending time, and those skilled in the art should understand that the case of taking the time corresponding to the complete receiving of the transmission data information by the ue as the corresponding transmission ending time is also applicable to the following embodiments and shall be included in the scope of the present application.
In step S104, the network device determines transmission delay information of the DPI device according to the initial transmission time, the forwarding delay information, and the end transmission time. For example, after the network device acquires the corresponding initial transmission time, the forwarding delay information and the corresponding end transmission time, the transmission delay information of the DPI device may be calculated according to the corresponding information, where, considering that the duration of data in the transmission process in the link is smaller than the processing duration of the DPI device, we ignore the transmission duration in the link process, and use the time difference calculated in the whole process except the network device forwarding delay as the transmission delay information of the DPI device. For example, assuming that the starting transmission time is T1, the ending transmission time is T2, and the forwarding delay information is T1, the corresponding transmission delay information is T2 ═ T2-T1) -T1, that is, the transmission delay information of the DPI device is obtained by subtracting the forwarding delay information at the network device end from the whole duration in the transmission process.
In some embodiments, in step S102, the network device records a receiving transmission time corresponding to receiving the transmission data information, and determines a forwarding transmission time corresponding to the transmission data information according to the receiving transmission time and corresponding forwarding delay information; wherein, in step S103, the method includes: and returning the transmission data information to the user equipment through the DPI equipment at the forwarding transmission moment. For example, the receiving transmission time includes a time when the network device starts receiving the transmission data, and the forwarding transmission time includes a time when the network device finishes forwarding the transmission data, in some cases, the data size of the transmission data is small, the corresponding transmission rate is fast, the time length of reading or forwarding the transmission data information is far shorter than the forwarding delay information, the time consumed by reading the data when the transmission data information is received or forwarded can be ignored, and the corresponding forwarding transmission time can be directly calculated. If the receiving transmission time is assumed to be T3, the corresponding forwarding transmission time T4 is T3+ T1, in other words, the forwarding transmission time is added to the corresponding forwarding delay information to obtain the corresponding forwarding transmission time. And after the network device calculates the corresponding forwarding transmission time, controlling the stay time of the transmission data information in the network device, and returning the transmission data information to the user equipment through the DPI device when the time reaches the corresponding forwarding transmission time T4. The method and the device can flexibly control the forwarding delay information of the network equipment to the transmission data information so as to more accurately determine the delay information of each link, and are favorable for the stability, the efficiency and the like of the operation of a network service system.
In some embodiments, the data volume of the data is large, the data frame is long, and the corresponding data transmission rate is slow, so that the corresponding data transmission duration may affect the calculation of the time delay, and we need to calculate more accurate time delay information after excluding the data transmission duration. In step S102, the network device obtains a data transmission duration of the transmission data information; determining data staying time corresponding to the transmission data information according to the data transmission time and the forwarding time delay information; and determining corresponding forwarding transmission time according to the receiving transmission time, the data transmission time and the data staying time. For example, when the data transmission duration of the transmission data is not intentionally ignored or the like with respect to the forwarding delay information, for example, the data transmission duration of the transmission data is greater than or equal to a ignoring threshold (for example, one-twentieth or the like) of the forwarding delay information, the network device acquires the data transmission duration of the transmission data information, for example, the network device may receive the data transmission duration of the transmission data information sent by the corresponding user equipment or DPI device, and for example, the network device may calculate the data transmission duration of the transmission data information according to the transmission rate and the data frame length of the transmission data information, for example, in some embodiments, the acquiring the data transmission duration of the transmission data information includes: and acquiring the length of a data frame of the transmission data information and a corresponding transmission rate, and determining the data transmission duration of the transmission data information according to the length of the data frame and the transmission rate. For example, the network device may obtain the data transmission duration of the transmission data information by dividing the length of the data frame by the corresponding transmission rate, and after obtaining the data transmission duration, the network device determines the corresponding data retention duration by receiving the transmission time, the forwarding delay information, and the like, and determines the corresponding forwarding transmission time based on the data retention duration, and the like. Here, the forwarding transmission time includes a time when the first byte of the transmission data information starts to be received by the network device, the forwarding transmission time includes a time when the first byte of the transmission data information is forwarded by the network device, and assuming that the corresponding data transmission duration is t0, the data staying duration t3 of the corresponding transmission data information at the network device is t1-2 t 0; subsequently, the corresponding forwarding transmission time T4-T3 + T0+ T3, and the end forwarding time T5-T4 + T0-T3 + T1 of the network device ending forwarding data can be determined according to the forwarding transmission time and the data transmission duration.
In some embodiments, more accurate transmission delay information may be determined according to the data transmission duration, for example, in step S104, the network device determines the transmission delay information of the DPI device according to the starting transmission time, the forwarding delay information, the ending transmission time, and the data transmission duration. For example, a plurality of data transmission durations in the transmission flow are removed, and transmission delay information of the DPI device can be determined more accurately, if the transmission data information passes through the DPI device twice in the transmission flow, time corresponding to four data transmission durations needs to be subtracted on the basis, in other words, transmission delay information T2' ═ T2-T1) -T1-4 × T0 of the DPI device is used to characterize the duration of processing the transmission data information by the DPI device. Certainly, in some cases, if an abnormal situation of data in the transmission process of each link needs to be eliminated, delay information of each link needs to be calculated, except for the transmission delay of the DPI device end, delay information corresponding to a user device, a DPI device, a network device, and a transmission link between the DPI device and the network device, and the like, and the transmission delay information in the link is collectively referred to as other delay information. As in some embodiments, the method further includes step S105 (not shown), in step S105, the network device acquires a data receiving time and a data sending time corresponding to the DPI device; in step S104, determining transmission delay information and other delay information of the DPI device according to the initial transmission time, the forwarding delay information, the end transmission time, the data transmission duration, the data receiving time, and the data sending time, where the other delay information includes delay information of the transmission data in other transmission processes except the DPI device and the network device. For example, the DPI device records a corresponding data receiving time and a corresponding data sending time, where the corresponding data receiving time includes a time when the DPI device starts to receive transmission data information, for example, a time when the DPI device starts to receive a first byte of the transmission data information, and times when the DPI device starts to receive data from the user equipment end or the network device end are T6, respectively; the data sending time includes a time corresponding to the DPI device that finishes sending the transmission data information, for example, the DPI device finishes sending the last byte of the transmission data information, and the time corresponding to sending the data to the network device or the user equipment is T7 respectively. Here, the reception data time and the transmission data time are times when data passes through the DPI on the same side, and the like. The transmission delay information T2 ═ T7-T6-2 × T0 corresponding to the DPI device, and the other delay information T4 ═ T2-T1) -T1-2 × T2 corresponding to the DPI device. The method and the device can more accurately determine the time delay information in each process in the information transmission process, thereby achieving the accurate control of the information transmission process in the network service system, and being capable of quickly positioning and processing the data transmission abnormity.
In some embodiments, the method further comprises step S106 (not shown). In step S106, the network device verifies the reliability of the delay exception handling of the user equipment based on the forwarding delay information. For example, the user equipment sets a forwarding duration threshold corresponding to data transmission abnormality, and the like, and if the total forwarding duration of the transmitted data information exceeds the forwarding duration threshold T0, that is, T2-T1 > T0, the user equipment determines that the transmission process of the currently transmitted data information is abnormal, and packet loss or data interception may occur, and the like, the user equipment sends the transmitted data information to the network equipment again or sends an abnormality prompt message to the network equipment to prompt that the network equipment has abnormality in the data transmission at this time. The normal interval of the forwarding delay information of the network equipment end can be calculated through the forwarding time length threshold and the transmission delay information, for example, the normal interval is less than or equal to T0-T2, and if the forwarding delay information of the network equipment is set to be greater than or equal to T0-T2, whether the delay abnormity processing function of the user equipment is reliable can be verified. If the forwarding delay information is set to T0, if the network device receives the transmission data information retransmitted by the user equipment or receives the exception prompt information transmitted by the user equipment within a certain time, the network device determines that the delay exception handling function of the user equipment is normal; if the network device does not receive the transmission data information retransmitted by the user device within a certain period of time and receives the abnormal prompt information transmitted by the user device, the network device determines that the time delay abnormal processing function of the user device is abnormal, transmits the prompt information corresponding to the time delay abnormal processing function abnormality to the user device, and prompts a user corresponding to the user device to reduce criminal overhaul of the corresponding function of the user device, and the like.
The foregoing describes embodiments of a method for determining transmission delay information of a DPI device, mainly from the perspective of a network device, and further provides a network device capable of implementing the embodiments, which is described below with reference to fig. 3.
Fig. 3 illustrates a network device 100 for determining transmission delay information of a DPI device according to an aspect of the present application, the network device being located in a network service system, the network service system further including a user device and a DPI device, the user device communicating with the network device via the DPI device, and the network device including an obtaining module 101, an adjusting module 102, a returning module 103, and a determining module 104. An obtaining module 101, configured to obtain transmission data information that is sent by the user equipment and forwarded by the DPI device, and an initial transmission time corresponding to the transmission data information; an adjusting module 102, configured to adjust forwarding delay information of the transmission data information in the network device; a returning module 103, configured to return the transmission data information to the user equipment through the DPI device, and acquire a transmission end time of the DPI device; a determining module 104, configured to determine transmission delay information of the DPI device according to the starting transmission time, the forwarding delay information, and the ending transmission time. In some embodiments, the adjusting module 102 is configured to record a receiving transmission time corresponding to receiving the transmission data information, and determine a forwarding transmission time corresponding to the transmission data information according to the receiving transmission time and corresponding forwarding delay information; and the returning module 103 is configured to return the transmission data information to the user equipment via the DPI equipment at the forwarding transmission time. In some embodiments, the adjusting module 102 is configured to obtain a data transmission duration of the transmission data information; determining data staying time corresponding to the transmission data information according to the data transmission time and the forwarding time delay information; and determining corresponding forwarding transmission time according to the receiving transmission time, the data transmission time and the data staying time. As in some embodiments, the obtaining the data transmission duration of the transmission data information includes: and acquiring the length of a data frame of the transmission data information and a corresponding transmission rate, and determining the data transmission duration of the transmission data information according to the length of the data frame and the transmission rate. In some embodiments, the determining module 104 is configured to determine the transmission delay information of the DPI device according to the starting transmission time, the forwarding delay information, the ending transmission time, and the data transmission duration. Here, the specific implementation of the obtaining module 101, the adjusting module 102, the returning module 103, and the determining module 104 shown in fig. 3 is the same as or similar to the embodiment of the step S101, the step S102, the step S103, and the step S104 shown in fig. 2, and therefore, the detailed description is omitted here and is included herein by way of reference.
In some embodiments, the network device further includes a fifth module (not shown) configured to obtain a data receiving time and a data sending time corresponding to the DPI device; the determining module 104 is configured to determine transmission delay information and other delay information of the DPI device according to the initial transmission time, the forwarding delay information, the end transmission time, the data transmission duration, the data receiving time, and the data sending time, where the other delay information includes delay information of the transmission data in other transmission processes except the DPI device and the network device. In some embodiments, the network device further includes a sixth module (not shown) for verifying reliability of the latency exception handling of the user equipment based on the forwarding latency information. Here, the specific implementation of the fifth module and the sixth module is the same as or similar to the embodiment of the step S105 and the step S106, and thus is not repeated here, and is included herein by way of reference.
In addition to the methods and apparatus described in the embodiments above, the present application also provides a computer-readable storage medium storing computer code that, when executed, performs the method described in any of the preceding claims.
The present application also provides a computer program product, which when executed by a computer device, performs the method of any of the preceding claims.
The present application further provides a computer device, comprising:
one or more processors;
a memory for storing one or more computer programs;
the one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding claim.
FIG. 4 illustrates an exemplary system that can be used to implement the various embodiments described herein;
in some embodiments, as illustrated in figure 4, system 400 can be implemented as any of the described embodiments to determine transmission delay information for DPI devices. In some embodiments, system 400 may include one or more computer-readable media (e.g., system Memory or non-volatile storage (VNM/storage device) 420) having instructions and one or more processors (e.g., processor(s) 405) coupled with the one or more computer-readable media and configured to execute the instructions to implement modules to perform the actions described herein.
For one embodiment, system control module 410 may include any suitable interface controllers to provide any suitable interface to at least one of the processor(s) 405 and/or any suitable device or component in communication with system control module 410.
The system control module 410 may include a memory controller module 430 to provide an interface to the system memory 415. The memory controller module 430 may be a hardware module, a software module, and/or a firmware module.
System memory 415 may be used, for example, to load and store data and/or instructions for system 400. For one embodiment, system memory 415 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, system memory 415 may include a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
For one embodiment, system control module 410 may include one or more input/output (I/O) controllers to provide an interface to NVM/storage 420 and communication interface(s) 425.
For example, NVM/storage 420 may be used to store data and/or instructions. NVM/storage 420 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more Hard Disk Drive(s) (HDD (s)), one or more Compact Disc (CD) Drive(s), and/or one or more Digital Versatile Disc (DVD) Drive (s)).
NVM/storage 420 may include storage resources that are physically part of the device on which system 400 is installed or may be accessed by the device and not necessarily part of the device. For example, NVM/storage 420 may be accessed over a network via communication interface(s) 425.
Communication interface(s) 425 may provide an interface for system 400 to communicate over one or more networks and/or with any other suitable device. System 400 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols.
For one embodiment, at least one of the processor(s) 405 may be packaged together with logic for one or more controller(s) of the system control module 410, such as memory controller module 430. For one embodiment, at least one of the processor(s) 405 may be packaged together with logic for one or more controller(s) of the System control module 410 to form a System in a Package (SiP). For one embodiment, at least one of the processor(s) 405 may be integrated on the same die with logic for one or more controller(s) of the system control module 410. For one embodiment, at least one of the processor(s) 405 may be integrated on the same die with logic for one or more controller(s) of the System control module 410 to form a System on Chip (SoC).
In various embodiments, system 400 may be, but is not limited to being: a server, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.). In various embodiments, system 400 may have more or fewer components and/or different architectures. For example, in some embodiments, system 400 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen Display), a non-volatile memory port, a plurality of antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and a speaker.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Those skilled in the art will appreciate that the form in which the computer program instructions reside on a computer-readable medium includes, but is not limited to, source files, executable files, installation package files, and the like, and that the manner in which the computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Computer-readable media herein can be any available computer-readable storage media or communication media that can be accessed by a computer.
Communication media includes media by which communication signals, including, for example, computer readable instructions, data structures, program modules, or other data, are transmitted from one system to another. Communication media may include conductive transmission media such as cables and wires (e.g., fiber optics, coaxial, etc.) and wireless (non-conductive transmission) media capable of propagating energy waves such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied in a modulated data signal, for example, in a wireless medium such as a carrier wave or similar mechanism such as is embodied as part of spread spectrum techniques. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. The modulation may be analog, digital or hybrid modulation techniques.
By way of example, and not limitation, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory such as random access memory (RAM, DRAM, SRAM); and nonvolatile memories such as flash memories, various read only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic (MRAM)/Ferroelectric memories ferro electric RAM, FeRAM); and magnetic and optical storage devices (hard disk, tape, CD, DVD); or other now known media or later developed that can store computer-readable information/data for use by a computer system.
An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware.
The method, the apparatus, the computer device, and the storage medium for determining transmission delay information of a DPI device provided in the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present invention, and the description of the embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for determining transmission delay information of a DPI device, wherein the method is applied to a network device, the network device is located in a network service system, the network service system further includes a user device and a DPI device, the user device communicates with the network device via the DPI device, and the method includes:
acquiring transmission data information which is sent by the user equipment and forwarded by the DPI equipment and initial transmission time corresponding to the transmission data information;
adjusting the forwarding delay information of the transmission data information in the network equipment;
returning the transmission data information to the user equipment through the DPI equipment, and acquiring the transmission finishing time of the DPI equipment;
and determining the transmission delay information of the DPI equipment according to the initial transmission time, the forwarding delay information and the end transmission time.
2. The method of claim 1, wherein the adjusting forwarding delay information of the transmission data information at the network device comprises:
recording the receiving and transmitting time corresponding to the received transmission data information, and determining the forwarding and transmitting time corresponding to the transmission data information according to the receiving and transmitting time and the corresponding forwarding time delay information;
wherein the returning the transmission data information to the user equipment via the DPI device comprises:
and returning the transmission data information to the user equipment through the DPI equipment at the forwarding transmission moment.
3. The method of claim 2, wherein the determining the forwarding transmission time corresponding to the transmission data information according to the receiving transmission time and the corresponding forwarding delay information comprises:
acquiring the data transmission duration of the transmission data information;
determining data staying time corresponding to the transmission data information according to the data transmission time and the forwarding time delay information;
and determining corresponding forwarding transmission time according to the receiving transmission time, the data transmission time and the data staying time.
4. The method according to claim 3, wherein the obtaining the data transmission duration of the transmission data information comprises:
and acquiring the length of a data frame of the transmission data information and a corresponding transmission rate, and determining the data transmission duration of the transmission data information according to the length of the data frame and the transmission rate.
5. The method of claim 3 or 4, wherein determining the transmission delay information for the DPI device based on the starting transmission time, the forwarding delay information, and the ending transmission time comprises:
and determining the transmission delay information of the DPI equipment according to the initial transmission time, the forwarding delay information, the end transmission time and the data transmission duration.
6. The method of claim 5, further comprising:
acquiring data receiving time and data sending time corresponding to the DPI equipment;
wherein, the determining the transmission delay information of the DPI device according to the starting transmission time, the forwarding delay information, the ending transmission time, and the data transmission duration includes:
and determining transmission delay information and other delay information of the DPI equipment according to the initial transmission time, the forwarding delay information, the end transmission time, the data transmission duration, the data receiving time and the data sending time, wherein the other delay information comprises delay information of the transmission data in other transmission processes except the DPI equipment and the network equipment.
7. The method of claim 1, wherein the forwarding delay information is greater than or equal to abnormal delay information of the UE; wherein the method further comprises:
and verifying the reliability of the time delay exception processing of the user equipment based on the forwarding time delay information.
8. A network device for determining transmission delay information of a DPI device, wherein the network device is located in a network service system, the network service system further includes a user equipment and a DPI device, the user equipment communicates with the network device via the DPI device, and the network device includes:
an obtaining module, configured to obtain transmission data information and a corresponding initial transmission time, where the transmission data information is sent by the user equipment and forwarded by the DPI equipment;
the adjusting module is used for adjusting the forwarding delay information of the transmission data information in the network equipment;
a returning module, configured to return the transmission data information to the user equipment through the DPI, and acquire a transmission end time of the DPI;
and the determining module is used for determining the transmission delay information of the DPI equipment according to the initial transmission time, the forwarding delay information and the end transmission time.
9. An apparatus for determining transmission delay information for a DPI device, the apparatus comprising:
one or more processors;
a memory; and
one or more application programs, wherein the one or more application programs are stored in the memory and configured to perform operations of the method of any of claims 1-7 by the processor.
10. A computer-readable storage medium, having stored thereon a computer program which is loaded by a processor to perform operations of the method according to any one of claims 1 to 7.
CN202011382041.3A 2020-12-01 2020-12-01 Method and equipment for determining transmission delay information of DPI equipment Active CN112468371B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011382041.3A CN112468371B (en) 2020-12-01 2020-12-01 Method and equipment for determining transmission delay information of DPI equipment
PCT/CN2021/131450 WO2022116851A1 (en) 2020-12-01 2021-11-18 Method and device for determining transmission delay information of dpi device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011382041.3A CN112468371B (en) 2020-12-01 2020-12-01 Method and equipment for determining transmission delay information of DPI equipment

Publications (2)

Publication Number Publication Date
CN112468371A true CN112468371A (en) 2021-03-09
CN112468371B CN112468371B (en) 2022-06-10

Family

ID=74806043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011382041.3A Active CN112468371B (en) 2020-12-01 2020-12-01 Method and equipment for determining transmission delay information of DPI equipment

Country Status (2)

Country Link
CN (1) CN112468371B (en)
WO (1) WO2022116851A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113099477A (en) * 2021-03-24 2021-07-09 Oppo广东移动通信有限公司 Time delay information processing method and related device
WO2022116851A1 (en) * 2020-12-01 2022-06-09 武汉绿色网络信息服务有限责任公司 Method and device for determining transmission delay information of dpi device
WO2023231864A1 (en) * 2022-05-28 2023-12-07 华为技术有限公司 Timeliness guarantee method, apparatus and system
CN117560679A (en) * 2023-11-15 2024-02-13 北京讯腾智慧科技股份有限公司 Interference monitoring device of big dipper basic station

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120106338A1 (en) * 2010-10-28 2012-05-03 Gergely Pongracz Dynamic control of air interface throughput
WO2017042689A1 (en) * 2015-09-11 2017-03-16 Telefonaktiebolaget Lm Ericsson (Publ) Method and system for delay measurement of a traffic flow in a software-defined networking (sdn) system
US20170214610A1 (en) * 2016-01-25 2017-07-27 Fujitsu Limited Packet relaying method and non-transitory computer-readable recording medium
CN107992416A (en) * 2017-11-28 2018-05-04 中国联合网络通信集团有限公司 A kind of definite method and device of webpage time delay
CN108737207A (en) * 2017-04-25 2018-11-02 华为技术有限公司 Propagation delay time detection method, equipment and system
CN110224895A (en) * 2019-06-21 2019-09-10 武汉绿色网络信息服务有限责任公司 A kind of VoLTE user's registration signaling delay analysis method and device
CN110351164A (en) * 2019-07-17 2019-10-18 深圳华锐金融技术股份有限公司 Time delay measure, device, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10594423B1 (en) * 2019-09-09 2020-03-17 Cisco Technology, Inc. Re-timing a packetized radio flow to clean noise induced by packet delay variation of a packet network
CN110492967B (en) * 2019-09-24 2021-11-02 瑞斯康达科技发展股份有限公司 Time synchronization method, relay equipment and device
CN112468371B (en) * 2020-12-01 2022-06-10 武汉绿色网络信息服务有限责任公司 Method and equipment for determining transmission delay information of DPI equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120106338A1 (en) * 2010-10-28 2012-05-03 Gergely Pongracz Dynamic control of air interface throughput
WO2017042689A1 (en) * 2015-09-11 2017-03-16 Telefonaktiebolaget Lm Ericsson (Publ) Method and system for delay measurement of a traffic flow in a software-defined networking (sdn) system
US20170214610A1 (en) * 2016-01-25 2017-07-27 Fujitsu Limited Packet relaying method and non-transitory computer-readable recording medium
CN108737207A (en) * 2017-04-25 2018-11-02 华为技术有限公司 Propagation delay time detection method, equipment and system
CN107992416A (en) * 2017-11-28 2018-05-04 中国联合网络通信集团有限公司 A kind of definite method and device of webpage time delay
CN110224895A (en) * 2019-06-21 2019-09-10 武汉绿色网络信息服务有限责任公司 A kind of VoLTE user's registration signaling delay analysis method and device
CN110351164A (en) * 2019-07-17 2019-10-18 深圳华锐金融技术股份有限公司 Time delay measure, device, computer equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022116851A1 (en) * 2020-12-01 2022-06-09 武汉绿色网络信息服务有限责任公司 Method and device for determining transmission delay information of dpi device
CN113099477A (en) * 2021-03-24 2021-07-09 Oppo广东移动通信有限公司 Time delay information processing method and related device
WO2023231864A1 (en) * 2022-05-28 2023-12-07 华为技术有限公司 Timeliness guarantee method, apparatus and system
CN117560679A (en) * 2023-11-15 2024-02-13 北京讯腾智慧科技股份有限公司 Interference monitoring device of big dipper basic station

Also Published As

Publication number Publication date
WO2022116851A1 (en) 2022-06-09
CN112468371B (en) 2022-06-10

Similar Documents

Publication Publication Date Title
CN112468371B (en) Method and equipment for determining transmission delay information of DPI equipment
CN107332700B (en) Method and equipment for configuring wireless routing equipment
CN112615929B (en) Method and equipment for pushing messages
US20200133985A1 (en) Method and device for recommending social user
JP7150003B2 (en) Information indication method, terminal and computer storage medium
CN108430063B (en) Method and equipment for monitoring ARP spoofing in wireless local area network
CN112311876B (en) Method and device for determining back-end device of current session through load balancing device
CN108769086B (en) Method and equipment for detecting man-in-the-middle attack through user equipment
CN112104663B (en) Method and equipment for managing login user and user equipment
CN111182050B (en) Method and equipment for realizing communication between application and server
CN112350859A (en) Method, device, equipment and storage medium for managing network function entity
US11411887B2 (en) Method and device for performing traffic control on user equipment
CN112650514A (en) Patch updating method, device, equipment and storage medium of alliance chain
CN112291095B (en) Unidirectional physical isolation data transmission method and equipment
CN109890027B (en) Method and apparatus for determining security risk information of target wireless access point
CN109495330B (en) Method and device for realizing UDP interception test
CN111181864B (en) Method and apparatus for determining link congestion status from an application to a server
CN109246034B (en) Method and equipment for allocating flow resources for mobile equipment
CN110460642B (en) Method and device for managing reading mode
CN116156449B (en) Method, device, medium and program product for transmitting data information
CN108696918B (en) Method, apparatus and medium for establishing wireless connection
CN113179554B (en) Method, device, medium and program product for acquiring information in a second terminal
CN110780887B (en) Method and equipment for providing application installation package
CN110784596A (en) Method and equipment for processing event information
CN109981644B (en) Method and equipment for sending target message

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant