CN103152213B - The method of protocol synchronization between controlled plant and webmaster in optical communication system - Google Patents
The method of protocol synchronization between controlled plant and webmaster in optical communication system Download PDFInfo
- Publication number
- CN103152213B CN103152213B CN201310119428.3A CN201310119428A CN103152213B CN 103152213 B CN103152213 B CN 103152213B CN 201310119428 A CN201310119428 A CN 201310119428A CN 103152213 B CN103152213 B CN 103152213B
- Authority
- CN
- China
- Prior art keywords
- controlled plant
- webmaster
- agreement
- document
- controlled
- 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
Links
Landscapes
- Programmable Controllers (AREA)
Abstract
The invention discloses the method for protocol synchronization between controlled plant and webmaster in a kind of optical communication system, comprise the following steps: the document of agreement for controlled plant adds version flag capitiform and becomes protocol package; The functional software and protocol package that realize controlled plant corresponding function are packaged as and issue bag, and preserve on the controlled device; When controlled plant starts, webmaster obtains from controlled plant and issues bag accordingly, and from issuing the version flag head obtaining respective protocol bag; Webmaster, according to the comparative result of the version flag head got with the local controlled plant version flag head stored, judges whether to ask for corresponding document of agreement to controlled plant, and according to corresponding consultative management controlled plant.The present invention, realizes protocol synchronization by version flag head, thus when not affecting original business in engineering, realizes system smooth upgrade, reduces engineering maintenance difficulty.
Description
Technical field
The present invention relates to communication technical field, be specifically related to the method for protocol synchronization between controlled plant and webmaster in optical communication system.
Background technology
In optical communication system, the communication between webmaster and controlled plant must be carried out according to certain agreement.Because optical communication system often needs upgrading, safeguards, the function of controlled plant also can often change, thus causes agreement corresponding between controlled plant with webmaster to change; In addition, in actual applications, often need a webmaster to support identical single-deck difference in functionality, this also requires that webmaster can support the multi-protocols version of identical single-deck.Therefore, often there is the problem producing multi version protocol compatibility because controlled plant function is different, cause much unnecessary trouble to engineering maintenance work in current optical communication system.
As can be seen here, optical communication system needs the agreement between controlled plant and webmaster to be consistent at any time, to ensure that system is normally run.
Summary of the invention
Technical problem to be solved by this invention solves the inconsistent and problem of initiating system fault of protocol version between controlled plant and webmaster.
In order to solve the problems of the technologies described above, the technical solution adopted in the present invention is to provide the method for protocol synchronization between controlled plant and webmaster in a kind of optical communication system, comprises the following steps:
Document of agreement for controlled plant adds upper version flag capitiform and becomes protocol package, and described version flag head has uniqueness;
The functional software and described protocol package that realize controlled plant corresponding function are packed to be formed to issue and wraps, and preserve on the controlled device;
When controlled plant starts, webmaster obtains described issue bag from described controlled plant, and obtains described version flag head from described issue bag;
Webmaster, according to the comparative result of the version flag head got with the local controlled plant version flag head stored, judges whether to ask for corresponding document of agreement to controlled plant, and according to corresponding consultative management controlled plant.
In such scheme, described document of agreement is compressed file, and webmaster carries out decompression operation after controlled plant asks for corresponding document of agreement.
In such scheme, webmaster asks for corresponding document of agreement to controlled plant, and comprises the following steps according to corresponding consultative management controlled plant:
Webmaster asks for document of agreement to controlled plant;
The document of agreement that decompression receives also is preserved;
Document of agreement after analytic solutions compression generates corresponding instruction set, and uses the managing controlled equipment of instruction set.
The present invention, for the document of agreement of controlled plant with the addition of version flag head, webmaster is by the version flag head with the mutual more respective agreement of the information data between controlled plant, realize the consistent of document of agreement further, thus when not affecting original business in engineering, realize system smooth upgrade, reduce engineering maintenance difficulty.
Accompanying drawing explanation
Fig. 1 is the structural representation of optical communication system in the present invention;
Fig. 2 is method flow diagram provided by the invention.
Embodiment
The method of protocol synchronization between controlled plant and webmaster in optical communication system provided by the invention, mutual by the information data between webmaster and controlled plant, the document of agreement between them is consistent, realizes protocol synchronization.Below in conjunction with accompanying drawing, the present invention is described in detail.
In this method, optical communication system structure as shown in Figure 1, is comprised webmaster and the multiple controlled plants by network management control, is communicated between webmaster and controlled plant by corresponding protocol realization.In order to realize the object of the invention, the document of agreement for controlled plant adds version flag capitiform and becomes protocol package, and version flag head has uniqueness; And be packaged as a complete issue bag by realizing functional software corresponding to controlled plant corresponding function and protocol package, preserve on the controlled device.Webmaster is provided with protocol synchronization device, protocol resolver and other modules, and protocol synchronization device is mainly used for, by needing the document of agreement upgraded to get on webmaster from controlled plant, ensureing network management protocol and controlled plant protocol synchronization; Protocol resolver is mainly used for the document of agreement that the needs got upgrade to resolve to corresponding instruction set, and uses these instruction set to control controlled plant.
Method provided by the invention, mainly comprises the following steps:
Step 1, definition document of agreement describing method, generate the xml/xsd/xls document of agreement of controlled plant, and the document of agreement for controlled plant adds version flag capitiform and becomes protocol package, and wherein, document of agreement is compressed file, and version flag head has uniqueness;
Step 2, functional software corresponding for each function realizing controlled plant and protocol package be packaged as a complete issue bag, and be saved on controlled plant;
When step 3, controlled plant start, webmaster checks whether controlled plant is known controlled plant, if webmaster there is the document of agreement of controlled plant, then shows that this controlled plant is known controlled plant, otherwise shows that this controlled plant is unknown device.
If controlled plant is unknown device, then directly obtain corresponding document of agreement from controlled plant, and the document of agreement utilizing resolver resolves to get generates corresponding instruction set.
If controlled plant is known device, then obtain from controlled plant and issue bag accordingly, and corresponding version flag head is obtained from issue bag, the comparative result of the version flag head of this agreement of being preserved by the version flag head that acquires and webmaster this locality, obtains agreement the need of the judged result of upgrading.If the two is consistent, then shows that agreement does not need upgrading, use the consultative management controlled plant that webmaster is preserved; If the two is inconsistent, then description protocol needs upgrading, first the document of agreement after compression is asked for controlled plant, the document of agreement upgraded is needed to upload to webmaster from controlled plant, then after receiving document of agreement, decompress(ion) contracts preservation, the document of agreement also raw instruction set for correspondence that recycling resolver resolves webmaster gets from controlled plant, finally uses the managing controlled equipment of instruction set.
The present invention is not limited to above-mentioned preferred forms, and anyone should learn the structural change made under enlightenment of the present invention, and every have identical or close technical scheme with the present invention, all falls within protection scope of the present invention.
Claims (3)
1. the method for protocol synchronization between controlled plant and webmaster in optical communication system, is characterized in that, comprise the following steps:
Document of agreement for controlled plant adds upper version flag capitiform and becomes protocol package, and described version flag head has uniqueness;
The functional software and described protocol package that realize controlled plant corresponding function are packed to be formed to issue and wraps, and preserve on the controlled device;
When controlled plant starts, webmaster checks whether controlled plant is known controlled plant, if webmaster there is the document of agreement of controlled plant, then shows that this controlled plant is known controlled plant, otherwise shows that this controlled plant is unknown device; If controlled plant is unknown device, then webmaster directly obtains corresponding document of agreement from controlled plant, and according to corresponding consultative management controlled plant; If controlled plant is known device, then webmaster obtains described issue bag from described controlled plant, and obtains described version flag head from described issue bag;
Webmaster, according to the comparative result of the version flag head got with the local controlled plant version flag head stored, judges whether to ask for corresponding document of agreement to controlled plant, and according to corresponding consultative management controlled plant.
2. the method for protocol synchronization between controlled plant and webmaster in optical communication system as claimed in claim 1, it is characterized in that, described document of agreement is compressed file, and webmaster carries out decompression operation after controlled plant asks for corresponding document of agreement.
3. the method for protocol synchronization between controlled plant and webmaster in optical communication system as claimed in claim 2, it is characterized in that, webmaster asks for corresponding document of agreement to controlled plant, and comprises the following steps according to corresponding consultative management controlled plant:
Webmaster asks for document of agreement to controlled plant;
The document of agreement that decompression receives also is preserved;
Document of agreement after analytic solutions compression generates corresponding instruction set, and uses the managing controlled equipment of instruction set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310119428.3A CN103152213B (en) | 2013-04-08 | 2013-04-08 | The method of protocol synchronization between controlled plant and webmaster in optical communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310119428.3A CN103152213B (en) | 2013-04-08 | 2013-04-08 | The method of protocol synchronization between controlled plant and webmaster in optical communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103152213A CN103152213A (en) | 2013-06-12 |
CN103152213B true CN103152213B (en) | 2015-09-16 |
Family
ID=48550088
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310119428.3A Active CN103152213B (en) | 2013-04-08 | 2013-04-08 | The method of protocol synchronization between controlled plant and webmaster in optical communication system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103152213B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025778A (en) * | 2010-11-25 | 2011-04-20 | 成都勤智数码科技有限公司 | Software version upgrading work method based on Shell |
CN102195820A (en) * | 2011-06-08 | 2011-09-21 | 烽火通信科技股份有限公司 | Telecommunication equipment upgrading and maintenance method for telecommunication network transmission system |
CN102231679A (en) * | 2011-06-29 | 2011-11-02 | 烽火通信科技股份有限公司 | Method for realizing configuration synchronization of network elements and webmaster |
-
2013
- 2013-04-08 CN CN201310119428.3A patent/CN103152213B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025778A (en) * | 2010-11-25 | 2011-04-20 | 成都勤智数码科技有限公司 | Software version upgrading work method based on Shell |
CN102195820A (en) * | 2011-06-08 | 2011-09-21 | 烽火通信科技股份有限公司 | Telecommunication equipment upgrading and maintenance method for telecommunication network transmission system |
CN102231679A (en) * | 2011-06-29 | 2011-11-02 | 烽火通信科技股份有限公司 | Method for realizing configuration synchronization of network elements and webmaster |
Also Published As
Publication number | Publication date |
---|---|
CN103152213A (en) | 2013-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105224351A (en) | Rapid configuration implementation method and rapid configuration server | |
CN106648766B (en) | Method and device for generating patch upgrade patch based on folder and differentially upgrading patch based on folder | |
CN103002010A (en) | Method, device and system for updating data based on incremental data | |
EP3561680A1 (en) | Rpc conversion process system and rpc conversion method | |
CN102833101B (en) | Software upgrading method and equipment of distributed network system | |
CN105760272B (en) | Monitoring backstage business customizing method and its system based on plug-in unit | |
CN111526052B (en) | Network element instruction management method, device, network equipment and storage medium | |
CN112035217A (en) | Cluster processing method and device, electronic equipment and computer readable storage medium | |
CN111538497A (en) | Configuration method and device suitable for multi-satellite measurement and control management | |
CN112187922A (en) | Intelligent Internet of things shutdown machine based on MQTT communication protocol | |
CN104852971A (en) | Plug-in protocol device and data communication method based on plug-in protocol | |
CN102707690B (en) | Configuration data download method and download system | |
WO2017045345A1 (en) | Resource management method and apparatus, and multi-mode soft base station unified network management | |
CN105681343A (en) | Processing method and device for state control protocol based on ARM architecture | |
CN106982445A (en) | A kind of transmission method, equipment and the system of abnormal information of upgrading | |
CN101169655A (en) | Process control system | |
US10210177B2 (en) | Distribution management system | |
CN104243198A (en) | Network management method and system based on network configuration protocol | |
CN102736926B (en) | The upgrade method of a kind of task based access control template and device, batch upgrading system | |
CN103152213B (en) | The method of protocol synchronization between controlled plant and webmaster in optical communication system | |
CN103414252B (en) | A kind of transformer substation communication service configuration information real-time synchronization system and method thereof | |
CN102638569B (en) | File distribution synchronizing method and system | |
CN110856133A (en) | Internet of things gateway based on lightweight rule engine | |
CN104503753A (en) | Software management method and system based on modular design | |
CN104468671A (en) | Configuration information processing method, device and relevant device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |