WO2018132966A1 - Aging latency detection method, device, data center, and system - Google Patents

Aging latency detection method, device, data center, and system Download PDF

Info

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
Application number
PCT/CN2017/071518
Other languages
French (fr)
Chinese (zh)
Inventor
李东升
房宇
赵其勇
贾伟杰
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2017/071518 priority Critical patent/WO2018132966A1/en
Publication of WO2018132966A1 publication Critical patent/WO2018132966A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network 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. .

Abstract

Provided in the present application are an aging latency detection method, device, data center, and system. The method comprises: sending to a data center a query message used to instruct the data center to query a first transmission control protocol (TCP) aging latency value; receiving feedback information sent by the data center for the query message; and if the feedback information comprises the first TCP aging latency value, then determining a target TCP aging latency value according to the first TCP aging latency value. The aging latency detection method provided in the present application queries the first TCP aging latency value via the data center, and performs detection on the basis of the first TCP aging latency value, thus effectively improving detection efficiency.

Description

探测老化时延的方法、装置、数据中心和系统Method, device, data center and system for detecting aging delay 技术领域Technical field
本发明实施例涉及通信领域,并且更具体地,涉及探测老化时延的方法、装置、数据中心和系统。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.
背景技术Background technique
无线网络中,运营商会部署防火墙来应对外部的攻击,同时在防火墙上,配置传输控制协议(Transmission Control Protocol,TCP)老化定时器,用于周期性(TCP老化时延)清理已老化的TCP会话表项。其中,TCP是基于连接的协议,即在正式收发数据前必须和对方建立可靠的连接,例如,客户端和探测服务器间的TCP连接。On a wireless network, the ISP deploys a firewall to respond to external attacks. At the same time, 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. Among them, 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.
由于TCP老化时延内,若一方由于停电、当机、崩溃等原因没有进行或者完成断开连接的过程,那么另一方就不知道连接是否断开了。因此,客户端会周期性(心跳周期)的向探测服务器发送心跳信号,用于确认客户端和探测服务器之间的数据链路是否仍然通畅,进而保证能够及时接收到探测服务器的推送消息。Because the TCP aging delay, if one party does not perform or complete the disconnection process due to power failure, crash, crash, etc., the other party does not know whether the connection is disconnected. Therefore, 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.
然而,如果心跳周期大于TCP老化时延,客户端每次心跳交互都会经历“心跳请求-心跳请求重传-TCP拆链-TCP建链-再次心跳请求”的过程,造成额外的信令开销。因此,客户端快速、准确地获取网络的TCP老化时延,可以更好的确定心跳周期,以及预测、规划网络。However, if the heartbeat period is greater than the TCP aging delay, 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.
目前,苹果公司基于自适应探测技术获知网络的TCP老化时延,从而保证系统平台的心跳周期小于TCP老化时延。其中,自适应探测技术指在实验室使用手机通过抓包长时间跟踪心跳交互结果随心跳周期的变化。具体地,系统平台的心跳周期逐渐增大直至心跳交互失败,说明TCP连接已经老化,进而确定网络的TCP老化时延。At present, 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. Among them, 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.
但是,自适应探测技术存在探测效率低,而且仅用于苹果系统平台。However, adaptive detection technology has low detection efficiency and is only used on the Apple system platform.
发明内容Summary of the invention
本申请提供一种探测老化时延的方法、装置、数据中心和系统,能够有效提高老化时延的探测效率。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.
第一方面,提供了一种探测老化时延的方法,所述方法包括:In a first aspect, a method for detecting an aging delay is provided, the method comprising:
向数据中心发送查询消息,所述查询消息用于指示所述数据中心查询第一传输控制协议TCP老化时延值;Sending 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;
接收所述数据中心发送的所述查询消息的反馈信息;Receiving feedback information of the query message sent by the data center;
在所述反馈信息包括所述第一TCP老化时延值时,根据所述第一TCP老化时延值确定目标TCP老化时延值。When the feedback information includes the first TCP aging delay value, the target TCP aging delay value is determined according to the first TCP aging delay value.
在本发明实施例中,探测装置通过数据中心查询第一TCP老化时延值,并基于该第一TCP老化时延值进行探测,能够有效提高探测效率。In the embodiment of the present invention, 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.
进一步地,在一些可能的设计中,所述根据所述第一TCP老化时延值确定目标TCP老化时延值,包括:Further, in some possible designs, the determining a target TCP aging delay value according to the first TCP aging delay value includes:
将所述第一TCP老化时延值确定为第一探测周期;Determining, by the first TCP aging delay value, a first detection period;
根据所述第一探测周期对应的第一结果和第二探测周期对应的第二结果,确定所述 目标TCP老化时延值;Determining, according to the first result corresponding to the first detection period and the second result corresponding to the second detection period 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.
进一步地,在一些可能的设计中,所述根据所述第一探测周期对应的第一结果和第二探测周期对应的第二结果,确定所述目标TCP老化时延值,包括:Further, in some possible designs, 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:
在所述第一结果成功,所述第二结果失败时,将所述第一探测周期确定为所述目标TCP老化时延值;或者,When the first result is successful, and the second result fails, the first detection period is determined as the target TCP aging delay value; or
在所述第一结果失败,所述第二结果成功时,将所述第二探测周期确定为所述目标TCP老化时延值。When the first result fails, and the second result is successful, the second detection period is determined as the target TCP aging delay value.
在一些可能的设计中,在所述反馈信息不包括所述第一TCP老化时延值时,所述方法还包括:根据第一探测周期确定所述目标TCP老化时延值。In some possible designs, 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.
在一些可能的设计中,所述根据第一探测周期确定所述目标TCP老化时延值,包括:In some possible designs, the determining the target TCP aging delay value according to the first detection period includes:
根据所述第一探测周期和第一探测步长确定第二探测周期,所述第一探测步长大于所述初始探测步长;Determining, according to the first detection period and the first detection step, a second detection period, where the first detection step length is greater than the initial detection step length;
根据所述第一结果和所述第二探测周期对应第二结果,确定所述目标TCP老化时延值。Determining the target TCP aging delay value according to the first result and the second detection period corresponding to the second result.
在本发明实施例中,探测装置通过第一探测步长确定第二探测周期,能够快速逼近当前网络的实际TCP老化时延值,能够有效提高探测效率。In the embodiment of the present invention, 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.
在一些可能的设计中,所述根据所述第一探测周期和第一探测步长确定第二探测周期,包括:In some possible designs, the determining the second detection period according to the first detection period and the first detection step includes:
在所述第一结果失败时,确定所述第二探测周期等于所述第一探测周期减所述第一探测步长;或者,When the first result fails, determining that the second detection period is equal to the first detection period minus the first detection step; or
在所述第一结果成功时,确定所述第二探测周期等于所述第一探测周期加所述第一探测步长。When the first result is successful, determining that the second detection period is equal to the first detection period plus the first detection step.
在一些可能的设计中,所述第一结果和所述第二结果失败,或者,所述第一结果和所述第二结果成功;In some possible designs, the first result and the second result fail, or the first result and the second result are successful;
其中,所述根据所述第一结果和所述第二探测周期对应第二结果,确定所述目标TCP老化时延值,包括:The determining, according to the first result and the second detection period, the second result, determining the target TCP aging delay value, including:
根据所述第二探测周期和所述第一探测步长确定第三探测周期;Determining a third detection period according to the second detection period and the first detection step length;
根据所述第二结果和所述第三探测周期对应第三结果,确定所述目标TCP老化时延值。Determining the target TCP aging delay value according to the second result and the third detection period corresponding to the third result.
在一些可能的设计中,所述第一结果成功,所述第二结果失败;或者,所述第一结果失败,所述第二结果成功;In some possible designs, the first result is successful, the second result is failed; or the first result is failed, and the second result is successful;
其中,所述根据所述第一结果和所述第二探测周期对应第二结果,确定所述目标TCP老化时延值,包括:The determining, according to the first result and the second detection period, the second result, determining the target TCP aging delay value, including:
根据所述第二探测周期和第二探测步长确定第三探测周期,所述第二探测步长小于所述第一探测步长;Determining, 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;
根据所述第二结果和所述第三探测周期对应第三结果,确定所述目标TCP老化时延值。Determining the target TCP aging delay value according to the second result and the third detection period corresponding to the third result.
在本发明实施例中,探测装置通过第二探测步长确定第三探测周期,能够有效减小 第三探测周期与实际TCP老化时延值之间的差距,进而有效提高了目标TCP老化时延值的准确度。In the embodiment of the present invention, 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.
在一些可能的设计中,所述第二探测步长小于第一阈值;In some possible designs, the second detection step size is less than the first threshold;
其中,所述根据所述第二结果和所述第三探测周期对应第三结果,确定所述目标TCP老化时延值,包括:The determining, according to the second result and the third detection period, the third result, determining the target TCP aging delay value, including:
在所述第二结果成功,所述第三结果失败时,将所述第二探测周期确定为所述目标TCP老化时延值;或者,When the second result is successful, and the third result fails, the second detection period is determined as the target TCP aging delay value; or
在所述第二结果失败,所述第三结果成功时,将所述第三探测周期确定为所述目标TCP老化时延值。When the second result fails, and the third result is successful, the third detection period is determined as the target TCP aging delay value.
在一些可能的设计中,所述第一探测步长等于所述初始探测步长的两倍,所述初始探测步长等于所述第二探测步长的两倍。In some possible designs, the first probe step is equal to twice the initial probe step, and the initial probe step is equal to twice the second probe step.
在一些可能的设计中,所述方法还包括:In some possible designs, the method further includes:
确定TCP老化时延信息,所述TCP老化时延信息包括所述目标TCP老化时延值和所述目标TCP老化时延值对应的检索信息;Determining the 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;
向所述数据中心对应的探测服务器发送所述TCP老化时延信息。Sending the TCP aging delay information to the probe server corresponding to the data center.
第二方面,提供了一种探测老化时延的方法,所述方法包括:In a second aspect, a method for detecting an aging delay is provided, the method comprising:
接收探测装置发送的查询消息,所述查询消息指示数据中心查询第一传输控制协议TCP老化时延值;Receiving 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;
根据所述第一TCP老化时延值的查询结果,生成所述查询消息的反馈信息;Generating feedback information of the query message according to the query result of the first TCP aging delay value;
向所述探测装置发送所述反馈信息。Sending the feedback information to the detecting device.
在一些可能的设计中,在查询到所述第一TCP老化时延值时,所述根据所述第一TCP老化时延值的查询结果,生成所述查询消息的反馈信息,包括:In some possible designs, when the first TCP aging delay value is queried, the query information of the query message is generated according to the query result of the first TCP aging delay value, including:
根据所述第一TCP老化时延值生成所述反馈信息,其中,所述反馈信息包括所述第一TCP老化时延值。Generating the feedback information according to the first TCP aging delay value, where the feedback information includes the first TCP aging delay value.
在一些可能的设计中,所述方法还包括:In some possible designs, the method further includes:
接收探测服务器发送的TCP老化时延信息,所述老化时延信息包括目标TCP老化时延值和所述目标TCP老化时延值对应的检索信息。And receiving the aging information of the TCP aging delay 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.
第三方面,提供了一种探测老化时延的装置,所述装置包括:In a third aspect, an apparatus for detecting an aging delay is provided, the apparatus comprising:
收发单元,用于向数据中心发送查询消息,所述查询消息用于指示所述数据中心查询第一传输控制协议TCP老化时延值;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;
处理单元,用于在所述反馈信息包括所述第一TCP老化时延值时,根据所述第一TCP老化时延值确定目标TCP老化时延值。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:
收发器,用于向数据中心发送查询消息,所述查询消息用于指示所述数据中心查询第一传输控制协议TCP老化时延值;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;
处理器,用于在所述反馈信息包括所述第一TCP老化时延值时,根据所述第一TCP老化时延值确定目标TCP老化时延值。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.
第五方面,提供了一种网络设备,所述网络设备包括: In a fifth aspect, a network device is provided, where the network device includes:
收发器,用于向数据中心发送查询消息,所述查询消息用于指示所述数据中心查询第一传输控制协议TCP老化时延值;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;
处理器,用于在所述反馈信息包括所述第一TCP老化时延值时,根据所述第一TCP老化时延值确定目标TCP老化时延值。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.
第六方面,提供了一种数据中心,所述数据中心包括:In a sixth aspect, a data center is provided, the data center comprising:
收发单元,用于接收探测装置发送的查询消息,所述查询消息指示数据中心查询第一传输控制协议TCP老化时延值;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;
处理单元,用于根据所述第一TCP老化时延值的查询结果,生成所述查询消息的反馈信息;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.
第七方面,提供了一种数据中心,所述数据中心包括:In a seventh aspect, a data center is provided, the data center comprising:
收发器,用于接收探测装置发送的查询消息,所述查询消息指示数据中心查询第一传输控制协议TCP老化时延值;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;
处理器,用于根据所述第一TCP老化时延值的查询结果,生成所述查询消息的反馈信息;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.
第八方面,提供了一种探测老化时延的系统,所述系统包括:In an eighth aspect, a system for detecting an aging delay is provided, the system comprising:
探测装置和数据中心;Detection device and data center;
其中,所述探测装置用于向数据中心发送查询消息,所述查询消息用于指示所述数据中心查询第一传输控制协议TCP老化时延值;接收所述数据中心发送的所述查询消息的反馈信息;在所述反馈信息包括所述第一TCP老化时延值时,根据所述第一TCP老化时延值确定目标TCP老化时延值。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. 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.
所述数据中心用于接收探测装置发送的查询消息,所述查询消息指示数据中心查询第一传输控制协议TCP老化时延值;根据所述第一TCP老化时延值的查询结果,生成所述查询消息的反馈信息;向所述探测装置发送所述反馈信息。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老化时延值对应的以下信息中的至少一项:In combination with the above aspects, in some possible designs, the retrieval information includes at least one of the following information corresponding to the target TCP aging delay value:
时间,国家,城市,网络类型,公共陆地移动网络PLMN,运营商名称,经度,纬度,探测装置标识,时区,互联网协议地址IP。Time, country, city, network type, public land mobile network PLMN, carrier name, longitude, latitude, detection device identification, time zone, internet protocol address IP.
附图说明DRAWINGS
图1是本发明实施例的应用场景示例性框架图。FIG. 1 is an exemplary framework diagram of an application scenario according to an embodiment of the present invention.
图2是本发明实施例的探测老化时延的方法的示意性流程图。FIG. 2 is a schematic flowchart of a method for detecting an aging delay according to an embodiment of the present invention.
图3是本发明实施例的探测老化时延的方法的另一示意性流程图。FIG. 3 is another schematic flowchart of a method for detecting an aging delay according to an embodiment of the present invention.
图4是本发明实施例的探测周期与实际TCP老化时延间关系的示意图。 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.
图5是本发明实施例的探测周期与实际TCP老化时延间关系的另一示意图。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.
图6是本发明实施例的探测老化时延的方法的另一示意性流程图。FIG. 6 is another schematic flowchart of a method for detecting an aging delay according to an embodiment of the present invention.
图7是本发明实施例的探测周期与实际TCP老化时延间关系的另一示意图。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.
图8是本发明实施例的探测周期与实际TCP老化时延间关系的另一示意图。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.
图9是本发明实施例的探测老化时延的方法的另一示意性流程图。FIG. 9 is another schematic flowchart of a method for detecting an aging delay according to an embodiment of the present invention.
图10是本发明实施例的确定探测周期的方法的示意性流程图。FIG. 10 is a schematic flowchart of a method for determining a detection period according to an embodiment of the present invention.
图11是本发明实施例的探测老化时延的方法的另一示意性流程图FIG. 11 is another schematic flowchart of a method for detecting an aging delay according to an embodiment of the present invention;
图12是本发明实施例的探测老化时延的装置的示意性框图。FIG. 12 is a schematic block diagram of an apparatus for detecting an aging delay according to an embodiment of the present invention.
图13是本发明实施例的探测老化时延的终端设备的示意性框图。FIG. 13 is a schematic block diagram of a terminal device for detecting an aging delay according to an embodiment of the present invention.
图14是本发明实施例的探测老化时延的网络设备的示意性框图。FIG. 14 is a schematic block diagram of a network device for detecting an aging delay according to an embodiment of the present invention.
图15是本发明实施例的数据中心的示意性框图。Figure 15 is a schematic block diagram of a data center in accordance with an embodiment of the present invention.
图16是本发明实施例的数据中心的另一示意性框图。16 is another schematic block diagram of a data center in accordance with an embodiment of the present invention.
图17是本发明实施例的探测老化时延系统的示意性框图。FIG. 17 is a schematic block diagram of a detection aging delay system according to an embodiment of the present invention.
图18是本发明实施例的探测老化时延系统的另一示意性框图。FIG. 18 is another schematic block diagram of a detection aging delay system according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in the present application will be described below with reference to the accompanying drawings.
图1是本发明实施例的应用场景示例性框架图。FIG. 1 is an exemplary framework diagram of an application scenario according to an embodiment of the present invention.
如图1所示,本发明实施例的探测老化时延的方法可以应用到包括多个网络通信系统的场景中。其中,每个网络通信系统包括对应的探测装置和探测服务器。As shown in FIG. 1, the method for detecting aging delay in the embodiment of the present invention can be applied to a scenario including multiple network communication systems. Wherein each network communication system includes a corresponding detecting device and a detecting server.
例如,第一探测装置通过和第一探测服务器进行信息交互,可以对第一网络的老化时延值进行探测。又例如,第二探测装置通过和第二探测服务器进行信息交互,可以对第二网络的老化时延值进行探测。For example, the first detecting device can detect the aging delay value of the first network by performing information interaction with the first detecting server. For another example, the second detecting device can detect the aging delay value of the second network by performing information interaction with the second detecting server.
如图1所示,本发明实施例的应用场景还包括TCP老化时延数据中心,该数据中心可以用于存储各个网络通信系统已经探测的历史TCP老化时延信息。以便于查询设备在需要了解网络通信系统例的当前TCP老化时延时,可以通过数据中心的历史TCP老化时延信息快速确定。As shown in FIG. 1 , 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. In order to query the device for the current TCP aging delay in the network communication system, the historical TCP aging delay information of the data center can be quickly determined.
应理解,本发明实施的第一网络和第二网络可以是各种网络通信系统。例如,全球移动通讯(Global System of Mobile communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、5G通信系统、LTE频分双工(Frequency Division Duplex,FDD)系统、LTE时分双工(Time Division Duplex,TDD)、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)等。It should be understood that the first network and the second network implemented by the present invention may be various network communication systems. For example, Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, general packet radio service (General Packet Radio Service, GPRS), 5G communication system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS) )Wait.
本发明实施例基于探测装置描述了各个实施例。探测装置可以配置在终端设备中,也可以配置在网络设备中。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.
终端设备包括但不限于用户设备(User Equipment,UE)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置,该终端设备可以经无线接入网(RAN,Radio Access Network)与一个或多个核心网进行通信,例如,该终端设备可以是蜂窝电话、无绳电话、会话启 动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,简称为“PDA”)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,未来5G网络中的终端设备或者未来演进的PLMN网络中的终端设备等。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.
网络设备可以是用于与终端设备进行通信的设备,网络设备可以包括基站或者具有基站功能的网络侧设备。例如,网络设备可以是GSM系统或CDMA中的基站(Base Transceiver Station,BTS),也可以是WCDMA系统中的基站(NodeB,NB),还可以是LTE系统中的演进型基站(Evolved Node B,eNB或eNodeB),或者网络设备可以为中继站、接入点、车载设备、可穿戴设备以及未来5G网络中的网络侧设备等。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. For example, 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). 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.
因此,本发明实施例的通信系统(探测装置和探测服务器可以在多个网络中部署,而所有的结果都可以汇总到数据中心)和交互流程(数据中心开放了接口,便于快速查询各个网络的测试结果),能够保证系统更快速和全面的获取各个网络的TCP老化时延,便于查询者更全面和深入的认知网络,从而更有效的开展网络规划和预测以及产品和解决方案的设计。Therefore, 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.
下面将结合具体实施例,对本发明实施例中的技术方案进行描述。The technical solutions in the embodiments of the present invention will be described below in conjunction with specific embodiments.
图2是本发明实施例的探测老化时延的方法100的示意性流程图。FIG. 2 is a schematic flowchart of a method 100 for detecting an aging delay according to an embodiment of the present invention.
如图2所示,该方法100包括:As shown in FIG. 2, the method 100 includes:
110、发送查询消息,该查询消息用于指示数据中心查询第一TCP老化时延值。110. Send a query message, where the query message is used to instruct the data center to query the first TCP aging delay value.
具体而言,探测装置向数据中心发送查询消息,该查询消息用于查询探测装置所在网络的第一TCP老化时延值。Specifically, 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.
本发明实施例中的第一TCP老化时延值可以是数据中心存储的该探测装置所在网络的历史TCP老化时延值,该第一TCP老化时延值可以是该探测装置自己探测的历史TCP老化时延值,也可以是其它探测装置探测的历史TCP老化时延值。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.
在本发明实施例中,探测装置通过数据中心查询第一TCP老化时延值,并基于该第一TCP老化时延值进行探测,能够有效提高探测效率。In the embodiment of the present invention, 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.
可选地,可以基于对象表示法(JavaScript Object Notation,JSON)或可扩展标记语言(Extensible Markup Language,XML)等格式构建消息。Alternatively, the message can be constructed based on a format such as Object Object Notation (JSON) or Extensible Markup Language (XML).
例如,采用JSON格式时各个消息如下所示:For example, when using the JSON format, the individual messages are as follows:
查询消息如下所示:The query message is as follows:
{"Query Key":"JKOEOJDJJ09EKULDGCDS",{"Query Key":"JKOEOJDJJ09EKULDGCDS",
"Query Info":["Query Info":[
“Country”:”China”,"Country": "China",
“City”:”Shanghai”,"City": "Shanghai",
“Network Type”:”4G”,"Network Type": "4G",
“PLMN”:”460XX”,"PLMN": "460XX",
“Longitude”:”121.48”,"Longitude": "121.48",
“Latitude”:”31.22”,]}"Latitude": "31.22",]}
其中,Query Key用于查询鉴权Key,数据中心基于该Key判断本次查询是否合法,由数据中心管理后台为调用者提供。查询关键字信息(Query Info),包含待测试客户端的PLMN,网络类型,国家,城市,经度,纬度等信息。 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.
应理解,本发明实施例的各个消息的具体形式并不限于本发明实施例中的具体形式,还可以是其它字段形式。It should be understood that the specific form of each message of the embodiment of the present invention is not limited to the specific form in the embodiment of the present invention, and may be other field forms.
120、根据该第一TCP老化时延值的查询结果,生成反馈信息。120. Generate feedback information according to the query result of the first TCP aging delay value.
具体而言,数据中心根据探测装置发送的查询消息查询第一TCP老化时延值,并基于该第一TCP老化时延值的查询结果生成查询消息的反馈信息。例如,数据中心查询到该第一TCP老化时延值时,根据该第一TCP老化时延值生成反馈信息。Specifically, 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.
可选的,该查询消息包括检索信息,数据中心根据检测信息查询第一TCP老化时延值。Optionally, the query message includes the search information, and the data center queries the first TCP aging delay value according to the detection information.
可选地,该检索信息包括以下信息中的至少一项:探测时间,国家,城市,网络类型,公共陆地移动网络(Public Land Mobile Network,PLMN),运营商名称,经度,纬度,探测装置标识,时区,互联网协议(Internet Protocol,IP)地址。Optionally, 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.
例如,如表1所示,数据中心可以构建如下表所示的数据表。探测装置将携带有检索信息的查询消息时,可以根据下表选出查询设备指定网络或者指定区域的第一TCP老化时延值。For example, as shown in Table 1, the data center can construct a data table as shown in the following table. When the detecting device is to carry the query message for retrieving information, 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.
表1Table 1
Figure PCTCN2017071518-appb-000001
Figure PCTCN2017071518-appb-000001
具体而言,探测装置将测试时间,国家,TCP老化时延等信息上报给探测服务器,探测服务器上报给数据中心,数据中心构建如表1的数据表进行存储,进而在接收到查询设备发送的查询消息时,能够为该查询设备提供指定网络或指定区域的第一TCP老化时延值。Specifically, 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. When the message is queried, the first TCP aging delay value of the specified network or the specified area can be provided for the querying device.
例如,该查询消息的反馈信息如下所示:For example, the feedback for this query message is as follows:
{"Status":"OK", {"Status": "OK",
"Reason":"NA","Reason": "NA",
"TCP Aging Latency":"2100"}"TCP Aging Latency": "2100"}
其中,Status用于说明状态,OK代表正常,Failed代表失败。Reason用于说明失败原因,如果成功内容为“NA”;否则,填写失败的原因。TCP老化时延(TCP Aging Time),如果Status为OK,该字段有效,否则无效,单位:s。Where Status is used to describe the status, OK is normal, and Failed is the failure. Reason is used to indicate the reason for the failure, if the success content is "NA"; otherwise, fill in the reason for the failure. TCP Aging Time. If Status is OK, this field is valid. Otherwise, it is invalid. Unit: s.
本发明实施例的数据表结构设计,便于数据统计从而提升TCP老化时延数据的准确性并保证数据查询的有效性。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.
应理解,表1仅示例性描述了数据中心数据表的设计方式和检索信息,本发明实施例对其具体形式不作限定。例如,数据中心还可以以图形或者其它形式进行存储。又例如,检索信息还可以包括查询消息的类型等等。It should be understood that 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. For example, a data center can also be stored in a graphical or other form. As another example, the retrieval information may also include the type of the query message and the like.
130、发送该反馈信息。130. Send the feedback information.
具体而言,数据中心向探测装置发送该查询消息的反馈信息,即,探测装置接收数据中心发送的反馈信息。Specifically, 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.
140、在该反馈信息包括第一TCP老化时延值时,根据该第一TCP老化时延值确定目标TCP老化时延值。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.
具体而言,目标TCP老化时延值可以是探测装置和探测服务器之间的当前网络的实际TCP老化时延值。探测装置接收反馈信息,在该反馈信息包括第一TCP老化时延值时,探测装置根据该第一TCP老化时延值确定目标TCP老化时延值。Specifically, 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. When 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.
为了便于理解本发明实施例,下面对有关本发明实施例的一些术语进行说明。In order to facilitate an understanding of embodiments of the present invention, some terms related to embodiments of the present invention are described below.
探测周期(Detection Period),探测装置接收探测服务器发送的第i次周期通知消息的反馈信息的时刻,与探测装置向该探测服务器发送第i次探测消息的时刻之间的时间差,单位:秒(s)。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).
例如,第一探测周期指探测装置接收探测服务器发送的第1次周期通知消息的反馈信息的时刻,与探测装置向该探测服务器发送第1次探测消息的时刻之间的时间差。For example, 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),第i+1探测周期和第i探测周期的差值绝对值,单位:秒(s)。Detection Step, the absolute value of the difference between the i+1th detection period and the ith detection period, in seconds (s).
探测结果(Current Detection Result),探测装置向探测服务器发送探测消息后,探测服务器的响应情况,如果在规定时间内(探测服务器响应超时定时器)收到探测服务器响应消息,为成功,否则为失败,初始为空。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.
例如,第一探测周期对应的第一结果可以指探测装置对第一探测周期的探测结果。For example, 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),已经发起的探测数目,初始值设为0。Detection Num, the number of probes that have been initiated, and the initial value is set to zero.
探测成功次数(Detection Success Num),已经发起的探测中,探测结果为成功的次数,初始值为0。Detection Success Num. In the probe that has been initiated, the detection result is the number of successes, and the initial value is 0.
探测失败次数(Detection Failed Num),已经发起的探测中,探测结果为失败的次数,初始值为0。Detection Failed Num. In the probe that has been initiated, the detection result is the number of failures. The initial value is 0.
图3是本发明实施例的探测老化时延的方法的示意性流程图。FIG. 3 is a schematic flowchart of a method for detecting an aging delay according to an embodiment of the present invention.
如图3所示,探测装置向探测服务器发送第i次探测周期的通知消息,用于通知探测服务器即将发起的探测周期是多少,便于探测服务器进行TCP管理;接收探测服务器对该第i次探测周期的反馈消息;探测装置接收到探测周期的反馈消息后,启动定时器,该定时器的时间为第i次探测周期的时长;当定时器超时后,探测装置向探测服务器发 送第i次探测消息,用来判断TCP会话是否已经被防火墙清理。As shown in FIG. 3, 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.
具体地,当TCP会话没有被防火墙清理时,探测服务器向探测装置发送该第i次探测消息的反馈信息;当TCP会话已经被防火墙清理时,探测服务器不会向探测装置发送该第i次探测消息的反馈信息。Specifically, 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.
可选地,设置从探测装置发送探测周期通知消息到收到探测服务器响应的时间间隔门限,用于判断基于本次探测周期的探测结果。Optionally, setting a time interval threshold from the detecting device sending the sounding period notification message to receiving the detecting server response, and determining the detection result based on the current detecting period.
例如,该时间间隔门限设定为1.5(s)。For example, the time interval threshold is set to 1.5 (s).
需要注意的是,探测装置在探测目标TCP老化时延值的过程中,可以通过探测步长改变第i次探测周期的时长,确定出第i+1次探测周期的时长进行重新探测,确定出当前网络的TCP老化时延值,即目标TCP老化时延值。如果某次测试失败没有收到探测服务器的响应,则重新建立TCP连接,继续进行探测,直到确定目标TCP老化时延值。It should be noted that, in the process of detecting the target TCP aging delay value, 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.
例如,当第i次探测周期的探测结果成功,且第i+1次探测周期的探测结构失败时;或者,当第i次探测周期的探测结果失败,且第i+1次探测周期的探测结构成功时;意味着目标TCP老化时延值在第i次探测周期和第i+1次探测周期之间。For example, when 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 When 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.
应理解,图3示例性的体现了第i次探测周期和第i+1次探测周期的关系。如图3所示,第i次探测周期的探测结果成功,则第i+1次探测周期等于第i次探测周期加探测步长。但不发明实施例不限定于此。例如,当第i次探测周期的探测结果失败时,第i+1次探测周期等于第i次探测周期减探测步长。It should be understood that FIG. 3 exemplarily embodies the relationship between the ith detection period and the i+1th detection period. As shown in FIG. 3, if the detection result of the i-th detection period is successful, the i+1th detection period is equal to the i-th detection period plus the detection step size. However, 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.
可选地,本发明实施例的探测交互过程中消息形式如下所示:Optionally, 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:
{"MsgType":"Detect Period Notify",{"MsgType":"Detect Period Notify",
"Detect Period":”2000"}"Detect Period": "2000"}
探测消息如下所示:The probe message is as follows:
{"MsgType":"Detect Msg",{"MsgType":"Detect Msg",
"Detect Req Content":"Hello Server!"}"Detect Req Content": "Hello Server!"}
其中,消息类型(MsgType),包括探测消息(Detect Msg),探测周期通知消息(Detect Period Notify)和探测结果回传消息(Test Result Msg),探测结果回传消息用于存储或者更新当前网络的TCP老化时延值。可选地,探测请求内容(Detect Req Content)默认填写为“Hello Server!”。探测周期(Detect Period)单位:s。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.
在一个实施例中,探测装置可以通过查询消息在数据中心查询当前网络的历史TCP老化时延值,即第一TCP老化时延值,并可以根据该第一TCP老化时延值确定当前TCP老化时延值,能够有效提高探测效率。In an embodiment, 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.
可选地,将该第一TCP老化时延值确定为第一探测周期;根据该第一探测周期对应的第一结果和第二探测周期对应的第二结果,确定该目标TCP老化时延值。Optionally, 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.
具体而言,网络中实际的TCP老化时延不会突然发生变化,当探测装置通过数据中心能够查询到该网络的第一老化时延值时,探测步长选择初始探测步长,发起两次探测,探测装置根据这两次的探测结果确定当前网络的实际TCP老化时延值。Specifically, the actual TCP aging delay in the network does not change suddenly. When 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.
例如,如图4所示,在该第一结果成功,该第二结果失败时,该探测装置将该第一 探测周期确定为该目标TCP老化时延值。For example, as shown in FIG. 4, 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.
换句话说,历史TCP老化时延没有发生变化,直接将从数据中心查询到的第一TCP老化时延值确定为目标TCP老化时延值。In other words, 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.
又例如,如图5所示,在该第一结果失败,该第二结果成功时,该探测装置将该第二探测周期确定为该目标TCP老化时延值。For another example, as shown in FIG. 5, when the first result fails, and the second result is successful, the detecting device determines the second detection period as the target TCP aging delay value.
换句话说,历史TCP老化时延和当前网络的TCP老化时延值相差较小,直接将从第二TCP老化时延值确定为目标TCP老化时延值。In other words, 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.
应理解,本发明实施例中的初始探测步长可以是用户设置的,也可以是系统配置。可选地,该初始探测步长为60(s)、70(s)、80(s)等等。It should be understood that the initial detection step size in the embodiment of the present invention may be set by a user, or may be a system configuration. Optionally, the initial probe step size is 60 (s), 70 (s), 80 (s), and the like.
图6是本发明实施例的探测老化时延的另一示意性流程图。FIG. 6 is another schematic flowchart of detecting an aging delay according to an embodiment of the present invention.
如图6所示,探测装置和探测服务器建立TCP连接,并将从数据中心查询到的第一TCP老化时延值确定为第一探测周期进行探测。若第一探测周期的探测结果成功,则确定第二探测周期等于第一探测周期加初始探测步长,并进行第二探测周期的探测,若第二探测周期的探测结果失败,则确定第一探测周期为目标TCP老化时延。若第一探测周期的探测结果失败,则确定第二探测周期等于第一探测周期减初始探测步长,并进行第二探测周期的探测,若第二探测周期的探测结果成功,则确定第二探测周期为目标TCP老化时延。若出现其他情况,则确定第一探测步长和/或第二探测步长进行探测,并根据第一探测步长和/或第二探测步长重新探测。其中,有关第一探测步长和第二探测步长的具体实施例在下文进行说明。As shown in FIG. 6, 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. If 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.
在另一个实施例中,探测装置通过查询消息在数据中心查询不到当前网络的历史TCP老化时延值,即数据中心反馈的信息中没有该历史TCP老化时延值,即第一TCP老化时延值。In another embodiment, 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.
可选地,探测装置根据第一探测周期确定该目标TCP老化时延值。Optionally, the detecting device determines the target TCP aging delay value according to the first detection period.
本发明实施例中,在探测装置通过查询消息查询到第一TCP老化时延值时,第一探测周期即为TCP老化时延值,在探测装置通过查询消息查询不到第一TCP老化时延值时,该第一探测周期可以是通过用户设置,也可以是系统预配置,本发明实施例不作具体的限定。可选地,该第一探测周期为1500(s)。In the embodiment of the present invention, when the detecting device queries the first TCP aging delay value by using the query message, 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. Optionally, the first detection period is 1500 (s).
具体而言,探测装置根据该第一探测周期和第一探测步长确定第二探测周期,该第一探测步长大于该初始探测步长;根据该第一结果和该第二探测周期对应第二结果,确定该目标TCP老化时延值。Specifically, 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.
应理解,在探测装置通过查询消息查询不到第一TCP老化时延值时,该第一探测周期与当前网络实际TCP老化时延值相比,可能相差过大,使得探测装置需要探测很多次才能确定出目标TCP老化时延值。It should be understood that 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.
例如,如图7所示,第i次探测周期和第i+1次探测周期远远大于当前网络实际的TCP老化时延值。For example, as shown in FIG. 7, the ith detection period and the ith +1 detection period are far greater than the actual TCP aging delay value of the current network.
又例如,如图8所示,第i次探测周期和第i+1次探测周期远远小于当前网络实际的TCP老化时延值。For another example, as shown in FIG. 8, the ith detection period and the ith +1 detection period are far smaller than the actual TCP aging delay value of the current network.
为了解决上述问题,有效提高探测装置的探测效率。 In order to solve the above problem, the detection efficiency of the detecting device is effectively improved.
可选地,在该第一结果失败时,探测装置确定该第二探测周期等于该第一探测周期减第一探测步长;或者,在该第一结果成功时,确定该第二探测周期等于该第一探测周期加第一探测步长。Optionally, when the first result fails, 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.
在本发明实施例中,通过第一探测步长设置第二探测周期,能够快速逼近当前网络的实际TCP老化时延值,进而确定出目标TCP老化时延值,有效提升了探测效率。In the embodiment of the present invention, 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.
但是,由于通过第一探测步长设置第二探测周期时,相邻两次探测周期的差值过大,造成最终探测结果可能会不够精确。However, since the difference between two adjacent detection periods is too large when the second detection period is set by the first detection step, the final detection result may be insufficiently accurate.
因此,在本发明实施例中,可选地,探测装置可以第二探测周期的探测结果确定第三探测周期,具体而言,探测装置可以第二探测周期的探测结果,在确定第三探测周期的过程中继续采用第一探测步长还是采用第二探测步长,该第二探测步长的时长小于第一探测步长的时长。Therefore, in the embodiment of the present invention, 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.
例如,若该第一结果成功,该第二结果失败;或者,该第一结果失败,该第二结果成功;根据该第二探测周期和第二探测步长确定第三探测周期,该第二探测步长小于该第一探测步长。For example, if the first result is successful, 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.
又例如,若该第一结果和该第二结果失败,或者,该第一结果和该第二结果成功;根据该第二探测周期和该第一探测步长确定第三探测周期;根据该第二结果和该第三探测周期对应第三结果,确定该目标TCP老化时延值。For another example, if 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.
具体地,在失败时,确定该第二探测周期等于该第一探测周期减第一探测步长;在成功时,确定该第二探测周期等于该第一探测周期加该第一探测步长。Specifically, when the failure occurs, determining that the second detection period is equal to the first detection period minus the first detection step; and when successful, determining that the second detection period is equal to the first detection period plus the first detection step.
在本发明实施例中,探测装置通过第二探测步长确定第三探测周期,能够有效减小第三探测周期与实际TCP老化时延值之间的差距,进而有效提高了目标TCP老化时延值的准确度。In the embodiment of the present invention, 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.
可选地,该第二探测步长小于第一阈值;在该第二结果成功,该第三结果失败时,将该第二探测周期确定为该目标TCP老化时延值;或者,在该第二结果失败,该第三结果成功时,将该第三探测周期确定为该目标TCP老化时延值。Optionally, 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. When the third result is successful, the third detection period is determined as the target TCP aging delay value.
图9是本发明实施例的探测老化时延的示意性流程图。FIG. 9 is a schematic flowchart of detecting an aging delay according to an embodiment of the present invention.
如图9所示,探测装置和探测服务器建立TCP连接,并确定本次探测周期;若探测次数大于第二阈值或探测步长小于第一阈值,则直接将本次的探测结果确定为目标TCP老化时延值;若探测次数小于或等于第二阈值或探测步长大于或等于第一阈值,则和探测服务器进行探测周期交互,在交互成功并接收到探测周期通知消息的响应消息时,该探测装置启动定时器,并在定时器到时时发送探测消息;计算当前探测结果,刷新探测次数,探测成功次数,探测失败次数;该探测装置确定进行下一探测周期的探测还是直接确定目标TCP老化时延值。As shown in FIG. 9, 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. If the number of detections is less than or equal to the second threshold or the detection step is greater than or equal to the first threshold, 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.
应理解,图9只是示例性的说明了本发明实施例的探测老化时延的方法,但本发明实施例不限于此。例如,当探测次数等于第二阈值或探测步长等于第一阈值时,也可以继续进行下一探测周期的探测。It should be understood that 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. For example, when the number of probes is equal to the second threshold or the probe step is equal to the first threshold, the detection of the next probe period may also be continued.
还应理解,本发明实施例中的第一阈值和第二阈值可以是用户进行设置,也可以是系统预配置的。可选地,第一阈值可以是60(ms)、55(ms)、50(ms)等。可选地,第二阈值可以是20(Times),18(Times)等。It should also be understood that the 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. Alternatively, the first threshold may be 60 (ms), 55 (ms), 50 (ms), and the like. Optionally, the second threshold may be 20 (Times), 18 (Times), and the like.
图10是本发明实施例的确定探测周期的方法的示意性流程图。 FIG. 10 is a schematic flowchart of a method for determining a detection period according to an embodiment of the present invention.
如图10所示,探测装置通过记录的探测次数确定使用第一探测周期采用预设的初始探测周期还是根据上次探测周期和探测步长确定本次探测周期。换句话说,若本次探测为第一次探测,则将初始探测周期确定为第一探测周期,若本次探测不是第一次探测,则根据上次探测周期和探测步长确定本次探测周期。As shown in FIG. 10, 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.
若本次探测不是第一次探测,该探测装置通过记录的探测成功次数或者探测失败次数,确定本次探测周期使用第一探测步长还是第二探测步长,该第一探测步长小于该第二探测步长。换句话说,该探测装置根据探测的记录确定使用较小的探测步长还是较大的探测步长。If the detection is not the first detection, 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.
例如,若探测成功次数为0或者探测失败此时为0,即前面的探测结果均失败或者均成功,则说明当前网络实际的TCP老化时延值与上次探测周期可能还较远,因此,采用较大的探测步长,即第一探测步长,否则采用第二探测步长。For example, if the number of successful probes is 0 or the probe fails to be 0, that is, the previous detection results are all successful or successful, 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.
如图1所示,本发明实施例的探测老化时延的方法还包括:As shown in FIG. 1 , the method for detecting aging delay in the embodiment of the present invention further includes:
150、确定TCP老化时延信息,该TCP老化时延信息包括该目标TCP老化时值和该目标TCP老化时值对应的检索信息。And determining the TCP aging delay information, where the TCP aging delay information includes the search information corresponding to the target TCP aging time value and the target TCP aging time value.
具体而言,探测装置向探测服务器回传探测结果。即探测装置确定TCP老化时延信息,该TCP老化时延信息包括该目标TCP老化时值和该目标TCP老化时值对应的检索信息。以便探测服务器向数据中心发送该TCP老化时延信息。Specifically, 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.
可选地,TCP老化时延信息如下所示:Optionally, the TCP aging delay information is as follows:
{"MsgType":"Test Result Msg",{"MsgType":"Test Result Msg",
"Test Result":["Test Result":[
“Test Time”:”2016-08-17 14:47:30.876”,"Test Time": "2016-08-17 14:47:30.876",
“Country”:”China”,"Country": "China",
“City”:”Shanghai”,"City": "Shanghai",
“Network Type”:”4G”,"Network Type": "4G",
“PLMN”:”460XX”,"PLMN": "460XX",
“Carrier”:”CXXX”,"Carrier": "CXXX",
“TCP Aging Time”:”2100”,"TCP Aging Time": "2100",
“Longitude”:”121.48”,"Longitude": "121.48",
“Latitude”:”31.22”,"Latitude": "31.22",
“Detect Client ID”:”KIJUK980UKEJDJL&@O”,"Detect Client ID": "KIJUK980UKEJDJL&@O",
“Time Zone”:”8”,"Time Zone": "8",
“External IP”:”2x1.xx6.xx.25”]}"External IP": "2x1.xx6.xx.25"]}
探测服务器响应消息如下所示:The probe server response message is as follows:
{"Status":"OK",{"Status": "OK",
"Reason":"NA"}"Reason": "NA"}
其中,探测结果(Test Result)包含测试时间,国家,城市,网络类型,PLMN,运营商名称,TCP老化时延(单位:s),经度,纬度,探测装置标识,时区,外网IP地址等信息。Status用于说明状态,OK代表正常,Failed代表失败。Reason用于说明失败原因,如果成功内容为“NA”;否则,填写探测失败的原因。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.
160、发送该TCP老化时延信息。 160. Send the TCP aging delay information.
具体而言,探测装置向探测服务器发送该TCP老化时延信息,以便数据中心进行存储或者更新历史数据。Specifically, the detecting device sends the TCP aging delay information to the probe server, so that the data center stores or updates the historical data.
应理解,图10仅示例性的说明了探测装置确定探测周期的方法,但本发明实施例不限定于此,例如,探测装置还可以根据其它信息确定本次探测周期。It should be understood that 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. For example, the detecting device may further determine the current detecting period according to other information.
图11是本发明实施例的探测老化时延的方法的另一示意性流程图。FIG. 11 is another schematic flowchart of a method for detecting an aging delay according to an embodiment of the present invention.
210、获取第一TCP老化时延值。210. Acquire a first TCP aging delay value.
220、根据第一TCP老化时延值确定目标TCP老化时值。220. Determine a target TCP aging time value according to the first TCP aging delay value.
230、确定TCP老化时延信息,该TCP老化时延信息包括目标TCP老化时值和该目标TCP老化时值对应的检索信息。230. Determine TCP aging delay information, where the TCP aging delay information includes the target TCP aging time value and the retrieval information corresponding to the target TCP aging time value.
240、发送该TCP老化时延信息。240. Send the TCP aging delay information.
250、发送该TCP老化时延信息。250. Send the TCP aging delay information.
260、查询第一TCP老化时延值。260. Query the first TCP aging delay value.
具体而言,探测装置、探测服务器和数据中心之间进行消息交互并进行老化时延探测得到目标TCP老化时延值;探测装置将探测得到目标TCP老化时延值对应的TCP老化时延信息回传给数据中心进行数据存储;查询设备可以直接调用数据中心开放的接口,读取指定的TCP老化时延值。Specifically, 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.
应理解,图11仅示意性的体现了探测装置、探测服务器和数据中心之间的交互过程。上述210至260的具体实现方式在上述实施例中已做了详细说明,为避免重复,在此不做赘述。It should be understood that 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.
上面结合图1至图11描述了本发明实施例的探测老化时延的方法。下面结合图12至图18描述本发明实施例的探测老化时延的装置、终端设备、网络设备和系统。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.
图12是本发明实施例的探测老化时延的装置300的示意性框图。FIG. 12 is a schematic block diagram of an apparatus 300 for detecting an aging delay according to an embodiment of the present invention.
如图12所示,该装置300包括:As shown in FIG. 12, the apparatus 300 includes:
收发单元310,用于向数据中心发送查询消息,该查询消息用于指示数据中心查询第一传输控制协议TCP老化时延值;接收该数据中心发送的该查询消息的反馈信息。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.
处理单元320,用于在该反馈信息包括该第一TCP老化时延值时,根据该第一TCP老化时延值确定目标TCP老化时延值。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.
可选地,该处理单元320具体用于:将该第一TCP老化时延值确定为第一探测周期;根据该第一探测周期对应的第一结果和第二探测周期对应的第二结果,确定该目标TCP老化时延值。Optionally, 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.
可选地,该处理单元320具体用于:在该第一结果成功,该第二结果失败时,将该第一探测周期确定为该目标TCP老化时延值;或者,在该第一结果失败,该第二结果成功时,将该第二探测周期确定为该目标TCP老化时延值。Optionally, 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. When the second result is successful, the second detection period is determined as the target TCP aging delay value.
可选地,在该反馈信息不包括该第一TCP老化时延值时,该处理单元320用于:根据第一探测周期确定该目标TCP老化时延值。Optionally, when the feedback information does not include the first TCP aging delay value, the processing unit 320 is configured to: determine the target TCP aging delay value according to the first detection period.
可选地,该处理单元320具体用于:根据该第一探测周期和第一探测步长确定第二探测周期,该第一探测步长大于该初始探测步长;根据该第一结果和该第二探测周期对应第二结果,确定该目标TCP老化时延值。 Optionally, 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.
可选地,该处理单元320具体用于:在该第一结果失败时,确定该第二探测周期等于该第一探测周期减第一探测步长;或者,在该第一结果成功时,确定该第二探测周期等于该第一探测周期加该第一探测步长。Optionally, 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.
可选地,该第一结果和该第二结果失败,或者,该第一结果和该第二结果成功。Optionally, the first result and the second result fail, or the first result and the second result are successful.
该处理单元320具体用于:根据该第二探测周期和该第一探测步长确定第三探测周期;根据该第二结果和该第三探测周期对应第三结果,确定该目标TCP老化时延值。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.
可选地,该第一结果成功,该第二结果失败;或者,该第一结果失败,该第二结果成功。Optionally, the first result is successful, and the second result is failed; or the first result is failed, and the second result is successful.
该处理单元320具体用于:根据该第二探测周期和第二探测步长确定第三探测周期,该第二探测步长小于该第一探测步长;根据该第二结果和该第三探测周期对应第三结果,确定该目标TCP老化时延值。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.
可选地,该第二探测步长小于第一阈值。Optionally, the second detection step size is smaller than the first threshold.
该处理单元320具体用于:在该第二结果成功,该第三结果失败时,将该第二探测周期确定为该目标TCP老化时延值;或者,在该第二结果失败,该第三结果成功时,将该第三探测周期确定为该目标TCP老化时延值。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.
可选地,该第一探测步长等于该初始探测步长的两倍,该初始探测步长等于该第二探测步长的两倍。Optionally, the first detection step is equal to twice the initial detection step, and the initial detection step is equal to twice the second detection step.
可选地,该处理单元320还用于:确定TCP老化时延信息,该TCP老化时延信息包括该目标TCP老化时延值和该目标TCP老化时延值对应的检索信息;该收发单元310还用于向该数据中心对应的探测服务器发送该TCP老化时延信息。Optionally, 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.
可选地,该检索信息包括该目标TCP老化时延值对应的以下信息中的至少一项:时间,国家,城市,网络类型,公共陆地移动网络PLMN,运营商名称,经度,纬度,探测装置标识,时区,互联网协议地址IP。Optionally, 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.
应注意,本发明实施例中,收发单元310可由收发器实现,处理单元320可以由处理器实现。It should be noted that, in the embodiment of the present invention, the transceiver unit 310 can be implemented by a transceiver, and the processing unit 320 can be implemented by a processor.
例如,如图13所示,终端设备400可以包括处理器410、收发器420和存储器430。其中,存储器430可以用于存储指示信息,还可以用于存储处理器410执行的代码、指令等。终端设备400中的各个组件通过总线系统相连,其中,总线系统除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。For example, as shown in FIG. 13, 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.
又例如,如图13所示,网络设备500可以包括处理器510、收发器520和存储器530。其中,存储器530可以用于存储指示信息,还可以用于存储处理器510执行的代码、指令等。网络设备500中的各个组件通过总线系统相连,其中,总线系统除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。For another example, as shown in FIG. 13, 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.
图13和图14所示的终端设备400和网络设备500能够实现前述图1至图11的方法实施例中由探测装置所实现的各个过程,为避免重复,这里不再赘述。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.
图15是本发明实施例的数据中心600的示意性框图。Figure 15 is a schematic block diagram of a data center 600 in accordance with an embodiment of the present invention.
如图15所示,该数据中心600包括:As shown in FIG. 15, the data center 600 includes:
收发单元610,用于接收探测装置发送的查询消息,所述查询消息指示数据中心查询第一传输控制协议TCP老化时延值;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;
处理单元620,用于根据所述第一TCP老化时延值的查询结果,生成所述查询消息 的反馈信息。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.
所述收发单元610还用于向所述探测装置发送所述反馈信息。The transceiver unit 610 is further configured to send the feedback information to the detecting device.
可选地,在查询到所述第一TCP老化时延值时,所述处理单元620具体用于:根据所述第一TCP老化时延值生成所述反馈信息,其中,所述反馈信息包括所述第一TCP老化时延值。Optionally, when the first TCP aging delay value is queried, 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.
可选地,所述收发单元610还用于:接收探测服务器发送的TCP老化时延信息,所述老化时延信息包括目标TCP老化时延值和所述目标TCP老化时延值对应的检索信息。Optionally, 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. .
可选地,该检索信息包括该目标TCP老化时延值对应的以下信息中的至少一项:时间,国家,城市,网络类型,公共陆地移动网络PLMN,运营商名称,经度,纬度,探测装置标识,时区,互联网协议地址IP。Optionally, 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.
应注意,本发明实施例中,收发单元610可由收发器实现,处理单元620可以由处理器实现。如图16所示,数据中心700可以包括处理器710、收发器720和存储器730。其中,存储器730可以用于存储指示信息,还可以用于存储处理器710执行的代码、指令等。数据中心700中的各个组件通过总线系统相连,其中,总线系统除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。It should be noted that, in the embodiment of the present invention, the transceiver unit 610 can be implemented by a transceiver, and the processing unit 620 can be implemented by a processor. As shown in FIG. 16, 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.
图16所示的数据中心700能够实现前述图1至图11的方法实施例中由数据中心所实现的各个过程,为避免重复,这里不再赘述。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.
图17是本发明实施例的探测老化时延的系统800的示意性框图。17 is a schematic block diagram of a system 800 for detecting aging delays in accordance with an embodiment of the present invention.
如图17所示,该系统800包括探测装置810、数据中心820。As shown in FIG. 17, the system 800 includes a detection device 810, a data center 820.
其中,该探测装置810用于:向数据中心820发送查询消息,该查询消息用于指示该数据中心820查询第一传输控制协议TCP老化时延值;接收该数据中心820发送的该查询消息的反馈信息;在该反馈信息包括该第一TCP老化时延值时,根据该第一TCP老化时延值确定目标TCP老化时延值。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.
其中,数据中心820用于:接收探测装置发送的查询消息,所述查询消息指示该数据中心820查询第一传输控制协议TCP老化时延值;根据所述第一TCP老化时延值的查询结果,生成所述查询消息的反馈信息;向所述探测装置发送所述反馈信息。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.
可选地,在该反馈信息不包括该第一TCP老化时延值时,该探测装置810还用于:根据第一探测周期确定该目标TCP老化时延值。Optionally, when the feedback information does not include the first TCP aging delay value, the detecting apparatus 810 is further configured to: determine the target TCP aging delay value according to the first detection period.
可选地,该系统还包括:查询设备830,用于查询该数据中心820的第一TCP老化时延值。Optionally, the system further includes: a querying device 830, configured to query a first TCP aging delay value of the data center 820.
应注意,图17所示的系统800能够实现前述图1至图11的方法实施例中由探测装置和数据中心所实现的各个过程,其中,探测装置810可以是图12所示的装置300、图13所示的终端设备400或者图15所示的网络设备500,数据中心可以是图16所示的数据中心600或者数据中心700,为避免重复,这里不再赘述。It should be noted that 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. For the terminal device 400 shown in FIG. 13 or the network device 500 shown in FIG. 15, 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.
还应注意,以上所描述的装置实施例仅是示意性的,具体而言,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。又例如,一个单元或组件可以分为多个子单元。It should also be noted that 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.
图18是本发明实施例的探测老化时延的系统的另一示意性框图。FIG. 18 is another schematic block diagram of a system for detecting aging delay according to an embodiment of the present invention.
例如,如图18所示,探测装置可以包括:探测算法模块、消息交互模块、无线网络 信息获取模块和数据库模块。For example, as shown in FIG. 18, the detecting apparatus may include: a detecting algorithm module, a message interaction module, and a wireless network. Information acquisition module and database module.
其中,探测算法模块用于:实现探测算法。具体地,TCP老化时延探测期间,设定算法中的变量取值,并完成算法流程,同探测服务器完成探测得到TCP老化时延。消息交互模块用于:构建,发送,接收和解析消息。具体地,根据探测算法模块的驱动,构造和向服务器以及数据中心发送算法流程所需要的请求消息,并解析接收到的消息,然后将内容传递给探测算法模块;测试结束后,将测试结果回传给服务器。无线网络信息获取模块用于:获取无线网络信息获取PLMN,网络类型,经纬度等信息,并同本次测试得到TCP老化时延数据进行关联。数据库模块用于:存储和管理数据。具体地,提供数据管理的方法,用于其它模块的调用,并存储探测装置所获取的数据。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.
又例如,如图18所示,探测服务器包括:探测算法模块、消息交互模块、TCP管理模块和数据库模块。For another example, as shown in FIG. 18, the probe server includes: a probe algorithm module, a message interaction module, a TCP management module, and a database module.
其中,探测算法模块用于:实现探测算法。具体地,配合探测装置的探测算法模块,完成探测算法流程,获取TCP老化时延。消息交互模块用于:构建,发送,接收和解析消息。具体地,接收探测装置的请求消息并完成解析,将内容传递给探测算法模块,根据探测算法模块的驱动构建响应消息给探测装置;接收探测装置发送的测试结果;定时或实时将测试结果回传到数据中心。TCP管理模块用于:管理TCP会话信息。具体地,根据探测周期,对TCP会话信息进行处理。数据库模块用于:存储和管理数据。具体地,提供数据管理的方法,用于其它模块的调用,并存储探测装置回传的数据。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.
又例如,如图18所示,数据中心可以包括For another example, as shown in FIG. 18, the data center may include
统计分析模块用于:数据清洗,规范化处理。具体地,基于测试时间,PLMN等信息对测试结果进行数据清洗,规范化,从而提升TCP老化时延的准确性。消息交互模块用于:构建,发送,接收和解析消息。具体地,接收和解析查询消息,将内容传递给查询模块,并将查询结果构造为响应消息返回给查询方;接收探测服务器回传的测试结果。数据查询模块用于:提供查询结果。具体地,根据查询方的请求内容,调用数据库模块完成数据的查找,并将结果返回到消息交互模块。后台管理模块用于:后台配置和管理。具体地,提供数据中心的运维功能,数据量的统计分析和可视化,查询接口鉴权Key的管理等功能。数据库模块用于:存储和管理数据。具体地,提供数据管理的方法,用于其它模块的调用,并存储探测服务器回传的数据。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. Specifically, the operation and maintenance function of the data center, the statistical analysis and visualization of the data amount, and the management of the interface authentication key are provided. 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 terms used in the embodiments of the present invention and the appended claims are intended to be illustrative only and not to limit the embodiments of the invention.
例如,本发明实施例中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系。具体地,A和/或B可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。For example, 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.
又例如,在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。And "the" and "the"
又例如,在本发明实施例中可能采用术语第一、第二、第三等来描述各种消息、请求和终端,但这些消息、请求和终端不应限于这些术语。这些术语仅用来将消息、请求和终端彼此区分开。例如,在不脱离本发明实施例范围的情况下,第一终端也可以被称为第二终端,类似地,第二终端也可以被称为第一终端。 For another example, the terms 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. For example, a first terminal may also be referred to as a second terminal without departing from the scope of the embodiments of the present invention. Similarly, the second terminal may also be referred to as a first terminal.
又例如,取决于语境,如在此所使用的词语“如果”或“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Also for example, depending on the context, 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" ". Similarly, depending on the context, 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)".
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明实施例的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the embodiments of the invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例的目的。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.
另外,在本发明实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, 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.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,探测服务器,或者网络设备等)执行本发明实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。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. .
以上内容,仅为本发明实施例的具体实施方式,但本发明实施例的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明实施例揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明实施例的保护范围之内。因此,本发明实施例的保护范围应所述以权利要求的保护范围为准。 The above is only a specific embodiment of the embodiments of the present invention, but the scope of protection of the embodiments of the present invention is not limited thereto, and any person skilled in the art can easily think of the technical scope disclosed in the embodiments of the present invention. Variations or substitutions are intended to be included within the scope of the embodiments of the invention. Therefore, the scope of protection of the embodiments of the present invention should be determined by the scope of the claims.

