WO2017206943A1 - 一种光网络终端及其工作方法、及通信系统、存储介质 - Google Patents

一种光网络终端及其工作方法、及通信系统、存储介质 Download PDF

Info

Publication number
WO2017206943A1
WO2017206943A1 PCT/CN2017/086962 CN2017086962W WO2017206943A1 WO 2017206943 A1 WO2017206943 A1 WO 2017206943A1 CN 2017086962 W CN2017086962 W CN 2017086962W WO 2017206943 A1 WO2017206943 A1 WO 2017206943A1
Authority
WO
WIPO (PCT)
Prior art keywords
restart
optical network
network terminal
website
instruction
Prior art date
Application number
PCT/CN2017/086962
Other languages
English (en)
French (fr)
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 WO2017206943A1 publication Critical patent/WO2017206943A1/zh

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
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal

Definitions

  • the present invention relates to the field of communications, and in particular, to an optical network terminal and a working method thereof, and a communication system and a computer storage medium.
  • Passive optical access networks have good stability due to their passive and optical signals as carriers. They are much more stable than the original access network technologies such as ADSL, and are widely used for access. Network transformation and new construction. After the user changes from the original ADSL and other access networks to the passive optical access network, the network stability will be obviously improved.
  • the telecom operator's tariff standard is usually a monthly or annual subscription method, resulting in users naturally generating 24-hour continuous network. Expectations.
  • the passive optical access network architecture includes a central optical line terminal (OLT), an intermediate optical distribution network (ODN), and an optical network terminal (ONT) of the user end, wherein the OLT and the ODN have high stability.
  • OLT central optical line terminal
  • ODN intermediate optical distribution network
  • ONT optical network terminal
  • ONT optical network terminal
  • the embodiment of the invention provides an optical network terminal and a working method thereof, and a communication system and a computer storage medium, so as to solve the problem that the existing ONT device needs to be manually restarted.
  • an optical network terminal including: a data storage module, a link detection module, and a restart trigger module, where
  • the data storage module is configured to store a communication target
  • the link detection module is configured to access the communication target, detect whether the optical network terminal needs to be restarted according to the access status, and generate a restart instruction when the restart is required;
  • the restart trigger module is configured to restart the optical network terminal according to the restart command.
  • a method of operating an optical network terminal including:
  • a communication system including: at least one optical network terminal provided by an embodiment of the present invention.
  • a computer storage medium storing computer executable instructions configured to perform the aforementioned method of operating an optical network terminal.
  • An embodiment of the present invention provides an optical network terminal and a working method thereof.
  • By accessing a communication target detecting whether a restart is required according to an access state, generating a restart instruction when a restart is required, restarting according to a restart instruction, and starting automatically by using an ONT device.
  • the feature can be implemented without any intervention.
  • the ONT automatically monitors its own state. After the link is interrupted, it automatically restarts and restores the link connectivity. This solves the problem that the existing ONT device needs to be manually restarted, which enhances the user experience.
  • FIG. 1 is a schematic structural diagram of an optical network terminal according to a first embodiment of the present invention
  • FIG. 2 is a flowchart of a working method of an optical network terminal according to a second embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an optical network terminal according to a third embodiment of the present invention.
  • FIG. 4 is a flowchart of a working method of an optical network terminal according to a third embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of an optical network terminal according to a first embodiment of the present invention.
  • the optical network terminal provided by the present invention includes: a data storage module 11 , a link detection module 12 , and a restart Trigger module 13, wherein
  • the data storage module 11 is configured to store a communication target
  • the link detection module 12 is configured to access the communication target, detect whether the optical network terminal needs to be restarted according to the access status, and generate a restart instruction when the restart is required;
  • the restart trigger module 13 is configured to restart the optical network terminal according to the restart command.
  • the data storage module, the link detection module, and the restart trigger module may use a central processing unit (CPU), a digital signal processor (DSP, Digital Singnal Processor), or Field-Programmable Gate Array (FPGA) implementation.
  • CPU central processing unit
  • DSP digital signal processor
  • FPGA Field-Programmable Gate Array
  • the communication target stored by the data storage module 11 in the above embodiment includes a website list, the website list includes at least one stable and active website; and the data storage module is configured to update when the optical network terminal accesses the communication network.
  • List of websites includes, but is not limited to, the following forms: Form 1: Obtaining from a website provided by an ONT device provider; Form 2: Obtaining the most from an existing large portal website Popular websites form a list of active websites; Form 3: A list of active websites consisting of stable official websites such as government agencies and large companies.
  • the link detection module 12 in the foregoing embodiment is configured to: when all websites of the website list are inaccessible, consider that the optical network terminal needs to be restarted to generate a restart instruction; or, configured to be in the website list
  • the fastest response time is when the threshold is preset, it is considered that the optical network terminal needs to be restarted, and a restart command is generated.
  • the manner in which the ONT needs to be restarted in the embodiment of the present invention includes but is not limited to the following forms:
  • Method 1 All websites cannot be accessed, which means that the connection established by the ONT has serious problems. You need to restart the ONT to re-establish the connection. As long as there is a website that can be accessed normally, it is concluded that the existing connection of the ONT is normal and does not need to be restarted; this method is the most conservative and stable way, even if the performance of the ONT drops to a very low level, the speed of visiting the website is far below the normal level. , still considered to be available, suitable for scenarios with low availability expectations.
  • Method 2 All visited websites record the duration of each website response. If the fastest response time is greater than the set threshold for the user to browse the Internet, the link that the ONT accesses the external network has been interrupted, or the availability is poor. The ONT needs to be restarted to re-establish the connection; this method is more suitable for availability. For higher scenarios, users have higher expectations for the smoothness of network access.
  • the link detection module 12 in the foregoing embodiment is configured to determine whether data from the user end is received after the restart command is generated, and if yes, suspend the restart command until the data from the user end is not received. , send a restart command.
  • the link detection module 12 in the above embodiment is configured to access the communication target again after waiting for a fixed length of time or a fixed idle time length, and detect whether the optical network terminal needs to be restarted according to the access status.
  • the embodiment of the present invention provides a dormancy mechanism, which may include, but is not limited to, the following manner: mode 1: a fixed length of time, and the link detection module 12 is triggered to start a new round. Detection; Method 2: Fixed idle time length, the timer starts from the last data access from the user side, until the current time; the timer is reset every time there is a new data access from the user side.
  • This method and the first method is that the user monitors when the user does not access the network, and avoids that the bandwidth used by the availability detection affects the user's online experience.
  • the restart trigger module 13 in the above embodiment is configured to restart the optical network terminal immediately upon receiving the restart instruction; or configured to determine the interval duration from the last restart to the receipt of the restart command, if the interval duration is greater than The optical network terminal is restarted for a predetermined period of time. Otherwise, the optical network terminal is restarted after waiting for a predetermined period of time.
  • the embodiment of the present invention provides an execution mechanism of several restart instructions. After receiving a device restart request (restart command), when the ONT is restarted, the method may include, but is not limited to, the following manner: Method 1: Restart immediately ONT, this method is the easiest and easy to implement.
  • the restart trigger module 13 in the above embodiment includes a trigger or a restart circuit that implements a trigger function.
  • This embodiment mainly provides a specific solution for how to implement the restart of the ONT device, such as adding a trigger of the entity or a trigger circuit of the corresponding function, and the trigger/trigger circuit is configured to trigger the restart of the ONT and other hardware to implement the restart, or Pure software The mode is implemented, such as calling the restart function item in the ONT to implement the restart.
  • the embodiment of the present invention provides a communication system, including: at least one optical network terminal provided by the embodiment of the present invention, and a common central optical line terminal OLT and an intermediate optical distribution network ODN.
  • the data packet forwarding method provided by the present invention includes:
  • the communication target includes a website list
  • the website list includes at least one stable and active website
  • the method in the above embodiment further includes: updating the website list when accessing the communication network.
  • detecting whether the restart is required according to the access status in the foregoing embodiment includes:
  • the method in the foregoing embodiment further includes: determining whether data is received from the user end, and if yes, suspending sending the restart instruction until the data from the user end is not received, sending the restart instruction.
  • the restarting according to the restart instruction in the foregoing embodiment includes:
  • the embodiment provides an optical network terminal with a highly available processing technology, so that the optical network in the home is available 24 hours a day without manual discovery and manual processing.
  • the main components of the ONT provided in this embodiment include:
  • Active Website Lister 301 responsible for maintaining a list of the most active and stable websites on the Internet.
  • the link detection processor 302 is responsible for determining whether it is necessary to restart the ONT device according to whether the ONT of the optical network terminal is reachable to the website listed in the active website lister.
  • Device restart trigger 303 responsible for triggering the restart of the ONT device.
  • the ONT link data processor 304 is responsible for optical access service data processing of the ONT device, that is, an ONT device that does not have high availability.
  • Step A pre-setting the preset active website list into the active website lister
  • Step B When the ONT is online, the active website lister automatically updates the active website list therein;
  • Step C The link detection processor accesses the website listed in the active website lister
  • Step D When the link detection processor finds that multiple active websites are inaccessible, notify the device to restart the trigger according to the internal judgment criterion to trigger the device to restart; if the detection result is that the link is normally available, after a certain period of sleep, skip Step E proceeds to step C;
  • Step E The device restart trigger trigger triggers the optical network terminal link data processor to restart;
  • the method for automatically updating the active website lister in this embodiment includes but is not limited to the following forms:
  • Form 1 Obtained from the website provided by the ONT equipment provider;
  • Form 2 Get the most popular websites from existing large portals and form a list of active websites
  • Form 3 A list of active websites consisting of stable official websites such as government agencies and large companies;
  • the criterion for determining the ONT accessibility of the active website in the embodiment may include, but is not limited to, the following manners:
  • Method 1 All websites cannot be accessed, which means that the connection established by the ONT has serious problems. You need to restart the ONT to re-establish the connection. As long as there is a website that can be accessed normally, it is concluded that the existing connection of the ONT is normal and no restart is required. This approach is the most conservative and robust way. Even if the ONT performance drops to a very low level, the speed of visiting the website has been far below normal, and it is still considered to be available, suitable for scenarios with low availability expectations.
  • Method 2 All visited websites record the duration of each website response. If the fastest response time is greater than the set threshold for the user to browse the Internet, the link that the ONT accesses the external network has been interrupted, or the availability is poor, and the ONT needs to be restarted to re-establish the connection. This method is more suitable for scenarios with high availability requirements, and users have higher expectations for the smoothness of network access.
  • the method may include, but is not limited to, the following:
  • Method 1 Restart the ONT immediately. This is the easiest way. It is easy to implement, but if the link is unreachable due to the failure of the upstream device of the network, the local ONT will be restarted very frequently, which will bring a poor experience to the user.
  • Method 2 According to the time of the last restart, it is judged whether this time is restarted immediately. If the time of the last device restart is very short, it needs to wait for a certain period of time and then restart. In this way, the problem that the link between the upstream network device and the like is unreachable and the ONT device is frequently restarted when the external network cannot be accessed can be effectively avoided.
  • the sleep duration before entering the next round of detection in this embodiment may include, but is not limited to, the following manners:
  • Method 1 Fixed time length. At this length of time, step 1 is performed to perform a new round of testing.
  • Method 2 Fixed idle time length. The timer starts counting after the last data access from the user side, until the current time. The timer is reset each time there is a new data access from the user side. The difference between this method and the first method is that the user monitors when the user does not access the network, and avoids that the bandwidth used by the availability detection affects the user's online experience.
  • the present embodiment utilizes the feature that the ONT device is quickly activated, and the user can automatically monitor the state without the intervention.
  • the ONT automatically restarts after the link is interrupted, and the link is restored.
  • the ONT high availability processing method will be described below with reference to FIG. 4, including but not limited to the following specific implementation manners.
  • the working method provided in this embodiment includes:
  • the link detection processor obtains a list of active websites on the Internet from the active website lister;
  • the list of active websites includes, but is not limited to, http service site URLs, ftp service sites, and email service sites provided by large websites.
  • the address to be accessed may be a DNS domain name or a location form of a service such as ip.
  • the link detection processor sequentially accesses the website in the active website list.
  • step S404, S405 is skipped, and step S406 is performed;
  • the purpose of this step is to determine if the ONT has broken links by detecting the validity of the ONT's access to the active website. Judging the ONT's criteria for judging the accessibility of active websites, such as the following, including but not limited to the following:
  • Method 2 Determine whether there is a problem with the link of the ONT accessing the external network according to the fastest response duration.
  • the first method is adopted in this embodiment, which is simple and maintains the minimum threshold of usability.
  • the link detection processor notifies the device to restart the trigger to restart the device.
  • the link detection processor only pushes the notification that needs to be restarted to the device restart trigger.
  • the specific restart time and the manner of triggering the restart are determined by the internal logic and policy of the device restart trigger.
  • the device restart trigger restarts the optical network terminal link data processor (such as an ONT);
  • the foregoing invention may include, but is not limited to, the following manners:
  • Method 1 Restart the ONT immediately.
  • Method 2 According to the time of the last restart, judge whether this time is restarted immediately.
  • the first method is adopted.
  • step S401 is performed;
  • the duration of sleep in this step may specifically include, but is not limited to, the following:
  • Method 1 Fixed time length.
  • Method 2 Fixed idle time length.
  • This embodiment adopts the first method.
  • the embodiment of the invention provides a computer storage medium.
  • the computer storage medium stores computer executable instructions, and the computer executable instructions are configured to execute the working method of the optical network terminal.
  • An embodiment of the present invention provides an optical network terminal and a working method thereof.
  • a restart instruction is generated.
  • the ONT device can be used to restart the switch.
  • the ONT device automatically monitors its own state. After the link is interrupted, it automatically restarts and restores the link connectivity.
  • the existing ONT device needs to be manually restarted. The problem has enhanced the user experience.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the user can implement the ONT automatically without intervention. After the link is interrupted, the device automatically restarts and restores the link connectivity. This solves the problem that the existing ONT device needs to be manually restarted, which enhances the user experience.

