CN111107049B - Method, device and medium for establishing connection of storage device - Google Patents
Method, device and medium for establishing connection of storage device Download PDFInfo
- Publication number
- CN111107049B CN111107049B CN201910994719.4A CN201910994719A CN111107049B CN 111107049 B CN111107049 B CN 111107049B CN 201910994719 A CN201910994719 A CN 201910994719A CN 111107049 B CN111107049 B CN 111107049B
- Authority
- CN
- China
- Prior art keywords
- virtual
- connection
- tcp
- identification value
- identification
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000004044 response Effects 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 9
- 230000008569 process Effects 0.000 abstract description 12
- 230000005540 biological transmission Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/163—In-band adaptation of TCP data exchange; In-band control procedures
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method for establishing connection of storage equipment, computer equipment and a readable storage medium, wherein the method comprises the following steps: setting a plurality of platform ports and a plurality of virtual ports; reading the resource condition of the storage device based on the platform port, and creating a virtual remote port identification resource pool according to the resource condition; establishing TCP virtual connection with external equipment based on the virtual port, calculating an identification value of the virtual remote port according to network conditions, and applying the identification value to a virtual remote port identification resource pool to identify the TCP virtual connection; sending a connection request to the external device based on the identification value; and responding to the received feedback information of the external equipment, and updating the state of the identified TCP virtual connection. The scheme provided by the invention combines the resource condition and the network condition of the storage equipment, uses physical link resources as much as possible, supports a parallel mode to process a plurality of virtual connections, and improves the parallelism of IO operation, thereby improving the performance.
Description
Technical Field
The present invention relates to the field of storage, and in particular, to a method, a device, and a readable medium for establishing a connection between storage devices.
Background
Network technology has developed to date, and there are many types of networks, such as Wide Area Networks (WAN), also known as extranets and public networks, which are remote networks connecting computers in local Area networks or metropolitan Area networks in different regions for communication. Wide area networks typically span a large physical area, ranging from tens of kilometers to thousands of kilometers, and can connect multiple regions, cities and countries, or span several continents and provide long-range communications, forming international long-range networks. Wide area networks are not equivalent to the internet.
Currently, the problem of wide area network transmission for enterprise users mainly comes from two aspects, namely links and applications. Link problems include limited bandwidth, large network delay, serious packet loss rate and the like; the problem of applications is concentrated on the transmission of large data volumes and the low transmission efficiency of the applications themselves in the wan environment. In the prior art, external WAN acceleration technology equipment is usually adopted to solve the above network transmission and application interaction problem, but this not only increases the cost, but also cannot be specifically optimized according to the actual situation.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method, a device, and a medium for establishing a connection of a storage device, which can implement WAN acceleration inside the storage device by establishing a TCP virtual connection, thereby saving investment of network acceleration devices, maximizing technologies related to two major fields of data storage and data transmission, integrating hardware resources related to computation, storage, and transmission, and implementing data acceleration in a wide area network.
Based on the above object, an aspect of the embodiments of the present invention provides a method for establishing a connection between storage devices, including the following steps: setting a plurality of platform ports and a plurality of virtual ports; reading the resource condition of the storage device based on the platform port, and creating a virtual remote port identification resource pool according to the resource condition; establishing a TCP virtual connection with external equipment based on the virtual port, calculating an identification value of a virtual remote port according to network conditions, and applying the identification value to a virtual remote port identification resource pool to identify the TCP virtual connection; sending a connection request to the external device based on the identification value; and responding to the received feedback information of the external equipment, and updating the state of the identified TCP virtual connection.
In some embodiments, further comprising: in response to said calculated identification value not being unique, establishing a number of additional TCP virtual connections.
In some embodiments, further comprising: marking a plurality of the additional TCP virtual connections respectively.
In some embodiments, the updating the state of the identified TCP virtual connection in response to receiving the feedback information of the external device includes: analyzing the feedback information, extracting an identification value, and updating the state of the identified TCP virtual connection and/or the additional virtual connection according to the identification value.
In some embodiments, said establishing a number of additional TCP virtual connections comprises: judging whether the number of the identification values is larger than the number of the virtual ports; and in response to the number of identification values being greater than the number of virtual ports, determining that the maximum number of additional TCP virtual connections is the same as the number of virtual ports.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: setting a plurality of platform ports and a plurality of virtual ports; reading the resource condition of the storage device based on the platform port, and creating a virtual remote port identification resource pool according to the resource condition; establishing a TCP virtual connection with external equipment based on the virtual port, calculating an identification value of a virtual remote port according to network conditions, and applying the identification value to the virtual remote port identification resource pool to identify the TCP virtual connection; sending a connection request to the external device based on the identification value; and responding to the received feedback information of the external equipment, and updating the state of the identified TCP virtual connection.
In some embodiments, the steps further comprise: in response to said calculated identification value not being unique, establishing a number of additional TCP virtual connections.
In some embodiments, the steps further comprise: marking a plurality of the additional TCP virtual connections respectively.
In some embodiments, the updating the state of the identified TCP virtual connection in response to receiving the feedback information of the external device includes: analyzing the feedback information, extracting an identification value, and updating the state of the identified TCP virtual connection and/or the additional virtual connection according to the identification value.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: by establishing the TCP virtual connection, WAN acceleration can be realized in the storage equipment, the investment of network acceleration equipment is saved, two related technologies in the data storage and data transmission fields can be optimized to the maximum extent, hardware resources of related calculation, storage and transmission are integrated, and data acceleration in a wide area network is realized; the physical link resources can be used as much as possible based on the allocated resource information, the parallel mode is supported to process a plurality of virtual connections, and the parallelism of IO operation is improved, so that the performance is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a diagram illustrating an embodiment of a method for establishing a connection between storage devices according to the present invention;
fig. 2 is a flowchart of an embodiment of a method for establishing a connection between storage devices according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the foregoing, a first aspect of the embodiments of the present invention provides an embodiment of a method for establishing a connection between storage devices. Fig. 1 is a schematic diagram illustrating an embodiment of a method for establishing a connection between storage devices according to the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, setting a plurality of platform ports and a plurality of virtual ports;
s2, reading the resource condition of the storage device based on the platform port, and creating a virtual remote port identification resource pool according to the resource condition;
s3, establishing TCP virtual connection with external equipment based on the virtual port, calculating an identification value of the virtual remote port according to network conditions, and applying the identification value to the virtual remote port identification resource pool to identify the TCP virtual connection;
s4, sending a connection request to the external equipment based on the identification value; and
and S5, responding to the received feedback information of the external equipment, and updating the state of the identified TCP virtual connection.
The embodiment of the invention adopts C language description, uses a general processor CPU as a main processor of a host end, runs a standard Linux operating system on the general processor CPU, and registers a storage service program for network transmission equipment by taking a port as a unit by designing a new user state drive program. Of course, the above is merely exemplary, and other similar schemes may be employed in other embodiments.
A plurality of platform ports and a plurality of virtual ports are provided. Specifically, the driver may be first started and initialized, and a plurality of platform ports may be registered with the platform layer according to the actual number of physical ports on the ethernet. The driver registers a plurality of virtual ports with the platform layer according to the user configuration information, and the number of the virtual ports can be consistent with the number of the user platform ports.
And reading the resource condition of the storage device based on the platform port, and creating a virtual remote port identification resource pool according to the resource condition. The driver generates a compute engine module for each platform port registration, the compute engine module having learning capabilities, monitoring network capabilities, and management capabilities. When a user establishes a connection through an operation interface, a driver specifies a corresponding engine to start through a used platform Port, and the engine allocates a virtual Remote Port Identifier (RPI) resource pool for the connection according to existing memory resources, CPU resources and IO modes of a storage system.
And establishing TCP virtual connection with external equipment based on the virtual port, calculating an identification value of the virtual remote port according to the network condition, and applying the identification value to the virtual remote port identification resource pool to identify the TCP virtual connection. The driver calls the current network card driver, establishes a TCP virtual connection by using a TCP/IP protocol stack kernel program, sends handshake data, and applies an identifier to the RPI resource pool to mark the TCP virtual connection. The RPI value that may be used may be calculated based on factors such as actual network bandwidth, latency, congestion, etc. In some embodiments, further comprising: in response to said calculated identification value not being unique, establishing a number of additional TCP virtual connections. If the available RPI values are not unique, a plurality of additional TCP virtual connections can be established according to the calculated RPI values, so that the concurrency of IO operation can be improved.
In some embodiments, further comprising: marking a plurality of the additional TCP virtual connections respectively. For example, a first additional TCP virtual connection is established first, if the feedback information of the external device is not received at this time, a second additional TCP virtual connection may be established, and if the feedback information of the external device is not received, a third additional TCP virtual connection … … may be established again, and so on.
In some embodiments, said establishing a number of additional TCP virtual connections comprises: judging whether the number of the identification values is larger than the number of the virtual ports; and in response to the number of identification values being greater than the number of virtual ports, determining that the maximum number of additional TCP virtual connections is the same as the number of virtual ports. The number of additional TCP virtual connections is not infinite and the maximum number of additional TCP virtual connections may be determined by comparing the size of the number of identification values and the number of virtual ports. For example, if the number of identification values is 6 and the number of virtual ports is 5, then the maximum number of additional TCP virtual connections is 5.
In some embodiments, the updating the state of the identified TCP virtual connection in response to receiving the feedback information of the external device includes: analyzing the feedback information, extracting an identification value, and updating the state of the identified TCP virtual connection and/or the additional virtual connection according to the identification value.
The embodiment of the invention designs the driving program, adds the AI engine module based on the resource processing characteristic of the remote port resource identifier, and can finish resource examination in a short time by the driving program mainly under the condition of storing a large number of IO processing models, and optimize in the connection establishing stage, thereby achieving the acceleration function of data in the storage equipment in the WAN transmission scene. The physical link resources can be used as much as possible based on the allocated resource information, the parallel mode is supported to process a plurality of TCP virtual connections, and the parallelism of IO operation is improved, so that the performance is improved. Compared with the traditional implementation mode, the method can effectively improve the IO processing implementation efficiency and save the equipment cost.
Fig. 2 is a flowchart illustrating an embodiment of a method for establishing a connection between storage devices according to the present invention. As shown in FIG. 2, beginning at block 101 and proceeding to block 102, a plurality of platform ports and a plurality of virtual ports are set; then, proceeding to block 103, reading the resource condition of the storage device based on the platform port, and creating a virtual remote port identification resource pool according to the resource condition; then, the process proceeds to block 104, a TCP virtual connection is established with the external device based on the virtual port, an identification value is calculated, and the TCP virtual connection is identified; proceeding then to block 105, a connection request is sent to the external device based on the identification value; then, the process proceeds to block 106, and determines whether feedback information of the external device is received, if not, the process proceeds to block 107, an additional TCP virtual connection is established, and the process returns to block 106, and if yes, the process proceeds to block 108, a state update is performed on the identified TCP virtual connection and/or the additional TCP virtual connection, and then the process proceeds to block 109, and the process ends.
It should be particularly noted that, the steps in the embodiments of the method for establishing connection between storage devices described above may be mutually intersected, replaced, added, or deleted, and therefore, these reasonable permutations and combinations should also belong to the scope of the present invention, and should not limit the scope of the present invention to the embodiments.
In view of the above object, a second aspect of the embodiments of the present invention provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, setting a plurality of platform ports and a plurality of virtual ports; s2, reading the resource condition of the storage device based on the platform port, and creating a virtual remote port identification resource pool according to the resource condition; s3, establishing TCP virtual connection with external equipment based on the virtual port, calculating an identification value of the virtual remote port according to network conditions, and applying the identification value to the virtual remote port identification resource pool to identify the TCP virtual connection; s4, sending a connection request to the external equipment based on the identification value; and S5, responding to the feedback information received from the external device, and updating the state of the identified TCP virtual connection.
In some embodiments, further comprising: in response to said calculated identification value not being unique, establishing a number of additional TCP virtual connections.
In some embodiments, further comprising: marking a plurality of the additional TCP virtual connections respectively.
In some embodiments, the updating the state of the identified TCP virtual connection in response to receiving the feedback information of the external device includes: analyzing the feedback information, extracting an identification value, and updating the state of the identified TCP virtual connection and/or the additional virtual connection according to the identification value.
In some embodiments, said establishing a number of additional TCP virtual connections comprises: judging whether the number of the identification values is larger than the number of the virtual ports or not; and in response to the number of identification values being greater than the number of virtual ports, determining that the maximum number of additional TCP virtual connections is the same as the number of virtual ports.
The invention also provides a computer readable storage medium storing a computer program which, when executed by a processor, performs the method as above.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program to instruct related hardware, and the program of the method for establishing a connection in a storage device may be stored in a computer-readable storage medium, and when executed, may include the processes in the embodiments of the methods described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Furthermore, the methods disclosed according to embodiments of the present invention may also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. Which when executed by a processor performs the above-described functions defined in the methods disclosed in embodiments of the invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Further, it should be understood that the computer-readable storage medium herein (e.g., memory) can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.
Claims (10)
1. A method for establishing a connection with a storage device, comprising the steps of:
setting a plurality of platform ports and a plurality of virtual ports;
reading the resource condition of the storage device based on the platform port, and creating a virtual remote port identification resource pool according to the resource condition;
establishing a TCP virtual connection with external equipment based on the virtual port, calculating an identification value of a virtual remote port according to network conditions, and applying the identification value to the virtual remote port identification resource pool to identify the TCP virtual connection;
sending a connection request to the external device based on the identification value; and
and responding to the received feedback information of the external equipment, and updating the state of the identified TCP virtual connection.
2. The method of claim 1, further comprising:
in response to said calculated identification value not being unique, establishing a number of additional TCP virtual connections.
3. The method of claim 2, further comprising:
marking a plurality of the additional TCP virtual connections respectively.
4. The method according to claim 3, wherein the updating the state of the identified TCP virtual connection in response to receiving the feedback information of the external device comprises:
analyzing the feedback information, extracting an identification value, and updating the state of the identified TCP virtual connection and/or the additional TCP virtual connection according to the identification value.
5. The method of claim 2, wherein establishing a number of additional TCP virtual connections comprises:
judging whether the number of the identification values is larger than the number of the virtual ports; and
in response to the number of identification values being greater than the number of virtual ports, determining that the maximum number of additional TCP virtual connections is the same as the number of virtual ports.
6. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of:
setting a plurality of platform ports and a plurality of virtual ports;
reading the resource condition of the storage device based on the platform port, and creating a virtual remote port identification resource pool according to the resource condition;
establishing a TCP virtual connection with external equipment based on the virtual port, calculating an identification value of a virtual remote port according to network conditions, and applying the identification value to the virtual remote port identification resource pool to identify the TCP virtual connection;
sending a connection request to the external device based on the identification value; and
and responding to the received feedback information of the external equipment, and updating the state of the identified TCP virtual connection.
7. The computer device of claim 6, wherein the steps further comprise:
in response to said calculated identification value not being unique, establishing a number of additional TCP virtual connections.
8. The computer device of claim 7, wherein the steps further comprise:
marking a plurality of the additional TCP virtual connections respectively.
9. The computer device of claim 8, wherein the updating the state of the identified TCP virtual connection in response to receiving the feedback information of the external device comprises:
analyzing the feedback information, extracting an identification value, and updating the state of the identified TCP virtual connection and/or the additional TCP virtual connection according to the identification value.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910994719.4A CN111107049B (en) | 2019-10-18 | 2019-10-18 | Method, device and medium for establishing connection of storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910994719.4A CN111107049B (en) | 2019-10-18 | 2019-10-18 | Method, device and medium for establishing connection of storage device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111107049A CN111107049A (en) | 2020-05-05 |
CN111107049B true CN111107049B (en) | 2022-07-05 |
Family
ID=70421383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910994719.4A Active CN111107049B (en) | 2019-10-18 | 2019-10-18 | Method, device and medium for establishing connection of storage device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111107049B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107463427A (en) * | 2017-06-29 | 2017-12-12 | 北京北信源软件股份有限公司 | The acquisition methods and device of a kind of VME operating system type and version |
-
2019
- 2019-10-18 CN CN201910994719.4A patent/CN111107049B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107463427A (en) * | 2017-06-29 | 2017-12-12 | 北京北信源软件股份有限公司 | The acquisition methods and device of a kind of VME operating system type and version |
Also Published As
Publication number | Publication date |
---|---|
CN111107049A (en) | 2020-05-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111367983B (en) | Database access method, system, device and storage medium | |
KR101662685B1 (en) | Deep packet inspection method and device, and coprocessor | |
CN109845303B (en) | Management method and management unit for network slices | |
US9887881B2 (en) | DNS-assisted application identification | |
US7676516B2 (en) | System and method for the optimization of database access in data base networks | |
US20170163478A1 (en) | Method,electronic device and system for updating client configuration in key-value pair database | |
CN110445828B (en) | Data distributed processing method based on Redis and related equipment thereof | |
CN111177043B (en) | Method, system, device and medium for accelerating reading of field replaceable unit information | |
WO2021243666A1 (en) | Information processing method and system, and device, medium, chip and program | |
CN111984561B (en) | IPMI command processing method, system, device and medium for BMC | |
CN112565334B (en) | Access method and device of Internet of things equipment and MQTT gateway | |
US20170264460A1 (en) | On-premise and off-premise communication | |
CN110609746B (en) | Method, apparatus and computer readable medium for managing network system | |
CN109325066A (en) | A kind of database switching method and terminal device | |
WO2021135117A1 (en) | Communication method, apparatus and device for node and chaincode in blockchain, and storage medium | |
CN111585815A (en) | Port data acquisition method and device | |
CN111405018A (en) | File transmission method and device, electronic equipment and storage medium | |
WO2021218984A1 (en) | Data routing method and related apparatus | |
CN111107049B (en) | Method, device and medium for establishing connection of storage device | |
CN113238856A (en) | RDMA (remote direct memory Access) -based memory management method and device | |
CN111813507A (en) | Method, system, equipment and medium for high availability of virtual machine based on sanlock | |
CN111314311A (en) | Method, system, equipment and medium for improving performance of switch | |
CN114374614B (en) | Network topology configuration method and device | |
CN113612811B (en) | Method, system, equipment and medium for client mounting in multiple channels | |
WO2021128936A1 (en) | Message processing method and apparatus |
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 |