CN104410536B - Data service configuration method, system and ONU equipment - Google Patents

Data service configuration method, system and ONU equipment Download PDF

Info

Publication number
CN104410536B
CN104410536B CN201410814751.7A CN201410814751A CN104410536B CN 104410536 B CN104410536 B CN 104410536B CN 201410814751 A CN201410814751 A CN 201410814751A CN 104410536 B CN104410536 B CN 104410536B
Authority
CN
China
Prior art keywords
data service
configuration
data
configuration information
interface
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
CN201410814751.7A
Other languages
Chinese (zh)
Other versions
CN104410536A (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.)
Beijing Rongshan Yuanhai Network Technology Co ltd
Original Assignee
Phicomm Shanghai 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 Phicomm Shanghai Co Ltd filed Critical Phicomm Shanghai Co Ltd
Priority to CN201410814751.7A priority Critical patent/CN104410536B/en
Publication of CN104410536A publication Critical patent/CN104410536A/en
Application granted granted Critical
Publication of CN104410536B publication Critical patent/CN104410536B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a data service configuration method, a data service configuration system and ONU equipment. The data service configuration method is applied to ONU equipment and comprises the following steps: setting configuration information of a data service through a preset service configuration interface; and simultaneously realizing the data service configuration in a software channel and a hardware channel according to the configuration information of the data service. The data service configuration system is applied to ONU equipment and comprises the following steps: the data service configuration module is used for setting configuration information of the data service through a preset service configuration interface; and the service configuration realization module is connected with the data service configuration module and is used for realizing the data service configuration in a software channel and a hardware channel simultaneously according to the configuration information of the data service. The technical scheme of the invention can ensure that the software channel and the hardware channel have consistency in data service configuration, and avoid the confusion and error processing conditions of actual data service.

Description