Abstract

本发明实施例提供了一种光网络终端及其工作方法、及通信系统、计算机存储介质,其中,该方法包括:访问通信目标,根据访问状态检测是否需要重启,在需要重启时,生成重启指令;根据重启指令进行重启。

Description

一种光网络终端及其工作方法、及通信系统、存储介质
相关申请的交叉引用
本申请基于申请号为201610388635.2、申请日为2016年06月02日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本发明涉及通信领域,尤其涉及一种光网络终端及其工作方法、及通信系统、计算机存储介质。
背景技术
无源光接入网络由于其无源及光信号为载体的特性,使得其具有很好的稳定性,比原来ADSL等接入网技术在稳定性方面提高了非常多,被广泛应用于接入网改造和新建。用户从原来ADSL等接入网转变为使用无源光接入网后会明显感觉网络稳定性提高很多,加之电信运营商资费标准通常是包月或包年的方式,导致用户自然产生24小时不断网的期望。
无源光接入网络架构包括局端光线路终端(OLT)、中间的光分配网络(ODN)、用户端的光网络终端(ONT,Optical network terminal),其中的OLT、ODN的稳定性很高,可以支持24小时不间断运行,但安装设置在用户家中的ONT,即通常所称的光猫,是非系统级小设备,稳定性不高,经常出现连续运行几天后,链路中断,影响用户访问互联网的情况,当用户发现了这种情况,通常只能手工重启放置在家庭角落中的光猫,十分不便,影响用户的上网体验。
发明内容
本发明实施例提供了一种光网络终端及其工作方法、及通信系统、计算机存储介质,以解决现有ONT设备需要手动重启的问题。
一方面,提供了一种光网络终端,其包括:数据存储模块、链路检测模块及重启触发模块,其中,
数据存储模块配置为存储通信目标;
链路检测模块配置为访问通信目标,根据访问状态检测是否需要重启光网络终端,在需要重启时,生成重启指令;
重启触发模块配置为根据重启指令重启光网络终端。
一方面,提供了一种光网络终端的工作方法,其包括:
访问通信目标,根据访问状态检测是否需要重启,在需要重启时,生成重启指令;
根据重启指令进行重启。
另一方面,提供了一种通信系统,包括:至少一个本发明实施例提供的光网络终端。
另一方面,提供了一种计算机存储介质,计算机存储介质中存储有计算机可执行指令,计算机可执行指令配置为执行前述的光网络终端的工作方法。
本发明实施例的有益效果:
本发明实施例提供了一种光网络终端及其工作方法,通过访问通信目标,根据访问状态检测是否需要重启,在需要重启时,生成重启指令,根据重启指令进行重启,利用ONT设备启动迅速的特点,可以实现用户无需干预,ONT自动监控自身状态,发现链路中断后,自动重启,恢复链路连通,解决了现有ONT设备需要手动重启的问题,增强了用户的使用体验。
附图说明
图1为本发明第一实施例提供的光网络终端的结构示意图;
图2为本发明第二实施例提供的光网络终端工作方法的流程图;
图3是本发明第三实施例提供的光网络终端的结构示意图;
图4是本发明第三实施例提供的光网络终端工作方法的流程图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例只是本发明中一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
现通过具体实施方式结合附图的方式对本发明做出进一步的诠释说明。
第一实施例:
图1为本发明第一实施例提供的光网络终端的结构示意图,由图1可知,在本实施例中,本发明提供的光网络终端包括:数据存储模块11、链路检测模块12及重启触发模块13,其中,
数据存储模块11配置为存储通信目标;
链路检测模块12配置为访问通信目标,根据访问状态检测是否需要重启光网络终端,在需要重启时,生成重启指令;
重启触发模块13配置为根据重启指令重启光网络终端。
所述数据存储模块、所述链路检测模块、所述重启触发模块,在执行处理时,可以采用中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Singnal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)实现。
在一些实施例中,上述实施例中的数据存储模块11存储的通信目标包括网站列表,网站列表包含至少一个稳定且活跃的网站;数据存储模块配置为在光网络终端接入通信网络时,更新网站列表。在实际应用中,本发明实施例涉及的网站列表的更新方式包括但不限于如下形式:形式1:从ONT设备提供商对外提供的网站上获取;形式2:从现有大型门户网站上获取最热门的网站,组成活跃网站列表;形式3:由政府机关、大型公司等稳定的官方网站组成活跃网站列表。
在一些实施例中,上述实施例中的链路检测模块12配置为在网站列表的所有网站都无法访问时,认为需要重启光网络终端,生成重启指令;或者,配置为在网站列表中各网站的最快响应时间在于预设阈值时,认为需要重启光网络终端,生成重启指令。在实际应用中,本发明实施例涉及的是否需要重启ONT的方式包括但不限于如下形式:
方式一:所有网站都无法访问,才表示ONT建立的连接有严重问题,需要重启ONT重新建立连接。只要有一个网站可以正常访问,就断定ONT现有连接是正常的,无需重启;这种方式是最保守稳健的方式,即使ONT性能下降到了很低的水平,访问网站速度已经远低于正常水平,依然认为是可用的,适合用于可用性期望比较低的场景。
方式二:所有访问的网站,都记录每个网站响应的时长。如果最快响应时长大于设定的用户浏览互联网可承受的阈值,就认为ONT访问外网的链路已经出现中断,或者可用性很差,需要重新启动ONT重新建立连接;这种方式比较适合对可用性要求较高的场景,用户对网络访问的流畅性有较高期望。
在一些实施例中,上述实施例中的链路检测模块12配置为在生成重启指令后,判断是否接收到来自用户端的数据,若是,则暂缓发送重启指令,直至未接收到来自用户端的数据时,发送重启指令。
在一些实施例中,上述实施例中的链路检测模块12配置为在等待固定时间长度或者固定空闲时间长度之后,再次访问通信目标,根据访问状态检测是否需要重启光网络终端。在实际应用中,本发明实施例提供了一种休眠机制,其可以包括但不限于如下方式:方式一:固定时间长度,到了这个时间长度就开始触发链路检测模块12,进行新一轮的检测;方式二:固定的空闲时间长度,计时器从上次来自用户侧的数据访问后开始计时,到现在的时刻为止;每次有新的来自用户侧的数据访问后,计时器重置。这个方式和方式一的区别在于利用用户不访问网络的时候进行监控,避免可用性检测占用带宽影响用户上网体验。
在一些实施例中,上述实施例中的重启触发模块13配置为在接收到重启指令时,立即重启光网络终端;或者配置为判断上次重启到接收到重启指令的间隔时长,若间隔时长大于预定时长,则重启光网络终端,否则,等待预定时长后重启光网络终端。在实际应用中,本发明实施例提供了几种重启指令的执行机制,在收到设备重启请求(重启指令)后,具体何时重启ONT,可以包括但不限于如下方式:方式一:立即重启ONT,这种方式最为简单,易于实现,但如果链路不通的原因是网络的上游设备故障引起时,就会造成本地ONT非常频繁地重启,给用户带来较差的体验;方式二:根据上次重启的时间判断本次是否马上重启,如果距离上次设备重启的时间很短,就需要等待一定时长后重启,这种方式可以有效避免上游网络设备等情况造成的链路不通,无法访问外网情况时ONT设备频繁重启的问题;方式三:在用户空闲时重启,本方式不会中断用户正在进行的业务。
在一些实施例中,上述实施例中的重启触发模块13包括触发器或者实现触发功能的重启电路。本实施例主要对如何实现ONT设备的重启提供了具体的方案,如增加实体的触发器或者对应功能的触发电路,该触发器/触发电路配置为触发ONT的重启按键等硬件实现重启,也可以采用纯软件的 方式实现,如调用ONT内的重启功能项,实现重启。
对应的,本发明实施例提供了一种通信系统,包括:至少一个本发明实施例提供的光网络终端,以及常见的局端光线路终端OLT、中间的光分配网络ODN。
第二实施例:
图2为本发明第二实施例提供的光网络终端工作方法的流程图,由图2可知,在本实施例中,本发明提供的数据报文转发方法包括:
S201:访问通信目标,根据访问状态检测是否需要重启,在需要重启时,生成重启指令;
S202:根据重启指令进行重启。
在一些实施例中,通信目标包括网站列表,网站列表包含至少一个稳定且活跃的网站;上述实施例中的方法还包括:在接入通信网络时,更新网站列表。
在一些实施例中,上述实施例中的根据访问状态检测是否需要重启包括:
在网站列表的所有网站都无法访问时,认为需要重启,生成重启指令;或者,
在网站列表中各网站的最快响应时间在于预设阈值时,认为需要重启,生成重启指令。
在一些实施例中,上述实施例中的方法在生成重启指令之后,还包括:判断是否接收到来自用户端的数据,若是,则暂缓发送重启指令,直至未接收到来自用户端的数据时,发送重启指令。
在一些实施例中,上述实施例中的根据重启指令进行重启包括:
在接收到重启指令时,立即重启;或者,
判断上次重启到接收到重启指令的间隔时长,若间隔时长大于预定时 长,则重启,否则,等待预定时长后重启。
第三实施例:
现结合具体应用场景对本发明做进一步的诠释说明。
本实施例提供一种光网络终端,具备高可用的处理技术,使家庭中光网络24小时不间断可用,无需人工发现和手工处理。如图3所示,本实施例提供的ONT的主要组成部分包括:
活跃网站列表器301:负责保持一份互联网上最活跃和稳定的网站列表。
链路检测处理器302:负责根据检测本光网络终端ONT是否可达活跃网站列表器中所列的网站情况判断是否需要重启ONT设备。
设备重启触发器303:负责触发ONT设备的重启。
ONT链路数据处理器304:负责ONT设备的光接入业务数据处理,即原来不具备高可用性的ONT设备。
本实施例提供的光网络终端的工作方法包括以下步骤:
步骤A.将预先设置的活跃网站列表预先设置进活跃网站列表器;
步骤B.当ONT在线时,活跃网站列表器自动更新其中的活跃网站列表;
步骤C.链路检测处理器访问活跃网站列表器中所列的网站;
步骤D.当链路检测处理器发现多个活跃网站无法访问时,根据内部判断准则通知设备重启触发器去触发设备重启;如果检测结果是链路正常可用,就睡眠一定的时长后,跳过步骤E进入步骤C;
步骤E.设备重启触发器触发光网络终端链路数据处理器重启;
具体的,本实施例中的活跃网站列表器自动更新方法,包括但不限于如下形式:
形式1:从ONT设备提供商对外提供的网站上获取;
形式2:从现有大型门户网站上获取最热门的网站,组成活跃网站列表;
形式3:由政府机关、大型公司等稳定的官方网站组成活跃网站列表;
具体的,本实施例中的判断ONT对活跃网站访问联通性的判断准则可以包括但不限于如下方式:
方式一:所有网站都无法访问,才表示ONT建立的连接有严重问题,需要重启ONT重新建立连接。只要有一个网站可以正常访问,就断定ONT现有连接是正常的,无需重启。这种方式是最保守稳健的方式,即使ONT性能下降到了很低的水平,访问网站速度已经远低于正常水平,依然认为是可用的,适合用于可用性期望比较低的场景。
方式二:所有访问的网站,都记录每个网站响应的时长。如果最快响应时长大于设定的用户浏览互联网可承受的阈值,就认为ONT访问外网的链路已经出现中断,或者可用性很差,需要重新启动ONT重新建立连接。这种方式比较适合对可用性要求较高的场景,用户对网络访问的流畅性有较高期望。
具体的,本实施例中的设备重启触发器收到来自链路检测处理器发来的设备重启请求后,具体何时重启ONT,可以包括但不限于如下方式:
方式一:立即重启ONT。这种方式最为简单。易于实现,但如果链路不通的原因是网络的上游设备故障引起时,就会造成本地ONT非常频繁地重启,给用户带来较差的体验;
方式二:根据上次重启的时间判断本次是否马上重启,如果距离上次设备重启的时间很短,就需要等待一定时长后重启。这种方式可以有效避免上游网络设备等情况造成的链路不通,无法访问外网情况时ONT设备频繁重启的问题。
具体的,本实施例中的进入下一轮检测前的睡眠时长,可以包括但不限于如下方式:
方式一:固定时间长度。到了这个时间长度就开始执行步骤1,进行新一轮的检测。
方式二:固定的空闲时间长度。计时器从上次来自用户侧的数据访问后开始计时,到现在的时刻为止。每次有新的来自用户侧的数据访问后,计时器重置。这个方式和方式一的区别在于利用用户不访问网络的时候进行监控,避免可用性检测占用带宽影响用户上网体验。
本实施例与现有技术相比较,利用ONT设备启动迅速的特点,可以实现用户无需干预,ONT自动监控自身状态,发现链路中断后,自动重启,恢复链路连通。
下面结合附图4对ONT高可用处理方法进行说明,包括但不限于如下具体的实现方式。
如图4所示,本实施例提供的工作方法包括:
S401.链路检测处理器从活跃网站列表器获取互联网上活跃的网站列表;
这些活跃网站列表包括但不限于大型网站对外提供的http服务站点网址、ftp服务站点,email服务站点等。访问的地址可以是DNS域名或者ip等服务的定位形式。
S402.链路检测处理器依次访问活跃网站列表中的网站;
针对活跃网站的不同协议可以采用对应的web浏览器、内置ftp客户端、内置telnet、tcp/ip的ping命令等访问。
S403.如果列表中至少有一个网站可以访问,就跳过步骤S404、S405,执行步骤S406;
这个步骤的目的是通过检测ONT对活跃网站的访问有效性,判断ONT是否已经断链。判断ONT对活跃网站访问联通性的判断准则,如前发明内容包括但不限于如下方式:
方式一:所有网站都无法访问,才表示ONT建立的连接有严重问题。
方式二:根据最快响应时长判断ONT访问外网的链路是否存在问题
本实施例中采用方式一,简单,并保持可用性的最低门槛。
S404.链路检测处理器通知设备重启触发器重启设备;
这个步骤中链路检测处理器仅将需要重启的通知推送给设备重启触发器,具体何时重启,及触发重启的方式由设备重启触发器内部逻辑和策略决定。
S405.设备重启触发器重启光网络终端链路数据处理器(如ONT);
设备重启触发器收到来自链路检测处理器发来的设备重启请求后,具体何时重启ONT,如前发明内容,可以包括但不限于如下方式:
方式一:立即重启ONT。
方式二:根据上次重启的时间判断本次是否马上重启
本实施例中采用方式一。
S406.睡眠一段时间,再执行步骤S401;
此步骤中睡眠的时长,如前发明内容,具体可以包括但不限于如下方式:
方式一:固定时间长度。
方式二:固定的空闲时间长度。
本实施例采用方式一。
本发明实施例提供了一种计算机存储介质,计算机存储介质中存储有计算机可执行指令,计算机可执行指令配置为执行上述光网络终端的工作方法。
综上可知,通过本发明实施例的实施,至少存在以下有益效果:
本发明实施例提供了一种光网络终端及其工作方法,通过访问通信目标,根据访问状态检测是否需要重启,在需要重启时,生成重启指令,根 据重启指令进行重启,利用ONT设备启动迅速的特点,可以实现用户无需干预,ONT自动监控自身状态,发现链路中断后,自动重启,恢复链路连通,解决了现有ONT设备需要手动重启的问题,增强了用户的使用体验。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上仅是本发明的具体实施方式而已,并非对本发明做任何形式上的限制,凡是依据本发明的技术实质对以上实施方式所做的任意简单修改、等同变化、结合或修饰,均仍属于本发明技术方案的保护范围。
工业实用性
采用本发明实施例,通过访问通信目标,根据访问状态检测是否需要重启,在需要重启时,生成重启指令,根据重启指令进行重启,利用ONT设备启动迅速的特点,可以实现用户无需干预,ONT自动监控自身状态,发现链路中断后,自动重启,恢复链路连通,解决了现有ONT设备需要手动重启的问题,增强了用户的使用体验。

