CN103268305B - A kind of OAM protocol stacks implantation method - Google Patents
A kind of OAM protocol stacks implantation method Download PDFInfo
- Publication number
- CN103268305B CN103268305B CN201310143137.8A CN201310143137A CN103268305B CN 103268305 B CN103268305 B CN 103268305B CN 201310143137 A CN201310143137 A CN 201310143137A CN 103268305 B CN103268305 B CN 103268305B
- Authority
- CN
- China
- Prior art keywords
- protocol stack
- chip business
- data
- interface
- chip
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000002513 implantation Methods 0.000 title claims abstract description 12
- 230000003068 static effect Effects 0.000 claims abstract description 10
- 238000004891 communication Methods 0.000 claims abstract description 5
- 230000008901 benefit Effects 0.000 abstract description 4
- 238000011160 research Methods 0.000 abstract description 4
- 238000011161 development Methods 0.000 abstract description 3
- 230000004927 fusion Effects 0.000 abstract description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
A kind of OAM protocol stacks implantation method, including:Retain the funtion part of chip business protocol stack, remove the part of the interprocess communication of chip business protocol stack;The funtion part of chip business protocol stack is compiled into static library;Data-interface in main makefile in engineering is docked with the data-interface of chip business protocol stack.After the present invention program, it is not necessary to have deeper research to the protocol stack of chip business, only it is to be understood that its data-interface and function are with regard to that can carry out OAM protocol stack transplanting, the development efficiency of raising;By the function of chip business and the function fusion of oneself exploitation, it is ensured that played respective advantage.
Description
Technical field
The present invention relates to network management technology, more particularly to a kind of OAM protocol stacks implantation method.
Background technology
In current equipment Market, while there are multiple chip business, each chip business is also according to different device types
And many money chips are proposed, at this moment, in order to quickly develop product, equipment vendor is accomplished by doing software transplanting.
Main implantation method has two kinds, a kind of to be among the protocol stack that the software transplanting of itself is entered to chip business offer,
So can comparatively fast and easily run software, workload is also smaller, simultaneously because software by chip business test with
Exploitation, also ensure that certain stability.
Another is exactly to be split the protocol stack of chip business, then changes it and drives the interface of layer, and is implanted into
In the engineering of itself, this method equivalent to first method on the contrary, being and the chip business based on itself existing protocol stack
Protocol stack be then embedded in as extraneous moieties in existing software.Two kinds of conventional chip implantation techniques are hereinbefore said.
But they also have more obvious shortcoming.
It is a kind of to be the protocol stack for enter itself software transplanting chip business, although this mode is than faster, being due to
The Exploitation degree of the protocol stack of different chip business is different, and stability is also different, so this scheme exists during exploitation
Larger risk, it is necessary to which the long period carries out stability exploitation.
Second various methodologies are then to use self-developed protocol stack.Due to copyright problem and stability problem, mostly
Several equipment vendors all can self-developing possess the OAM protocol stacks of independent intellectual property right, this protocol stack often possesses preferably steady
It is qualitative, and because the protocol stack is developed in order to commercial, it is complete that the protocol stack is all made comparison in stability and details
It is kind, it is ensured that the stability of operation, meanwhile, the style at the agreement station can also be continued in the exploitation of subsequent product, be easy to
Later maintenance and BUG debugging.But this protocol stack also has the shortcomings that itself, that is, it is necessary to original association when chip is transplanted
View stack, which carries out larger change, can just be transferred to the protocol stack of itself, while the exploitation of a perfect protocol stack is to need to consume big
The time and efforts of amount, this also make it that the exploitation of this protocol stack is difficult.
The content of the invention
Present invention aims at provide a kind of quick and easy OAM protocol stack implantation methods.
A kind of OAM protocol stacks implantation method, including:
Retain the funtion part of chip business protocol stack, remove the part of the interprocess communication of chip business protocol stack;
The funtion part of chip business protocol stack is compiled into static library;
Data-interface in main makefile in engineering is docked with the data-interface of chip business protocol stack.
In one of the embodiments, the data-interface connects including getponmac, getfirmwareversion data
Mouthful.
In one of the embodiments, the step of funtion part by chip business protocol stack is compiled into static library is specific
For:
Make the gcc parts in agreement stack file into static library.
After the present invention program, it is not necessary to have deeper research to the protocol stack of chip business, only it is to be understood that its data connects
Mouth and function are with regard to that can carry out OAM protocol stack transplanting, the development efficiency of raising;The function of the function of chip business and oneself exploitation is melted
Close, it is ensured that played respective advantage.
Brief description of the drawings
The OAM protocol stack implantation method flow charts that Fig. 1 provides for one embodiment of the invention.
Embodiment
In order that the objects, technical solutions and advantages of the present invention are more clearly, below in conjunction with drawings and Examples, to this
Invention is further described.It should be appreciated that specific embodiment described herein is not used to limit only to explain the present invention
The fixed present invention.
Refering to the OAM protocol stack implantation methods of Fig. 1, the present invention a kind of embodiment provided, including:
Step S110, retains the funtion part of chip business protocol stack, removes the portion of the interprocess communication of chip business protocol stack
Point;The simple protocol stack for reading chip business, typically just can soon distinguish the funtion part of protocol stack in the place of beginning
With the part of the interprocess communication of protocol stack.
Step S120, static library is compiled into by the funtion part of chip business protocol stack;
Specifically, the step of funtion part of chip business protocol stack is compiled into static library is by agreement stack file
Gcc makes static library into part.
Step S130, the data-interface in main makefile in engineering is docked with the data-interface of chip business protocol stack.
The data-interface used will be needed to be docked with the data-interface of chip business protocol stack in main makefile in engineering, it is not necessary to just
Ignore.Such as getponmac, getfirmwareversion data-interface.
So far, we just complete the transplanting of OAM protocol stacks.The main body of upper strata OAM first is that we are independently developed, this
Sample is able to ensure that the stability and practicality of software, while in the initialization of hardware and bottom operation part, we remain original
The complete function of protocol stack, so also ensures that bottom operation occurs without problem.It is convenient and swift, the time of whole migration process
It is very short, and do not need our protocol stacks to chip business to have very deep research.
After the present invention program, it is not necessary to have deeper research to the protocol stack of chip business, only it is to be understood that its its data
Interface and function are with regard to that can carry out OAM protocol stack transplanting, the development efficiency of raising;By the function of chip business and the function of oneself exploitation
Fusion, it is ensured that played respective advantage.
Embodiment described above only expresses the several embodiments of the present invention, and it describes more specific and detailed, but simultaneously
Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention
Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (2)
1. a kind of OAM protocol stacks implantation method, it is characterised in that including:
Retain the funtion part of chip business protocol stack, remove the part of the interprocess communication of chip business protocol stack;
The funtion part of chip business protocol stack is compiled into static library;
Data-interface in main makefile in engineering is docked with the data-interface of chip business protocol stack;
Wherein, the step of funtion part by chip business protocol stack is compiled into static library be specially:
Make the gcc parts in agreement stack file into static library.
2. OAM protocol stacks implantation method according to claim 1, it is characterised in that the data-interface includes
Getponmac, getfirmwareversion data-interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310143137.8A CN103268305B (en) | 2013-04-23 | 2013-04-23 | A kind of OAM protocol stacks implantation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310143137.8A CN103268305B (en) | 2013-04-23 | 2013-04-23 | A kind of OAM protocol stacks implantation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103268305A CN103268305A (en) | 2013-08-28 |
CN103268305B true CN103268305B (en) | 2017-07-25 |
Family
ID=49011936
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310143137.8A Expired - Fee Related CN103268305B (en) | 2013-04-23 | 2013-04-23 | A kind of OAM protocol stacks implantation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103268305B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1787460A (en) * | 2004-12-10 | 2006-06-14 | 中兴通讯股份有限公司 | System for testing unification of communication protocol |
US7177325B2 (en) * | 2002-07-25 | 2007-02-13 | Micrel, Incorporated | Operations, administration and maintenance (OAM) systems and methods for packet switched data networks |
CN101212479A (en) * | 2007-12-25 | 2008-07-02 | 康佳集团股份有限公司 | Method for implementing byte alignment on network platform |
CN101764986A (en) * | 2009-12-24 | 2010-06-30 | 中兴通讯股份有限公司 | Wireless terminal and realization method of video telephone function thereof |
CN102339234A (en) * | 2011-07-12 | 2012-02-01 | 迈普通信技术股份有限公司 | Device for operating protocol stack and method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7519718B2 (en) * | 2004-02-27 | 2009-04-14 | International Business Machines Corporation | Server-side protocol configuration of accessing clients |
US20070280283A1 (en) * | 2006-05-31 | 2007-12-06 | Alcatel | IGMP (Internet Group Management Protocol) connectivity verification |
-
2013
- 2013-04-23 CN CN201310143137.8A patent/CN103268305B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7177325B2 (en) * | 2002-07-25 | 2007-02-13 | Micrel, Incorporated | Operations, administration and maintenance (OAM) systems and methods for packet switched data networks |
CN1787460A (en) * | 2004-12-10 | 2006-06-14 | 中兴通讯股份有限公司 | System for testing unification of communication protocol |
CN101212479A (en) * | 2007-12-25 | 2008-07-02 | 康佳集团股份有限公司 | Method for implementing byte alignment on network platform |
CN101764986A (en) * | 2009-12-24 | 2010-06-30 | 中兴通讯股份有限公司 | Wireless terminal and realization method of video telephone function thereof |
CN102339234A (en) * | 2011-07-12 | 2012-02-01 | 迈普通信技术股份有限公司 | Device for operating protocol stack and method |
Non-Patent Citations (2)
Title |
---|
EPON网管系统中SNMP与OAM的研究与实现;雷维;《中国优秀硕士学位论文全文数据库信息科技辑》;20071115(第5期);第I136-505页 * |
Linux系统下Modbus主协议栈设计与实现;李振江;《中国优秀硕士学位论文全文数据库信息科技辑》;20120915(第9期);第I138-389页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103268305A (en) | 2013-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103020025B (en) | Technology for the automatic animation of document content | |
CN106506244A (en) | A kind of unified supervision device of mixed cloud | |
CN102117449B (en) | Dynamic verification and soft handover method for online state entering of power grid model | |
CN103761168B (en) | It is a kind of that the method for carrying backup virtual machine is wrapping with based on nfs | |
CN106095528B (en) | A method of detection virtual machine drive | |
CN101859251A (en) | Method and device for installing embedded operating system | |
CN101221504A (en) | Test script processing method and its scheduling and executing system | |
WO2018236987A1 (en) | Parallel-processing of invasion percolation for large-scale, high-resolution simulation of secondary hydrocarbon migration | |
WO2006061315A3 (en) | Resource management for data storage services | |
CN106557794A (en) | Based on the machine room of Internet of Things perception, cabinet space management method | |
CN104268097B (en) | A kind of metadata processing method and system | |
CN102256242B (en) | System and method for processing service application | |
CN103268305B (en) | A kind of OAM protocol stacks implantation method | |
CN106227550A (en) | Generation method, system and the computer of a kind of Internationalized Graphical User Interface | |
CN108170789A (en) | A kind of classification storage method and relevant apparatus based on distributed file system | |
CN103607600A (en) | Method and device for cloud backup | |
US8732568B1 (en) | Systems and methods for managing workflows | |
CN103176832B (en) | One kind UNIX operating system runs method and the device of virtual opetrating system | |
CN105867894A (en) | Automatic creating method and system of development environment | |
CN103761096A (en) | Automatic input method and device achieved based on IBinder mechanism | |
CN103425550B (en) | A kind of system cloning process and device | |
CN109542672A (en) | Method and apparatus for recycling the memory block in snapshot storage space | |
CN204463134U (en) | SATA hard disc Write-protect system | |
CN107665142A (en) | A kind of method, terminal and computer-readable recording medium for detecting application program operation flow and interrupting | |
CN105224330A (en) | A kind of method realizing android system HCE service fast |
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 | ||
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20180313 Granted publication date: 20170725 |
|
PD01 | Discharge of preservation of patent | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20210313 Granted publication date: 20170725 |
|
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20210313 Granted publication date: 20170725 |
|
PD01 | Discharge of preservation of patent | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20240313 Granted publication date: 20170725 |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170725 |