CN105630542A - Method for upgrading PIBs in EOC systems - Google Patents

Method for upgrading PIBs in EOC systems Download PDF

Info

Publication number
CN105630542A
CN105630542A CN201510961771.1A CN201510961771A CN105630542A CN 105630542 A CN105630542 A CN 105630542A CN 201510961771 A CN201510961771 A CN 201510961771A CN 105630542 A CN105630542 A CN 105630542A
Authority
CN
China
Prior art keywords
pib
file
information
gpio
upgraded
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.)
Pending
Application number
CN201510961771.1A
Other languages
Chinese (zh)
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 CN201510961771.1A priority Critical patent/CN105630542A/en
Publication of CN105630542A publication Critical patent/CN105630542A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44536Selecting among different versions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method for upgrading PIBs in EOC systems. The method comprises the following steps: downloading PIB files into an equipment flash, reading the PIB files on the equipment through software, and comparing GPIO information of a PIB file in original equipment with GPIO information of a PIB file to be upgraded according to GPIO configuration information which is preset by the software and to be compared; if the GPIO information of the PIB file in the original equipment is consistent with the GPIO information of the PIB file to be upgraded, directly upgrading an appointed PIB file to the equipment; and if the GPIO information of the PIB file in the original equipment is inconsistent with the GPIO information of the PIB file to be upgraded, reserving the GPIO information of the PIB file in the original equipment, covering the other information by PIB configuration information to be upgraded and upgrading the other information to the equipment. According to the method for upgrading the PIBs in the EOC systems, different hardware devices are compatible, different PIBs need to be written in different EOCs and the PIBs is possibly upgraded, so that a plurality of versions need to be maintained; and by using the method, only one PIB is maintained for upgrading, so that the human cost can be saved and the PIB version compatibility can be improved.

Description

The upgrade method of PIB in a kind of EOC system
Technical field
The invention belongs to coaxial cable and use access technology (EOC) field of Ethernet protocol, particularly relate to the upgrade method of PIB in a kind of EOC system.
Background technology
EOC (EthernetOverCable) is based on wired TV coaxial cable net and uses the access technology of Ethernet protocol. Its ultimate principle is to adopt specific change of medium technology (mainly including impedance transformation, balance/imbalance conversion etc.), the data signal meeting 802.3 series standards is transmitted by coaxial cable of registering one's residence. This technology can make full use of the existing coaxial cable resource of registering one's residence of cable TV network, solves the access problem of last 100m. But in the maintenance that prior art is to EOC system, when different hardware manufacturer uses the PIB of difference, because different EOC need to write different PIB, and PIB likely upgrades, thus needing to safeguard multiple version, there is the problem being unfavorable for safeguarding.
Summary of the invention
The technical problem to be solved in the present invention is, uses the PIB that the there are differences problem being unfavorable for safeguarding for different hardware manufacturer in prior art, it is provided that the upgrade method of PIB in a kind of EOC system.
The present invention solves that above-mentioned technical problem be the technical scheme is that
The upgrade method of PIB in a kind of EOC system, comprises the following steps:
S1, start PIB file of upgrading;
S2, by PIB file download to equipment flash;
S3, software read the PIB file in equipment flash;
S4, entrance comparing function module, to do, according to software is set in advance, the GPIO configuration information contrasted, and the GPIO information of the PIB file in original equipment is compared with the GPIO information in PIB file to be upgraded;
If S5 is consistent, then the PIB file specified of directly upgrading is to equipment;
S6 is if it is inconsistent, the GPIO information that retains in original equipment in PIB, and other information are covered by PIB configuration information to be upgraded and upgraded to equipment.
By such scheme, described step S4 to do, according to software is set in advance, the GPIO configuration information contrasted, the GPIO information of the PIB file in original equipment is compared with the GPIO information in PIB file to be upgraded, specifically include: by the GPIO information of the PIB file in original equipment, after GPIO information in PIB file to be upgraded all reads out, to make the GPIO configuration information (PIB) contrasted PIB file from original equipment by set in advance for software and PIB file to be upgraded extracts, compare, item of information according to software preliminary election setting checks the GPIO configuration information of the PIB file in original equipment and the GPIO information of PIB file to be upgraded respectively.
The beneficial effect comprise that: the upgrade method of EOCPIB of the present invention that compatible different hardware, it is only necessary to safeguard that a PIB is used for upgrading saves human cost, improves PIB version compatibility simultaneously.
Accompanying drawing explanation
Fig. 1 is the flow chart of the upgrade method of PIB in EOC system of the present invention;
Fig. 2 is one of embodiment of the present invention binary system comparison chart;
Fig. 3 is the two of embodiment of the present invention binary system comparison chart;
Fig. 4 is the three of embodiment of the present invention binary system comparison chart.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.
Equipment is A plant equipment (and equipment itself uses the PIB_A that A producer provides), the file (PIB_B) that PIB to be upgraded provides for B producer, particular flow sheet is referring to Fig. 1, and in embodiment, the upgrade method of PIB in EOC system, comprises the steps
S1: put up upgrade environments, uses netting twine to be connected to the band inside/outside management interface of updating apparatus by PC network interface;
S2: by Web or FTP mode, it would be desirable to the PIB file of upgrading, downloads in the flash that equipment is local;
S3: by the PIB_A file in software respectively reading equipment, the middle PIB_B file to be upgraded with flash;
S4: enter comparison function module, according to the software configuration information wanting comparison set in advance, compares PIB_A file with the GPIO message part in PIB_B file;
S5: if consistent, then directly upgrading PIB_B file to equipment;
S6: if it is inconsistent, the GPIO message part in PIB_A is retained, other parts use the content of PIB_B to cover;
S7: start upgrading;
S8: upgrade successfully.
In step S4, the software configuration information wanting comparison set in advance ranges for: 0x2008-0x2807, specifically as shown in accompanying drawing 2��Fig. 4.
The present invention uses listed by being not restricted in description and embodiment, for a person skilled in the art, makes various corresponding change and modification according to the present invention, and corresponding change and modification broadly fall into the protection domain of the claims in the present invention.

Claims (2)

1. the upgrade method of PIB in an EOC system, it is characterised in that comprise the following steps:
S1, start PIB file of upgrading;
S2, by PIB file download to equipment flash;
S3, software read the PIB file in equipment flash;
S4, entrance comparing function module, to do, according to software is set in advance, the GPIO configuration information contrasted, and the GPIO information of the PIB file in original equipment is compared with the GPIO information in PIB file to be upgraded;
If S5 is consistent, then the PIB file specified of directly upgrading is to equipment;
S6 is if it is inconsistent, the GPIO information that retains in original equipment in PIB, and other information are covered by PIB configuration information to be upgraded and upgraded to equipment.
2. the upgrade method of PIB in EOC system according to claim 1, it is characterized in that, described step S4 to do, according to software is set in advance, the GPIO configuration information contrasted, the GPIO information of the PIB file in original equipment is compared with the GPIO information in PIB file to be upgraded, specifically include: by the GPIO information of the PIB file in original equipment, after GPIO information in PIB file to be upgraded all reads out, set in advance for software doing in the GPIO configuration information contrasted PIB file from original equipment and PIB file to be upgraded is extracted, compare, item of information according to software preliminary election setting checks the GPIO configuration information of the PIB file in original equipment and the GPIO information of PIB file to be upgraded respectively.
CN201510961771.1A 2015-12-18 2015-12-18 Method for upgrading PIBs in EOC systems Pending CN105630542A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510961771.1A CN105630542A (en) 2015-12-18 2015-12-18 Method for upgrading PIBs in EOC systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510961771.1A CN105630542A (en) 2015-12-18 2015-12-18 Method for upgrading PIBs in EOC systems

Publications (1)

Publication Number Publication Date
CN105630542A true CN105630542A (en) 2016-06-01

Family

ID=56045523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510961771.1A Pending CN105630542A (en) 2015-12-18 2015-12-18 Method for upgrading PIBs in EOC systems

Country Status (1)

Country Link
CN (1) CN105630542A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070180204A1 (en) * 2005-01-31 2007-08-02 Wilson Christopher S Method and system of erasing data pool residing over multiple data storage drives
CN102929756A (en) * 2012-10-28 2013-02-13 中国电子科技集团公司第十研究所 Universal high-speed parallel/serial bus development verification platform
CN103324510A (en) * 2013-07-10 2013-09-25 中怡(苏州)科技有限公司 EoC product upgrading method based on HomePlug AV chip
CN104298635A (en) * 2014-09-26 2015-01-21 福建联迪商用设备有限公司 Method and device for recognizing equipment version information through GPIO port line
CN104320284A (en) * 2014-11-12 2015-01-28 武汉长光科技有限公司 Automatic EOC terminal batch upgrading method based on HomePlug AV chip
CN104852829A (en) * 2015-05-26 2015-08-19 太仓市同维电子有限公司 Isolating function multi-machine detection method for coaxial terminal products

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070180204A1 (en) * 2005-01-31 2007-08-02 Wilson Christopher S Method and system of erasing data pool residing over multiple data storage drives
CN102929756A (en) * 2012-10-28 2013-02-13 中国电子科技集团公司第十研究所 Universal high-speed parallel/serial bus development verification platform
CN103324510A (en) * 2013-07-10 2013-09-25 中怡(苏州)科技有限公司 EoC product upgrading method based on HomePlug AV chip
CN104298635A (en) * 2014-09-26 2015-01-21 福建联迪商用设备有限公司 Method and device for recognizing equipment version information through GPIO port line
CN104320284A (en) * 2014-11-12 2015-01-28 武汉长光科技有限公司 Automatic EOC terminal batch upgrading method based on HomePlug AV chip
CN104852829A (en) * 2015-05-26 2015-08-19 太仓市同维电子有限公司 Isolating function multi-machine detection method for coaxial terminal products

Similar Documents

Publication Publication Date Title
US8978024B2 (en) Federated system automatic update communication to enable selective update of critical firmware elements
CN103067445B (en) Method and device of software upgrading of distributed system
CN106612192A (en) An equipment upgrading method, apparatus and system
CN103596049A (en) Intelligent television and upgrade method and device thereof
CN104079970A (en) System and method of data interaction and control of mobile equipment and WIFI (Wireless Fidelity) smart television
CN106210827B (en) A kind of method and system of the more CA of dynamic configuration set-top box
CN104038819A (en) Software upgrading system and method of digital set-top box
CN104167822B (en) A kind of method for parameter configuration for distribution automation terminal device
CN108874825B (en) Abnormal data verification method and device
CN104010005A (en) Method and system supporting access of sensors of different types
CN110661859A (en) Air upgrading method for intelligent household equipment
CN108667857A (en) A kind of security strategy maintaining method and system, server-side, client
CN102833102B (en) Customer premise equipment system of set-card separated type gateway and data configuration management method
CN103617246A (en) Firmware version updating method and system
CN104123496A (en) Rogue software interception method, device and terminal
CN104516743B (en) The upgrade method and system of embedded device firmware based on ActiveX
CN107995033B (en) ONU configuration file upgrading method and device
CN103369514A (en) System refreshing method and system applicable to mobile terminals of different models
KR20180050001A (en) Firmware upgrade system and method for IoT
CN106470114B (en) A kind of configuration method and device of OTA upgrade package
CN108737487B (en) Data synchronization method and device, storage medium and electronic device
CN103763336A (en) Software update method oriented to complex network architecture
CN105491239A (en) Interception method and apparatus of spam
CN105630542A (en) Method for upgrading PIBs in EOC systems
CN108199877A (en) Electronic equipment and its authentication method and firmware upgrade method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160601

RJ01 Rejection of invention patent application after publication