CN201528339U - Data communication equipment - Google Patents

Data communication equipment Download PDF

Info

Publication number
CN201528339U
CN201528339U CN2009202463731U CN200920246373U CN201528339U CN 201528339 U CN201528339 U CN 201528339U CN 2009202463731 U CN2009202463731 U CN 2009202463731U CN 200920246373 U CN200920246373 U CN 200920246373U CN 201528339 U CN201528339 U CN 201528339U
Authority
CN
China
Prior art keywords
optical module
port
identification information
port address
circuit
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.)
Expired - Fee Related
Application number
CN2009202463731U
Other languages
Chinese (zh)
Inventor
袁智荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Star Net Communication Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN2009202463731U priority Critical patent/CN201528339U/en
Application granted granted Critical
Publication of CN201528339U publication Critical patent/CN201528339U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The utility model provides data communication equipment, which comprises a plurality of ports, a port detection circuit, a controller, and an optical module communication control circuit, wherein, the ports are used for being electrically connected with an optical module; the port detection circuit is used for acquiring the port address when the optical module is detected to be connected to any port and sending an interrupt request and port address information containing the port address; the controller is used for sending rate identification information read from the optical module through a port according to the rate identification information in receiving the interrupt request; and the optical module communication control circuit is used for performing the communication with the optical module through the port at the corresponding communication rate according to the received rate identification information. In the utility model, when the optical module is detected to be connected, the read rate identification information is sent to the communication control circuit performing the communication with the optical module, and the rate mode of the optical module is set to be matched with the optical module, thereby achieving the automatic switching of the rate modes of the optical module, and improving the switching efficiency.

Description

