CN105282235B - A method of solution RPC upgrades unstable in double-PON port ONU - Google Patents

A method of solution RPC upgrades unstable in double-PON port ONU Download PDF

Info

Publication number
CN105282235B
CN105282235B CN201510585876.1A CN201510585876A CN105282235B CN 105282235 B CN105282235 B CN 105282235B CN 201510585876 A CN201510585876 A CN 201510585876A CN 105282235 B CN105282235 B CN 105282235B
Authority
CN
China
Prior art keywords
upgrade
timer
onu
upgrades
pon
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201510585876.1A
Other languages
Chinese (zh)
Other versions
CN105282235A (en
Inventor
张宇
卢方增
杜军
郑直
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WUHAN YANGTZE OPTICAL TECHNOLOGY Co Ltd
Original Assignee
WUHAN YANGTZE OPTICAL TECHNOLOGY Co Ltd
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 WUHAN YANGTZE OPTICAL TECHNOLOGY Co Ltd filed Critical WUHAN YANGTZE OPTICAL TECHNOLOGY Co Ltd
Priority to CN201510585876.1A priority Critical patent/CN105282235B/en
Publication of CN105282235A publication Critical patent/CN105282235A/en
Application granted granted Critical
Publication of CN105282235B publication Critical patent/CN105282235B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

A method of it solving RPC and upgrades in double-PON port ONU unstable, this method includes:S1:Inquire registration and the role state of two PON mouthfuls of ONU;S2:PON mouthfuls are set at dormant state;S3:Real time polling PON port role state changes;S4:After RPC connections are established, C-terminal initiates transmission upgrade file request to the ends S, and starts timer, sends file;It is performed simultaneously S7;S5:After the ends S receive request, starts to download upgrade file and start timer;S6:The ends S start to upgrade and start upgrading timer, after the completion of upgrading, execute S8;S7:C-terminal starts to upgrade and start upgrading timer;S8:The ends S, which are sent, upgrades successfully confirmation to C-terminal, returns to S2;S9:C-terminal upgrades successfully, and after confirmation, reports and upgrade successfully alarm;Return to S2.The present invention is by two-way communication and starts timing re-transmission and automatic Restart mechanisms recovery upgrading, it is ensured that correctly transmits upgrade file between the bis- PON of ONU;And do not limited by underlying network technology, multisystem can be transplanted to.

Description

A method of solution RPC upgrades unstable in double-PON port ONU
Technical field
The present invention relates to the ethernet passive optical network fields (EPON) more particularly to a kind of solution RPC in double-PON port ONU liters The unstable method of grade.
Background technology
EPON (Ethernet Passive Optical Network ethernet passive optical networks) system is by OLT (Optical Line Terminal optical line terminals), ODN (Optical Distribution Network Optical Distribution Networks) With ONU (Optical Network Unit optical network units) three parts composition.
To meet high reliability request of the EPON business to equipment, double PON ONU are for supporting EPON fully protective switching work( Energy.Double PON ONU contain double PON MAC chips, are independent cpu system respectively, respectively come with Flash and run identical journey Sequence.
RPC (Remote Procedure Call Protocol) remote procedure call protocol, it is that one kind passing through network Service is asked from remote computer program, the agreement without understanding underlying network technology.RPC uses client computer/service Device pattern.Requestor is exactly a client computer, and service providing program is exactly a server.First, client calls into Journey, which sends one, has the recalls information of process parameter to service processes, then waits for response message.In server end, process is kept Sleep state is until the arrival of recalls information.When a recalls information reaches, server obtains process parameter, calculates knot Fruit, send reply message, then wait for next recalls information, finally, client call process receive reply message, obtain into Journey continues as a result, then calling to execute.RPC is unidirectional request, response type traffic model, does not support server end to visitor The two-way request of information, response modes are initiated in family end, cannot allow flexible intercommunication between the bis- PON of ONU.RPC does not provide transmission simultaneously The reliability of information, request and response can be influenced by Network Abnormal.It is based especially on the double PON ONU meetings of RPC agreements upgrading File is caused to transmit unstable, the indefinite problem of communication failure.
Invention content
The technical problem to be solved by the present invention is to for the above problem existing for existing RPC agreements, provide a kind of solution RPC upgrades unstable method in double-PON port ONU, by two-way communication and starts timing re-transmission and automatic Restart mechanisms recovery Upgrading, it is ensured that accurate transmission upgrade file between the bis- PON of ONU, it is ensured that final ONU upgradings are stablized, and not by underlying network Network technology restriction can be transplanted to multisystem.
Used technical solution is the present invention to solve above-mentioned technical problem:
A method of it solving RPC and upgrades in double-PON port ONU unstable, this method includes:
Step S1:After ONU starts, registration and the role state of two PON mouthfuls of ONU are inquired;
Step S2:The PON mouths of ONU are set at dormant state as the logical communications ports based on RPC;
Step S3:The PON port role state changes of real time polling ONU;
Step S4:After RPC connections are established, RPC protocol logics port C-terminal initiates transmission upgrade file request to the ends S, and opens Dynamic timer unsuccessfully confirms that request is initiated in reclocking if timer does not receive the ends S then and receives confirmation or receive; After receiving the reception confirmation of the ends S, start to send file;It is performed simultaneously step S7;
Step S5:After the ends S receive request, confirmation is immediately returned to, starts simultaneously at and downloads upgrade file and start timer, hold Row step S6;If timer is then, file download does not complete, then sending out transmission file to C-terminal unsuccessfully confirms, repeats step S5;
Step S6:The ends S start to upgrade and start upgrading timer, if timer then upgrade do not complete, automatically from Preparation area starts and continues to upgrade, and repeats step S6;After the completion of upgrading, step S8 is executed;
Step S7:C-terminal starts to upgrade and start upgrading timer, if timer then upgrade do not complete, automatically from Preparation area starts and continues to upgrade, and repeats step S7;
Step S8:The ends S, which are sent, upgrades successfully confirmation to C-terminal, if timer expiry C-terminal does not receive and upgrades successfully confirmation It retransmits;Otherwise return to step S2;
Step S9:C-terminal upgrades successfully, and receive the ends S upgrade successfully confirmation after, report and upgrade successfully alarm;Return to step Rapid S2.
By said program, PON mouthfuls of role state is divided into ACT and STD states in the step S1.
The present invention has the advantages that compared with prior art:
1, the present invention for simple RPC communication between the bis- PON of D classes ONU may caused by file transmission it is unstable, communication event Hinder indefinite problem, develop stable upgrade communication agreement, by two-way communication and starts timing re-transmission and restart machine automatically System restores upgrading, allows flexible intercommunication between the bis- PON of ONU, when avoiding upgrading two separate CPU systems simultaneously, transmission file and refers to Enabling unstable causes upgrading to fail, it is ensured that accurate transmission upgrade file between the bis- PON of ONU provides double PON and synchronizes and upgrades Function provides fast and reliable upgrade method for engineering site;
2, simultaneously, the method in the present invention is not limited by underlying network technology, can be transplanted to multisystem, is EPON nets The ONU of different system synchronizes the demand upgraded and provides reliable solution in network environment, there is the extensive practical value of comparison.
Description of the drawings
Fig. 1 is the flow chart that the embodiment of the present invention solves that RPC upgrades unstable method in double-PON port ONU;
Fig. 2 is communication port status poll schematic diagram of the embodiment of the present invention;
Fig. 3 is the system group network schematic diagram of double-PON port ONU.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.
As shown in Figure 1, solution RPC of the present invention upgrades the flow chart of unstable method in double-PON port ONU, it should Method includes:
Step S1:ONU start after, inquire two PON mouthful of ONU registration and role state, role state be divided into ACT with STD states;
Step S2:The PON mouths of ONU are set at dormant state as the logical communications ports based on RPC, in RPC agreements On the basis of create and be stably connected with agreement, communication default setting is to monitor;
Step S3:The PON port role state changes of real time polling ONU start timer if changing;
Step S4:After RPC connections are established, RPC protocol logics port C-terminal initiates transmission upgrade file request to the ends S SFReq, and start timer Timer, unsuccessfully confirm if timer does not receive the ends S then and receives confirmation SFACK or receive, Port status PortSta=0 is then changed, request is initiated in reclocking;After receiving the ends S reception confirmation SFACK, start to send text Part;It is performed simultaneously step S7;
Step S5:After the ends S receive request, immediately returns to and confirm SFACK (S terminates message in-coming part and confirms), start simultaneously at download Upgrade file simultaneously starts timer, executes step S6;If timer is then, file download does not complete, then sends out transmission text to C-terminal Part unsuccessfully confirms, repeats step S5;
Step S6:The ends S start to upgrade and start upgrading timer, if timer then upgrade do not complete, automatically from Preparation area starts and continues to upgrade, and repeats step S6;After the completion of upgrading, step S8 is executed;
Step S7:C-terminal starts to upgrade and start upgrading timer, if timer then upgrade do not complete, automatically from Preparation area starts and continues to upgrade, and repeats step S7;
Step S8:The ends S, which send to upgrade successfully, confirms that SUACK to C-terminal, is upgraded successfully if timer expiry C-terminal does not receive Confirm that CACK is then retransmitted;Otherwise return to step S2;
Step S9:C-terminal upgrades successfully, and receive the ends S upgrade successfully confirm SUACK after, report and upgrade successfully alarm (ONU UpdateSuccess);Return to step S2.
The timer realizes the timing for instruction interaction, specifically includes:Preset polling interval, per 1s, 2s and 3s inquiries are primary, and agreement flow can be promoted in time-out in next step.
Port polling state flow chart based on RPC agreements as shown in Figure 2, including:Give tacit consent to listening state, triggering state Transition event, if triggering state transition mistake or failure, reply acquiescence listening state;If triggering state transition at Work(is then classified as C-terminal mouth and the ports S, proceeds by protocol communication and data transmission.
The system group network schematic diagram of double-PON port ONU as shown in Figure 3, including:EPON OLT devices, EPON ONU equipments With data Network Analyzer, and not decile optical branching device.OLT and ONU can normally start, and double-PON port ONU being capable of normal registration And confirm ONU role.
The present invention is not limited to the applications listed in the specification and the embodiments, and those skilled in the art is come It says, various corresponding changes and modification can be made according to the present invention, and all these corresponding changes and modification belong to this hair Bright scope of the claims.

Claims (2)

1. a kind of solution RPC upgrades unstable method in double-PON port ONU, which is characterized in that this method includes:
Step S1:After ONU starts, registration and the role state of two PON mouthfuls of ONU are inquired;
Step S2:The PON mouths of ONU are set at dormant state as the logical communications ports based on RPC;
Step S3:The PON port role state changes of real time polling ONU;
Step S4:After RPC connections are established, RPC protocol logics port C-terminal initiates transmission upgrade file request to the ends S, and startup is fixed When device, confirm if timer does not receive the ends S then and receives or receive and unsuccessfully confirm, request is initiated in reclocking;Receive S After end receives confirmation, start to send file;It is performed simultaneously step S7;
Step S5:After the ends S receive request, confirmation is immediately returned to, starts simultaneously at and downloads upgrade file and start timer, execute step Rapid S6;If timer is then, file download does not complete, then sending out transmission file to C-terminal unsuccessfully confirms, repeats step S5;
Step S6:The ends S start to upgrade and start upgrading timer, are not completed if timer then upgrades, automatically from preparation area Startup continues to upgrade, and repeats step S6;After the completion of upgrading, step S8 is executed;
Step S7:C-terminal starts to upgrade and start upgrading timer, is not completed if timer then upgrades, automatically from preparation area Startup continues to upgrade, and repeats step S7;
Step S8:The ends S, which are sent, upgrades successfully confirmation to C-terminal, is weighed if timer expiry C-terminal does not receive and upgrades successfully confirmation Hair;Otherwise return to step S2;
Step S9:C-terminal upgrades successfully, and receive the ends S upgrade successfully confirmation after, report and upgrade successfully alarm;Return to step S2.
2. solution RPC according to claim 1 upgrades unstable method in double-PON port ONU, which is characterized in that described PON mouthfuls of role state is divided into active and standby states in step S1.
CN201510585876.1A 2015-09-15 2015-09-15 A method of solution RPC upgrades unstable in double-PON port ONU Active CN105282235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510585876.1A CN105282235B (en) 2015-09-15 2015-09-15 A method of solution RPC upgrades unstable in double-PON port ONU

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510585876.1A CN105282235B (en) 2015-09-15 2015-09-15 A method of solution RPC upgrades unstable in double-PON port ONU

Publications (2)

Publication Number Publication Date
CN105282235A CN105282235A (en) 2016-01-27
CN105282235B true CN105282235B (en) 2018-09-14

Family

ID=55150540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510585876.1A Active CN105282235B (en) 2015-09-15 2015-09-15 A method of solution RPC upgrades unstable in double-PON port ONU

Country Status (1)

Country Link
CN (1) CN105282235B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166323B (en) * 2019-06-06 2020-12-11 杭州云象网络技术有限公司 Method for improving reliability of block chain network
CN113132828B (en) * 2021-06-16 2021-08-17 武汉长光科技有限公司 Configuration method, device, equipment, system and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083564A (en) * 2007-07-24 2007-12-05 杭州华三通信技术有限公司 Method for updating automatically optical network unit and optical line terminal
CN101516047A (en) * 2009-04-03 2009-08-26 烽火通信科技股份有限公司 ONU automatic upgrading method in EPON access system
CN102868945A (en) * 2012-10-15 2013-01-09 上海斐讯数据通信技术有限公司 Upgrading method optical network unit (ONU) in Ethernet passive optical network (EPON)

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083564A (en) * 2007-07-24 2007-12-05 杭州华三通信技术有限公司 Method for updating automatically optical network unit and optical line terminal
CN101516047A (en) * 2009-04-03 2009-08-26 烽火通信科技股份有限公司 ONU automatic upgrading method in EPON access system
CN102868945A (en) * 2012-10-15 2013-01-09 上海斐讯数据通信技术有限公司 Upgrading method optical network unit (ONU) in Ethernet passive optical network (EPON)

Also Published As

Publication number Publication date
CN105282235A (en) 2016-01-27

Similar Documents

Publication Publication Date Title
KR20220162851A (en) Method and device for re-establishing session, access and mobility management function, session management function, and terminal
JP2020511083A (en) Service quality control method and device, SMF, UPF, UE, PCF and AN
CN104679528B (en) The newer method and apparatus of application program remote
CN111324363A (en) Equipment upgrading method, upgrading terminal, equipment and storage medium
CN103312528B (en) A kind of heartbeat message sending method and user terminal
CN107528891B (en) Websocket-based automatic clustering method and system
CN105450779B (en) The method of one household appliance connection multiserver
CN110808948B (en) Remote procedure calling method, device and system
CN107948063B (en) Method for establishing aggregation link and access equipment
CN103517164A (en) Data configuring and controlling method for optical network unit
CN102868945B (en) The upgrade method of ONU in a kind of EPON
CN105282235B (en) A method of solution RPC upgrades unstable in double-PON port ONU
CN103780436A (en) Network device and connection and maintenance method related to network device
CN113472810A (en) Method and system for SOCKET communication based on TCP/IP protocol
CN108243050B (en) Method and equipment for configuring routing table
CN111294252B (en) Cluster test system
CN114884805B (en) Data transmission method, device, terminal and storage medium
CN105721395B (en) Data synchronous configuration method, equipment and system
CN112087678A (en) Bandwidth allocation method and device and bandwidth checking method and device
CN107295057B (en) Apparatus for relaying data transmission in SCADA system
CN104092687A (en) BGP conversation establishing method and device
EP2426859A1 (en) Method and server for transferring large object
CN103546513B (en) The method and device of communication between a kind of customer terminal webpage
CN102523157B (en) Communication equipment, system and communication means
CN210274135U (en) Remote connection system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant