Abstract:
A method and system for updating an Optical Distribution Network (ODN) device by using an intelligent management terminal are disclosed. The method includes the following steps: an ODN management server connects to an intelligent management terminal through 2G/3G/Wifi, the intelligent management terminal is connected to an identifier of fiber&#39;s both terminations through USB or Bluetooth; the optical fiber connector is connected to an ODN device through USB, the ODN management server communicates wirelessly with the ODN device through the intelligent management terminal as a transfer station, and the ODN device downloads updating file from the ODN management server through the intelligent management terminal as a transfer station. The method and system can realize the wireless communication between the ODN network management server and the ODN device, thereby accomplishing the updating of the ODN device by the intelligent management terminal without cable networks wherever 2G/3G/Wifi.

Description:
BACKGROUND OF THE INVENTION 
       [0001]    1. Field of the Invention 
         [0002]    The present invention relates to the field of intelligent optical distribution networks, and specifically to a method and system for updating an Optical Distribution Network (ODN) device by using an intelligent management terminal. 
         [0003]    2. Description of the Related Art 
         [0004]    An ODN in an optical transport network plays a key role in connecting a backbone network. In a PON (Passive Optical Network), an ODN, a network composed of all passive optical fibers and passive devices (optical divers) between an OLT (Optical Line Terminal) and an ONU (Optical Network Unit), provides an optical transmission channel between the OLT and the ONU. 
         [0005]    A major function of intelligent management is to provide a graphical management tool for users. The object of management covers all network resources in the ODN, so that users can exactly know all optical network resources. Such a tool can realize real-time management over network resources, port state, circuit jumper connection and fiber routing, and exactly locate a network connection failure point, thereby quickly removing network connection failure, improving network service quality, and realizing visual, manageable and controllable ODN resources. An ODN management server is directly connected to an ODN device through an Ethernet interface. ODN data can be entered into the ODN management server when optical line planning is finished. The ODN management server can directly transmit the data to the directly connected ODN device after processing the data. 
         [0006]    The ODN device refers to a device which has a certain function in ODN operation and maintenance via a combination of software and hardware, for example, cross connection cabinet and identifier of fiber&#39;s both terminations, etc. Being the foundation of intelligent management for the ODN, ODN devices are closely integrated with a variety of network resources for optical line connection. The ODN can be smoothly updated to have an intelligent management feature. 
         [0007]    Box eID (Radio Frequency Identification) information is information stored in a radio frequency identification. A box eID contains the attribute information of an ODN device that needs to be updated, such as position and device type. An intelligent management terminal that does not store user names and passwords corresponding to the box eID information may not search or find correct user names and passwords; consequently, it cannot log in the device updating interface to update the ODN devices, thereby preventing any unauthorized intelligent management terminal from improperly operating the devices. 
         [0008]    The identifier of fiber&#39;s both terminations has a function of reading device eID. The intelligent management terminal may not directly read the eID information of ODN devices. Only the identifier of fiber&#39;s both terminations can read the eID information and transmit it to the intelligent management terminal. The identifier of fiber&#39;s both terminations can also manage the ODN devices. It is a module to realize information interaction between the ODN devices and the intelligent management terminal. 
         [0009]    The intelligent management terminal is generally a mobile communication terminal, which is small in volume, likely to be carried and usable for a long time. An electronic product, which can load integrated management software needed by a network management system, such as mobile phone and tablet computer, can serve as an intelligent management terminal. Having a same application method as a variety of software of common intelligent management terminals, the management software integrated in the intelligent management terminal is installable, downloadable and upgradable, and is easy to operate and learn through simple training. 
         [0010]    By communicating with the ODN devices through a 485 serial bus or USB (Universal Serial BUS) interface, etc., and communicating with the ODN management server through 2G/3G/Wifi, the intelligent management terminal receives data or commands from the ODN management server, transmits data or commands to the ODN devices, and transmits network connection data collected through the ODN devices to the ODN management server. 
         [0011]    During the updating of an ODN device, the ODN management server functions as follows: 
         [0012]    (1) Storing a software updating files of the ODN device: the ODN network management server stores the software updating files of the device on a local server; 
         [0013]    (2) Providing a software updating file list of the ODN device: the ODN management server provides a file list interface for the intelligent management terminal to invoke and obtain the updating file list; 
         [0014]    (3) Providing the software updating files of the ODN device for downloading: the ODN management server provides updating files downloading interface for the intelligent management terminal to invoke and download the software updating files of the ODN device; and 
         [0015]    (4) Receiving a device updating event reported by the intelligent management terminal. 
         [0016]    The ODN management server transmits operation and maintenance commands to the ODN device. Its role is to manage software and hardware resources in the ODN device, so that the user can exactly know and utilize various ODN resources. Software and hardware adjustment and function change in these operations for updating the ODN device may not be achieved without proper adjustment and optimization of software codes. ODN device updating is a normal operation for network maintenance and operation. If the software is not updated in a timely manner, the ODN device may not meet the need of business at the present stage due to too low software version. 
         [0017]    At present, an ODN management server conventionally updates an ODN device through Ethernet connection. It transmits updating files and an updating command to the ODN device through wire transmission. It is largely limited to carry out device updating through wire transmission. As some ODN devices are disposed in the wild and in sparsely populated places where no wired network is accessed nearby, their updating is rather inconvenient; if the devices cannot be updated in real time, newly added functions cannot be put into use. Even if Ethernet is disposed nearby, connecting the wired network to the ODN devices such as cross connection cabinet and distribution frame will increase cost of ODN construction. 
       SUMMARY OF THE INVENTION 
       [0018]    Aiming to overcome the defects of the above-mentioned background art, the present invention provides a method and system for updating an ODN device using an intelligent management terminal, which can realize the wireless communication between an ODN management server and the ODN device, thereby accomplishing the updating of the ODN device by the intelligent management terminal without cable networks wherever 2G/3G/Wifi. 
         [0019]    The present invention provides a system for updating an ODN device using an intelligent management terminal, including an ODN management server, and further including the intelligent management terminal, an identifier of fiber&#39;s both terminations, a plurality of ODN devices and a plurality of box eIDs, where the intelligent management terminal is connected to the ODN management server through 2G/3G/Wifi to download updating files of an ODN device to be updated to a memory card of the intelligent management terminal; the intelligent management terminal is further connected to the identifier of fiber&#39;s both terminations through USB or Bluetooth; the identifier of fiber&#39;s both terminations is connected to the plurality of ODN devices through USB; each ODN device is connected to a box eID; the intelligent management terminal obtains box eID information, which includes ODN device type information, and makes a list of ODN devices to be updated according to device type; and the intelligent management terminal obtains device user name and password information stored in the intelligent management terminal according to the box eID information, and transmits such information to the ODN devices for authentication. 
         [0020]    Based on the above-mentioned technical scheme, the authentication of the ODN devices has a following process: 
         [0021]    step  101 : the intelligent management terminal obtains box eID information; the box eID information in a database of the intelligent management terminal is respectively corresponding to a user name and a password; 
         [0022]    step  102 : the intelligent management terminal searches user names and passwords corresponding to the obtained box eID information; 
         [0023]    step  103 : the intelligent management terminal sends the user names and passwords searched to the ODN devices; 
         [0024]    step  104 : the ODN devices judge whether the user names and passwords received are correct; if the user names and passwords received are correct, the ODN devices go to step  105 ; and if the user names and passwords received are false, the ODN devices go to step  106 ; 
         [0025]    step  105 : if the authentication succeeds, the ODN devices feed back to the intelligent management terminal which device needs to be updated; and the intelligent management terminal logs in an ODN device updating interface; and 
         [0026]    step  106 : if the authentication fails, the ODN devices feed no operation right to update back to the intelligent management terminal; and the intelligent management terminal displays no ODN device updating right. 
         [0027]    Based on the above-mentioned technical scheme, each time after transmitting an updating package data command before updating an ODN device, the intelligent management terminal transmits a subsequent updating package data command only when receiving a return package of a present command. 
         [0028]    Based on the above-mentioned technical scheme, the intelligent management terminal continues to send a present command frame after receiving a false command return package. 
         [0029]    Based on the above-mentioned technical scheme, the intelligent management terminal further reports failed ODN device updating information to the ODN management server. 
         [0030]    The present invention further provides a method for updating an ODN device using an intelligent management terminal, based on the above-mentioned system, which includes the following steps: 
         [0031]    S 1 : an ODN management server stores ODN device software updating files on a local server; 
         [0032]    S 2 : the intelligent management terminal is connected to the ODN management server through 2G/3G/Wifi to obtain an updating file list, download the updating files, and judge whether the downloading succeeds; if the downloading succeeds, the intelligent management terminal goes to step S 3 ; if the downloading fails, the intelligent management terminal goes to step S 20 ; 
         [0033]    S 3 : the intelligent management terminal stores the downloaded updating files on a memory card of the intelligent management terminal, and goes to step S 4 ; 
         [0034]    S 4 : the intelligent management terminal is connected to an identifier of fiber&#39;s both terminations through USB or Bluetooth; the identifier of fiber&#39;s both terminations is connected to ODN devices through USB; the intelligent management terminal obtains box eID information of the ODN devices through the identifier of fiber&#39;s both terminations, and judges whether the obtaining of the box eID information of the ODN devices succeeds; if the obtaining of the box eID information of the ODN devices succeeds, the intelligent management terminal goes to step S 6 ; if the obtaining of the box eID information of the ODN devices fails, the intelligent management terminal goes to step S 5 ; 
         [0035]    S 5 : the intelligent management terminal displays failed of obtaining box eID information, and goes to step S 20 ; 
         [0036]    S 6 : the intelligent management terminal searches ODN device user names and passwords corresponding to the eID information stored in a database of the intelligent management terminal, and sends the user names and passwords searched to the ODN devices for authentication: the ODN devices judge whether the user names and passwords received are correct; if the user names and passwords received are correct, the ODN devices go to step S 8 ; if the user names and passwords received are false, the ODN devices go to step S 7 ; 
         [0037]    S 7 : if the authentication fails, the ODN devices feed no operation right to update back to the intelligent management terminal, the intelligent management terminal displays no ODN device updating right, and goes to step S 20 ; 
         [0038]    S 8 : if the authentication succeeds, the ODN devices feed back to the intelligent management terminal which devices need to be updated; the intelligent management terminal logs in an ODN device updating interface to display the ODN device that needs to be updated presently, and choose the ODN device to be updated; the intelligent management terminal transmits an updating command to the ODN device, and goes to step S 9 ; 
         [0039]    S 9 : the intelligent management terminal judges whether the reception of the updating command by the ODN device succeeds; if the reception of the updating command by the ODN device succeeds, the intelligent management terminal goes to step S 11 ; if the reception of the updating command by the ODN device fails, the intelligent management terminal goes to step S 10 ; 
         [0040]    S 10 : if the intelligent management terminal receives no return package sent by the ODN device within a specified time, the reception of the updating command by the ODN device fails; the intelligent management terminal displays failed of updating command reception by the ODN device, and goes to step S 20 ; 
         [0041]    S 11 : after receiving the updating command successfully, the ODN device sends a return package regarding reception of the updating command to the intelligent management terminal, so as to feed back information of succeeded updating command reception; after receiving the information of succeeded updating command reception fed back by the ODN device, the intelligent management terminal sends an updating package data command to the ODN device, and judges whether the reception of the data by the ODN device succeeds; if the reception of the data by the ODN device succeeds, the intelligent management terminal goes to step S 14 ; if the reception of the data by the ODN device fails, the intelligent management terminal goes to step S 12 ; 
         [0042]    S 12 : the intelligent management terminal continues to send data to the ODN device, and judges whether the times of sending the data are less than a value preset by a counter; if the times of sending the data are less than the value preset by the counter, the intelligent management terminal returns to step S 11  and continues to send data till the ODN device successfully receives the data and the intelligent management terminal goes to step S 14 ; otherwise, the intelligent management terminal goes to step S 13 ; 
         [0043]    S 13 : the intelligent management terminal displays failed data reception by the ODN device, and goes to step S 20 ; 
         [0044]    S 14 : if the reception of the data by the ODN device succeeds, the intelligent management terminal judges whether the reception of the updating package data by the ODN device is completed; if the reception of the updating package data by the ODN device is completed, the intelligent management terminal goes to step S 15 ; if the reception of the updating package data by the ODN device is not completed, the intelligent management terminal returns to step S 12 ; 
         [0045]    S 15 : the ODN device automatically runs the updating package data; the intelligent management terminal goes to step S 16 ; 
         [0046]    S 16 : the intelligent management terminal judges whether the updating succeeds; if the updating of the ODN device succeeds, the intelligent management terminal goes to step S 17 ; otherwise, the intelligent management terminal goes to step S 18 ; 
         [0047]    S 17 : the ODN device reports succeeded updating to the intelligent management terminal; the intelligent management terminal goes to step S 19 ; 
         [0048]    S 18 : the ODN device reports failed updating to the intelligent management terminal; the intelligent management terminal goes to step S 20 ; 
         [0049]    S 19 : the intelligent management terminal displays succeeded in updating of the ODN device, and reports the updating result to the ODN management server; and 
         [0050]    S 20 : the intelligent management terminal displays failed of updating of the ODN device, and reports the updating result to the ODN management server. 
         [0051]    Compared with the prior art, the present invention has the following advantages: 
         [0052]    (1) Through 2G/3G/Wifi, the present invention enables an intelligent management terminal and an ODN management server to wirelessly communicate under a relevant network protocol; an ODN device is connected to the intelligent management terminal through USB or Bluetooth, so that a wireless communication can be realized between the ODN management sever and the ODN device; therefore, wherever 2G/3G/Wifi is available, the ODN device can download updating files from the ODN management server through the intelligent management terminal as a transfer station to complete updating of the ODN device, not needing any wired network, thereby completing updating of devices disposed in the wild and in sparsely populated places, etc., where no wired network is accessed; and 
         [0053]    (2) As the present invention introduces an authentication process into the updating process of the ODN device, only a constructor can update the ODN device using the intelligent management terminal, which holds corresponding user name and password for updating the ODN device, thereby preventing false operation by irrelevant personnel. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0054]      FIG. 1  is a structure diagram of a system for updating an ODN device using an intelligent management terminal according to an embodiment of the present invention; 
           [0055]      FIG. 2  is a flow diagram of authentication according to an embodiment of the present invention; and 
           [0056]      FIG. 3  is a flow diagram of a method for updating an ODN device using an intelligent management terminal according to an embodiment of the present invention. 
       
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
       [0057]    The present invention is further elaborated below according to drawings and embodiments. 
         [0058]    As shown in  FIG. 1 , an embodiment of the present invention provides a system for updating an ODN device using an intelligent management terminal, including an ODN management server, the intelligent management terminal, an identifier of fiber&#39;s both terminations, a plurality of ODN devices and a plurality of box eIDs, where the intelligent management terminal is connected to the ODN management server through 2G/3G/Wifi to download updating files of an ODN device to be updated to a memory card of the intelligent management terminal; the intelligent management terminal is further connected to the identifier of fiber&#39;s both terminations through USB or Bluetooth; the identifier of fiber&#39;s both terminations is connected to the plurality of ODN devices through USB; each ODN device is connected to a box eID; the intelligent management terminal obtains box eID information, which includes ODN device type information, etc., and makes a list of ODN devices to be updated according to device type, thereby preventing unnecessary false operation; and the intelligent management terminal obtains device user name and password information stored in the intelligent management terminal according to the box eID information, and transmits such information to the ODN devices for authentication, thereby preventing false operation on the ODN devices, such as updating an ODN device that does not need to be updated, and updating an ODN device by a person not qualified for updating. 
         [0059]    As shown in  FIG. 2 , authentication of ODN devices has a following process: 
         [0060]    step  101 : an intelligent management terminal obtains box eID information; the box eID information in a database of the intelligent management terminal is respectively corresponding to a user name and a password; 
         [0061]    step  102 : the intelligent management terminal searches user names and passwords corresponding to the obtained box eID information; 
         [0062]    step  103 : the intelligent management terminal sends the user names and passwords searched to the ODN devices; 
         [0063]    step  104 : the ODN devices judge whether the user names and passwords received are correct; if the user names and passwords received are correct, the ODN devices go to step  105 ; and if the user names and passwords received are false, the ODN devices go to step  106 ; 
         [0064]    step  105 : if the authentication succeeds, the ODN devices feed back to the intelligent management terminal which devices need to be updated; and the intelligent management terminal logs in an ODN device updating interface; and 
         [0065]    step  106 : if the authentication fails, the ODN devices feed no operation right to update back to the intelligent management terminal; and the intelligent management terminal displays no ODN device updating right. 
         [0066]    Each time after transmitting an updating package data command before updating an ODN device, the intelligent management terminal transmits a subsequent updating package data command only when receiving a return package of a present command. A failure retransmission mechanism is introduced into the updating process. If receiving a false command return package, the intelligent management terminal continues to send a present command frame, so as to guarantee an integrated data transmission. Besides, the intelligent management terminal further reports information of failed ODN device updating to an ODN management server, so as to guarantee real-time data of the ODN management server. 
         [0067]    As shown in  FIG. 3 , an embodiment of the present invention provides a method for updating an ODN device using an intelligent management terminal, based on the above-mentioned system, which includes the following steps: 
         [0068]    S 1 : an ODN management server stores ODN device software updating files on a local server; 
         [0069]    S 2 : the intelligent management terminal is connected to the ODN management server through 2G/3G/Wifi to obtain an updating file list, download the updating files, and judge whether the downloading succeeds; if the downloading succeeds, the intelligent management terminal goes to step S 3 ; if the downloading fails, the intelligent management terminal goes to step S 20 ; 
         [0070]    S 3 : the intelligent management terminal stores the downloaded updating files on a memory card of the intelligent management terminal, and goes to step S 4 ; 
         [0071]    S 4 : the intelligent management terminal is connected to an identifier of fiber&#39;s both terminations through USB or Bluetooth; the identifier of fiber&#39;s both terminations is connected to ODN devices through USB; the intelligent management terminal obtains box eID information of the ODN devices through the identifier of fiber&#39;s both terminations, and judges whether the obtaining of the box eID information of the ODN devices succeeds; if the obtaining of the box eID information of the ODN devices succeeds, the intelligent management terminal goes to step S 6 ; if the obtaining of the box eID information of the ODN devices fails, the intelligent management terminal goes to step S 5 ; 
         [0072]    S 5 : the intelligent management terminal displays failed of obtaining box eID information, and goes to step S 20 ; 
         [0073]    S 6 : the intelligent management terminal searches ODN device user names and passwords corresponding to the eID information stored in a database of the intelligent management terminal, and sends the user names and passwords searched to the ODN devices for authentication: the ODN devices judge whether the user names and passwords received are correct; if the user names and passwords received are correct, the ODN devices go to step S 8 ; if the user names and passwords received are false, the ODN devices go to step S 7 ; 
         [0074]    S 7 : if the authentication fails, the ODN devices feed no operation right to update back to the intelligent management terminal, the intelligent management terminal displays no ODN device updating right, and goes to step S 20 ; 
         [0075]    S 8 : if the authentication succeeds, the ODN devices feed back to the intelligent management terminal which devices need to be updated; the intelligent management terminal logs in an ODN device updating interface to display the ODN device that needs to be updated presently, and choose the ODN device to be updated; the intelligent management terminal transmits an updating command to the ODN device, and goes to step S 9 ; 
         [0076]    S 9 : the intelligent management terminal judges whether the reception of the updating command by the ODN device succeeds; if the reception of the updating command by the ODN device succeeds, the intelligent management terminal goes to step S 11 ; if the reception of the updating command by the ODN device fails, the intelligent management terminal goes to step S 10 ; 
         [0077]    S 10 : if the intelligent management terminal receives no return package sent by the ODN device within a specified time, the reception of the updating command by the ODN device fails; the intelligent management terminal displays failed of updating command reception by the ODN device, and goes to step S 20 ; 
         [0078]    S 11 : after receiving the updating command successfully, the ODN device sends a return package regarding reception of the updating command to the intelligent management terminal so as to feed back information of succeeded updating command reception; after receiving the information of succeeded updating command reception fed back by the ODN device, the intelligent management terminal sends an updating package data command to the ODN device, and judges whether the reception of the data by the ODN device succeeds; if the reception of the data by the ODN device succeeds, the intelligent management terminal goes to step S 14 ; if the reception of the data by the ODN device fails, the intelligent management terminal goes to step S 12 ; 
         [0079]    S 12 : the intelligent management terminal continues to send data to the ODN device, and judges whether the times of sending the data are less than a value, for example, 5, preset by a counter; if the times of sending the data are less than 5, the intelligent management terminal returns to step S 11  and continues to send data till the ODN device successfully receives the data and the intelligent management terminal goes to step S 14 ; otherwise, the intelligent management terminal goes to step S 13 ; 
         [0080]    S 13 : if the ODN device does not successfully receive the data within 5 times, the intelligent management terminal displays failed data reception by the ODN device, and goes to step S 20 ; 
         [0081]    S 14 : if the reception of the data by the ODN device succeeds, the intelligent management terminal judges whether the reception of the updating package data by the ODN device is completed; if the reception of the updating package data by the ODN device is completed, the intelligent management terminal goes to step S 15 ; if the reception of the updating package data by the ODN device is not completed, the intelligent management terminal returns to step S 12 ; 
         [0082]    S 15 : the ODN device automatically runs the updating package data; the intelligent management terminal goes to step S 16 ; 
         [0083]    S 16 : the intelligent management terminal judges whether the updating succeeds; if the updating of the ODN device succeeds, the intelligent management terminal goes to step S 17 ; otherwise, the intelligent management terminal goes to step S 18 ; 
         [0084]    S 17 : the ODN device reports succeeded updating to the intelligent management terminal; the intelligent management terminal goes to step S 19 ; 
         [0085]    S 18 : the ODN device reports failed updating to the intelligent management terminal; the intelligent management terminal goes to step S 20 ; 
         [0086]    S 19 : the intelligent management terminal displays succeeded in updating of the ODN device, and reports the updating result to the ODN management server; and 
         [0087]    S 20 : the intelligent management terminal displays failed of updating of the ODN device, and reports the updating result to the ODN management server. 
         [0088]    A person skilled in the field may make various amendments and modifications of an embodiment of the present invention. Such amendments and modifications, if falling within the scope of the claims and equal technology of the present invention, shall also fall within the protection scope of the present invention. 
         [0089]    Those not described in the specification in detail shall be prior art known to persons skilled in the field.