WO2016176910A1 - Tr-069 message processing method and apparatus - Google Patents

Tr-069 message processing method and apparatus Download PDF

Info

Publication number
WO2016176910A1
WO2016176910A1 PCT/CN2015/083650 CN2015083650W WO2016176910A1 WO 2016176910 A1 WO2016176910 A1 WO 2016176910A1 CN 2015083650 W CN2015083650 W CN 2015083650W WO 2016176910 A1 WO2016176910 A1 WO 2016176910A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
cpe
packet
cpe device
acs
Prior art date
Application number
PCT/CN2015/083650
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 中兴通讯股份有限公司
Publication of WO2016176910A1 publication Critical patent/WO2016176910A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and apparatus for processing a TR-069 message.
  • the automatic configuration server (Auto Config Server, ACS for short) is configured as the management of the Customer Premise Equipment (CPE) network. It manages the configuration, diagnosis, and performance collection of the terminals that support TR-069.
  • User-side device CPE refers to hardware that is physically located at the user layer, such as: servers, workstations, communication hardware (CSU/DSUs, modems), LAN devices (hubs, bridges, switches), WAN devices (routers), including but not Limited to Digital Subscriber Line Modem (DSL Modem), Gigabit-Capable Passive Optical Network (GPON) and Ethernet Passive Optical Network (Ethernet Passive Optical Network) EPON) Uplink Optical Network Unit (ONU), Interactive Internet TV IPTV Set Top Box, OTT (Over The Top) Set Top Box, Acess Poinit (AP), Integrated Access Equipment IAD et al.
  • CPE Customer Premise Equipment
  • the number of CPEs managed by a set of ACS is huge, and the number can even exceed 10 million.
  • the CPE device is from different vendors, different versions of different batches, some devices appear in the network, or individual batch devices work abnormally and send abnormal packets to the ACS, or send a large number of packets to the ACS because of device configuration problems. Because there are a large number of terminals on the network, even if a small number of devices fail, a large number of packets will be generated. These abnormal packets will occupy network bandwidth, affect normal packet transmission, and consume ACS processing resources. The services that the ACS needs to process cannot be successfully completed. This can greatly affect the normal management operations of the ACS. The management services become slower or even the management services fail.
  • the general ACS system uses the load balancing device to process some abnormal or invalid packets through the pre-load balancing device.
  • the load is an independent device or component, it can only be processed according to some simple rules. Complex scenarios of various types of abnormal or invalid packets have limited effect; they cannot suppress the generation of such invalid traffic in the network, thereby reducing bandwidth resource consumption and improving bandwidth utilization.
  • the embodiment of the present invention provides a method and an apparatus for processing a TR-069 message, so as to at least solve the problem that a CPE device is faulty or abnormal, and a large number of invalid or abnormal packets are reported, which occupy the network bandwidth and affect normal packets.
  • the transmission and consumption of the ACS processing resources have a great impact on the normal management operation of the ACS, thus affecting the normal management of the entire network.
  • a method for processing a TR-069 message including: acquiring a TR-069 message, wherein the TR-069 message is from a CPE device; in the TR-069 If the packet is an abnormal packet, it is determined whether the CPE device is faulty; and the TR-069 packet is processed according to the determination result.
  • the method further includes: determining whether the TR-069 message is a normal message.
  • the method further includes transparently transmitting the TR-069 message to the ACS in the case that the TR-069 message is determined to be a normal message.
  • processing the TR-069 message according to the determination result includes: sending a teardown instruction to the CPE device if the determination result indicates that the CPE device does not fail, wherein the teardown instruction Used by the CPE device to tear down the session.
  • processing the TR-069 message according to the determination result includes: determining, in a case where the determination result indicates that the CPE device is faulty, whether the CPE device can be restored to a normal state by using a remote control instruction.
  • the method further includes: sending a management instruction to the CPE device if the CPE device can be restored to a normal state by a remote control command, wherein the management command is used to restore the CPE to a normal state status.
  • the method further includes: when the CPE device cannot be restored to a normal state by using a remote control command, the alarm information is reported, wherein the alarm information is used to indicate that the CPE device is faulty.
  • determining whether the TR-069 message is a normal message includes: extracting a CPE identifier attribute, a TR-069 event number attribute, and a time of receiving the TR-069 message in the TR-069 message. And determining whether the period of sending the TR-069 packet by the same CPE device reaches a threshold according to the CPE identifier attribute, the TR-069 event number attribute, and the time of receiving the TR-069 message in the TR-069 message.
  • the method further includes transparently transmitting the TR-069 message to the ACS if the period does not reach the threshold.
  • the method further comprises determining if the CPE device has received a repair command if the period reaches the threshold.
  • the method further comprises: sending a reset command to the CPE device if the CPE device has not received a repair command, wherein the reset command is used to send the CPE device to the TR- The period of the 069 packet is set to a reasonable time; or, when the CPE device receives the repair command, the alarm information is generated.
  • determining whether the TR-069 message is a normal message further includes: configuring one or more valid TR-069 event lists; determining, according to the valid TR-069 event list, whether the TR-069 message is The invalid message includes at least a message that the ACS cannot recognize, and an Inform message that the ACS does not need to process.
  • the method includes: transparently transmitting the TR-069 message to the ACS if the TR-069 message is a valid message; or the invalid message in the TR-069 message And sending a teardown command to the CPE device, where the teardown command is used by the CPE device to tear down the session.
  • an apparatus for processing a TR-069 message comprising: an obtaining module, configured to acquire a TR-069 message, wherein the TR-069 message is from a CPE
  • the first determining module is configured to determine whether the CPE device is faulty if the TR-069 packet is an abnormal packet
  • the processing module is configured to process the TR-069 according to the determination result.
  • the device further includes: a determining module, configured to determine whether the TR-069 message is a normal message after acquiring the TR-069 message.
  • a determining module configured to determine whether the TR-069 message is a normal message after acquiring the TR-069 message.
  • the device further includes: a first transparent transmission module, configured to transparently transmit the TR-069 message to the ACS if the TR-069 message is determined to be a normal message.
  • a first transparent transmission module configured to transparently transmit the TR-069 message to the ACS if the TR-069 message is determined to be a normal message.
  • the processing module includes: a removal unit configured to send a removal command to the CPE device if the determination result indicates that the CPE device does not fail, wherein the removal instruction is used for the The CPE device tears down the session.
  • the processing module comprises: a first determining unit, configured to determine whether the CPE device can be restored to a normal state by a remote control command if the determination result indicates that the CPE device is faulty.
  • the apparatus further includes: a recovery module configured to send a management instruction to the CPE device if the CPE device can be restored to a normal state by a remote control command, wherein the management command is used for The CPE is restored to the normal state.
  • a recovery module configured to send a management instruction to the CPE device if the CPE device can be restored to a normal state by a remote control command, wherein the management command is used for The CPE is restored to the normal state.
  • the device further includes: a first alarm module, configured to report alarm information when the CPE device cannot be restored to a normal state by using a remote control command, wherein the alarm information is used to indicate the The CPE device has failed.
  • a first alarm module configured to report alarm information when the CPE device cannot be restored to a normal state by using a remote control command, wherein the alarm information is used to indicate the The CPE device has failed.
  • the determining module includes: an extracting unit, configured to extract a CPE identifier attribute, a TR-069 event number attribute, and a time of receiving the TR-069 message in the TR-069 message;
  • the unit is configured to determine whether the period of sending the TR-069 packet by the same CPE device is determined according to the CPE identifier attribute, the TR-069 event number attribute, and the time of receiving the TR-069 message in the TR-069 message. Threshold.
  • the device further includes: a second transparent transmission module, configured to transparently transmit the TR-069 message to the ACS if the period does not reach the threshold.
  • a second transparent transmission module configured to transparently transmit the TR-069 message to the ACS if the period does not reach the threshold.
  • the apparatus further comprises: a second determining module configured to determine whether the CPE device has received a repair command if the period reaches the threshold.
  • the apparatus further comprises: a reset module configured to send a reset command to the CPE device if the CPE device has not received a repair command, wherein the reset command is for The period in which the CPE device sends the TR-069 packet is set to a reasonable time.
  • the second alarm module is configured to generate the alarm information when the CPE device receives the repair command.
  • the determining module further includes: a configuration unit configured to configure one or more valid TR-069 event lists; and an invalidating unit configured to determine, according to the valid TR-069 event list, whether the TR-069 message is The invalid message includes at least a message that the ACS cannot recognize, and an Inform message that the ACS does not need to process.
  • a configuration unit configured to configure one or more valid TR-069 event lists
  • an invalidating unit configured to determine, according to the valid TR-069 event list, whether the TR-069 message is The invalid message includes at least a message that the ACS cannot recognize, and an Inform message that the ACS does not need to process.
  • the device includes: a third transparent transmission module, configured to transparently transmit the TR-069 message to the ACS if the TR-069 message is a valid message; or, remove the module, and set In the case that the TR-069 message is an invalid message, a teardown command is sent to the CPE device, where the teardown command is used by the CPE device to tear down the current session.
  • a third transparent transmission module configured to transparently transmit the TR-069 message to the ACS if the TR-069 message is a valid message; or, remove the module, and set
  • a teardown command is sent to the CPE device, where the teardown command is used by the CPE device to tear down the current session.
  • the TR-069 packet is obtained, where the TR-069 packet is from the CPE device, and in the case that the TR-069 packet is an abnormal packet, it is determined whether the CPE device is faulty.
  • the TR-069 packet is processed according to the determination result, which solves the problem that the CPE device fails or is abnormal in the prior art. Reporting a large number of invalid or abnormal packets, squeezing the network bandwidth, affecting the normal packet transmission, and consuming the processing resources of the ACS, which has a great impact on the normal management operation of the ACS, thus affecting the normal management of the entire network. Therefore, the bandwidth resource consumption is reduced, the bandwidth utilization is improved, the smooth operation of the ACS system is ensured, and the management stability and effectiveness of the CPE network are improved.
  • FIG. 1 is a flowchart 1 of a method for processing a TR-069 message according to an embodiment of the present invention
  • FIG. 3 is a structural block diagram 1 of an apparatus for processing a TR-069 message according to an embodiment of the present invention
  • FIG. 4 is a structural block diagram 2 of another apparatus for processing a TR-069 message according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of an apparatus for processing a TR-069 message according to a preferred embodiment of the present invention
  • FIG. 6 is a flowchart 1 of a method for processing a TR-069 message according to an embodiment of the present invention
  • FIG. 7 is a second flowchart of a method for processing a TR-069 message according to an embodiment of the present invention.
  • FIG. 8 is a flowchart 3 of a method for processing a TR-069 message according to an embodiment of the present invention.
  • FIG. 1 is a flowchart according to an embodiment of the present invention. As shown in FIG. 1, the process may include the following steps:
  • Step S100 Obtain a TR-069 packet, where the TR-069 packet is from a CPE device;
  • Step S102 If the TR-069 packet is an abnormal packet, determine whether the CPE device is faulty.
  • Step S104 processing the TR-069 message according to the determination result.
  • the ACS system uses the load balancing device to process some abnormal or invalid packets through the pre-load balancing device.
  • the load is an independent device or component, it can only be processed according to some simple rules, and cannot handle complicated ones. Scenes of various types of abnormal or invalid messages cannot suppress the generation of such invalid traffic in the network, so the effect is limited.
  • the selective policy pre-processing of the TR-069 packet message is performed, and the normal packet is directly transmitted to the AC, the abnormal or invalid packet is directly discarded, and the CPE alarm information can be repaired or reported, thereby reducing the invalid message occupation.
  • the network bandwidth, bandwidth consumption, bandwidth utilization, and ACS resources can be effectively used for management service processing, ensuring smooth operation of the ACS system and improving the management stability and effectiveness of the CPE network.
  • FIG. 2 is a flowchart according to an embodiment of the present invention. As shown in FIG. 2, the process may include the following steps:
  • Step S200 Obtain a TR-069 packet, where the TR-069 packet is from a CPE device.
  • Step S202 determining whether the TR-069 packet is a normal packet
  • Step S204 If the TR-069 packet is an abnormal packet, determine whether the CPE device is faulty.
  • Step S206 processing the TR-069 message according to the determination result.
  • the method in this embodiment may further include: in the case that the TR-069 message is determined to be a normal message, The TR-069 message is transmitted to the ACS.
  • processing the TR-069 message according to the determination result may further include: sending a teardown command to the CPE device if the determination result indicates that the CPE device does not fail, wherein the teardown command Used for the CPE device to tear down this session.
  • the teardown command Used for the CPE device to tear down this session.
  • processing the TR-069 message according to the determination result may further include: determining, in a case that the CPE device is faulty, determining whether the CPE device can be restored to a normal state by using a remote control command. .
  • a large number of abnormal or invalid TR-069 message messages were detected, and it was determined that the CPE device reporting the abnormal or invalid message had a fault or problem. Discard these abnormal or invalid fault messages directly, and the system can try to repair the faulty CPE device.
  • One way is to use a remote control command to return it to normal operation.
  • the method may further include: sending a management instruction to the CPE device if the CPE device can be restored to a normal state by using a remote control command, wherein the management command is used to restore the CPE to a normal state.
  • the alarm information is reported, wherein the alarm information is used to indicate that the CPE device is faulty.
  • the following operations are performed to determine whether the CPE device has a problem: if there is no fault, the spoke is abnormal, and the direct reply message is sent to the cpe to dismantle the session; if the CPE is already in an abnormal working state, it is required. Determine if the CPE can be restored to the normal state by remote control commands. If possible, the CPE is restored to the normal state by sending a management command; if the CPE cannot recover by the remote command, the system generates an alarm to form a work order, and the operator arranges manual troubleshooting.
  • the abnormal state device in the network can be effectively determined, and the device is restored to normal, thereby reducing the total transmission of invalid packets in the network and improving the effective utilization of the network.
  • determining whether the TR-069 message is a normal message may further include: extracting a CPE identity attribute and a TR-069 event number attribute in the TR-069 message, and receiving the TR-069 Whether the period of the TR-069 packet sent by the same CPE device reaches the threshold is determined according to the CPE identifier attribute, the TR-069 event number attribute, and the time when the TR-069 packet is received. .
  • the method may further include: transparently transmitting the TR-069 message to the ACS if the period does not reach the threshold. Alternatively, if the period reaches the threshold, it is determined whether the CPE device has received the repair command.
  • the CPE cycle reporting interval is short due to the failure of the CPE device itself or the default configuration provided by the CPE device. This situation is called the Rampage state. For example, there are 1 million CPEs in the network. The periodic reporting interval is 60 seconds, so even if the CPE online rate is only 40%, then the average value of the message may be 10,000 / sec, and the peak value is as high as 2-3 million per second. In this case, ACS It may not work stably because it cannot be processed. Obtain the reported TR-069 packet message, and extract the CPE device attribute, the TR-069 event number attribute, and the time of receiving the TR-069 message.
  • the TR-069 packet is originated from the same CPE device according to the CPE device attribute and the TR-069 event number attribute, and compares the message messages reported from the same CPE device to determine whether the frequency of the message reported by the CPE device is too high. If the CPE device reports the TR-069 packet message frequency exceeding the preset threshold for a certain reason, it searches for the maintenance record of the CPE device to determine whether it has received the recovery command and sets the reporting period to be lower than the threshold.
  • the reset command is sent to the CPE device, where the reset command is used to set the period for sending the TR-069 message by the CPE device to a reasonable time;
  • the alarm information is generated when the CPE device receives the repair command. If the CPE device has not been restored, it can be considered that the CPE device has a recent problem, and the period for reporting the reported message is a reasonable time. If the CPE device has been subjected to maintenance, the CPE device has a serious problem. You can use the reset command to restore the system to the normal reporting period. You can add the device to the manual intervention list or alarm or generate a work order or notify the ACS to upgrade the CPE.
  • determining whether the TR-069 message is a normal message may further include: configuring one or more valid TR-069 event lists; determining, according to the valid TR-069 event list, whether the TR-069 message is The invalid message includes at least a message that the ACS cannot recognize, and an Inform message that the ACS does not need to process.
  • an unrecognizable message such as a continuous empty packet, a device-defined Inform message that is not in the operator's specification, and the like; the other is clear Know the Inform messages that you don't need to process.
  • a whitelist or blacklist for example, a valid TR-069 event list, it is determined by black/white whether the message transmitted by the CEP device is an invalid message.
  • the method may include: transparently transmitting the TR-069 message to the ACS if the TR-069 message is a valid message; or, if the TR-069 message is an invalid message, Sending a teardown command to the CPE device, wherein the teardown command is used by the CPE device to tear down the session.
  • Different processing is performed on the CPE to report a large number of invalid messages, and it is determined that the valid message can be directly transmitted to the ACS; for the invalid message, the empty message can be restored to end the session, and the preferred embodiment can intercept the invalid message outside the ACS. Avoid consuming ACS resources.
  • An apparatus for processing a TR-069 message is also provided in the embodiment of the present invention, and the apparatus is configured to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 3 is a structural block diagram of an apparatus for processing a TR-069 message according to an embodiment of the present invention. As shown in FIG. 3, the apparatus may include:
  • the obtaining module 30 is configured to obtain a TR-069 packet, where the TR-069 packet is from the CPE device, and the first determining module 32 is connected to the obtaining module 30, and is configured to be an abnormal report in the TR-069 packet. If the CPE device is faulty, the processing module 34 is connected to the first determining module 32 and configured to process the TR-069 message according to the determination result.
  • FIG. 4 is a structural block diagram 2 of another apparatus for processing a TR-069 message according to an embodiment of the present invention. As shown in FIG. 4, the apparatus may include:
  • the obtaining module 40 is configured to obtain a TR-069 packet, where the TR-069 packet is from the CPE device, and the determining module 42 is connected to the obtaining module 40, and is configured to determine the TR after acquiring the TR-069 packet. If the message is a normal message, the first determining module 44 is connected to the determining module 42 and configured to determine whether the CPE device is faulty if the TR-069 message is an abnormal message; the processing module 46 And connected to the first determining module 44, configured to process the TR-069 message according to the determination result.
  • the apparatus may further include: a first transparent transmission module, configured to transparently transmit the TR-069 message to the ACS if the TR-069 message is a normal message.
  • the processing module may further include: a removal unit configured to send a removal command to the CPE device if the determination result indicates that the CPE device is not faulty, wherein the removal instruction is used for the CPE device The CPE device tears down the session.
  • the processing module may further include: a first determining unit configured to determine whether the CPE device can be restored to a normal state by a remote control command if the determination result indicates that the CPE device is faulty.
  • the apparatus may further include: a recovery module configured to send a management instruction to the CPE device if the CPE device can be restored to a normal state by a remote control command, wherein the management command is used to restore the CPE to the CPE device normal status.
  • the device may further include: a first alarm module configured to report the alarm information when the CPE device cannot be restored to the normal state by the remote control command, wherein the alarm information is used to indicate that the CPE device is faulty.
  • the determining module of the device may further include: an extracting unit configured to extract a CPE identifier attribute, a TR-069 event number attribute, and a TR-069 message in the TR-069 message.
  • a second determining unit configured to: according to the CPE identifier attribute and the TR-069 event number attribute in the TR-069 message And the time when the TR-069 packet is received is determined whether the period of the TR-069 packet sent by the same CPE device reaches the threshold.
  • the device may further include: a second transparent transmission module, configured to transparently transmit the TR-069 message to the ACS if the threshold is not reached.
  • the apparatus can also include a second decision module configured to determine whether the CPE device has received a repair command if the cycle reaches the threshold.
  • the apparatus may further include: a reset module configured to send a reset command to the CPE device if the CPE device has not received the repair command, wherein the reset command is used to send the CPE device to the TR-069 The period of the packet is set to a reasonable time; or the second alarm module is configured to generate an alarm information when the CPE device receives the repair command.
  • the determining module of the device may further include: a configuration unit configured to configure one or more valid TR-069 event lists; and an invalidating unit configured to determine the TR based on the valid TR-069 event list. Whether the 069 packet is an invalid packet, and the invalid packet includes at least a message that the ACS cannot recognize, and an Inform message that the ACS does not need to process.
  • the apparatus may further include: a third transparent transmission module, configured to transparently transmit the TR-069 message to the ACS when the TR-069 message is a valid message; or, remove the module, and set If the TR-069 packet is an invalid packet, the teardown command is sent to the CPE device, where the teardown command is used by the CPE device to tear down the session.
  • a third transparent transmission module configured to transparently transmit the TR-069 message to the ACS when the TR-069 message is a valid message; or, remove the module, and set If the TR-069 packet is an invalid packet, the teardown command is sent to the CPE device, where the teardown command is used by the CPE device to tear down the session.
  • the device provided by the embodiment of the present invention performs the selective policy pre-processing on the TR-069 packet message, and the normal packet is directly transmitted to the AC, the abnormal or invalid packet is directly discarded, and the CPE alarm information can be repaired or reported.
  • the ACS resource can be effectively used for management service processing, ensuring the smooth operation of the ACS system, and improving the management stability and effectiveness of the CPE network. .
  • FIG. 5 is a structural block diagram of an apparatus for processing a TR-069 message according to a preferred embodiment of the present invention; as shown in FIG. 5, the apparatus may include the following modules:
  • the Message Pre-Processor of the ACS can be deployed between the CPE and the ACS. It can also be deployed in the CPE or ACS. It is mainly used to directly communicate with the CPE and on the other hand.
  • the CPE message is selectively transparently transmitted to the ACS.
  • the policy module 52 (Policy) is connected to the message pre-processing module 50, and is mainly used to provide the service decision support for the message pre-processing module 50. After receiving the TR-069 message sent by the CPE, the message pre-processing module 50 invokes the policy module 52. Obtain the corresponding processing policy. If no matching policy is found, the message is directly transparently transmitted. If a matching policy is found, the message is processed according to the policy requirement.
  • FIG. 6 is a flowchart of a method for processing a TR-069 message according to a preferred embodiment of the present invention. As shown in FIG. 6, the method may include the following process:
  • Step S600 Acquire a TR-069 message reported by the CPE device; the CPE device sends a TR-069 message to the ACS.
  • Step S602 Determine whether the TR-069 packet is a normal packet. Before reporting the TR-069 packet to the ACS, the message pre-processing module invokes the policy module to determine the packet. If it is not a normal message, the session needs to be dismantled, discarded, or even further repaired by the CPE device.
  • Step S604 if the TR-069 message is a normal message, transparently transmitting the TR-069 message to the ACS;
  • Step S606 If the TR-069 packet is abnormal, the policy module proceeds to the next step, and continues to determine whether the CPE device that uploads the abnormal packet is an occasional exception.
  • Step S608 If the CPE device is in an abnormal state, send a message to the CPE device to dismantle the session; if the policy module determines that the abnormal message reported by the CPE device is an abnormal exception, the CPE is considered to have no major fault or problem. . The session is directly removed and the packet is filtered out.
  • Step S610 If the CPE device is non-incidentally abnormal, proceed to the next step to determine whether the CPE device can be restored to the normal state by using a remote control command; and the policy module determines that the abnormal packet reported by the CPE device is not an accidental abnormality. Then the CPE can be considered to have a large fault or problem. In order to solve this problem, it is necessary to judge whether the CPE device can be restored to normal by remote control.
  • Step S612 if yes, sending a management instruction to operate the CPE to return to a normal state;
  • Step S614 if not, generate and report a warning message.
  • the abnormal state device in the network can be effectively determined, and the device is restored to normal, thereby reducing the total transmission of invalid packets in the network and improving the effective utilization of the network.
  • the beneficial effects of the preferred embodiment are that the CPE management network does not reduce the ACS management quality due to abnormalities of some CPE devices, and the network bandwidth is invalidated and wasted, which ensures the smooth operation of the ACS system and improves the management stability and effectiveness of the CPE network. Sex.
  • the CPE device when a part of the CPE device is in the Rampage state, a large number of reported TR-069 packets are processed as an example, which is described with reference to FIG. 7.
  • the CPE device has a relatively high interval due to the failure of the CPE device itself or the default reporting period provided by the CPE device.
  • the frequency reports the TR-069 packet to the ACS.
  • This situation can be called the CPE device in the Rampage state.
  • the periodic reporting interval is 60 seconds.
  • the average value of the message may be 10,000/sec, and the peak value is as high as 2-3 million per second. In such cases, the ACS may not operate stably because it cannot be processed.
  • FIG. 7 provides a method of processing a TR-069 message message for handling a message storm that occurs when the CPE device is in the Ramage state.
  • FIG. 7 is a flowchart of a method for processing a TR-069 message according to a preferred embodiment of the present invention; as shown in FIG. 7, the method may include the following process:
  • Step S700 The message preprocessor receives the 2-Periodic message reported by the CPE.
  • the system starts and loads the policy configuration file.
  • These configurations can at least include checking the event number, threshold, and repair action.
  • the policy profile example can look like this:
  • Name indicates the name of the policy; Class corresponds to the specific policy processing object; EventCode is the event number of the triggering policy; Parameter is the policy parameter.
  • setParameterValues corresponds to the RPC method in TR-069, where oid and value indicate that the periodic reporting interval is set to 43200 seconds.
  • the message preprocessor receives the Inform message reported by the CPE.
  • the TR-069Inform message example can be as follows:
  • OUI and SerialNumber are combined to form a device identifier, and the device identifier of each device is unique.
  • the number before the space in the EventCode is the event number.
  • Step S702 extracting a CPE identifier, a TR-069 event number, and a time when the Inform message is received;
  • the message preprocessor extracts the CPE identifier and the TR-069 event number attribute from the TR-069 Inform received above, and records the two attributes and the time when the message preprocessor receives the Inform message.
  • the message preprocessing module receives the 2-Periodic message, first converts the message into an HTTP message, and then converts it into a TR-069 Inform message object, extracts the device identifier and event number information from the TR-069 Inform message object, and combines the two information together The time received is recorded in memory.
  • Step S704 determining whether the CPE device is in a Rampage state
  • the policy module determines whether the CPE is in the Rampage state according to the frequency of the 2-periodic received by the CPE device, and the judgment is based on the interval between the last two 2-Periodic messages being less than a preset threshold (for example, 630 seconds). Matching the event number extracted in step S702 with the event number EventCode of the trigger policy configured in step S700, finding a corresponding processing policy RampagePolicy, loading the policy processing class con.zte.ums.cpehg.neal.plocy.RampagePolicy, and starting the Policy and pass the TR-069 message object.
  • a preset threshold for example, 630 seconds
  • the TR-069 packet is sent from the same CPE device, and the time difference of the TR-069 packet received from the same CPE device is calculated. This time is compared with the periodic reporting interval threshold value configured in step S700. If the time difference from the TR-069 message sent by the same CPE device is less than or equal to the preset threshold, the CPE device can be considered to be in the Rampage state and further processing is required.
  • Step S706 transparently transmitting the message to the ACS
  • the message is directly transmitted to the ACS.
  • step S704 if the calculated time difference is greater than the threshold, the 2-Periodic message is transparently transmitted to the ACS.
  • the message preprocessor responds normally with TR-069 to end the session and the process ends.
  • Step S708 determining whether the CPE device has undergone repair
  • step S704 if the calculated time difference is less than the threshold, the CPE device may report that the message period is too frequent and is in the Rampage state. Check the device maintenance record to determine whether the CPE device has been repaired or repaired, and perform the next step based on the result.
  • Step S710 reset the period of the CPE report message
  • the reporting period of the reset CPE is 24 hours or other reasonable period interval; if the time difference is less than the threshold and the CPE has never been repaired, the repair action can be initiated, that is, sent to the device.
  • the remote control command sends a message to the device to modify the period of the periodic report, which is used to reset the periodic reporting interval of the device. If the repair action fails, the device can generate an alarm message to notify the operator to manually troubleshoot the fault.
  • Step S712 generating alarm information.
  • step S700 includes, but is not limited to, loading a configuration file, and may also load a database or a memory configuration.
  • the configuration file is not limited to the XML format in the example, and may also adopt a format such as a Properties format, a data table, or other configuration format; in step S702, the 2-Periodic message is first converted into an HTTP message, and then converted into a TR-069 Inform message object.
  • the necessary operations as long as the device unique identifier and the event number can be extracted from the TR-069 message, and the information is not limited to be recorded in the memory, and can also be recorded in the configuration file or the database; in step S712
  • the alarm information is generated to notify the maintenance personnel to perform manual intervention, including but not limited to generating an alarm, which may be any form of notification and notification to the operator, for example, recording information to a text, a database, and notifying by email or SMS.
  • Example 2 A preferred embodiment of the present invention may also be directed to the CPE reporting a large number of invalid messages, which may be described in conjunction with FIG.
  • CPE CPE reporting a large number of invalid messages
  • FIG. 8 provides a method for processing a TR-069 message message for processing a problem that a CPE device reports a large number of invalid messages.
  • FIG. 8 is a flowchart of a method for processing a TR-069 message according to a preferred embodiment of the present invention; as shown in FIG. 8, the method may include the following process:
  • Step S800 the system loads and configures a blacklist feature library.
  • the blacklist signature database is a set of invalid message instances defined in advance, and is used to determine whether the reported TR-069 packet is an invalid packet.
  • the sample signature database configuration file format is as follows:
  • EventCodeEnabled 0,1,2,4,5,6,7,8, the event number in the whitelist configured as above.
  • Step S802 Acquire a TR-069 message reported by the CPE device; the message pre-processor receives the TR-069 Inform message reported by the CPE.
  • Step S804 extracting the event number of the message; the message preprocessor converts the Inform message received in step 202 into a TR-069 message object, and extracts the event number therein.
  • the message pre-processing module receives the TR-069 message, first converts the message into an HTTP message, and then converts it into a TR-069 Inform message object. If an exception occurs during the message conversion process, the message is considered invalid, and the empty message of the TR-069 is directly returned to the device to end the session.
  • Step S806 determining, according to the blacklist feature database, whether the message is an invalid message
  • the policy module determines whether the Inform message received in step S802 is an invalid message according to the configured blacklist feature database. After the message is correctly converted into a TR-069 Inform message object, the event number is extracted, and the event number is in the feature library in step S800. The event number matches, and it is determined according to the matching result whether the message is an invalid message.
  • step S808 the message is directly transmitted to the ACS; if the match is unsuccessful, the message is considered to be invalid, and the message can be directly transmitted to the ACS.
  • Step S810 the current session is removed; if the matching is successful, the message is considered to be an invalid message, and the session is normally ended according to the TR-069 protocol specification; if the Inform message is an invalid Inform message, the message preprocessor responds to the CPE device with an Inform Response. Message used to dismantle this session.
  • step S812 the session is ended.
  • the message preprocessor receives the Empty Request message reported by the CPE, and the message preprocessor replies to the CPE with an Empty Response message.
  • step S804 the conversion to the TR-069 message object in step S804 is not an essential operation, and other methods that can extract the device unique identifier and the event number from the message may be used.
  • step S800 is not limited to loading a configuration file, and may also load a database or a memory configuration.
  • the configuration file is not limited to the Properties format in the example, and may also be in an XML format, a data table, or other configuration format.
  • the configured blacklist packet feature database can also be a TR-069 valid event list, such as a whitelist message signature database.
  • step S806 is adaptively changed to: the policy module determines, according to the configured whitelist feature database, whether the Inform message received in step S802 is an invalid message. Matching the event number with the event number of the whitelisted library. If the matching is successful, the message received in step S802 is valid, and the message can be directly transmitted to the ACS; if the matching fails, the received message can be considered invalid. The message can be terminated normally according to the TR-069 protocol specification.
  • the method provided in the second method is used to determine the validity of the packet, and the invalid packet is directly discarded.
  • the invalid message can be intercepted outside the ACS to avoid consuming the ACS resources and suppress the invalid traffic in the network.
  • the generation thereby reducing bandwidth resource consumption, improving bandwidth utilization, and improving system stability.
  • the embodiments, the preferred embodiments, and the examples of the present invention provide a method and a device for efficiently processing TR-069 invalid or abnormal message messages, and setting a policy for pre-processing message messages to determine the CPE device reporting. Whether the packet message is abnormal or invalid, further determining whether the CPE device can be repaired, processing the TR-069 message and maintaining the CPE device according to the policy, can effectively determine the abnormal state device in the network, and restore the device to normal. Therefore, the total transmission of invalid messages in the network is reduced, and the invalid network bandwidth is reduced.
  • the resources of the ACS can be effectively used for the management of the service, ensuring the smooth operation of the ACS system, and improving the management stability and effectiveness of the CPE network. .
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the method and apparatus for processing a TR-069 message provided by the embodiments of the present invention have the following beneficial effects: improving bandwidth utilization, ensuring smooth operation of the ACS system, and improving management stability and effectiveness of the CPE network. Sex.

