CN108476245A - Establish the method and port chip of port connection - Google Patents

Establish the method and port chip of port connection Download PDF

Info

Publication number
CN108476245A
CN108476245A CN201680003258.4A CN201680003258A CN108476245A CN 108476245 A CN108476245 A CN 108476245A CN 201680003258 A CN201680003258 A CN 201680003258A CN 108476245 A CN108476245 A CN 108476245A
Authority
CN
China
Prior art keywords
port
type
rate
opposite end
chip
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
CN201680003258.4A
Other languages
Chinese (zh)
Other versions
CN108476245B (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.)
Huawei 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
Publication of CN108476245A publication Critical patent/CN108476245A/en
Application granted granted Critical
Publication of CN108476245B publication Critical patent/CN108476245B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

The embodiment of the present invention provides a kind of method and port chip for establishing port connection.The method is applied to the port chip, the method includes:The negotiation signal that opposite end is sent is received by the port;The communication speed of the port and opposite end is determined according to the negotiation signal;The port type that should be arranged of the port is determined according to the communication speed, and sets the port to the port type that should be arranged;Establish the connection of the port and the opposite end.The port type of intelligent port is arranged in the signal type that can be sent automatically according to opposite end using the present invention, without manual setting.

Description

Establish the method and port chip of port connection Technical field
The present invention relates to Network Connection fields, in particular to establish the method and port chip of port connection.
Background technique
In storage area network (Storage Area Network, SAN in), generally using optical-fibre channel (Fiber Channel) or internet small computer system port (Internet Small Computer System Interface, iSCSI) Ethernet is connected to the network, but with the development of ten thousand mbit ethernets (10Gbe), ten thousand mbit ethernets can be integrated into the storage area network with optical-fibre channel (Fiber Channel) connection, i.e. in a storage area network, exist simultaneously FC network and ten thousand mbit ethernets, user, which can according to need, selects different network connections, in this way, 10,000,000,000 can be added in the existing FC network architecture The connection of Ethernet achievees the purpose that reuse without replacing the existing FC network architecture.
As shown in Figure 1, the existing SAN framework by FC network connection is that server 101 passes through FC host bus adaptor (Host Bus Adapter, HBA) 102 it is connected to FC interchanger 103, FC interchanger 103 is connected to storage equipment 104 by the port FC HBA 102.In order to establish ten thousand mbit ethernet networks in the existing FC network architecture, then as shown in Figure 2, FCoE/iSCSI interchanger 105 is added in existing FC network, and by the Ethernet (Ethernet of server 101, ETH) HBA106 is connected to PCoE/iSCSI interchanger 105, and unified interface card (Unified Target Adapters is set in storage equipment 104, UTA) 107, FC interchanger 103 and FCoE/iSCSI interchanger 105 are connected to the UTA107 simultaneously, which supports the mutual conversion of the port FC and the port ETH.When needing using FC transmitted data on network, it needs that the port UTA is manually arranged to the port FC, then optical module is changed into FC optical module manually, when needing using ETH transmitted data on network, it needs that the UTA is manually arranged to the port ETH, optical module is then changed to ETH optical module.
Summary of the invention
The application provides the method and port chip for establishing port connection, can carry out difference automatically The switching of the network port.
The first aspect of the embodiment of the present invention, a kind of method for establishing port connection is provided, the method is applied to Single port chip, and the port chip includes port, at least one port type, the port chip is supported to execute the switching that the method carries out port type in the port.The method includes receiving the negotiation signal that opposite end is sent by the port, and the communication speed of the port and opposite end is determined according to the negotiation signal, after communication speed determines, the port type that should be arranged of the port can be determined according to identified communication speed, then the port type that should be arranged is set by the port, after the port type of the port determines, the connection of the port Yu the opposite end can be established.
Pass through the above method, the communication speed at both ends can be determined according to the signal that opposite end is sent, the port type that should be arranged of port is determined according to identified communication speed, and corresponding port type is set by port, both ends can carry out data communication according to the port type of setting, and the negotiation signal, that is, settable port port type so sent according to opposite end does not need manual setting, to improve the efficiency switched between different type network, and simplify operation.
In the first embodiment of first aspect, the corresponding rate set of every kind of port type at least one port type that the port is supported, in this way, when determining the type of the port according to the communication speed, the rate set where the communication speed is determined first, and the port type of the port is then determined according to the rate set.
The different rates supported by each type port can accurately and quickly determine the port type of the port.
In second of embodiment of first aspect, every kind of port type corresponds to Single port agreement, in this way, when setting the port type for the port, the corresponding Port Profile of the port type is obtained according to identified port type first, the Port Profile is called to set the port type for the port.
By all types of Port Profiles that storage port is supported in port chip, port can be made to support various ports type, and after port type determines, by calling the Port Profile of corresponding types that can set port to corresponding port type.
In the third embodiment of first aspect, on the basis of the second embodiment, every kind of port type that the port is supported corresponds to a rate set, is also stored with receiving velocity list and transmission rate list, the receiving velocity list and transmission in the port chip Rate in rate list is whole rates in the corresponding rate set of all of the port type, when determining the communication speed of the port and opposite end according to the negotiation signal, hold consultation according to the sequence from big to small of the rate in receiving velocity list and transmission rate list.
When rate consulation, the rate for all of the port type that the port is supported is concentrated in a set, the negotiation efficiency of rate is improved.
In the 4th kind of embodiment of first aspect, the type of the port is fiber port or ethernet port in above-mentioned first aspect perhaps first any embodiment to third embodiment.
Second aspect of the present invention provides a kind of port chip, and the port chip includes port, and various ports type is supported in the port, and the port chip further includes signal receiving module, rate determination module, port setup module, and establishes link block.The signal receiving module is used to receive the negotiation signal that opposite end is sent by the port, the rate determination module is used to determine the communication speed of the port and opposite end according to the negotiation signal, the port setup module is used to determine the port type that should be arranged of the port according to the communication speed and sets the port type that should be arranged for the port, and the link block of establishing is for establishing the connection of the port Yu the opposite end.
Above-mentioned port chip can determine the communication speed at both ends according to the signal that opposite end is sent, the port type that should be arranged of port is determined according to identified communication speed, and corresponding port type is set by port, both ends can carry out data communication according to the port type of setting, negotiation signal, that is, settable port the port type so sent according to opposite end, manual setting is not needed, thus the efficiency switched between improving different type network, and simplify operation.
In the first embodiment of second aspect of the present invention, the corresponding rate set of every kind of port type in the various ports type that the port is supported, the port setup module is when determining the port type of the port, specifically for the rate set where the determination communication speed, the port type of the port is determined according to the rate set.
The different rates supported by each type port can accurately and quickly determine the port type of the port.
In second of embodiment of second aspect of the present invention, every kind of port type corresponds to Single port agreement, the port setup module obtains the corresponding Port Profile of the port type according to identified port type first when setting the port type for the port;Then it adjusts The port type is set by the port with the Port Profile.
By all types of Port Profiles that storage port is supported in port chip, port can be made to support various ports type, and after port type determines, by calling the Port Profile of corresponding types that can set port to corresponding port type.
In the third embodiment of second aspect, the port is optical port, the signal that opposite end is sent is optical signal, and the rate determination module is when determining the communication speed of the port and opposite end, specifically for the communication speed of optical signal based on the received and Peer Negotiation and opposite end.
The optical module supports a plurality of types of optical module institutes supporting rate, in this way, optical module can recognize the optical signal of different types of port transmitting, so, when carrying out port switching, do not need the replacement for carrying out different type optical module.
In the 4th kind of embodiment of second aspect, on the basis of the third embodiment, the corresponding rate set of every kind of port type that the port is supported, receiving velocity list and transmission rate list are also stored in the port chip, rate in the receiving velocity list and transmission rate list is whole rates in the corresponding rate set of all of the port type, when determining the communication speed of the port and opposite end according to the negotiation signal, assisted according to the sequence from big to small of the rate in receiving velocity list and transmission rate list.
When rate consulation, the rate for all of the port type that the port is supported is concentrated in a big collection, the negotiation efficiency of rate is improved.
In the 5th kind of embodiment of second aspect, in any embodiment of above-mentioned first to fourth embodiment, the type of the port is fiber port or ethernet port.
Third aspect present invention provides a kind of port chip, the port chip includes port, memory, processor and bus, the processor is connect by the bus with the port and memory, program instruction is stored in the memory, any one in first to fourth embodiment of the processor operation described program instruction to execute first aspect or first aspect establishes the method connected between port.
Fourth aspect present invention provides a kind of storage equipment, the storage equipment includes port chip, the port chip includes port, memory, processor and bus, the processor is connect by the bus with the port and memory, program instruction is stored in the memory, the processor operation described program instruction is to execute the first of first aspect or first aspect Any one into the 5th embodiment establishes the method connected between port.
To sum up, the embodiment of the present invention passes through in the SAN network connected with multiple network, the network port is configured to the intelligent port of port type is arranged automatically, the intelligent port can support a plurality of types of network ports, the intelligent port can determine the type of intelligent port according to the negotiation signal of the opposite end received, then the intelligent port is set to the network port of identified type, so, when carrying out the switching of heterogeneous networks connection, the intelligent port can carry out the setting of port type automatically according to received signal, manual setting is not needed, to improve the efficiency switched between heterogeneous networks, and simplify operation.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, the drawings to be used in the description of the embodiments or prior art will be briefly described below, apparently, drawings in the following description are only some embodiments of the invention, for those of ordinary skill in the art, without any creative labor, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the architecture diagram for the storage area network being connected to the network in the prior art by FC network.
Fig. 2 is in the prior art in the architecture diagram for the storage area network being connected to the network by FC network and ETH.
Fig. 3 is in the embodiment of the present invention by the architecture diagram of FC network and the ETH storage area network being connected to the network.
Fig. 4 is the structure chart of the intelligent port chip in the embodiment of the present invention.
Fig. 5 establishes the flow chart of the method for connection for the intelligent port chip in the embodiment of the present invention with opposite end.
Fig. 6 is that intelligent port chip and opposite end in the embodiment of the present invention is held consultation the determining flow chart with the method for the communication speed of opposite end.
Fig. 7 is the module map of the intelligent port chip in the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, every other embodiment obtained by those of ordinary skill in the art without making creative efforts, shall fall within the protection scope of the present invention.
Based in SAN shown in Fig. 2 while including FC network and Ethernet, when carrying out heterogeneous networks switching, the problem of needing the port type of manual setting UTA, the port UTA in Fig. 2 is changed to a kind of intelligent port 108 as shown in Figure 3 by the embodiment of the present invention, the intelligent port 108 can the received opposite end transmission of automatic identification institute signal type, and the intelligent port 108 is switched to port corresponding with the signal type, the port type of signal type setting intelligent port 108 to be sent automatically according to opposite end, without manual setting.
The intelligent port 108 is provided by an intelligent port chip 40 is (as shown in Figure 4), and in the present embodiment, the intelligent port chip 40 is mounted in the storage equipment 104, and is that the storage equipment 104 provides intelligent port function.But in actual use, the intelligent port chip 40 is mountable in the equipment for arbitrarily needing intelligent port, and is not limited in installation into storage equipment.
As shown in figure 4, being the structure chart of the intelligent port chip 40 of the offer intelligent port 108 in the embodiment of the present invention.
The intelligent port chip 40 includes processor 401, memory 402, at least one intelligent port 108, bus 404.The processor 401 is connect by bus 404 with other elements, to be communicated with other elements.
In the present embodiment, the signal that opposite end is sent is optical signal, the intelligent port 108 is also optical port, an optical module 405 can be connected, after optical module 405 is connected to intelligent port 108, optical signal that the optical module 405 opposite end ready to receive is sent, and the intelligent port 108 is transferred to after the optical signal received is converted to electric signal, intelligent port 108 handles electric signal transmission to the processor 401, is communicated in this way, the intelligent port 108 can be realized with opposite end.
The optical module 405 includes receiving end Rx and transmitting terminal Tx, the receiving end Rx is used to receive the optical signal of opposite end transmission, and the optical signal received is converted into electric signal, the electric signal after conversion is transmitted to the processor 401 by the intelligent port 108 and is handled, the place The reason information to be sent of device 401 is transmitted to the intelligent port 108, after the electric signal that intelligent port 108 transmits is converted to optical signal by the optical module 405, is sent to opposite end by the transmitting terminal Tx of the optical module 405.
The memory 402 can be nonvolatile memory (non-volatile memory, NVM), it is wherein stored with port type and determines program 406, and the corresponding Port Profile of port type that the intelligent port chip 40 is supported, such as ETH Port Profile 407 and FC Port Profile 408, in the embodiment of the present invention, the intelligent port 108 can support at least two port types, every kind of port type to correspond to a kind of Port Profile.After the optical module 405 is inserted into the intelligent port 108, when the processor 401 detects the negotiation signal of opposite end transmission, the port type is run to determine program 406 and carry out rate consulation according to the negotiation signal and Peer-Port, and after rate consulation is good, the current port type of the intelligent port 108 is determined according to the rate negotiated, and starts the port type corresponding Port Profile and the intelligent port 108 is set, to establish connection with opposite end, it establishes after connection, the data-signal of opposite end transmission ready to receive, and the controller 1041 that received data signal is transmitted to the storage equipment 104 is handled, normal data communication can be so established with opposite end.
As shown in figure 5, the flow chart of the method for connection is established with opposite end for the intelligent port chip 40.The method, which specifically runs the port type by the processor 401 and determines program 406, to be executed.The described method includes:
Step S501 receives the negotiation signal that opposite end is sent.
In the present embodiment, the negotiation signal that the opposite end is sent is the negotiation signal sent by FC the ETH interchanger connecting with the intelligent port 108, in the embodiment that server and storage equipment are connected directly, the negotiation signal that opposite end is sent can be the negotiation signal directly sent by the port FC of server or the port ETH.
The negotiation signal has specific coding, and for the processor 401 after the signal for receiving opposite end transmission, whether identification received signal first has specific coding, if it is the signal with specific coding, that is, can determine that received signal is negotiation signal.
Step S502 negotiates the communication speed with opposite end according to the negotiation signal received.
Herein, the rate consulation between two ports follows FC-FS-3 (Fibre Channel Framing and Signaling -3) standard, and the method specifically negotiated please refers to the description of Fig. 6.
Step S503 determines should setting for the intelligent port 108 according to the communication speed negotiated The port type set.
The present embodiment, the set for the rate value that every kind of port type that the intelligent port chip 40 is supported is supported also is stored in the memory 402, such as the collection of rate value that the port FC is supported is combined into { 4Gbps, 8Gbps, 16Gbps, 32Gbps }, the collection for the rate value that ETH is supported port is combined into { 10Gbps, 25Gbps }.So, it is compared by the rate for being supported each type port stored in identified communication speed and memory 402, if the communication speed is consistent with one of rate in a rate set, it can determine that the corresponding port type of rate set is the port type of the intelligent port.For example, one of rate supported by the port ETH then can determine that the type of the intelligent port is the port ETH if identified communication speed is 10Gbps.
Step S504 obtains Port Profile according to the identified port type that should be arranged, the port type of the intelligent port is arranged.
As described above, the communications protocol for all of the port type that the intelligent port 108 can be supported is stored in the memory 402, after the port type of the intelligent port 108 determines, the corresponding communications protocol of the port type can be called, set the intelligent port 108 to the port of respective type, the automatic setting to the intelligent port 108 so can be completed, without manual intervention.
Step S505 establishes the connection with opposite end, to carry out data communication with opposite end.
Through the above embodiments of the present invention, the intelligent port 108 can the received opposite end transmission of automatic identification institute negotiation signal type, and the intelligent port 108 is switched to port corresponding with the signal type, the port type of signal type setting intelligent port to be sent automatically according to opposite end, without manual setting.
As shown in fig. 6, being the processor 401 according to the flow chart of the negotiation signal negotiation and the method for the communication speed of opposite end that receive.
Step S61, the processor 401 detect the negotiation signal that opposite end is sent.
The port that opposite end can be interchanger is also possible to the port of server, and the port that opposite end sends negotiation signal can be the port FC, be also possible to ethernet port.After the optical module at both ends all connects, the receiving end Rx of the optical module 405 of the intelligent port 108 is the negotiation signal that may detect that opposite end transmitting, and opposite end can also detect the negotiation signal of the transmitting terminal Tx transmitting of the optical module 405 of the intelligent port 108.In embodiments of the present invention, it is detected to save It to the energy consumption that end signal generates, then can set at regular intervals, such as 1.6ms detecting is primary.
Step S62, after the negotiation signal for detecting opposite end transmission, the receiving velocity Rxv of the receiving end Rx of intelligent port 108 is arranged as the maximum rate Rxmax in receiving velocity list in the processor 401, the transmission rate Txv of the transmitting terminal Tx of intelligent port 108 is set for the maximum rate Txmax in transmission rate list, and starts receiving velocity timer and transmission rate timer.
In the present embodiment, the receiving end rate list and transmitting terminal rate list list all rates that the intelligent port 108 is supported according to the sequence of rate from big to small, the total set for the rate that every kind of port type that also the as described intelligent port 108 is supported is supported.Such as, the port type that the intelligent port 108 is supported has the port FC and the port ETH, the rate that FC is supported port is { 4Gbps, 8Gbps, 16Gbps, 32Gbps }, the rate that ETH is supported port is that { 10Gbps, 25Gbps }, then the receiving end rate list and transmitting terminal rate list are { 4Gbps, 8Gbps, 10Gbps, 16Gbps, 25Gbps, 32Gbps }.The rate that the intelligent port 108 can be communicated with opposite end is the rate that the intelligent port is supported.The intelligent port 108 can carry out rate consulation according to the rate listed in the receiving end rate list and transmitting terminal rate list.
In addition, in the present embodiment, being also provided with receiving velocity timer and transmission rate timer, the receiving velocity timer is used to control and receive the negotiation time of rate, and the transmission rate timer is used to control the negotiation time of transmission rate.Concrete application please refers to following description.
Step S63, every the first preset time, determine the negotiation signal of received opposite end rate.
During rate consulation, it is continually changing for carrying out negotiation signal transmitted by the both ends of rate consulation, so the rate of primary received negotiation signal is redefined every the first preset time, to trigger the negotiation of a receiving end rate.
Step S64, determine received negotiation signal rate it is whether consistent with the set receiving velocity Rxv of intelligent terminal 108, if inconsistent, then explanation is without in negotiation, then follow the steps S66, if consistent, illustrate the rate that the intelligent port 108 supports Peer-Port to send, then follow the steps S65.
Step S65, judges whether the current receiving velocity is more than or equal to the currently transmitted rate of set intelligent port 108, if more than or be equal to, then illustrate currently negotiated rate, The i.e. described current receiving velocity is the maximum rate that both ends are all supported, then illustrates that the intelligent port 108 on the rate consulation of opposite end, thens follow the steps S67, using the current receiving velocity as the negotiated speed of intelligent port and opposite end.If being less than, illustrate that intelligent port 108 supports the transmission rate of opposite end, still, which may not be that the maximum value for the rate that intelligent port and Peer-Port are supported jointly thens follow the steps S66 so also to continue to negotiate.
Step S66, judges whether the timing of the receiving velocity timer is greater than the second preset time.
Second preset time is the pre-set duration for carrying out receiving velocity negotiation, second preset time is related with the number of rate in the first preset time and receiving velocity list, first preset time is the second preset time multiplied by the number of the rate in receiving velocity list, it can guarantee in the second preset time in this way, all rates in the receiving velocity list were all negotiated once.When the timing of the receiving velocity timer is not more than second preset time, S68 is thened follow the steps, when the timing of the receiving velocity timer is greater than second preset time, thens follow the steps S69.
Step S68, update current receiving velocity Rxv, updated current receiving velocity is next rate Rxnext of the current receiving velocity Rxv before updating in receiving velocity list, to prepare to hold consultation to next rate Rxnext, next rate Rxnext can also be recorded as an interim receiving velocity, use when being negotiated with facilitating followed by transmission rate, then return step S63.
Step S69 sets equal with current transmission rate Txv for current receiving velocity Rxv.
Step S70 determines whether the rate of received negotiation signal is consistent with current receiving velocity Rxv, if unanimously, in the currently transmitted rate Txv negotiation for illustrating received negotiation signal rate and intelligent port 108, thening follow the steps S67;If inconsistent, S71 is thened follow the steps.
Execute step S69 and S70, will current receiving velocity Rxv be set as with after current transmission rate Txv, once negotiated with the rate of received negotiation signal again, if in negotiation, it does not need then to execute the currently transmitted rate of subsequent adjustment and continue the process negotiated, so as to quickly determine negotiated speed.
Step S71, when judging whether transmission rate timer institute timing duration is preset more than third It is long.The third preset duration is used to control the negotiation duration of transmission rate, the third preset duration is related with the number of transmission rate in second preset duration and the transmission rate list, the i.e. described third preset duration is equal to second preset duration multiplied by the number of the transmission rate in the transmission rate list, it can guarantee within the period 3 in this way, each transmission rate in the transmission rate list was negotiated once.If transmission rate timer institute's timing duration is more than third preset duration, S72 is thened follow the steps, if transmission rate timer institute timing duration is not above third preset duration, thens follow the steps 73.
Step 72, update currently transmitted rate Txv, updated currently transmitted rate Txv is next rate Txnext of the currently transmitted rate before updating in transmission rate list, and it is the interim receiving velocity recorded in step 68 that current receiving velocity, which is arranged, then return step S63.I.e. after currently transmitted rate Txv update, a wheel negotiation is carried out again to the receiving velocity received in rate list.Set the interim receiving velocity Rxmem for current receiving velocity Rxv, can currently transmitted rate Txv update after, from the interim receiving velocity Rxmem for recording receiving velocity when receiving velocity timer terminates timing negotiate.
Step S73, this connection failure terminate to negotiate.
It is the communication speed that can determine the intelligent port 108 and opposite end by the above method, processing unit is the port type that can determine the intelligent port according to identified communication speed.
As shown in fig. 7, being a kind of module map of intelligent port 700 provided in an embodiment of the present invention.The intelligent port includes signal receiving module 701, rate determination module 702, port setup module 703 and establishes link block 704.
The signal receiving module 701 is used to receive the negotiation signal of opposite end transmission, corresponding with the step S501 of method for establishing connection described in Fig. 5.
The rate determination module 702 is used to negotiate according to the negotiation signal received the communication speed with opposite end, corresponding with the step S501 of method for establishing connection described in Fig. 5.Herein, the rate consulation of the negotiation signal between two ports follows FC-FS-3 (Fibre Channel Framing and Signaling -3) standard, and the method specifically negotiated please refers to the description of Fig. 6, and details are not described herein.
The port setup module 703 is used to determine the port type of the intelligent port according to the communication speed that the rate determination module 702 is negotiated, and the corresponding Port Profile of the port type is obtained according to identified port type, the port type of the intelligent port is arranged It is corresponding with the step S503 and S504 of method for establishing connection described in Fig. 5.
The present embodiment, the method for determination of the port type of the intelligent port is consistent with the method for determination of method middle port type of connection is established described in Fig. 5, and details are not described herein.
It is described to establish link block 704, for the connection with opposite end can be established after the port setup module sets the intelligent port, to carry out data communication with opposite end.
So, the intelligent port 108 can the received opposite end transmission of automatic identification institute negotiation signal signal type, and the intelligent port 108 is switched to port corresponding with the signal type, to the port type of the signal type setting intelligent port of the negotiation signal sent automatically according to opposite end, without manual setting.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is relevant hardware can be instructed to complete by program, the program can be stored in a computer readable storage medium, and storage medium may include: ROM, RAM, disk or CD etc..
It is provided for the embodiments of the invention data block writing station above and method is described in detail, used herein a specific example illustrates the principle and implementation of the invention, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;At the same time, for those skilled in the art, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (10)

  1. A method of port connection is established, port chip is applied to, the port chip includes port, and at least one port type is supported in the port, which is characterized in that the described method includes:
    The negotiation signal that opposite end is sent is received by the port;
    The communication speed of the port and opposite end is determined according to the negotiation signal;
    The port type that should be arranged of the port is determined according to the communication speed, and sets the port type that should be arranged for the port;
    Establish the connection of the port Yu the opposite end.
  2. The method as described in claim 1, which is characterized in that the corresponding rate set of every kind of port type at least one port type that the port is supported, the type that the port is determined according to the communication speed include:
    Determine the rate set where the communication speed;
    The port type that should be arranged of the port is determined according to the rate set.
  3. The method as described in claim 1, which is characterized in that every kind of port type corresponds to Single port agreement, described to set the port type for the port and include:
    The corresponding Port Profile of the port type is obtained according to the identified port type that should be arranged;
    The Port Profile is called to set the port type for the port.
  4. Method as claimed in claim 3, it is characterized in that, the corresponding rate set of every kind of port type at least one port type that the port is supported, receiving velocity list and transmission rate list are also stored in the port chip, rate in the receiving velocity list and transmission rate list is whole rates in the corresponding rate set of all of the port type, when determining the communication speed of the port and opposite end according to the negotiation signal, hold consultation according to the sequence from big to small of the rate in receiving velocity list and transmission rate list.
  5. Various ports type is supported in a kind of port chip, including port, the port, which is characterized in that the port chip further include:
    Signal receiving module, for receiving the negotiation signal that opposite end is sent by the port;
    Rate determination module, for determining the logical of the port and opposite end according to the negotiation signal Interrogate rate;
    Port setup module is set as the port type that should be arranged for determining the port type that should be arranged of the port according to the communication speed, and by the port;
    Link block is established, for establishing the connection of the port Yu the opposite end.
  6. Port chip as claimed in claim 5, it is characterized in that, the corresponding rate set of every kind of port type in the various ports type that the port is supported, the port setup module is when determining the port type of the port, specifically for the rate set where the determination communication speed, the port type of the port is determined according to the rate set.
  7. Port chip as claimed in claim 5, which is characterized in that every kind of port type corresponds to Single port agreement, and the port setup module is specifically used for when setting the port type for the port:
    The corresponding Port Profile of the port type is obtained according to the identified port type that should be arranged;
    The Port Profile is called to set the port type for the port.
  8. Port chip as claimed in claim 5, which is characterized in that the port is optical port, and the optical port includes optical module, the corresponding rate of all of the port type that the optical module supports the port to be supported.
  9. Port chip as claimed in claim 8, it is characterized in that, the corresponding rate set of every kind of port type in the various ports type that the port is supported, receiving velocity list and transmission rate list are also stored in the port chip, rate in the receiving velocity list and transmission rate list is whole rates in the corresponding rate set of all of the port type, when determining the communication speed of the port and opposite end according to the negotiation signal, hold consultation according to the sequence from big to small of the rate in receiving velocity list and transmission rate list.
  10. A kind of port chip, including port, memory, processor and bus, the processor is connect by the bus with the port and memory, and program instruction is stored in the memory, and the processor operation described program instruction requires method described in any one of 1-4 with perform claim.