Claims (30)

  1. 一种探测老化时延的方法,其特征在于,所述方法包括:A method for detecting an aging delay, the method comprising:
    向数据中心发送查询消息,所述查询消息用于指示所述数据中心查询第一传输控制协议TCP老化时延值;Sending 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;
    接收所述数据中心发送的所述查询消息的反馈信息;Receiving feedback information of the query message sent by the data center;
    在所述反馈信息包括所述第一TCP老化时延值时,根据所述第一TCP老化时延值确定目标TCP老化时延值。When the feedback information includes the first TCP aging delay value, the target TCP aging delay value is determined according to the first TCP aging delay value.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述第一TCP老化时延值确定目标TCP老化时延值,包括:The method according to claim 1, wherein the determining the target TCP aging delay value according to the first TCP aging delay value comprises:
    将所述第一TCP老化时延值确定为第一探测周期;Determining, by the first TCP aging delay value, a first detection period;
    根据所述第一探测周期对应的第一结果和第二探测周期对应的第二结果,确定所述目标TCP老化时延值;Determining, according to the first result corresponding to the first detection period and the second result corresponding to the second detection period, 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.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述第一探测周期对应的第一结果和第二探测周期对应的第二结果,确定所述目标TCP老化时延值,包括:The method according to claim 2, wherein the 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 comprises:
    在所述第一结果成功,所述第二结果失败时,将所述第一探测周期确定为所述目标TCP老化时延值;或者,When the first result is successful, and the second result fails, the first detection period is determined as the target TCP aging delay value; or
    在所述第一结果失败,所述第二结果成功时,将所述第二探测周期确定为所述目标TCP老化时延值。When the first result fails, and the second result is successful, the second detection period is determined as the target TCP aging delay value.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,在所述反馈信息不包括所述第一TCP老化时延值时,所述方法还包括:根据第一探测周期确定所述目标TCP老化时延值。The method according to any one of claims 1 to 3, wherein, when the feedback information does not include the first TCP aging delay value, the method further comprises: determining, according to the first detection period, The target TCP aging delay value.
  5. 根据权利要求4所述的方法,其特征在于,所述根据第一探测周期确定所述目标TCP老化时延值,包括:The method according to claim 4, wherein the determining the target TCP aging delay value according to the first detection period comprises:
    根据所述第一探测周期和第一探测步长确定第二探测周期,所述第一探测步长大于所述初始探测步长;Determining, according to the first detection period and the first detection step, a second detection period, where the first detection step length is greater than the initial detection step length;
    根据所述第一结果和所述第二探测周期对应第二结果,确定所述目标TCP老化时延值。Determining the target TCP aging delay value according to the first result and the second detection period corresponding to the second result.
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述第一探测周期和第一探测步长确定第二探测周期,包括:The method according to claim 5, wherein the determining the second detection period according to the first detection period and the first detection step comprises:
    在所述第一结果失败时,确定所述第二探测周期等于所述第一探测周期减所述第一探测步长;或者,When the first result fails, determining that the second detection period is equal to the first detection period minus the first detection step; or
    在所述第一结果成功时,确定所述第二探测周期等于所述第一探测周期加所述第一探测步长。When the first result is successful, determining that the second detection period is equal to the first detection period plus the first detection step.
  7. 根据权利要求5或6所述的方法,其特征在于,所述第一结果和所述第二结果失败,或者,所述第一结果和所述第二结果成功;The method according to claim 5 or 6, wherein the first result and the second result fail, or the first result and the second result are successful;
    其中,所述根据所述第一结果和所述第二探测周期对应第二结果,确定所述目标TCP老化时延值,包括:The determining, according to the first result and the second detection period, the second result, determining the target TCP aging delay value, including:
    根据所述第二探测周期和所述第一探测步长确定第三探测周期; Determining a third detection period according to the second detection period and the first detection step length;
    根据所述第二结果和所述第三探测周期对应第三结果,确定所述目标TCP老化时延值。Determining the target TCP aging delay value according to the second result and the third detection period corresponding to the third result.
  8. 根据权利要求5或6所述的方法,其特征在于,所述第一结果成功,所述第二结果失败;或者,所述第一结果失败,所述第二结果成功;The method according to claim 5 or 6, wherein the first result is successful, the second result is failed; or the first result is failed, and the second result is successful;
    其中,所述根据所述第一结果和所述第二探测周期对应第二结果,确定所述目标TCP老化时延值,包括:The determining, according to the first result and the second detection period, the second result, determining the target TCP aging delay value, including:
    根据所述第二探测周期和第二探测步长确定第三探测周期,所述第二探测步长小于所述第一探测步长;Determining, 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;
    根据所述第二结果和所述第三探测周期对应第三结果,确定所述目标TCP老化时延值。Determining the target TCP aging delay value according to the second result and the third detection period corresponding to the third result.
  9. 根据权利要求8所述的方法,其特征在于,所述第二探测步长小于第一阈值;The method according to claim 8, wherein the second detecting step size is smaller than the first threshold;
    其中,所述根据所述第二结果和所述第三探测周期对应第三结果,确定所述目标TCP老化时延值,包括:The determining, according to the second result and the third detection period, the third result, determining the target TCP aging delay value, including:
    在所述第二结果成功,所述第三结果失败时,将所述第二探测周期确定为所述目标TCP老化时延值;或者,When the second result is successful, and the third result fails, the second detection period is determined as the target TCP aging delay value; or
    在所述第二结果失败,所述第三结果成功时,将所述第三探测周期确定为所述目标TCP老化时延值。When the second result fails, and the third result is successful, the third detection period is determined as the target TCP aging delay value.
  10. 根据权利要求5至9中任一项所述的方法,其特征在于,所述第一探测步长等于所述初始探测步长的两倍,所述初始探测步长等于所述第二探测步长的两倍。The method according to any one of claims 5 to 9, wherein the first detecting step size is equal to twice the initial detecting step size, and the initial detecting step size is equal to the second detecting step Twice as long.
  11. 根据权利要求1至10中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 10, further comprising:
    确定TCP老化时延信息,所述TCP老化时延信息包括所述目标TCP老化时延值和所述目标TCP老化时延值对应的检索信息;Determining the 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;
    向所述数据中心对应的探测服务器发送所述TCP老化时延信息。Sending the TCP aging delay information to the probe server corresponding to the data center.
  12. 根据权利要求11所述的方法,其特征在于,所述检索信息包括所述目标TCP老化时延值对应的以下信息中的至少一项:The method according to claim 11, wherein the retrieval information comprises at least one of the following information corresponding to the target TCP aging delay value:
    时间,国家,城市,网络类型,公共陆地移动网络PLMN,运营商名称,经度,纬度,探测装置标识,时区,互联网协议地址IP。Time, country, city, network type, public land mobile network PLMN, carrier name, longitude, latitude, detection device identification, time zone, internet protocol address IP.
  13. 一种探测老化时延的方法,其特征在于,所述方法包括:A method for detecting an aging delay, the method comprising:
    接收探测装置发送的查询消息,所述查询消息指示数据中心查询第一传输控制协议TCP老化时延值;Receiving 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;
    根据所述第一TCP老化时延值的查询结果,生成所述查询消息的反馈信息;Generating feedback information of the query message according to the query result of the first TCP aging delay value;
    向所述探测装置发送所述反馈信息。Sending the feedback information to the detecting device.
  14. 根据权利要求13所述的方法,其特征在于,在查询到所述第一TCP老化时延值时,所述根据所述第一TCP老化时延值的查询结果,生成所述查询消息的反馈信息,包括:The method according to claim 13, wherein when the first TCP aging delay value is queried, the query according to the first TCP aging delay value generates feedback of the query message. Information, including:
    根据所述第一TCP老化时延值生成所述反馈信息,其中,所述反馈信息包括所述第一TCP老化时延值。Generating the feedback information according to the first TCP aging delay value, where the feedback information includes the first TCP aging delay value.
  15. 根据权利要求13或14所述的方法,其特征在于,所述方法还包括:The method according to claim 13 or 14, wherein the method further comprises:
    接收探测服务器发送的TCP老化时延信息,所述老化时延信息包括目标TCP老化时延值和所述目标TCP老化时延值对应的检索信息。 And receiving the aging information of the TCP aging delay 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.
  16. 一种探测老化时延的装置,其特征在于,所述装置包括:A device for detecting an aging time delay, characterized in that the device comprises:
    收发单元,用于向数据中心发送查询消息,所述查询消息用于指示所述数据中心查询第一传输控制协议TCP老化时延值;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;
    处理单元,用于在所述反馈信息包括所述第一TCP老化时延值时,根据所述第一TCP老化时延值确定目标TCP老化时延值。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.
  17. 根据权利要求16所述的装置,其特征在于,所述处理单元具体用于:The device according to claim 16, wherein the processing unit is specifically configured to:
    将所述第一TCP老化时延值确定为第一探测周期;Determining, by the first TCP aging delay value, a first detection period;
    根据所述第一探测周期对应的第一结果和第二探测周期对应的第二结果,确定所述目标TCP老化时延值;Determining, according to the first result corresponding to the first detection period and the second result corresponding to the second detection period, 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.
  18. 根据权利要求17所述的装置,其特征在于,所述处理单元具体用于:The device according to claim 17, wherein the processing unit is specifically configured to:
    在所述第一结果成功,所述第二结果失败时,将所述第一探测周期确定为所述目标TCP老化时延值;或者,When the first result is successful, and the second result fails, the first detection period is determined as the target TCP aging delay value; or
    在所述第一结果失败,所述第二结果成功时,将所述第二探测周期确定为所述目标TCP老化时延值。When the first result fails, and the second result is successful, the second detection period is determined as the target TCP aging delay value.
  19. 根据权利要求16至18中任一项所述的装置,其特征在于,在所述反馈信息不包括所述第一TCP老化时延值时,所述处理单元用于:根据第一探测周期确定所述目标TCP老化时延值。The apparatus according to any one of claims 16 to 18, wherein, when the feedback information does not include the first TCP aging delay value, the processing unit is configured to: determine according to the first detection period The target TCP aging delay value.
  20. 根据权利要求19所述的装置,其特征在于,所述处理单元具体用于:The device according to claim 19, wherein the processing unit is specifically configured to:
    根据所述第一探测周期和第一探测步长确定第二探测周期,所述第一探测步长大于所述初始探测步长;Determining, according to the first detection period and the first detection step, a second detection period, where the first detection step length is greater than the initial detection step length;
    根据所述第一结果和所述第二探测周期对应第二结果,确定所述目标TCP老化时延值。Determining the target TCP aging delay value according to the first result and the second detection period corresponding to the second result.
  21. 根据权利要求20所述的装置,其特征在于,所述第一结果和所述第二结果失败,或者,所述第一结果和所述第二结果成功;The apparatus according to claim 20, wherein said first result and said second result fail, or said first result and said second result are successful;
    所述处理单元具体用于:The processing unit is specifically configured to:
    根据所述第二探测周期和所述第一探测步长确定第三探测周期;Determining a third detection period according to the second detection period and the first detection step length;
    根据所述第二结果和所述第三探测周期对应第三结果,确定所述目标TCP老化时延值。Determining the target TCP aging delay value according to the second result and the third detection period corresponding to the third result.
  22. 根据权利要求20所述的装置,其特征在于,所述第一结果成功,所述第二结果失败;或者,所述第一结果失败,所述第二结果成功;The apparatus according to claim 20, wherein the first result is successful, the second result is failed; or the first result is failed, and the second result is successful;
    所述处理单元具体用于:The processing unit is specifically configured to:
    根据所述第二探测周期和第二探测步长确定第三探测周期,所述第二探测步长小于所述第一探测步长;Determining, 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;
    根据所述第二结果和所述第三探测周期对应第三结果,确定所述目标TCP老化时延值。Determining the target TCP aging delay value according to the second result and the third detection period corresponding to the third result.
  23. 根据权利要求22所述的装置,其特征在于,所述第二探测步长小于第一阈值;The apparatus according to claim 22, wherein said second detecting step size is smaller than a first threshold;
    所述处理单元具体用于: The processing unit is specifically configured to:
    在所述第二结果成功,所述第三结果失败时,将所述第二探测周期确定为所述目标TCP老化时延值;或者,When the second result is successful, and the third result fails, the second detection period is determined as the target TCP aging delay value; or
    在所述第二结果失败,所述第三结果成功时,将所述第三探测周期确定为所述目标TCP老化时延值。When the second result fails, and the third result is successful, the third detection period is determined as the target TCP aging delay value.
  24. 根据权利要求16至23中任一项所述的装置,其特征在于,Apparatus according to any one of claims 16 to 23, wherein
    所述处理单元还用于:The processing unit is further configured to:
    确定TCP老化时延信息,所述TCP老化时延信息包括所述目标TCP老化时延值和所述目标TCP老化时延值对应的检索信息;Determining the 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 is further configured to:
    向所述数据中心对应的探测服务器发送所述TCP老化时延信息。Sending the TCP aging delay information to the probe server corresponding to the data center.
  25. 一种数据中心,其特征在于,所述数据中心包括:A data center, characterized in that the data center comprises:
    收发单元,用于接收探测装置发送的查询消息,所述查询消息指示数据中心查询第一传输控制协议TCP老化时延值;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;
    处理单元,用于根据所述第一TCP老化时延值的查询结果,生成所述查询消息的反馈信息;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.
  26. 根据权利要求25所述的数据中心,其特征在于,在查询到所述第一TCP老化时延值时,所述处理单元具体用于:The data center according to claim 25, wherein when the first TCP aging delay value is queried, the processing unit is specifically configured to:
    根据所述第一TCP老化时延值生成所述反馈信息,其中,所述反馈信息包括所述第一TCP老化时延值。Generating the feedback information according to the first TCP aging delay value, where the feedback information includes the first TCP aging delay value.
  27. 根据权利要求25或26所述的数据中心,其特征在于,所述收发单元还用于:The data center according to claim 25 or 26, wherein the transceiver unit is further configured to:
    接收探测服务器发送的TCP老化时延信息,所述老化时延信息包括目标TCP老化时延值和所述目标TCP老化时延值对应的检索信息。And receiving the aging information of the TCP aging delay 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.
  28. 一种探测老化时延的系统,其特征在于所述系统包括:A system for detecting an aging delay, characterized in that the system comprises:
    探测装置和数据中心;Detection device and data center;
    其中,among them,
    所述探测装置为权利要求16至24中任意一项所述的装置,所述探测装置用于:The detecting device is the device according to any one of claims 16 to 24, the detecting device being used for:
    向所述数据中心发送查询消息,所述查询消息用于指示所述数据中心查询第一传输控制协议TCP老化时延值;接收所述数据中心发送的所述查询消息的反馈信息;在所述反馈信息包括所述第一TCP老化时延值时,根据所述第一TCP老化时延值确定目标TCP老化时延值;Sending a query message to the data center, the query message is used to instruct the data center to query a first transmission control protocol (TCP) aging delay value; and receive feedback information of the query message sent by the data center; When the feedback information includes the first TCP aging delay value, determining a target TCP aging delay value according to the first TCP aging delay value;
    所述数据中心为权利要求25至27中任意一项所述的数据中心,所述数据中心用于:The data center is the data center of any one of claims 25 to 27, the data center being used to:
    接收探测装置发送的查询消息;根据所述第一TCP老化时延值的查询结果,生成所述查询消息的反馈信息;向所述探测装置发送所述反馈信息。Receiving the query message sent by the detecting device; generating feedback information of the query message according to the query result of the first TCP aging delay value; and sending the feedback information to the detecting device.
  29. 根据权利要求28所述的系统,其特征在于,在所述反馈信息不包括所述第一TCP老化时延值时,所述探测装置还用于:The system according to claim 28, wherein when the feedback information does not include the first TCP aging delay value, the detecting device is further configured to:
    根据第一探测周期确定所述目标TCP老化时延值。Determining the target TCP aging delay value according to the first detection period.
  30. 根据权利要求28或29所述的系统,其特征在于,所述系统还包括:The system of claim 28 or 29, wherein the system further comprises:
    查询设备,用于查询所述数据中心的第一TCP老化时延值。 The Querying Device is configured to query the first TCP aging delay value of the data center.