Landscapes

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

Abstract

Disclosed in the present invention are a TR-069 message processing method and apparatus; the method includes: the TR-069 message comes from Customer Premise Equipment (CPE); whether a failure occurs to the CPE is determined when the TR-069 message is an abnormal message; the TR-069 message is processed according to the determination result, thus solving the problem in prior art that when a failure or abnormity occurs to the CPE, a large number of invalid or abnormal messages are reported, occupying the network bandwidth, affecting normal message transmission, consuming processing resources of Auto Config Server (ACS), severely affecting the normal management operation performed by the ACS, and affecting the normal management of the entire network. Thereby, the bandwidth resource consumption is reduced, the bandwidth utilization rate is increased, the stable running of the ACS system is guaranteed, and the management stability and efficiency of the CPE network is improved.

Description

处理TR-069消息的方法及装置Method and device for processing TR-069 message 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种处理TR-069消息的方法及装置。The present invention relates to the field of communications, and in particular, to a method and apparatus for processing a TR-069 message.
背景技术Background technique
自动配置服务器(Auto Config Server,简称为ACS),设置为用户侧设备(Customer Premise Equipment,简称为CPE)网络的管理,对支持TR-069的终端进行配置、诊断、性能采集等管理。用户侧设备CPE是指物理上位于用户层的硬件,如:服务器、工作站、通信硬件(CSU/DSUs,调制解调器)、LAN设备(集线器、网桥、交换机)、WAN设备(路由器),包括但不限于数字用户线路调制解调器(Digital Subscriber Line Modem,简称为DSL Modem),无源光接入系统(Gigabit-Capable Passive Optical Network,简称为GPON)和以太网无源光网络(Ethernet Passive Optical Network,简称为EPON)上行的光网络单元(Optical Network Unit,简称为ONU),交互式网络电视IPTV机顶盒,OTT(Over The Top)机顶盒,下挂接入点(acess poinit,简称为AP),综合接入设备IAD等。一般一套ACS所管理的CPE数量巨大,数量甚至可以超过千万。CPE设备来源于不同厂商,不同批次的不同版本,在网络中会出现某些设备,或个别批次设备工作处于异常状态而向ACS发送异常报文,或者是因为设备配置问题向ACS发送大量无效报文因为网络中终端数量较多,因此即使少量的设备发生故障,仍会产生数量可观的报文,这些异常报文会占用网络带宽,影响正常的报文传送,消耗ACS的处理资源,导致ACS需要处理的业务无法顺利完成,对ACS实施正常的管理操作带来很大的影响,出现管理业务变慢甚至管理业务失效的情况,从而影响到整个网络的正常管理。目前,一般ACS系统通过前置负载均衡设备,用负载均衡设备处理掉部分异常或无效报文,但是由于负载均是一种独立设备或组件,只能按一些简单的规则进行处理,无法应对较为复杂的各类异常或无效报文的场景,所以作用有限;亦不能抑制网络中这种无效流量的产生,从而起到降低带宽资源消耗,提高带宽利用率的作用。The automatic configuration server (Auto Config Server, ACS for short) is configured as the management of the Customer Premise Equipment (CPE) network. It manages the configuration, diagnosis, and performance collection of the terminals that support TR-069. User-side device CPE refers to hardware that is physically located at the user layer, such as: servers, workstations, communication hardware (CSU/DSUs, modems), LAN devices (hubs, bridges, switches), WAN devices (routers), including but not Limited to Digital Subscriber Line Modem (DSL Modem), Gigabit-Capable Passive Optical Network (GPON) and Ethernet Passive Optical Network (Ethernet Passive Optical Network) EPON) Uplink Optical Network Unit (ONU), Interactive Internet TV IPTV Set Top Box, OTT (Over The Top) Set Top Box, Acess Poinit (AP), Integrated Access Equipment IAD et al. Generally, the number of CPEs managed by a set of ACS is huge, and the number can even exceed 10 million. The CPE device is from different vendors, different versions of different batches, some devices appear in the network, or individual batch devices work abnormally and send abnormal packets to the ACS, or send a large number of packets to the ACS because of device configuration problems. Because there are a large number of terminals on the network, even if a small number of devices fail, a large number of packets will be generated. These abnormal packets will occupy network bandwidth, affect normal packet transmission, and consume ACS processing resources. The services that the ACS needs to process cannot be successfully completed. This can greatly affect the normal management operations of the ACS. The management services become slower or even the management services fail. This affects the normal management of the entire network. At present, the general ACS system uses the load balancing device to process some abnormal or invalid packets through the pre-load balancing device. However, since the load is an independent device or component, it can only be processed according to some simple rules. Complex scenarios of various types of abnormal or invalid packets have limited effect; they cannot suppress the generation of such invalid traffic in the network, thereby reducing bandwidth resource consumption and improving bandwidth utilization.
相关技术中,CPE设备出现故障或异常时,上报大量无效或异常报文,挤占网络带宽,影响正常的报文传送,消耗ACS的处理资源,对ACS实施正常的管理操作带来很大的影响,从而影响到整个网络的正常管理的问题,目前尚未提出有效的解决方案。 In the related art, when a CPE device is faulty or abnormal, a large number of invalid or abnormal packets are reported, which consumes network bandwidth, affects normal packet transmission, and consumes ACS processing resources, which has a great impact on the normal management operation of the ACS. Therefore, it affects the normal management of the entire network, and no effective solution has been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种处理TR-069消息的方法及装置,以至少解决相关技术中,CPE设备出现故障或异常时,上报大量无效或异常报文,挤占网络带宽,影响正常的报文传送,消耗ACS的处理资源,对ACS实施正常的管理操作带来很大的影响,从而影响到整个网络的正常管理的问题。The embodiment of the present invention provides a method and an apparatus for processing a TR-069 message, so as to at least solve the problem that a CPE device is faulty or abnormal, and a large number of invalid or abnormal packets are reported, which occupy the network bandwidth and affect normal packets. The transmission and consumption of the ACS processing resources have a great impact on the normal management operation of the ACS, thus affecting the normal management of the entire network.
根据本发明实施例的一个方面,提供了一种处理TR-069消息的方法,包括:获取TR-069报文,其中,所述TR-069报文来自于CPE设备;在所述TR-069报文为异常报文的情况下,判定所述CPE设备是否出现故障;根据所述判定结果处理所述TR-069报文。According to an aspect of the present invention, a method for processing a TR-069 message is provided, including: acquiring a TR-069 message, wherein the TR-069 message is from a CPE device; in the TR-069 If the packet is an abnormal packet, it is determined whether the CPE device is faulty; and the TR-069 packet is processed according to the determination result.
优选地,在获取TR-069报文之后,所述方法还包括:确定所述TR-069报文是否为正常报文。Preferably, after the TR-069 message is obtained, the method further includes: determining whether the TR-069 message is a normal message.
优选地,所述方法还包括:在确定所述TR-069报文为正常报文的情况下,透传所述TR-069报文至ACS。Preferably, the method further includes transparently transmitting the TR-069 message to the ACS in the case that the TR-069 message is determined to be a normal message.
优选地,根据所述判定结果处理所述TR-069报文包括:在所述判定结果指示所述CPE设备未出现故障的情况下,发送拆除指令至所述CPE设备,其中,所述拆除指令用于所述CPE设备拆除本次会话。Preferably, processing the TR-069 message according to the determination result includes: sending a teardown instruction to the CPE device if the determination result indicates that the CPE device does not fail, wherein the teardown instruction Used by the CPE device to tear down the session.
优选地,根据所述判定结果处理所述TR-069报文包括:在所述判定结果指示所述CPE设备出现故障的情况下,判定所述CPE设备是否可以通过远程控制指令恢复至正常状态。Preferably, processing the TR-069 message according to the determination result includes: determining, in a case where the determination result indicates that the CPE device is faulty, whether the CPE device can be restored to a normal state by using a remote control instruction.
优选地,所述方法还包括:在所述CPE设备可以通过远程控制指令恢复至正常状态的情况下,发送管理指令至所述CPE设备,其中,所述管理指令用于所述CPE恢复到正常状态。Preferably, the method further includes: sending a management instruction to the CPE device if the CPE device can be restored to a normal state by a remote control command, wherein the management command is used to restore the CPE to a normal state status.
优选地,所述方法还包括:在所述CPE设备不能通过远程控制指令恢复至正常状态的情况下,上报告警信息,其中,所述告警信息用于指示所述CPE设备出现故障。Preferably, the method further includes: when the CPE device cannot be restored to a normal state by using a remote control command, the alarm information is reported, wherein the alarm information is used to indicate that the CPE device is faulty.
优选地,确定所述TR-069报文是否为正常报文包括:提取所述TR-069报文中的CPE标识属性、TR-069事件号属性和收到所述TR-069报文的时间;根据所述TR-069报文中的CPE标识属性、TR-069事件号属性以及收到所述TR-069报文的时间判定同一CPE设备发送TR-069报文的周期是否达到阈值。 Preferably, determining whether the TR-069 message is a normal message includes: extracting a CPE identifier attribute, a TR-069 event number attribute, and a time of receiving the TR-069 message in the TR-069 message. And determining whether the period of sending the TR-069 packet by the same CPE device reaches a threshold according to the CPE identifier attribute, the TR-069 event number attribute, and the time of receiving the TR-069 message in the TR-069 message.
优选地,所述方法还包括:在所述周期未达到所述阈值的情况下,透传所述TR-069报文至ACS。Preferably, the method further includes transparently transmitting the TR-069 message to the ACS if the period does not reach the threshold.
优选地,所述方法还包括:在所述周期达到所述阈值的情况下,判定所述CPE设备是否接受过修复指令。Advantageously, the method further comprises determining if the CPE device has received a repair command if the period reaches the threshold.
优选地,所述方法还包括:在所述CPE设备未接受过修复指令的情况下,发送重置命令至所述CPE设备,其中,所述重置命令用于将所述CPE设备发送TR-069报文的周期设置为合理时间;或者,在所述CPE设备接受过修复指令的情况下,生成告警信息。Preferably, the method further comprises: sending a reset command to the CPE device if the CPE device has not received a repair command, wherein the reset command is used to send the CPE device to the TR- The period of the 069 packet is set to a reasonable time; or, when the CPE device receives the repair command, the alarm information is generated.
优选地,确定所述TR-069报文是否为正常报文还包括:配置一个或多个有效TR-069事件列表;根据所述有效TR-069事件列表判断所述TR-069报文是否为无效报文,其中,所述无效报文至少包括:ACS无法识别的消息、ACS无需处理的Inform消息。Preferably, determining whether the TR-069 message is a normal message further includes: configuring one or more valid TR-069 event lists; determining, according to the valid TR-069 event list, whether the TR-069 message is The invalid message includes at least a message that the ACS cannot recognize, and an Inform message that the ACS does not need to process.
优选地,所述方法包括:在所述TR-069报文为有效报文的情况下,透传所述TR-069报文至ACS;或者,在所述TR-069报文为无效报文的情况下,发送拆除指令至所述CPE设备,其中,所述拆除指令用于所述CPE设备拆除本次会话。Preferably, the method includes: transparently transmitting the TR-069 message to the ACS if the TR-069 message is a valid message; or the invalid message in the TR-069 message And sending a teardown command to the CPE device, where the teardown command is used by the CPE device to tear down the session.
根据本发明实施例的另一方面,提供了一种处理TR-069消息的装置,该装置包括:获取模块,设置为获取TR-069报文,其中,所述TR-069报文来自于CPE设备;第一判定模块,设置为在所述TR-069报文为异常报文的情况下,判定所述CPE设备是否出现故障;处理模块,设置为根据所述判定结果处理所述TR-069报文。According to another aspect of the present invention, there is provided an apparatus for processing a TR-069 message, the apparatus comprising: an obtaining module, configured to acquire a TR-069 message, wherein the TR-069 message is from a CPE The first determining module is configured to determine whether the CPE device is faulty if the TR-069 packet is an abnormal packet, and the processing module is configured to process the TR-069 according to the determination result. Message.
优选地,所述装置还包括:确定模块,设置为在获取TR-069报文之后,确定所述TR-069报文是否为正常报文。Preferably, the device further includes: a determining module, configured to determine whether the TR-069 message is a normal message after acquiring the TR-069 message.
优选地,所述装置还包括:第一透传模块,设置为在确定所述TR-069报文为正常报文的情况下,透传所述TR-069报文至ACS。Preferably, the device further includes: a first transparent transmission module, configured to transparently transmit the TR-069 message to the ACS if the TR-069 message is determined to be a normal message.
优选地,所述处理模块包括:拆除单元,设置为在所述判定结果指示所述CPE设备未出现故障的情况下,发送拆除指令至所述CPE设备,其中,所述拆除指令用于所述CPE设备拆除本次会话。Preferably, the processing module includes: a removal unit configured to send a removal command to the CPE device if the determination result indicates that the CPE device does not fail, wherein the removal instruction is used for the The CPE device tears down the session.
优选地,所述处理模块包括:第一判定单元,设置为在所述判定结果指示所述CPE设备出现故障的情况下,判定所述CPE设备是否可以通过远程控制指令恢复至正常状态。 Preferably, the processing module comprises: a first determining unit, configured to determine whether the CPE device can be restored to a normal state by a remote control command if the determination result indicates that the CPE device is faulty.
优选地,所述装置还包括:恢复模块,设置为在所述CPE设备可以通过远程控制指令恢复至正常状态的情况下,发送管理指令至所述CPE设备,其中,所述管理指令用于所述CPE恢复到正常状态。Preferably, the apparatus further includes: a recovery module configured to send a management instruction to the CPE device if the CPE device can be restored to a normal state by a remote control command, wherein the management command is used for The CPE is restored to the normal state.
优选地,所述装置还包括:第一告警模块,设置为在所述CPE设备不能通过远程控制指令恢复至正常状态的情况下,上报告警信息,其中,所述告警信息用于指示所述CPE设备出现故障。Preferably, the device further includes: a first alarm module, configured to report alarm information when the CPE device cannot be restored to a normal state by using a remote control command, wherein the alarm information is used to indicate the The CPE device has failed.
优选地,所述确定模块包括:提取单元,设置为提取所述TR-069报文中的CPE标识属性、TR-069事件号属性和收到所述TR-069报文的时间;第二判定单元,设置为根据所述TR-069报文中的CPE标识属性、TR-069事件号属性以及收到所述TR-069报文的时间判定同一CPE设备发送TR-069报文的周期是否达到阈值。Preferably, the determining module includes: an extracting unit, configured to extract a CPE identifier attribute, a TR-069 event number attribute, and a time of receiving the TR-069 message in the TR-069 message; The unit is configured to determine whether the period of sending the TR-069 packet by the same CPE device is determined according to the CPE identifier attribute, the TR-069 event number attribute, and the time of receiving the TR-069 message in the TR-069 message. Threshold.
优选地,所述装置还包括:第二透传模块,设置为在所述周期未达到所述阈值的情况下,透传所述TR-069报文至ACS。Preferably, the device further includes: a second transparent transmission module, configured to transparently transmit the TR-069 message to the ACS if the period does not reach the threshold.
优选地,所述装置还包括:第二判定模块,设置为在所述周期达到所述阈值的情况下,判定所述CPE设备是否接受过修复指令。Preferably, the apparatus further comprises: a second determining module configured to determine whether the CPE device has received a repair command if the period reaches the threshold.
优选地,所述装置还包括:重置模块,设置为在所述CPE设备未接受过修复指令的情况下,发送重置命令至所述CPE设备,其中,所述重置命令用于将所述CPE设备发送TR-069报文的周期设置为合理时间;或者,第二告警模块,设置为在所述CPE设备接受过修复指令的情况下,生成告警信息。Advantageously, the apparatus further comprises: a reset module configured to send a reset command to the CPE device if the CPE device has not received a repair command, wherein the reset command is for The period in which the CPE device sends the TR-069 packet is set to a reasonable time. Alternatively, the second alarm module is configured to generate the alarm information when the CPE device receives the repair command.
优选地,所述确定模块还包括:配置单元,设置为配置一个或多个有效TR-069事件列表;无效单元,设置为根据所述有效TR-069事件列表判断所述TR-069报文是否为无效报文,其中,所述无效报文至少包括:ACS无法识别的消息、ACS无需处理的Inform消息。Preferably, the determining module further includes: a configuration unit configured to configure one or more valid TR-069 event lists; and an invalidating unit configured to determine, according to the valid TR-069 event list, whether the TR-069 message is The invalid message includes at least a message that the ACS cannot recognize, and an Inform message that the ACS does not need to process.
优选地,所述装置包括:第三透传模块,设置为在所述TR-069报文为有效报文的情况下,透传所述TR-069报文至ACS;或者,拆除模块,设置为在所述TR-069报文为无效报文的情况下,发送拆除指令至所述CPE设备,其中,所述拆除指令用于所述CPE设备拆除本次会话。Preferably, the device includes: a third transparent transmission module, configured to transparently transmit the TR-069 message to the ACS if the TR-069 message is a valid message; or, remove the module, and set In the case that the TR-069 message is an invalid message, a teardown command is sent to the CPE device, where the teardown command is used by the CPE device to tear down the current session.
通过本发明实施例,采用获取TR-069报文,其中,该TR-069报文来自于CPE设备;在该TR-069报文为异常报文的情况下,判定该CPE设备是否出现故障;根据该判定结果处理该TR-069报文,解决了现有技术中,CPE设备出现故障或异常时, 上报大量无效或异常报文,挤占网络带宽,影响正常的报文传送,消耗ACS的处理资源,对ACS实施正常的管理操作带来很大的影响,从而影响到整个网络的正常管理的问题,从而起到降低带宽资源消耗,提高带宽利用率,保障了ACS系统的平稳运行,提升CPE网络的管理稳定性和有效性。In the embodiment of the present invention, the TR-069 packet is obtained, where the TR-069 packet is from the CPE device, and in the case that the TR-069 packet is an abnormal packet, it is determined whether the CPE device is faulty. The TR-069 packet is processed according to the determination result, which solves the problem that the CPE device fails or is abnormal in the prior art. Reporting a large number of invalid or abnormal packets, squeezing the network bandwidth, affecting the normal packet transmission, and consuming the processing resources of the ACS, which has a great impact on the normal management operation of the ACS, thus affecting the normal management of the entire network. Therefore, the bandwidth resource consumption is reduced, the bandwidth utilization is improved, the smooth operation of the ACS system is ensured, and the management stability and effectiveness of the CPE network are improved.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的一种处理TR-069消息的方法的流程图一;1 is a flowchart 1 of a method for processing a TR-069 message according to an embodiment of the present invention;
图2是根据本发明实施例的另一种处理TR-069消息的方法的流程图二;2 is a second flowchart of another method for processing a TR-069 message according to an embodiment of the present invention;
图3是根据本发明实施例的一种处理TR-069消息的装置的结构框图一;3 is a structural block diagram 1 of an apparatus for processing a TR-069 message according to an embodiment of the present invention;
图4是根据本发明实施例的另一种处理TR-069消息的装置的结构框图二;4 is a structural block diagram 2 of another apparatus for processing a TR-069 message according to an embodiment of the present invention;
图5是根据本发明优选实施例的一种处理TR-069消息的装置的结构框图;FIG. 5 is a structural block diagram of an apparatus for processing a TR-069 message according to a preferred embodiment of the present invention; FIG.
图6是根据本发明实施例的一种处理TR-069消息的方法的流程图一;6 is a flowchart 1 of a method for processing a TR-069 message according to an embodiment of the present invention;
图7是根据本发明实施例的一种处理TR-069消息的方法的流程图二;7 is a second flowchart of a method for processing a TR-069 message according to an embodiment of the present invention;
图8是根据本发明实施例的一种处理TR-069消息的方法的流程图三。FIG. 8 is a flowchart 3 of a method for processing a TR-069 message according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在发明本实施例中提供了一种处理TR-069消息的方法,图1是根据本发明实施例的流程图,如图1所示,该流程可以包括如下步骤:In the embodiment of the present invention, a method for processing a TR-069 message is provided. FIG. 1 is a flowchart according to an embodiment of the present invention. As shown in FIG. 1, the process may include the following steps:
步骤S100,获取TR-069报文,其中,该TR-069报文来自于CPE设备;Step S100: Obtain a TR-069 packet, where the TR-069 packet is from a CPE device;
步骤S102,在该TR-069报文为异常报文的情况下,判定该CPE设备是否出现故障; Step S102: If the TR-069 packet is an abnormal packet, determine whether the CPE device is faulty.
步骤S104,根据该判定结果处理该TR-069报文。Step S104, processing the TR-069 message according to the determination result.
如无特别说明,下述报文和消息在概念上是一样的,不做区分。在ACS网络中,由于成千上万的CPE设备上报大量的TR-069报文,即使一小部分的CPE设备出现故障或瑕疵,也会出现数量庞大的无效或异常的TR-069报文消息。这些异常、无效或瑕疵报文会占用网络带宽,影响正常的报文传送,消耗ACS的处理资源,导致ACS需要处理的业务无法顺利完成,对ACS实施正常的管理操作带来很大的影响,出现管理业务变慢甚至管理业务失效的情况,从而影响到整个网络的正常管理。一般ACS系统通过前置负载均衡设备,用负载均衡设备处理掉部分异常或无效报文,但是由于负载均是一种独立设备或组件,只能按一些简单的规则进行处理,无法应对较为复杂的各类异常或无效报文的场景,亦不能抑制网络中这种无效流量的产生所以作用有限。本实施例通过对TR-069报文消息进行选择性的策略预处理,正常报文透传至AC、异常或无效报文直接摒弃,甚至可以修复或上报CPE告警信息,实现了减少无效消息占用网络带宽、降低带宽资源消耗,提高带宽利用率,使得ACS的资源能有效用于管理业务的处理,保障了ACS系统的平稳运行,提升CPE网络的管理稳定性和有效性。Unless otherwise stated, the following messages and messages are conceptually the same and do not distinguish. In an ACS network, because a large number of TR-069 packets are reported by tens of thousands of CPE devices, even if a small number of CPE devices fail or fail, a large number of invalid or abnormal TR-069 messages will appear. . These abnormal, invalid, or defamatory packets will occupy the network bandwidth, affecting the normal packet transmission, and consuming the processing resources of the ACS. As a result, the services that the ACS needs to process cannot be successfully completed, which has a great impact on the normal management operations of the ACS. The management business is slow or even the management service is invalid, which affects the normal management of the entire network. Generally, the ACS system uses the load balancing device to process some abnormal or invalid packets through the pre-load balancing device. However, since the load is an independent device or component, it can only be processed according to some simple rules, and cannot handle complicated ones. Scenes of various types of abnormal or invalid messages cannot suppress the generation of such invalid traffic in the network, so the effect is limited. In this embodiment, the selective policy pre-processing of the TR-069 packet message is performed, and the normal packet is directly transmitted to the AC, the abnormal or invalid packet is directly discarded, and the CPE alarm information can be repaired or reported, thereby reducing the invalid message occupation. The network bandwidth, bandwidth consumption, bandwidth utilization, and ACS resources can be effectively used for management service processing, ensuring smooth operation of the ACS system and improving the management stability and effectiveness of the CPE network.
在本发明实施例中还提供了一种处理TR-069消息的方法,图2是根据本发明实施例的流程图,如图2所示,该流程可以包括如下步骤:A method for processing a TR-069 message is also provided in the embodiment of the present invention. FIG. 2 is a flowchart according to an embodiment of the present invention. As shown in FIG. 2, the process may include the following steps:
步骤S200,获取TR-069报文,其中,该TR-069报文来自于CPE设备;Step S200: Obtain a TR-069 packet, where the TR-069 packet is from a CPE device.
步骤S202,确定该TR-069报文是否为正常报文;Step S202, determining whether the TR-069 packet is a normal packet;
步骤S204,在该TR-069报文为异常报文的情况下,判定该CPE设备是否出现故障;Step S204: If the TR-069 packet is an abnormal packet, determine whether the CPE device is faulty.
步骤S206,根据该判定结果处理该TR-069报文。Step S206, processing the TR-069 message according to the determination result.
在优选的实施方式中,为了节约资源和实时地将TR-069报文消息上报至ACS,本实施例的方法还可以包括:在确定该TR-069报文为正常报文的情况下,透传该TR-069报文至ACS。In a preferred embodiment, in order to save the resources and report the TR-069 message to the ACS in real time, the method in this embodiment may further include: in the case that the TR-069 message is determined to be a normal message, The TR-069 message is transmitted to the ACS.
在优选的实施方式中,根据该判定结果处理该TR-069报文还可以包括:在该判定结果指示该CPE设备未出现故障的情况下,发送拆除指令至该CPE设备,其中,该拆除指令用于该CPE设备拆除本次会话。CPE设备在运行过程中,会出现一些偶发故障或瑕疵,上报一些异常报文或ACS无法处理的报文。在监测到异常或无效TR-069报文消息时,确定CPE只是偶然出现上报无效或异常报文,可能属于消息转换过程中 出现异常。我们即可以认为该CPE设备未出现故障或问题,对这些少量的无效或异常消息,直接向CPE设备回复一个拆除会话的指令,可以发送一个TR-069的空消息结束本次会话。In a preferred embodiment, processing the TR-069 message according to the determination result may further include: sending a teardown command to the CPE device if the determination result indicates that the CPE device does not fail, wherein the teardown command Used for the CPE device to tear down this session. During the operation of the CPE device, some occasional faults or defects occur, and some abnormal packets or packets that cannot be processed by the ACS are reported. When an abnormal or invalid TR-069 message is detected, it is determined that the CPE only occasionally reports invalid or abnormal messages, which may belong to the message conversion process. Abnormal. We can think that the CPE device has no faults or problems. For these few invalid or abnormal messages, we can directly reply the CPE device with a command to dismantle the session. We can send a TR-069 empty message to end the session.
在优选的实施方式中,根据该判定结果处理该TR-069报文还可以包括:在该判定结果指示该CPE设备出现故障的情况下,判定该CPE设备是否可以通过远程控制指令恢复至正常状态。监测到大量的异常或无效TR-069报文消息,且判定到上报该异常或无效报文的CPE设备出现了故障或问题。直接废弃丢掉这些异常或无效的故障报文,同时系统可以试着尝试去修复该出现故障的CPE设备。其中一种方法便是使用远程控制指令是否可以使其恢复至正常工作状态。In a preferred embodiment, processing the TR-069 message according to the determination result may further include: determining, in a case that the CPE device is faulty, determining whether the CPE device can be restored to a normal state by using a remote control command. . A large number of abnormal or invalid TR-069 message messages were detected, and it was determined that the CPE device reporting the abnormal or invalid message had a fault or problem. Discard these abnormal or invalid fault messages directly, and the system can try to repair the faulty CPE device. One way is to use a remote control command to return it to normal operation.
进一步地,该方法还可以包括:在该CPE设备可以通过远程控制指令恢复至正常状态的情况下,发送管理指令至该CPE设备,其中,该管理指令用于该CPE恢复到正常状态。或者,在该CPE设备不能通过远程控制指令恢复至正常状态的情况下,上报告警信息,其中,该告警信息用于指示该CPE设备出现故障。Further, the method may further include: sending a management instruction to the CPE device if the CPE device can be restored to a normal state by using a remote control command, wherein the management command is used to restore the CPE to a normal state. Alternatively, in the case that the CPE device cannot be restored to the normal state by the remote control command, the alarm information is reported, wherein the alarm information is used to indicate that the CPE device is faulty.
在识别出异常报文后,作如下操作,即判定CPE设备是否出现问题:如果是没有出现故障,偶发异常,直接回复消息给cpe拆除这次会话;如果是CPE已经处于异常工作状态,还需要判断CPE是否可通过远程控制指令恢复到正常状态。如果可以的话则通过发送管理指令操作CPE恢复到正常状态;如果CPE无法通过远程指令恢复,则由系统生成告警,形成工单,由操作人员安排人工排除故障。经过上述处理后,能够有效判断出网络中的异常状态设备,并将设备恢复正常,从而减少无效报文在网络总的传递降低,提高网络的有效利用。After the abnormal packet is identified, the following operations are performed to determine whether the CPE device has a problem: if there is no fault, the spoke is abnormal, and the direct reply message is sent to the cpe to dismantle the session; if the CPE is already in an abnormal working state, it is required. Determine if the CPE can be restored to the normal state by remote control commands. If possible, the CPE is restored to the normal state by sending a management command; if the CPE cannot recover by the remote command, the system generates an alarm to form a work order, and the operator arranges manual troubleshooting. After the above processing, the abnormal state device in the network can be effectively determined, and the device is restored to normal, thereby reducing the total transmission of invalid packets in the network and improving the effective utilization of the network.
在优选的实施方式中,确定该TR-069报文是否为正常报文还可以包括:提取该TR-069报文中的CPE标识属性和TR-069事件号属性,和收到该TR-069报文的时间;根据该TR-069报文中的CPE标识属性、TR-069事件号属性以及收到该TR-069报文的时间判定同一CPE设备发送TR-069报文的周期是否达到阈值。In a preferred embodiment, determining whether the TR-069 message is a normal message may further include: extracting a CPE identity attribute and a TR-069 event number attribute in the TR-069 message, and receiving the TR-069 Whether the period of the TR-069 packet sent by the same CPE device reaches the threshold is determined according to the CPE identifier attribute, the TR-069 event number attribute, and the time when the TR-069 packet is received. .
进一步地,该方法还可以包括:在该周期未达到该阈值的情况下,透传该TR-069报文至ACS。或者,在该周期达到该阈值的情况下,判定该CPE设备是否接受过修复指令。Further, the method may further include: transparently transmitting the TR-069 message to the ACS if the period does not reach the threshold. Alternatively, if the period reaches the threshold, it is determined whether the CPE device has received the repair command.
在实际部署时由于一些厂商的CPE设备本身的故障或者CPE设备在出厂提供的默认配置不合理导致了CPE周期上报间隔较短,这中情况我们称为Rampage状态,比如网络中有100万CPE,周期上报间隔为60秒,那么即便是CPE在线率只有40%,那么消息的平均值也可能是1万条/秒,而峰值更高达2-3万每秒,这样的情况下,ACS 可能因为无法处理而不能稳定运行。获取上报的TR-069报文消息,提取报文携带的CPE设备属性、TR-069事件号属性,和收到TR-069报文的时间。根据CPE设备属性、TR-069事件号属性判断TR-069报文是否来源于同一台CPE设备,并比较这些来自于同一CPE设备上报的报文消息,判断CPE设备上报消息的频率是否太高。CPE设备由于某种原因上报TR-069报文消息频率超过预设的阈值时,查找该CPE设备的维护记录,判断是曾经是否接受过恢复指令,将上报周期设置为低于阈值。In the actual deployment, the CPE cycle reporting interval is short due to the failure of the CPE device itself or the default configuration provided by the CPE device. This situation is called the Rampage state. For example, there are 1 million CPEs in the network. The periodic reporting interval is 60 seconds, so even if the CPE online rate is only 40%, then the average value of the message may be 10,000 / sec, and the peak value is as high as 2-3 million per second. In this case, ACS It may not work stably because it cannot be processed. Obtain the reported TR-069 packet message, and extract the CPE device attribute, the TR-069 event number attribute, and the time of receiving the TR-069 message. It is determined whether the TR-069 packet is originated from the same CPE device according to the CPE device attribute and the TR-069 event number attribute, and compares the message messages reported from the same CPE device to determine whether the frequency of the message reported by the CPE device is too high. If the CPE device reports the TR-069 packet message frequency exceeding the preset threshold for a certain reason, it searches for the maintenance record of the CPE device to determine whether it has received the recovery command and sets the reporting period to be lower than the threshold.
进一步地,在该CPE设备未接受过修复指令的情况下,发送重置命令至该CPE设备,其中,该重置命令用于将该CPE设备发送TR-069报文的周期设置为合理时间;或者,在该CPE设备接受过修复指令的情况下,生成告警信息。如果CPE设备未接受过恢复,那么可以视为该CPE设备是最近出现问题,可以重置上报报文的周期为合理时间;如果CPE设备接受过维护,说明CPE设备有比较严重的问题,不可能单独通过重置命令使其恢复至系统正常上报周期,可以则将该设备加入人工干预名单或者告警或者生成工单或者通知ACS对CPE进行升级。Further, if the CPE device does not receive the repair command, the reset command is sent to the CPE device, where the reset command is used to set the period for sending the TR-069 message by the CPE device to a reasonable time; Alternatively, the alarm information is generated when the CPE device receives the repair command. If the CPE device has not been restored, it can be considered that the CPE device has a recent problem, and the period for reporting the reported message is a reasonable time. If the CPE device has been subjected to maintenance, the CPE device has a serious problem. You can use the reset command to restore the system to the normal reporting period. You can add the device to the manual intervention list or alarm or generate a work order or notify the ACS to upgrade the CPE.
在优选的实施方式中,确定TR-069报文是否为正常报文还可以包括:配置一个或多个有效TR-069事件列表;根据该有效TR-069事件列表判断该TR-069报文是否为无效报文,其中,该无效报文至少包括:ACS无法识别的消息、ACS无需处理的Inform消息。通常,CPE网络中出现的无效消息一般有两种情况,一种是无法识别的消息,如连续的空包,设备自定义且不在运营商规范要求中的Inform消息等等;另一种是明确知道不需要处理的Inform消息。通过设置一个白名单或黑名单,例如有效TR-069事件列表,通过黑/白明白判断CEP设备传输的报文是否为无效报文。In a preferred embodiment, determining whether the TR-069 message is a normal message may further include: configuring one or more valid TR-069 event lists; determining, according to the valid TR-069 event list, whether the TR-069 message is The invalid message includes at least a message that the ACS cannot recognize, and an Inform message that the ACS does not need to process. Generally, there are two cases of invalid messages appearing in a CPE network. One is an unrecognizable message, such as a continuous empty packet, a device-defined Inform message that is not in the operator's specification, and the like; the other is clear Know the Inform messages that you don't need to process. By setting a whitelist or blacklist, for example, a valid TR-069 event list, it is determined by black/white whether the message transmitted by the CEP device is an invalid message.
进一步地,该方法可以包括:在该TR-069报文为有效报文的情况下,透传该TR-069报文至ACS;或者,在该TR-069报文为无效报文的情况下,发送拆除指令至该CPE设备,其中,该拆除指令用于该CPE设备拆除本次会话。针对CPE上报大量无效消息作出不同的处理,判断为有效报文可以直接透传至ACS;对于无效报文可以恢复空消息结束本次会话,优选实施方式可以将这些无效消息拦截在ACS之外,避免消耗ACS的资源。Further, the method may include: transparently transmitting the TR-069 message to the ACS if the TR-069 message is a valid message; or, if the TR-069 message is an invalid message, Sending a teardown command to the CPE device, wherein the teardown command is used by the CPE device to tear down the session. Different processing is performed on the CPE to report a large number of invalid messages, and it is determined that the valid message can be directly transmitted to the ACS; for the invalid message, the empty message can be restored to end the session, and the preferred embodiment can intercept the invalid message outside the ACS. Avoid consuming ACS resources.
在本发明的实施例中还提供了一种处理TR-069消息的装置,该装置设置为实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。 An apparatus for processing a TR-069 message is also provided in the embodiment of the present invention, and the apparatus is configured to implement the foregoing embodiments and preferred embodiments, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图3是根据本发明实施例的一种处理TR-069消息的装置的结构框图一,如图3所示,该装置可以包括:FIG. 3 is a structural block diagram of an apparatus for processing a TR-069 message according to an embodiment of the present invention. As shown in FIG. 3, the apparatus may include:
获取模块30,设置为获取TR-069报文,其中,该TR-069报文来自于CPE设备;第一判定模块32,连接至获取模块30,设置为在该TR-069报文为异常报文的情况下,判定该CPE设备是否出现故障;处理模块34,连接至第一判定模块32,设置为根据该判定结果处理该TR-069报文。The obtaining module 30 is configured to obtain a TR-069 packet, where the TR-069 packet is from the CPE device, and the first determining module 32 is connected to the obtaining module 30, and is configured to be an abnormal report in the TR-069 packet. If the CPE device is faulty, the processing module 34 is connected to the first determining module 32 and configured to process the TR-069 message according to the determination result.
图4是根据本发明实施例的另一种处理TR-069消息的装置的结构框图二,如图4所示,该装置可以包括:FIG. 4 is a structural block diagram 2 of another apparatus for processing a TR-069 message according to an embodiment of the present invention. As shown in FIG. 4, the apparatus may include:
获取模块40,设置为获取TR-069报文,其中,该TR-069报文来自于CPE设备;确定模块42,连接至获取模块40,设置为在获取TR-069报文之后,确定该TR-069报文是否为正常报文;第一判定模块44,连接至确定模块42,设置为在该TR-069报文为异常报文的情况下,判定该CPE设备是否出现故障;处理模块46,连接至第一判定模块44,设置为根据该判定结果处理该TR-069报文。The obtaining module 40 is configured to obtain a TR-069 packet, where the TR-069 packet is from the CPE device, and the determining module 42 is connected to the obtaining module 40, and is configured to determine the TR after acquiring the TR-069 packet. If the message is a normal message, the first determining module 44 is connected to the determining module 42 and configured to determine whether the CPE device is faulty if the TR-069 message is an abnormal message; the processing module 46 And connected to the first determining module 44, configured to process the TR-069 message according to the determination result.
在优选的实施方式中,该装置还可以包括:第一透传模块,设置为在该TR-069报文为正常报文的情况下,透传该TR-069报文至ACS。In a preferred embodiment, the apparatus may further include: a first transparent transmission module, configured to transparently transmit the TR-069 message to the ACS if the TR-069 message is a normal message.
在优选的实施方式中,该处理模块还可以包括:拆除单元,设置为在该判定结果指示该CPE设备未出现故障的情况下,发送拆除指令至该CPE设备,其中,该拆除指令用于该CPE设备拆除本次会话。In a preferred embodiment, the processing module may further include: a removal unit configured to send a removal command to the CPE device if the determination result indicates that the CPE device is not faulty, wherein the removal instruction is used for the CPE device The CPE device tears down the session.
在优选的实施方式中,该处理模块还可以包括:第一判定单元,设置为在该判定结果指示该CPE设备出现故障的情况下,判定该CPE设备是否可以通过远程控制指令恢复至正常状态。In a preferred embodiment, the processing module may further include: a first determining unit configured to determine whether the CPE device can be restored to a normal state by a remote control command if the determination result indicates that the CPE device is faulty.
进一步地,该装置还可以包括:恢复模块,设置为在该CPE设备可以通过远程控制指令恢复至正常状态的情况下,发送管理指令至该CPE设备,其中,该管理指令用于该CPE恢复到正常状态。该装置还可以包括:第一告警模块,设置为在该CPE设备不能通过远程控制指令恢复至正常状态的情况下,上报告警信息,其中,该告警信息用于指示该CPE设备出现故障。Further, the apparatus may further include: a recovery module configured to send a management instruction to the CPE device if the CPE device can be restored to a normal state by a remote control command, wherein the management command is used to restore the CPE to the CPE device normal status. The device may further include: a first alarm module configured to report the alarm information when the CPE device cannot be restored to the normal state by the remote control command, wherein the alarm information is used to indicate that the CPE device is faulty.
在优选的实施方式中,该装置的确定模块还可以包括:提取单元,设置为提取该TR-069报文中的CPE标识属性、TR-069事件号属性和收到该TR-069报文的时间;第二判定单元,设置为根据该TR-069报文中的CPE标识属性、TR-069事件号属性以 及收到该TR-069报文的时间判定同一CPE设备发送TR-069报文的周期是否达到阈值。In a preferred embodiment, the determining module of the device may further include: an extracting unit configured to extract a CPE identifier attribute, a TR-069 event number attribute, and a TR-069 message in the TR-069 message. a second determining unit, configured to: according to the CPE identifier attribute and the TR-069 event number attribute in the TR-069 message And the time when the TR-069 packet is received is determined whether the period of the TR-069 packet sent by the same CPE device reaches the threshold.
进一步地,该装置还可以包括:第二透传模块,设置为在该周期未达到该阈值的情况下,透传该TR-069报文至ACS。该装置还可以包括:第二判定模块,设置为在该周期达到该阈值的情况下,判定该CPE设备是否接受过修复指令。该装置还可以包括:重置模块,设置为在该CPE设备未接受过修复指令的情况下,发送重置命令至该CPE设备,其中,该重置命令用于将该CPE设备发送TR-069报文的周期设置为合理时间;或者第二告警模块,设置为在该CPE设备接受过修复指令的情况下,生成告警信息。Further, the device may further include: a second transparent transmission module, configured to transparently transmit the TR-069 message to the ACS if the threshold is not reached. The apparatus can also include a second decision module configured to determine whether the CPE device has received a repair command if the cycle reaches the threshold. The apparatus may further include: a reset module configured to send a reset command to the CPE device if the CPE device has not received the repair command, wherein the reset command is used to send the CPE device to the TR-069 The period of the packet is set to a reasonable time; or the second alarm module is configured to generate an alarm information when the CPE device receives the repair command.
在优选的实施方式中,该装置的确定模块还可以包括:配置单元,设置为配置一个或多个有效TR-069事件列表;无效单元,设置为根据该有效TR-069事件列表判断该TR-069报文是否为无效报文,其中,该无效报文至少包括:ACS无法识别的消息、ACS无需处理的Inform消息。In a preferred embodiment, the determining module of the device may further include: a configuration unit configured to configure one or more valid TR-069 event lists; and an invalidating unit configured to determine the TR based on the valid TR-069 event list. Whether the 069 packet is an invalid packet, and the invalid packet includes at least a message that the ACS cannot recognize, and an Inform message that the ACS does not need to process.
进一步地,该装置还可以包括:第三透传模块,设置为在该TR-069报文为有效报文的情况下,透传该TR-069报文至ACS;或者,拆除模块,设置为在该TR-069报文为无效报文的情况下,发送拆除指令至该CPE设备,其中,该拆除指令用于该CPE设备拆除本次会话。Further, the apparatus may further include: a third transparent transmission module, configured to transparently transmit the TR-069 message to the ACS when the TR-069 message is a valid message; or, remove the module, and set If the TR-069 packet is an invalid packet, the teardown command is sent to the CPE device, where the teardown command is used by the CPE device to tear down the session.
通过本发明实施例提供的装置,通过对TR-069报文消息进行选择性的策略预处理,正常报文透传至AC、异常或无效报文直接摒弃,甚至可以修复或上报CPE告警信息,实现了减少无效消息占用网络带宽、降低带宽资源消耗,提高带宽利用率,使得ACS的资源能有效用于管理业务的处理,保障了ACS系统的平稳运行,提升CPE网络的管理稳定性和有效性。The device provided by the embodiment of the present invention performs the selective policy pre-processing on the TR-069 packet message, and the normal packet is directly transmitted to the AC, the abnormal or invalid packet is directly discarded, and the CPE alarm information can be repaired or reported. The ACS resource can be effectively used for management service processing, ensuring the smooth operation of the ACS system, and improving the management stability and effectiveness of the CPE network. .
下面再结合具体实施例对本发明实施例的内容进行详细说明。The content of the embodiments of the present invention will be described in detail below with reference to specific embodiments.
本发明优选实施例的目的在于,提供一种ACS处理异常TR-069消息的方法和系统,使得ACS的资源能有效用于管理业务的处理,保障ACS管理的有效实施,以及减少无效消息占用网络带宽。为达到上述发明目的,图5是根据本发明优选实施例的一种处理TR-069消息的装置的结构框图;如图5所示,该装置可以包括如下模块:The preferred embodiment of the present invention provides a method and system for processing an abnormal TR-069 message by an ACS, so that resources of the ACS can be effectively used for management service processing, ensuring effective implementation of ACS management, and reducing invalid message occupation network. bandwidth. In order to achieve the above object, FIG. 5 is a structural block diagram of an apparatus for processing a TR-069 message according to a preferred embodiment of the present invention; as shown in FIG. 5, the apparatus may include the following modules:
消息预处理模块50(Message Pre-Processor of ACS),可以独立部署在CPE和ACS之间,也可以部署在CPE或ACS中,主要用于一方面负责直接和CPE进行消息交互,另一方面负责将CPE消息有选择性的透传到ACS。 The Message Pre-Processor of the ACS can be deployed between the CPE and the ACS. It can also be deployed in the CPE or ACS. It is mainly used to directly communicate with the CPE and on the other hand. The CPE message is selectively transparently transmitted to the ACS.
策略模块52(Policy),连接至消息预处理模块50,主要用于为消息预处理模块50提供业务决策支撑,消息预处理模块50收到CPE发来的TR-069消息后,调用策略模块52获取对应的处理策略,如果找不到匹配的策略则直接透传消息,如果找到匹配的策略,则按策略要求处理消息。The policy module 52 (Policy) is connected to the message pre-processing module 50, and is mainly used to provide the service decision support for the message pre-processing module 50. After receiving the TR-069 message sent by the CPE, the message pre-processing module 50 invokes the policy module 52. Obtain the corresponding processing policy. If no matching policy is found, the message is directly transparently transmitted. If a matching policy is found, the message is processed according to the policy requirement.
图6是根据本发明优选实施例的一种处理TR-069消息的方法的流程图;如图6所示,该方法可以包括如下流程:FIG. 6 is a flowchart of a method for processing a TR-069 message according to a preferred embodiment of the present invention; as shown in FIG. 6, the method may include the following process:
步骤S600,获取CPE设备上报的TR-069报文;CPE设备向ACS发送TR-069报文消息。本发明优选实施例提供的装置,消息预处理模块获取上报的报文。Step S600: Acquire a TR-069 message reported by the CPE device; the CPE device sends a TR-069 message to the ACS. The device provided by the preferred embodiment of the present invention, the message pre-processing module obtains the reported message.
步骤S602,判断TR-069报文是否为正常报文;在将TR-069报文上报至ACS之前,消息预处理模块调用策略模块对报文进行判断。如果不是正常报文需要拆除会话,作废弃处理,甚至采取进一步的修复CPE设备的操作。Step S602: Determine whether the TR-069 packet is a normal packet. Before reporting the TR-069 packet to the ACS, the message pre-processing module invokes the policy module to determine the packet. If it is not a normal message, the session needs to be dismantled, discarded, or even further repaired by the CPE device.
步骤S604,如果该TR-069报文是正常报文,则透传该TR-069报文至ACS;Step S604, if the TR-069 message is a normal message, transparently transmitting the TR-069 message to the ACS;
步骤S606,如果该TR-069报文非正常报文,则策略模块进行下一步,继续判断上传该异常报文的CPE设备是否为偶发异常;Step S606: If the TR-069 packet is abnormal, the policy module proceeds to the next step, and continues to determine whether the CPE device that uploads the abnormal packet is an occasional exception.
步骤S608,如果该CPE设备为偶发异常,发送消息给CPE设备,拆除本次会话;经策略模块认定,该CPE设备上报的异常报文为偶发异常,则认为该CPE未出现大的故障或问题。直接拆除本次会话,过滤掉该报文。Step S608: If the CPE device is in an abnormal state, send a message to the CPE device to dismantle the session; if the policy module determines that the abnormal message reported by the CPE device is an abnormal exception, the CPE is considered to have no major fault or problem. . The session is directly removed and the packet is filtered out.
步骤S610,如果该CPE设备为非偶发异常,则进行下一步,判断该CPE设备是否可以通过远程控制指令恢复到正常状态;经策略模块认定,该CPE设备上报的异常报文为非偶发异常,则可以认为该CPE已经出现较大的故障或问题。为了解决该问题,需要进行判断该CPE设备能否通过远程控制,使其恢复到正常。Step S610: If the CPE device is non-incidentally abnormal, proceed to the next step to determine whether the CPE device can be restored to the normal state by using a remote control command; and the policy module determines that the abnormal packet reported by the CPE device is not an accidental abnormality. Then the CPE can be considered to have a large fault or problem. In order to solve this problem, it is necessary to judge whether the CPE device can be restored to normal by remote control.
步骤S612,如果可以,则发送管理指令操作CPE恢复到正常状态;Step S612, if yes, sending a management instruction to operate the CPE to return to a normal state;
步骤S614,如果不可以,则生成并上报告警消息。Step S614, if not, generate and report a warning message.
经过上述步骤后,能够有效判断出网络中的异常状态设备,并将设备恢复正常,从而减少无效报文在网络总的传递降低,提高网络的有效利用。本优选实施例的有益效果在于:CPE管理网络不会因部分CPE设备的异常而致ACS管理质量降低,网络带宽被无效浪费,保障了ACS系统的平稳运行,提升CPE网络的管理稳定性和有效性。 After the above steps, the abnormal state device in the network can be effectively determined, and the device is restored to normal, thereby reducing the total transmission of invalid packets in the network and improving the effective utilization of the network. The beneficial effects of the preferred embodiment are that the CPE management network does not reduce the ACS management quality due to abnormalities of some CPE devices, and the network bandwidth is invalidated and wasted, which ensures the smooth operation of the ACS system and improves the management stability and effectiveness of the CPE network. Sex.
实例一、以在CPE管理网络中,当部分CPE设备处于Rampage状态时,处理大量上报的TR-069报文为例,结合附图7进行说明。首先,说明一下什么是CPE设备处于Rampage状态。在CPE和ACS网络的实际部署过程中,由于一些厂商的CPE设备本身的故障或者CPE设备在出厂提供的默认上报周期设置不合理,导致了CPE周期上报间隔较短,该CPE设备以相当高的频率向ACS上报TR-069报文,这种情形可以称之为CPE设备处于Rampage状态。比如网络中有100万台CPE设备,周期上报间隔为60秒。即使CPE设备在线率只有40%,那么消息的平均值也可能是1万条/秒,而峰值更高达2-3万每秒。在这样的情况下,ACS可能因为无法处理而不能稳定运行,In the CPE management network, when a part of the CPE device is in the Rampage state, a large number of reported TR-069 packets are processed as an example, which is described with reference to FIG. 7. First, explain what the CPE device is in the Rampage state. During the actual deployment of the CPE and the ACS network, the CPE device has a relatively high interval due to the failure of the CPE device itself or the default reporting period provided by the CPE device. The frequency reports the TR-069 packet to the ACS. This situation can be called the CPE device in the Rampage state. For example, there are 1 million CPE devices in the network, and the periodic reporting interval is 60 seconds. Even if the online rate of CPE equipment is only 40%, the average value of the message may be 10,000/sec, and the peak value is as high as 2-3 million per second. In such cases, the ACS may not operate stably because it cannot be processed.
附图7提供了一种处理TR-069报文消息的方法,用于处理当CPE设备处于Ramage状态时出现的消息风暴。图7是根据本发明优选实施例的一种处理TR-069消息的方法的流程图;如图7所示,该方法可以包括如下流程:Figure 7 provides a method of processing a TR-069 message message for handling a message storm that occurs when the CPE device is in the Ramage state. FIG. 7 is a flowchart of a method for processing a TR-069 message according to a preferred embodiment of the present invention; as shown in FIG. 7, the method may include the following process:
步骤S700,消息预处理器收到CPE上报的2-Periodic消息;Step S700: The message preprocessor receives the 2-Periodic message reported by the CPE.
首先,系统启动,加载策略配置文件,这些配置至少可以包括检查事件号,门限,修复动作。策略配置文件范例可以类似如下:First, the system starts and loads the policy configuration file. These configurations can at least include checking the event number, threshold, and repair action. The policy profile example can look like this:
Figure PCTCN2015083650-appb-000001
Figure PCTCN2015083650-appb-000001
Figure PCTCN2015083650-appb-000002
Figure PCTCN2015083650-appb-000002
其中,Name表示策略名称;Class对应具体的策略处理对象;EventCode是触发策略的事件号;Parameters中是策略参数,例中的interval=630表示,周期上报间隔的门限为630秒;Repair中是修复动作,setParameterValues对应TR-069中的RPC方法,这里的oid和value表示要将周期上报间隔设置为43200秒。Name indicates the name of the policy; Class corresponds to the specific policy processing object; EventCode is the event number of the triggering policy; Parameter is the policy parameter. In the example, interval=630 indicates that the threshold of the periodic reporting interval is 630 seconds; Repair is repaired. The action, setParameterValues corresponds to the RPC method in TR-069, where oid and value indicate that the periodic reporting interval is set to 43200 seconds.
其次,消息预处理器收到CPE上报的Inform消息。Second, the message preprocessor receives the Inform message reported by the CPE.
TR-069Inform消息范例可以如下:The TR-069Inform message example can be as follows:
Figure PCTCN2015083650-appb-000003
Figure PCTCN2015083650-appb-000003
Figure PCTCN2015083650-appb-000004
Figure PCTCN2015083650-appb-000004
上述Inform报文中,OUI和SerialNumber组合起来构成设备标识,每个设备的设备标识都是唯一的。EventCode中空格前的数字是事件号。In the above Inform message, OUI and SerialNumber are combined to form a device identifier, and the device identifier of each device is unique. The number before the space in the EventCode is the event number.
步骤S702,提取CPE标识、TR-069事件号以及收到Inform消息的时间; Step S702, extracting a CPE identifier, a TR-069 event number, and a time when the Inform message is received;
消息预处理器从上述收到的TR-069Inform中提取CPE标识和TR-069事件号属性,并记录这两个属性以及消息预处理器收到Inform消息的时间。消息预处理模块收到2-Periodic消息,首先将消息转换为HTTP消息,然后转换为TR-069Inform消息对象,从TR-069Inform消息对象中提取设备标识和事件号信息,并将这两个信息连同收到的时间一并记录到内存中。The message preprocessor extracts the CPE identifier and the TR-069 event number attribute from the TR-069 Inform received above, and records the two attributes and the time when the message preprocessor receives the Inform message. The message preprocessing module receives the 2-Periodic message, first converts the message into an HTTP message, and then converts it into a TR-069 Inform message object, extracts the device identifier and event number information from the TR-069 Inform message object, and combines the two information together The time received is recorded in memory.
步骤S704,判断该CPE设备是否处于Rampage状态;Step S704, determining whether the CPE device is in a Rampage state;
策略模块根据CPE设备收到2-Periodic的频率判断CPE是否处于Rampage状态,判断的依据则是最近两次2-Periodic消息的间隔小于预设的门限值(如630秒)。根据步骤S702提取到的事件号和步骤S700中配置的触发策略的事件号EventCode进行匹配,找到对应的处理策略RampagePolicy,加载策略处理类con.zte.ums.cpehg.neal.plocy.RampagePolicy,启动该策略并传递TR-069消息对象。根据同一设备标识、同一事件号,判断TR-069报文来自于同一CPE设备,计算收到来自于同一CPE设备上报的TR-069报文的时间差。将该时间和步骤S700中配置的周期上报间隔门限值作比较。如果来自于同一CPE设备上报TR-069消息的时间差小于或者等于预设的门限值,则可以认为该CPE设备当前处于Rampage状态,需要做出进一步的处理。The policy module determines whether the CPE is in the Rampage state according to the frequency of the 2-periodic received by the CPE device, and the judgment is based on the interval between the last two 2-Periodic messages being less than a preset threshold (for example, 630 seconds). Matching the event number extracted in step S702 with the event number EventCode of the trigger policy configured in step S700, finding a corresponding processing policy RampagePolicy, loading the policy processing class con.zte.ums.cpehg.neal.plocy.RampagePolicy, and starting the Policy and pass the TR-069 message object. According to the same device ID and the same event number, the TR-069 packet is sent from the same CPE device, and the time difference of the TR-069 packet received from the same CPE device is calculated. This time is compared with the periodic reporting interval threshold value configured in step S700. If the time difference from the TR-069 message sent by the same CPE device is less than or equal to the preset threshold, the CPE device can be considered to be in the Rampage state and further processing is required.
步骤S706,透传该报文至ACS;Step S706, transparently transmitting the message to the ACS;
当CPE处于Rampage状态的条件不成立,则直接透传消息到ACS:根据步骤S704,计算的时间差如果大于门限,则透传2-Periodic消息到ACS。对于自动处理的消息,消息预处理器按TR-069要求正常回复消息以结束会话,流程结束。When the condition that the CPE is in the Rampage state is not established, the message is directly transmitted to the ACS. According to step S704, if the calculated time difference is greater than the threshold, the 2-Periodic message is transparently transmitted to the ACS. For automatically processed messages, the message preprocessor responds normally with TR-069 to end the session and the process ends.
步骤S708,判断该CPE设备是否接受过修复;Step S708, determining whether the CPE device has undergone repair;
当CPE处于Rampage状态的条件成立则继续判断该CPE是否从未修复过(这个案列中指的是步骤S710中的重置周期)。根据步骤S704,计算的时间差如果小于门限,则可以认为该CPE设备上报消息周期过于频繁,已经处于Rampage状态。查看设备维护记录,确定该CPE设备是否有过维护、修复记录,并根据查看结果进行下一步操作。When the condition that the CPE is in the Rampage state is established, it continues to judge whether the CPE has never been repaired (this case refers to the reset period in step S710). According to step S704, if the calculated time difference is less than the threshold, the CPE device may report that the message period is too frequent and is in the Rampage state. Check the device maintenance record to determine whether the CPE device has been repaired or repaired, and perform the next step based on the result.
步骤S710,重置CPE上报报文的周期;Step S710, reset the period of the CPE report message;
如果CPE从未修复过,则重置CPE的上报周期为24小时或者其它合理的周期间隔;如果时间差小于门限值,且CPE从未修复过,可以启动修复动作,即向设备发送 远程控制指令,即向设备发送修改周期上报周期的消息,用于重新设置设备的周期上报间隔。如果修复动作执行失败,设备可以生成告警信息,通知操作人员人工排除故障。If the CPE has never been repaired, the reporting period of the reset CPE is 24 hours or other reasonable period interval; if the time difference is less than the threshold and the CPE has never been repaired, the repair action can be initiated, that is, sent to the device. The remote control command sends a message to the device to modify the period of the periodic report, which is used to reset the periodic reporting interval of the device. If the repair action fails, the device can generate an alarm message to notify the operator to manually troubleshoot the fault.
步骤S712,生成告警信息。Step S712, generating alarm information.
如果曾经修复过CPE,则将该设备加入人工干预名单。CPE设备接受过修复,依然处于Rampage状态,可以认该设备不是偶发异常,可能已经出现了较为严重的故障或问题,需要进行人工干预,可以生成告警信息或者生成工单通知设备维护人员,或者通知ACS对CPE进行升级。If you have fixed a CPE, add the device to the manual intervention list. The CPE device has been repaired and is still in the Rampage state. It can be recognized that the device is not sporadic. It may have a serious fault or problem. Manual intervention is required. Alarm information can be generated or a work order can be generated to notify the device maintenance personnel or notify. The ACS upgrades the CPE.
对于图7所示实例,其中步骤S700包括但不限于加载配置文件,也可以加载数据库或者内存配置。配置文件不限于采用示例中的XML格式,也可以采用诸如Properties格式、数据表或者其它配置格式;步骤S702中将首先将2-Periodic消息转换为HTTP消息,然后转换为TR-069Inform消息对象并不是必须的操作,只要能够从该TR-069报文中提取出设备唯一标识和事件号即可,而且也并不限定将信息记录到内存中,也可以记录到配置文件或者数据库中;步骤S712中生成告警信息通知维护人员进行人工干预包括但不限于生成告警,可以是任意通知并到操作人员的形式,例如可以是记录信息到文本、数据库,通过Email或者短信进行通知。For the example shown in FIG. 7, step S700 includes, but is not limited to, loading a configuration file, and may also load a database or a memory configuration. The configuration file is not limited to the XML format in the example, and may also adopt a format such as a Properties format, a data table, or other configuration format; in step S702, the 2-Periodic message is first converted into an HTTP message, and then converted into a TR-069 Inform message object. The necessary operations, as long as the device unique identifier and the event number can be extracted from the TR-069 message, and the information is not limited to be recorded in the memory, and can also be recorded in the configuration file or the database; in step S712 The alarm information is generated to notify the maintenance personnel to perform manual intervention, including but not limited to generating an alarm, which may be any form of notification and notification to the operator, for example, recording information to a text, a database, and notifying by email or SMS.
通过采用图7所示的方法,可以有效地解决ACS、CPE网络中消息风暴造成的网络壅塞、网络带宽被无效浪费的问题,保障了ACS系统的平稳运行,提升CPE网络的管理稳定性和有效性。By adopting the method shown in FIG. 7, the network congestion caused by the message storm in the ACS and the CPE network and the network bandwidth being invalidated are effectively solved, the smooth operation of the ACS system is ensured, and the management stability and effectiveness of the CPE network are improved. Sex.
实例二、本发明的优选实施例还可以针对CPE上报大量无效消息作出的处理,可以结合附图8进行说明。通常情况下,CPE网络中出现的无效消息有两种,一种是无法识别的消息,如连续的空包,设备自定义且不在运营商规范要求中的Inform消息等等;另一种是明确知道不需要处理的Inform消息。Example 2: A preferred embodiment of the present invention may also be directed to the CPE reporting a large number of invalid messages, which may be described in conjunction with FIG. Generally, there are two kinds of invalid messages appearing in the CPE network. One is an unrecognizable message, such as a continuous empty packet, the device is customized, and the Inform message is not in the carrier's specification. The other is clear. Know the Inform messages that you don't need to process.
附图8提供了一种处理TR-069报文消息的方法,用于处理CPE设备上报大量的无效消息的问题。图8是根据本发明优选实施例的一种处理TR-069消息的方法的流程图;如图8所示,该方法可以包括如下流程:FIG. 8 provides a method for processing a TR-069 message message for processing a problem that a CPE device reports a large number of invalid messages. FIG. 8 is a flowchart of a method for processing a TR-069 message according to a preferred embodiment of the present invention; as shown in FIG. 8, the method may include the following process:
步骤S800,系统加载,配置黑名单特征库;Step S800, the system loads and configures a blacklist feature library.
黑名单特征库,是由事先定义的无效报文范例组成的集合,用于判断上报的TR-069报文是否为无效报文。范例特征库配置文件格式如下: The blacklist signature database is a set of invalid message instances defined in advance, and is used to determine whether the reported TR-069 packet is an invalid packet. The sample signature database configuration file format is as follows:
EventCodeEnabled=0,1,2,4,5,6,7,8,如上配置的位于白名单中的事件号。EventCodeEnabled=0,1,2,4,5,6,7,8, the event number in the whitelist configured as above.
步骤S802,获取CPE设备上报的TR-069报文;消息预处理器收到CPE上报的TR-069Inform消息Step S802: Acquire a TR-069 message reported by the CPE device; the message pre-processor receives the TR-069 Inform message reported by the CPE.
步骤S804,提取报文的事件号;消息预处理器将步骤202中收到的Inform消息转换为TR-069消息对象,并提取其中的事件号。Step S804, extracting the event number of the message; the message preprocessor converts the Inform message received in step 202 into a TR-069 message object, and extracts the event number therein.
消息预处理模块收到TR-069消息,首先将消息转换为HTTP消息,然后转换为TR-069Inform消息对象。如果在消息转换过程中出现异常,则认为消息无效,直接向设备回复TR-069的空消息结束会话。The message pre-processing module receives the TR-069 message, first converts the message into an HTTP message, and then converts it into a TR-069 Inform message object. If an exception occurs during the message conversion process, the message is considered invalid, and the empty message of the TR-069 is directly returned to the device to end the session.
步骤S806,根据黑名单特征库判断报文是否为无效报文;Step S806, determining, according to the blacklist feature database, whether the message is an invalid message;
策略模块根据配置的黑名单特征库判断步骤S802收到的Inform消息是否是无效报文,消息正确转换为TR-069Inform消息对象后,提取其中的事件号,将事件号与步骤S800特征库中的事件号匹配,根据匹配结果确定该消息是否为无效报文。The policy module determines whether the Inform message received in step S802 is an invalid message according to the configured blacklist feature database. After the message is correctly converted into a TR-069 Inform message object, the event number is extracted, and the event number is in the feature library in step S800. The event number matches, and it is determined according to the matching result whether the message is an invalid message.
步骤S808,直接透传消息到ACS;如果匹配不成功,认为该报文不属于无效报文,可以直接透传消息到ACS。步骤S810,拆除本次会话;如果匹配成功,认为该报文属于无效报文,根据TR-069协议规范正常结束会话;如果Inform消息是无效的Inform消息则消息预处理器向CPE设备回复Inform Response消息,用于拆除本次会话。In step S808, the message is directly transmitted to the ACS; if the match is unsuccessful, the message is considered to be invalid, and the message can be directly transmitted to the ACS. Step S810, the current session is removed; if the matching is successful, the message is considered to be an invalid message, and the session is normally ended according to the TR-069 protocol specification; if the Inform message is an invalid Inform message, the message preprocessor responds to the CPE device with an Inform Response. Message used to dismantle this session.
步骤S812,结束本次会话。消息预处理器收到CPE上报的Empty Request消息,消息预处理器向CPE回复Empty Response消息。In step S812, the session is ended. The message preprocessor receives the Empty Request message reported by the CPE, and the message preprocessor replies to the CPE with an Empty Response message.
需要说明的是,该方法的步骤应用属于TR-069协议规范中的一些标准交互流程。步骤S804中转换为TR-069消息对象不是必须的操作,其他可以能够从报文中提取出设备唯一标识和事件号的方法均可。It should be noted that the steps of the method apply some standard interaction processes belonging to the TR-069 protocol specification. The conversion to the TR-069 message object in step S804 is not an essential operation, and other methods that can extract the device unique identifier and the event number from the message may be used.
进一步地,步骤S800不限于加载配置文件,也可以加载数据库或者内存配置。配置文件不限于采用示例中的Properties格式,也可以采用诸如XML格式、数据表或者其它配置格式。配置的黑名单报文特征库,也可以是TR-069有效事件列表,例如白名单报文特征库。相应地,步骤S806适应性地改为:策略模块根据配置的白名单特征库判断步骤S802收到的Inform消息是否是无效报文。将事件号与白名单报文库的事件号匹配,如果匹配成功,则步骤S802中收到的消息是有效的,可以直接透传消息到ACS;如果匹配失败,可以认为收到的消息是无效的报文,可以根据TR-069协议规范正常结束会话。 Further, step S800 is not limited to loading a configuration file, and may also load a database or a memory configuration. The configuration file is not limited to the Properties format in the example, and may also be in an XML format, a data table, or other configuration format. The configured blacklist packet feature database can also be a TR-069 valid event list, such as a whitelist message signature database. Correspondingly, step S806 is adaptively changed to: the policy module determines, according to the configured whitelist feature database, whether the Inform message received in step S802 is an invalid message. Matching the event number with the event number of the whitelisted library. If the matching is successful, the message received in step S802 is valid, and the message can be directly transmitted to the ACS; if the matching fails, the received message can be considered invalid. The message can be terminated normally according to the TR-069 protocol specification.
通过实例二提供的方法,采用设置黑白名单,判断报文的有效性,对无效报文直接摒弃,可以将这些无效消息拦截在ACS之外,避免消耗ACS的资源,抑制网络中这种无效流量的产生,从而起到降低带宽资源消耗,提高带宽利用率,提高系统的稳定性。The method provided in the second method is used to determine the validity of the packet, and the invalid packet is directly discarded. The invalid message can be intercepted outside the ACS to avoid consuming the ACS resources and suppress the invalid traffic in the network. The generation, thereby reducing bandwidth resource consumption, improving bandwidth utilization, and improving system stability.
综上所述,本发明的实施例、优选实施例及实例提供了一种有效处理TR-069无效或异常报文消息的方法及装置,设置一个预处理报文消息的策略,判断CPE设备上报的报文消息是否为异常或无效消息,进一步确定该CPE设备是否可以修复,根据策略处理TR-069报文消息和维护CPE设备,可以有效判断出网络中的异常状态设备,并将设备恢复正常,从而减少无效报文在网络总的传递降低,减少无效消息占用网络带宽,ACS的资源能有效用于管理业务的处理,保障了ACS系统的平稳运行,提升CPE网络的管理稳定性和有效性。In summary, the embodiments, the preferred embodiments, and the examples of the present invention provide a method and a device for efficiently processing TR-069 invalid or abnormal message messages, and setting a policy for pre-processing message messages to determine the CPE device reporting. Whether the packet message is abnormal or invalid, further determining whether the CPE device can be repaired, processing the TR-069 message and maintaining the CPE device according to the policy, can effectively determine the abnormal state device in the network, and restore the device to normal. Therefore, the total transmission of invalid messages in the network is reduced, and the invalid network bandwidth is reduced. The resources of the ACS can be effectively used for the management of the service, ensuring the smooth operation of the ACS system, and improving the management stability and effectiveness of the CPE network. .
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种处理TR-069消息的方法及装置具有以下有益效果:提高了带宽利用率,保障了ACS系统的平稳运行,提升了CPE网络的管理稳定性和有效性。 As described above, the method and apparatus for processing a TR-069 message provided by the embodiments of the present invention have the following beneficial effects: improving bandwidth utilization, ensuring smooth operation of the ACS system, and improving management stability and effectiveness of the CPE network. Sex.

