CN107659858B - Passive optical network regional self-adaptive system - Google Patents

Passive optical network regional self-adaptive system Download PDF

Info

Publication number
CN107659858B
CN107659858B CN201710734382.4A CN201710734382A CN107659858B CN 107659858 B CN107659858 B CN 107659858B CN 201710734382 A CN201710734382 A CN 201710734382A CN 107659858 B CN107659858 B CN 107659858B
Authority
CN
China
Prior art keywords
region
configuration
interface
data
module
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
CN201710734382.4A
Other languages
Chinese (zh)
Other versions
CN107659858A (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.)
Sichuan Tianyi Comheart Telecom Co Ltd
Original Assignee
Sichuan Tianyi Comheart Telecom 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 Sichuan Tianyi Comheart Telecom Co Ltd filed Critical Sichuan Tianyi Comheart Telecom Co Ltd
Priority to CN201710734382.4A priority Critical patent/CN107659858B/en
Publication of CN107659858A publication Critical patent/CN107659858A/en
Application granted granted Critical
Publication of CN107659858B publication Critical patent/CN107659858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring

Abstract

The invention discloses a passive optical network area self-adaptive system which mainly comprises a network data exchange processing chip, a main control chip and an input/output controller, wherein the exchange processing chip is provided with an Ethernet interface, an optical fiber interface and an RAM and is connected with the input/output controller and the main control chip through a system bus, system control software is arranged in the main control chip, software versions of all provinces are fused into one version by using area codes, and then the software versions are distinguished and configured through a globally unique area code. And special software functional modules in different regions are isolated through region codes. And executing the special code of the corresponding province by judging the current region code so as to realize the required customization function. Therefore, the maintenance of the version is facilitated, the production flow is simplified, the error probability is reduced, and the upgrading and maintenance of the product in the later period of after-market departments are facilitated.

Description

Passive optical network regional self-adaptive system
Technical Field
The invention relates to the field of network information, in particular to a passive optical network regional self-adaptive system.
Background
The home gateway is mainly in the network operator market, and in the case of the chinese telecommunications, although the chinese telecommunications group establishes a unified home gateway device technical specification, in practice, the existing network environments of each province have certain differences (such as different pre-configurations) or have special function customization requirements, which requires corresponding customization, modification and development of software for different places. This leads to the problem that the software codes of the respective provinces are not consistent or even mutually incompatible. The current way to solve this problem is to selectively compile code for different places to issue different software images for each province. There are several drawbacks to doing so:
as the number of shipment savings increases, the difficulty and complexity of version maintenance increases
The increased versions also add difficulty to the management of the equipment production line, which must keep the equipment software version consistent with the provinces of the shipment. If the province of the shipment needs to be temporarily adjusted, the software needs to be upgraded again. This greatly increases the chance of errors, such as misappropriated versions.
The complexity of the software version causes the cost expenditure increase of production management, after-market and the like, and causes little negative influence on the improvement of the product competitiveness.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a passive optical network regional adaptive system which can simplify the production flow, reduce the error probability and facilitate the upgrading and maintenance of products in the later period of after-market departments.
The purpose of the invention is realized by the following technical scheme:
a passive optical network area self-adaptive system mainly comprises a network data exchange processing chip, a main control chip and an input/output controller, wherein the exchange processing chip is provided with an Ethernet interface, an optical fiber interface and an RAM and is connected with the input/output controller and the main control chip through a system bus, the main control chip is internally provided with system control software and comprises the following modules:
a configuration management module: providing a configuration management interface to a user such that the user can configure the device in a variety of ways;
configuring a management interface module: packaging a uniform configuration read-write interface for a configuration management program to use;
a device driving module: configuring a driver of the equipment, and providing an equipment driving interface for an upper application program to use so as to control the actual behavior of the equipment;
the equipment control driving interface module: providing a device driver interface at the bottom layer for a configuration management interface module to use, and converting configuration data into interface calls of related device drivers by the configuration management interface module;
the area control module: the system comprises the area control information of the current equipment, provides a query interface, loads different area customizing function modules according to different area information and controls partial behaviors of the modules through a strategy control interface.
Further, the plurality of ways include tr96c, telnetd, http, consoled.
Further, the input/output controller is configured with NAND, UART, SPI, I2C, GPIO, USB.
Further, the region customizing function module comprises at least more than two different region customizing function modules.
Further, the system control software processing flow comprises the following steps:
s01: starting a program, sending a calling instruction to initialize the region information, loading a region customization function module corresponding to the region and acquiring the region information;
s02: loading a configuration data model corresponding to the region and calling a region customization function module corresponding to the region;
s03: judging whether the system is started for the first time, if so, loading default configuration data corresponding to the region, and entering the next step; directly entering the next step if the starting is not the first time;
s04: the application configuration is carried out on the bottom layer drive, meanwhile, a calling instruction is sent out, and the special configuration processing of the corresponding region is called;
s05: and providing the service according to the configuration and waiting for the user to update the configuration.
Further, the user update configuration comprises the following sub-steps:
s11: user input, a configuration program receives input data and sends a call instruction, and customized data processing and function realization of a corresponding region are realized;
s12: analyzing input data and calling a uniform configuration interface, wherein the uniform configuration interface calls customized data and functions of a corresponding region;
s13: checking whether the data is successful, returning a failure prompt when the data is failed, returning to the step S11, and entering the next step when the data is successfully checked;
s14: calling the customized data and functions of the corresponding region, converting the configuration data into a format required by the equipment driver and applying the format to the equipment driver;
s15: and calling the customized data and functions of the corresponding region, and modifying the device behavior according to the incoming data by the device driver.
Further, the step S14 includes saving the configuration data.
The invention has the beneficial effects that: the invention uses the region code, the main idea of the region code is to fuse the software versions of all provinces into one version, and then distinguish and configure through a globally unique region code; the special software function modules in different regions are isolated through the region codes, and the special codes of corresponding provinces are executed by judging the current region codes, so that the required customization function is realized, the version maintenance is facilitated, the production flow is simplified, the error probability is reduced, and the product upgrading and maintenance in the later period of after-market departments are facilitated.
Drawings
FIG. 1 is a block diagram of the system of the present invention;
FIG. 2 is a block diagram of the system control software of the present invention;
FIG. 3 is a system control software flow of the present invention;
FIG. 4 is a flow chart of the user update configuration of the present invention.
Detailed Description
The technical solutions of the present invention are further described in detail below with reference to the accompanying drawings, but the scope of the present invention is not limited to the following.
As shown in the figures 1-4 of the drawings,
a passive optical network area self-adaptive system mainly comprises a network data exchange processing chip, a main control chip and an input/output controller, wherein the exchange processing chip is provided with an Ethernet interface, an optical fiber interface and an RAM and is connected with the input/output controller and the main control chip through a system bus, the main control chip is internally provided with system control software and comprises the following modules:
a configuration management module: providing a configuration management interface to a user such that the user can configure the device in a variety of ways;
configuring a management interface module: packaging a uniform configuration read-write interface for a configuration management program to use;
a device driving module: configuring a driver of the equipment, and providing an equipment driving interface for an upper application program to use so as to control the actual behavior of the equipment;
the equipment control driving interface module: providing a device driver interface at the bottom layer for a configuration management interface module to use, and converting configuration data into interface calls of related device drivers by the configuration management interface module;
the area control module: the system comprises the area control information of the current equipment, provides a query interface, loads different area customizing function modules according to different area information and controls partial behaviors of the modules through a strategy control interface.
Further, the plurality of ways include tr96c, telnetd, http, consoled.
Further, the input/output controller is configured with NAND, UART, SPI, I2C, GPIO, USB.
Further, the region customizing function module comprises at least more than two different region customizing function modules.
Further, the system control software processing flow comprises the following steps:
s01: starting a program, sending a calling instruction to initialize the region information, loading a region customization function module corresponding to the region and acquiring the region information;
s02: loading a configuration data model corresponding to the region and calling a region customization function module corresponding to the region;
s03: judging whether the system is started for the first time, if so, loading default configuration data corresponding to the region, and entering the next step; directly entering the next step if the starting is not the first time;
s04: the application configuration is carried out on the bottom layer drive, meanwhile, a calling instruction is sent out, and the special configuration processing of the corresponding region is called;
s05: and providing the service according to the configuration and waiting for the user to update the configuration.
Further, the user update configuration comprises the following sub-steps:
s11: user input, a configuration program receives input data and sends a call instruction, and customized data processing and function realization of a corresponding region are realized;
s12: analyzing input data and calling a uniform configuration interface, wherein the uniform configuration interface calls customized data and functions of a corresponding region;
s13: checking whether the data is successful, returning a failure prompt when the data is failed, returning to the step S11, and entering the next step when the data is successfully checked;
s14: calling the customized data and functions of the corresponding region, converting the configuration data into a format required by the equipment driver and applying the format to the equipment driver;
s15: and calling the customized data and functions of the corresponding region, and modifying the device behavior according to the incoming data by the device driver.
Further, the step S14 includes saving the configuration data.
[ example 1 ]
A passive optical network regional adaptive system;
as shown in fig. 1:
a passive optical network region adaptive system comprising: the software running hardware environment (and network environment) comprises a hardware composition structure, a connection relation and an input-output relation of the main control unit, the information pickup unit and the execution unit; the software runs on the series soc (systemonchip) of 968XX of Broadcom, and mainly comprises a CPU with an MIPS architecture, a special network data exchange processor and a plurality of input/output controllers for supporting various input/output devices.
As shown in fig. 2:
configuration management module
Various configuration management interfaces are provided to the user so that the user can configure the device in a number of ways (http, telnet, etc.).
Configuration management interface module
The uniform configuration read-write interface is encapsulated for use by the configuration management program, which reduces the repeatability of the code and enables the configuration management program to focus on realizing the respective responsible user interaction protocol without having to care about the logic of the underlying code. The complexity of the code is simplified.
Device control drive interface module
And the configuration management interface module can convert the configuration data into an interface call of a related device driver, so that the data configured by a user can be transmitted to the bottom device driver through the device driver interface, and the purpose of controlling the device behavior is achieved.
Device driver module
Drivers for various devices (ethernet, USB, WLAN, etc.) provide device driver interfaces for upper layer applications to use to control the actual behavior of the device.
Area control module and area customization function module
The zone control module contains zone control information for the current device. And providing an inquiry interface for each module to inquire the current region information. The region control module loads different region customizing function modules according to different region information and controls partial behaviors of other modules through the strategy control interface, so that the requirements of different regions on the difference of equipment functions are met; in the present embodiment, different region customizing function modules 1 and 2 are arranged.
The foregoing is illustrative of the preferred embodiments of this invention, and it is to be understood that the invention is not limited to the precise form disclosed herein and that various other combinations, modifications, and environments may be resorted to, falling within the scope of the concept as disclosed herein, either as described above or as apparent to those skilled in the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (5)