CN201680003258.4A 2016-08-22 2016-08-22 Method for establishing port connection and port chip Active CN108476245B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/096249 WO2018035681A1 (en) 2016-08-22 2016-08-22 Method of establishing interface connection, and interface chip

Publications (2)

Publication Number Publication Date
CN108476245A true CN108476245A (en) 2018-08-31
CN108476245B CN108476245B (en) 2022-01-11

Family

ID=61245997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201680003258.4A Active CN108476245B (en) 2016-08-22 2016-08-22 Method for establishing port connection and port chip

Country Status (2)

Country Link
CN (1) CN108476245B (en)
WO (1) WO2018035681A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109444547A (en) * 2018-11-22 2019-03-08 北京智芯微电子科技有限公司 RFID chip impedance measurement method and device based on two-port network
CN112887223A (en) * 2021-01-12 2021-06-01 中国电子科技集团公司第五十八研究所 Rate adaptation method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616189A (en) * 2009-07-17 2009-12-30 北京星网锐捷网络技术有限公司 A kind of negotiation method of Ethernet port, device and the network equipment
WO2010114439A1 (en) * 2009-03-31 2010-10-07 Telefonaktiebolaget L M Ericsson (Publ) Energy efficient ethernet network nodes and methods for use in ethernet network nodes
CN103222251A (en) * 2012-11-29 2013-07-24 华为技术有限公司 Ether port auto-negotiation and communication equipment
CN105245457A (en) * 2015-10-21 2016-01-13 盛科网络(苏州)有限公司 Method and device for accelerating convergence speed of designated port in MSTP

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010114439A1 (en) * 2009-03-31 2010-10-07 Telefonaktiebolaget L M Ericsson (Publ) Energy efficient ethernet network nodes and methods for use in ethernet network nodes
CN101616189A (en) * 2009-07-17 2009-12-30 北京星网锐捷网络技术有限公司 A kind of negotiation method of Ethernet port, device and the network equipment
CN103222251A (en) * 2012-11-29 2013-07-24 华为技术有限公司 Ether port auto-negotiation and communication equipment
CN105245457A (en) * 2015-10-21 2016-01-13 盛科网络(苏州)有限公司 Method and device for accelerating convergence speed of designated port in MSTP

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109444547A (en) * 2018-11-22 2019-03-08 北京智芯微电子科技有限公司 RFID chip impedance measurement method and device based on two-port network
CN109444547B (en) * 2018-11-22 2020-12-15 北京智芯微电子科技有限公司 RFID chip impedance measuring method and device based on two-port network
CN112887223A (en) * 2021-01-12 2021-06-01 中国电子科技集团公司第五十八研究所 Rate adaptation method, device and storage medium