A kind of data service collocation method, system and ONU equipment
Technical field
The present invention relates to a kind of network technology, more particularly to a kind of data service collocation method, system and ONU equipment.
Background technology
ONU (Optical Network Unit, optical network unit) belong to PON (Passive Optical Network, Passive optical network) system the person of being managed.ONU is the implementor of PON system data service configuration;User is in the network management software Or OLT (Optical Line Terminal, optical line terminal) order line, the configuration to ONU is issued, ONU parses these and matches somebody with somebody Put, and it is come into force on software and hardware.Data service configuration refers to that the data service to user is done according to special key words Definition, classification, and the data to meeting this classification make corresponding modification, the configuration of forwarding strategy;Such as vlan 100, port 1 bag, will allow it to pass through with limit priority.Data service configuration includes the configuration to software channel and hardware corridor, Wherein, after software channel refers to that data packet reaches ONU, CPU is trapped, by the processing driving processing of operating system network bag, then ONU physical ports are sent to, this passage sent from ONU.Hardware corridor refers to that data packet reaches ONU receiving ports, The rule of data packet matched ONU network processing units, after being handled according to rule, without CPU, is directly forwarded by related port The passage gone out.
At present, usual software data configuration and hardware data configuration are not same interfaces;This causes for a user It is the configuration of a function, two functional configuration is corresponding with inside ONU, data definition confusion causes interface chaotic, whole system Interface of uniting is unintelligible.Software data business configuration is often arbitrarily interted in code at the same time, is arbitrarily changed by programmer, and configuration comes Source is parsed by user configuration.Although this makes upper layer software (applications) (refer in ONU software systems, belong to configuration management agreement This layer of software, such as management agreement OAM, TR069, OMCI of international standard etc.) logic is simpler.But also cause software Passage and hardware corridor are likely to occur confusion and mistake inconsistent, and then that trigger actual data traffic in data service configuration Disposition.
In consideration of it, how to ensure that the uniformity of software channel and hardware corridor in data service configuration becomes this area Technical staff's urgent problem to be solved.
The content of the invention
In view of the foregoing deficiencies of prior art, it is an object of the invention to provide a kind of data service collocation method, System and ONU equipment, for solving in the prior art since software channel and hardware corridor may go out in data service configuration It is existing inconsistent and trigger actual data traffic chaotic and the problem of error handle.
In order to achieve the above objects and other related objects, the present invention provides a kind of data service collocation method, applied to ONU In equipment, the data service collocation method includes:The configuration of data service is set by a default business configuration interface Information;Realize that the data service is matched somebody with somebody in software channel and hardware corridor at the same time according to the configuration information of the data service Put.
Alternatively, the configuration information of the data service include processing type, it is described processing type include create, change with And delete.
Alternatively, the configuration information of the data service further includes source port, handles type, input data parameter, output One kind in data parameters, and destination interface or destination queue.
Alternatively, the number is realized in software channel and hardware corridor according to the configuration information of the data service at the same time Include according to the specific implementation of business configuration:Corresponding interface function is called according to different processing types, the interface function is real The now data service configuration to software channel and hardware corridor.
Alternatively, the interface function is realized in hardware abstraction layer.
The present invention provides a kind of data service configuration system, and applied in ONU equipment, the data service configures system bag Include:Data service configuration module, for setting the configuration information of data service by a default business configuration interface;Business Module is realized in configuration, is connected with the data service configuration module, is existed at the same time for the configuration information according to the data service Software channel and hardware corridor realize the data service configuration.
Alternatively, the configuration information of the data service include processing type, it is described processing type include create, change with And delete.
Alternatively, the configuration information of the data service further includes source port, handles type, input data parameter, output One kind in data parameters, and destination interface or destination queue.
Alternatively, the number is realized in software channel and hardware corridor according to the configuration information of the data service at the same time Include according to the specific implementation of business configuration:Corresponding interface function is called according to different processing types, the interface function is real The now data service configuration to software channel and hardware corridor.
Alternatively, the interface function is realized in hardware abstraction layer.
The present invention also provides a kind of ONU equipment, the ONU equipment includes data service as described above configuration system.
As described above, a kind of data service collocation method, system and the ONU equipment of the present invention, have the advantages that: It can solve in the prior art since software channel and hardware corridor are likely to occur inconsistent in data service configuration and trigger The problem of actual data traffic confusion and error handle, ensure that software channel and hardware corridor have one in data service configuration Cause property, avoids the confusion and error handling scenarios of actual data traffic.
Brief description of the drawings
Fig. 1 is shown as a kind of flow diagram of an embodiment of data service collocation method of the present invention.
Fig. 2 is shown as a kind of flow diagram of an embodiment of data service collocation method of the present invention.
Fig. 3 is shown as a kind of module diagram of an embodiment of data service configuration system of the present invention.
Fig. 4 is shown as a kind of module diagram of an embodiment of data service configuration system of the present invention.
Component label instructions
1 data service configures system
11 data service configuration modules
12 business configurations realize module
S1~S2 steps
Embodiment
Illustrate embodiments of the present invention below by way of specific instantiation, those skilled in the art can be by this specification Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through in addition different specific realities The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from Various modifications or alterations are carried out under the spirit of the present invention.
It should be noted that the diagram provided in the present embodiment only illustrates the basic conception of the present invention in a schematic way, Then in schema only display with it is of the invention in related component rather than component count, shape and size during according to actual implementation paint System, kenel, quantity and the ratio of each component can be a kind of random change during its actual implementation, and its assembly layout kenel also may be used Can be increasingly complex.
The present invention provides a kind of data service collocation method, applied in ONU equipment.In one embodiment, such as Fig. 1 institutes Show, the data service collocation method includes:
Step S1, the configuration information of data service is set by a default business configuration interface.In one embodiment In, the configuration information of the data service includes processing type, and the processing type includes establishment, modification and deletes.It is described The configuration information of data service further includes source port, handles type, input data parameter, output data parameter, and destination One kind in mouth or destination queue.The configuration information of the data service is set according to the configuration requirement of user.The data industry The configuration information of business can pass through data structure definition and transmission.Shown in one of the data structure is defined as follows:
{
Source port;
Input parameter (2 layer data parameters, 3 layer data parameters);
Handle type (modification, abandons);
Output parameter (2 layer data parameters, 3 layer data parameters);
Purpose (port, queue);
}CDATA;
Step S2, the number is realized according to the configuration information of the data service in software channel and hardware corridor at the same time According to business configuration.Specifically, institute is realized in software channel and hardware corridor according to the configuration information of the data service at the same time Stating the specific implementation of data service configuration includes:Corresponding interface function, the interface letter are called according to different processing types Number realizes the data service configuration to software channel and hardware corridor.In one embodiment, the interface function exists Hardware abstraction layer is realized.Interface function is positioned at hardware abstraction layer (HAL), concrete function can be allowed to come into force in hardware corridor also It is transparent to configuration interface layer in software channel, when upper-layer configured interface layer need not be concerned about that function is on hardware corridor or soft Realized on part software, it is only necessary to by calling HAL layer interfaces, data configuration is issued.In one embodiment, the place Managing type includes creating, change and deleting.The interface function corresponds to different processing types and includes:Create data channel Interface, modification data channel interface and deleting data path interface.Shown in one of the interface function is defined as follows:
HAL_createDataChannel(CDATA*):Create data channel interface
HAL_modifyDataChannel(CDATA*):Change data channel interface
HAL_deleteDataChannel(CDATA*):Deleting data path interface
In one embodiment, as shown in Fig. 2, user issues data channel configuration, shown business by business configuration layer Configuration layer provides default business configuration interface, and the data channel configuration issued includes the configuration information of data service. Data (i.e. the configuration information of data service) renewal is arrived hardware channel unit by system, and institute's registration is realized by hardware channel unit According to service configuration information hardware configuration database renewal.System arrives data (i.e. the configuration information of data service) renewal soft Part channel unit, by data service configuration information shown in the realization of software channel unit in the renewal of software configurations database.This Method can first update hardware corridor with renewal software channel configuration is postponed, and it is hard with renewal is postponed can also first to update software channel Part passage configures.
In one embodiment, the specific example one of the data service collocation method is as follows:User data service configures It is required that it is:All data packet transparent transmissions on port 1;This method will create a hardware rule, make 1 all data packets of port saturating Pass;At the same time in software channel processing, the bag all to port 1, does not make an amendment, forwarding of remaining untouched.The data service is matched somebody with somebody The specific example two for putting method is as follows:Data service customers configuration requirement is:The data packet of vlan 100 on port 2, conversion For vlan 200, the highest-priority queue of data feedback channel 0 is mapped to;This method will create a hardware rule, on port 2 All vlan are 100 data packets, and regular action is that modification vlan is 200, and the highest for being mapped to data feedback channel 0 is excellent First level queue.At the same time in software channel processing, vlan is revised as by the data packet that is 100 to vlan all on port 2 200, and it is sent to the highest-priority queue of data feedback channel 0.
The present invention provides a kind of data service configuration system, applied in ONU equipment.In one embodiment, such as Fig. 3 institutes To show, the data service configuration system 1 includes data service configuration module 11 and business configuration realizes module 12, wherein:
Data service configuration module 11 is used to match somebody with somebody confidence by what a default business configuration interface set data service Breath.In one embodiment, the configuration information of the data service includes processing type, and the processing type includes creating, repaiies Change and delete.The configuration information of the data service further includes source port, handles type, input data parameter, output data One kind in parameter, and destination interface or destination queue.The configuration information of the data service is according to the configuration requirement of user Set.The configuration information of the data service can pass through data structure definition and transmission.One of the data structure is specific Shown in being defined as follows:
{
Source port;
Input parameter (2 layer data parameters, 3 layer data parameters);
Handle type (modification, abandons);
Output parameter (2 layer data parameters, 3 layer data parameters);
Purpose (port, queue);
}CDATA;
Business configuration realizes that module 12 is connected with the data service configuration module 11, for according to the data service Configuration information realizes the data service configuration in software channel and hardware corridor at the same time.Specifically, according to the data industry The specific implementation that the configuration information of business realizes the data service configuration in software channel and hardware corridor at the same time includes:According to Different processing types calls corresponding interface function, and the interface function is realized to described in software channel and hardware corridor Data service configures.In one embodiment, the interface function is realized in hardware abstraction layer.Interface function is positioned at hardware Level of abstraction (HAL), can allow concrete function to come into force transparent to configuration interface layer on hardware corridor or software channel, upper strata is matched somebody with somebody Function need not be concerned about when putting interface layer to be realized on hardware corridor or on software, it is only necessary to is connect by calling HAL layers Mouthful, data configuration is issued.In one embodiment, the processing type includes creating, change and deleting.It is described to connect Mouth function corresponds to different processing types and includes:Create data channel interface, modification data channel interface and delete data Channel interface.Shown in one of the interface function is defined as follows:
HAL_createDataChannel(CDATA*):Create data channel interface
HAL_modifyDataChannel(CDATA*):Change data channel interface
HAL_deleteDataChannel(CDATA*):Deleting data path interface
In one embodiment, as shown in figure 4, the configuration interface module (i.e. data service configuration module 11) sets number According to the configuration information (Data) of business, the configuration information (Data) of data service is passed into business configuration and realizes module 12.Industry Business configuration realizes that module 12 includes the unified interface positioned at hardware abstraction layer, and the interface function provided by the unified interface is realized The data service configuration is realized in software channel and hardware corridor, i.e., passes the configuration information (Data) of data service respectively Pass hardware channel unit and software channel unit.By data service configuration information shown in the realization of software channel unit soft The renewal of part configuration database;By hardware channel unit realize shown in data service configuration information in hardware configuration database Renewal.
The present invention also provides a kind of ONU equipment, the ONU equipment includes data service as described above configuration system 1. In one embodiment, the ONU equipment can be the configuration data of hardware corridor and software channel passing through unified interface Keep complete synchronous.So that data message is come according to consistent rule Processing.In one embodiment, the ONU equipment configures the HAL layer interfaces and data knot of the offer of system 1 by data service Structure, HAL layer interfaces are realized, configuration data are distributed respectively in hardware corridor and software channel, to keep the fully synchronized of data.
In conclusion a kind of data service collocation method, system and ONU equipment provided by the invention can solve existing skill Since software channel and hardware corridor are likely to occur inconsistent in data service configuration and trigger actual data traffic to mix in art The problem of random and error handle, ensure software and hardware passage, has uniformity in data service configuration, avoids real data The confusion and error handling scenarios of business.So the present invention effectively overcomes various shortcoming of the prior art and has height and produce Industry utility value.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any ripe Know the personage of this technology all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.Cause This, those of ordinary skill in the art is complete without departing from disclosed spirit and institute under technological thought such as Into all equivalent modifications or change, should by the present invention claim be covered.

Claims (7)

  1. A kind of 1. data service collocation method, applied in ONU equipment, it is characterised in that the data service collocation method bag Include:
    The configuration information of data service is set by a default business configuration interface;
    The data service configuration is realized in software channel and hardware corridor according to the configuration information of the data service at the same time;
    The data service configuration is realized in software channel and hardware corridor according to the configuration information of the data service at the same time Specific implementation include:Corresponding interface function is called according to different processing types, the interface function, which is realized, leads to software The data service configuration of road and hardware corridor;
    The interface function is realized in hardware abstraction layer.
  2. 2. data service collocation method according to claim 1, it is characterised in that:The configuration information bag of the data service Processing type is included, the processing type includes creating, change and deleting.
  3. 3. data service collocation method according to claim 2, it is characterised in that:The configuration information of the data service is also Including source port, type is handled, input data parameter, one kind in output data parameter, and destination interface or destination queue.
  4. 4. a kind of data service configures system, applied in ONU equipment, it is characterised in that:The data service configures system bag Include:
    Data service configuration module, for setting the configuration information of data service by a default business configuration interface;
    Business configuration realizes module, is connected with the data service configuration module, for matching somebody with somebody confidence according to the data service Breath realizes the data service configuration in software channel and hardware corridor at the same time;
    The data service configuration is realized in software channel and hardware corridor according to the configuration information of the data service at the same time Specific implementation include:Corresponding interface function is called according to different processing types, the interface function, which is realized, leads to software The data service configuration of road and hardware corridor;
    The interface function is realized in hardware abstraction layer.
  5. 5. data service according to claim 4 configures system, it is characterised in that:The configuration information bag of the data service Processing type is included, the processing type includes creating, change and deleting.
  6. 6. data service according to claim 5 configures system, it is characterised in that:The configuration information of the data service is also Including source port, type is handled, input data parameter, one kind in output data parameter, and destination interface or destination queue.
  7. A kind of 7. ONU equipment, it is characterised in that:The ONU equipment is included as described in any claim in claim 4 to 6 Data service configuration system.