Claims (26)

  1. 一种处理TR-069消息的方法,包括:A method of processing a TR-069 message, comprising:
    获取TR-069报文,其中,所述TR-069报文来自于CPE设备;Obtaining a TR-069 packet, where the TR-069 packet is from a CPE device;
    在所述TR-069报文为异常报文的情况下,判定所述CPE设备是否出现故障;If the TR-069 packet is an abnormal packet, determining whether the CPE device is faulty;
    根据所述判定结果处理所述TR-069报文。And processing the TR-069 message according to the determination result.
  2. 根据权利要求1所述的方法,其中,在获取TR-069报文之后,所述方法还包括:The method of claim 1, wherein after obtaining the TR-069 message, the method further comprises:
    确定所述TR-069报文是否为正常报文。Determine whether the TR-069 packet is a normal packet.
  3. 根据权利要求2所述的方法,其中,所述方法还包括:The method of claim 2, wherein the method further comprises:
    在确定所述TR-069报文为正常报文的情况下,透传所述TR-069报文至ACS。When the TR-069 packet is determined to be a normal packet, the TR-069 packet is transparently transmitted to the ACS.
  4. 根据权利要求2所述的方法,其中,根据所述判定结果处理所述TR-069报文包括:The method of claim 2, wherein processing the TR-069 message according to the determination result comprises:
    在所述判定结果指示所述CPE设备未出现故障的情况下,发送拆除指令至所述CPE设备,其中,所述拆除指令用于所述CPE设备拆除本次会话。And sending, in the case where the determination result indicates that the CPE device does not fail, sending a teardown instruction to the CPE device, wherein the teardown instruction is used by the CPE device to tear down the current session.
  5. 根据权利要求2所述的方法,其中,根据所述判定结果处理所述TR-069报文包括:The method of claim 2, wherein processing the TR-069 message according to the determination result comprises:
    在所述判定结果指示所述CPE设备出现故障的情况下,判定所述CPE设备是否可以通过远程控制指令恢复至正常状态。In a case where the determination result indicates that the CPE device is faulty, it is determined whether the CPE device can be restored to a normal state by a remote control command.
  6. 根据权利要求5所述的方法,其中,所述方法还包括:The method of claim 5 wherein the method further comprises:
    在所述CPE设备可以通过远程控制指令恢复至正常状态的情况下,发送管理指令至所述CPE设备,其中,所述管理指令用于所述CPE恢复到正常状态。And in a case that the CPE device can be restored to a normal state by a remote control command, sending a management instruction to the CPE device, wherein the management instruction is used to restore the CPE to a normal state.
  7. 根据权利要求5所述的方法,其中,所述方法还包括:The method of claim 5 wherein the method further comprises:
    在所述CPE设备不能通过远程控制指令恢复至正常状态的情况下,上报告警信息,其中,所述告警信息用于指示所述CPE设备出现故障。 In the case that the CPE device cannot be restored to the normal state by the remote control command, the alarm information is reported, wherein the alarm information is used to indicate that the CPE device is faulty.
  8. 根据权利要求2所述的方法,其中,确定所述TR-069报文是否为正常报文包括:The method of claim 2, wherein determining whether the TR-069 message is a normal message comprises:
    提取所述TR-069报文中的CPE标识属性、TR-069事件号属性和收到所述TR-069报文的时间;Extracting the CPE identifier attribute, the TR-069 event number attribute, and the time of receiving the TR-069 message in the TR-069 packet;
    根据所述TR-069报文中的CPE标识属性、TR-069事件号属性以及收到所述TR-069报文的时间判定同一CPE设备发送TR-069报文的周期是否达到阈值。And determining, according to the CPE identifier attribute, the TR-069 event number attribute, and the time of receiving the TR-069 message, whether the period of sending the TR-069 message by the same CPE device reaches a threshold.
  9. 根据权利要求8所述的方法,其中,所述方法还包括:The method of claim 8 wherein the method further comprises:
    在所述周期未达到所述阈值的情况下,透传所述TR-069报文至ACS。If the period does not reach the threshold, the TR-069 packet is transparently transmitted to the ACS.
  10. 根据权利要求8所述的方法,其中,所述方法还包括:The method of claim 8 wherein the method further comprises:
    在所述周期达到所述阈值的情况下,判定所述CPE设备是否接受过修复指令。In the event that the period reaches the threshold, it is determined whether the CPE device has received a repair command.
  11. 根据权利要求10所述的方法,其中,所述方法还包括:The method of claim 10, wherein the method further comprises:
    在所述CPE设备未接受过修复指令的情况下,发送重置命令至所述CPE设备,其中,所述重置命令用于将所述CPE设备发送TR-069报文的周期设置为合理时间;或者,And sending a reset command to the CPE device, where the CPE device does not receive the repair command, where the reset command is used to set the period of sending the TR-069 message by the CPE device to a reasonable time. ;or,
    在所述CPE设备接受过修复指令的情况下,生成告警信息。The alarm information is generated when the CPE device receives the repair command.
  12. 根据权利要求2所述的方法,其中,确定所述TR-069报文是否为正常报文还包括:The method of claim 2, wherein determining whether the TR-069 message is a normal message further comprises:
    配置一个或多个有效TR-069事件列表;Configure one or more valid TR-069 event lists;
    根据所述有效TR-069事件列表判断所述TR-069报文是否为无效报文,其中,所述无效报文至少包括:ACS无法识别的消息、ACS无需处理的Inform消息。Determining, according to the valid TR-069 event list, whether the TR-069 message is an invalid message, where the invalid message includes at least a message that the ACS cannot identify, and an Inform message that the ACS does not need to process.
  13. 根据权利要求12所述的方法,其中,所述方法包括:The method of claim 12 wherein said method comprises:
    在所述TR-069报文为有效报文的情况下,透传所述TR-069报文至ACS;或者,If the TR-069 packet is a valid packet, the TR-069 packet is transparently transmitted to the ACS; or
    在所述TR-069报文为无效报文的情况下,发送拆除指令至所述CPE设备,其中,所述拆除指令用于所述CPE设备拆除本次会话。 And sending, in the case that the TR-069 message is an invalid message, a teardown command to the CPE device, where the teardown command is used by the CPE device to tear down the current session.
  14. 一种处理TR-069消息的装置,所述装置包括:An apparatus for processing a TR-069 message, the apparatus comprising:
    获取模块,设置为获取TR-069报文,其中,所述TR-069报文来自于CPE设备;The obtaining module is configured to obtain a TR-069 packet, where the TR-069 packet is from a CPE device;
    第一判定模块,设置为在所述TR-069报文为异常报文的情况下,判定所述CPE设备是否出现故障;The first determining module is configured to determine whether the CPE device is faulty if the TR-069 packet is an abnormal packet.
    处理模块,设置为根据所述判定结果处理所述TR-069报文。The processing module is configured to process the TR-069 message according to the determination result.
  15. 根据权利要求14所述的装置,其中,所述装置还包括:The apparatus of claim 14 wherein said apparatus further comprises:
    确定模块,设置为在获取TR-069报文之后,确定所述TR-069报文是否为正常报文。The determining module is configured to determine whether the TR-069 packet is a normal packet after the TR-069 packet is obtained.
  16. 根据权利要求15所述的装置,其中,所述装置还包括:The apparatus of claim 15 wherein said apparatus further comprises:
    第一透传模块,设置为在所述TR-069报文为正常报文的情况下,透传所述TR-069报文至ACS。The first transparent transmission module is configured to transparently transmit the TR-069 packet to the ACS if the TR-069 packet is a normal packet.
  17. 根据权利要求15所述的装置,其中,所述处理模块包括:The apparatus of claim 15 wherein said processing module comprises:
    拆除单元,设置为在所述判定结果指示所述CPE设备未出现故障的情况下,发送拆除指令至所述CPE设备,其中,所述拆除指令用于所述CPE设备拆除本次会话。The removal unit is configured to send a teardown command to the CPE device if the determination result indicates that the CPE device does not fail, wherein the teardown command is used by the CPE device to tear down the session.
  18. 根据权利要求15所述的装置,其中,所述处理模块包括:The apparatus of claim 15 wherein said processing module comprises:
    第一判定单元,设置为在所述判定结果指示所述CPE设备出现故障的情况下,判定所述CPE设备是否可以通过远程控制指令恢复至正常状态。The first determining unit is configured to determine whether the CPE device can be restored to a normal state by a remote control command if the determination result indicates that the CPE device is faulty.
  19. 根据权利要求18所述的装置,其中,所述装置还包括:The device of claim 18, wherein the device further comprises:
    恢复模块,设置为在所述CPE设备可以通过远程控制指令恢复至正常状态的情况下,发送管理指令至所述CPE设备,其中,所述管理指令用于所述CPE恢复到正常状态。And a recovery module, configured to send a management instruction to the CPE device if the CPE device can be restored to a normal state by using a remote control command, wherein the management command is used to restore the CPE to a normal state.
  20. 根据权利要求18所述的装置,其中,所述装置还包括:The device of claim 18, wherein the device further comprises:
    第一告警模块,设置为在所述CPE设备不能通过远程控制指令恢复至正常状态的情况下,上报告警信息,其中,所述告警信息用于指示所述CPE设备出现故障。 The first alarm module is configured to report the alarm information when the CPE device cannot be restored to the normal state by using the remote control command, where the alarm information is used to indicate that the CPE device is faulty.
  21. 根据权利要求15所述的装置,其中,所述确定模块包括:The apparatus of claim 15 wherein said determining module comprises:
    提取单元,设置为提取所述TR-069报文中的CPE标识属性、TR-069事件号属性和收到所述TR-069报文的时间;The extracting unit is configured to extract the CPE identifier attribute, the TR-069 event number attribute, and the time when the TR-069 message is received in the TR-069 packet;
    第二判定单元,设置为根据所述TR-069报文中的CPE标识属性、TR-069事件号属性以及收到所述TR-069报文的时间判定同一CPE设备发送TR-069报文的周期是否达到阈值。The second determining unit is configured to determine, according to the CPE identifier attribute, the TR-069 event number attribute, and the time of receiving the TR-069 message, that the same CPE device sends the TR-069 message. Whether the period reaches the threshold.
  22. 根据权利要求21所述的装置,其中,所述装置还包括:The device of claim 21, wherein the device further comprises:
    第二透传模块,设置为在所述周期未达到所述阈值的情况下,透传所述TR-069报文至ACS。The second transparent transmission module is configured to transparently transmit the TR-069 message to the ACS if the period does not reach the threshold.
  23. 根据权利要求21所述的装置,其中,所述装置还包括:The device of claim 21, wherein the device further comprises:
    第二判定模块,设置为在所述周期达到所述阈值的情况下,判定所述CPE设备是否接受过修复指令。The second determining module is configured to determine whether the CPE device has received the repair command if the period reaches the threshold.
  24. 根据权利要求23所述的装置,其中,所述装置还包括:The device of claim 23, wherein the device further comprises:
    重置模块,设置为在所述CPE设备未接受过修复指令的情况下,发送重置命令至所述CPE设备,其中,所述重置命令用于将所述CPE设备发送TR-069报文的周期设置为合理时间;或者,a reset module, configured to send a reset command to the CPE device if the CPE device has not received a repair command, where the reset command is used to send the CPE device to send a TR-069 message The period is set to a reasonable time; or,
    第二告警模块,设置为在所述CPE设备接受过修复指令的情况下,生成告警信息。The second alarm module is configured to generate the alarm information when the CPE device receives the repair command.
  25. 根据权利要求15所述的装置,其中,所述确定模块还包括:The apparatus of claim 15, wherein the determining module further comprises:
    配置单元,设置为配置一个或多个有效TR-069事件列表;a configuration unit configured to configure one or more valid TR-069 event lists;
    无效单元,设置为根据所述有效TR-069事件列表判断所述TR-069报文是否为无效报文,其中,所述无效报文至少包括:ACS无法识别的消息、ACS无需处理的Inform消息。The invalidating unit is configured to determine, according to the valid TR-069 event list, whether the TR-069 message is an invalid message, where the invalid message includes at least a message that the ACS cannot identify, and an Inform message that the ACS does not need to process. .
  26. 根据权利要求25所述的装置,其中,所述装置包括:The apparatus of claim 25 wherein said apparatus comprises:
    第三透传模块,设置为在所述TR-069报文为有效报文的情况下,透传所述TR-069报文至ACS;或者,The third transparent transmission module is configured to transparently transmit the TR-069 packet to the ACS when the TR-069 packet is a valid packet; or
    拆除模块,设置为在所述TR-069报文为无效报文的情况下,发送拆除指令至所述CPE设备,其中,所述拆除指令用于所述CPE设备拆除本次会话。 And removing the module, configured to send a teardown command to the CPE device if the TR-069 packet is an invalid packet, where the teardown command is used by the CPE device to tear down the session.
PCT/CN2015/083650 2015-05-06 2015-07-09 Tr-069 message processing method and apparatus WO2016176910A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510227533.8 2015-05-06
CN201510227533.8A CN106209406A (en) 2015-05-06 2015-05-06 Process the method and device of TR-069 message

Publications (1)

Publication Number Publication Date
WO2016176910A1 true WO2016176910A1 (en) 2016-11-10

Family

ID=57218114

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/083650 WO2016176910A1 (en) 2015-05-06 2015-07-09 Tr-069 message processing method and apparatus

Country Status (2)

Country Link
CN (1) CN106209406A (en)
WO (1) WO2016176910A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992732A (en) * 2021-10-26 2022-01-28 迈普通信技术股份有限公司 Terminal management control method, device, server and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109274658B (en) * 2018-09-04 2020-11-06 烽火通信科技股份有限公司 TR069 protocol-based work order message analysis method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852158A (en) * 2005-11-29 2006-10-25 华为技术有限公司 Method and system for realizing alarm of telecommunication network
CN101014026A (en) * 2006-12-18 2007-08-08 南京联创科技股份有限公司 Method for implementing general soft gateway of dynamic self-adaptive Radius system
EP2161943A1 (en) * 2008-09-08 2010-03-10 Alcatel, Lucent Method for remotely managing devices, devices and systems related thereto
CN102761444A (en) * 2012-07-26 2012-10-31 杭州华三通信技术有限公司 Configuration recovering method and device of customer-provided equipment
CN104243343A (en) * 2014-09-29 2014-12-24 华为技术有限公司 Method for determining message impact and network equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100525206C (en) * 2005-06-15 2009-08-05 华为技术有限公司 Realizing method and system for automatic restoring equipment fault
US20110283138A1 (en) * 2010-05-11 2011-11-17 Microsoft Corporation Change Tracking and Management in Distributed Applications
EP2541836A1 (en) * 2011-06-29 2013-01-02 Thomson Telecom Belgium Remote management of devices and device implementing the method
CN103166771A (en) * 2011-12-08 2013-06-19 中兴通讯股份有限公司 Method and system for managing gateway and under hanging device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852158A (en) * 2005-11-29 2006-10-25 华为技术有限公司 Method and system for realizing alarm of telecommunication network
CN101014026A (en) * 2006-12-18 2007-08-08 南京联创科技股份有限公司 Method for implementing general soft gateway of dynamic self-adaptive Radius system
EP2161943A1 (en) * 2008-09-08 2010-03-10 Alcatel, Lucent Method for remotely managing devices, devices and systems related thereto
CN102761444A (en) * 2012-07-26 2012-10-31 杭州华三通信技术有限公司 Configuration recovering method and device of customer-provided equipment
CN104243343A (en) * 2014-09-29 2014-12-24 华为技术有限公司 Method for determining message impact and network equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992732A (en) * 2021-10-26 2022-01-28 迈普通信技术股份有限公司 Terminal management control method, device, server and storage medium
CN113992732B (en) * 2021-10-26 2024-04-12 迈普通信技术股份有限公司 Terminal management control method, device, server and storage medium