Data communications equipment
Technical field
The utility model relates to Ethernet communication technology field, relates in particular to a kind of data communications equipment.
Background technology
Optical module is called the integrated module of optical transceiver or optical transceiver again, is the conversion that is used to realize photosignal in the optical fiber telecommunications system, and the very important device that is used for the transmission network signal.Usually, the difference of the speed size of supporting according to optical module, it is dissimilar it can be divided into 100,000,000 optical module, the optical module of gigabit and 10,000,000,000 optical module etc.And for the data communications equipment that disposes the optical module interface, its inside is integrated with the control chip that can support multiple speed type light module simultaneously usually, when the optical module with the different rates type is connected when communicating by letter, if corresponding optical module interface is operated under the corresponding rate mode, data communications equipment is necessary for its control chip and disposes corresponding rate parameter, with the speed type of the optical module that support to connect, like this, the optical module of connection just can enter in the normal work.
In the prior art; when an optical module is connected with data communications equipment; normally carry out in order to make communicating by letter between optical module and the data communications equipment; the user usually can be according to the speed type of the optical module that connects; mode by manual configuration is carried out corresponding setting to the control speed of data communication equipment, so that data communications equipment is complementary with the speed type of the optical module that is connected.But, the mode of this manual configuration not only needs the speed type of user's optical module that at first understanding before configuration connects, more loaded down with trivial details in operation, and if when being connected with a plurality of optical module respectively on a plurality of optical interfaces of data communications equipment, the user needs a pair of each optical interface to carry out the speed setting respectively, in the process that is provided with, also be easy to generate the mistake of setting, thereby cause the optical module on this interface not move normally, therefore, the mode efficient of the existing this rate mode that communication equipment manually is set is lower.
The utility model content
The purpose of this utility model is to provide a kind of data communications equipment, be used for solving the data communications equipment of the use optical module of prior art, the user need be according to the speed type of the optical module that connects, switch the defective of its rate configuration pattern by the mode of manual configuration, realize the automatic switchover of speed type-scheme in the data communications equipment.
For achieving the above object, the utility model provides a kind of data communications equipment, comprising:
Several ports are used for being electrically connected with optical module;
The port testing circuit is used for obtaining the port address of described port when the arbitrary port that detects described several ports has optical module to insert, and sends interrupt requests and include the port address information of described port address;
Controller is used for when receiving described interrupt requests, according to the described port address information that receives, obtains the speed identification information by described port from described optical module, and sends described speed identification information;
The optical module communication control circuit is used for carrying out data communication with corresponding communication speed by described port and described optical module according to the described speed identification information that receives.
The utility model provides a kind of data communications equipment, by when detecting arbitrary port and have optical module to insert, port address according to detected optical module access, read the speed identification information of this optical module, speed size of type with the optical module of discerning this connection, and its inner and optical module are carried out the traffic rate of the communication control circuit of data communication, automatically be set to consistent with the speed size of the optical module that inserts, thereby realized the automatic switchover of optical module traffic rate pattern in this data communications equipment, improved switching efficiency.
Description of drawings
In order to be illustrated more clearly in the utility model embodiment or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below is embodiment more of the present utility model, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structural representation of the utility model data communications equipment embodiment one;
Fig. 2 is the structural representation of the utility model data communications equipment embodiment two.
Embodiment
For the purpose, technical scheme and the advantage that make the utility model embodiment clearer, below in conjunction with the accompanying drawing among the utility model embodiment, technical scheme in the utility model present embodiment is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the utility model, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the utility model protection.
Fig. 1 is the structural representation of the utility model data communications equipment embodiment one.As shown in Figure 1, the data communications equipment of present embodiment comprises: several port ones, port testing circuit 2, controller 3 and optical module communication control circuit 4.Wherein, port one is used for being electrically connected with optical module; Port testing circuit 2 is used for obtaining the port address of this arbitrary port when detecting the arbitrary port of several port ones and have optical module to insert, and the port address information that sends an interrupt requests and comprise this port address; Controller 3 is used for when receiving interrupt requests, according to the port address information that receives, by port one reading rate identification information from the optical module that inserts, and sends this speed identification information; Optical module communication control circuit 4 is used for according to the speed identification information that receives, carries out data communication with the optical module of corresponding communication speed by port one and access.
Particularly, in the present embodiment, port one is to be exclusively used in the optical module port that is electrically connected with optical module, and it is connected with controller 3 with port testing circuit 2 respectively, and in the data communications equipment of present embodiment, is provided with a port one at least.When the some ports at least one port one have optical module to insert, port testing circuit 2 will detect the situation of this access by the access signal pin via the optical module of this port connection.Particularly, in the output pin of optical module, comprise that one is used to identify the access signal pin of its access state, this pin is done in optical module inside and is drawn processing, usually be in high level state, have only when optical module is inserted in the port one, this pin just can be set and be low level.Thereby when optical module was connected with the data communications equipment of present embodiment by port one, the port testing circuit that is connected with port one can change according to the level of the signal of the detection pin of the optical module that inserts, and detects the access situation of the optical module of this port one.And this pin level that detects a certain port when port testing circuit 2 is when being low level, learn that this port has optical module to insert, just obtain the port address of this port from this port, and an interrupt requests and the port address information that comprises this port address are sent to controller 3.
After controller 3 receives the interrupt requests of port testing circuit 2 transmissions, learn that port one has optical module to insert, so, controller 3 these interrupt requests of response, go out the port address that wherein comprises from the port address information extraction that receives, and be addressed to and its corresponding port 1, and from the optical module that inserts, read the speed identification information of representing this optical module speed type by this port one according to this port address.Particularly,, all be provided with the memory of its relevant parameter information of storage, comprising the speed identification information of having represented this optical module speed to identify in each optical module inside.For example, the speed identification information of 100,000,000 optical modules can be 0X01, and the speed identification information of gigabit optical module can be 0X02, and the speed identification information of 10,000,000,000 optical modules can be 0X03, and it is according to the concrete difference that is provided with in the optical module and difference.Controller 3 is according to this speed identification information that gets access to, can be well understood to the speed type of this optical module, therefore, when controller 3 reads the speed identification information from the optical module that inserts after, directly send it to the optical module communication control circuit 4 that carries out data communication with optical module, the traffic rate when optical module communication control circuit 4 carries out data communication with optical module is set to the big small mode of corresponding speed.After optical module communication control circuit 4 receives this speed identification information, will carry out data communication with the optical module of corresponding communication speed and access.
Particularly, after controller 3 reads the speed identification information of optical module of access, the speed implication of the essence of this speed identification information representative is not discerned, but this speed identification information is directly sent to the optical module communication control circuit 4 of connection.Because in this optical module communication control circuit 4, store the numerical value of variant speed identification information and the corresponding relation of the traffic rate of reality, therefore, optical module communication control circuit 4 is according to the speed identification information that receives, inquire the traffic rate corresponding with being easy to according to this corresponding relation with this speed identification information, thereby after with the process of the data communication of optical module in, optical module communication control circuit 4 communicates with the optical module that is connected with corresponding communication speed, has just successfully reached the purpose that the speed with optical module is complementary.For example, if the speed identification information that the controller that optical module communication control circuit 4 receives 3 sends is 0X01, from the corresponding relation tabulation of the speed identification information of its storage and traffic rate, inquiring the traffic rate corresponding with this numerical value is 100M, so optical module communication control circuit 4 communicates with the optical module that is connected with the traffic rate of 100M, realized and the matching each other of the rate mode that inserts optical module.
The utility model provides a kind of data communications equipment, by when detecting arbitrary port and have optical module to insert, port address according to detected optical module access, read the speed identification information of this optical module, speed size of type with the optical module of discerning this connection, and its inner and optical module are carried out the traffic rate of the communication control circuit of data communication, automatically be set to consistent with the speed size of the optical module that inserts, thereby realized the automatic switchover of optical module traffic rate pattern in this data communications equipment, improved switching efficiency.
Fig. 2 is the structural representation of the utility model data communications equipment embodiment two.As shown in Figure 2, the data communications equipment of present embodiment is on the basis of the technical scheme of the foregoing description, also comprise a bus expanded circuit 5, be connected with port one with controller 3 respectively, be used for the circuit-switched data bus that controller 3 is drawn is expanded to multiplex data bus, be connected with each port one respectively, thereby make controller 3 to carry out data acquisition to the optical module that inserts on each port one respectively by multiplex data bus.Particularly, because controller 3 carries out data acquisition by universal serial bus I2C (Inter-Integrated Circuit) to the optical module that inserts usually, therefore, in the present embodiment, bus expanded circuit 5 is specifically as follows an I2C bus expanded circuit, carries out data communication with controller 3 and port one by the I2C bus respectively.
Further, in the present embodiment, port testing circuit 2 can also comprise: port address store list 21, port address enquiry circuit 22 and port address transtation mission circuit 23.Wherein, port address store list 21 is used to store the corresponding relation of several port ones and its port address; Port address enquiry circuit 22 is used for detecting the port that described optical module inserts according to the access signal of the optical module that receives via the port one transmission, and in port address store list 21, inquiry and this port corresponding port address; Port address transtation mission circuit 23, the port address information and the interrupt requests that are used for including the port address that inquires send to controller 3.
Particularly, in the present embodiment, port testing circuit 2 is specifically as follows a port detection chip, this port detection chip can be passed through CPLD (Complex ProgrammableLogic Device, be called for short CPLD) or the mode of field programmable logic array (Field ProgrammableLogic Array is called for short FPGA) be achieved.
Further, in the present embodiment, controller 3 can also comprise: interrupt response circuit 31, speed sign acquisition cuicuit 32 and speed sign transtation mission circuit 33.Wherein, interrupt response circuit 31 is used to respond the interrupt requests that receives, according to the port address information that receives, by sending the request of reading with this port address corresponding port to optical module; Speed sign acquisition cuicuit 32 is used to receive the speed identification information of the speed size of the representative optical module that optical module sends; Speed sign transtation mission circuit 33, the speed identification information that is used for receiving sends to optical module communication control circuit 4.And particularly, this controller 3 can be a CPU (Central Processing Unit, abbreviation CPU), microprocessor (Micro Controller Unit, abbreviation MCU), digital signal processor (Digital SignalProcessing, be called for short DSP) or advanced RISC device (Advanced RISCIMachines is called for short ARM).
Further, in the present embodiment, optical module communication control circuit 4 can also comprise: traffic rate memory 41 and datel circuit 42.Wherein the traffic rate memory 41, are used for the corresponding relation of memory rate identification information and traffic rate; Datel circuit 42 is used in 41 inquiries and the corresponding traffic rate of speed identification information that receives of traffic rate memory, and carries out data communication with the traffic rate that inquires with the optical module that is connected.Particularly, when on behalf of the speed identification information of the optical module speed size that inserts, controller 3 will send to optical module communication control circuit 4, the datel circuit 42 of optical module communication control circuit 4 is from the traffic rate memory 41 of the corresponding relation of the traffic rate of memory rate identification information and reality, inquire about the traffic rate of the reality corresponding with the speed identification information that receives, and after carry out in the process of data communication with optical module, communicate operation according to this traffic rate that inquires, the mutual coupling of the speed of realization and optical module.
Particularly, this optical module communication control circuit 4 is specifically as follows a media access control layer agreement (Media Access Control, be called for short MAC) chip, and between controller and this MAC chip, can pass through peripheral component interconnection (Peripheral Component Interconnect, be called for short PCI) bus connects and communicates by letter; Then can be connected and communicate by letter between MAC chip and each port by universal serial bus SERDES.
Thus, in the present embodiment, when wherein some port ones had optical module to insert, the level position that port testing circuit 2 detects the corresponding access signal pin of this port one was a low level, learnt that therefore this port one has optical module to insert.So port testing circuit 2 obtains the port address of this port one, and an interrupt requests and the port address information of carrying this port address sent to controller 3.After controller 3 receives the interrupt requests of port testing circuit, respond this interrupt requests, according to the port address in the port address information that receives, read the speed identification information of the optical module of access from corresponding ports 1 by the bus expanded circuit 5 of I2C, the speed size that on behalf of the optical module of this access, this speed identification information support.After reading the speed identification information of optical module of access, controller 3 sends to this speed identification information the optical module communication control circuit 4 that is used for carrying out with optical module data communication, after the datel circuit 42 of optical module communication control circuit 4 receives this speed identification information, from the traffic rate memory 41 of the corresponding relation that stores speed identification information and traffic rate, inquire about the traffic rate corresponding with receiving the speed identification information, and carry out data communication, thereby reached and the coupling of the traffic rate of the optical module that inserts and consistent with the optical module of this traffic rate that inquires by port one and access.
Need to prove that in addition the data communications equipment of present embodiment is specifically as follows one and has the communication equipment that the switch of at least one optical module port or router etc. are used for carrying out with optical module data communication.
The data communications equipment that the utility model provides, by when detecting arbitrary port and have optical module to insert, port address according to detected optical module access, read the speed identification information of this optical module, speed size of type with the optical module of discerning this connection, and its inner and optical module are carried out the traffic rate of the communication control circuit of data communication, automatically be set to consistent with the speed size of the optical module that inserts, thereby realized the automatic switchover of optical module traffic rate pattern in this data communications equipment, improved switching efficiency.
It should be noted that at last: above embodiment only in order to the explanation the technical solution of the utility model, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of each embodiment technical scheme of the utility model.