Also Published As

Publication number Publication date
WO2018035681A1 (en) 2018-03-01
CN108476245B (en) 2022-01-11

Similar Documents

Publication Publication Date Title
KR102569761B1 (en) Semiconductor device, semiconductor system and method for operating semiconductor device
EP2685760B1 (en) Device, link energy management method and link energy management system for peripheral component interconnect (pci) express
US7200641B1 (en) Method and system for encoding SCSI requests for transmission using TCP/IP
US20110211129A1 (en) Method and system for configuring an asymmetric link based on monitored messages
US20070198761A1 (en) Connection management mechanism
CN103797732A (en) Communication method, peripheral component interconnect express (PCIE) chip and PCIE devices
CN108011797B (en) Ethernet communication system based on 1553B protocol
EP2999168A1 (en) Collaboration method and system in distributed resilient network interconnect system
CN105591817B (en) A kind of negotiation mode processing method and Intelligent Network Element
CN110069288A (en) USB device sharing method, apparatus and system
CN111835569B (en) Self-adaptive method, system and storage medium for optical port speed and mode
CN108476245A (en) Establish the method and port chip of port connection
CN105453495A (en) Routing node, optical switching network and optical signal transmission method
US10614012B2 (en) System and method for controlling the performance of serial attached SCSI (SAS) target devices
CN107920136B (en) Data synchronization control method, device and server
US20230367728A1 (en) Link width adjustment method and apparatus
CN107181702B (en) Device for realizing RapidIO and Ethernet fusion exchange
US20080181235A1 (en) Communicating Configuration Information Over Standard Interconnect Link
US20070171860A1 (en) Method for negotiating the bandwidth of data communication channel automatically
CN111585791A (en) Data synchronization configuration method, system and storage medium
CN110750478A (en) Multi-serial port communication method and system
WO2013154558A1 (en) Reconfiguration of an optical connection infrastructure
US20010023452A1 (en) Interface link layer device for long delay connections
US7403519B2 (en) Asymmetric ethernet network data transfer system and method
US9602355B2 (en) Network interface with adjustable rate

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant