Testing framework for adaptive virtual services
US-2024406061-A1 · Dec 5, 2024 · US
US9942111B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-9942111-B2 |
| Application number | US-201314646507-A |
| Country | US |
| Kind code | B2 |
| Filing date | Sep 10, 2013 |
| Priority date | Nov 21, 2012 |
| Publication date | Apr 10, 2018 |
| Grant date | Apr 10, 2018 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Disclosed are a method and system for remotely acquiring in real time a log, and the method includes: when a log server IQAS triggers acquisition of the log, the IQAS issues a log acquisition message to an Access Control Server (ACS); after establishing a TCP session with a Customer Premise Equipment (CPE), the ACS issues a log parameter setting message to the CPE according to an acquired log acquisition message; and the CPE acquires a debugged log according to an acquired log parameter setting message, and reports the debugged log to the IQAS through a UDP message. The disclosure is beneficial to subsequent extension of multiple log ports and capable of supporting simultaneous reporting of operation logs to a log server IQAS by multiple log ports, the method provided by embodiment of the disclosure can be implemented in a flexible way and there are no interferences between the multiple log ports, thus it is possible to implement real-time monitoring of an operation state of a Customer Premise Equipment (CPE), thereby implementing in-time positioning of a failure in respective modules of the CPE.
Opening claim text (preview).
The invention claimed is: 1. A method for remotely acquiring in real time a log, comprising: when triggering acquisition of the log, a log server issues a log acquisition message to an Access Control Server (ACS); establishing, by the ACS, a Transmission Control Protocol (TCP) session with a Customer Premise Equipment (CPE), and then issuing a log parameter setting message to the CPE according to the log acquisition message; and acquiring, by the CPE, a debugged log according to the log parameter setting message, and reporting the debugged log to the log server through a User Datagram Protocol (UDP) message, wherein the log acquisition message issued by the log server to the ACS comprises: target IP information, port information, log enabling information and log debug level information of a CPE-reported monitoring log; the method further comprising, before the log server triggers acquisition of the log, after being successfully connected to a network, initiating, by the CPE, a registration request message to the ACS; determining according to the registration request message, whether the CPE is located behind a Network Address Translator (NAT), if yes, after feeding back a registration response message to the CPE, issuing immediately, by the ACS, an STUN-related parameter to the CPE; wherein the Simple Traversal of Udp Over Nats (STUN)-related parameter is used by the CPE to transmit a keep-alive message to a STUN server, and the STUN-related parameter comprises STUN enabling information, address information of the STUN server, port information, maximum time interval information and minimum time interval information for the CPE to transmit a binding request; after receiving the STUN-related parameter, when determining that the value of the STUN-related parameter changes, establishing, by the CPE, a socket, transmitting periodically the binding request to the STUN server, and receiving a binding response replied by the STUN server; wherein the binding request comprises an device ID of the CPE, the binding response replied by the STUN server comprises InformAtOnce that represents whether the CPE is required to initiate immediately informing a reverse connection, when a value of InformAtOnce is “0”, it represents that it is not required, and when the value of InformAtOnce is “1”, it represents that it is required. 2. The method according to claim 1 , wherein the issuing, by the ACS, a log parameter setting message to the CPE according to the log acquisition message comprises: issuing, by the ACS, the log parameter setting message to the CPE through calling a SetParameterRequest according to the acquired log acquisition message. 3. The method according to claim 2 , wherein the establishing, by the ACS, a TCP session with a CPE comprises: when the log server triggers acquisition of the log, the STUN server sets to 1 the value of InformAtOnce in the binding response replied to the CPE, and based on the set value, the CPE initiates a reverse connection request to the ACS so that the TCP session with the ACS is established. 4. The method according to claim 1 , wherein the acquiring, by the CPE, a debugged log according to the log parameter setting message and the reporting the debugged log to the log server through a UDP message comprise: after receiving the log parameter setting message, forwarding, by a network management module of the CPE, the log parameter setting message to a log distribution module; the log distribution module enables debugged information of a relevant port of a log module through socket communication, and outputs the debugged log according to the log debug level information issued by the ACS; and after the debugged log is output, reporting, by the log module, the debugged log to a relevant target IP and a relevant port of the log server through the UDP message according to the target IP information and port information of the CPE-reported monitoring log issued by the ACS. 5. A system for remotely acquiring in real time a log, comprising: a log server configured to, when triggering acquisition of the log, issue a log acquisition message to an Access Control Server (ACS); the ACS configured to establish a Transmission Control Protocol (TCP) session with a Customer Premise Equipment (CPE), and then issue a log parameter setting message to the CPE according to the log acquisition message; and the CPE configured to acquire a debugged log according to the log parameter setting message, and report the debugged log to the log server through a User Datagram Protocol (UDP) message, wherein the log acquisition message issued by the log server to the ACS comprises: target IP information, port information, log enabling information and log debug level information of a CPE-reported monitoring log; the system further comprising: an STUN server configured to interact with the CPE; wherein the CPE is further configured to, after being successfully connected to a network, initiate a registration request message to the ACS; wherein the ACS is further configured to determine, according to the registration request message, whether the CPE is located behind a Network Address Translator (NAT), if yes, after feeding back a registration response message to the CPE, issue immediately an STUN-related parameter to the CPE; wherein the Simple Traversal of Udp Over Nats (STUN)-related parameter is used by the CPE to transmit a keep-alive message to a STUN server, and the STUN-related parameter comprises STUN enabling information, address information of the STUN server, port information, maximum time interval information and minimum time interval information for the CPE to transmit a binding request; wherein the CPE is further configured to, after receiving the STUN-related parameter and when determining that the value of the STUN-related parameter changes, establish a socket, transmit periodically the binding request to the STUN server, and receive a binding response replied by the STUN server; wherein the binding request comprises an device ID of the CPE, the binding response replied by the STUN server comprises InformAtOnce that represents whether the CPE is required to initiate immediately informing a reverse connection, when a value of InformAtOnce is “0”, it represents that it is not required, and when the value of InformAtOnce is “1”, it represents that it is required. 6. The system according to claim 5 , wherein the ACS configured to issue a log parameter setting message to the CPE according to the log acquisition message comprises: the ACS is configured to issue the log parameter setting message to the CPE through calling a SetParameterRequest according to the acquired log acquisition message. 7. The system according to claim 6 , wherein the ACS establishing a TCP session with a CPE comprises: when the log server triggers acquisition of the log, the STUN server sets to 1 the value of InformAtOnce in the binding response replied to the CPE, and based on the set value, the CPE initiates a reverse connection request to the ACS so that the TCP session with the ACS is established. 8. The system according to claim 5 , wherein the CPE comprises: a network management module configured to, after receiving the log parameter setting message, forward the log parameter setting message to a log distribution module; the log distribution module configured to, after receiving the log parameter setting message, enable debugged information of a relevant port of a log module through socket communication, and output the debugged log according to the log debug level information issued by the ACS; and the log module configured to, after outputting the debugged log, report the debugged log to a relevant target IP and a relevant port of the log server throu
Setup of application sessions (admission control or resource allocation in data switching networks H04L47/70) · CPC title
Generation of reports · CPC title
using address mapping retrieval, e.g. simple traversal of user datagram protocol through session traversal utilities for NAT [STUN] · CPC title
between local and global IP addresses · CPC title
Processing captured monitoring data, e.g. for logfile generation · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.