CN106571961A - Automatic updating method of EOC local end system and device thereof - Google Patents
Automatic updating method of EOC local end system and device thereof Download PDFInfo
- Publication number
- CN106571961A CN106571961A CN201610957433.5A CN201610957433A CN106571961A CN 106571961 A CN106571961 A CN 106571961A CN 201610957433 A CN201610957433 A CN 201610957433A CN 106571961 A CN106571961 A CN 106571961A
- Authority
- CN
- China
- Prior art keywords
- bag
- file
- upgrade
- eoc
- room
- 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
Links
Classifications
-
- 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/0876—Aspects of the degree of configuration automation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- 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/02—Standardisation; Integration
- H04L41/0213—Standardised network management protocols, e.g. simple network management protocol [SNMP]
-
- 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
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- 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/0876—Aspects of the degree of configuration automation
- H04L41/0886—Fully automatic configuration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses an automatic updating method of an EOC local end system and a device thereof, relates to the data communication technology field and aims at solving a problem that the EOC local end system can not be completely and automatically updated in a network. The method comprises the following steps that a management end sends a system updating package according to a preset time interval; an EOC local end monitors a network card, receives the system updating package in the network and acquires an updated system version number; whether the updated version number is the same with a system version number which is currently operated by the EOC local end is determined; if the updated version number is not the same with the system version number, transmission control protocol TCP connection is established with the management end; after the EOC local end and the management end establish the TCP connection, the management end sends a file data package to the EOC local end; the EOC local end determines whether an occupation space of the file data package is the same with an occupation space of an updating file; and if the occupation space of the EOC local end file data package is the same with the occupation space of the updating file, the EOC local end updates the EOC local end system according to the file data package in updating time. The method and the device are mainly used for an automatic updating process of the EOC local end system.
Description
Technical field
The present invention relates to data communication technology field, the automatically updating method and dress of more particularly to a kind of EOC CMTSs
Put.
Background technology
EOC in cable TV network (Ethernet over Cable, based on wired TV coaxial cable net using with
The too access technology of fidonetFido) system, including front-end platform, optical link, EOC local sides, EOC terminal equipment, bridger.EOC ends
End is the data signal that receiving front-end platform is sent by optical link, and by two kinds of Signal separators out.EOC terminal equipment is general
It is placed in user family, is directly connected to PC, Set Top Box or television set to realize the function of surfing the Net and see TV.Due to front
The data signal that end platform sends is continually changing according to the different of the data encoding and Channel assignment for adopting, corresponding
Processing mode of the EOC local sides after data signal is received also is differed, so needing to upgrade EOC CMTSs.EOC
When local side increases function or solve problem, it is also desirable to which EOC CMTSs are upgraded.
The way to manage of current EoC equipment mainly has three kinds, and one kind is WEB management;One kind is order line management;Have one again
Planting is managed by the network management software.WEB is managed and order line management is managed for single EOC local sides, is led to
Cross the network management software to be managed, can be with bulk management EOC local sides.The network management software is based on SNMP (Simple
Network Management Protocol, Simple Network Management Protocol) work is that all EOC local sides in network are matched somebody with somebody
The comprehensive software of management, fault management, performance statisticses, safety management, accounting management and system upgrade is put, but to EOC
When CMTS is upgraded, current online EOC CMTSs can only be upgraded, and can not be to all of in network
EOC CMTSs are upgraded.
The content of the invention
The goal of the invention of the present invention is the automatically updating method and device for providing a kind of EOC CMTSs, be can solve the problem that
The problem that EOC CMTSs all can not be upgraded automatically in network.
A kind of embodiments in accordance with the present invention, there is provided automatically updating method of EOC CMTSs, including:
Management end sends system upgrade bag according to preset time interval, and the system upgrade bag at least includes system to be upgraded
The upgrade-system version number of system;
EOC local sides monitor network interface card, receive the system upgrade bag in network, according to the system upgrade bag, obtain and rise
Level system version number;Judge whether the upgraded version number is identical with the system version number of the EOC local sides currently operation;If
It is identical then to continue to monitor network interface card;Transmission control protocol TCP is set up with the management end if difference to be connected;
Set up after TCP is connected in the EOC local sides and the management end, the EOC local sides are sent to the management end
Update request bag;
If the management end receives the renewal request bag, management end sends to EOC local sides and updates response bag, described
Renewal response bag at least takes up room including upgrade file, update time;
If the EOC local sides receive the renewal response bag, the EOC local sides send renewal to the management end and open
Begin bag;
If the management end receives the renewal starts bag, the management end is sent according to text to the EOC local sides
Part packet, the file data bag at least include a packet;
The EOC local sides receive file data bag, judge the file data bag take up room whether with the upgrading
File takes up room identical;
Identical, the institute if take up room and the upgrade file of file data bag described in the EOC local sides take up room
EOC local sides are stated in the update time according to file data bag upgrading EOC CMTSs;
If the EOC local sides according to file data bag take up room take up room from the upgrade file it is different, in
The disconnected TCP connections, continue to monitor network interface card.
A kind of embodiments in accordance with the present invention, there is provided automatic update device of EOC CMTSs, including:
First transmitting element, for management end according to preset time interval, sends system upgrade bag, the system upgrade bag
At least including the upgrade-system version number of system to be upgraded;
Connection unit, monitors network interface card for an EOC local sides, receives the system upgrade bag in network, according to described
System upgrade bag, obtains upgrade-system version number;Judge the system version of the upgraded version number and the EOC local sides currently operation
Whether this number identical;If the same continue to monitor network interface card;Transmission control protocol TCP is set up with the management end if difference
Connection;
Second transmitting element, for setting up after TCP is connected in the EOC local sides and the management end, the EOC local sides
Send to the management end and update request bag;
First transmitting element, if being additionally operable to the management end receives the renewal request bag, management end is to EOC local sides
Send and update response bag, the renewal response bag at least takes up room including upgrade file, update time;
Second transmitting element, if being additionally operable to the EOC local sides receives the renewal response bag, the EOC offices
Hold to management end transmission renewal and start bag;
First transmitting element, starts bag, the management end if being additionally operable to the management end and receiving the renewal
Send according to file data bag to the EOC local sides, the file data bag at least includes a packet;
Judging unit, receives file data bag for the EOC local sides, judges that the taking up room for file data bag is
It is no take up room with the upgrade file it is identical;
Upgrade unit, if take with the upgrade file for taking up room for file data bag described in the EOC local sides
Space is identical, then the EOC local sides the update time according to the file data bag upgrade EOC CMTSs;
Interrupt location, if take with the upgrade file according to being taken up room for file data bag for the EOC local sides
Space is different, then interrupt the TCP connections, continue to monitor network interface card.
A kind of automatically updating method and device of the EOC CMTSs provided from above technical scheme, the present invention, leads to
Cross management end and send system upgrade bag, EOC local sides monitor the system upgrade bag that network interface card is received in network, and according to system upgrade bag
Upgrade-system version number is obtained, if upgrade-system version number is identical with the system version number of EOC local sides currently operation, continues prison
Network interface card is listened, if upgrade-system version number is different from the system version number of EOC local sides currently operation, TCP companies is set up with management end
Connect.After setting up TCP connections, EOC local sides send and update request bag, and after management end receives renewal request bag, management end sends
Response bag is updated, after EOC local sides receive renewal response bag, EOC local sides send renewal and start bag, and management end receives renewal and opens
Begin after bag, management end sends file data bag, after EOC local sides receive file data bag, judge the sky that file data bag takes
Between whether take up room with upgrade file it is identical, if identical upgrade EOC CMTSs, if difference interrupting TCP connection.With it is existing
There is technology to compare, the present invention can be by constantly sending system upgrade bag, as long as so that on the EOC local sides of management end control
Line can just receive system upgrade bag, it is ensured that EOC local sides can be received by the notice of more new system.If EOC local sides judge system
System version number in AKU is different from the system version number of current operation, then set up TCP with management end and be connected, retransmit more
New request bag, acquisition request upgrade file, prosthetic are participated in, it is not required that management end carries out any behaviour to online EOC local sides
Make, you can obtain upgrade file, to realize that EOC CMTSs are upgraded automatically.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment
The accompanying drawing that needs are used is briefly described, it should be apparent that, drawings in the following description are only some enforcements of the present invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, can be being obtained according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is the automatically updating method flow chart according to a kind of EOC CMTSs for being preferable to carry out exemplifying;
Fig. 2 is the automatically updating method flow chart according to another kind of EOC CMTSs for being preferable to carry out exemplifying;
Fig. 3 is the automatic update device composition frame chart according to a kind of EOC CMTSs for being preferable to carry out exemplifying;
Fig. 4 is the automatic update device composition frame chart according to another kind of EOC CMTSs for being preferable to carry out exemplifying.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Whole description, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
EOC systems in cable TV network, including front-end platform, optical link, EOC local sides, EOC terminal equipment, bridge joint
Device.EOC terminal is the data signal that receiving front-end platform is sent by optical link, and by two kinds of Signal separators out.Due to front
The data signal that end platform sends is continually changing according to the different of the data encoding and Channel assignment for adopting, corresponding
Processing mode of the EOC local sides after data signal is received also is differed, so needing to upgrade EOC CMTSs.EOC
When local side increases function or solve problem, it is also desirable to which EOC CMTSs are upgraded.
When EOC CMTSs are upgraded, system upgrade files through network is transferred to EOC local sides, could realize system certainly
Dynamic upgrading.In embodiments of the present invention, management end control EOC local side holonomic systems are upgraded automatically.
On the one hand, a kind of automatically updating method of EOC CMTSs is embodiments provided, as shown in figure 1, the party
Method includes:
S101, management end send system upgrade bag according to preset time interval.
Upgrade-system version number of the system upgrade bag at least including system to be upgraded.Upgrade-system bag, it is newest for representing
EOC CMTSs system situation, at least including upgrade-system version number, to carry out with other EOC CMTSs versions
Difference.EOC local sides preserve whole upgrade files, in order to selected part upgrade file packaging system AKU.Management end is per Jing
Cross preset time interval and just send primary system AKU, until generating new system version, or all of EOC offices in network
End system all completes upgrading.In embodiments of the present invention the renewal opportunity of system upgrade bag is not limited.System upgrade bag is also
The system identification informations such as system suitable environment, issuing time can be included, in order to EOC local sides according to the judgement of system upgrade bag be
No upgrade-system.
By upgrade-system related data, packing is carried out according to packetization rules and generate system upgrade bag, in order to upgrade-system
Related data is sent in the form of packet.With the data that data packet form sends, receiving terminal can efficiently be verified and be received
Packet whether include partial data.
S102, EOC local side monitors network interface card, receives the system upgrade bag in network, according to system upgrade bag, obtains upgrading system
System version number;Judge whether upgraded version number is identical with the system version number of EOC local sides currently operation;If the same continue prison
Listen network interface card;Transmission control protocol TCP is set up with management end if difference to be connected.
Network interface card, is the networking component for being operated in data link layer, is the interface for connecting computer and transmission medium, can not only
Enough realize physical connection between transmission medium and signal of telecommunication matching, additionally it is possible to Frame is transmitted and reception, encapsulation with
Seal off, function such as medium access control and data buffer storage etc..
EOC local sides monitor network interface card, that is, whether monitor has Frame to send to network interface card, reception system AKU.With system liter
The packetization rules correspondence of level bag, according to unpacking, system upgrade bag is unpacked by rule, obtains upgraded version number.Compare upgrade version
This number system version number currently run with EOC local sides, judges whether two systems version number is identical.If identical, EOC is illustrated
CMTS version has been highest system version, it is not necessary to EOC CMTS repeatedly upgradings, continuing to monitor network interface card.Such as
Fruit is different, illustrates to need EOC CMTSs of upgrading.If upgrading EOC CMTSs, need to obtain upgrade file.And upgrade
File is stored in management end, so needing to set up the TCP (Transmission that management end is directly connected to EOC local sides
Control Protocol, transmission control protocol) connection, request management end transmission upgrade file.
TCP connections are set up, is set up after EOC local sides and management end are shaken hands for 3 times.Mistake due to setting up TCP connections
Journey is known technology, and the detailed process to setting up TCP connections is repeated no more in embodiments of the present invention.
S103, set up after TCP is connected in EOC local sides and management end, EOC local sides send to management end and update request bag.
EOC local sides ask the related data of upgrade file to management end, at least including upgrade file by updating request bag
Take up room, update time etc., the related data species for including to updating request bag in embodiments of the present invention do not limit.
If S104, management end receive renewal request bag, management end sends to EOC local sides and updates response bag.
The feedback information that response bag is that management end is generated according to renewal request bag is updated, the content of response bag is updated and is updated
The request content of request bag is corresponding, at least takes up room including upgrade file, update time.
If S105, EOC local side receives renewal response bag, EOC local sides send renewal to management end and start bag.
EOC local sides are unpacked response bag is updated according to rule of unpacking, and obtain upgrade file and take up room and update time.Root
According to upgrade file holding time, a sufficiently large memory space storage upgrade file is selected.It is before update time is reached, right
The program that EOC local sides are currently running carries out preserving the process such as closing, with the program for avoiding original system during upgrade-system from being currently running
Lose data.
EOC local sides send renewal and start bag, and renewal starts bag request and starts to send upgrade file.
If S106, management end receive renewal starts bag, management end sends file data bag to EOC local sides.
Due to file data, to be surrounded by data package size limited, if upgrade file take up room it is larger, it is necessary to will upgrading
File declustering, is packaged into multiple file data bags.If upgrade file takes up room, just will upgrading
File is packaged into a packet.Thus file data bag at least includes a packet.
S107, EOC local side receives file data bag, judges whether taking up room for file data bag is taken with upgrade file
Space is identical.
The taking up room of file data bag refers to
The size in space.Judge whether taking up room for file data bag takes up room with upgrade file identical, that is, judge EOC offices
Whether end receives complete upgrade file.
If the taking up room of S108, EOC local side file data bag take up room with upgrade file identical, EOC local sides exist
Update time is according to file data bag upgrading EOC CMTSs.
Update time, the upgrading related data carried in the upgrading response bag for being management end transmission.EOC local sides are being received
After complete file data bag, in update time upgrading EOC CMTSs, the automatic upgrading of EOC CMTSs is realized.In order to
The automatic upgrading of EOC CMTSs is realized, a starting and upgrading program can be added in file data bag, it is complete getting
Data simultaneously when reaching update time, start the automatic upgrading of EOC CMTSs.
If S109, EOC local side take up room from upgrade file different according to taking up room for file data bag, interrupt
TCP connects, and continues to monitor network interface card.
EOC local sides take up room from upgrade file different according to taking up room for file data bag, that is, EOC local sides connect
There is the situation received or repeat to receive file of missing, that is, the file data that EOC local sides are received in the file data for receiving
Complete installation file can not be constituted.Interrupting TCP connects, and continues to monitor network interface card, waits the system upgrade bag for sending next time, weight
Multiple said method, until the system that EOC CMTSs upgrade to the version, or the system that management end sends redaction.
In order to ensure that the communication between management end and EOC local sides, management end and EOC local sides arrange same set of remote online liter
Level agreement, by the remote online agreement being used in conjunction with, realizes the data transfer between management end and EOC local sides.Remote online
Updating protocol is embedded in existing transport layer protocol when using use, to increase the reliability of transmission data.Existing biography
Defeated layer protocol includes TCP and UDP (User Data Protocol, UDP).
Under transport layer protocol, remote online updating protocol is by protocol number, main command, subcommand, data content and verification
Code is constituted.Data content is using the variable format coding for including type, length, data.Protocol number refers to remote online upgrading association
The identifier of view, is set to RONU English characters or other marks with fixed character length.Main command is with fixed character length
More new logo is set, and the data in this packet is identified to update related data.Subcommand is arranged and is risen with regular length character
The related packet category identities of level, such as upgrade-system bag, update request bag, update response bag, and renewal starts bag, file data
Bag etc..In main command and subcommand, extending space is all reserved, to be extended to all kinds of marks according to subsequent need.
Data content includes that upgrade-system version number, upgrade file take up room size, upgrade file data, update time etc..School
It is the verification to data content to test code, to find the mistake produced in transmitting procedure.By using CRC (Cyclic
Redundancy Check, cyclic redundancy check (CRC)) mode verification data content correctness.
The automatically updating method of a kind of EOC CMTSs provided from above technical scheme, the present invention, by management
End sends system upgrade bag, and EOC local sides monitor the system upgrade bag that network interface card is received in network, and are risen according to the acquisition of system upgrade bag
Level system version number, if upgrade-system version number is identical with the system version number of EOC local sides currently operation, continues to monitor net
Card, if upgrade-system version number is different from the system version number of EOC local sides currently operation, sets up TCP with management end and is connected.Build
After vertical TCP connections, EOC local sides send and update request bag, and after management end receives renewal request bag, management end sends to update rings
Should wrap, after EOC local sides receive renewal response bag, EOC local sides send renewal and start bag, and management end receives renewal and starts bag
Afterwards, management end sends file data bag, after EOC local sides receive file data bag, judges that the space that file data bag takes is
No identical, the EOC CMTSs of upgrading if identical that take up room with upgrade file, the interrupting TCP connection if difference.With existing skill
Art is compared, and the present invention can be by constantly sending system upgrade bag, as long as so that the EOC local sides of management end control are just reached the standard grade
System upgrade bag can be received, it is ensured that EOC local sides can be received by the notice of more new system.If EOC local sides judge system upgrade
System version number in bag is different from the system version number of current operation, then set up TCP with management end and be connected, and retransmiting renewal please
Bag, acquisition request upgrade file, prosthetic is asked to participate in, it is not required that management end carries out any operation to online EOC local sides, i.e.,
Upgrade file can be obtained, to realize that EOC CMTSs are upgraded automatically.
On the other hand, the embodiment of the present invention additionally provides the automatically updating method of another kind of EOC CMTSs, such as Fig. 2 institutes
Show, the method includes:
S201, management end send system upgrade bag according to preset time interval.
Upgrade-system version number of the system upgrade bag at least including system to be upgraded.As management end is located with EOC local sides
Network be not necessarily the same network segment, so send system upgrade bag specifically include:Obtain the local side net that EOC local sides are located
Section;Judge interconnection protocol IP address between the network of the local side network segment and management end network interface card, if for the identical network segment;If judged result
Be yes, then system upgrade bag is sent with the forms of broadcasting;If judged result is no, each IP address to the local side network segment is by using
User data agreement UDP sends system upgrade bag.
One management end, it usually needs the multiple EOC local sides of management, and EOC local sides can be distributed in the different network segments.If management
Not on the same network segment, then system upgrade bag needs cross-network segment to send for end and EOC local sides.Each network segment is both provided with net
Close, and the broadcast in the network segment is unable to Transmission via Gateway, so using the sending method of two kinds of system AKUs.Two kinds of system upgrades
The sending method of bag can guarantee that no matter the EOC local sides inside the network segment or on other network segments can receive system upgrade bag.
S202, EOC local side monitors network interface card, receives the system upgrade bag in network, according to system upgrade bag, obtains upgrading system
System version number;Judge whether upgraded version number is identical with the system version number of EOC local sides currently operation;If the same continue prison
Listen network interface card;Transmission control protocol TCP is set up with management end if difference to be connected.
Network interface card is monitored, that is, receives the Frame through network interface card.The either broadcast in the network segment is also sent to EOC local side IP
The system upgrade bag of address, can be listened to by network interface card.Network interface card monitors network interface card, receives the various data messages in network, from
In numerous data messages, system upgrade bag is filtered out, that is, receives the system upgrade bag in network.From system upgrade bag
Middle acquisition upgraded version number.
EOC local sides must be installed a system and could use, and EOC local sides certainly exist a current fortune in the course of the work
Capable system.Judge whether the system version number of EOC local sides currently operation is identical with upgraded version number, if the same illustrates
EOC CMTS versions have been latest editions, illustrate that EOC CMTSs need upgrading if difference.
S203, set up after TCP is connected in EOC local sides and management end, EOC local sides send to management end and update request bag.
Request bag is updated, is that EOC local sides are asked to the renewal that management end sends.EOC local sides update request bag by sending
Form, inform that management end EOC local side wants upgrade-system.
If S204, management end receive renewal request bag, management end sends to EOC local sides and updates response bag, updates and ring
Should wrap at least take up room including upgrade file, update time.
If S205, EOC local side receives renewal response bag, EOC local sides send renewal to management end and start bag.
EOC local sides start bag by renewal and inform management end, ready for system upgrade, can start transmission and rise
Level file.
If S206, management end receive renewal starts bag, management end sends file data bag, number of files to EOC local sides
At least include a packet according to bag.
Upgrade file is packaged into multiple file data bags by management end, sends many successively according to packing order in this step
Individual file data bag.During file data bag is sent, each file data bag whether is received without the need for EOC local sides feedback.This
The sending method of sample, saves EOC local side feedback times, improves the efficiency that file data bag sends.
S207, EOC local side receives file data bag, judges whether taking up room for file data bag is taken with upgrade file
Space is identical.
Judge whether taking up room for file data bag takes up room with upgrade file identical, specifically include:Judge file
Packet is identified with the presence or absence of the end of file;If there is no end of file mark, file data bag is continued to;If there is text
Part end of identification, then calculation document packet take up room;Take up room and the upgrade file of comparison document data takes empty
Between can be no identical.
During upgrade file is carried out packing data, an end identifier is selected to identify as the end of file,
Such as 0x00.During file data bag is received, if after receiving end of file mark, illustrating to receive whole texts
Part packet.In the file data bag with end of file mark, its ending carries the overall check code of whole upgrade file.Root
Whether there is mistake during reception according to what overall verification code check can verify whole file.
If the taking up room of S208, EOC local side file data bag take up room with upgrade file identical, EOC local sides exist
Update time is according to file data bag upgrading EOC CMTSs.
Upgrade-system is different from upgrade applications, if application program updating is unsuccessful can also upgrade again, if
System upgrade is unsuccessful may to cause whole EOC local sides normally cannot use, and by man-to-man remotely control or can only arrive
EOC local sides position is repaired, and needs to expend the other problemses that more manpower and materials solve to produce due to upgrade-system.
So in EOC CMTS escalation process, also including:File data bag is converted into installation file by EOC local sides;
Preserve installation file.Installation file is stored in into EOC local sides, rather than during file packet transmission, is pacified in transmission
Dress, it can be ensured that can disposably complete the upgrading of EOC CMTSs.
If S209, EOC local side take up room from upgrade file different according to taking up room for file data bag, send out again
Send renewal request bag.
EOC local sides take up room from upgrade file different according to taking up room for file data bag, that is, EOC local sides connect
The file data for receiving can not constitute complete installation file.In order to obtain complete installation file, renewal request is resend
Bag, request management end resend file data bag.
On the one hand, the embodiment of the present invention additionally provides a kind of automatic update device of EOC CMTSs, as shown in figure 3,
The device includes:
First transmitting element 31, for management end according to preset time interval, sends system upgrade bag, and system upgrade bag is extremely
Less including the upgrade-system version number of system to be upgraded;
Connection unit 32, monitors network interface card for an EOC local sides, receives the system upgrade bag in network, according to system liter
Level bag, obtains upgrade-system version number;Judge whether upgraded version number is identical with the system version number of EOC local sides currently operation;
If the same continue to monitor network interface card;Transmission control protocol TCP is set up with management end if difference to be connected;
Second transmitting element 33, for setting up after TCP is connected in EOC local sides and management end, EOC local sides are sent out to management end
Send renewal request bag;
First transmitting element 31, if being additionally operable to management end receives renewal request bag, management end is sent more to EOC local sides
New response bag, renewal response bag at least takes up room including upgrade file, update time;
Second transmitting element 33, if being additionally operable to EOC local sides receives renewal response bag, EOC local sides are sent to management end
Renewal starts bag;
First transmitting element 31, starts bag if being additionally operable to management end and receiving renewal, and management end sends text to EOC local sides
Part packet, file data bag at least include a packet;
Judging unit 34, receives file data bag for EOC local sides, judge file data bag take up room whether with liter
Level file takes up room identical;
Upgrade unit 35, if for EOC local side file data bags take up room take up room with upgrade file it is identical,
EOC local sides are in update time according to file data bag upgrading EOC CMTSs.
Interrupt location 36, if take up room not with upgrade file according to being taken up room for file data bag for EOC local sides
Together, then interrupting TCP connection, continues to monitor network interface card.
Further, as shown in figure 4, the first transmitting element 31, including:
Acquisition module 311, for obtaining the local side network segment at EOC local sides place;
Judge module 312, for judging interconnection protocol IP address between the network of the local side network segment and management end network interface card, if be
The identical network segment;
Sending module 313, for if the determination result is YES, then sending system upgrade bag with the forms of broadcasting;
Sending module 313, if it is no to be additionally operable to judged result, passes through user data to each IP address of the local side network segment
Agreement UDP sends system upgrade bag.
Further, as shown in figure 4, judging unit 34, including:
Judge module 341, for judging that file data bag is identified with the presence or absence of the end of file;
Jump module 342, if for there is no end of file mark, continuing to file data bag;
Computing module 343, if for there is end of file mark, calculation document packet takes up room;
Comparison module 344, taking up room for taking up room for comparison document data and upgrade file can be no identical.
Further, as shown in figure 4, upgrade unit 35, including:
Modular converter 351, for file data bag is converted into installation file;
Preserving module 352, for preserving installation file.
Further, as shown in figure 4, the device also includes:
Jump-transfer unit 37, for judge file data bag take up room whether take up room with upgrade file it is identical it
Afterwards, if EOC local sides according to file data bag take up room take up room from upgrade file it is different, resend renewal request
Bag.
The automatic update device of a kind of EOC CMTSs provided from above technical scheme, the present invention, by management
End sends system upgrade bag, and EOC local sides monitor the system upgrade bag that network interface card is received in network, and are risen according to the acquisition of system upgrade bag
Level system version number, if upgrade-system version number is identical with the system version number of EOC local sides currently operation, continues to monitor net
Card, if upgrade-system version number is different from the system version number of EOC local sides currently operation, sets up TCP with management end and is connected.Build
After vertical TCP connections, EOC local sides send and update request bag, and after management end receives renewal request bag, management end sends to update rings
Should wrap, after EOC local sides receive renewal response bag, EOC local sides send renewal and start bag, and management end receives renewal and starts bag
Afterwards, management end sends file data bag, after EOC local sides receive file data bag, judges that the space that file data bag takes is
No identical, the EOC CMTSs of upgrading if identical that take up room with upgrade file, the interrupting TCP connection if difference.With existing skill
Art is compared, and the present invention can be by constantly sending system upgrade bag, as long as so that the EOC local sides of management end control are just reached the standard grade
System upgrade bag can be received, it is ensured that EOC local sides can be received by the notice of more new system.If EOC local sides judge system upgrade
System version number in bag is different from the system version number of current operation, then set up TCP with management end and be connected, and retransmiting renewal please
Bag, acquisition request upgrade file, prosthetic is asked to participate in, it is not required that management end carries out any operation to online EOC local sides, i.e.,
Upgrade file can be obtained, to realize that EOC CMTSs are upgraded automatically.
Those skilled in the art will readily occur to its of the present invention after considering description and putting into practice invention disclosed herein
Its embodiment.The application is intended to any modification of the present invention, purposes or adaptations, these modifications, purposes or
Person's adaptations follow the general principle of the present invention and including the undocumented common knowledge in the art of the present invention
Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be appreciated that the precision architecture for being described above and being shown in the drawings is the invention is not limited in, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is limited only by appended claim.
Claims (10)
1. a kind of automatically updating method of EOC CMTSs, it is characterised in that include:
Management end sends system upgrade bag according to preset time interval, and the system upgrade bag is at least including system to be upgraded
Upgrade-system version number;
EOC local sides monitor network interface card, receive the system upgrade bag in network, according to the system upgrade bag, obtain upgrading system
System version number;Judge whether the upgraded version number is identical with the system version number of the EOC local sides currently operation;If identical
Then continue to monitor network interface card;Transmission control protocol TCP is set up with the management end if difference to be connected;
Set up after TCP is connected in the EOC local sides and the management end, the EOC local sides send to the management end and update
Request bag;
If the management end receives the renewal request bag, management end sends to EOC local sides and updates response bag, the renewal
Response bag at least takes up room including upgrade file, update time;
If the EOC local sides receive the renewal response bag, the EOC local sides send renewal to the management end and start
Bag;
If the management end receives the renewal starts bag, the management end sends file data bag to the EOC local sides,
The file data bag at least includes a packet;
The EOC local sides receive file data bag, judge the file data bag take up room whether with the upgrade file
Take up room identical;
If identical, the EOC that take up room with the upgrade file that takes up room of file data bag described in the EOC local sides
Local side is in the update time according to file data bag upgrading EOC CMTSs;
If the EOC local sides take up room from the upgrade file different according to taking up room for file data bag, interrupt institute
TCP connections are stated, continues to monitor network interface card.
2. method according to claim 1, it is characterised in that the transmission system upgrade bag, including:
Obtain the local side network segment that the EOC local sides are located;
Judge interconnection protocol IP address between the network of the local side network segment and the management end network interface card, if for the identical network segment;
If the determination result is YES, then the system upgrade bag is sent with the forms of broadcasting;
If judged result is no, the system is sent by User Data Protocol UDP to each IP address of the local side network segment
System AKU.
3. method according to claim 1, it is characterised in that described that whether taking up room for the file data bag judged
Take up room with the upgrade file identical, including:
Judge that the file data bag is identified with the presence or absence of the end of file;
If there is no the end of file mark, the file data bag is continued to;
If there is the end of file mark, taking up room for the file data bag is calculated;
The comparison file data take up room and the upgrade file take up room can be no identical.
4. method according to claim 1, it is characterised in that it is described in the update time according to the file data bag
Upgrading EOC CMTSs, including:
The file data bag is converted into into installation file;
Preserve the installation file.
5. method according to claim 1, it is characterised in that judge that the taking up room for file data bag is described
It is no take up room with the upgrade file it is identical after, methods described also includes:
If the EOC local sides take up room from the upgrade file different according to taking up room for file data bag, send out again
Send the renewal request bag.
6. a kind of automatic update device of EOC CMTSs, it is characterised in that include:
First transmitting element, for management end according to preset time interval, sends system upgrade bag, and the system upgrade bag is at least
Including the upgrade-system version number of system to be upgraded;
Connection unit, monitors network interface card for an EOC local sides, receives the system upgrade bag in network, according to the system
AKU, obtains upgrade-system version number;Judge the system version number of the upgraded version number and the EOC local sides currently operation
It is whether identical;If the same continue to monitor network interface card;Transmission control protocol TCP company is set up if difference with the management end
Connect;
Second transmitting element, for setting up after TCP is connected in the EOC local sides and the management end, the EOC local sides are to institute
State management end and send and update request bag;
First transmitting element, if being additionally operable to the management end receives the renewal request bag, management end is sent to EOC local sides
Response bag is updated, the renewal response bag at least takes up room including upgrade file, update time;
Second transmitting element, if being additionally operable to the EOC local sides receives the renewal response bag, the EOC local sides to
The management end sends renewal and starts bag;
First transmitting element, starts bag if being additionally operable to the management end and receiving the renewal, and the management end is to institute
State EOC local sides and send file data bag, the file data bag at least includes a packet;
Judging unit, receives file data bag for the EOC local sides, judge the file data bag take up room whether with
The upgrade file takes up room identical;
Upgrade unit, if take up room with the upgrade file for taking up room for file data bag described in the EOC local sides
It is identical, then the EOC local sides the update time according to the file data bag upgrade EOC CMTSs;
Interrupt location, if take up room with the upgrade file according to being taken up room for file data bag for the EOC local sides
Difference, then interrupt the TCP connections, continue to monitor network interface card.
7. device according to claim 6, it is characterised in that first transmitting element, including:
Acquisition module, for obtaining the local side network segment that the EOC local sides are located;
Judge module, for judging interconnection protocol IP address between the network of the local side network segment and the management end network interface card, if
For the identical network segment;
Sending module, for if the determination result is YES, then sending the system upgrade bag with the forms of broadcasting;
The sending module, if it is no to be additionally operable to judged result, passes through number of users to each IP address of the local side network segment
The system upgrade bag is sent according to agreement UDP.
8. device according to claim 6, it is characterised in that the judging unit, including:
Judge module, for judging that the file data bag is identified with the presence or absence of the end of file;
Jump module, if for there is no the end of file mark, continuing to the file data bag;
Computing module, if for there is the end of file mark, calculating taking up room for the file data bag;
Comparison module, for the comparison file data take up room and the upgrade file take up room can be no identical.
9. device according to claim 6, it is characterised in that the upgrade unit, including:
Modular converter, for the file data bag is converted into installation file;
Preserving module, for preserving the installation file.
10. device according to claim 6, it is characterised in that described device also includes:
Jump-transfer unit, for judging whether taking up room for the file data bag is taken up room with the upgrade file described
After identical, if the EOC local sides take up room from the upgrade file different according to taking up room for file data bag, weigh
The renewal request bag is sent newly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610957433.5A CN106571961A (en) | 2016-11-03 | 2016-11-03 | Automatic updating method of EOC local end system and device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610957433.5A CN106571961A (en) | 2016-11-03 | 2016-11-03 | Automatic updating method of EOC local end system and device thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106571961A true CN106571961A (en) | 2017-04-19 |
Family
ID=58535446
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610957433.5A Pending CN106571961A (en) | 2016-11-03 | 2016-11-03 | Automatic updating method of EOC local end system and device thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106571961A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107425990A (en) * | 2017-09-08 | 2017-12-01 | 武汉长光科技有限公司 | A kind of implementation method of G.hn network charge systems |
CN107579863A (en) * | 2017-10-17 | 2018-01-12 | 锐捷网络股份有限公司 | Terminal OTA upgrade methods, apparatus and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217412A (en) * | 2008-01-03 | 2008-07-09 | 烽火通信科技股份有限公司 | A method of optical network terminal batch grading in passive optical network system on gigabit Ethernet |
CN101480017A (en) * | 2006-06-30 | 2009-07-08 | 高通股份有限公司 | Methods and apparatus for providing service notifications in a network environment |
CN103546809A (en) * | 2012-07-13 | 2014-01-29 | 中兴通讯股份有限公司 | Method and device for upgrading software of set top box |
CN105224355A (en) * | 2015-08-27 | 2016-01-06 | 常熟市高事达光电科技有限公司 | EOC upgrading wireless terminal software method |
CN105357056A (en) * | 2015-12-07 | 2016-02-24 | 成都广达新网科技股份有限公司 | Strategy-based EOC central office end equipment upgrading method |
-
2016
- 2016-11-03 CN CN201610957433.5A patent/CN106571961A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101480017A (en) * | 2006-06-30 | 2009-07-08 | 高通股份有限公司 | Methods and apparatus for providing service notifications in a network environment |
CN101217412A (en) * | 2008-01-03 | 2008-07-09 | 烽火通信科技股份有限公司 | A method of optical network terminal batch grading in passive optical network system on gigabit Ethernet |
CN103546809A (en) * | 2012-07-13 | 2014-01-29 | 中兴通讯股份有限公司 | Method and device for upgrading software of set top box |
CN105224355A (en) * | 2015-08-27 | 2016-01-06 | 常熟市高事达光电科技有限公司 | EOC upgrading wireless terminal software method |
CN105357056A (en) * | 2015-12-07 | 2016-02-24 | 成都广达新网科技股份有限公司 | Strategy-based EOC central office end equipment upgrading method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107425990A (en) * | 2017-09-08 | 2017-12-01 | 武汉长光科技有限公司 | A kind of implementation method of G.hn network charge systems |
CN107425990B (en) * | 2017-09-08 | 2020-09-29 | 武汉长光科技有限公司 | Implementation method of G.hn network charging system |
CN107579863A (en) * | 2017-10-17 | 2018-01-12 | 锐捷网络股份有限公司 | Terminal OTA upgrade methods, apparatus and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101401366B (en) | Relay device, communication system, communication method, and computer program | |
US11601535B2 (en) | Software upgrade in a home network using lower layer messaging | |
CN1679263B (en) | Application level gateway and firewall rule set download validation | |
US8181077B2 (en) | Methods and devices for the dynamic management of transmission errors by network points of interconnections | |
US20060053229A1 (en) | Common protocol layer architecture and methods for transmitting data between different network protocols and a common protocol packet | |
CN111083161A (en) | Data transmission processing method and device and Internet of things equipment | |
CN106487788A (en) | A kind of user access method, SDN controller, forwarding unit and subscriber access system | |
KR101837085B1 (en) | Method and apparatus for transmitting/receiving data based on secured path bandwidth in network established by using Audio/Video interface | |
CN101958886A (en) | Non-internet protocol (IP) network-based multi-stage antivirus file secure transmission method and system | |
CN103237071B (en) | A kind of method of wireless EoC terminal centralized management | |
CN110809026B (en) | File processing method and device, electronic equipment and storage medium | |
CN104113491A (en) | Data transmission method and device | |
CN102301737B (en) | Method And Device For Ensuring Reliability During Transmission Of Television Data In A Television System Based On Internet Protocol | |
CN106571961A (en) | Automatic updating method of EOC local end system and device thereof | |
CN101304617A (en) | Method, apparatus and system as well as server for upgrading optical network terminal | |
CN107276840A (en) | The method and relevant device of a kind of monitoring data transmission | |
CN110213756A (en) | A kind of data transmission method, device and its relevant device | |
CN102684968A (en) | System and method for fusing cable television network and IP (internet protocol) network to transmit IP data | |
CN106685600B (en) | Message delivery method in local area network between work station | |
EP3211889B1 (en) | An arrangement for distributed catv network | |
CN102377743A (en) | Communication terminal equipment and certification updating method thereof | |
CN106506578B (en) | Data sharing system and method | |
CN101958887A (en) | Antivirus cluster-based secure file transfer method and system | |
CN101534171B (en) | System information transmission method, system and device | |
CN110995833A (en) | Platform screen control method and system |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170419 |