1. A passive optical network area self-adaptive system mainly comprises a network data exchange processing chip, a main control chip and an input/output controller, wherein the exchange processing chip is provided with an Ethernet interface, an optical fiber interface and an RAM and is connected with the input/output controller and the main control chip through a system bus, and the main control chip is internally provided with system control software and is characterized in that: the main control chip comprises the following modules:
a configuration management module: providing a configuration management interface to a user such that the user can configure the device in a variety of ways;
configuring a management interface module: packaging a uniform configuration read-write interface for a configuration management program to use;
a device driving module: configuring a driver of the equipment, and providing an equipment driving interface for an upper application program to use so as to control the actual behavior of the equipment;
the equipment control driving interface module: providing a device driver interface at the bottom layer for a configuration management interface module to use, and converting configuration data into interface calls of related device drivers by the configuration management interface module;
the area control module: the method comprises the steps of containing the area control information of the current equipment, providing a query interface, loading different area customizing function modules according to different area information and controlling partial behaviors of the modules through a strategy control interface;
the system control software processing flow comprises the following steps:
s01: starting a program, sending a calling instruction to initialize the region information, loading a region customization function module corresponding to the region and acquiring the region information;
s02: loading a configuration data model corresponding to the region and calling a region customization function module corresponding to the region;
s03: judging whether the system is started for the first time, if so, loading default configuration data corresponding to the region, and entering the next step; directly entering the next step if the starting is not the first time;
s04: the application configuration is carried out on the bottom layer drive, meanwhile, a calling instruction is sent out, and the special configuration processing of the corresponding region is called;
s05: providing service according to the configuration and waiting for the user to update the configuration;
the user update configuration comprises the sub-steps of:
s11: user input, a configuration program receives input data and sends a call instruction, and customized data processing and function realization of a corresponding region are realized;
s12: analyzing input data and calling a uniform configuration interface, wherein the uniform configuration interface calls customized data and functions of a corresponding region;
s13: checking whether the data is successful, returning a failure prompt when the data is failed, returning to the step S11, and entering the next step when the data is successfully checked;
s14: calling the customized data and functions of the corresponding region, converting the configuration data into a format required by the equipment driver and applying the format to the equipment driver;
s15: and calling the customized data and functions of the corresponding region, and modifying the device behavior according to the incoming data by the device driver.
2. The passive optical network region adaptation system of claim 1, wherein: the multiple ways include tr96c, telnetd, http, consoled.
3. The passive optical network region adaptation system of claim 1, wherein: the input/output controller is configured with NAND, UART, SPI, I2C, GPIO and USB.
4. The passive optical network region adaptation system of claim 1, wherein: the region customizing function module comprises at least more than two different region customizing function modules.
5. The passive optical network region adaptation system of claim 1, wherein: the step S14 further includes saving the configuration data.
CN201710734382.4A 2017-08-24 2017-08-24 Passive optical network regional self-adaptive system Active CN107659858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710734382.4A CN107659858B (en) 2017-08-24 2017-08-24 Passive optical network regional self-adaptive system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710734382.4A CN107659858B (en) 2017-08-24 2017-08-24 Passive optical network regional self-adaptive system