Also Published As

Publication number Publication date
CN106209406A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
US10063312B2 (en) Optical network unit reset message
US11968537B2 (en) Methods and apparatuses for managing compromised communication devices in a communication network
CN111064600B (en) ONU area power-off and offline monitoring method and device
CN107544867B (en) Method, device and system for recovering intelligent network service
CN112291075A (en) Network fault positioning method and device, computer equipment and storage medium
WO2016176910A1 (en) Tr-069 message processing method and apparatus
CN106911510B (en) Usability monitoring system and method for network access system
CN110543402B (en) Automatic monitoring and dynamic adjusting method based on WebLogic middleware core parameters
EP3641222A1 (en) Method, apparatus and system for monitoring data traffic
US20180367427A1 (en) Method for performing connectivity check and apparatus
EP3252995B1 (en) Method for detecting network failures
EP3382943B1 (en) Method and system for managing a service provider infrastructure
US20220272166A1 (en) Method, Apparatus, and System for Implementing Service Function Deployment
CN115842760A (en) Fault detection method and device, electronic equipment and storage medium
CN110011834B (en) Management and control fusion type telecommunication network management method and system
CN103248505A (en) View-based network monitoring method and device
CN106789357B (en) Method and system for positioning fault terminal
Zych Network failure detection based on correlation data analysis
US9071507B2 (en) System and method for registering a CIM provider in a CIM system using information of a device to be configured
CN115865612B (en) Network fault processing method and device, storage medium and electronic equipment
CN106412727B (en) Equipment configuration coordination method, device and equipment under multi-management system management
CN111277805A (en) Processing method and device for CRC (cyclic redundancy check) errors of uplink of OLT (optical line terminal)
CN105450443A (en) Redundant processing device and redundant processing method for network equipment alarm information
CN117395548A (en) Early warning method and device for optical network faults, electronic equipment and storage medium
US9021089B2 (en) Network monitoring control apparatus and management information acquisition method

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: 15891161

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: 15891161

Country of ref document: EP

Kind code of ref document: A1