CN107579847B - Data configuration method of passive optical network regional adaptive system - Google Patents

Data configuration method of passive optical network regional adaptive system Download PDF

Info

Publication number
CN107579847B
CN107579847B CN201710734265.8A CN201710734265A CN107579847B CN 107579847 B CN107579847 B CN 107579847B CN 201710734265 A CN201710734265 A CN 201710734265A CN 107579847 B CN107579847 B CN 107579847B
Authority
CN
China
Prior art keywords
configuration
data
interface
region
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
CN201710734265.8A
Other languages
Chinese (zh)
Other versions
CN107579847A (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 CN201710734265.8A priority Critical patent/CN107579847B/en
Publication of CN107579847A publication Critical patent/CN107579847A/en
Application granted granted Critical
Publication of CN107579847B publication Critical patent/CN107579847B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a data configuration method of a passive optical network region self-adaptive system, which is applied to a home passive optical network region self-adaptive system. 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

Data configuration method of passive optical network regional adaptive system
Technical Field
The invention relates to the field of network information, in particular to a data configuration method of a passive optical network region 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 provides a data configuration method of a passive optical network area adaptive system, which is applied to a home passive optical network area adaptive system.
The purpose of the invention is realized by the following technical scheme:
the data configuration method of the self-adaptive system of the passive optical network area is applied to the self-adaptive system of the home passive optical network area; the data configuration method comprises the following 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.
Further, the configuration program comprises drivers of tr96c, telnetd, http and consoled.
Further, the configuration interface comprises NAND, UART, SPI, I2C, GPIO and USB.
The home 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 the system control software 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 function module corresponding to the region and acquiring the region information;
s02: loading a configuration data model corresponding to the region and calling a 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 service according to the configuration and waiting for the user to update the data configuration.
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 a home passive optical network area adaptive system according to the present invention;
fig. 2 is a block diagram of control software of a home passive optical network area adaptive system according to the present invention;
fig. 3 is a control software flow of the home passive optical network area adaptive system according to the present invention;
fig. 4 is a flowchart of a data configuration method of the passive optical network region adaptive system.
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 data configuration method of a passive optical network area self-adaptive system is applied to a home passive optical network area self-adaptive system, and the system mainly comprises a network data exchange processing chip, a main control chip and an input/output controller, wherein the exchange processing chip is configured 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 the system control software 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.
As shown in fig. 1:
a home 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.
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 function module corresponding to the region and acquiring the region information;
s02: loading a configuration data model corresponding to the region and calling a 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.
The method for updating and configuring the user, namely configuring the data of the passive optical network region self-adaptive system, comprises the following 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 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 (1)

1. A data configuration method of a passive optical network area adaptive system is applied to a home passive optical network area adaptive system and is characterized in that: the data configuration method comprises the following 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, applying the format to the equipment driver, and simultaneously storing the configuration data;
s15: calling the customized data and functions of the corresponding region, and modifying the device behavior according to the incoming data by the device driver;
the configuration programs comprise drivers of tr96c, telnetd, http and consoled;
the configuration interface comprises NAND, UART, SPI, I2C, GPIO and USB;
the adaptive system 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 processing flow comprises the following steps:
s01: starting a program, sending a calling instruction to initialize the region information, loading a function module corresponding to the region and acquiring the region information;
s02: loading a configuration data model corresponding to the region and calling a 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.
CN201710734265.8A 2017-08-24 2017-08-24 Data configuration method of passive optical network regional adaptive system Active CN107579847B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710734265.8A CN107579847B (en) 2017-08-24 2017-08-24 Data configuration method of passive optical network regional adaptive system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710734265.8A CN107579847B (en) 2017-08-24 2017-08-24 Data configuration method of passive optical network regional adaptive system

Publications (2)

Publication Number Publication Date
CN107579847A CN107579847A (en) 2018-01-12
CN107579847B true CN107579847B (en) 2021-06-18

Family

ID=61035206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710734265.8A Active CN107579847B (en) 2017-08-24 2017-08-24 Data configuration method of passive optical network regional adaptive system

Country Status (1)

Country Link
CN (1) CN107579847B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829443B (en) * 2018-05-03 2021-02-09 烽火通信科技股份有限公司 Design method, loading method and application of terminal equipment configuration data
CN108833979B (en) * 2018-05-04 2020-12-08 烽火通信科技股份有限公司 Pre-configuration file importing method of dual-system convergence terminal and dual-system convergence terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005018147A1 (en) * 2003-08-15 2005-02-24 Huawei Technologies Co., Ltd. Method for integrated manage and providing service in communicate
CN101621331A (en) * 2008-06-30 2010-01-06 中兴通讯股份有限公司 Optical network unit configuration method and device
CN103346913A (en) * 2013-06-28 2013-10-09 上海市共进通信技术有限公司 Method for achieving module configuration in passive optical network terminal equipment
CN105225060A (en) * 2015-10-19 2016-01-06 福建星网锐捷通讯股份有限公司 There are adoptive unified management collocation method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9408063B2 (en) * 2014-09-15 2016-08-02 Intel Corporation Jurisdiction-based adaptive communication systems and methods

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005018147A1 (en) * 2003-08-15 2005-02-24 Huawei Technologies Co., Ltd. Method for integrated manage and providing service in communicate
CN101621331A (en) * 2008-06-30 2010-01-06 中兴通讯股份有限公司 Optical network unit configuration method and device
CN103346913A (en) * 2013-06-28 2013-10-09 上海市共进通信技术有限公司 Method for achieving module configuration in passive optical network terminal equipment
CN105225060A (en) * 2015-10-19 2016-01-06 福建星网锐捷通讯股份有限公司 There are adoptive unified management collocation method and device

Also Published As

Publication number Publication date
CN107579847A (en) 2018-01-12

Similar Documents

Publication Publication Date Title
US6425038B1 (en) Conversion of desk-top operating system for real-time control using installable interrupt service routines
US10929109B2 (en) Method and apparatus for converting building block programming into program code
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
US11307550B2 (en) Sequence control of program modules
JP2011516987A (en) Method and apparatus for managing mobile device software
CN111970376B (en) Cross-platform application system and development method of gateway software
JP2008523519A (en) Method for initializing an electronic system containing multiple plug-ins
CN111966366A (en) Cluster deployment method and device of multi-CPU architecture
US20080276257A1 (en) System and Method for Implementing and/or Operating Network Interface Devices to Achieve Network-Based Communications
CN113076144A (en) Power amplifier adaptation method, terminal device, storage medium and computer program product
CN107659858B (en) Passive optical network regional self-adaptive system
US20030101290A1 (en) System and method for dynamic device driver support in an open source operating system
US20220113709A1 (en) Runtime server for simultaneous execution of a plurality of runtime systems of an automation system
WO2024055757A1 (en) Automatic hardware resource configuration method, device and system for driver, and medium
US7861019B2 (en) System and method for implementing and/or operating network interface devices to achieve network-based communications
US20090271518A1 (en) Ethernet extensibility
US20100011356A1 (en) Intelligent distributed controller
CN113193981B (en) Configuration issuing method and device and network system
WO2021057351A1 (en) Apparatus and method for controlling android bluetooth in glibc environment, and terminal device
CN113886731A (en) Method for routing page jump based on iOS platform and application
CN107273165B (en) System and method for realizing module dynamic calling
WO2021002086A1 (en) Edge system, and method for controlling edge system
CN116743682A (en) Interface multiplexing method of server, substrate management control chip, equipment and medium
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