Publications (2)

Publication Number Publication Date
CN107659858A CN107659858A (en) 2018-02-02
CN107659858B true CN107659858B (en) 2020-06-16

Family

ID=61128843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710734382.4A Active CN107659858B (en) 2017-08-24 2017-08-24 Passive optical network regional self-adaptive system

Country Status (1)

Country Link
CN (1) CN107659858B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634670A (en) * 2018-11-20 2019-04-16 深圳市优博讯科技股份有限公司 A kind of PDA quickly configuration method and device based on USB OTG

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103346913A (en) * 2013-06-28 2013-10-09 上海市共进通信技术有限公司 Method for achieving module configuration in passive optical network terminal equipment
CN104536759A (en) * 2014-12-29 2015-04-22 广东东研网络科技股份有限公司 Method for implementing universal platform managed by service disk system
CN106817394A (en) * 2015-12-02 2017-06-09 阿里巴巴集团控股有限公司 The method and server of transmission product configuration parameter
CN107038041A (en) * 2016-12-27 2017-08-11 阿里巴巴集团控股有限公司 The dynamic compatibility method of data processing method, error code, device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9882797B2 (en) * 2014-10-30 2018-01-30 International Business Machines Corporation Enabling software-defined control in passive optical networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103346913A (en) * 2013-06-28 2013-10-09 上海市共进通信技术有限公司 Method for achieving module configuration in passive optical network terminal equipment
CN104536759A (en) * 2014-12-29 2015-04-22 广东东研网络科技股份有限公司 Method for implementing universal platform managed by service disk system
CN106817394A (en) * 2015-12-02 2017-06-09 阿里巴巴集团控股有限公司 The method and server of transmission product configuration parameter
CN107038041A (en) * 2016-12-27 2017-08-11 阿里巴巴集团控股有限公司 The dynamic compatibility method of data processing method, error code, device and system

Also Published As

Publication number Publication date
CN107659858A (en) 2018-02-02

Similar Documents

Publication Publication Date Title
US8347318B2 (en) Application component communication apparatus of SCA-based system and method thereof
CN107579847B (en) Data configuration method of passive optical network regional adaptive system
CN111970376B (en) Cross-platform application system and development method of gateway software
US20050028172A1 (en) Method and apparatus for installing software
US8112769B2 (en) System and method for implementing and/or operating network interface devices to achieve network-based communications
US11307550B2 (en) Sequence control of program modules
WO2015131532A1 (en) Adaptation method, device and system for multifunctional usb terminal device
CN107659858B (en) Passive optical network regional self-adaptive system
CN113076144A (en) Power amplifier adaptation method, terminal device, storage medium and computer program product
EP2541349A2 (en) Inverter system having a safety module
US20030101290A1 (en) System and method for dynamic device driver support in an open source operating system
CN110658751B (en) Implementation method of EtherCAT field bus control system
US20220113709A1 (en) Runtime server for simultaneous execution of a plurality of runtime systems of an automation system
US8051191B2 (en) Ethernet extensibility
US7861019B2 (en) System and method for implementing and/or operating network interface devices to achieve network-based communications
US20100011356A1 (en) Intelligent distributed controller
CN113193981B (en) Configuration issuing method and device and network system
CN115378761A (en) EtherCAT master station system rapid implementation method based on PLC
CN113886731A (en) Method for routing page jump based on iOS platform and application
WO2021057351A1 (en) Apparatus and method for controlling android bluetooth in glibc environment, and terminal device
CN113050554B (en) Man-machine interactive multi-protocol communication method and medium
WO2021002086A1 (en) Edge system, and method for controlling edge system
CN116743682A (en) Interface multiplexing method of server, substrate management control chip, equipment and medium
CN100336006C (en) Method, design and computer system for coupling of peripherals to a computer system
CN108804236A (en) A kind of sharing method and system of AIDL files

Legal Events

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