PCT/CN2017/071518 2017-01-18 2017-01-18 Aging latency detection method, device, data center, and system WO2018132966A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/071518 WO2018132966A1 (en) 2017-01-18 2017-01-18 Aging latency detection method, device, data center, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/071518 WO2018132966A1 (en) 2017-01-18 2017-01-18 Aging latency detection method, device, data center, and system

Publications (1)

Publication Number Publication Date
WO2018132966A1 true WO2018132966A1 (en) 2018-07-26

Family

ID=62907584

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/071518 WO2018132966A1 (en) 2017-01-18 2017-01-18 Aging latency detection method, device, data center, and system

Country Status (1)

Country Link
WO (1) WO2018132966A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259432A (en) * 2021-05-12 2021-08-13 北京杰迈科技股份有限公司 Communication method based on TCP (Transmission control protocol) and robot remote control system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895433A (en) * 2009-05-20 2010-11-24 灰熊(北京)科技有限公司 Method for monitoring performance of transmission control protocol (TCP) server
CN105610828A (en) * 2015-12-28 2016-05-25 曙光信息产业股份有限公司 ACL (Access Control List) rule management method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895433A (en) * 2009-05-20 2010-11-24 灰熊(北京)科技有限公司 Method for monitoring performance of transmission control protocol (TCP) server
CN105610828A (en) * 2015-12-28 2016-05-25 曙光信息产业股份有限公司 ACL (Access Control List) rule management method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259432A (en) * 2021-05-12 2021-08-13 北京杰迈科技股份有限公司 Communication method based on TCP (Transmission control protocol) and robot remote control system
CN113259432B (en) * 2021-05-12 2022-07-08 北京杰迈科技股份有限公司 Communication method based on TCP protocol and robot remote control system

