CN116132222A - Method and system for automatically identifying functional module based on PON gateway - Google Patents
Method and system for automatically identifying functional module based on PON gateway Download PDFInfo
- Publication number
- CN116132222A CN116132222A CN202211599424.5A CN202211599424A CN116132222A CN 116132222 A CN116132222 A CN 116132222A CN 202211599424 A CN202211599424 A CN 202211599424A CN 116132222 A CN116132222 A CN 116132222A
- Authority
- CN
- China
- Prior art keywords
- functional module
- module
- pon
- software
- gpio
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q11/0067—Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0079—Operation or maintenance aspects
- H04Q2011/0083—Testing; Monitoring
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention belongs to the technical field of gateway equipment, and particularly relates to a method and a system for automatically identifying a functional module based on a PON gateway.
Description
Technical Field
The invention belongs to the technical field of gateway equipment, and particularly relates to a method and a system for automatically identifying a functional module based on a PON gateway.
Background
The construction of the network has obvious driving effect on the social economy, wherein a large-bandwidth passive optical network (PON: passive Optical Network) is taken as the most dominant bandwidth access technology at present, and has become a key motive force for stable economic growth. Along with the acceleration of the construction speed of the optical network, the application amount of the PON gateway is increased in an explosive manner, and the PON gateway comprises not only home users, but also downstream markets such as industrial passive optical networks and the like.
At present, according to market demands, PON gateways have different demands on PON types, LAN port numbers, WIFI modules, voice modules and the like, software functions are usually developed for PON gateways of different forms independently in software design, and compiled software can only be applied to PON gateways of one form, and the same software cannot be compatible with PON gateways of a plurality of forms at the same time, so that development and maintenance of products are not facilitated, and improvement of production efficiency of PON gateways is also affected.
Disclosure of Invention
In order to solve the technical problems in the prior art, the invention provides a method and a system for automatically identifying a functional module based on a PON gateway, which aim to solve the problem that the same software cannot be compatible with PON gateways with multiple forms at the same time.
In order to solve the technical problems, the invention adopts the following technical scheme:
a method for automatically identifying a functional module based on a PON gateway, comprising the following steps:
establishing a software layer compatible with different PON gateway hardware types;
reserving a plurality of GPIO ports on each type of PON gateway, and establishing a configuration data mapping table in which the corresponding relation between each functional module and the GPIO port is recorded;
after the automatic identification system is started, automatically identifying the relation between each functional module and the GPIO port, and determining the type of each functional module based on the configuration mapping table;
and executing the corresponding software module in the software layer based on the determined type of the functional module.
The invention reserves a plurality of GPIO ports on each type of PON gateway, establishes the mapping relation between each functional module and the GPIO ports, thereby determining the types of each functional module based on the mapping relation between the GPIO ports and the functional modules, and then establishes a software layer, thereby executing the corresponding software module according to the detected types of the functional modules, and realizing that the same software is compatible with PON gateways with multiple forms.
Further, before identifying the relationship between each functional module and the GPIO port, the automatic identification system firstly inquires whether corresponding configuration information is stored in each functional module, if the corresponding configuration information is stored, executes the corresponding software module in the software layer based on the configuration information, and if the corresponding configuration information is not available, automatically identifies the relationship between each functional module and the GPIO port.
Preferably, the functional module includes PON type, WIFI module, LAN port number, and voice module.
Preferably, 7 GPIO ports are reserved on each type of PON gateway, multiple groups of binary data are formed according to the sequence from P6 to P0 based on the states of the GPIO ports, and each group of binary data corresponds to one functional module.
Preferably, the software modules include PON software modules, WIFI software modules, LAN software modules, and voice software modules.
A PON gateway automatic identification function based system, comprising:
a software layer database storing different software modules;
the configuration database is used for storing a configuration data mapping table, and the corresponding relation between each functional module and the GPIO port is recorded in the configuration data mapping table;
a PON gateway reserves a plurality of GPIO ports;
the processing module is used for detecting configuration information of corresponding functions and GPIO port state data of each function module, calling a configuration data mapping table in a configuration database, determining the types of each function module, and calling the corresponding software module in the software layer database to execute starting based on the determined function module.
The invention reserves a plurality of GPIO ports on each type of PON gateway, establishes the mapping relation between each functional module and the GPIO ports, thereby determining the types of each functional module based on the mapping relation between the GPIO ports and the functional modules, and then establishes a software layer, thereby executing the corresponding software module according to the detected types of the functional modules, and realizing that the same software is compatible with PON gateways with multiple forms.
Preferably, the software modules include PON software modules, WIFI software modules, LAN software modules, and voice software modules.
Preferably, 7 GPIO ports are reserved on the PON gateway; and forming multiple groups of binary data in the mapping table according to the sequence from P6 to P0 based on the states of the GPIO ports, wherein each group of binary data corresponds to one functional module.
Preferably, the functional module includes PON type, WIFI module, LAN port number, and voice module type.
The beneficial effects of the invention include:
the invention reserves a plurality of GPIO ports on each type of PON gateway, establishes the mapping relation between each functional module and the GPIO ports, thereby determining the types of each functional module based on the mapping relation between the GPIO ports and the functional modules, and then establishes a software layer, thereby executing the corresponding software module according to the detected types of the functional modules, and realizing that the same software is compatible with PON gateways with multiple forms.
Drawings
FIG. 1 is a system frame diagram of the present invention.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the present application.
The invention is described in further detail below in conjunction with fig. 1:
a method for automatically identifying a functional module based on a PON gateway, comprising the following steps:
establishing a software layer compatible with different PON gateway hardware types;
establishing a configuration data mapping table in which the corresponding relation between each functional module and the GPIO port is recorded; the functional module comprises a PON type, a WIFI module, the number of LAN ports and a voice module;
7 GPIO ports are reserved on each type of PON gateway, binary data of one byte is formed according to the sequence from P6 to P0 based on the states of the GPIO ports, the binary data is divided into 4 groups, and the four groups of binary data correspond to the PON type, the WIFI module type, the LAN port number and the voice module type respectively.
The corresponding relation between the information of each functional module and the GPIO port is as follows:
the correspondence between PON information and GPIO ports is shown in table 1:
TABLE 1
PON type | P0 | P1 |
10G GPON | 0 | 0 |
1G GPON | 0 | 1 |
10G EPON | 1 | 0 |
1G EPON | 1 | 1 |
The correspondence between LAN port number and GPIO is shown in table 2:
TABLE 2
The corresponding relationship between the WIFI module information and the GPIO is shown in table 3:
TABLE 3 Table 3
WIFI information | P4 | P5 |
No frequency | 0 | 0 |
Single frequency | 0 | 1 |
Dual frequencyWIFI5 | 1 | 0 |
Dual-frenquency WIFI6 | 1 | 1 |
The correspondence between the voice module information and the GPIO is shown in table 4:
TABLE 4 Table 4
Voice information | P6 |
No speech sound | 0 |
With speech | 1 |
Based on tables 1 to 4, the correspondence between the GPIO ports and each functional module according to the present invention is shown in table 5:
TABLE 5
After the automatic identification system is started, firstly, inquiring whether corresponding configuration information is stored in each functional module, if the corresponding configuration information is stored, executing the corresponding software module in the software layer based on the configuration information, and if the corresponding configuration information is not available, automatically identifying the relation between each functional module and the GPIO port, and determining the type of each functional module based on a configuration mapping table;
and executing the corresponding software module in the software layer based on the determined type of the functional module. The software modules include PON software modules, WIFI software modules, LAN software modules, and voice software modules.
The invention reserves a plurality of GPIO ports on each type of PON gateway, establishes the mapping relation between each functional module and the GPIO ports, thereby determining the types of each functional module based on the mapping relation between the GPIO ports and the functional modules, and then establishes a software layer, thereby executing the corresponding software module according to the detected types of the functional modules, and realizing that the same software is compatible with PON gateways with multiple forms.
A PON gateway automatic identification function based system, comprising:
the software layer database stores software modules corresponding to different functional modules; the software modules include PON software modules, WIFI software modules, LAN software modules, and voice software modules.
The configuration database is used for storing a configuration data mapping table, and the corresponding relation between each functional module and the GPIO port is recorded in the configuration data mapping table; the functional modules comprise a PON type, a WIFI module, the number of LAN ports and a voice module type.
A PON gateway, wherein 7 GPIO ports are reserved on the PON gateway; the mapping table is characterized in that binary data of one byte is formed according to the sequence from P6 to P0 based on the state of the GPIO port, all the binary data are divided into 4 groups, and each group of binary data corresponds to one functional module;
the processing module detects configuration information of corresponding functions and CPIO port state data of each functional module, and stores the detected data into FLASH; the processing module calls a configuration data mapping table in the configuration database, determines the type of each functional module, and calls a corresponding software module in the software layer database to execute starting based on the determined configuration information or the determined type of the functional module.
7 GPIO ports are reserved in the PON gateway hardware of each mode, the corresponding GPIO ports are set to be high level or low level according to requirements, when software is started, the hardware configuration of the PON gateway is identified by acquiring the states of the GPIO ports, and corresponding PON software modules, WIFI software modules, voice software modules and LAN software modules are started according to hardware configuration information.
Based on tables 1 to 4, the present invention recognizes the state of the GPIO port and forms one byte (8 bit) of data; and acquiring information of each hardware module through the byte data, and starting a corresponding software module.
The foregoing examples merely represent specific embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that, for those skilled in the art, several variations and modifications can be made without departing from the technical solution of the present application, which fall within the protection scope of the present application.
Claims (9)
1. The method for automatically identifying the functional module based on the PON gateway is characterized by comprising the following steps:
establishing a software layer compatible with different PON gateway hardware types;
reserving a plurality of GPIO ports on each type of PON gateway, and establishing a configuration data mapping table in which the corresponding relation between each functional module and the GPIO port is recorded;
after the automatic identification system is started, automatically identifying the relation between each functional module and the GPIO port, and determining the type of each functional module based on the configuration mapping table;
and executing the corresponding software module in the software layer based on the determined type of the functional module.
2. The method for automatically identifying functional modules based on PON gateway according to claim 1, wherein the automatic identification system first queries whether corresponding configuration information is stored in each functional module before identifying the relationship between each functional module and a GPIO port, executes a corresponding software module in a software layer based on the configuration information if the corresponding configuration information is stored, and automatically identifies the relationship between each functional module and the GPIO port if no corresponding configuration information is stored.
3. The method for automatically identifying a functional module based on a PON gateway according to claim 1, wherein the functional module comprises a PON type, a WIFI module, a LAN port number, and a voice module.
4. A method for automatically identifying a functional module based on a PON gateway according to claim 3, wherein 7 GPIO ports are reserved on each type of PON gateway, and multiple sets of binary data are formed according to the order of P6 to P0 based on the states of the GPIO ports, and each set of binary data corresponds to one functional module.
5. The method for automatically identifying a functional module based on a PON gateway according to claim 1, wherein the software modules comprise a PON software module, a WIFI software module, a LAN software module, and a voice software module.
6. A PON gateway automatic identification function module-based system, comprising:
a software layer database storing different software modules;
the configuration database is used for storing a configuration data mapping table, and the corresponding relation between each functional module and the GPIO port is recorded in the configuration data mapping table;
a PON gateway reserves a plurality of GPIO ports;
the processing module detects configuration information of corresponding functions and GPIO port state data of each functional module, invokes a configuration data mapping table in a configuration database, determines types of each functional module, and starts corresponding software modules based on the determined types of the functional modules.
7. The PON gateway automatic identification function system according to claim 6, wherein the software modules comprise PON software modules, WIFI software modules, LAN software modules, and voice software modules.
8. The system based on the PON gateway automatic identification function module according to claim 6, wherein 7 GPIO ports are reserved on the PON gateway; and forming a plurality of groups of binary data according to the sequence from P6 to P0 based on the states of the GPIO ports in the mapping table, wherein each group of binary data corresponds to one functional module.
9. The system for automatically identifying a functional module based on a PON gateway according to claim 6, wherein the functional module comprises a PON type, a WIFI module, a LAN port number, and a voice module type.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211599424.5A CN116132222B (en) | 2022-12-12 | 2022-12-12 | Method and system for automatically identifying functional module based on PON gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211599424.5A CN116132222B (en) | 2022-12-12 | 2022-12-12 | Method and system for automatically identifying functional module based on PON gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116132222A true CN116132222A (en) | 2023-05-16 |
CN116132222B CN116132222B (en) | 2024-08-16 |
Family
ID=86299944
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211599424.5A Active CN116132222B (en) | 2022-12-12 | 2022-12-12 | Method and system for automatically identifying functional module based on PON gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116132222B (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008061483A1 (en) * | 2006-11-24 | 2008-05-29 | Hangzhou H3C Technologies Co., Ltd. | A method and apparatus for identifying the data content |
CN102684810A (en) * | 2012-01-18 | 2012-09-19 | 徐志国 | Optical network protection method, optical link switching control device and optical link switching control system |
CN206461640U (en) * | 2017-02-16 | 2017-09-01 | 杭州景涛科技有限公司 | A kind of gateway system of compatible multiplex roles |
CN109861989A (en) * | 2019-01-07 | 2019-06-07 | 四川天邑康和通信股份有限公司 | A kind of method of PON gateway and set top box communication in Convergence gateway |
CN209313975U (en) * | 2019-04-03 | 2019-08-27 | 深圳市友华通信技术有限公司 | The video output-controlling device of PON convergent terminal |
CN110267129A (en) * | 2019-05-30 | 2019-09-20 | 广东九联科技股份有限公司 | A kind of fault detection method of PON gateway |
CN110572725A (en) * | 2019-07-29 | 2019-12-13 | 烽火通信科技股份有限公司 | Method and system for optimizing PPPoE (point-to-point protocol over Ethernet) dialing efficiency of GPON (gigabit-capable passive optical network) gateway |
CN112416460A (en) * | 2020-11-23 | 2021-02-26 | 厦门紫光展锐科技有限公司 | Hardware type self-adaption method and device, storage medium and terminal |
CN112462620A (en) * | 2020-11-18 | 2021-03-09 | 科通工业技术(深圳)有限公司 | Intelligent data acquisition system and method |
CN113692003A (en) * | 2021-08-30 | 2021-11-23 | 北京紫光展锐通信技术有限公司 | Mode switching method and device of Wi-Fi module |
CN113904951A (en) * | 2021-09-28 | 2022-01-07 | 济南浪潮数据技术有限公司 | Data monitoring method and device of gateway equipment and related equipment |
CN216650010U (en) * | 2021-12-13 | 2022-05-31 | 广州新世纪通信科技有限公司 | Support multimode intelligent gateway equipment |
CN217060793U (en) * | 2022-02-15 | 2022-07-26 | 中国移动通信集团设计院有限公司 | Intelligent gateway port multiplexing device |
-
2022
- 2022-12-12 CN CN202211599424.5A patent/CN116132222B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008061483A1 (en) * | 2006-11-24 | 2008-05-29 | Hangzhou H3C Technologies Co., Ltd. | A method and apparatus for identifying the data content |
CN102684810A (en) * | 2012-01-18 | 2012-09-19 | 徐志国 | Optical network protection method, optical link switching control device and optical link switching control system |
CN206461640U (en) * | 2017-02-16 | 2017-09-01 | 杭州景涛科技有限公司 | A kind of gateway system of compatible multiplex roles |
CN109861989A (en) * | 2019-01-07 | 2019-06-07 | 四川天邑康和通信股份有限公司 | A kind of method of PON gateway and set top box communication in Convergence gateway |
CN209313975U (en) * | 2019-04-03 | 2019-08-27 | 深圳市友华通信技术有限公司 | The video output-controlling device of PON convergent terminal |
CN110267129A (en) * | 2019-05-30 | 2019-09-20 | 广东九联科技股份有限公司 | A kind of fault detection method of PON gateway |
CN110572725A (en) * | 2019-07-29 | 2019-12-13 | 烽火通信科技股份有限公司 | Method and system for optimizing PPPoE (point-to-point protocol over Ethernet) dialing efficiency of GPON (gigabit-capable passive optical network) gateway |
CN112462620A (en) * | 2020-11-18 | 2021-03-09 | 科通工业技术(深圳)有限公司 | Intelligent data acquisition system and method |
CN112416460A (en) * | 2020-11-23 | 2021-02-26 | 厦门紫光展锐科技有限公司 | Hardware type self-adaption method and device, storage medium and terminal |
CN113692003A (en) * | 2021-08-30 | 2021-11-23 | 北京紫光展锐通信技术有限公司 | Mode switching method and device of Wi-Fi module |
CN113904951A (en) * | 2021-09-28 | 2022-01-07 | 济南浪潮数据技术有限公司 | Data monitoring method and device of gateway equipment and related equipment |
CN216650010U (en) * | 2021-12-13 | 2022-05-31 | 广州新世纪通信科技有限公司 | Support multimode intelligent gateway equipment |
CN217060793U (en) * | 2022-02-15 | 2022-07-26 | 中国移动通信集团设计院有限公司 | Intelligent gateway port multiplexing device |
Also Published As
Publication number | Publication date |
---|---|
CN116132222B (en) | 2024-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Berger et al. | Random multiple-access communication and group testing | |
CN110290281B (en) | Outbound method, system, electronic device and medium | |
CN108616402B (en) | Management method and system of remote equipment | |
CN112463761B (en) | Cross-chain collaborative platform construction method and system for dynamic unbalanced application environment | |
CN106385334A (en) | Call-center system and abnormality detection and self-recovery method therefor | |
CN204650507U (en) | Virtual resources integration platform in a kind of system for cloud computing | |
CN116132222B (en) | Method and system for automatically identifying functional module based on PON gateway | |
CN112711493A (en) | Scenario root cause analysis application | |
CN105721963A (en) | Method for connecting out-of-limit number of ONUs (Optical Network Units) with EPON-OLT (Ethernet Passive Optical Network-Optical Line Terminal) | |
CN103765837B (en) | The message processing method of multi-CPU and system, crosspoint, veneer | |
CN115526586A (en) | Business process processing method based on intelligent operation | |
CN115310960A (en) | Digital economy method based on internet | |
CN101123535B (en) | ANS.1 packet comparison method and system | |
CN112118416A (en) | Multipoint video conference method and system | |
CN114422478B (en) | GEMPORT ID and MAC address mapping method and storage device | |
Schoute | Symmetric team problems and multi access wire communication | |
Pan | A near-optimal multistage distributed algorithm for finding leaders in clustered chordal rings | |
CN109257664A (en) | A method of supporting PON system port isolation | |
KR100600327B1 (en) | Duplicate call prevention and failure handling method in load sharing call processing in multiple service control systems sharing database | |
CN109284278A (en) | Calculating logic moving method and terminal device based on data analysis technique | |
CN117714465B (en) | Dynamic construction method and system of communication network node | |
CN115442767B (en) | Vehicle control event correlation method, device, system and medium | |
WO2024216455A8 (en) | Methods, devices and medium for conflict management | |
CN116012164B (en) | Block chain cross-fragment transaction method based on virtual account | |
CN1955990A (en) | Process execution method and system in integrated telecommunication platform |
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 |