CN201410814751.7A 2014-12-19 2014-12-19 Data service configuration method, system and ONU equipment Active CN104410536B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410814751.7A CN104410536B (en) 2014-12-19 2014-12-19 Data service configuration method, system and ONU equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410814751.7A CN104410536B (en) 2014-12-19 2014-12-19 Data service configuration method, system and ONU equipment

Publications (2)

Publication Number Publication Date
CN104410536A CN104410536A (en) 2015-03-11
CN104410536B true CN104410536B (en) 2018-05-01

Family

ID=52648134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410814751.7A Active CN104410536B (en) 2014-12-19 2014-12-19 Data service configuration method, system and ONU equipment

Country Status (1)

Country Link
CN (1) CN104410536B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245383A (en) * 2015-10-22 2016-01-13 烽火通信科技股份有限公司 System and method for uniformly managing ONU (Optical Network Unit) configuration information
CN107688924A (en) * 2017-06-26 2018-02-13 平安科技(深圳)有限公司 Accreditation method, apparatus and computer-readable recording medium
CN109040178B (en) * 2018-06-22 2021-05-18 北京星网锐捷网络技术有限公司 Configuration information sending method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828617A (en) * 2006-03-31 2006-09-06 电子科技大学 Software and hardware synergistic simulation/ validation system and vector mode simulation/ validation method
CN102379095A (en) * 2009-04-01 2012-03-14 美国泰科诺华公司 Method and apparatus for link sharing among multiple epons
CN102833642A (en) * 2012-09-21 2012-12-19 武汉烽火网络有限责任公司 Method and system for managing optical network units (ONU) based on interface capability set
CN102882721A (en) * 2012-09-28 2013-01-16 上海斐讯数据通信技术有限公司 Line card configuration restoration realizing method in Ethernet passive optical network system
CN103067204A (en) * 2012-12-25 2013-04-24 上海斐讯数据通信技术有限公司 Method of accessing optical network unit management and control interface (OMCI) entity from application layer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060004856A1 (en) * 2004-06-15 2006-01-05 Xiangyang Shen Data management and persistence frameworks for network management application development

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828617A (en) * 2006-03-31 2006-09-06 电子科技大学 Software and hardware synergistic simulation/ validation system and vector mode simulation/ validation method
CN102379095A (en) * 2009-04-01 2012-03-14 美国泰科诺华公司 Method and apparatus for link sharing among multiple epons
CN102833642A (en) * 2012-09-21 2012-12-19 武汉烽火网络有限责任公司 Method and system for managing optical network units (ONU) based on interface capability set
CN102882721A (en) * 2012-09-28 2013-01-16 上海斐讯数据通信技术有限公司 Line card configuration restoration realizing method in Ethernet passive optical network system
CN103067204A (en) * 2012-12-25 2013-04-24 上海斐讯数据通信技术有限公司 Method of accessing optical network unit management and control interface (OMCI) entity from application layer