Similar Documents

Publication Publication Date Title
EP3586530B1 (en) Methods, systems and computer readable media for providing service capability exposure function (scef) as a diameter routing agent(dra) feature
EP3783995B1 (en) Data processing method, device and system
US8929865B2 (en) Optimizing user device context for mobility management entity (MME) resiliency
US20210314795A1 (en) Data Collection Method, Device, and System
EP3843299B1 (en) Clock synchronization method and apparatus
CN110999257B (en) Delivery method selection for delivery of server notifications
WO2020057343A1 (en) Positioning management method and apparatus, 5g wireless access network node and core network node
JP5969611B2 (en) System and method for network quality estimation, connectivity detection, and load management
WO2018102964A1 (en) Information transmission method and device
JP2014530546A (en) System and method for network quality estimation, connectivity detection, and load management
JP2016015746A (en) Systems and methods for network quality estimation, connectivity detection, and load management
US11082867B2 (en) Method and apparatus for supporting event monitoring
US20230100296A1 (en) Communication method, apparatus, and system
US10827538B2 (en) User equipment idle state processing method and device
WO2019076308A1 (en) Method, apparatus and device for determining state of terminal device
EP3780743A1 (en) Method and device for establishing transmission path
JP2014532328A (en) System and method for network quality estimation, connectivity detection, and load management
US9756513B2 (en) Methods and radio access node for determining a cell state
JP5951779B2 (en) System and method for network quality estimation, connectivity detection, and load management
US20170164194A1 (en) Offloading of a wireless node authentication with core network
WO2018132966A1 (en) Aging latency detection method, device, data center, and system
WO2020052638A1 (en) Location information transmission method and apparatus, and device
CN114143701B9 (en) Method for searching and registering equipment and network equipment
KR102515972B1 (en) Method and apparatus for notifying application function nodes about the RDS configuration of a network
WO2015084380A1 (en) Dynamic ungrouping of ip packets before cellular transmission

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