Claims (7)

1. a data communications equipment is characterized in that, comprising:
Several ports are used for being electrically connected with optical module;
The port testing circuit is used for obtaining the port address of described port when the arbitrary port that detects described several ports has optical module to insert, and sends interrupt requests and include the port address information of described port address;
Controller is used for when receiving described interrupt requests, according to the described port address information that receives, obtains the speed identification information by described port from described optical module, and sends described speed identification information;
The optical module communication control circuit is used for carrying out data communication with corresponding communication speed by described port and described optical module according to the described speed identification information that receives.
2. data communications equipment according to claim 1 is characterized in that, also comprises:
Be used for a circuit-switched data bus of described controller is expanded to multiplex data bus, and the bus expanded circuit that is connected with described several ports respectively.
3. data communications equipment according to claim 2 is characterized in that, described bus expanded circuit is specially I2C bus expanded circuit.
4. data communications equipment according to claim 1 is characterized in that, described port testing circuit comprises:
The port address store list is used to store the corresponding relation of described several ports and its corresponding port address;
The port address enquiry circuit is used for detecting the port that described optical module inserts according to the access signal of the described optical module that receives via described port transmission, and in described port address store list, inquiry and described port corresponding port address;
The port address transtation mission circuit, the port address information and the described interrupt requests that are used for including the described port address that inquires send to described controller.
5. data communications equipment according to claim 1 is characterized in that, described controller comprises:
The interrupt response circuit is used to respond the described interrupt requests that receives, according to the described port address information that receives, by sending the request of reading with described port address corresponding port to described optical module;
Speed sign acquisition cuicuit is used to receive the described speed identification information of the speed size of the described optical module of representative that described optical module sends;
Speed sign transtation mission circuit, the described speed identification information that is used for receiving sends to described optical module communication control circuit.
6. data communications equipment according to claim 1 is characterized in that, described optical module communication control circuit comprises:
The traffic rate memory is used for the corresponding relation of memory rate identification information and traffic rate;
Datel circuit is used at described traffic rate memory inquiry and the corresponding traffic rate of speed identification information that receives, and carries out data communication with the described traffic rate that inquires with the optical module that is connected.
7. according to the arbitrary described data communications equipment of claim 1~6, it is characterized in that described controller is connected by pci bus interface with described optical module communication control circuit.
CN2009202463731U 2009-10-13 2009-10-13 Data communication equipment Expired - Fee Related CN201528339U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009202463731U CN201528339U (en) 2009-10-13 2009-10-13 Data communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009202463731U CN201528339U (en) 2009-10-13 2009-10-13 Data communication equipment

Publications (1)

Publication Number Publication Date
CN201528339U true CN201528339U (en) 2010-07-14

Family

ID=42519621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009202463731U Expired - Fee Related CN201528339U (en) 2009-10-13 2009-10-13 Data communication equipment

Country Status (1)

Country Link
CN (1) CN201528339U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542367A (en) * 2018-10-26 2019-03-29 森大(深圳)技术有限公司 Print speed matching method, device and the print system of mainboard optical-fibre communications
CN111934774A (en) * 2020-08-21 2020-11-13 苏州苏驼通信科技股份有限公司 Optical module rate matching system and rate matching method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542367A (en) * 2018-10-26 2019-03-29 森大(深圳)技术有限公司 Print speed matching method, device and the print system of mainboard optical-fibre communications
CN111934774A (en) * 2020-08-21 2020-11-13 苏州苏驼通信科技股份有限公司 Optical module rate matching system and rate matching method

Similar Documents

Publication Publication Date Title
CN103248420B (en) Methods, systems and devices for detecting and identifying fiber connection
CN103019991B (en) Interface system and changing method, USB key and UART terminal
EP3029884A1 (en) Commissioning method, master control board, and service board
CN107453428A (en) A kind of method of automatic identification apple and Android device
CN208477523U (en) A kind of arithmetic system and corresponding electronic equipment
CN101958888A (en) Configuration method of port negotiation capacity, communication port and communication device
CN201528339U (en) Data communication equipment
CN111417034B (en) Switch and hot plug method, device and system for switch board card thereof
CN103856411A (en) Switching system connected with UART interface of router
CN101714925A (en) Method and system for managing ports of communication equipment, management equipment and communication equipment
CN103392303B (en) Receiving end detection method, detection circuit, optical module and system
CN110809003A (en) Method for protocol conversion between robot and welding equipment and protocol conversion module
CN103916188A (en) Method, device and system for determining correspondence between terminal and PON port
CN108132898A (en) Multiplex communication control method and communication box
CN104915308A (en) Method and device for supporting serial port and interface communication protocol stacks of TCP and UDP at same time
CN112260916A (en) Communication circuit, communication network, and communication abnormality processing method
CN112256618A (en) Mapping relation determining method and device
US11719890B2 (en) Passive optical couplers having passive optical activity indicators and methods of operating the same
CN101320968A (en) Self-adapting circuit and its processing method
CN204009881U (en) A kind of PCIE board with monitoring function
CN101883176A (en) Expansion card processing method, device and mobile terminal
CN110070703A (en) A kind of communication means, device, system and the medium of low-voltage collecting meter reading communication system
CN202282789U (en) SOE (SERCOS OVER EtherCAT) communication conversion card for servo driver
CN102064913B (en) Optical fiber module access system and method
US20100057961A1 (en) Network device and data transmitting method

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100714

Termination date: 20141013

EXPY Termination of patent right or utility model