WO2018132966A1 - Procédé, dispositif, centre de données et système de détection de latence de vieillissement - Google Patents
Procédé, dispositif, centre de données et système de détection de latence de vieillissement Download PDFInfo
- Publication number
- WO2018132966A1 WO2018132966A1 PCT/CN2017/071518 CN2017071518W WO2018132966A1 WO 2018132966 A1 WO2018132966 A1 WO 2018132966A1 CN 2017071518 W CN2017071518 W CN 2017071518W WO 2018132966 A1 WO2018132966 A1 WO 2018132966A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- tcp
- aging delay
- delay value
- result
- detection period
- Prior art date
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 397
- 230000032683 aging Effects 0.000 title claims abstract description 361
- 238000000034 method Methods 0.000 claims abstract description 74
- 230000005540 biological transmission Effects 0.000 claims abstract description 20
- 239000000523 sample Substances 0.000 claims description 66
- 238000012545 processing Methods 0.000 claims description 30
- 238000012360 testing method Methods 0.000 description 18
- 238000013461 design Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 17
- 230000003993 interaction Effects 0.000 description 16
- 230000008569 process Effects 0.000 description 14
- 238000004891 communication Methods 0.000 description 12
- 230000004044 response Effects 0.000 description 12
- 238000007726 management method Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000003044 adaptive effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013523 data management Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000001934 delay Effects 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 238000007619 statistical method Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 230000001149 cognitive effect Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000013439 planning Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Definitions
- Embodiments of the present invention relate to the field of communications and, more particularly, to methods, apparatus, data centers, and systems for detecting aging delays.
- TCP Transmission Control Protocol
- the ISP deploys a firewall to respond to external attacks.
- the aging timer of the Transmission Control Protocol (TCP) is configured on the firewall to periodically (TCP aging delay) clean up the aging TCP session. Entry.
- TCP is a connection-based protocol, that is, a reliable connection must be established with the other party before the data is officially sent and received, for example, a TCP connection between the client and the probe server.
- the client sends a heartbeat signal to the probe server periodically (heartbeat period) to confirm whether the data link between the client and the probe server is still unobstructed, thereby ensuring timely receiving the push message of the probe server.
- the client will experience the process of "heartbeat request-heartbeat request retransmission-TCP teardown-TCP link-re-heartbeat request" every time the heartbeat interaction occurs, causing additional signaling overhead. Therefore, the client can quickly and accurately obtain the TCP aging delay of the network, which can better determine the heartbeat period, and predict and plan the network.
- the company learns the TCP aging delay of the network based on the adaptive detection technology, so that the heartbeat period of the system platform is smaller than the TCP aging delay.
- the adaptive detection technology refers to the use of mobile phones in the laboratory to track the heartbeat interaction results with the heartbeat cycle changes by capturing packets for a long time. Specifically, the heartbeat period of the system platform is gradually increased until the heartbeat interaction fails, indicating that the TCP connection has aged, thereby determining the TCP aging delay of the network.
- adaptive detection technology has low detection efficiency and is only used on the Apple system platform.
- the present application provides a method, device, data center and system for detecting aging delay, which can effectively improve the detection efficiency of aging delay.
- a method for detecting an aging delay comprising:
- the target TCP aging delay value is determined according to the first TCP aging delay value.
- the detecting device queries the first TCP aging delay value through the data center, and performs detection based on the first TCP aging delay value, which can effectively improve the detection efficiency.
- the determining a target TCP aging delay value according to the first TCP aging delay value includes:
- the second detection period is equal to the first detection period plus an initial detection step, or the second detection period is equal to the first detection period minus an initial detection step.
- determining the target TCP aging delay value according to the first result corresponding to the first detection period and the second result corresponding to the second detection period including:
- the first detection period is determined as the target TCP aging delay value
- the second detection period is determined as the target TCP aging delay value.
- the method when the feedback information does not include the first TCP aging delay value, the method further includes: determining the target TCP aging delay value according to the first detection period.
- the determining the target TCP aging delay value according to the first detection period includes:
- the detecting device determines the second detection period by using the first detection step, and can quickly approach the actual TCP aging delay value of the current network, thereby effectively improving the detection efficiency.
- the determining the second detection period according to the first detection period and the first detection step includes:
- the first result and the second result fail, or the first result and the second result are successful
- the determining, according to the first result and the second detection period, the second result, determining the target TCP aging delay value including:
- the first result is successful, the second result is failed; or the first result is failed, and the second result is successful;
- the determining, according to the first result and the second detection period, the second result, determining the target TCP aging delay value including:
- the detecting device determines the third detecting period by using the second detecting step, which can effectively reduce The difference between the third detection period and the actual TCP aging delay value, thereby effectively improving the accuracy of the target TCP aging delay value.
- the second detection step size is less than the first threshold
- the determining, according to the second result and the third detection period, the third result, determining the target TCP aging delay value including:
- the second detection period is determined as the target TCP aging delay value
- the third detection period is determined as the target TCP aging delay value.
- the first probe step is equal to twice the initial probe step
- the initial probe step is equal to twice the second probe step
- the method further includes:
- the TCP aging delay information includes the target TCP aging delay value and the retrieval information corresponding to the target TCP aging delay value
- a method for detecting an aging delay comprising:
- the query information of the query message is generated according to the query result of the first TCP aging delay value, including:
- the method further includes:
- the aging delay information includes the target TCP aging delay value and the retrieval information corresponding to the target TCP aging delay value.
- an apparatus for detecting an aging delay comprising:
- a transceiver unit configured to send a query message to the data center, where the query message is used to instruct the data center to query a first transmission control protocol TCP aging delay value;
- the transceiver unit is further configured to receive feedback information of the query message sent by the data center;
- the processing unit is configured to determine a target TCP aging delay value according to the first TCP aging delay value when the feedback information includes the first TCP aging delay value.
- a fourth aspect provides a terminal device, where the terminal device includes:
- a transceiver configured to send a query message to the data center, where the query message is used to instruct the data center to query a first transmission control protocol TCP aging delay value;
- the transceiver is further configured to receive feedback information of the query message sent by the data center;
- the processor is configured to determine a target TCP aging delay value according to the first TCP aging delay value when the feedback information includes the first TCP aging delay value.
- a network device where the network device includes:
- a transceiver configured to send a query message to the data center, where the query message is used to instruct the data center to query a first transmission control protocol TCP aging delay value;
- the transceiver is further configured to receive feedback information of the query message sent by the data center;
- the processor is configured to determine a target TCP aging delay value according to the first TCP aging delay value when the feedback information includes the first TCP aging delay value.
- the apparatus of the third aspect, the terminal apparatus of the fourth aspect, and the network apparatus of the fifth aspect are capable of implementing the method of detecting an aging delay performed by the detecting apparatus in the method of the first aspect.
- a data center comprising:
- a transceiver unit configured to receive a query message sent by the detecting device, where the query message indicates that the data center queries the first transmission control protocol TCP aging delay value;
- a processing unit configured to generate feedback information of the query message according to the query result of the first TCP aging delay value
- the transceiver unit is further configured to send the feedback information to the detecting device.
- a data center comprising:
- a transceiver configured to receive a query message sent by the detecting device, where the query message indicates that the data center queries the first transmission control protocol TCP aging delay value;
- a processor configured to generate feedback information of the query message according to the query result of the first TCP aging delay value
- the transceiver is further configured to send the feedback information to the detecting device.
- the data center of the sixth aspect and the data center of the seventh aspect are capable of implementing the method of detecting aging delay performed by the data center in the method of the second aspect.
- a system for detecting an aging delay comprising:
- the detecting device is configured to send a query message to the data center, where the query message is used to instruct the data center to query a first transmission control protocol (TCP) aging delay value; and receive the query message sent by the data center.
- TCP transmission control protocol
- the feedback information is used to determine the target TCP aging delay value according to the first TCP aging delay value when the feedback information includes the first TCP aging delay value.
- the data center is configured to receive a query message sent by the detecting device, where the query message indicates that the data center queries the first transmission control protocol (TCP) aging delay value; and the query is generated according to the query result of the first TCP aging delay value. Querying feedback information of the message; transmitting the feedback information to the detecting device.
- TCP transmission control protocol
- the retrieval information includes at least one of the following information corresponding to the target TCP aging delay value:
- PLMN public land mobile network
- carrier name longitude, latitude
- detection device identification time zone
- internet protocol address IP internet protocol address
- FIG. 1 is an exemplary framework diagram of an application scenario according to an embodiment of the present invention.
- FIG. 2 is a schematic flowchart of a method for detecting an aging delay according to an embodiment of the present invention.
- FIG. 3 is another schematic flowchart of a method for detecting an aging delay according to an embodiment of the present invention.
- FIG. 4 is a schematic diagram of a relationship between a detection period and an actual TCP aging delay according to an embodiment of the present invention.
- FIG. 5 is another schematic diagram of the relationship between the detection period and the actual TCP aging delay according to the embodiment of the present invention.
- FIG. 6 is another schematic flowchart of a method for detecting an aging delay according to an embodiment of the present invention.
- FIG. 7 is another schematic diagram of the relationship between the detection period and the actual TCP aging delay according to the embodiment of the present invention.
- FIG. 8 is another schematic diagram of the relationship between the detection period and the actual TCP aging delay according to the embodiment of the present invention.
- FIG. 9 is another schematic flowchart of a method for detecting an aging delay according to an embodiment of the present invention.
- FIG. 10 is a schematic flowchart of a method for determining a detection period according to an embodiment of the present invention.
- FIG. 11 is another schematic flowchart of a method for detecting an aging delay according to an embodiment of the present invention.
- FIG. 12 is a schematic block diagram of an apparatus for detecting an aging delay according to an embodiment of the present invention.
- FIG. 13 is a schematic block diagram of a terminal device for detecting an aging delay according to an embodiment of the present invention.
- FIG. 14 is a schematic block diagram of a network device for detecting an aging delay according to an embodiment of the present invention.
- Figure 15 is a schematic block diagram of a data center in accordance with an embodiment of the present invention.
- 16 is another schematic block diagram of a data center in accordance with an embodiment of the present invention.
- FIG. 17 is a schematic block diagram of a detection aging delay system according to an embodiment of the present invention.
- FIG. 18 is another schematic block diagram of a detection aging delay system according to an embodiment of the present invention.
- FIG. 1 is an exemplary framework diagram of an application scenario according to an embodiment of the present invention.
- each network communication system includes a corresponding detecting device and a detecting server.
- the first detecting device can detect the aging delay value of the first network by performing information interaction with the first detecting server.
- the second detecting device can detect the aging delay value of the second network by performing information interaction with the second detecting server.
- the application scenario of the embodiment of the present invention further includes a TCP aging delay data center, where the data center can be used to store historical TCP aging delay information that has been detected by each network communication system.
- the historical TCP aging delay information of the data center can be quickly determined.
- the first network and the second network implemented by the present invention may be various network communication systems.
- GSM Global System of Mobile communication
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- GPRS general packet radio service
- 5G communication system LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS) )Wait.
- FDD Frequency Division Duplex
- TDD Time Division Duplex
- UMTS Universal Mobile Telecommunication System
- Embodiments of the present invention describe various embodiments based on a detection device.
- the detecting device can be configured in the terminal device or can be configured in the network device.
- Terminal devices include, but are not limited to, User Equipment (UE), access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user A proxy or user device, the terminal device can communicate with one or more core networks via a radio access network (RAN), for example, the terminal device can be a cellular phone, a cordless phone, or a session Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistant (PDA), handheld devices with wireless communication capabilities, computing devices or Other processing devices connected to the wireless modem, in-vehicle devices, wearable devices, terminal devices in future 5G networks, or terminal devices in a future evolved PLMN network.
- RAN radio access network
- the terminal device can be a cellular phone, a cordless phone, or a session Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistant (PDA), handheld devices with wireless communication capabilities, computing devices or
- the network device may be a device for communicating with the terminal device, and the network device may include a base station or a network side device having a base station function.
- the network device may be a base station (Base Transceiver Station, BTS) in the GSM system or CDMA, or a base station (NodeB, NB) in the WCDMA system, or an evolved base station (Evolved Node B in the LTE system).
- BTS Base Transceiver Station
- NodeB, NB base station
- Evolved Node B evolved base station
- the eNB or eNodeB), or the network device may be a relay station, an access point, an in-vehicle device, a wearable device, and a network side device in a future 5G network.
- the communication system (the detection device and the detection server can be deployed in multiple networks, and all the results can be aggregated into the data center) and the interaction process (the data center has an interface open for quick query of each network)
- the test results can ensure that the system obtains the TCP aging delay of each network more quickly and comprehensively, and facilitates the queryer to have a more comprehensive and in-depth cognitive network, thereby more effectively carrying out network planning and prediction, and designing products and solutions.
- FIG. 2 is a schematic flowchart of a method 100 for detecting an aging delay according to an embodiment of the present invention.
- the method 100 includes:
- the detecting device sends an inquiry message to the data center, where the query message is used to query the first TCP aging delay value of the network where the detecting device is located.
- the first TCP aging delay value in the embodiment of the present invention may be a historical TCP aging delay value of the network where the detecting device is stored in the data center, and the first TCP aging delay value may be a historical TCP detected by the detecting device itself.
- the aging delay value may also be a historical TCP aging delay value detected by other detecting devices.
- the detecting device queries the first TCP aging delay value through the data center, and performs detection based on the first TCP aging delay value, which can effectively improve the detection efficiency.
- the message can be constructed based on a format such as Object Object Notation (JSON) or Extensible Markup Language (XML).
- JSON Object Object Notation
- XML Extensible Markup Language
- the individual messages are as follows:
- the query message is as follows:
- the Query Key is used to query the authentication key, and the data center determines whether the query is legal based on the Key, and is provided by the data center management background for the caller.
- Query Info which contains the PLMN, network type, country, city, longitude, latitude and other information of the client to be tested.
- the message design, the definition of the included fields and the message flow of the embodiment of the invention ensure the effective implementation of the detection process.
- the data center queries the first TCP aging delay value according to the query message sent by the detecting device, and generates feedback information of the query message based on the query result of the first TCP aging delay value. For example, when the data center queries the first TCP aging delay value, the data is generated according to the first TCP aging delay value.
- the query message includes the search information, and the data center queries the first TCP aging delay value according to the detection information.
- the retrieval information includes at least one of the following information: detection time, country, city, network type, Public Land Mobile Network (PLMN), operator name, longitude, latitude, detection device identifier , time zone, Internet Protocol (IP) address.
- PLMN Public Land Mobile Network
- IP Internet Protocol
- the data center can construct a data table as shown in the following table.
- the first TCP aging delay value of the specified network or the designated area of the querier device may be selected according to the following table.
- the detecting device reports the test time, the state, the TCP aging delay, and the like to the detecting server, and the detecting server reports the data to the data center, and the data center constructs the data table as shown in Table 1, and then receives the data sent by the querying device.
- the first TCP aging delay value of the specified network or the specified area can be provided for the querying device.
- the feedback for this query message is as follows:
- the data table structure design of the embodiment of the invention facilitates data statistics, thereby improving the accuracy of the TCP aging delay data and ensuring the validity of the data query.
- Table 1 only exemplarily describes the design manner and retrieval information of the data center data table, and the specific form of the embodiment of the present invention is not limited.
- a data center can also be stored in a graphical or other form.
- the retrieval information may also include the type of the query message and the like.
- the data center sends feedback information of the query message to the detecting device, that is, the detecting device receives the feedback information sent by the data center.
- the target TCP aging delay value is determined according to the first TCP aging delay value when the feedback information includes the first TCP aging delay value.
- the target TCP aging delay value may be an actual TCP aging delay value of the current network between the detecting device and the detecting server.
- the detecting device receives the feedback information.
- the feedback information includes the first TCP aging delay value
- the detecting device determines the target TCP aging delay value according to the first TCP aging delay value.
- the detection period the time difference between the time when the detecting device receives the feedback information of the ith cycle notification message sent by the probe server, and the time when the detecting device sends the ith probe message to the probe server, in seconds: s).
- the first sounding period refers to the time difference between the time when the detecting device receives the feedback information of the first periodic notification message sent by the detecting server and the time when the detecting device transmits the first detecting message to the detecting server.
- Detection Step the absolute value of the difference between the i+1th detection period and the ith detection period, in seconds (s).
- the result of the detection (Current Detection Result), after the probe device sends the probe message to the probe server, it detects the response of the server. If the probe server response message is received within the specified time (the probe server responds to the timeout timer), it is successful, otherwise it fails. , initially empty.
- the first result corresponding to the first detection period may refer to the detection result of the detecting device for the first detection period.
- Detection Num the number of probes that have been initiated, and the initial value is set to zero.
- the detection result is the number of successes, and the initial value is 0.
- the detection result is the number of failures.
- the initial value is 0.
- FIG. 3 is a schematic flowchart of a method for detecting an aging delay according to an embodiment of the present invention.
- the detecting device sends a notification message of the ith detection period to the probe server, which is used to notify the probe server of the detection period to be initiated, so that the probe server can perform TCP management; and the probe server detects the ith probe.
- a periodic feedback message after receiving the feedback message of the detection period, the detecting device starts a timer, and the time of the timer is the duration of the ith detection period; when the timer expires, the detecting device sends the detection device to the detection server. Send the i-th probe message to determine whether the TCP session has been cleaned up by the firewall.
- the probe server when the TCP session is not cleaned by the firewall, the probe server sends feedback information of the i th probe message to the probe device; when the TCP session has been cleaned by the firewall, the probe server does not send the i th probe to the probe device. Feedback information for the message.
- the time interval threshold is set to 1.5 (s).
- the detecting device may change the duration of the ith detection period by detecting the step size, and determine the length of the i+1th detection period to re-detect and determine The TCP aging delay value of the current network, that is, the target TCP aging delay value. If a test fails and does not receive a response from the probe server, the TCP connection is reestablished and the probe continues until the target TCP aging delay value is determined.
- the detection result of the i-th detection period is successful and the detection structure of the i+1th detection period fails; or when the detection result of the i-th detection period fails, and the detection of the i+1th detection period is detected
- the structure is successful, it means that the target TCP aging delay value is between the ith detection period and the i+1th detection period.
- FIG. 3 exemplarily embodies the relationship between the ith detection period and the i+1th detection period.
- the i+1th detection period is equal to the i-th detection period plus the detection step size.
- the embodiment of the invention is not limited thereto. For example, when the detection result of the i-th detection period fails, the i+1th detection period is equal to the ith detection period minus the detection step size.
- the message form in the process of detecting interaction in the embodiment of the present invention is as follows:
- the probe period notification message is as follows:
- the probe message is as follows:
- the message type (MsgType) includes a detection message (Detect Msg), a detection period notification message (Detect Period Notify), and a detection result backhaul message (Test Result Msg), and the detection result is returned to store or update the current network.
- TCP aging delay value Optionally, the Detect Req Content is filled in as "Hello Server! by default.
- Detect Period unit s.
- the detecting device may query the historical TCP aging delay value of the current network in the data center by using the query message, that is, the first TCP aging delay value, and determine the current TCP aging according to the first TCP aging delay value.
- the delay value can effectively improve the detection efficiency.
- the first TCP aging delay value is determined as the first detection period, and the target TCP aging delay value is determined according to the first result corresponding to the first detection period and the second result corresponding to the second detection period. .
- the second detection period is equal to the first detection period plus an initial detection step, or the second detection period is equal to the first detection period minus an initial detection step.
- the actual TCP aging delay in the network does not change suddenly.
- the detecting device can query the first aging delay value of the network through the data center, the detecting step length selects the initial detecting step length and initiates twice. The detecting device determines the actual TCP aging delay value of the current network according to the two detection results.
- the detecting device when the first result is successful and the second result fails, the detecting device will first The detection period is determined as the target TCP aging delay value.
- the historical TCP aging delay does not change, and the first TCP aging delay value that is queried from the data center is directly determined as the target TCP aging delay value.
- the detecting device determines the second detection period as the target TCP aging delay value.
- the difference between the historical TCP aging delay and the current network's TCP aging delay is small, and the second TCP aging delay is directly determined as the target TCP aging delay.
- the definition of the variables and parameters of the embodiment of the invention ensures the effective implementation of the detection method and improves the detection efficiency.
- the initial detection step size in the embodiment of the present invention may be set by a user, or may be a system configuration.
- the initial probe step size is 60 (s), 70 (s), 80 (s), and the like.
- FIG. 6 is another schematic flowchart of detecting an aging delay according to an embodiment of the present invention.
- the detecting device establishes a TCP connection with the detecting server, and determines the first TCP aging delay value queried from the data center as the first detecting period for detecting. If the detection result of the first detection period is successful, determining that the second detection period is equal to the first detection period plus the initial detection step length, and performing detection of the second detection period, and if the detection result of the second detection period fails, determining the first The detection period is the target TCP aging delay.
- the detection result of the first detection period fails, determining that the second detection period is equal to the first detection period minus the initial detection step length, and performing detection of the second detection period, and if the detection result of the second detection period is successful, determining the second detection period
- the detection period is the target TCP aging delay. If other conditions occur, the first detection step and/or the second detection step are determined to be detected and re-detected according to the first detection step and/or the second detection step. Among them, specific embodiments regarding the first detecting step size and the second detecting step size are explained below.
- the detecting device does not query the historical TCP aging delay value of the current network in the data center by using the query message, that is, the information returned by the data center does not have the historical TCP aging delay value, that is, the first TCP aging time. Deferred value.
- the detecting device determines the target TCP aging delay value according to the first detection period.
- the first detecting period is the TCP aging delay value, and the detecting device cannot query the first TCP aging delay by using the query message.
- the value of the first detection period may be set by the user or may be pre-configured by the system, which is not specifically limited in the embodiment of the present invention.
- the first detection period is 1500 (s).
- the detecting device determines a second detecting period according to the first detecting period and the first detecting step length, where the first detecting step length is greater than the initial detecting step length; and corresponding to the first result and the second detecting period Second, the target TCP aging delay value is determined.
- the detecting device when the detecting device cannot query the first TCP aging delay value by using the query message, the first detecting period may be too different from the actual TCP aging delay value of the current network, so that the detecting device needs to detect many times.
- the target TCP aging delay value can be determined.
- the ith detection period and the ith +1 detection period are far greater than the actual TCP aging delay value of the current network.
- the ith detection period and the ith +1 detection period are far smaller than the actual TCP aging delay value of the current network.
- the detection efficiency of the detecting device is effectively improved.
- the detecting device determines that the second detection period is equal to the first detection period minus the first detection step size; or, when the first result is successful, determining that the second detection period is equal to The first detection period is added to the first detection step.
- the second detection period is set by using the first detection step, so that the actual TCP aging delay value of the current network can be quickly approached, and the target TCP aging delay value is determined, thereby effectively improving the detection efficiency.
- the final detection result may be insufficiently accurate.
- the detecting device may determine the third detection period by using the detection result of the second detection period. Specifically, the detecting device may detect the detection result of the second detection period, and determine the third detection period. Whether the first detection step or the second detection step is used in the process, the duration of the second detection step is less than the duration of the first detection step.
- the second result fails; or, the first result fails, the second result is successful; and the third detection period is determined according to the second detection period and the second detection step, the second The detection step size is less than the first detection step size.
- the first result and the second result fail, or the first result and the second result are successful; determining a third detection period according to the second detection period and the first detection step; The second result and the third detection period correspond to the third result, and the target TCP aging delay value is determined.
- the detecting device determines the third detecting period by using the second detecting step, which can effectively reduce the gap between the third detecting period and the actual TCP aging delay value, thereby effectively improving the target TCP aging delay.
- the accuracy of the value is the accuracy of the value.
- the second detection step is smaller than the first threshold; when the second result is successful, and the third result fails, determining the second detection period as the target TCP aging delay value; or, in the The second result is unsuccessful.
- the third detection period is determined as the target TCP aging delay value.
- FIG. 9 is a schematic flowchart of detecting an aging delay according to an embodiment of the present invention.
- the detecting device establishes a TCP connection with the detecting server, and determines the current detecting period. If the number of detecting times is greater than the second threshold or the detecting step is smaller than the first threshold, the current detection result is directly determined as the target TCP.
- the detection server performs a detection period interaction, and when the interaction succeeds and receives the response message of the detection period notification message,
- the detecting device starts a timer, and sends a probe message when the timer expires; calculates a current probe result, refreshes the number of probes, the number of probe successes, and the number of probe failures; and the probe device determines whether to perform detection of the next probe period or directly determines target TCP aging Delay value.
- FIG. 9 is only a exemplifying method for detecting the aging delay of the embodiment of the present invention, but the embodiment of the present invention is not limited thereto.
- the detection of the next probe period may also be continued.
- first threshold and the second threshold in the embodiment of the present invention may be set by a user, or may be pre-configured by the system.
- first threshold may be 60 (ms), 55 (ms), 50 (ms), and the like.
- second threshold may be 20 (Times), 18 (Times), and the like.
- FIG. 10 is a schematic flowchart of a method for determining a detection period according to an embodiment of the present invention.
- the detecting device determines whether to use the preset initial detection period by using the first detection period or the current detection period according to the previous detection period and the detection step length. In other words, if the current detection is the first detection, the initial detection period is determined as the first detection period. If the current detection is not the first detection, the detection is determined according to the last detection period and the detection step size. cycle.
- the detecting device determines whether the first detection step or the second detection step is used in the detection period by the number of successful detections or the number of detection failures, and the first detection step is smaller than the first detection step.
- the second detection step size In other words, the detection device determines whether to use a smaller detection step size or a larger detection step size based on the detected record.
- the actual TCP aging delay value of the current network may be farther from the previous detection period.
- a larger detection step size is used, that is, a first detection step size, otherwise a second detection step size is employed.
- the method for detecting aging delay in the embodiment of the present invention further includes:
- the TCP aging delay information includes the search information corresponding to the target TCP aging time value and the target TCP aging time value.
- the detecting device returns the detection result to the probe server. That is, the detecting device determines the TCP aging delay information, and the TCP aging delay information includes the search information corresponding to the target TCP aging time value and the target TCP aging time value.
- the probe server sends the TCP aging delay information to the data center.
- the TCP aging delay information is as follows:
- the probe server response message is as follows:
- the test result includes the test time, country, city, network type, PLMN, carrier name, TCP aging delay (unit: s), longitude, latitude, detection device identification, time zone, external network IP address, etc. information.
- Status is used to indicate status, OK is normal, and Failed is failed.
- Reason is used to indicate the reason for the failure. If the success is "NA"; otherwise, fill in the reason for the failure.
- the detecting device sends the TCP aging delay information to the probe server, so that the data center stores or updates the historical data.
- FIG. 10 only exemplifies the method for determining the detection period by the detecting device, but the embodiment of the present invention is not limited thereto.
- the detecting device may further determine the current detecting period according to other information.
- FIG. 11 is another schematic flowchart of a method for detecting an aging delay according to an embodiment of the present invention.
- TCP aging delay information includes the target TCP aging time value and the retrieval information corresponding to the target TCP aging time value.
- the device performs the message exchange between the detecting device, the detecting server, and the data center, and performs the aging delay detection to obtain the target TCP aging delay value.
- the detecting device detects the TCP aging delay information corresponding to the target TCP aging delay value.
- the data is stored in the data center; the query device can directly call the interface open in the data center to read the specified TCP aging delay value.
- FIG. 11 only schematically illustrates the interaction process between the detecting device, the probe server, and the data center.
- the specific implementations of the foregoing 210 to 260 have been described in detail in the foregoing embodiments. To avoid repetition, details are not described herein.
- the method for detecting aging delay in the embodiment of the present invention is described above with reference to FIGS. 1 through 11.
- the apparatus, terminal device, network device and system for detecting aging delay according to an embodiment of the present invention are described below with reference to FIG. 12 to FIG.
- FIG. 12 is a schematic block diagram of an apparatus 300 for detecting an aging delay according to an embodiment of the present invention.
- the apparatus 300 includes:
- the transceiver unit 310 is configured to send a query message to the data center, where the query message is used to instruct the data center to query the first transmission control protocol TCP aging delay value, and receive the feedback information of the query message sent by the data center.
- the processing unit 320 is configured to determine a target TCP aging delay value according to the first TCP aging delay value when the feedback information includes the first TCP aging delay value.
- the processing unit 320 is configured to: determine the first TCP aging delay value as the first detection period; and the first result corresponding to the first detection period and the second result corresponding to the second detection period, Determine the target TCP aging delay value.
- the second detection period is equal to the first detection period plus an initial detection step, or the second detection period is equal to the first detection period minus an initial detection step.
- the processing unit 320 is configured to determine, when the first result is successful, the first detection period is determined as the target TCP aging delay value; or, the first result fails.
- the second detection period is determined as the target TCP aging delay value.
- the processing unit 320 is configured to: determine the target TCP aging delay value according to the first detection period.
- the processing unit 320 is configured to: determine, according to the first detection period and the first detection step, a second detection period, where the first detection step is greater than the initial detection step; according to the first result and the The second detection period corresponds to the second result, and the target TCP aging delay value is determined.
- the processing unit 320 is configured to: when the first result fails, determine that the second detection period is equal to the first detection period minus the first detection step; or, when the first result is successful, determine The second detection period is equal to the first detection period plus the first detection step.
- the first result and the second result fail, or the first result and the second result are successful.
- the processing unit 320 is configured to: determine a third detection period according to the second detection period and the first detection step; and determine the target TCP aging delay according to the second result and the third result corresponding to the third result. value.
- the first result is successful, and the second result is failed; or the first result is failed, and the second result is successful.
- the processing unit 320 is configured to: determine, according to the second detection period and the second detection step, a third detection period, where the second detection step is smaller than the first detection step; according to the second result and the third detection The period corresponds to the third result, and the target TCP aging delay value is determined.
- the second detection step size is smaller than the first threshold.
- the processing unit 320 is specifically configured to: when the second result is successful, when the third result fails, determine the second detection period as the target TCP aging delay value; or, in the second result, the third When the result is successful, the third detection period is determined as the target TCP aging delay value.
- the first detection step is equal to twice the initial detection step
- the initial detection step is equal to twice the second detection step
- the processing unit 320 is further configured to: determine a TCP aging delay information, where the TCP aging delay information includes the target TCP aging delay value and the retrieval information corresponding to the target TCP aging delay value; the transceiver unit 310 The TCP aging delay information is also sent to the probe server corresponding to the data center.
- the search information includes at least one of the following information corresponding to the target TCP aging delay value: time, country, city, network type, public land mobile network PLMN, carrier name, longitude, latitude, and detecting device. Identification, time zone, internet protocol address IP.
- the transceiver unit 310 can be implemented by a transceiver, and the processing unit 320 can be implemented by a processor.
- the terminal device 400 may include a processor 410, a transceiver 420, and a memory 430.
- the memory 430 can be used to store indication information, and can also be used to store code, instructions, and the like executed by the processor 410.
- the various components in the terminal device 400 are connected by a bus system, wherein the bus system includes a power bus, a control bus, and a status signal bus in addition to the data bus.
- network device 500 can include a processor 510, a transceiver 520, and a memory 530.
- the memory 530 can be used to store indication information, and can also be used to store code, instructions, and the like executed by the processor 510.
- the various components in the network device 500 are connected by a bus system, wherein the bus system includes a power bus, a control bus, and a status signal bus in addition to the data bus.
- the terminal device 400 and the network device 500 shown in FIG. 13 and FIG. 14 can implement the various processes implemented by the detecting device in the foregoing method embodiments of FIG. 1 to FIG. 11. To avoid repetition, details are not described herein again.
- Figure 15 is a schematic block diagram of a data center 600 in accordance with an embodiment of the present invention.
- the data center 600 includes:
- the transceiver unit 610 is configured to receive a query message sent by the detecting device, where the query message indicates that the data center queries the first transmission control protocol TCP aging delay value;
- the processing unit 620 is configured to generate the query message according to the query result of the first TCP aging delay value. Feedback information.
- the transceiver unit 610 is further configured to send the feedback information to the detecting device.
- the processing unit 620 is specifically configured to: generate the feedback information according to the first TCP aging delay value, where the feedback information includes The first TCP aging delay value.
- the transceiver unit 610 is further configured to: receive the TCP aging delay information sent by the probe server, where the aging delay information includes the target TCP aging delay value and the retrieval information corresponding to the target TCP aging delay value. .
- the search information includes at least one of the following information corresponding to the target TCP aging delay value: time, country, city, network type, public land mobile network PLMN, carrier name, longitude, latitude, and detecting device. Identification, time zone, internet protocol address IP.
- the transceiver unit 610 can be implemented by a transceiver
- the processing unit 620 can be implemented by a processor.
- data center 700 can include a processor 710, a transceiver 720, and a memory 730.
- the memory 730 can be used to store indication information, and can also be used to store code, instructions, and the like executed by the processor 710.
- the various components in the data center 700 are connected by a bus system, wherein the bus system includes a power bus, a control bus, and a status signal bus in addition to the data bus.
- the data center 700 shown in FIG. 16 can implement the various processes implemented by the data center in the foregoing method embodiments of FIG. 1 to FIG. 11. To avoid repetition, details are not described herein again.
- FIG. 17 is a schematic block diagram of a system 800 for detecting aging delays in accordance with an embodiment of the present invention.
- the system 800 includes a detection device 810, a data center 820.
- the detecting device 810 is configured to: send a query message to the data center 820, where the query message is used to instruct the data center 820 to query the first transmission control protocol TCP aging delay value; and receive the query message sent by the data center 820.
- the feedback information is used to determine the target TCP aging delay value according to the first TCP aging delay value when the feedback information includes the first TCP aging delay value.
- the data center 820 is configured to: receive the query message sent by the detecting device, where the query message indicates that the data center 820 queries the first transmission control protocol TCP aging delay value; and the query result according to the first TCP aging delay value Generating feedback information of the query message; sending the feedback information to the detecting device.
- the detecting apparatus 810 is further configured to: determine the target TCP aging delay value according to the first detection period.
- the system further includes: a querying device 830, configured to query a first TCP aging delay value of the data center 820.
- the system 800 shown in FIG. 17 can implement the various processes implemented by the detecting device and the data center in the foregoing method embodiments of FIG. 1 to FIG. 11, wherein the detecting device 810 can be the device 300 shown in FIG.
- the data center may be the data center 600 or the data center 700 shown in FIG. 16. To avoid repetition, details are not described herein again.
- the device embodiments described above are merely illustrative. Specifically, the division of cells is only a logical function division, and may be further divided in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not implemented. As another example, a unit or component can be divided into a plurality of subunits.
- FIG. 18 is another schematic block diagram of a system for detecting aging delay according to an embodiment of the present invention.
- the detecting apparatus may include: a detecting algorithm module, a message interaction module, and a wireless network. Information acquisition module and database module.
- the detection algorithm module is configured to implement a detection algorithm. Specifically, during the TCP aging delay detection, the value of the variable in the algorithm is set, and the algorithm flow is completed, and the detection aging server completes the detection to obtain the TCP aging delay.
- the message interaction module is used to: build, send, receive and parse messages. Specifically, according to the driving of the detection algorithm module, the request message required by the algorithm flow is constructed and sent to the server and the data center, and the received message is parsed, and then the content is transmitted to the detection algorithm module; after the test is finished, the test result is returned. Pass to the server.
- the wireless network information acquiring module is configured to: obtain wireless network information, obtain information such as PLMN, network type, latitude and longitude, and associate with the TCP aging delay data in this test.
- the database module is used to: store and manage data. Specifically, a method of data management is provided for calling other modules and storing data acquired by the detecting device.
- the probe server includes: a probe algorithm module, a message interaction module, a TCP management module, and a database module.
- the detection algorithm module is configured to implement a detection algorithm. Specifically, the detection algorithm module of the detection device is used to complete the detection algorithm process and obtain the TCP aging delay.
- the message interaction module is used to: build, send, receive and parse messages. Specifically, the request message of the detecting device is received and parsed, the content is transmitted to the detecting algorithm module, and the response message is constructed according to the driving of the detecting algorithm module to the detecting device; the test result sent by the detecting device is received; and the test result is returned periodically or in real time. Go to the data center.
- the TCP management module is used to: manage TCP session information. Specifically, the TCP session information is processed according to the detection period.
- the database module is used to: store and manage data. Specifically, a method of data management is provided for calling other modules and storing data returned by the detecting device.
- the data center may include
- the statistical analysis module is used for: data cleaning and normalization processing. Specifically, based on the test time, the information such as the PLMN cleans and normalizes the test result, thereby improving the accuracy of the TCP aging delay.
- the message interaction module is used to: build, send, receive and parse messages. Specifically, the query message is received and parsed, the content is delivered to the query module, and the query result is constructed as a response message and returned to the querying party; and the test result returned by the probe server is received.
- the data query module is used to: provide query results. Specifically, according to the request content of the querying party, the database module is called to complete the search of the data, and the result is returned to the message interaction module.
- the background management module is used for: background configuration and management.
- the database module is used to: store and manage data. Specifically, a method of data management is provided for calling other modules and storing data returned by the probe server.
- the term "and/or" in the embodiment of the present invention is merely an association relationship describing an associated object, indicating that there may be three relationships. Specifically, A and/or B may indicate that A exists separately, and A and B exist simultaneously, and B cases exist alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
- first, second, third, etc. may be used to describe various messages, requests, and terminals in embodiments of the present invention, but such messages, requests, and terminals should not be limited to these terms. These terms are only used to distinguish messages, requests, and terminals from one another.
- a first terminal may also be referred to as a second terminal without departing from the scope of the embodiments of the present invention.
- the second terminal may also be referred to as a first terminal.
- the words “if” or “if” as used herein may be interpreted as “when” or “when” or “in response to determining” or “in response to detecting” ".
- the phrase “if determined” or “if detected (conditions or events stated)” may be interpreted as “when determined” or “in response to determination” or “when detected (stated condition or event) "Time” or “in response to a test (condition or event stated)”.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
- each functional unit in the embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the embodiments of the present invention, or the part contributing to the prior art or the part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
- the instructions include a plurality of instructions for causing a computer device (which may be a personal computer, a probe server, or a network device, etc.) to perform all or part of the steps of the method of the embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
La présente invention concerne un procédé, un dispositif, un centre de données et un système de détection de latence de vieillissement. Le procédé consiste : à envoyer à un centre de données un message de demande utilisé pour ordonner au centre de données d'interroger un premier protocole de commande de transmission (TCP) de valeur de latence de vieillissement ; à recevoir des informations de rétroaction envoyées par le centre de données pour le message de demande ; et si les informations de rétroaction comprennent la première valeur de latence de vieillissement TCP, à déterminer ensuite une valeur de latence de vieillissement TCP cible en fonction de la première valeur de latence de vieillissement TCP. Le procédé de détection de latence de vieillissement selon la présente invention interroge la première valeur de latence de vieillissement TCP par l'intermédiaire du centre de données, et effectue une détection sur la base de la première valeur de latence de vieillissement TCP, améliorant ainsi efficacement l'efficacité de détection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/071518 WO2018132966A1 (fr) | 2017-01-18 | 2017-01-18 | Procédé, dispositif, centre de données et système de détection de latence de vieillissement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/071518 WO2018132966A1 (fr) | 2017-01-18 | 2017-01-18 | Procédé, dispositif, centre de données et système de détection de latence de vieillissement |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018132966A1 true WO2018132966A1 (fr) | 2018-07-26 |
Family
ID=62907584
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/071518 WO2018132966A1 (fr) | 2017-01-18 | 2017-01-18 | Procédé, dispositif, centre de données et système de détection de latence de vieillissement |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2018132966A1 (fr) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113259432A (zh) * | 2021-05-12 | 2021-08-13 | 北京杰迈科技股份有限公司 | 一种基于tcp协议的通信方法及机器人远程控制系统 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895433A (zh) * | 2009-05-20 | 2010-11-24 | 灰熊(北京)科技有限公司 | 一种监控tcp服务器性能的方法 |
CN105610828A (zh) * | 2015-12-28 | 2016-05-25 | 曙光信息产业股份有限公司 | 一种acl规则的管理方法和装置 |
-
2017
- 2017-01-18 WO PCT/CN2017/071518 patent/WO2018132966A1/fr active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895433A (zh) * | 2009-05-20 | 2010-11-24 | 灰熊(北京)科技有限公司 | 一种监控tcp服务器性能的方法 |
CN105610828A (zh) * | 2015-12-28 | 2016-05-25 | 曙光信息产业股份有限公司 | 一种acl规则的管理方法和装置 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113259432A (zh) * | 2021-05-12 | 2021-08-13 | 北京杰迈科技股份有限公司 | 一种基于tcp协议的通信方法及机器人远程控制系统 |
CN113259432B (zh) * | 2021-05-12 | 2022-07-08 | 北京杰迈科技股份有限公司 | 一种基于tcp协议的通信方法及机器人远程控制系统 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3783995B1 (fr) | Procédé, dispositif et système de traitement de données | |
EP3972327B1 (fr) | Procédé et appareil de rapport de performance de réseau | |
US8929865B2 (en) | Optimizing user device context for mobility management entity (MME) resiliency | |
CN118869453A (zh) | 故障检测方法 | |
CN110999257B (zh) | 用于服务器通知的递送的传送方法选择 | |
WO2020057343A1 (fr) | Procédé et appareil de gestion de positionnement, nœud de réseau d'accès sans fil 5g et nœud de réseau central | |
US11991049B2 (en) | Communication method, apparatus, and system | |
JP2016174366A (ja) | ネットワーク品質の推定、接続性の検出、および負荷の管理のためのシステムおよび方法 | |
WO2018102964A1 (fr) | Procédé et dispositif de transmission d'informations | |
WO2017088815A1 (fr) | Procédé de détection d'état et nœud de réseau sans fil | |
EP4436253A2 (fr) | Procédé de mise à jour des paramètres relatifs à un contrôle d'accès unifié | |
JP2016015746A (ja) | ネットワーク品質の推定、接続性の検出、および負荷の管理のためのシステムおよび方法 | |
WO2019076308A1 (fr) | Procédé, appareil et dispositif de détermination d'état de dispositif terminal | |
US11082867B2 (en) | Method and apparatus for supporting event monitoring | |
JP2014532328A (ja) | ネットワーク品質の推定、接続性の検出、および負荷の管理のためのシステムおよび方法 | |
EP3780743A1 (fr) | Procédé et dispositif pour établir un trajet de transmission | |
US9756513B2 (en) | Methods and radio access node for determining a cell state | |
JP5951779B2 (ja) | ネットワーク品質の推定、接続性の検出、および負荷の管理のためのシステムおよび方法 | |
WO2020052638A1 (fr) | Procédé et appareil de transmission d'informations de localisation et dispositif | |
US20170164194A1 (en) | Offloading of a wireless node authentication with core network | |
WO2018132966A1 (fr) | Procédé, dispositif, centre de données et système de détection de latence de vieillissement | |
CN111405589B (zh) | 一种信息处理方法、网络侧设备及终端 | |
KR102515972B1 (ko) | 네트워크의 rds 구성에 관해 애플리케이션 기능 노드에 통지하기 위한 방법 및 장치 | |
CN105745972A (zh) | 在蜂窝传输之前的ip分组的动态解除群组 | |
US20250023816A1 (en) | URSP Rule Optimization Methods and Apparatus, Terminal, Network Side Device and Medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17892488 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17892488 Country of ref document: EP Kind code of ref document: A1 |