CN104184636A - Connection establishing method, IP hard disk and server - Google Patents
Connection establishing method, IP hard disk and server Download PDFInfo
- Publication number
- CN104184636A CN104184636A CN201410410676.8A CN201410410676A CN104184636A CN 104184636 A CN104184636 A CN 104184636A CN 201410410676 A CN201410410676 A CN 201410410676A CN 104184636 A CN104184636 A CN 104184636A
- Authority
- CN
- China
- Prior art keywords
- hard disk
- server
- connection request
- tcp connection
- tcp
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method for establishing connection between an IP hard disk and a server, the IP hard disk and the server. The method for establishing connection between the IP hard disk and the server comprises the steps that the IP hard disk generates a TCP connection request for establishing TCP connection between the IP hard disk and the server; the IP hard disk sends the TCP connection request to the server; the IP hard disk receives a TCP connection request response sent by the server and establishes TCP connection with the server.
Description
Technical field
The present invention relates to technical field of memory, relate in particular to a kind of method connecting, IP hard disk and server.
Background technology
Hard disk, as the basic medium of data storage, is just being undertaken important effect from the date of birth.Each innovation of seagate has all determined the variation of the superstructures such as data center, is enterprise for the lifting in itself business efficiency and the reduction on cost and this variation brings.At large data age, along with the storage demand of mass data, user need to transmission speed, more energy-conservation hardware device be helped their these data of storage administration faster.
IP hard disk is just to provide the hard disk of IP protocol interface, and it has abandoned traditional interface and the consensus standard of hard disk completely, adopts the IP ethernet technology of simple general-purpose more to come to transmit data between server.Adopt IP interface to make interconnected simpler between server and hard disk, almost there is no distance limit.
The method connecting between existing IP hard disk and server is as follows: the first step, and when IP hard disk insertion groove position or while powering on for the first time, IP hard disk sends the request of distributing IP address to proxy server; Second step, proxy server receives after the request of distributing IP address, to IP hard disk distributing IP address, and simultaneously by information reporting servers such as the IP addresses of IP hard disk; The 3rd step, server is being received after the information of the IP hard disk that proxy server reports, and sends to described IP hard disk the request that TCP connects of setting up; The 4th, IP hard disk is received after request, responds this request, sets up TCP be connected with described server, makes the working procedure of described server can call the data of described IP hard disk.
But, according to Transmission Control Protocol, send the port that a TCP connection request can consume a transmitting terminal, therefore, in aforesaid way, often set up TCP with an IP hard disk and be connected, all can consume a port of described server, cause the IP hard disk connecting at needs when more, occur that the port number of described server does not meet the problem of user demand.
Summary of the invention
The embodiment of the present application provides a kind of method connecting between IP hard disk and server, IP hard disk and server, for solving the IP hard disk connecting at needs that prior art exists when more, occur that the port number of described server does not meet the technical problem of user demand.
Embodiment of the present invention first aspect provides a kind of method connecting between IP hard disk and server, and described method comprises: IP hard disk generates for asking and between described IP hard disk and described server, sets up the TCP connection request that TCP connects; Described IP hard disk initiates to send described TCP connection request to described server; Described IP hard disk receives the TCP connection request response that described server sends, and between described server, sets up TCP and be connected.
In the possible implementation of first aspect the first, before described IP hard disk initiates to send described TCP connection request to server, described method also comprises: described IP hard disk receives the announcement information that described server sends, and described announcement information is used for notifying described IP hard disk to initiate to send TCP connection request to described server.
In conjunction with the possible implementation of the first of first aspect, first aspect, in the possible implementation of first aspect the second, before described IP hard disk initiates to send described TCP connection request to server, described method also comprises: described IP hard disk receives the datagram that described server sends, and described datagram comprises the IP address of described IP hard disk and the port of monitoring.
Embodiment of the present invention second aspect provides a kind of method connecting between IP hard disk and server, described method comprises: server receives IP hard disk and initiates the TCP connection request sending, and described TCP connection request sets up for asking the TCP connection request that TCP connects between described IP hard disk and described server; Described server responds described TCP connection request, and between described IP hard disk, sets up TCP and be connected.
In the possible implementation of second aspect the first, receive at described server that IP hard disk initiates to send for before asking to set up between described IP hard disk and described server the TCP connection request that TCP connects, described method also comprises: described server sends announcement information to described IP hard disk, and described announcement information is used for notifying described IP hard disk to initiate to send TCP connection request to described server.
In conjunction with the possible implementation of the first of second aspect, second aspect, in the possible implementation of second aspect the second, receive at described server that IP hard disk initiates to send for before asking to set up between described IP hard disk and described server the TCP connection request that TCP connects, described method also comprises: described server sends datagram to described IP hard disk, and described datagram comprises the IP address of described IP hard disk and the port of monitoring.
The embodiment of the present invention third aspect provides a kind of IP hard disk, and described IP hard disk comprises: generation unit, between described IP hard disk and described server, set up for generating for asking the TCP connection request that TCP connects; Initiate transmitting element, for sent described TCP connection request to described server; Response receiving element, the TCP connection request response sending for receiving described server, and between described server, set up TCP and be connected.
In the possible implementation of third aspect the first, described IP hard disk also comprises: notice receiving element, the announcement information sending for receiving described server, described announcement information is used for notifying described IP hard disk to initiate to send TCP connection request to described server.
In conjunction with the possible implementation of the first of the third aspect, the third aspect, in the possible implementation of third aspect the second, described IP hard disk also comprises: report receiving element, the datagram sending for receiving described server, described datagram comprises the IP address of described IP hard disk and the port of monitoring.
Embodiment of the present invention fourth aspect provides a kind of server, described server comprises: receiving element, the TCP connection request connecting for ask to set up TCP between described IP hard disk and described server of initiating to send for receiving IP hard disk, described TCP connection request is set up TCP for request and is connected between described IP hard disk and described server; Response unit, for responding described TCP connection request, and sets up TCP between described IP hard disk and is connected.
In the possible implementation of fourth aspect the first, described server also comprises: notice transmitting element, for sending announcement information to described IP hard disk, described announcement information is used for notifying described IP hard disk to initiate to send TCP connection request to described server.
In conjunction with the possible implementation of the first of fourth aspect, fourth aspect, in the possible implementation of fourth aspect the second, described server also comprises: report transmitting element, for sending datagram to described IP hard disk, described datagram comprises the IP address of described IP hard disk and the port of monitoring.
A kind of method connecting between IP hard disk and server of the embodiment of the present invention, IP hard disk and server, in the time that described IP hard disk and described server connect, send TCP connection request by described IP hard disk to described server, therefore, described server is often set up TCP with an IP hard disk and is connected, can consume a port of described IP hard disk, and can not consume a port of described server, even if thereby when the IP hard disk connecting at needs is more, the port number of described server also can meet user demand, thereby solve in prior art because described server is often set up TCP with an IP hard disk and is connected, just can consume a port of described server, cause the IP hard disk connecting at needs when more, occur that the port number of described server does not meet the technical problem of user demand.
Brief description of the drawings
Fig. 1 is the flow chart of the method that connects between IP hard disk and server of the application's one execution mode;
Fig. 2 is the flow chart of the method that connects between IP hard disk and server of another execution mode of the application;
Fig. 3 is the physical structure annexation schematic diagram of the application IP hard disk and server;
Fig. 4 is the flow chart of the method that connects between IP hard disk and server of the another execution mode of the application;
Fig. 5 is the flow chart of the method that connects of the application's one execution mode (IP hard disk side);
Fig. 6 is the flow chart of the method that connects of the application's one execution mode (server side);
Fig. 7 is the structural representation block diagram of the application's one execution mode IP hard disk;
Fig. 8 is the structural representation block diagram of the application's one execution mode server;
Fig. 9 is the structural representation of the another execution mode IP of the application hard disk;
Figure 10 is the structural representation of the another execution mode server of the application.
Embodiment
In order better to understand technique scheme, below in conjunction with Figure of description and concrete execution mode, technique scheme is described in detail.
Be described below in conjunction with IP hard disk and/or server.In order better to understand present techniques scheme, below, the method connecting alternately between paper IP hard disk and server, is described present techniques scheme.The flow chart of the method connecting between IP hard disk and server for the application's the first preferred embodiments as shown in Figure 1.The described method connecting is applied between described IP hard disk and server.The described method connecting comprises the following steps:
Step 110, described IP hard disk generates for asking and between described IP hard disk and described server, sets up the TCP connection request that TCP connects.
IP, English full name is Internet Protocol, Chinese full name is the agreement interconnecting between network.IP hard disk is a kind of hard disk being connected with server by Ethernet interface, and IP hard disk can be assigned corresponding IP address.TCP, English full name is Transmission Control Protocol, Chinese full name is transmission control protocol.
Described IP hard disk can initiatively generate a TCP connection request, also can under certain condition, just generate a TCP connection request.In the present embodiment, described IP hard disk is for initiatively generating a TCP connection request.Generating after TCP connection request execution step 120.
Step 120, described IP hard disk sends described TCP connection request to described server.That is to say, TCP connection request is initiatively sent by IP hard disk, according to Transmission Control Protocol, sends a TCP connection request and can consume the port of a transmitting terminal, therefore, now can consume a port of IP hard disk.
Step 130, server receives the TCP connection request that IP hard disk sends, and described TCP connection request is set up TCP for request and is connected between described IP hard disk and described server.
Step 140, described server responds described TCP connection request, and between described IP hard disk, sets up TCP and be connected.
Step 150, described IP hard disk receives the TCP connection request response that described server sends, and between described server, sets up TCP and be connected.
Described IP hard disk sends described TCP connection request, described server just receives and responds described TCP connection request, and can not send described TCP connection request, therefore,, according to Transmission Control Protocol, send a TCP connection request and can consume the port of transmitting terminal, and can not consume the port of a receiving terminal, therefore, use after the method, can not consume the port of server.
Taking current Transmission Control Protocol as example, concrete elaboration set up the step that TCP connects:
First, generate for request and between client (IP hard disk) and server, set up the SYN bag (TCP connection request) that TCP connects;
Then, SYN bag (SYN=j) is arrived server by client (IP hard disk), and enter SYN_SEND state, and waiting for server is confirmed;
Again, server is received the SYN (ACK=j+1) that must confirm client after SYN wraps, and oneself also sends SYN bag (SYN=k) simultaneously, and SYN+ACK wraps, and now, server enters SYN_RECV state;
Finally, client (IP hard disk) is received the SYN+ACK bag of server, send and confirm bag ACK (ack=k+1) to server, this bag is sent, client and server enters ESTABLISHED state, complete TCP and connect, client (IP hard disk) starts to transmit data with server.
Therefore, the above-mentioned method connecting, in the time that described IP hard disk and described server connect, send TCP connection request by described IP hard disk to described server, therefore, described server is often set up TCP with an IP hard disk and is connected, can consume a port of described IP hard disk, and can not consume a port of described server, even if thereby when the IP hard disk connecting at needs is more, the port number of described server also can meet user demand, thereby solve in prior art because described server is often set up TCP with an IP hard disk and is connected, just can consume a port of described server, cause the IP hard disk connecting at needs when more, occur that the port number of described server does not meet the technical problem of user demand.
Based on same inventive concept, the application also provides a kind of method connecting.Fig. 2 is the flow chart of the method that connects of another execution mode of the application (IP hard disk and server interaction).The difference of the method that the execution mode (IP hard disk and server interaction) in the method and Fig. 1 connects is: before described step 110, described in the method that connects further comprising the steps of:
Step 210, described server sends announcement information to described IP hard disk, and described announcement information is used for notifying described IP hard disk to send TCP connection request to described server.Described notification signal can be continuous digital signal, pulse signal etc., as 0101.
Step 220, described server sends datagram to described IP hard disk, and described datagram comprises the IP address of described IP hard disk and the port of monitoring.In the present embodiment, described datagram is UDP (User Datagram Protocol, user datagram), and UDP is a kind of a kind of data encapsulation form using in TCP/IP network transmission layer.In other embodiments, described datagram comprises can being the datagram of other encapsulation format, as:
In the present embodiment, the content of data is the IP dish listening port number of 16, and 32 IP hard disk IP addresses.
Step 230, described IP hard disk receives the announcement information that described server sends, and described announcement information is used for notifying described IP hard disk to send TCP connection request to described server.
Step 240, described IP hard disk receives the datagram that described server sends, and described datagram comprises the IP address of described IP hard disk and the port of monitoring.
After described IP hard disk receives the datagram that described server sends, or after IP hard disk receives the announcement information that described server sends, or after IP hard disk receives the datagram and announcement information that described server sends, execution step 110.That is to say, in the present embodiment, described IP hard disk is under certain condition, just to generate a TCP connection request.In the present embodiment, " certain condition " refers to that described IP hard disk receives the datagram that described server sends, or IP hard disk receives the announcement information that described server sends, or receives at IP hard disk datagram and the announcement information that described server sends.
In above-mentioned steps, except after described step 230 must be positioned at step 210, outside described step 240 must be positioned at after step 220, other order all can exchange or carry out simultaneously.As: as described in step 210 and as described in the order of step 220 can exchange, or carry out simultaneously; The order of described step 230 and step 240 also can exchange, or carries out simultaneously; In the time that described step 220 is positioned at after step 210, the order of described step 220 and step 230 also can exchange, or carries out simultaneously; Or in the time that described step 210 is positioned at after step 220, the order of described step 240 and described step 210 also can exchange, or carries out simultaneously.
Adopt a specific embodiment below, the technical scheme of the embodiment of the method shown in Fig. 1 is elaborated.
Fig. 3 is the physical structure annexation schematic diagram of the application IP hard disk and server.As shown in Figure 3, in described cabinet, be provided with proxy server, described each IP hard disk is connected with proxy server, and is also connected with server, and in addition, proxy server is also connected with server.This proxy server at least has following functions: provide DHCP to serve to IP hard disk distributing IP address, the information that reception, processing, IP hard disk send, the detection in place of IP hard disk (when IP hard disk distributes behind IP address, proxy server reports the IP hard disk in place).In the present embodiment, this proxy server is specially BMC, (Baseboard Management Controller, baseboard management controller).Described BMC supports the IPMI specification of industry standard.
In the time that IP hard disk is switched on or inserted the groove position in cabinet, described IP hard disk can send to proxy server the request of application IP address, and proxy server, after the request of receiving, can be given IP hard disk distributing IP address.
Based on same inventive concept, the application also provides a kind of method connecting.Fig. 4 is the flow chart of the method that connects of the another execution mode of the application (IP hard disk and server interaction).The difference of the method that the execution mode (IP hard disk and server interaction) in the method and Fig. 3 connects is: before described step 210, described in the method that connects further comprising the steps of:
Step 310, when IP hard disk insertion groove position or while powering on for the first time, IP hard disk sends DHCP flow process, request distributing IP address.DHCP (Dynamic Host Configuration Protocol, DHCP) be the procotol of a local area network (LAN), the work of use udp protocol, mainly contain two purposes: to internal network or Internet service provider's automatic IP address allocation, give user or internal network keeper as the means of all computers being made to central management.
Step 320, proxy server is received after request, to IP hard disk distributing IP address.
Step 330, proxy server is the information reporting server of IP hard disk simultaneously.The information of IP hard disk comprises IP address and the listening port of IP hard disk.Described listening port is that IP hard disk is fixing, instead of each Real-time Obtaining.
After the information reporting server of IP hard disk, perform step 210 at proxy server.
Wherein, the execution sequence of step 320 and step 330 can exchange, or carries out simultaneously.
Therefore, the above-mentioned method connecting, in the time that described IP hard disk and described server connect, send TCP connection request by described IP hard disk to described server, therefore, described server is often set up TCP with an IP hard disk and is connected, can consume a port of described IP hard disk, and can not consume a port of described server, even if thereby when the IP hard disk connecting at needs is more, the port number of described server also can meet user demand, thereby solve in prior art because described server is often set up TCP with an IP hard disk and is connected, just can consume a port of described server, cause the IP hard disk connecting at needs when more, occur that the port number of described server does not meet the technical problem of user demand.
Based on same inventive concept, the application also provides a kind of method connecting.Fig. 5 is the flow chart of the method that connects of the application's one execution mode (IP hard disk side).As shown in Figure 5, the method connecting described in comprises the following steps:
Step 510, IP hard disk generates for asking and between described IP hard disk and described server, sets up the TCP connection request that TCP connects.
Described IP hard disk can initiatively generate a TCP connection request, also can under certain condition, just generate a TCP connection request.In the present embodiment, described IP hard disk is for initiatively generating a TCP connection request.In other embodiments, can under certain condition, just generate a TCP connection request, as:
Before step 510, described method also comprises: described IP hard disk receives the announcement information that described server sends, and described announcement information is used for notifying described IP hard disk to send TCP connection request to described server.That is to say, described " certain condition " is announcement information, after described IP hard disk is received the announcement information of server transmission, and execution step 510.
Or before step 510, described method also comprises: described IP hard disk receives the datagram that described server sends, and described datagram comprises the IP address of described IP hard disk and the port of monitoring.That is to say, described " certain condition " is datagram, receives at described IP hard disk the datagram that described server sends, execution step 510.
Or before step 510, described method also comprises: described IP hard disk receives announcement information and the datagram that described server sends.That is to say, described " certain condition " is announcement information and datagram, receives at described IP hard disk announcement information and the datagram that described server sends, execution step 510.
Generating after TCP connection request execution step 520.
Step 520, described IP hard disk sends described TCP connection request to described server.That is to say, TCP connection request is initiatively sent by IP hard disk, according to Transmission Control Protocol, sends a TCP connection request and can consume the port of a transmitting terminal, therefore, now can consume a port of IP hard disk.
Step 530, described IP hard disk receives the TCP connection request response that described server sends, and between described server, sets up TCP and be connected.
Therefore, the above-mentioned method connecting, in the time that described IP hard disk and described server connect, send TCP connection request by described IP hard disk to described server, therefore, described server is often set up TCP with an IP hard disk and is connected, can consume a port of described IP hard disk, and can not consume a port of described server, even if thereby when the IP hard disk connecting at needs is more, the port number of described server also can meet user demand, thereby solve in prior art because described server is often set up TCP with an IP hard disk and is connected, just can consume a port of described server, cause the IP hard disk connecting at needs when more, occur that the port number of described server does not meet the technical problem of user demand.
Based on same inventive concept, the application also provides a kind of method connecting, and as shown in Figure 6, Fig. 6 is the flow chart of the method that connects of the application's one execution mode (server side), described in the method that connects comprise the following steps:
Step 610, server receives IP hard disk and sends TCP connection request, and described TCP connection request is set up TCP for request and is connected between described IP hard disk and described server;
Step 620, described server responds described TCP connection request, and between described IP hard disk, sets up TCP and be connected.
Described server just receives and responds described TCP connection request, therefore, according to Transmission Control Protocol, sends a TCP connection request and can not consume the port of a receiving terminal, therefore, can not consume the port of server.
Therefore, the above-mentioned method connecting, in the time that described IP hard disk and described server connect, send TCP connection request by described IP hard disk to described server, therefore, described server is often set up TCP with an IP hard disk and is connected, can consume a port of described IP hard disk, and can not consume a port of described server, even if thereby when the IP hard disk connecting at needs is more, the port number of described server also can meet user demand, thereby solve in prior art because described server is often set up TCP with an IP hard disk and is connected, just can consume a port of described server, cause the IP hard disk connecting at needs when more, occur that the port number of described server does not meet the technical problem of user demand.
In the time that described IP hard disk just generates a TCP connection request under certain condition, before step 610, described method also comprises: described server sends announcement information to described IP hard disk, and described announcement information is used for notifying described IP hard disk to send TCP connection request to described server.
Or, in the time that described IP hard disk just generates a TCP connection request under certain condition, before step 610, described method also comprises: described server sends datagram to described IP hard disk, and described datagram comprises the IP address of described IP hard disk and the port of monitoring.
Or in the time that described IP hard disk just generates a TCP connection request under certain condition, before step 610, described method also comprises: described server sends announcement information and datagram to described IP hard disk.
Therefore, the above-mentioned method connecting, in the time that described IP hard disk and described server connect, send TCP connection request by described IP hard disk to described server, not that server sends TCP connection request, therefore, described server is often set up TCP with an IP hard disk and is connected, can consume a port of described IP hard disk, and can not consume a port of described server, even if thereby when the IP hard disk connecting at needs is more, the port number of described server also can meet user demand, thereby solve in prior art because described server is often set up TCP with an IP hard disk and is connected, just can consume a port of described server, cause the IP hard disk connecting at needs when more, occur that the port number of described server does not meet the technical problem of user demand.
Based on same inventive concept, the application also provides a kind of IP hard disk.Fig. 7 is the structural representation block diagram of the application's one execution mode IP hard disk, and as shown in Figure 7, described IP hard disk 700 comprises: generation unit 710, transmitting element 720 and response receiving element 750.
Described generation unit 710 sets up for generating for asking the TCP connection request that TCP connects between described IP hard disk and described server.Described transmitting element 720 is for sending described TCP connection request to described server.The TCP connection request response that described response receiving element 750 sends for receiving described server, and between described server, set up TCP and be connected.
Particularly, described IP hard disk also comprises notice receiving element 730, the announcement information that described notice receiving element 730 sends for receiving described server, and described announcement information is used for notifying described IP hard disk to send TCP connection request to described server.
Particularly, described IP hard disk also comprises report receiving element 740, the datagram that described report receiving element 740 also sends for receiving described server, and described datagram comprises the IP address of described IP hard disk and the port of monitoring.
When above-mentioned IP hard disk and described server connect, send TCP connection request by described IP hard disk to described server, not that server sends TCP connection request, therefore, described server is often set up TCP with an IP hard disk and is connected, can consume a port of described IP hard disk, and can not consume a port of described server, even if thereby when the IP hard disk connecting at needs is more, the port number of described server also can meet user demand, thereby solve in prior art because described server is often set up TCP with an IP hard disk and is connected, just can consume a port of described server, cause the IP hard disk connecting at needs when more, occur that the port number of described server does not meet the technical problem of user demand.
Based on same inventive concept, the application also provides a kind of server, and Fig. 8 is the structural representation block diagram of the application's one execution mode server.As shown in Figure 8, described server 800 comprises receiving element 810 and response unit 820.
The TCP connection request connecting for ask to set up TCP between described IP hard disk and described server that described receiving element 810 sends for receiving IP hard disk.Described response unit 820 is for responding described TCP connection request, and between described IP hard disk, sets up TCP and be connected.
Particularly, described server 800 also comprises notice transmitting element 830, and described notice transmitting element 830 is for sending announcement information to described IP hard disk, and described announcement information is used for notifying described IP hard disk to send TCP connection request to described server.
Particularly, described server 800 also comprises report transmitting element 840, and described report transmitting element is for sending datagram to described IP hard disk, and described datagram comprises the IP address of described IP hard disk and the port of monitoring.
When above-mentioned IP hard disk and described server connect, send TCP connection request by described IP hard disk to described server, not that server sends TCP connection request, therefore, described server is often set up TCP with an IP hard disk and is connected, can consume a port of described IP hard disk, and can not consume a port of described server, even if thereby when the IP hard disk connecting at needs is more, the port number of described server also can meet user demand, thereby solve in prior art because described server is often set up TCP with an IP hard disk and is connected, just can consume a port of described server, cause the IP hard disk connecting at needs when more, occur that the port number of described server does not meet the technical problem of user demand.
Based on same inventive concept, the application also provides a kind of IP hard disk, as shown in Figure 9, is the structural representation of the another execution mode IP of the application hard disk.Described IP hard disk 900 comprises: processor 910 and transceiver 920, described processor 910 is connected by bus 930 with described transceiver 920.
Described processor 910 sets up for generating for asking the TCP connection request that TCP connects between described IP hard disk and described server.Described transceiver 920 is for send described TCP connection request to described server, and the TCP connection request response sending for receiving described server, and between described server, sets up TCP and be connected.
Particularly, the announcement information that described transceiver 920 sends for receiving described server, described announcement information is used for notifying described IP hard disk to send TCP connection request to described server.
Particularly, the datagram that described transceiver 920 also sends for receiving described server, described datagram comprises the IP address of described IP hard disk and the port of monitoring.
Based on same inventive concept, the application also provides a kind of server, as shown in figure 10, is the structural representation of the another execution mode server of the application.Described server 940 comprises transceiver 950 and processor 960, and described transceiver 950 is connected by bus 970 with described processor 960.
The TCP connection request connecting for ask to set up TCP between described IP hard disk and described server that described transceiver 950 sends for receiving IP hard disk.Described processor 960 is for responding described TCP connection request, and between described IP hard disk, sets up TCP and be connected.
Particularly, described transceiver 950 is for sending announcement information to described IP hard disk, and described announcement information is used for notifying described IP hard disk to send TCP connection request to described server.
Particularly, described transceiver 950 is for sending datagram to described IP hard disk, and described datagram comprises the IP address of described IP hard disk and the port of monitoring.
When above-mentioned IP hard disk and described server connect, send TCP connection request by described IP hard disk to described server, not that server sends TCP connection request, therefore, described server is often set up TCP with an IP hard disk and is connected, can consume a port of described IP hard disk, and can not consume a port of described server, even if thereby when the IP hard disk connecting at needs is more, the port number of described server also can meet user demand, thereby solve in prior art because described server is often set up TCP with an IP hard disk and is connected, just can consume a port of described server, cause the IP hard disk connecting at needs when more, occur that the port number of described server does not meet the technical problem of user demand.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and amendment to these embodiment.So claims are intended to be interpreted as comprising preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if these amendments of the present invention and within modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.
Claims (12)
1. the method connecting between IP hard disk and server, is characterized in that, described method comprises:
IP hard disk generates for asking and between described IP hard disk and described server, sets up the TCP connection request that TCP connects;
Described IP hard disk sends described TCP connection request to described server;
Described IP hard disk receives the TCP connection request response that described server sends, and between described server, sets up TCP and be connected.
2. the method for claim 1, is characterized in that, described IP hard disk sends described TCP connection request to server before, described method also comprises:
Described IP hard disk receives the announcement information that described server sends, and described announcement information is used for notifying described IP hard disk to send TCP connection request to described server.
3. method as claimed in claim 1 or 2, is characterized in that, described IP hard disk sends described TCP connection request to server before, described method also comprises:
Described IP hard disk receives the datagram that described server sends, and described datagram comprises the IP address of described IP hard disk and the port of monitoring.
4. the method connecting between IP hard disk and server, is characterized in that, described method comprises:
Server receives the TCP connection request that IP hard disk sends, and described TCP connection request is set up TCP for request and connected between described IP hard disk and described server;
Described server responds described TCP connection request, and between described IP hard disk, sets up TCP and be connected.
5. method as claimed in claim 4, is characterized in that, receive at described server that IP hard disk sends for before asking to set up between described IP hard disk and described server the TCP connection request that TCP connects, described method also comprises:
Described server sends announcement information to described IP hard disk, and described announcement information is used for notifying described IP hard disk to send TCP connection request to described server.
6. the method as described in claim 4 or 5, is characterized in that, receive at described server that IP hard disk sends for before asking to set up between described IP hard disk and described server the TCP connection request that TCP connects, described method also comprises:
Described server sends datagram to described IP hard disk, and described datagram comprises the IP address of described IP hard disk and the port of monitoring.
7. an IP hard disk, is characterized in that, described IP hard disk comprises:
Generation unit sets up for generating for asking the TCP connection request that TCP connects between described IP hard disk and described server;
Transmitting element, for sending described TCP connection request to described server;
Response receiving element, the TCP connection request response sending for receiving described server, and between described server, set up TCP and be connected.
8. IP hard disk as claimed in claim 7, is characterized in that, described IP hard disk also comprises:
Notice receiving element, the announcement information sending for receiving described server, described announcement information is used for notifying described IP hard disk to send TCP connection request to described server.
9. IP hard disk as claimed in claim 7 or 8, is characterized in that, described IP hard disk also comprises: report receiving element, and the datagram sending for receiving described server, described datagram comprises the IP address of described IP hard disk and the port of monitoring.
10. a server, is characterized in that, described server comprises:
Receiving element, the TCP connection request sending for receiving IP hard disk, described TCP connection request is set up TCP for request and is connected between described IP hard disk and described server;
Response unit, for responding described TCP connection request, and sets up TCP between described IP hard disk and is connected.
11. servers as claimed in claim 10, is characterized in that, described server also comprises:
Notice transmitting element, for sending announcement information to described IP hard disk, described announcement information is used for notifying described IP hard disk to send TCP connection request to described server.
12. servers as described in claim 10 or 11, is characterized in that, described server also comprises: report transmitting element, for sending datagram to described IP hard disk, described datagram comprises the IP address of described IP hard disk and the port of monitoring.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410410676.8A CN104184636B (en) | 2014-08-19 | 2014-08-19 | Establish method, IP hard disks and the server of connection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410410676.8A CN104184636B (en) | 2014-08-19 | 2014-08-19 | Establish method, IP hard disks and the server of connection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104184636A true CN104184636A (en) | 2014-12-03 |
CN104184636B CN104184636B (en) | 2018-06-05 |
Family
ID=51965396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410410676.8A Active CN104184636B (en) | 2014-08-19 | 2014-08-19 | Establish method, IP hard disks and the server of connection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104184636B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7921282B1 (en) * | 2007-08-20 | 2011-04-05 | F5 Networks, Inc. | Using SYN-ACK cookies within a TCP/IP protocol |
CN102291441A (en) * | 2011-08-02 | 2011-12-21 | 杭州迪普科技有限公司 | Method and security agent device for protecting against attack of synchronize (SYN) Flood |
CN103457746A (en) * | 2012-06-05 | 2013-12-18 | 中兴通讯股份有限公司 | Meeting data transmission method and device |
US20130339486A1 (en) * | 2012-06-14 | 2013-12-19 | Microsoft Corporation | Scalable Storage with Programmable Networks |
CN103929506A (en) * | 2014-04-21 | 2014-07-16 | 华为技术有限公司 | Method and device for distributing IP address for IP hard disk |
-
2014
- 2014-08-19 CN CN201410410676.8A patent/CN104184636B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7921282B1 (en) * | 2007-08-20 | 2011-04-05 | F5 Networks, Inc. | Using SYN-ACK cookies within a TCP/IP protocol |
CN102291441A (en) * | 2011-08-02 | 2011-12-21 | 杭州迪普科技有限公司 | Method and security agent device for protecting against attack of synchronize (SYN) Flood |
CN103457746A (en) * | 2012-06-05 | 2013-12-18 | 中兴通讯股份有限公司 | Meeting data transmission method and device |
US20130339486A1 (en) * | 2012-06-14 | 2013-12-19 | Microsoft Corporation | Scalable Storage with Programmable Networks |
CN103929506A (en) * | 2014-04-21 | 2014-07-16 | 华为技术有限公司 | Method and device for distributing IP address for IP hard disk |
Also Published As
Publication number | Publication date |
---|---|
CN104184636B (en) | 2018-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104429037B8 (en) | Method, equipment and system for being connected to communication equipment | |
US9282125B2 (en) | Apparatus and method for communications involving a legacy device | |
US9143421B2 (en) | Network system capable of implementing stun with the assistance of two network devices and method thereof | |
US10313247B2 (en) | System, method, and device for network load balance processing | |
US11412442B2 (en) | Predictive service advertisements by service discovery gateway | |
WO2016090921A1 (en) | Session control method and device | |
US20140280467A1 (en) | Method of managing port dhcp server protocol addresses | |
CN103795581A (en) | Address processing method and address processing device | |
WO2018024200A1 (en) | Virtual desktop multicast control method, terminal, proxy terminal, and cloud desktop server | |
CN103780621A (en) | Sharing method and system of remote desktop | |
WO2013159492A1 (en) | Method and system for reporting and downloading information | |
CN104780230A (en) | Method of automatically acquiring cloud server IP address, system and cloud system | |
CN104243473A (en) | Data transmission method and device | |
CN102098154A (en) | Method for transmitting precision clock synchronization protocol messages, apparatus and system thereof | |
CN102932470B (en) | Handheld device controls the method and system of computer terminal | |
US10375175B2 (en) | Method and apparatus for terminal application accessing NAS | |
WO2017161866A1 (en) | Network connection method and device | |
CN104184636A (en) | Connection establishing method, IP hard disk and server | |
CN110535959A (en) | A kind of method, apparatus and computer readable storage medium for transmitting data | |
CN109120578B (en) | Method and device for realizing link connection processing | |
CN104580547A (en) | IP (internet protocol) configuration method and device for Linux operation system | |
US9634987B2 (en) | Obtaining a MAC address from an external source | |
US10021067B2 (en) | Internet protocol address distribution for wireless network | |
CN105281944A (en) | Method for setting network protocol address and service management system | |
CN104025490A (en) | Resource request method, server and resource allocation system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |