CN101494596B - Method and apparatus for downloading control surface data packet - Google Patents
Method and apparatus for downloading control surface data packet Download PDFInfo
- Publication number
- CN101494596B CN101494596B CN200810056670XA CN200810056670A CN101494596B CN 101494596 B CN101494596 B CN 101494596B CN 200810056670X A CN200810056670X A CN 200810056670XA CN 200810056670 A CN200810056670 A CN 200810056670A CN 101494596 B CN101494596 B CN 101494596B
- Authority
- CN
- China
- Prior art keywords
- chain
- command packet
- updated
- node
- microcode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method and a device for downloading a control plane data packet, aiming at solving the problem that when a control plane is adopted for transmitting the control plane data packet to each network node, the transmission delay is longer sometimes. The method includes the following steps: a source node stores the control plane data packet to be updated; and the source node sends the control plane data packet to be updated to other network nodes through high-speed data channels. As the source node sends the control plane data packet to other network nodes through the high-speed data channels, the transmission delay of the control plane data packet is reduced.
Description
Technical field
The invention belongs to communication technical field, particularly a kind of method and device of chain of command packet download.
Background technology
In the communications field, control and the professional transmission range with network separates usually, constitutes chain of command and the service surface of communication network respectively at present.Wherein, the former adopts the chain of command switching network is low speed data channel, and some of mainly taking in the network are controlled be correlated with mutual, and transmittability is less relatively; The service surface switching network is adopted in then user oriented data service of the latter, is high-speed data channel all, has extremely strong transmission handling capacity.
In the present modular design, network node all is by chain of command I/O interface, receive the chain of command packet that Control Server sends through the chain of command switching network, handle operation according to the chain of command packet that receives afterwards, as shown in Figure 1, the microcode of each network node (a kind of chain of command packet) renewal and download all are to be undertaken by chain of command I/O interface.At first version server (a kind of Control Server) is updated to new microcode in its version repository, resets then to use the network node of this microcode.Network node resets after the success, setting up certain by chain of command I/O interface through chain of command switching network and version repository by the control processor on the network node is connected (as FTP, hereinafter use FTP to refer to this connection), then needed new microcode is downloaded among the local RAM by FTP, then controlling processor downloads to the new microcode among the RAM in the control storage of carrying out engine, start and carry out engine, thereby realize the renewal of microcode.
The employing chain of command is downloaded, because the band width in physical of chain of command I/O interface is less, for such low speed data channel, when having big flow or burst transfer, will inevitably cause the increase of propagation delay time, chain of command packet to some delay sensitives certainly will cause negative effect, and the real-time of chain of command data packet transmission is had a greatly reduced quality.Under the opposite extreme situations, the impact that some processing data packets important and delay sensitive of chain of command is caused might be destructive.As seen exist in the prior art and adopt chain of command to transmit chain of command packet long problem of propagation delay time sometimes to each network node.
Summary of the invention
Adopt chain of command to transmit chain of command packet long problem of propagation delay time sometimes to each network node in order to solve to exist in the prior art, the method that the embodiment of the invention provides a kind of chain of command packet to download comprises:
Source node stores chain of command packet to be updated;
Source node sends described chain of command packet to be updated by high-speed data channel to other network node;
When described other network nodes are in the time of can identifying the active node of described chain of command packet to be updated, after described active node receives described chain of command packet to be updated, judge at first whether chain of command packet to be updated mates with this node control face type of data packet, if coupling is then finished the renewal of its chain of command packet according to the chain of command packet to be updated that receives, and continue to transmit chain of command packet to be updated; Then will not transmit chain of command packet to be updated if match.
The embodiment of the invention also provides the device that a kind of chain of command packet is downloaded simultaneously, comprising:
Memory module: be used for storage chain of command packet to be updated;
Sending module: be used for sending described chain of command packet to be updated by high-speed data channel to other network node.
The embodiment of the invention also provides the device that a kind of chain of command packet is downloaded simultaneously, comprising:
Receiver module: be used for the chain of command packet described to be updated by the transmission of high-speed data channel reception sources node;
Update module: be used for finishing according to the chain of command packet to be updated that receives the renewal of its chain of command packet.
The specific embodiments that is provided by the invention described above sends described chain of command packet by high-speed data channel to other network node just because of source node as can be seen, makes chain of command data packet transmission time delay diminish.
Description of drawings
Fig. 1 is prior art network topology structure schematic diagram;
Fig. 2 is embodiment of the invention network node internal logic structure figure;
Fig. 3 is that embodiment of the invention microcode update package is at internodal more new route schematic diagram;
Fig. 4 is the first embodiment method flow diagram provided by the invention;
Fig. 5 is the second embodiment device structure chart provided by the invention;
Fig. 6 is the 3rd embodiment device structure chart provided by the invention.
Embodiment
In order to make those skilled in the art person understand the present invention program better, the present invention is described in further detail below in conjunction with drawings and embodiments.Be that example describes with the microcode process of downloading below.But not only be confined to the download of microcode, its principle is applicable to that equally also those chains of command have the packet of big flow or the online download of application software.
The basic principle of technical solution of the present invention at first is described, the internal logic structure of each network node can be referring to Fig. 2.In system's normal course of operation, at first at a microcode code that network node stores is to be updated, this network node can send microcode to be updated by service surface I/O interface (high-speed data channel), preferably microcode is encapsulated in the general data bag of service surface to send.For convenience, the packet that will comprise this microcode herein is commonly referred to as the microcode update package.The arbitrary network node all can produce the microcode update package, and sends the microcode update package at service surface I/O interface.For the purpose of distinguishing, this paper is referred to as source node with the network node that these produce the microcode update package.
After the microcode update package sends from source node, in transmission course, will inevitably pass through a series of network node.For these network nodes, whether can identify this characteristic of microcode update package automatically according to the execution engine on the node, be divided into two classes again:
The first kind is active node, and whether such network node can identify from packet is the microcode update package.If the microcode update package, then this category node can be done corresponding processing; If not the microcode update package, then handle as the general data bag.
Second class is non-active node, and this category node can not be identified the microcode update package, transmits but only the microcode update package is used as general data.
Active node is not that all microcode bags of receiving all are updated to this locality, but at first will judge whether to be complementary with this node microcode type:
If the microcode type matching then when continuing forwarding, also needs the microcode in the microcode update package is uploaded to the control processor;
If the microcode type does not match, then still transmit as the general data bag.
The control processor of active node comes into force in order to make new microcode, stops to carry out the operation of engine earlier, downloads new microcode then in the control storage of carrying out engine; Then, start the online updating that the execution engine is finished microcode again.
In network, the control processor of source node and active node can write new microcode in the local permanent memory, when the node reset directly from local loading micro code.
As shown in Figure 3, network node 0 (being source node) sends the microcode update package by service surface I/O interface to active node N, passes through successively on the way: network node 1, and network node 2, network node 3 ..., network node N-1 finally arrives network node N; First embodiment provided by the invention is the method that a kind of chain of command packet is downloaded, and method flow comprises as shown in Figure 4:
Step 101: at first with microcode code storage to be updated in network node 0.
Step 102: network node 0 (being source node) sends the microcode update package by service surface I/O interface to active node N.
Step 103: after the service surface of each network node of approach was received this microcode update package, whether the type of decision node was non-active node, and had different processing:
For non-active node, directly jump to step 104;
For active node, then jump to step 105.
Step 104: for non-active node, owing to can not identify the microcode update package, thereby directly it is used as the general data bag, to next target node, finish.
Step 105: for active node, carry out engine and can automatically identify the microcode update package, and from the microcode update package, get access to the microcode type identification.
Step 106: judge whether the microcode type identification in the microcode update package is consistent with local microcode type identification.
If the microcode type identification in the microcode update package is inconsistent with local microcode type identification, then jump to step 107;
If the microcode type identification in the microcode update package is consistent with the microcode type identification of this locality, then jump to step 108.
Step 107: this AKU is not at the present networks node; At this moment, it is used as the general data bag, directly a node is transmitted backward.
Step 108: the execution engine of active node is stored in this microcode update package among the RAM, and notifies the control processor of this node, and the microcode that the control processor is carried out on this node upgrades.
Step 109: the control processor by active node writes new microcode in the local permanent memory, when this node reset directly from local loading micro code.Finish.
Wherein the microcode of being carried out on this node by the control processor of active node in the step 108 upgrades, and is specially: the control processor stops to carry out the operation of engine earlier, then the new microcode among the RAM is downloaded in the control storage of carrying out engine; Then, start the online updating that the execution engine is finished microcode again.
Second embodiment provided by the invention is the device that a kind of chain of command packet is downloaded, and its structure comprises as shown in Figure 5:
Memory module 201: be used for storage chain of command packet to be updated;
Sending module 202: be used for sending described chain of command packet to be updated by high-speed data channel to other network node.
The 3rd embodiment provided by the invention is the device that a kind of chain of command packet is downloaded, and its structure comprises as shown in Figure 6:
Receiver module 301: be used for the chain of command packet described to be updated by the transmission of high-speed data channel reception sources node;
Update module 302: be used for finishing according to the chain of command packet to be updated that receives the renewal of its chain of command packet.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.
Claims (6)
1. the method that the chain of command packet is downloaded is characterized in that, comprising:
Source node stores chain of command packet to be updated;
Source node sends described chain of command packet to be updated by high-speed data channel to other network node;
When described other network node is in the time of can identifying the active node of described chain of command packet to be updated, after described active node receives described chain of command packet to be updated, judge at first whether chain of command packet to be updated mates with this node control face type of data packet, if coupling is then finished the renewal of its chain of command packet according to the chain of command packet to be updated that receives, and continue to transmit chain of command packet to be updated; Then will not transmit chain of command packet to be updated if match;
Described chain of command packet to be updated is the microcode update package, finishes the renewal of its chain of command packet according to the chain of command packet to be updated that receives, and comprising:
Active node is uploaded to the control processor with the microcode in the described microcode update package;
The control processor of active node stops to carry out the operation of engine earlier, downloads microcode in the described microcode update package then in the control storage of carrying out engine, starts again and carries out the online updating that engine is finished microcode.
2. the method for claim 1, it is characterized in that, other network node is non-active node, and described non-active node is not for identifying the network node of chain of command packet to be updated, and non-active node will be transmitted chain of command packet to be updated after receiving described chain of command packet to be updated.
3. the method for claim 1 is characterized in that, if described coupling also comprises after then finishing the updating steps of its chain of command packet according to the chain of command packet to be updated that receives:
Chain of command packet to be updated is stored in local permanent memory, when needed, directly loads chain of command packet to be updated from this locality.
4. the method for claim 1 is characterized in that, and is described if the updating steps that coupling is then finished its chain of command packet according to the chain of command packet to be updated that receives is specially:
Active node receives chain of command packet to be updated by the chain of command interface, and the execution engine of active node is uploaded to the control processor of this node with chain of command packet to be updated, and described control processor is carried out the renewal of chain of command packet.
5. the method for claim 1 is characterized in that, high-speed data channel is the service surface data channel.
6. the method for claim 1 is characterized in that, described source node is specially to the step that other network node sends described chain of command packet to be updated by high-speed data channel:
Described source node carries microcode by the packet of service surface data channel to other network node transmission service surface in the packet of described service surface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810056670XA CN101494596B (en) | 2008-01-23 | 2008-01-23 | Method and apparatus for downloading control surface data packet |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810056670XA CN101494596B (en) | 2008-01-23 | 2008-01-23 | Method and apparatus for downloading control surface data packet |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101494596A CN101494596A (en) | 2009-07-29 |
CN101494596B true CN101494596B (en) | 2013-07-10 |
Family
ID=40925011
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810056670XA Active CN101494596B (en) | 2008-01-23 | 2008-01-23 | Method and apparatus for downloading control surface data packet |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101494596B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102685248B (en) * | 2012-05-29 | 2016-01-27 | 银联商务有限公司 | A kind of data download method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1461574A (en) * | 2001-04-17 | 2003-12-10 | 诺基亚公司 | One-to-one communication |
US7190898B2 (en) * | 2002-01-07 | 2007-03-13 | Information And Communications University Educational Foundation | Dynamic wavelength management method in OBS networks |
CN101009644A (en) * | 2006-12-25 | 2007-08-01 | 华为技术有限公司 | A holding method for cross-Iur interface connection of the multicast service and DRNC |
-
2008
- 2008-01-23 CN CN200810056670XA patent/CN101494596B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1461574A (en) * | 2001-04-17 | 2003-12-10 | 诺基亚公司 | One-to-one communication |
US7190898B2 (en) * | 2002-01-07 | 2007-03-13 | Information And Communications University Educational Foundation | Dynamic wavelength management method in OBS networks |
CN101009644A (en) * | 2006-12-25 | 2007-08-01 | 华为技术有限公司 | A holding method for cross-Iur interface connection of the multicast service and DRNC |
Also Published As
Publication number | Publication date |
---|---|
CN101494596A (en) | 2009-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1687997B1 (en) | A method and apparatus to provide data streaming over a network connection in a wireless mac processor | |
CA1271821A (en) | Information transfer method and arrangement | |
CN102497630B (en) | Machine to machine (M2M) equipment, method for realizing service, intelligent card and communication module | |
EP2513744A1 (en) | Automatic and controllable system operation | |
US6760304B2 (en) | Apparatus and method for receive transport protocol termination | |
CN106155960A (en) | Shake hands and the UART serial port communication method of EDMA based on GPIO | |
FI20021020A0 (en) | Systems, data communication networks and a method for transmitting information | |
CN106452833B (en) | Data transmission method for RTU multi-protocol dynamic loading | |
CN103746938A (en) | Method and device for transmitting data packet | |
CN107181618A (en) | Firmware upgrade method and system | |
FR2800963B1 (en) | METHOD FOR UPDATING A MAIN PROGRAM EXECUTED BY A RADIOCOMMUNICATION MODULE AND / OR DATA ASSOCIATED WITH THIS MAIN PROGRAM, AND CORRESPONDING RADIOCOMMUNICATION MODULE | |
CN102065508B (en) | Wireless bridge forwarding equipment and method | |
CN105144132A (en) | Apparatus, system and method of protocol adaptation layer (pal) communication to indicate transitioning a device to a default state | |
CN105393584A (en) | Apparatus, system and method of supporting streaming over a protocol adaptation layer (pal) | |
CN101494596B (en) | Method and apparatus for downloading control surface data packet | |
CN102694730A (en) | Method and device for parallel processing | |
JP2000244549A5 (en) | ||
CN109302456A (en) | A kind of document transmission method and device based on aerial downloading OTA technology | |
CN104038557A (en) | Batch upgrading method of equipment software in optical fiber connection tree shape network structure | |
CN105517020A (en) | Configuration parameter updating method and apparatus | |
CN102246469A (en) | Data transfer device | |
CN111555969A (en) | Gateway based on Sub-G star network and mesh network | |
CN107708153B (en) | A kind of radio modem ascending packet data processing method | |
CN106658388A (en) | Bluetooth gateway | |
US20040139218A1 (en) | Network relaying device and network relaying 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |