CN109309881A - A kind of ONU customized version automatic generation method based on location information - Google Patents

A kind of ONU customized version automatic generation method based on location information Download PDF

Info

Publication number
CN109309881A
CN109309881A CN201811070219.3A CN201811070219A CN109309881A CN 109309881 A CN109309881 A CN 109309881A CN 201811070219 A CN201811070219 A CN 201811070219A CN 109309881 A CN109309881 A CN 109309881A
Authority
CN
China
Prior art keywords
onu
customized
location information
version
customized version
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
Application number
CN201811070219.3A
Other languages
Chinese (zh)
Other versions
CN109309881B (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.)
WUHAN YANGTZE OPTICAL TECHNOLOGY Co Ltd
Original Assignee
WUHAN YANGTZE OPTICAL TECHNOLOGY 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 WUHAN YANGTZE OPTICAL TECHNOLOGY Co Ltd filed Critical WUHAN YANGTZE OPTICAL TECHNOLOGY Co Ltd
Priority to CN201811070219.3A priority Critical patent/CN109309881B/en
Publication of CN109309881A publication Critical patent/CN109309881A/en
Application granted granted Critical
Publication of CN109309881B publication Critical patent/CN109309881B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0081Fault tolerance; Redundancy; Recovery; Reconfigurability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A kind of ONU customized version automatic generation method based on location information, comprising steps of starting ONU, obtains the location information that equipment is in;The location information got by ONU, judges whether the position has customized version demand;If no customized information matching, uses current default version;If matching customized version, further judges customized information implementation, if customized information only includes configuration file, issue custom configuration, equipment is online, and saves to current-configuration;If it is determined that customized information includes configuration file related content, then configuring area is written into current customized demand, and by restarting terminal device, the terminal after restarting is with the online use of the demand model customized.Beneficial effects of the present invention: unified version judges automatically by location information, realizes the load and operation of each local customized version, reduces the workload of version exploitation, production, promote the maintenance work efficiency of version customization.

Description