Also Published As

Publication number Publication date
CN104410536A (en) 2015-03-11

Similar Documents

Publication Publication Date Title
CN103391296B (en) A kind of controller, transponder and Path Setup method and system
CN101401357B (en) Managing traffic within and between virtual private networks when using a session border controller
CN104410536B (en) Data service configuration method, system and ONU equipment
CN103067245B (en) A kind of stream table spatial isolation device for network virtualization and method
CN103763367A (en) Method and system for designing distributed virtual network in cloud calculating data center
CN104604182B (en) Service channel collocation method and optical line terminal and EPON
CN103825954A (en) OpenFlow control method and corresponding insert, platform and network thereof
CN103269282A (en) Method and device for automatically deploying network configuration
CN108566342A (en) Multi-service flow separate system based on SDN frameworks and streamed data processing method
ATE481793T1 (en) METHOD FOR CREATING FRAMEWORK FOR MANAGEMENT AND MAINTENANCE OF ETHERNET/TMPLS HYBRID NETWORK OPERATIONS
CN105007221B (en) A kind of loop detecting method and system
CN107222347B (en) Configuration reverse-brushing method based on PTN equipment
CN105915428B (en) SDN network L2VPN realization method and systems based on OPEN_FLOW agreements
CN105359472B (en) A kind of data processing method and device for OpenFlow networks
CN105703960A (en) Network function management system based on SDN and method thereof
CN104680277A (en) Method and system for negotiating and signing electronic contract online
CN105530200B (en) The VLAN allocation method of different terminals business
CN109889533B (en) Security defense method and system under cloud environment and computer readable storage medium
US8605589B2 (en) Dynamic classification and grouping of network traffic for service application
CN106330489A (en) Method and device for achieving business migration
EP2482515A1 (en) Method and system for dispatching upnlink messages based on gigabit passive optical network gpon
CN102377645B (en) Exchange chip and realization method thereof
CN103346950B (en) Between a kind of rack wireless controller customer service plate, method and device are shared in load equally
CN106603372B (en) A kind of data package processing method and device
CN109600426A (en) One kind being based on SOA business development platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201105

Address after: 318015 no.2-3167, zone a, Nonggang City, no.2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee after: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220511

Address after: Room 501, 4th floor, building 2, courtyard 4, Guanghua Road, Chaoyang District, Beijing 100020

Patentee after: Beijing Rongshan Yuanhai Network Technology Co.,Ltd.

Address before: 318015 no.2-3167, area a, nonggangcheng, 2388 Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee before: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right