Claims (14)

  1. 一种光网络终端,包括:数据存储模块、链路检测模块及重启触发模块,其中,
    所述数据存储模块,配置为存储通信目标;
    所述链路检测模块,配置为访问所述通信目标,根据访问状态检测是否需要重启光网络终端,在需要重启时,生成重启指令;
    所述重启触发模块,配置为根据所述重启指令重启所述光网络终端。
  2. 如权利要求1所述的光网络终端,其中,所述数据存储模块存储的通信目标包括网站列表,所述网站列表包含至少一个稳定且活跃的网站;
    所述数据存储模块,配置为在所述光网络终端接入通信网络时,更新所述网站列表。
  3. 如权利要求2所述的光网络终端,其中,所述链路检测模块,配置为在所述网站列表的所有网站都无法访问时,认为需要重启所述光网络终端,生成所述重启指令;或者,配置为在所述网站列表中各网站的最快响应时间在于预设阈值时,认为需要重启所述光网络终端,生成所述重启指令。
  4. 如权利要求1所述的光网络终端,其中,所述链路检测模块,配置为在生成所述重启指令后,判断是否接收到来自用户端的数据,若是,则暂缓发送所述重启指令,直至未接收到来自用户端的数据时,发送所述重启指令。
  5. 如权利要求1所述的光网络终端,其中,所述链路检测模块,配置为在等待固定时间长度或者固定空闲时间长度之后,再次访问所述通信目标,根据访问状态检测是否需要重启光网络终端。
  6. 如权利要求1至5任一项所述的光网络终端,其中,所述重启触 发模块,配置为在接收到所述重启指令时,立即重启所述光网络终端;或者配置为判断上次重启到接收到所述重启指令的间隔时长,若间隔时长大于预定时长,则重启所述光网络终端,否则,等待所述预定时长后重启所述光网络终端。
  7. 如权利要求6所述的光网络终端,其中,所述重启触发模块包括触发器或者实现触发功能的重启电路。
  8. 一种光网络终端的工作方法,包括:
    访问通信目标,根据访问状态检测是否需要重启,在需要重启时,生成重启指令;
    根据所述重启指令进行重启。
  9. 如权利要求8所述的工作方法,其中,所述通信目标包括网站列表,所述网站列表包含至少一个稳定且活跃的网站;还包括:在接入通信网络时,更新所述网站列表。
  10. 如权利要求9所述的工作方法,其中,所述根据访问状态检测是否需要重启包括:
    在所述网站列表的所有网站都无法访问时,认为需要重启,生成所述重启指令;或者,
    在所述网站列表中各网站的最快响应时间在于预设阈值时,认为需要重启,生成所述重启指令。
  11. 如权利要求8所述的工作方法,其中,在生成重启指令之后,还包括:判断是否接收到来自用户端的数据,若是,则暂缓发送所述重启指令,直至未接收到来自用户端的数据时,发送所述重启指令。
  12. 如权利要求8至11任一项所述的工作方法,其中,所述根据所述重启指令进行重启包括:
    在接收到所述重启指令时,立即重启;或者,
    判断上次重启到接收到所述重启指令的间隔时长,若间隔时长大于预定时长,则重启,否则,等待所述预定时长后重启。
  13. 一种通信系统,包括至少一个如权利要求1至7任一项所述的光网络终端。
  14. 一种计算机存储介质,计算机存储介质中存储有计算机可执行指令,计算机可执行指令配置为执行上述权利要求8-12任一项所述的光网络终端的工作方法。
