Background technology
Optical transceiver is a kind ofly light signal and the signal of telecommunication equipment of conversion mutually how can be used in the field of long range signals transmission.
Fig. 1 is the concrete structure schematic diagram of existing optical transceiver, and as shown in Figure 1, existing optical transceiver mainly comprises: signal transmission module 101, webmaster module 102, main control chip 103, configuring chip 104 and configuration interface 105;
Signal transmission module 101 links to each other with main control chip 103, is used to finish the major function of optical transceiver, i.e. the transmission of the light signal and the signal of telecommunication and conversion etc.
Main control chip 103 links to each other respectively with signal transmission module 101, webmaster module 102 and configuring chip 104, be used for other parts of optical transceiver are totally controlled, realize the various additional functions of optical transceiver, generally can use field programmable gate array (Field-Programmable Gate Array, FPGA) or programming device such as CPLD (CPLD, Complex Programmable Logic Device) chip realize.
Webmaster module 102 links to each other with main control chip 103, be used to receive the diverse network supervisory instruction, and send main control chip to, be used to realize the network remote control of optical transceiver, the webmaster module generally is connected by the RJ-45 interface with Ethernet, perhaps also can be connected with optical-fiber network by the 2M optical fiber interface.
Configuring chip 104 links to each other with main control chip 103, be used to preserve the configuration data of main control chip 103, main control chip can read configuration data and realize inner concrete logic function from configuring chip when powering on, general flash memory (SPI FLASH, the Serial PeripheralInterface FLASH) chip of Serial Peripheral Interface that uses is realized.
Configuration interface 105 links to each other with configuring chip 104, is the externally interface of transmission data of configuring chip 104, is used for revising the configuration data that configuring chip 104 is preserved, as downloading the required data of upgrading; To the operation that main control chip is upgraded, just need be undertaken by configuration interface 105.The specific implementation of configuration interface 105 can be decided according to concrete configuration chip 104, generally uses joint test behavior tissue (JointTest Action Group, JTAG) interface.
At present, carry out HardwareUpgring for existing optical transceiver, when for example main control chip being upgraded, the technical staff need use special-purpose connecting line to connect the configuration interface of optical transceiver, and the desired data of will upgrading is as the FPGA configuration file, download in the configuring chip by configuration interface and to preserve, optical transceiver resets and when re-powering, main control chip will read new configuration data from configuring chip, thereby realizes the upgrading of main control chip.
For above-mentioned escalation process, connect optical transceiver owing to need use special-purpose cable, therefore upgrading must be carried out to the optical transceiver erecting bed by the technical staff, in the process of upgrading, optical transceiver can not use, and because the read-write speed of configuration interface is very low, the escalation process spended time is longer.
The utility model content
The utility model provides a kind of optical transceiver, can realize long-range quick upgrading when not influencing the optical transceiver operate as normal.
The utility model provides a kind of optical transceiver remote online upgrade-system, can realize long-range quick upgrading when not influencing the optical transceiver operate as normal.
For achieving the above object, the technical solution of the utility model specifically is achieved in that
A kind of optical transceiver comprises signal transmission module, main control chip, configuring chip and webmaster module, and main control chip links to each other with signal transmission module, configuring chip and webmaster module respectively, is provided with the remote upgrade module in the described main control chip;
Described remote upgrade module links to each other with the webmaster module with configuring chip respectively by main control chip, according to the instruction that receives from the webmaster module, receives the upgrading desired data from the webmaster module, and sends to configuring chip and preserve.
A kind of optical transceiver remote online upgrade-system, this system comprises: updating apparatus and optical transceiver;
Described updating apparatus is connected with optical transceiver by telecommunication network; Send upgrade command and upgrading desired data to described optical transceiver;
Described optical transceiver comprises signal transmission module, main control chip, configuring chip and webmaster module, and main control chip links to each other with signal transmission module, configuring chip and webmaster module respectively;
Described webmaster module receives the upgrade command that updating apparatus sends, and receives the upgrading desired data from described updating apparatus;
Be provided with the remote upgrade module in the described main control chip;
Described remote upgrade module links to each other with the webmaster module with configuring chip respectively by main control chip, according to the instruction that receives from the webmaster module, receives the upgrading desired data from the webmaster module, and sends to configuring chip and preserve.
As seen from the above technical solutions, this optical transceiver of the present utility model, in main control chip, increase the remote upgrade module, this remote upgrade module links to each other with the webmaster module with configuring chip respectively by main control chip, according to the instruction that receives from the webmaster module, receive the upgrading desired data from the webmaster module, and send to configuring chip and preserve.Because this optical transceiver can receive the upgrading desired data from Ethernet or optical-fiber network by the webmaster module, therefore need not the technical staff upgrade to the scene, has realized the remote upgrade function.Simultaneously, owing to use main control chip to realize the remote upgrade function, therefore in escalation process, can not influence the operate as normal of optical transceiver.In addition, because the data transmission bauds between main control chip and the configuring chip is faster than the speed of existing configuration interface, the whole required time of upgrading is also shorter than existing upgrade method required time.By optical transceiver remote online upgrade-system of the present utility model, can realize the long-range quick upgrading of optical transceiver.
Embodiment
For making the purpose of this utility model, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the utility model is further described.
The utility model embodiment mainly is by the remote upgrade module is set in main control chip, this module receives the upgrading desired data by the webmaster module, and the upgrading desired data that will receive directly is sent to the configuring chip preservation, do not need external cable to upgrade, the telecommunication network that utilizes the webmaster module to connect is realized remote upgrade.
Fig. 2 is the optical transceiver structural representation of the utility model embodiment, and as shown in Figure 2, this optical transceiver comprises: signal transmission module 201, main control chip 202, configuring chip 203 and webmaster module 205; Wherein, be provided with remote upgrade module 204 in the main control chip.
Signal transmission module 201 links to each other with main control chip 202, is used for the transmission and the conversion of the light signal and the signal of telecommunication;
Main control chip 202 links to each other with signal transmission module 201 with configuring chip 203, is used for signal transmission module 201 is controlled, and reads the upgrading desired data from configuring chip 203, realizes logic function;
Configuring chip 203 links to each other with main control chip 202, is used to preserve the upgrading desired data of main control chip 202.
Webmaster module 205 links to each other with main control chip 202, is used to receive the diverse network supervisory instruction, and sends main control chip 202 to.
The connection of above each several part and function have been existing mature technology, repeat no more here.
Characteristics of the present utility model are remote upgrade module 204, it links to each other with webmaster module 205 with configuring chip 203 respectively by main control chip 202, according to the instruction that receives from webmaster module 205, receive the upgrading desired datas and send to configuring chip 203 from webmaster module 205 and preserve.
Fig. 3 is the remote upgrade module concrete structure schematic diagram of the utility model embodiment; As shown in Figure 3, comprise in the remote upgrade module: data buffer storage unit 301 and data updating unit 302;
Data buffer storage unit 301 links to each other with data updating unit 302, is used for the instruction that basis receives from the webmaster module, the upgrading desired data that reception and buffer memory receive from the webmaster module;
Data updating unit 302 is used for the upgrading desired data of data buffer storage unit 301 buffer memorys is sent to configuring chip.
In addition, wrong for fear of the upgrading desired data that receives, make the upgrading failure, can further include the data validation module in the remote upgrade module, be used for the upgrading desired data that receives is confirmed.
Fig. 4 is the remote upgrade module concrete structure schematic diagram of another embodiment of the utility model; As shown in Figure 4, the remote upgrade module comprises: data buffer storage unit 401, data updating unit 402 and data validation unit 403.
Data buffer storage unit 401 links to each other with data updating unit 402, is used for the instruction that basis receives from the webmaster module, the upgrading desired data that reception and buffer memory receive from the webmaster module;
Data updating unit 402 is used for the upgrading desired data of data buffer storage unit 401 buffer memorys is sent to configuring chip.
Data validation unit 403 links to each other with data buffer storage unit 401, be used for the upgrading desired data of data buffer unit 401 buffer memorys is confirmed, if data validation unit 403 confirms that data do not have mistake, then data updating unit 402 sends the upgrading desired data of data buffer storage unit 401 buffer memorys to configuring chip, otherwise data buffer storage unit 401 receives again and buffer memory upgrading desired data.
In the optical transceiver of above embodiment, if also need compatible field upgrade function, then can on the basis of the foregoing description, further comprise configuration interface, link to each other with configuring chip, for example jtag interface etc.
In the foregoing description, main control chip can use programmable logic devices such as FPGA or CPLD to realize.With FPGA is example, specific implementation can be to utilize hardware description language that fpga chip is carried out the hardware logic description by the module of this real new technique scheme, the logical construction and the logical relation thereof of unit,, placement-and-routing comprehensive by the FPGA tool software, FPGA internal logic resource (gate circuits such as look-up table, RAM piece, d type flip flop, NAND gate) is associated, realize desired function.Main control chip of the present utility model and wherein module, unit are the hardware entities devices of realizing by fpga chip, and what this entity apparatus finally showed is the logic function that is realized by FPGA.Configuring chip can use SPIFLASH or other non-volatile memory chips to realize.
In the embodiment of above-mentioned optical transceiver, optical transceiver need from transmission network that signal transmission module links to each other obtain the upgrading desired data, during specific implementation, can directly download on computer or server by Ethernet according to instruction, also can from the far-end optical transceiver system capable, obtain via fiber optic network, thus the purpose of realization remote upgrade.Because the utility model embodiment uses main control chip to realize the remote upgrade function, therefore in escalation process, can not influence the operate as normal of optical transceiver, optical transceiver will automatically reset after upgrading is finished, or the instruction of sending according to the webmaster module resets, automatically be written into the upgrading desired data that newly obtains, the configuration file of fpga chip for example, thus realize new logic function, realize the HardwareUpgring of main control chip.In addition, because the data transmission bauds between main control chip and the configuring chip is faster than the speed of existing configuration interface, the whole required time of upgrading is also shorter than existing upgrade method required time.
How the optical transceiver that will specify the utility model embodiment below for example realizes the remote online upgrading.
Fig. 5 is the optical transceiver remote online upgrade-system structure chart of the utility model embodiment;
As shown in Figure 5, this system comprises optical transceiver 501 and updating apparatus 502.
Updating apparatus 502 is by telecommunication network, and for example Ethernet, optical-fiber network etc. are connected with optical transceiver 501; Updating apparatus 502 can be computer terminal, far-end optical transceiver system capable or server etc., is used to deposit upgrading desired data and escalation process is controlled.
The instruction that optical transceiver 501 is used to receive updating apparatus 502 receives the upgrading desired datas from updating apparatus 502 and upgrades.Optical transceiver 501 can adopt the optical transceiver described in the foregoing description.
For example, optical transceiver 501 can comprise signal transmission module, main control chip, configuring chip and webmaster module, and main control chip links to each other with signal transmission module, configuring chip and webmaster module respectively;
Described webmaster module receives the upgrade command that updating apparatus sends, and receives the upgrading desired data from described updating apparatus;
Be provided with the remote upgrade module in the described main control chip;
Described remote upgrade module links to each other with the webmaster module with configuring chip respectively by main control chip, according to the instruction that receives from the webmaster module, receives the upgrading desired data from the webmaster module, and sends to configuring chip and preserve.
When carrying out remote upgrade, updating apparatus 502 sends upgrade command to optical transceiver 501; After optical transceiver 501 is received upgrade command, receive the required data of upgrading from updating apparatus 502, the configuration file of FPGA for example, the upgrading desired data that optical transceiver 501 will be received writes the configuring chip of self, after automatically reseting then or resetting according to the instruction that updating apparatus 502 sends, can finish escalation process, and before resetting, the operate as normal of optical transceiver 501 can not be affected.
Utilize above-mentioned optical transceiver remote online upgrade-system, can control optical transceiver by telecommunication network and upgrade, reaching does not simultaneously influence the optical transceiver operate as normal and the effect fast of upgrading.
By the above embodiments as seen, this optical transceiver of the present utility model, in main control chip, increase the remote upgrade module, this remote upgrade module links to each other with the webmaster module with configuring chip respectively by main control chip, according to the instruction that receives from the webmaster module, receive the upgrading desired data from the webmaster module, and send to configuring chip and preserve.Because this optical transceiver can receive the upgrading desired data from Ethernet or optical-fiber network by the webmaster module, therefore need not the technical staff upgrade to the scene, has realized the remote upgrade function.Simultaneously, owing to use main control chip to realize the remote upgrade function, therefore in escalation process, can not influence the operate as normal of optical transceiver.In addition, because the data transmission bauds between main control chip and the configuring chip is faster than the speed of existing configuration interface, the whole required time of upgrading is also shorter than existing upgrade method required time.
Institute is understood that; the above only is a better embodiment of the present utility model; and be not used in and limit protection range of the present utility model; all within spirit of the present utility model and principle; any modification of being made, be equal to replacement, improvement etc., all should be included within the protection range of the present utility model.