A kind of ONU customized version automatic generation method based on location information
Technical field
The present invention relates to the ethernet passive optical network field (EPON) more particularly to a kind of promotion ONU optical link pretection switch The method of stability.
Background technique
EPON (Ethernet Passive Optical Network ethernet passive optical network) system is by OLT (Optical Line Terminal optical line terminal), ODN (Optical Distribution Network Optical Distribution Network) With ONU (Optical Network Unit optical network unit) three parts composition.For the customized demand for meeting each place, need Different versions is provided to client, the client in each place uses different versions, causes version according to specific demand The problems such as heavy workload of maintenance, exploitation test job amount is cumbersome, and production version can not be waited uniformly.
In order to avoid with solve the problems, such as this, the patent proposition judged automatically according to the relevant information of each place, add Different customized demand is carried, the automatic customization for realizing version is achieved that the system of version in this way in version exploitation test process One, release maintenance is significantly reduced, the workload of production improves efficiency.
Summary of the invention
The technical problem to be solved by the present invention is to provide one kind for the demand of existing each place customization different editions ONU customized version automatic generation method based on location information, by being known automatically in the case where unified version by location information The customized demand of other different places realizes customized demand to load different custom configuration and function.
Used technical solution is the present invention to solve above-mentioned technical problem:
A kind of ONU customized version automatic generation method based on location information, this method comprises:
Step S1, start ONU, obtain the location information that equipment is in;
Step S2, the location information got by ONU, judges whether the position has customized version demand;
Step S3, ONU is the position ONU equipment without loading customized version by the judging result of step S2, then uses Default version and configuration file are loaded, and realize the operation of default version, without any customized information;
Step S4, ONU is that the position ONU equipment needs to load customized version by the judging result of step S2, then into one Step judges the implementation of customized version, judges that the customized version is that only configuration file customization or function realize customization;
Step S5, ONU is customization realization of the customized version by configuration file by the judging result of step S4, then not The heavy duty for re-starting equipment, only issues custom configuration, and on the basis of default version, the configuration item being customized is issued, i.e., (demand of customized version is realized by different configurations, is loaded directly into the configuration file of customization, and it is fixed to realize for the customization of realization version It makes a plate this operation);
Step S6, ONU is that there are the customizations of function for the customized version by the judging result of step S4, then it is fixed to re-write Demand (configuring area is written in current customized demand) processed, equipment is reloaded, and that completes customized version starts and runs (customization version This demand loads different functional modules by different Implement of Function Module, realizes customized version operation).
According to the above scheme, in the step S1, realize that ONU is obtained there are two types of the location information method definition that equipment is in Mode, a kind of mode, which is OLT headend, is handed down to ONU by OAM message, another way for ONU terminal device by with The task equipment of similar mobile phone terminal connects, and obtains location information.
According to the above scheme, in the step S1, after ONU gets location information, by information preservation in ONU terminal sheet Ground, next ONU directly reads the location information when restarting, and carries out the load of customized version, no longer acquisition location information (unless Administrator empties the ONU location information got).
According to the above scheme, in the step S2, ONU gets location information, is compared with built-in information, Match, judges whether the position ONU equipment has relevant customized version.
According to the above scheme, matching way is keyword match, and each customized version provides ABC formula key word description, if The location information that ONU is got includes ABC keyword, then successful match, otherwise fails.
According to the above scheme, in the step S4, there are two types of the realizations of customized version, and one is only modify configuration information (such as usemame/password, wireless title, function open/close), another kind are that customization function realizes (such as custom protocol).
Compared with the prior art, the invention has the following beneficial effects: unified version, judges automatically by location information, it is real The load and operation of existing each local customized version, reduce the workload of version exploitation, production, promote the dimension of version customization Protect working efficiency.
Detailed description of the invention
Fig. 1 is ONU customized version automatic manufacturing method flow diagram of the embodiment of the present invention based on location information;
Fig. 2 is that ONU location information obtains flow chart (OLT issues mode);
Fig. 3 is that custom configuration item of embodiment of the present invention load process and customization function are loaded into flow diagram again.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.
As shown in Figure 1, the ONU customized version automatic generation method flow diagram of the present invention based on location information, Include:
Step S1, start ONU, inquire the relevant information of current ONU terminal device location information, obtain ONU terminal device The location information being in, defines two ways, and a kind of mode is that OLT headend by OAM message is handed down to ONU, another kind Mode is ONU terminal device by connecting with the task equipment of similar mobile phone terminal, after ONU gets location information, by information It is stored in ONU terminal local, next ONU directly reads the location information when restarting, and carries out the load of customized version, no longer obtains Take location information (except non-administrator empties the ONU location information got).
Step S2, ONU gets location information, is compared with built-in relevant information, and the position is judged in matching Whether ONU equipment has relevant customized version.Matching way is keyword match, and each customized version regulation such as ABC formula is crucial Word description, if the location information that ONU is got includes ABC keyword, otherwise successful match fails.Information description is permitted Perhaps client does other information descriptions, judgment mechanism is keyword match, and other information is neglected other than keyword Slightly.The information can allow client to be used as other purposes in this way.
Step S3, ONU passes through step S2 judging result, is the position ONU equipment without loading customized version, then using silent Recognize version and configuration file is loaded, realize the operation of default version, without any customized information.Default version is defined, That is general version, any customized information of no client, meets the primary demand of client.
Step S4, ONU passes through step S2 judging result, and for the position, ONU equipment needs to load customized version, then carries out down The judgement of one step, the customized version are that only configuration file customization or function realize customization.The realization of customized version generally has two Kind, one is configuration information, such as usemame/password, wireless title is only modified, function is opened/closed, and another kind is fixed Function processed is realized, such as custom protocol.For the difference of different customized contents, customized version is realized and the mode of load also has It is distinguished.
Step S5, ONU passes through step S4 judging result, which is realized by the customization of configuration file, then is not necessarily to The heavy duty of equipment is re-started, associated custom configuration need to be only issued, on the basis of default version, under the configuration item being customized Hair, can be realized the customization of version, equipment is online, and saves to current-configuration.
Step S6, ONU pass through the judging result of step S4, and there are the customizations of function for the customized version, then need to write again Enter customized demand, equipment needs reload, and complete starting and running for customized version.
If it is determined that customized information includes configuration file related content (breath of as above notifying, negotiation mode etc.), then it will be current Configuring area is written in customized demand, and by restarting terminal device (customized demand configured when next time restarts starts), after restarting Terminal is with the online use of the demand model customized.
As shown in Fig. 2, being that OLT issues under mode ONU location information and obtains that (OLT headend is handed down to by OAM message ONU) flow chart, comprising:
Step S10, ONU normally start;
Step S11 judges whether ONU configuration information is sky, and if being not sky, then the location information obtains process and terminates;
Step S12, ONU configuration information is sky, receives OLT and issues location information;
Step S13 judges that OLT issues location information, carries out Key comparison, if effectively, as Key comparison matches Failure, then it is assumed that it is invalid to issue location information, then the location information obtains process and terminates;
Step S14, if Key comparison successful match, then it is assumed that this issues location information and obtains successfully, the location information Obtaining process terminates, and carries out the judgement of next step customized demand.
As shown in figure 3, be that custom configuration item of embodiment of the present invention load process and customization function are loaded into flow diagram again, Include:
Step S40, ONU are customized version load starting;
Step S41 judges that the customized version is configuration implementation or customizing functions mode;
Step S42, the customized version are to be realized by configuration and customization, and ONU starts according to default version;
During step S43, ONU start-up loading, custom configuration is loaded, realizes the automatic running of customized version;
Step S44, if the customized version is customizing functions, ONU need to import the customization functional module;
Step S45, is related to the load of functional module, and ONU needs are restarted and then loaded;
Step S46 after configuration version is run successfully, needs to keep current operating conditions, guarantee straight ONU starts next time when It connects and is started according to the customized version situation of last time, no longer carry out duplicate judgement.
The present invention is not limited to the applications listed in the specification and the embodiments, and is come for those skilled in the art It says, various corresponding changes and modification can be made according to the present invention, and all these corresponding changes and modification belong to this hair Bright scope of protection of the claims.