PCT/CN2017/086962 2016-06-02 2017-06-02 一种光网络终端及其工作方法、及通信系统、存储介质 WO2017206943A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610388635.2A CN107465453A (zh) 2016-06-02 2016-06-02 一种光网络终端及其工作方法、及通信系统
CN201610388635.2 2016-06-02

Publications (1)

Publication Number Publication Date
WO2017206943A1 true WO2017206943A1 (zh) 2017-12-07

Family

ID=60478046

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/086962 WO2017206943A1 (zh) 2016-06-02 2017-06-02 一种光网络终端及其工作方法、及通信系统、存储介质

Country Status (2)

Country Link
CN (1) CN107465453A (zh)
WO (1) WO2017206943A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110417472A (zh) * 2019-07-31 2019-11-05 四川长虹网络科技有限责任公司 一种节能光猫

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981164A (zh) * 2019-04-19 2019-07-05 深圳星联天通科技有限公司 卫星终端掉网自动重连方法、装置、卫星终端及存储介质
CN110730113B (zh) * 2019-08-29 2021-06-18 珠海格力电器股份有限公司 一种设备的配网方法、装置、电子设备及存储介质
CN111813037A (zh) * 2020-06-11 2020-10-23 中国长城科技集团股份有限公司 一种开机控制方法、开机控制装置及电子设备
CN112003765B (zh) * 2020-08-13 2022-12-27 中移(杭州)信息技术有限公司 网关故障诊断方法、系统、服务器及存储介质
CN113949731A (zh) * 2021-10-12 2022-01-18 深兰科技(上海)有限公司 一种网络自动连接方法、装置、介质及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060271916A1 (en) * 2005-05-26 2006-11-30 United Parcel Service Of America, Inc. Software process monitor
CN102624538A (zh) * 2011-01-27 2012-08-01 中兴通讯股份有限公司 一种初始化过程异常处理的方法和系统
CN102932187A (zh) * 2012-11-15 2013-02-13 青岛龙泰天翔通信科技有限公司 一种基于epon网管的设备扫描方法
CN104092062A (zh) * 2014-07-04 2014-10-08 深圳职业技术学院 智能电源插座、网络设备系统及控制方法
CN104836679A (zh) * 2014-07-18 2015-08-12 中兴通讯股份有限公司 通信异常处理方法及网元设备
CN104965727A (zh) * 2015-04-29 2015-10-07 无锡天脉聚源传媒科技有限公司 一种重启服务器的方法及装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7558986B2 (en) * 2005-05-26 2009-07-07 United Parcel Service Of America, Inc. Software process monitor
CN100401688C (zh) * 2005-09-30 2008-07-09 华为技术有限公司 光通信系统的自动恢复检测方法、自动恢复方法及装置
US20070101390A1 (en) * 2005-11-01 2007-05-03 Bernard Marc R Method and apparatus for maintaining ONT video behavior during initial ONT deployments, ONT reboots, and loss of OLT conditions
CN101489155B (zh) * 2006-03-15 2011-12-07 华为技术有限公司 一种无源光网络系统及其业务保护方法
US8156319B2 (en) * 2008-08-13 2012-04-10 Cisco Technology, Inc. Self-restarting network devices
CN105357038B (zh) * 2015-10-26 2019-05-07 北京百度网讯科技有限公司 监控虚拟机集群的方法和系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060271916A1 (en) * 2005-05-26 2006-11-30 United Parcel Service Of America, Inc. Software process monitor
CN102624538A (zh) * 2011-01-27 2012-08-01 中兴通讯股份有限公司 一种初始化过程异常处理的方法和系统
CN102932187A (zh) * 2012-11-15 2013-02-13 青岛龙泰天翔通信科技有限公司 一种基于epon网管的设备扫描方法
CN104092062A (zh) * 2014-07-04 2014-10-08 深圳职业技术学院 智能电源插座、网络设备系统及控制方法
CN104836679A (zh) * 2014-07-18 2015-08-12 中兴通讯股份有限公司 通信异常处理方法及网元设备
CN104965727A (zh) * 2015-04-29 2015-10-07 无锡天脉聚源传媒科技有限公司 一种重启服务器的方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110417472A (zh) * 2019-07-31 2019-11-05 四川长虹网络科技有限责任公司 一种节能光猫

Also Published As

Publication number Publication date
CN107465453A (zh) 2017-12-12

Similar Documents

Publication Publication Date Title
WO2017206943A1 (zh) 一种光网络终端及其工作方法、及通信系统、存储介质
US9391859B2 (en) Service coordination for a data center
US10505977B2 (en) Diffusing denial-of-service attacks by using virtual machines
US20180026938A1 (en) Detection and scheduling method, device, and node of content delivery network
US10135923B2 (en) Data transfer method and system
CN111277630B (zh) 一种路由控制方法、装置、电子设备和存储介质
CN108718347B (zh) 一种域名解析方法、系统、装置及存储介质
US9571588B2 (en) Systems and methods for handling a registration storm
CN109302437B (zh) 一种重定向网站的方法和装置
CN111262839A (zh) 一种漏洞扫描方法、管理设备、节点和存储介质
CN108134713B (zh) 一种通信方法及装置
WO2014063487A1 (en) Traffic control method and device
WO2011015009A1 (zh) 页面数据获取方法及服务器、页面更新方法及服务器
JP2006295747A (ja) 通信端末の遠隔制御システムおよび方法
WO2021022926A1 (zh) 基于网络的应用功耗调控方法、终端及存储介质
JP2004252642A (ja) ウイルス検出方法、ウイルス検出装置、ウイルス検出サーバ及びウイルス検出クライアント
KR20200007912A (ko) 데이터 트래픽을 모니터링하기 위한 방법, 장치 및 시스템
WO2007059667A1 (fr) Procede d'obtention de donnees d'alarme des elements de reseau
WO2017054734A1 (zh) 一种锁定文件管理方法和装置
WO2017011981A1 (zh) 一种流表项的定时处理方法及装置
CN105163336A (zh) 优化无线网络稳定性的方法及系统
US20150140973A1 (en) System and method for ensuring a call is made from within a call application
US20130326010A1 (en) System and method for monitoring network connections
JP2006285453A (ja) 情報処理装置、情報処理方法、および情報処理プログラム
CN109327398B (zh) 一种防止丢包的方法及装置

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17805888

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17805888

Country of ref document: EP

Kind code of ref document: A1