CN103986660A - Device and method for loading microcodes - Google Patents

Device and method for loading microcodes Download PDF

Info

Publication number
CN103986660A
CN103986660A CN201410240138.9A CN201410240138A CN103986660A CN 103986660 A CN103986660 A CN 103986660A CN 201410240138 A CN201410240138 A CN 201410240138A CN 103986660 A CN103986660 A CN 103986660A
Authority
CN
China
Prior art keywords
microcode
version
business
transmitting
control plane
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410240138.9A
Other languages
Chinese (zh)
Other versions
CN103986660B (en
Inventor
龚钧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410240138.9A priority Critical patent/CN103986660B/en
Publication of CN103986660A publication Critical patent/CN103986660A/en
Application granted granted Critical
Publication of CN103986660B publication Critical patent/CN103986660B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and device for loading microcodes. A control plane of the device acquires microcodes, for executing services, of a first version, loads the microcodes of the first version to instruction space, and instructs a forwarding plane of the device to generate a forwarding table of the services. The forwarding table of the services comprises a value of a PC. The value of the PC is the address of the first version. The forwarding plane is used for generating the forwarding table of the services according to the instruction of the control plane. By the adoption of the scheme, cost for updating the services can be reduced.

Description

The device of loading micro code and the method for loading micro code
Technical field
The present invention relates to data communication field, relate in particular to the method for device and the loading micro code of loading micro code.
Background technology
Along with the variation day by day to the growth of network bandwidth requirements and network application, with application-specific integrated circuit (ASIC) (English: application specific integrated circuit, abbreviation: the network equipments such as router that ASIC) technology is core have become the bottleneck of network.In order to solve the bottleneck of network application, take into account simultaneously and process needed programmability and flexibility, based on ASIP (English: application specific instruction set processor, be called for short: the ASIP) network processing unit of technology (English: network processor, abbreviation: NP) obtained broad development.
In prior art, network equipment (for example router) is carried out different business to different messages.Carry out different business, need to use different microcodes.For example,, to Internet protocol (English: internet protocol, abbreviation: IP) message is carried out IP forwarding service.Ethernet frame is carried out to media interviews and control (English: media access control, abbreviation: MAC) forwarding service.The microcode of carrying out IP forwarding service is different with the microcode of carrying out MAC forwarding service.The memory location of the microcode of the memory location of the microcode of in addition, carrying out IP forwarding service in network equipment and execution MAC forwarding service in network equipment is also different.Network equipment receives after message, can pass through microcode corresponding to branch statement index, thereby carries out business corresponding to message receiving.Microcode is upgraded to the upgrading that can realize business.In technique scheme, the cost that business is upgraded is larger.
Summary of the invention
The embodiment of the present invention provides the method for loading micro code and the device of loading micro code, contributes to reduce the cost that business is upgraded.
First aspect, provides a kind of device of loading micro code, and described device comprises: control plane and Forwarding plane;
Described control plane, for obtaining for carrying out the microcode of the first version of business, is loaded into the microcode of described first version the instruction space of the micro engine of the Forwarding plane that is positioned at described device; And, indicate the Forwarding plane of described device to generate transmitting of described business, in the transmitting of described business, comprise program counter (English: program counter; Be called for short: value PC), the address of the microcode that the value of described PC is described first version in the instruction space of described micro engine;
Described Forwarding plane, for generating transmitting of described business according to the indication of described control plane.
In conjunction with first aspect, in the possible implementation of the first, described control plane also for:
Obtain for carrying out the microcode of the second version of described business;
The microcode of described the second version is loaded into the instruction space of described micro engine;
The Forwarding plane of indicating described device transmits by described new the transmitting that is updated to described business, the value that comprises the PC after renewal in described new transmitting, the value of the PC after described renewal is the microcode of described the second version address in the instruction space of described micro engine.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second, described control plane also for:
The Forwarding plane of the described device of indication by described transmit new the transmitting that is updated to described business after, delete the microcode of the described first version in the instruction space of described micro engine.
In conjunction with first aspect, or in conjunction with the first of first aspect a kind of in the possible implementation of the second, described Forwarding plane also for:
After generating transmitting of described business according to described control plane indication, according to the value of the described PC in described transmitting, determine the address of the microcode of described first version;
According to the address of the microcode of described first version, carry out the microcode of described first version.
In conjunction with first aspect, or in conjunction with the first of first aspect a kind of in the third possible implementation, described business transmit the interface table that comprises described business, in the interface table of described business, comprise for carrying the field of the value of described PC.
Second aspect, provides a kind of method of loading micro code, and the method comprises:
The control plane of device obtains for carrying out the microcode of the first version of business;
The control plane of described device is loaded into the microcode of described first version the instruction space of the micro engine of the Forwarding plane that is positioned at described device;
The control plane of described device indicates the Forwarding plane of described device to generate transmitting of described business, the value that comprises program counter PC in the transmitting of described business, the address of the microcode that the value of described PC is described first version in the instruction space of described micro engine;
The Forwarding plane of described device generates transmitting of described business according to the indication of described control plane.
In conjunction with second aspect, in the possible implementation of the first, also comprise:
The control plane of described device obtains for carrying out the microcode of the second version of described business;
The control plane of described device is loaded into the microcode of described the second version the instruction space of described micro engine;
The Forwarding plane that the control plane of described device is indicated described device transmits by described new the transmitting that is updated to described business, the value that comprises the PC after renewal in described new transmitting, the value of the PC after described renewal is the microcode of described the second version address in the instruction space of described micro engine.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second, the Forwarding plane that the control plane of described device is indicated described device by described transmit new the transmitting that is updated to described business after, also comprise:
Delete the microcode of the described first version in the instruction space of described micro engine.
In conjunction with second aspect, or in conjunction with the first of second aspect a kind of in the possible implementation of the second, after the Forwarding plane of described device generates transmitting of described business according to the indication of described control plane, described method also comprises:
The value of described PC in transmitting described in described Forwarding plane basis is determined the address of the microcode of described first version;
Described Forwarding plane is carried out the microcode of described first version according to the address of the microcode of described first version.
In conjunction with second aspect, or in conjunction with the first of second aspect a kind of in the third possible implementation, described business transmit the interface table that comprises described business, in the interface table of described business, comprise for carrying the field of the value of described PC.
In prior art, network equipment need to be by branch statement index for realizing the microcode of a certain business.The microcode of this business is updated to after new microcode, and new microcode need to be stored in new memory location conventionally.Therefore, need to revise branch statement, thereby make the microcode of amended branch statement after can index upgrade.The cost of revising branch statement is larger, and this causes the cost of in prior art, business being upgraded larger.In the application, can be by transmitting index for realizing the microcode of a certain business.With respect to revising branch statement, revise to transmit than being easier to, realize.Therefore the technical scheme that, the application provides contributes to reduce the cost that business is upgraded.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly introduced, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the structural representation of the device of loading micro code in the embodiment of the present invention;
The schematic flow sheet of the method for the loading micro code that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of the method for the loading micro code that Fig. 3 provides for the embodiment of the present invention.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the present invention is described in further detail, and obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
Referring to Fig. 1, the structural representation of the device of the loading micro code providing for the embodiment of the present invention.
As shown in the figure, the device 100 of loading micro code can be router, the network switch, Packet Transport Network (English: packet transport network, be called for short: PTN) equipment, fire compartment wall, load equalizer, data center or wavelength division multiplexing (English: wavelength-division multiplexing, abbreviation: WDM) equipment.The described network switch can be open flows switch (English: OpenFlow Switch).
As shown in Figure 1, described device 100 can comprise control plane 110 and Forwarding plane 120.For instance, the control plane 110 of described device can comprise central processing unit (English: central processing unit, be called for short: CPU), the Forwarding plane 120 of described device can comprise network processing unit (English: network processor, be called for short: NP), described NP can comprise a plurality of core (core).Described control plane 110 is controlled function for realizing the management of software and hardware, and described control plane also can be described as control plane module; Described Forwarding plane 120 is for realizing message repeating processing capacity, and described Forwarding plane also can be described as Forwarding plane module.
For instance, described control plane 110 can be by the control board (English: control board) realize of described device.Described Forwarding plane 120 can be by the interface board (English: interface board) realize of described device.
Described control plane 110, for obtaining for carrying out the microcode of the first version of business, is loaded into the microcode of described first version the instruction space of the micro engine of the Forwarding plane 120 that is positioned at described device.The Forwarding plane 120 that described control plane 110 is also used to indicate described device generates transmitting of described business, the value that comprises PC in the transmitting of described business, the address of the microcode that the value of described PC is described first version in the instruction space of described micro engine.
Described Forwarding plane 120, for generating transmitting of described business according to the indication of described control plane 110.
Described micro engine is processor.Described processor can be carried out microcode.Described processor can be by ASIC or field programmable gate array (English: field programmable gate array, abbreviation: FPGA) realize.
For instance, described micro engine can be realized by a core in the described a plurality of core in described NP.
The address of the microcode of described first version in the instruction space of described micro engine is used to indicate the memory location of the microcode of described first version.For instance, the address of the microcode of described first version in the instruction space of described micro engine can equal the address of article one instruction in the microcode of described first version.
The described instruction space is for storing the memory space of instruction.
For instance, described business can be forwarding service.For example, described forwarding service can be Layer3 Virtual Private Network (English: layer3virtual private network, be called for short: L3VPN) forwarding service, Layer 2 virtual private network (English: layer2virtual private network, be called for short: L2VPN) forwarding service, VPLS (English: virtual private LAN service, be called for short: VPLS), multiprotocol label switching (English: multiprotocol label switching, be called for short: MPLS) forwarding service, IP forwarding service or two layers of exchange (English: layer2switching) business.
Described PC is register.For instance, described device 100 can comprise jump instruction.The operand of described jump instruction can be the value of described PC.Described device 100 can be written to the value of the described PC in described transmitting in described PC by carrying out described jump instruction.The address of the microcode that described micro engine can be determined described first version according to described PC in the instruction space of described micro engine.Described micro engine can be accessed the microcode of described first version.
Preferably, the Forwarding plane 120 of the described device 100 of control plane 110 indication of described device 100 generates the interface table of the described business that comprises program counter PC.Specifically comprise: configuration one mapping table.Described mapping table comprises the value of the identification information of interface table and the PC of correspondence of described business.The value of described PC is the address of first version microcode corresponding to described business in the instruction space of described micro engine.Or, a PC field is set in the interface table of described business.The value of PC is set in the PC field of all or part list item in described interface table.The value of described PC equals the address of first version microcode corresponding to described business in the instruction space of described micro engine.
Preferably, described control plane is obtaining for before carrying out the microcode of first version of business, also carries out following steps: the microcode of determining the corresponding described first version of configuration information of described business.
Preferably, the step of the microcode of the corresponding described first version of the configuration information of described definite described business specifically can comprise: the control plane 110 of described device 100 is determined business corresponding to described service configuration information.The control plane 110 of described device 100 determines that described code is for carrying out the computer program of described business.
For instance, described business can be carried out by the interface of described device 100.For example, described service configuration information can be described: be business described in described interface enable.Described interface can be physical interface, can be also logic interfacing.Trunk interface) or virtual local area network interface (English: VLAN interface) for example, described logic interfacing can be to converge interface (English:.
For instance, described service configuration information can generate by telnet.Described service configuration information can be also that webmaster generates.
For instance, at described device 100, be in the scene of open flows switch, described service configuration information can be that open flows controller generates.Described open flows controller can be by control channel (English: control channel) send described service configuration information to described open flows switch.
Preferably, described Forwarding plane 120 also for: after according to described control plane, 110 indications generate transmitting of described business, according to the value of the described PC in described transmitting, determine the address of the microcode of described first version, and according to the address of the microcode of described first version, carry out the microcode of described first version.
Specifically, described micro engine according to described in the value of described PC in transmitting determine the address of the microcode of described first version, and according to the address of the microcode of described first version, carry out the microcode of described first version.
In technique scheme, the control plane 110 of device 100 is loaded into microcode the instruction space of the micro engine that is positioned at Forwarding plane 120, and indicate described Forwarding plane 120 to generate transmitting of described business, the value that comprises PC in the transmitting of described business, the address of the microcode that the value of described PC is described first version in the instruction space of described micro engine.With respect to revising branch statement in prior art, revise to transmit than being easier to and realize.Therefore the technical scheme that, the application provides contributes to reduce the cost that business is upgraded.
Preferably, described control plane 110 also for: obtain for carrying out the microcode of the second version of described business, the microcode of described the second version is loaded into the instruction space of described micro engine, the Forwarding plane 120 of indicating described device 100 transmits by described new the transmitting that is updated to described business, the value that comprises the PC after renewal in described new transmitting, the value of the PC after described renewal is the microcode of described the second version address in the instruction space of described micro engine.By this preferred version, can realize the operation of microcode release upgrading.
Preferably, described control plane 110 also for: the Forwarding plane 120 of the described device 100 of indication by described transmit new the transmitting that is updated to described business after, delete the microcode of the described first version in the instruction space of described micro engine.By this preferred version, can, after microcode release upgrading, delete the microcode of legacy version, to save taking of the instruction space.
Preferably, described business transmit the interface table that comprises described business, in the interface table of described business, comprise for carrying the field of the value of described PC.
Described interface table is for judging the source of the message that described device 100 receives, thus definite processing mode to message.For example, the value of configurable port numbers and the PC corresponding with described port numbers in interface table, described port numbers can comprise ethernet port port numbers, asynchronous transfer mode (English: Asynchronous Transfer Mode, be called for short: the ATM) port numbers of port etc.According to the port numbers of the inbound port of message, by inquiring about this interface table, can determine the value of corresponding PC, thereby carry out corresponding microcode according to the value of this PC.Again for example, the value of configurable interface sign and the PC corresponding with described interface identifier in interface table, described interface identifier can comprise different virtual LAN (English: virtual local area network, be called for short: vlan ID VLAN).According to the vlan ID carrying in message, by inquiring about this interface table, can determine the value of corresponding PC, thereby carry out corresponding microcode according to the value of this PC.
In prior art, network equipment need to be by branch statement index for realizing the microcode of a certain business.The microcode of this business is updated to after new microcode, and new microcode need to be stored in new memory location conventionally.Therefore, need to revise branch statement, thereby make the microcode of amended branch statement after can index upgrade.The cost of revising branch statement is larger, and this causes the cost of in prior art, business being upgraded larger.In the embodiment of the present invention, device 100 can be by transmitting index for realizing the microcode of a certain business.With respect to revising branch statement, revise to transmit than being easier to, realize.Therefore the technical scheme that, the application provides contributes to reduce the cost that business is upgraded.
Fig. 2 shows the schematic flow sheet of the method for loading micro code.The device of above-mentioned loading micro code can be for the method shown in execution graph 2.As shown in Figure 2, the method comprises:
S21: the control plane of described device obtains for carrying out the microcode of the first version of business.
S22: the control plane of described device is loaded into the microcode of described first version the instruction space of the micro engine of the Forwarding plane that is positioned at described device.
S23: the control plane of described device indicates the Forwarding plane of described device to generate transmitting of described business, the value that comprises program counter PC in the transmitting of described business, the address of the microcode that the value of described PC is described first version in the instruction space of described micro engine.
S23a: the Forwarding plane of described device generates transmitting of described business according to the indication of described control plane.
Described device can be router, the network switch, PTN equipment, fire compartment wall, load equalizer, data center or WDM equipment.The described network switch can be open flows switch.
Described device can comprise control plane and Forwarding plane.For instance, the control plane of described device can comprise CPU, and the Forwarding plane of described device can comprise NP, and described NP can comprise a plurality of core.
For instance, described control plane can be realized by the control board of described device.Described Forwarding plane can be realized by the interface board of described device.
The address of the microcode of described first version in the instruction space of described micro engine is used to indicate the memory location of the microcode of described first version.For instance, the address of the microcode of described first version in the instruction space of described micro engine can equal the address of article one instruction in the microcode of described first version.
The described instruction space is for storing the memory space of instruction.
For instance, described business can be forwarding service.For example, described forwarding service can be L3VPN forwarding service, L2VPN forwarding service, VPLS, MPLS forwarding service, IP forwarding service or two layers of reciprocal exchange of business.
Described micro engine is processor.Described processor can be carried out microcode.Described processor can be realized by ASIC or FPGA.
For instance, described micro engine can be realized by a core in the described a plurality of core in described NP.
Described PC is register.For instance, described device can comprise jump instruction.The operand of described jump instruction can be the value of described PC.Described device can be written to the value of the described PC in described transmitting in described PC by carrying out described jump instruction.Described micro engine can be according to the microcode of first version described in the value of the described PC in described PC the address in the instruction space of described micro engine.
Preferably, the control plane of described device indicates the Forwarding plane of described device to generate the interface table of the described business that comprises program counter PC.Specifically comprise: configuration one mapping table.Described mapping table comprises the value of the identification information of interface table and the PC of correspondence of described business.The value of described PC is the address of first version microcode corresponding to described business in the instruction space of described micro engine.Or, a PC field is set in the interface table of described business.The value of PC is set in the PC field of all or part list item in described interface table.The value of described PC equals the address of first version microcode corresponding to described business in the instruction space of described micro engine.
Preferably, before step 21, also can comprise: described control plane is determined the microcode of the corresponding described first version of configuration information of described business.
Preferably, the step of the microcode of the corresponding described first version of the configuration information of described definite described business specifically can comprise: the control plane of described device is determined the business that described service configuration information is corresponding.The control plane of described device determines that described code is for carrying out the computer program of described business.
For instance, described business can be carried out by the interface of described device.For example, described service configuration information can be described: be business described in described interface enable.Described interface can be physical interface, can be also logic interfacing.For example, described logic interfacing can be to converge interface or virtual local area network interface.
For instance, described service configuration information can generate by telnet.Described service configuration information can be also that webmaster generates.
For instance, at described device, be in the scene of open flows switch, described service configuration information can be that open flows controller generates.Described open flows controller can be by control channel (English: control channel) send described service configuration information to described open flows switch.
Preferably, the method shown in all right Fig. 3 of the method shown in Fig. 2.Method shown in Fig. 3 comprises:
S24: the control plane of described device obtains for carrying out the microcode of the second version of described business.
S25: the control plane of described device is loaded into the microcode of described the second version the instruction space of described micro engine.
S26: the Forwarding plane that the control plane of described device is indicated described device transmits by described new the transmitting that is updated to described business, the value that comprises the PC after renewal in described new transmitting, the value of the PC after described renewal is the microcode of described the second version address in the instruction space of described micro engine.
By this preferred version, can realize the operation of microcode release upgrading.
Preferably, the Forwarding plane that the control plane installing described in S26 is indicated described device by described transmit new the transmitting that is updated to described business after, can also comprise: the microcode of deleting the described first version in the instruction space of described micro engine.By this preferred version, can, after microcode release upgrading, delete the microcode of legacy version, to save taking of the instruction space.
Preferably, after the Forwarding plane installing described in S23a generates transmitting of described business according to the indication of described control plane, also comprise: the value of the described PC in transmitting described in described Forwarding plane basis is determined the address of the microcode of described first version, and according to the address of the microcode of described first version, carries out the microcode of described first version.
Specifically, described micro engine according to described in the value of described PC in transmitting determine the address of the microcode of described first version, and according to the address of the microcode of described first version, carry out the microcode of described first version.
Preferably, described business transmit the interface table that comprises described business, in the interface table of described business, comprise for carrying the field of the value of described PC.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.The processor of these computer program instructions to all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device can be provided, make the function of appointment in a flow process in can realization flow figure of instruction that the processor by this computer or other programmable data processing device carries out or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of flow chart or a square frame of a plurality of flow process and/or block diagram or a plurality of square frame on computer or other programmable devices.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (10)

1. a device for loading micro code, is characterized in that, comprising: control plane and Forwarding plane;
Described control plane, for obtaining for carrying out the microcode of the first version of business, is loaded into the microcode of described first version the instruction space of the micro engine of the Forwarding plane that is positioned at described device; And, indicate the Forwarding plane of described device to generate transmitting of described business, the value that comprises program counter PC in the transmitting of described business, the address of the microcode that the value of described PC is described first version in the instruction space of described micro engine;
Described Forwarding plane, for generating transmitting of described business according to the indication of described control plane.
2. device as claimed in claim 1, is characterized in that, described control plane also for:
Obtain for carrying out the microcode of the second version of described business;
The microcode of described the second version is loaded into the instruction space of described micro engine;
The Forwarding plane of indicating described device transmits by described new the transmitting that is updated to described business, the value that comprises the PC after renewal in described new transmitting, the value of the PC after described renewal is the microcode of described the second version address in the instruction space of described micro engine.
3. device as claimed in claim 2, is characterized in that, described control plane also for:
The Forwarding plane of the described device of indication by described transmit new the transmitting that is updated to described business after, delete the microcode of the described first version in the instruction space of described micro engine.
4. as the device as described in arbitrary in claims 1 to 3, it is characterized in that, described Forwarding plane also for:
After generating transmitting of described business according to described control plane indication, according to the value of the described PC in described transmitting, determine the address of the microcode of described first version;
According to the address of the microcode of described first version, carry out the microcode of described first version.
5. the device as described in any one in claim 1 to 4, is characterized in that, described business transmit the interface table that comprises described business, in the interface table of described business, comprise for carrying the field of the value of described PC.
6. a method for loading micro code, is characterized in that, comprising:
The control plane of the device of loading micro code obtains for carrying out the microcode of the first version of business;
The control plane of described device is loaded into the microcode of described first version the instruction space of the micro engine of the Forwarding plane that is positioned at described device;
The control plane of described device indicates the Forwarding plane of described device to generate transmitting of described business, the value that comprises program counter PC in the transmitting of described business, the address of the microcode that the value of described PC is described first version in the instruction space of described micro engine;
The Forwarding plane of described device generates transmitting of described business according to the indication of described control plane.
7. method as claimed in claim 6, is characterized in that, also comprises:
The control plane of described device obtains for carrying out the microcode of the second version of described business;
The control plane of described device is loaded into the microcode of described the second version the instruction space of described micro engine;
The Forwarding plane that the control plane of described device is indicated described device transmits by described new the transmitting that is updated to described business, the value that comprises the PC after renewal in described new transmitting, the value of the PC after described renewal is the microcode of described the second version address in the instruction space of described micro engine.
8. method as claimed in claim 7, is characterized in that, the Forwarding plane that the control plane of described device is indicated described device by described transmit new the transmitting that is updated to described business after, also comprise:
Delete the microcode of the described first version in the instruction space of described micro engine.
9. as the method as described in arbitrary in claim 6 to 8, it is characterized in that, after the Forwarding plane of described device generates transmitting of described business according to the indication of described control plane, described method also comprises:
The value of described PC in transmitting described in described Forwarding plane basis is determined the address of the microcode of described first version;
Described Forwarding plane is carried out the microcode of described first version according to the address of the microcode of described first version.
10. the method as described in any one in claim 6 to 9, is characterized in that, described business transmit the interface table that comprises described business, in the interface table of described business, comprise for carrying the field of the value of described PC.
CN201410240138.9A 2014-05-30 2014-05-30 The device of loading micro code and the method for loading micro code Active CN103986660B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410240138.9A CN103986660B (en) 2014-05-30 2014-05-30 The device of loading micro code and the method for loading micro code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410240138.9A CN103986660B (en) 2014-05-30 2014-05-30 The device of loading micro code and the method for loading micro code

Publications (2)

Publication Number Publication Date
CN103986660A true CN103986660A (en) 2014-08-13
CN103986660B CN103986660B (en) 2018-01-23

Family

ID=51278487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410240138.9A Active CN103986660B (en) 2014-05-30 2014-05-30 The device of loading micro code and the method for loading micro code

Country Status (1)

Country Link
CN (1) CN103986660B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016095090A1 (en) * 2014-12-15 2016-06-23 华为技术有限公司 Microcode storage method and apparatus
US10630584B2 (en) 2015-09-30 2020-04-21 Huawei Technologies Co., Ltd. Packet processing method and apparatus
WO2021004265A1 (en) * 2019-07-08 2021-01-14 中兴通讯股份有限公司 Microcode upgrade method and apparatus
WO2021120754A1 (en) * 2019-12-16 2021-06-24 华为技术有限公司 Instruction writing method and apparatus, and network device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1723439A (en) * 2003-01-07 2006-01-18 英特尔公司 An apparatus and method for configuring data plane behavior on network forwarding elements
CN1885822A (en) * 2005-06-25 2006-12-27 华为技术有限公司 Network processor
US20070174835A1 (en) * 2006-01-23 2007-07-26 Xu Bing T Method and system for booting a network processor
CN101075184A (en) * 2006-05-18 2007-11-21 中国科学院计算技术研究所 Apparatus and method for processing pretreated microinstruction asynchronous multilayer nest
CN101075966A (en) * 2007-07-05 2007-11-21 中兴通讯股份有限公司 Method for loading microcode by network processor by router system
CN101114217A (en) * 2006-07-27 2008-01-30 中国科学院计算技术研究所 Decoding device and method for generating microcode to complicated instruction decode
CN101217401A (en) * 2008-01-10 2008-07-09 华为技术有限公司 Base station controller upgrade, backup method and device
CN101267331A (en) * 2008-04-23 2008-09-17 华为技术有限公司 A search method and device for multicast forward table
CN101281513A (en) * 2008-05-15 2008-10-08 中国人民解放军国防科学技术大学 Stream processor IP core based on Avalon
CN101339513A (en) * 2007-07-06 2009-01-07 华硕电脑股份有限公司 Basic input/ output system and data update method
CN102201979A (en) * 2011-03-21 2011-09-28 中兴通讯股份有限公司 Method and device for layering microcode table entries

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1723439A (en) * 2003-01-07 2006-01-18 英特尔公司 An apparatus and method for configuring data plane behavior on network forwarding elements
CN1885822A (en) * 2005-06-25 2006-12-27 华为技术有限公司 Network processor
US20070174835A1 (en) * 2006-01-23 2007-07-26 Xu Bing T Method and system for booting a network processor
CN101075184A (en) * 2006-05-18 2007-11-21 中国科学院计算技术研究所 Apparatus and method for processing pretreated microinstruction asynchronous multilayer nest
CN101114217A (en) * 2006-07-27 2008-01-30 中国科学院计算技术研究所 Decoding device and method for generating microcode to complicated instruction decode
CN101075966A (en) * 2007-07-05 2007-11-21 中兴通讯股份有限公司 Method for loading microcode by network processor by router system
CN101339513A (en) * 2007-07-06 2009-01-07 华硕电脑股份有限公司 Basic input/ output system and data update method
CN101217401A (en) * 2008-01-10 2008-07-09 华为技术有限公司 Base station controller upgrade, backup method and device
CN101267331A (en) * 2008-04-23 2008-09-17 华为技术有限公司 A search method and device for multicast forward table
CN101281513A (en) * 2008-05-15 2008-10-08 中国人民解放军国防科学技术大学 Stream processor IP core based on Avalon
CN102201979A (en) * 2011-03-21 2011-09-28 中兴通讯股份有限公司 Method and device for layering microcode table entries

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016095090A1 (en) * 2014-12-15 2016-06-23 华为技术有限公司 Microcode storage method and apparatus
US10630584B2 (en) 2015-09-30 2020-04-21 Huawei Technologies Co., Ltd. Packet processing method and apparatus
US11184281B2 (en) 2015-09-30 2021-11-23 Huawei Technologies Co., Ltd. Packet processing method and apparatus
WO2021004265A1 (en) * 2019-07-08 2021-01-14 中兴通讯股份有限公司 Microcode upgrade method and apparatus
WO2021120754A1 (en) * 2019-12-16 2021-06-24 华为技术有限公司 Instruction writing method and apparatus, and network device

Also Published As

Publication number Publication date
CN103986660B (en) 2018-01-23

Similar Documents

Publication Publication Date Title
US11588711B2 (en) Intent-driven cloud branches
EP3096490B1 (en) Method for realizing network virtualization and related device and communication system
CN113132229B (en) Segment identifier determination method and device
EP3210347B1 (en) Pre-built match-action tables
CN104518963A (en) Methods and apparatus for implementing connectivity between edge devices via a switch fabric
KR20130045919A (en) Network system and network management method
US10050906B2 (en) Virtual node having separate control and data planes
CN110430076B (en) Route management method and device
US10630584B2 (en) Packet processing method and apparatus
CN110392002B (en) Message processing method, device, equipment and readable storage medium
US20160308790A1 (en) Service insertion in basic virtual network environment
CN105556929A (en) Network element and method of running applications in a cloud computing system
US20160359641A1 (en) Systems and methods for designating packets for customized data processing in port-extended acrhictectures
CN103986660A (en) Device and method for loading microcodes
EP3399424B1 (en) Using unified api to program both servers and fabric for forwarding for fine-grained network optimizations
CN109644159B (en) Data packet forwarding unit in a data transmission network
US10171346B2 (en) Method, apparatus and system for transmitting information
CN110235417A (en) A kind of SDN and its method and apparatus of message forwarding
CN107800628B (en) Data forwarding device and data forwarding method for software defined network
CN104702505A (en) Message transmission method and node
CN112910771B (en) Connection establishment method, device, equipment and storage medium
KR20180091244A (en) Method for communicating using virtualization scheme and electric device for performing the same
US10931576B2 (en) Software defined networking system for distinguishing packet-in messages
US10560394B2 (en) Dynamic transmission side scaling
CN113132200A (en) Data forwarding method, data forwarding device, data forwarding system, server and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211227

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.