Claims (6)

1. a kind of ONU customized version automatic generation method based on location information, which is characterized in that this method comprises:
Step S1, start ONU, obtain the location information that equipment is in;
Step S2, the location information got by ONU, judges whether the position has customized version demand;
Step S3, ONU is the position ONU equipment without loading customized version by the judging result of step S2, then using default Version and configuration file are loaded, and realize the operation of default version, without any customized information;
Step S4, ONU is that the position ONU equipment needs to load customized version by the judging result of step S2, then further sentences The implementation of disconnected customized version judges that the customized version is that only configuration file customization or function realize customization;
Step S5, ONU is customization realization of the customized version by configuration file by the judging result of step S4, then not again The heavy duty for carrying out equipment, only issues custom configuration, on the basis of default version, the configuration item being customized is issued, that is, is realized The customization of version;
Step S6, ONU is that there are the customizations of function for the customized version by the judging result of step S4, then re-writing customization needs It asks, equipment is reloaded, and starting and running for customized version is completed.
2. the ONU customized version automatic generation method according to claim 1 based on location information, which is characterized in that institute In the step S1 stated, realize that ONU obtains location information method definition that equipment is in there are two types of mode, a kind of mode is OLT head End equipment is handed down to ONU by OAM message, and another way is ONU terminal device by setting with the proprietary of similar mobile phone terminal Standby connection, obtains location information.
3. the ONU customized version automatic generation method according to claim 1 or 2 based on location information, which is characterized in that In the step S1, after ONU gets location information, by information preservation in ONU terminal local, next ONU is direct when restarting The location information is read, and carries out the load of customized version, no longer acquisition location information.
4. the ONU customized version automatic generation method according to claim 1 based on location information, which is characterized in that institute In the step S2 stated, ONU gets location information, is compared with built-in information, and the position ONU equipment is judged in matching Whether relevant customized version is had.
5. the ONU customized version automatic generation method according to claim 4 based on location information, which is characterized in that It is keyword match with mode, each customized version provides ABC formula key word description, if the location information packet that ONU is got Keyword containing ABC, then successful match, otherwise fails.
6. the ONU customized version automatic generation method according to claim 1 based on location information, which is characterized in that institute In the step S4 stated, there are two types of the realizations of customized version, and one is configuration information is only modified, another kind is that customization function is real It is existing.
CN201811070219.3A 2018-09-13 2018-09-13 ONU customized version automatic generation method based on position information Active CN109309881B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811070219.3A CN109309881B (en) 2018-09-13 2018-09-13 ONU customized version automatic generation method based on position information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811070219.3A CN109309881B (en) 2018-09-13 2018-09-13 ONU customized version automatic generation method based on position information

Publications (2)

Publication Number Publication Date
CN109309881A true CN109309881A (en) 2019-02-05
CN109309881B CN109309881B (en) 2021-09-28

Family

ID=65224661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811070219.3A Active CN109309881B (en) 2018-09-13 2018-09-13 ONU customized version automatic generation method based on position information

Country Status (1)

Country Link
CN (1) CN109309881B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324734A (en) * 2019-06-27 2019-10-11 烽火通信科技股份有限公司 A kind of region of PON terminal customizes the automatically imported method and system of configuration

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457804A (en) * 2010-10-20 2012-05-16 北京创新方舟科技有限公司 Method for updating application program according to positional information of user equipment and device thereof
CN105007186A (en) * 2015-07-24 2015-10-28 武汉长光科技有限公司 EPON-based FTTH terminal automatic configuration method and system
CN106330573A (en) * 2016-10-10 2017-01-11 武汉长光科技有限公司 Method for automatically corresponding terminals and templates based on FTTH
CN106790751A (en) * 2016-12-16 2017-05-31 深圳鲲鹏无限科技有限公司 A kind of method of the physical location information of communication system and its sub- equipment of acquisition
CN107508707A (en) * 2017-08-25 2017-12-22 中国联合网络通信集团有限公司 A kind of authentication registration method, apparatus and network system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457804A (en) * 2010-10-20 2012-05-16 北京创新方舟科技有限公司 Method for updating application program according to positional information of user equipment and device thereof
CN105007186A (en) * 2015-07-24 2015-10-28 武汉长光科技有限公司 EPON-based FTTH terminal automatic configuration method and system
CN106330573A (en) * 2016-10-10 2017-01-11 武汉长光科技有限公司 Method for automatically corresponding terminals and templates based on FTTH
CN106790751A (en) * 2016-12-16 2017-05-31 深圳鲲鹏无限科技有限公司 A kind of method of the physical location information of communication system and its sub- equipment of acquisition
CN107508707A (en) * 2017-08-25 2017-12-22 中国联合网络通信集团有限公司 A kind of authentication registration method, apparatus and network system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324734A (en) * 2019-06-27 2019-10-11 烽火通信科技股份有限公司 A kind of region of PON terminal customizes the automatically imported method and system of configuration

Also Published As

Publication number Publication date
CN109309881B (en) 2021-09-28

Similar Documents

Publication Publication Date Title
CN101656949B (en) Method and terminals for aerial upgrade of firmware
CN101877650B (en) Method and system for updating software version automatically
US10318268B2 (en) Setting method for binary integration of boot program and kernel program
CN101616031B (en) Method for setting single-plate parameters of advanced telecommunication computing structure
CN102098590A (en) Automatic upgrading method and system of firmware version of optical network unit
CN101552692B (en) Operating and maintenance system and parameter configuration method of network element device
CN108170451B (en) Method and system for controlling BIOS version upgrading by server BMC
CN107015807A (en) A kind of device drives management method
CN101854250A (en) Electronic device management system and method
CN101140520A (en) Configuring load application method and system of communication apparatus
CN110190997A (en) Configuration information obtaining method, device, equipment and computer readable storage medium
CN109309881A (en) A kind of ONU customized version automatic generation method based on location information
CN103532929B (en) A kind of voice terminal device and the double protocol switching methods of voice
CN102833102B (en) Customer premise equipment system of set-card separated type gateway and data configuration management method
CN106131045A (en) Authentication method and GPON OLT system to ONU in GPON OLT system
CN101751265B (en) Updating system of basic input/output system of server and method thereof
CN101123769A (en) A method for editing mobile phone information using computer
CN102707976A (en) ATCA (advanced telecom computing architecture) system and method for managing firmware versions by ATCA system
JP2007282148A (en) Pon system and automatic download method
CN101465897B (en) Method for configuring IP telephone parameter
CN101867484A (en) Method and system for upgrading equipment
WO2016045363A1 (en) Method for cpu to control wifi module via hsic bus interface
CN107528788A (en) Realize the method and apparatus stacked automatically between the network equipment
WO2010031234A1 (en) System and method for managing network element right
Cisco Downloading and Installing Software Upgrades

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