WO2019184107A1 - 数据传输通道建立系统、方法、网络存储设备、服务器及存储介质 - Google Patents

数据传输通道建立系统、方法、网络存储设备、服务器及存储介质 Download PDF

Info

Publication number
WO2019184107A1
WO2019184107A1 PCT/CN2018/092321 CN2018092321W WO2019184107A1 WO 2019184107 A1 WO2019184107 A1 WO 2019184107A1 CN 2018092321 W CN2018092321 W CN 2018092321W WO 2019184107 A1 WO2019184107 A1 WO 2019184107A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
network storage
optimal
terminal device
storage device
Prior art date
Application number
PCT/CN2018/092321
Other languages
English (en)
French (fr)
Inventor
李斌琦
米超
Original Assignee
深圳市网心科技有限公司
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 深圳市网心科技有限公司 filed Critical 深圳市网心科技有限公司
Publication of WO2019184107A1 publication Critical patent/WO2019184107A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Definitions

  • the present application relates to data communication, and in particular, to a data transmission channel establishment system, method, network storage device, server, and storage medium.
  • the intelligent network storage device can be used for storing and uploading files and providing network services, either alone or in combination with a storage device.
  • Such intelligent network storage devices can be controlled by terminals, especially mobile terminals.
  • a TS (Terminal Services) server is needed to assist the data interaction between the two.
  • a large number of intelligent network storage devices in different geographical locations are usually networked through different networks, and different mobile terminals are also networked through different networks.
  • the network connection status also corresponds. Changes, how to make intelligent network storage devices and terminals quickly connect is a problem that the industry needs to solve.
  • the data transmission channel establishment scheme provided by the present application can solve the technical problem that the intelligent network storage device is quickly connected to the terminal.
  • the embodiment of the present application provides a data transmission channel establishing system, which specifically includes:
  • Control server intelligent network storage device, and terminal device
  • the intelligent network storage device and the terminal device are respectively connected to the control server;
  • the control server is configured to receive the TS server address request information of the intelligent network storage device and the terminal device APP, and feed back the optimal TS server address to the intelligent network storage device and the terminal device APP according to the scheduling rule;
  • the intelligent network storage device and the terminal device APP establish a connection with the corresponding optimal TS server according to the optimal TS server address, and the optimal TS server establishes a data transmission channel for the intelligent network storage device and the terminal device APP.
  • the embodiment of the present application further provides a data transmission channel establishing method, which specifically includes:
  • the control server receives the TS server address request information of the intelligent network storage device and the terminal device APP, and feeds back the optimal TS server address to the intelligent network storage device and the terminal device APP according to the scheduling rule;
  • the intelligent network storage device and the terminal device APP establish a connection with the corresponding optimal TS server according to the optimal TS server address, and the optimal TS server establishes a data transmission channel for the intelligent network storage device and the terminal device APP.
  • a system and method for establishing a data transmission channel selects an optimal TS server by using a scheduling rule, and establishes a data transmission channel for the intelligent network storage device and the terminal device APP through the optimal TS server, so that the intelligent network storage device And the terminal device APP can quickly perform data transmission through the data transmission channel with the assistance of the optimal TS server, thereby improving the performance of the TS server, saving bandwidth, and reducing memory loss.
  • an intelligent network storage device including:
  • An address requesting module configured to send TS server address request information to the control server
  • a receiving module configured to receive an optimal TS server address fed back by the control server and a delivered session identifier
  • connection module configured to establish a communication connection with the optimal TS server according to the optimal TS server address and the delivered session identifier
  • the transmission module is configured to perform data transmission with the terminal device through the data transmission channel established by the optimal TS server.
  • control server including:
  • a receiving module configured to receive the TS server address request information of the intelligent network storage device and the terminal device APP;
  • An obtaining module configured to obtain an optimal TS server address according to a scheduling rule
  • a sending module configured to feed back the optimal TS server address to the intelligent network storage device and the terminal device APP.
  • the embodiment of the present application further provides a data transmission channel establishment method, which is executed by a TS server, and includes:
  • the embodiment of the present application further provides a data transmission channel establishment method, which is implemented by an intelligent network storage device, and includes:
  • Data transmission is performed by the data transmission channel established by the optimal TS server and the terminal device.
  • the embodiment of the present application further provides a data transmission channel establishment method, which is executed by a control server, and includes:
  • an embodiment of the present application further provides a storage medium, where a computer program is stored, and when the computer program is executed by the processor, the data transmission channel establishing method as described above is implemented.
  • the data transmission channel establishment scheme selects an optimal TS server by using a scheduling rule, and establishes a data transmission channel for the intelligent network storage device and the terminal device APP through the optimal TS server, so that the intelligent network storage device and the terminal device Through the data transmission channel and the assistance of the TS server to complete fast data transmission, the APP can ensure the connection speed of the intelligent network storage device and the terminal device, and improve the stability of the connection.
  • FIG. 1 is a structural block diagram of an embodiment of a data transmission channel establishing system of the present application
  • FIG. 2 is a data communication interaction diagram of an embodiment of a data transmission channel establishment system for establishing a data transmission channel in FIG. 1;
  • FIG. 3 is a schematic flowchart of a first embodiment of a method for establishing a data transmission channel according to the present application
  • FIG. 4 is a schematic flowchart of a second embodiment of a method for establishing a data transmission channel according to the present application
  • FIG. 5 is a schematic flowchart of a third embodiment of a method for establishing a data transmission channel according to the present application
  • FIG. 6 is a schematic flowchart of a fourth embodiment of a method for establishing a data transmission channel according to the present application.
  • FIG. 7 is a structural block diagram of an implementation manner of an intelligent network storage device according to the present application.
  • FIG. 8 is a structural block diagram of an embodiment of a submodule of the connection module of FIG. 7;
  • FIG. 9 is a structural block diagram of an embodiment of a control server of the present application.
  • FIG. 10 is a schematic flowchart diagram of a fifth embodiment of a method for establishing a data transmission channel according to the present application.
  • FIG. 11 is a schematic flowchart of a sixth embodiment of a method for establishing a data transmission channel according to the present application.
  • FIG. 12 is a schematic flowchart diagram of a seventh embodiment of a method for establishing a data transmission channel according to the present application.
  • FIG. 1 is a structural block diagram of an embodiment of a data transmission channel establishing system of the present application.
  • the data transmission channel establishing system includes a control server 10, an intelligent network storage device 20, and a terminal device 30.
  • control server 10 may be a far-field control server group, such as an Interface Services (IS), a Transportation Management System (TMS Server), or the like.
  • the intelligent network storage device 20 can be a new generation of intelligent hardware, or a mobile cloud disk, such as a player cloud.
  • the terminal device is a mobile intelligent communication terminal, a PC terminal, or other intelligent terminal.
  • the intelligent network storage device 20 and the terminal device 30 are respectively connected to the control server 10 in communication.
  • the control server 10 is configured to receive the TS server address request information of the smart network storage device 20 and the application APP of the terminal device 30, and feed back the optimal TS server address to the intelligent network storage device 20 and the terminal according to the scheduling rule.
  • the application APP of device 30 is configured to receive the TS server address request information of the smart network storage device 20 and the application APP of the terminal device 30, and feed back the optimal TS server address to the intelligent network storage device 20 and the terminal according to the scheduling rule.
  • the application APP of device 30 is configured to receive the TS server address request information of the smart network storage device 20 and the application APP of the terminal device 30, and feed back the optimal TS server address to the intelligent network storage device 20 and the terminal according to the scheduling rule.
  • the application APP of device 30 is configured to receive the TS server address request information of the smart network storage device 20 and the application APP of the terminal device 30, and feed back the optimal TS server address to the intelligent network storage device 20 and the terminal according to the scheduling rule.
  • the application APP of device 30 is configured
  • the optimal TS server is not only one but also multiple.
  • the scheduling rule may be set according to multiple factors such as the area where the TS server is located, the network card capability, the CPU usage rate, and the memory usage rate.
  • the weights are selected to the TS server with the largest weight or within the weight range.
  • the intelligent network storage device 20 and the application APP of the terminal device 30 establish a connection with the corresponding optimal TS server according to the optimal TS server address, and the optimal TS server is the intelligent network storage device 20 and the terminal device.
  • the application APP of 30 establishes a data transmission channel.
  • the data transmission channel is a transit channel established by the TS server, and the application program APP of the intelligent network storage device 20 and the terminal device 30 can quickly perform data interaction through the relay channel, thereby improving the user experience of the terminal device 30. Improve the sensitivity of human-computer interaction.
  • FIG. 2 is a data communication interaction diagram of an embodiment of the data transmission channel establishment system for establishing a data transmission channel in FIG.
  • the terminal device APP when the data transmission channel needs to be established, the terminal device APP sends a request for acquiring the address of the TS server to the control server, and the intelligent network storage device sends the acquisition TS to the control server. Request for server address.
  • control server feeds back the optimal TS server address to the terminal device APP according to the scheduling rule, and sends a session identification code to the terminal device APP, and the control server feeds back according to the scheduling rule.
  • the optimal TS server address is sent to the intelligent network storage device, and the same session identifier is delivered to the intelligent network storage device.
  • the optimal TS server is not only one but also multiple.
  • the scheduling rule may be set according to multiple factors such as the area where the TS server is located, the network card capability, the CPU usage rate, and the memory usage rate.
  • the weights are selected to the TS server with the largest weight or within the weight range.
  • the session identifier is a uniquely encrypted key, and the session identifier may be a UUID (Universally Unique Identifier).
  • the UUID is a globally unique UUID allocated by the control server to the terminal device APP and the intelligent network storage device.
  • the UUID is an identification code, and the same UUID is delivered to enable the terminal device APP and the intelligent network storage device to match.
  • the optimal TS server establishes a data transmission channel for the intelligent network storage device 20 and the application APP of the terminal device 30, which specifically includes:
  • the intelligent network storage device and the terminal device APP respectively establish a TCP three-way handshake with the optimal TS server. Specifically, the connection is established through the TCP three-way handshake to ensure that the communication interaction between the intelligent network storage device, the terminal device APP, and the optimal TS server is normal.
  • the optimal TS server establishes a mapping connection between the intelligent network storage device and the terminal device APP according to the allocation request of the intelligent network storage device and the terminal device APP, and specifically includes:
  • Step 1 The intelligent network storage device and the terminal device APP respectively send an allocation request to the optimal TS server, wherein the allocation request includes a universal unique identifier.
  • the Universally Unique Identifier UUID
  • the allocation request includes a universal unique identifier to ensure the uniqueness of the allocation request and prevent confusion.
  • Step 2 After receiving the allocation request, the optimal TS server allocates a mapping port to the intelligent network storage device and the terminal device APP, and stores the mapping port in a Key-Value association structure. It should be noted that, after the intelligent network storage device and the terminal device APP are assigned a mapping port, the mapping port can be used to request the establishment of the data transmission channel.
  • Step 3 The terminal device APP sends a connection request to the optimal TS server, where the connection request includes the session identifier, and the session identifier (UUID) is the terminal device APP and the smart server.
  • the current terminal device APP and the intelligent network storage device can be identified according to the session identification code (UUID).
  • UUID session identification code
  • Step 4 The optimal TS server searches for the port address of the mapping relationship to be established in the Key-Value association structure, and initiates the TCP connection of the intelligent network storage device and the terminal device APP to the mapping port, so that the mapping relationship is successful. set up. Obviously, the Key-Value association structure stores the mapped port.
  • the TCP connection between the optimal TS server and the mapping port of the intelligent network storage device is a passive connection, that is, once the mapping port is determined, when a data transmission occurs, a TCP connection is performed through the port, and the optimal TS server is
  • the TCP connection of the mapping port of the terminal device APP belongs to the active connection, and the terminal device APP is required to make a request, and then the optimal TS server searches for the port address of the mapping relationship to be established in the Key-Value association structure, and then performs the TCP connection of the mapping port. .
  • Step 5 The optimal TS server sends a connection response request to the terminal device APP, so that the mapping relationship is successfully established, where the connection response request includes a connection identifier attribute field.
  • the connection identifier attribute field is an attribute field allocated by the optimal TS server to the terminal device APP for identifying the request information, and provides an identifier for subsequent unique identification with the intelligent network storage device.
  • the optimal TS server successfully establishes a mapping connection for the intelligent network storage device and the terminal device APP.
  • the optimal TS server establishes a data transmission channel for the intelligent network storage device and the terminal device APP according to the mapping connection relationship, and the communication process specifically includes the following:
  • Step 1 The best TS server sends an attempt connection request to the intelligent network storage device, where the attempt connection request includes the connection identifier attribute field, wherein the connection identifier attribute field is the best.
  • the connection identifier attribute field assigned by the TS server to the terminal device APP is the same, and the intelligent network storage device and the terminal device APP can be matched by the same connection identification code.
  • Step 2 The intelligent network storage device responds to the attempted connection request, and establishes a TCP three-way handshake connection with the terminal device APP according to the mapping connection relationship, and establishes a data transmission channel, where After the intelligent network storage device and the terminal device APP are matched by the same connection identifier, the virtual connection can be established through the TCP three-way handshake, and a data transmission channel is established.
  • the optimal TS server successfully establishes a data transmission channel for the intelligent network storage device and the terminal device APP.
  • the data transmission process of the intelligent network storage device and the terminal device APP includes the following:
  • connection identifier attribute field is also The connection identifier attribute field assigned to the terminal device APP by the best TS server is the same.
  • the optimal TS server binds to the data transmission channel according to the mapping connection, and obtains a single data transmission channel for the intelligent network storage device and the terminal device APP to perform data communication. After the binding is successful, the data transmission channel can serve as a transit channel, so that the intelligent network storage device and the terminal device APP complete the data transmission with the assistance of the TS server.
  • the data transmission can be completed with the assistance of the TS server without sending other request requirements.
  • a data transmission channel establishing system selects an optimal TS server by using a scheduling rule, and establishes a data transmission channel for the intelligent network storage device and the terminal device APP through the optimal TS server, so that the intelligent network storage device and the terminal
  • the device APP completes fast data transmission through the data transmission channel and with the assistance of the TS server, which can improve the connection speed between the intelligent network storage device and the terminal device, and improve the stability of the connection.
  • FIG. 3 is a schematic flowchart of a first embodiment of a method for establishing a data transmission channel according to the present application.
  • step S301 the control server receives the TS server address request information of the intelligent network storage device and the terminal device APP, and feeds back the optimal TS server address to the intelligent network storage device and the terminal device APP according to the scheduling rule.
  • the optimal TS server is not only one but also multiple.
  • the scheduling rule may be set according to multiple factors such as the area where the TS server is located, the network card capability, the CPU usage rate, and the memory usage rate.
  • the weights are selected to the TS server with the largest weight or within the weight range.
  • step S302 the intelligent network storage device and the terminal device APP establish a connection with the corresponding optimal TS server according to the optimal TS server address, and the optimal TS server establishes for the intelligent network storage device and the terminal device APP. Data transmission channel.
  • the terminal device APP when it is required to establish a data transmission channel, sends a request for acquiring a TS server address to the control server, and the intelligent network storage device sends a request for acquiring a TS server address to the control server.
  • control server feeds back the optimal TS server address to the terminal device APP according to the scheduling rule, and sends a session identification code to the terminal device APP, and the control server feeds back according to the scheduling rule.
  • the optimal TS server address is sent to the intelligent network storage device, and the same session identifier is delivered to the intelligent network storage device.
  • the session identifier is a unique encrypted key
  • the session identifier may be a UUID
  • the UUID is a globally unique UUID allocated by the control server to the terminal device APP and the intelligent network storage device
  • the UUID is an identifier. The same UUID can be issued to enable the terminal device APP and the intelligent network storage device to match.
  • the data transmission channel is a transit channel established by the TS server, and the application program APP of the intelligent network storage device 20 and the terminal device 30 can quickly perform data interaction through the relay channel, thereby improving the user experience of the terminal device 30. Improve the sensitivity of human-computer interaction.
  • a data transmission channel establishment method provided by the embodiment of the present application selects an optimal TS server by using a scheduling rule, and establishes a data transmission channel for the intelligent network storage device and the terminal device APP through the optimal TS server, so that the intelligent network storage device and the terminal The device APP completes fast data transmission through the data transmission channel and with the assistance of the TS server, which improves the performance of the TS server, saves bandwidth, and reduces memory loss.
  • FIG. 4 is a schematic flowchart of a second embodiment of a method for establishing a data transmission channel according to the present application. Specifically, FIG. 4 is that the intelligent network storage device and the terminal device APP in FIG. 3 establish a connection with a corresponding optimal TS server according to the optimal TS server address, and the optimal TS server is the intelligent network storage device. And a specific process diagram of establishing a data transmission channel of the terminal device APP.
  • step S401 the intelligent network storage device and the terminal device APP respectively establish a TCP three-way handshake with the optimal TS server.
  • a virtual connection is established by establishing a TCP three-way handshake to ensure that the communication interaction between the intelligent network storage device, the terminal device APP, and the optimal TS server is normal.
  • step S402 the optimal TS server establishes a mapping connection to the intelligent network storage device and the terminal device APP according to the intelligent network storage device and the allocation request of the terminal device APP.
  • the mapped connection can be connected through a port mapping.
  • step S403 the terminal device APP performs a TCP three-way handshake with the intelligent network storage device according to the mapping connection relationship to establish a data transmission channel.
  • a virtual connection can be established through a TCP three-way handshake, and a data transmission channel is established.
  • the intelligent network storage device and the terminal device APP respectively send a binding request to the optimal TS server, and the binding request includes the connection identifier attribute field, and obviously, the connection identifier attribute field It is also the same as the connection identifier attribute field assigned to the terminal device APP by the above-described best TS server.
  • the optimal TS server binds to the data transmission channel according to the mapping connection, and obtains a single data transmission channel for the intelligent network storage device and the terminal device APP to perform data communication. After the binding is successful, the data transmission channel can serve as a transit channel, so that the intelligent network storage device and the terminal device APP complete the data transmission with the assistance of the TS server.
  • the data transmission can be completed with the assistance of the TS server without sending other request requirements.
  • a data transmission channel establishment method provided by an embodiment of the present application selects an optimal TS server by using a scheduling rule, and establishes a data transmission channel for the intelligent network storage device and the terminal device APP through the optimal TS server, so that the intelligent network storage device and the terminal device Through the data transmission channel and the assistance of the TS server, the APP completes fast data transmission, improves the performance of the TS server, saves bandwidth, and reduces memory loss.
  • FIG. 5 is a schematic flowchart of a third embodiment of a method for establishing a data transmission channel according to the present application. Specifically, FIG. 5 is a schematic flowchart of establishing a mapping connection between the intelligent network storage device and the terminal device APP according to the allocation request of the intelligent network storage device and the terminal device APP according to the optimal TS server in FIG. 4 .
  • step S501 the intelligent network storage device and the terminal device APP respectively send the allocation request to the optimal TS server, wherein the allocation request includes a universal unique identifier.
  • the Universally Unique Identifier has unique identification information, and the allocation request includes a universal unique identifier to ensure the uniqueness of the allocation request and prevent confusion.
  • the optimal TS server After receiving the allocation request, the optimal TS server allocates a mapping port to the intelligent network storage device and the terminal device APP, and stores the mapping port in a Key-Value association structure.
  • mapping port can be used to request the establishment of the data transmission channel.
  • step S503 the terminal device APP sends a connection request to the optimal TS server, wherein the connection request includes the session identification code.
  • the session identifier is a globally unique UUID assigned by the previous control server to the terminal device APP and the intelligent network storage device.
  • the current terminal device APP and the intelligent network storage device can be identified according to the session identification code (UUID).
  • UUID session identification code
  • step S504 the optimal TS server searches for the port address of the mapping relationship to be established in the Key-Value association structure, and initiates the TCP connection of the intelligent network storage device and the terminal device APP to the mapping port.
  • the Key-Value association structure stores the mapped port.
  • the TCP connection between the optimal TS server and the mapping port of the intelligent network storage device is a passive connection, that is, once the mapping port is determined, when a data transmission occurs, a TCP connection is performed through the port, and the optimal TS server is
  • the TCP connection of the mapping port of the terminal device APP belongs to the active connection, and the terminal device APP is required to make a request, and then the optimal TS server searches for the port address of the mapping relationship to be established in the Key-Value association structure, and then performs the TCP connection of the mapping port. .
  • step S505 the optimal TS server sends a connection response request to the terminal device APP, so that the mapping relationship is successfully established, wherein the connection response request includes a connection identifier attribute field.
  • connection identifier attribute field is an attribute field allocated by the optimal TS server to the terminal device APP for identifying the request information, and provides an identifier for subsequent unique identification with the intelligent network storage device.
  • FIG. 6 is a schematic flowchart diagram of a fourth embodiment of a method for establishing a data transmission channel according to the present application. Specifically, FIG. 6 is a schematic diagram of a process in which the optimal TS server in FIG. 4 establishes a data transmission channel for the intelligent network storage device and the terminal device APP according to the mapping connection relationship.
  • step S601 the optimal TS server sends an attempt connection request to the intelligent network storage device, wherein the attempt connection request includes the connection identifier attribute field.
  • the connection identifier attribute field is the same as the connection identifier attribute field allocated by the optimal TS server to the terminal device APP, and the smart network storage device and the terminal device APP can be matched by the same connection identifier.
  • step S602 the intelligent network storage device and the terminal device APP respectively send a TCP three-way handshake to establish a data transmission channel.
  • the virtual connection can be established through the TCP three-way handshake, and a data transmission channel is established.
  • the intelligent network storage device and the terminal device APP respectively send a binding request to the optimal TS server, and the binding request includes the connection identifier attribute field, and obviously, the connection identifier attribute field It is also the same as the connection identifier attribute field assigned to the terminal device APP by the above-described best TS server.
  • the optimal TS server binds to the data transmission channel according to the mapping connection, and obtains a single data transmission channel for the intelligent network storage device and the terminal device APP to perform data communication. After the binding is successful, the data transmission channel can serve as a transit channel, so that the intelligent network storage device and the terminal device APP complete the data transmission with the assistance of the TS server.
  • the data transmission can be completed with the assistance of the TS server without sending other request requirements.
  • a data transmission channel establishment method provided by the embodiment of the present application selects an optimal TS server by using a scheduling rule, and establishes a data transmission channel for the intelligent network storage device and the terminal device APP through the optimal TS server, so that the intelligent network storage device and the terminal The device APP completes fast data transmission through the data transmission channel and with the assistance of the TS server, which improves the performance of the TS server, saves bandwidth, and reduces memory loss.
  • FIG. 7 is a structural block diagram of an implementation manner of an intelligent network storage device according to the present application.
  • the intelligent network storage device includes an address requesting module 700, a receiving module 702, a connecting module 704, and a transmitting module 706.
  • the address requesting module 700 is configured to send TS server address request information to the control server.
  • the receiving module 702 is configured to receive an optimal TS server address fed back by the control server and a delivered session identifier.
  • the connection module 704 is configured to establish a communication connection with the best TS server according to the optimal TS server address and the delivered session identifier.
  • the optimal TS server is not only one but also multiple.
  • the scheduling rule may be set according to multiple factors such as the area where the TS server is located, the network card capability, the CPU usage rate, and the memory usage rate.
  • the weights are selected to the TS server with the largest weight or within the weight range.
  • the transmission module 706 is configured to perform data transmission with the terminal device through a data transmission channel established by the optimal TS server.
  • FIG. 8 is a structural block diagram of an embodiment of a submodule of the connection module of FIG.
  • connection module 704 includes an allocation request module 7040, a mapping response module 7042, and a connection response module 7044.
  • the allocation request module 7040 is configured to send the allocation request to the optimal TS server.
  • the allocation request includes a universally unique identification code.
  • the optimal TS server After receiving the allocation request, allocates a mapping port to the intelligent network storage device, and stores the mapping port in an associative array.
  • the mapping response module 7042 is configured to receive the mapping port allocated by the optimal TS server, and respond to the nearest TS server when performing port mapping.
  • the optimal TS server searches for the port address of the mapping relationship to be established in the associative array, and initiates a TCP connection of the intelligent network storage device to the mapping port.
  • the connection response module 7044 is configured to respond to the latest TS server according to a mapping relationship when receiving an optimal TS server to attempt a connection request.
  • the optimal TS server sends a connection response request to the mobile device APP, so that the mapping relationship is successfully established.
  • the intelligent network storage device provided by the embodiment of the present application can quickly perform data transmission with the terminal device in the data transmission channel with the assistance of the TS server.
  • FIG. 9 is a structural block diagram of an embodiment of a control server of the present application.
  • the control server 900 includes:
  • the receiving module 902 is configured to receive the smart network storage device and the TS server address request information of the terminal device APP.
  • the obtaining module 904 is configured to obtain an optimal TS server address according to the scheduling rule.
  • the obtaining the optimal TS server address according to the scheduling rule includes: selecting the weight according to the area where the TS server is located, the network card capability, the CPU usage rate, and the memory usage rate, and selecting the maximum weight or setting the weight range.
  • the TS server is the best TS server, and obtains the address of the best TS server.
  • the sending module 906 is configured to feed back the optimal TS server address to the intelligent network storage device and the terminal device APP.
  • the control server provided by the embodiment of the present application can enable the TS server to establish a data transmission channel by scheduling the TS server, so that the intelligent network storage device and the terminal device APP can quickly perform data transmission through the data transmission channel with the assistance of the optimal TS server. .
  • FIG. 10 is a flowchart of a fifth embodiment of a method for establishing a data transmission channel of the present application, which is executed by a control server, and includes:
  • S1001 Receive the TS server address request information of the intelligent network storage device and the terminal device APP.
  • S1002 Obtain an optimal TS server address according to a scheduling rule.
  • S1003 Feed back the optimal TS server address to the intelligent network storage device and the terminal device APP.
  • the obtaining the optimal TS server address according to the scheduling rule in S1002 includes: selecting the weight or setting the weight according to the area where the TS server is located, the network card capability, the CPU usage rate, and the memory usage rate.
  • the TS server in the range is the best TS server, and the address of the best TS server is obtained.
  • the method of the embodiment of the present application enables the control server to enable the TS server to establish a data transmission channel by scheduling the TS server, so that the intelligent network storage device and the terminal device APP can quickly perform data through the data transmission channel with the assistance of the optimal TS server. transmission.
  • FIG. 11 is a flowchart of a sixth embodiment of a method for establishing a data transmission channel of the present application, which is performed by a TS server, and includes:
  • S1101 Establish a TCP three-way handshake with the intelligent network storage device and the terminal device APP.
  • S1102 Establish a mapping connection relationship between the intelligent network storage device and the terminal device APP according to the allocation request of the intelligent network storage device and the terminal device APP.
  • S1103 Establish a data transmission channel for the intelligent network storage device and the terminal device APP according to the mapping connection relationship.
  • mapping connection between the intelligent network storage device and the terminal device APP according to the allocation request of the intelligent network storage device and the terminal device APP in the S1102 includes:
  • mapping port Assigning a mapping port to the intelligent network storage device and the terminal device APP, and storing the mapping port in a Key-Value association structure
  • connection response request Sending a connection response request to the terminal device APP, so that the mapping relationship is successfully established, wherein the connection response request includes a connection identifier attribute field.
  • the establishing, by the S1103, the data transmission channel for the intelligent network storage device and the terminal device APP according to the mapping connection relationship includes:
  • the intelligent network storage device responds to the attempted connection request, and establishes a TCP three-way handshake connection with the terminal device APP according to the mapping connection relationship and establishes a data transmission channel according to the optimal TS server.
  • the method of the embodiment of the present application enables the TS server to establish a data transmission channel, so that the intelligent network storage device and the terminal device APP can quickly perform data transmission through the data transmission channel with the assistance of the optimal TS server.
  • FIG. 12 is a flowchart of a seventh embodiment of a method for establishing a data transmission channel of the present application, which is performed by an intelligent network storage device, and includes:
  • S1201 Send TS server address request information to the control server.
  • S1202 Receive an optimal TS server address fed back by the control server and a delivered session identifier.
  • S1203 Establish a communication connection with the best TS server according to the best TS server address and the delivered session identifier.
  • S1204 Data transmission is performed by the data transmission channel established by the optimal TS server and the terminal device.
  • establishing a communication connection with the optimal TS server in S1203 includes:
  • the nearest TS server Upon receiving the attempted connection request of the best TS server, the nearest TS server is responded according to the mapping relationship.
  • the method of the embodiment of the present application enables the intelligent network storage device to quickly perform data transmission with the terminal device in the data transmission channel with the assistance of the TS server.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a client (which may be a cell phone, computer, server, air conditioner, or network device, etc.) to perform the methods described in various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请公开了一种数据传输通道建立系统、方法、网络存储设备、服务器及存储介质。系统包括:控制服务器、智能网络存储设备以及终端设备;控制服务器接收智能网络存储设备以及终端设备APP的TS服务器地址请求信息,并根据调度规则反馈最佳TS服务器地址给智能网络存储设备以及终端设备APP;智能网络存储设备以及终端设备APP根据最佳TS服务器地址与对应的最佳TS服务器建立连接,最佳TS服务器为智能网络存储设备以及终端设备APP建立数据传输通道。本申请提供的数据传输通道建立系统及方法通过调度规则选择最佳TS服务器,并通过该最佳TS服务器建立数据传输通道,使得智能网络存储设备以及终端设备APP在数据传输通道中并在TS服务器的协助下完成数据传输,节约带宽,降低内存损耗。

Description

数据传输通道建立系统、方法、网络存储设备、服务器及存储介质
本申请要求于2018年03月28日提交中国专利局、申请号为201810266585X、发明名称为“数据传输通道建立系统、网络存储设备、服务器及方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及数据通信,尤其涉及数据传输通道建立系统、方法、网络存储设备、服务器及存储介质。
背景技术
目前,新一代智能硬件、或者也称之为智能网络存储设备,又或者也可以称之为“可赚钱的移动云盘”。所述智能网络储存设备单独和或者与存储装置配合使用,可以进行文件的存储及上传,提供网络服务。可以通过终端,尤其是移动终端来控制这种智能网络存储设备。但是,这种智能网络存储设备很难直接与终端进行数据传输,需要借助TS(Terminal Services,终端服务)服务器来协助两者之间来完成数据交互。然而,处于不同地理位置的海量智能网络存储设备通常通过不同的网络联网,并且,不同的移动终端也通过不同的网络联网,同时,随着移动终端所处的位置变化,连网状态也会相应变化,如何使智能网络存储设备与终端快速连接是业界需要解决的问题。
发明内容
有鉴于此,本申请提供的一种数据传输通道建立方案能够使智能网络存储设备与终端快速连接的技术问题。
为了实现上述目的,本申请实施例提供了一种数据传输通道建立系统,具体包括:
控制服务器、智能网络存储设备以及终端设备;
所述智能网络存储设备以及终端设备分别与所述控制服务器通信连接;
所述控制服务器用于接收所述智能网络存储设备以及终端设备APP的TS服务器地址请求信息,并根据调度规则反馈最佳TS服务器地址给所述智能网络存储设备以及终端设备APP;
所述智能网络存储设备以及终端设备APP根据所述最佳TS服务器地址与对应的最佳TS服务器建立连接,所述最佳TS服务器为所述智能网络存储设备以及终端设备APP建立数据传输通道。
此外,为实现上述目的,本申请实施例还提供了一种数据传输通道建立方法,具体包括:
所述控制服务器接收所述智能网络存储设备以及终端设备APP的TS服务器地址请求信息,并根据调度规则反馈最佳TS服务器地址给所述智能网络存储设备以及终端设备APP;
所述智能网络存储设备以及终端设备APP根据所述最佳TS服务器地址与对应的最佳TS服务器建立连接,所述最佳TS服务器为所述智能网络存储设备以及终端设备APP建立数据传输通道。
本申请实施例提供的一种数据传输通道建立系统及方法通过调度规则选择最佳TS服务器,并通过该最佳TS服务器为智能网络存储设备以及终端设备APP建立数据传输通道,使得智能网络存储设备以及终端设备APP能够通过该数据传输通道在最佳TS服务器的协助下快速的进行数据传输,提升了TS服务器性能,节约带宽,降低内存损耗。
此外,为了实现上述目的,本申请实施例还提供了一种智能网络存储设备,包括:
地址请求模块,用于向控制服务器发送TS服务器地址请求信息;
接收模块,用于接收控制服务器反馈的最佳TS服务器地址以及下发的会话识别码;
连接模块,用于根据所述最佳TS服务器地址以及下发的会话识别码与所述最佳TS服务器建立通信连接;
传输模块,用于通过最佳TS服务器建立的数据传输通道与终端设备进行数据传输。
此外,为了实现上述目的,本申请实施例还提供了一种控制服务器,包括:
接收模块,用于接收智能网络存储设备以及终端设备APP的TS服务器地址请求信息;
获取模块,用于根据调度规则,获取最佳TS服务器地址;
发送模块,用于给所述智能网络存储设备以及终端设备APP反馈所述最佳TS服务器地址。
此外,为了实现上述目的,本申请实施例还提供了一种数据传输通道建立方法,由TS服务器执行,包括:
与智能网络存储设备以及终端设备APP建立TCP三次握手;
根据所述智能网络存储设备以及终端设备APP的分配请求,对所述智能网络存储设备以及终端设备APP建立映射连接关系;以及
根据所述映射连接关系为所述智能网络存储设备以及终端设备APP建立数据传输通道。
此外,为了实现上述目的,本申请实施例还提供了一种数据传输通道建立方法,由智能网络存储设备执行,包括:
向控制服务器发送TS服务器地址请求信息;
接收控制服务器反馈的最佳TS服务器地址以及下发的会话识别码;
根据所述最佳TS服务器地址以及下发的会话识别码与所述最佳TS服务器建立通信连接;以及
通过最佳TS服务器建立的数据传输通道与终端设备进行数据传输。
此外,为了实现上述目的,本申请实施例还提供了一种数据传输通道建 立方法,由控制服务器执行,包括:
接收智能网络存储设备以及终端设备APP的TS服务器地址请求信息;
根据调度规则,获取最佳TS服务器地址;
给所述智能网络存储设备以及终端设备APP反馈所述最佳TS服务器地址。
此外,为了实现上述目的,本申请实施例还提供了一种存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的数据传输通道建立方法。
本申请实施例提供的数据传输通道建立方案,通过调度规则选择最佳TS服务器,并通过该最佳TS服务器为智能网络存储设备以及终端设备APP建立数据传输通道,使得智能网络存储设备以及终端设备APP通过该数据传输通道并在TS服务器的协助下完成快速的数据传输,可以保证智能网络存储设备与终端设备的连接速度,并提高连接的稳定性。
附图说明
图1为本申请数据传输通道建立系统一实施方式的结构框图;
图2为图1中数据传输通道建立系统进行数据传输通道建立一实施方式的数据通信交互图;
图3为本申请数据传输通道建立方法第一实施例的流程示意图;
图4为本申请数据传输通道建立方法第二实施例的流程示意图;
图5为本申请数据传输通道建立方法第三实施例的流程示意图;
图6为本申请数据传输通道建立方法第四实施例的流程示意图;
图7为本申请智能网络存储设备一实施方式的结构框图;
图8为图7中连接模块的子模块一实施方式的结构框图;
图9为本申请控制服务器的一实施方式的结构框图;
图10为本申请数据传输通道建立方法第五实施例的流程示意图;
图11为本申请数据传输通道建立方法第六实施例的流程示意图;
图12为本申请数据传输通道建立方法第七实施例的流程示意图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。
参阅图1,图1为本申请数据传输通道建立系统一实施方式的结构框图。
在本实施方式中,数据传输通道建立系统包括控制服务器10、智能网络存储设备20以及终端设备30。
进一步地,所述控制服务器10可以为远场控制服务器组,如接入服务器(Interface Services,IS)、运输管理系统服务器(Transportation Management System,TMS服务器)等。所述智能网络存储设备20可以为新一代智能硬件、或者移动云盘,如玩客云。所述终端设备为移动智能通信终端、PC终端或者请其他智能终端。
具体的,所述智能网络存储设备20以及终端设备30分别与所述控制服 务器10通信连接。
所述控制服务器10用于接收所述智能网络存储设备20以及终端设备30的应用程序APP的TS服务器地址请求信息,并根据调度规则反馈最佳TS服务器地址给所述智能网络存储设备20以及终端设备30的应用程序APP。
具体的,所述最佳TS服务器不仅仅是一个,也可以是多个,所述调度规则可以依据TS服务器所处的区域、网卡能力、CPU占用率以及内存使用率等多个因素根据其设定的权重选择权重最大的或者设定权重范围内的TS服务器。
所述智能网络存储设备20以及终端设备30的应用程序APP根据所述最佳TS服务器地址与对应的最佳TS服务器建立连接,所述最佳TS服务器为所述智能网络存储设备20以及终端设备30的应用程序APP建立数据传输通道。
所述数据传输通道为TS服务器建立的中转通道,所述智能网络存储设备20以及终端设备30的应用程序APP可以通过该中转通道快速的进行数据交互,从而提高终端设备30的使用者的使用体验,提高了人机交互好感度。
具体的数据传输通道建立过程请参阅图2,图2为图1中数据传输通道建立系统进行数据传输通道建立一实施方式的数据通信交互图。
在本数据通信交互图中,当需要建立数据传输通道时,所述终端设备APP向所述控制服务器发送获取TS服务器地址的请求,同时,所述智能网络存储设备向所述控制服务器发送获取TS服务器地址的请求。
所述控制服务器根据所述调度规则反馈所述最佳TS服务器地址给所述终端设备APP,并下发会话识别码给所述终端设备APP,同时,所述控制服务器根据所述调度规则反馈所述最佳TS服务器地址给所述智能网络存储设备,并下发相同的所述会话识别码给所述智能网络存储设备。
具体的,所述最佳TS服务器不仅仅是一个,也可以是多个,所述调度规则可以依据TS服务器所处的区域、网卡能力、CPU占用率以及内存使用率等 多个因素根据其设定的权重选择权重最大的或者设定权重范围内的TS服务器。
进一步地,所述会话识别码为唯一经过加密的密钥,会话识别码可以为UUID(Universally Unique Identifier)),该UUID为控制服务器为终端设备APP以及智能网络存储设备分配的全局唯一的UUID,该UUID为身份识别码,下发相同的UUID即可让终端设备APP以及智能网络存储设备能够匹配。
控制服务器分配好最佳TS服务器给终端设备APP以及智能网络存储设备后,所述最佳TS服务器为所述智能网络存储设备20以及终端设备30的应用程序APP建立数据传输通道,具体包括:
首先,所述智能网络存储设备以及终端设备APP分别与所述最佳TS服务器建立TCP三次握手。具体而言,通过TCP三次握手建立连接,以保证智能网络存储设备、终端设备APP以及最佳TS服务器后续的通信交互正常运行。
然后,所述最佳TS服务器根据所述智能网络存储设备以及终端设备APP的分配请求,对所述智能网络存储设备以及终端设备APP建立映射连接,具体包括:
步骤一、所述智能网络存储设备以及终端设备APP分别发送分配请求给所述最佳TS服务器,其中,所述分配请求包括通用唯一识别码。具体而言,该通用唯一识别码(Universally Unique Identifier,UUID)拥有唯一的辨识资讯,该分配请求包含通用唯一识别码以保证分配请求的独特性,防止混淆。
步骤二、所述最佳TS服务器接收到所述分配请求后,为所述智能网络存储设备以及终端设备APP分配映射端口,并将所述映射端口存储在Key-Value关联结构中。需要说明的是,当智能网络存储设备以及终端设备APP被分配映射端口后,即可通过该映射端口来请求数据传输通道的建立。
步骤三、所述终端设备APP发送连接请求给所述最佳TS服务器,其中,所述连接请求包括所述会话识别码,该会话识别码(UUID)为所述控制服务 器为终端设备APP以及智能网络存储设备分配的全局唯一的UUID。
显然的,根据该会话识别码(UUID)可以识别出当前终端设备APP以及智能网络存储设备。
步骤四,所述最佳TS服务器在Key-Value关联结构中查找所要建立映射关系的端口地址,并发起所述智能网络存储设备以及终端设备APP对所述映射端口的TCP连接,使得映射关系成功建立。显然的,该Key-Value关联结构存储有该映射端口。
具体的,最佳TS服务器与所述智能网络存储设备的映射端口的TCP连接属于被动连接,即一旦确定了映射端口,当发生数据传输时,通过该端口进行TCP连接,而最佳TS服务器与所述终端设备APP的映射端口的TCP连接属于主动连接,需要终端设备APP发出请求,然后最佳TS服务器在Key-Value关联结构中查找所要建立映射关系的端口地址,继而进行映射端口的TCP连接。
步骤五,所述最佳TS服务器向所述终端设备APP发送连接响应请求,使得映射关系成功建立,其中,所述连接响应请求包括连接识别码属性字段。具体而言,所述连接识别码属性字段为所述最佳TS服务器分配给终端设备APP用于识别请求信息的属性字段,为后续与智能网络存储设备进行唯一识别提供标识。
这样,最佳TS服务器成功为所述智能网络存储设备以及终端设备APP建立映射连接。
最后,所述最佳TS服务器根据所述映射连接关系为所述智能网络存储设备以及终端设备APP建立数据传输通道,这一通信过程具体包括如下:
步骤一,所述最佳TS服务器向所述智能网络存储设备发送尝试连接请求,其中,所述尝试连接请求包括所述连接识别码属性字段,其中,所述连接识别码属性字段为上述最佳TS服务器分配给终端设备APP的连接识别码属性字段相同,通过相同的连接识别码使得智能网络存储设备与终端设备 APP能够匹配。
步骤二、所述智能网络存储设备响应所述尝试连接请求,并根据所述映射连接关系并通过所述最佳TS服务器与所述终端设备APP建立TCP三次握手连接,建立数据传输通道,其中,当智能网络存储设备与终端设备APP通过相同的连接识别码匹配后,可以通过TCP三次握手建立虚连接,并建立数据传输通道。
这样最佳TS服务器成功的为所述智能网络存储设备以及终端设备APP建立了数据传输通道。
当数据传输通道建立之后,智能网络存储设备以及终端设备APP的数据传输过程包括如下:
所述智能网络存储设备以及终端设备APP分别发送绑定请求给所述最佳TS服务器,且所述绑定请求包括所述连接识别码属性字段,显然的,该连接识别码属性字段也与上述最佳TS服务器分配给终端设备APP的连接识别码属性字段相同。
所述最佳TS服务器根据所述映射连接与所述数据传输通道进行绑定,得到所述智能网络存储设备以及终端设备APP进行数据通信的单一数据传输通道。其中,当绑定成功后,该数据传输通道即可作为中转通道使得智能网络存储设备以及终端设备APP在TS服务器的协助下完成数据传输。
当智能网络存储设备以及终端设备APP经过绑定后,即可在不需要发送其他请求要求的前提下在TS服务器的协助下完成数据传输。
本申请实施例提供的一种数据传输通道建立系统通过调度规则选择最佳TS服务器,并通过该最佳TS服务器为智能网络存储设备以及终端设备APP建立数据传输通道,使得智能网络存储设备以及终端设备APP通过该数据传输通道并在TS服务器的协助下完成快速的数据传输,可以提升智能网络存储设备与终端设备的连接速度,并提高连接的稳定性。
参阅图3,图3为本申请建立数据传输通道方法第一实施例的流程示意图。
在步骤S301,控制服务器接收智能网络存储设备以及终端设备APP的TS服务器地址请求信息,并根据调度规则反馈最佳TS服务器地址给所述智能网络存储设备以及终端设备APP。
具体的,所述最佳TS服务器不仅仅是一个,也可以是多个,所述调度规则可以依据TS服务器所处的区域、网卡能力、CPU占用率以及内存使用率等多个因素根据其设定的权重选择权重最大的或者设定权重范围内的TS服务器。
在步骤S302,所述智能网络存储设备以及终端设备APP根据所述最佳TS服务器地址与对应的最佳TS服务器建立连接,所述最佳TS服务器为所述智能网络存储设备以及终端设备APP建立数据传输通道。
具体的,当需要建立数据传输通道时,所述终端设备APP向所述控制服务器发送获取TS服务器地址的请求,同时,所述智能网络存储设备向所述控制服务器发送获取TS服务器地址的请求。
所述控制服务器根据所述调度规则反馈所述最佳TS服务器地址给所述终端设备APP,并下发会话识别码给所述终端设备APP,同时,所述控制服务器根据所述调度规则反馈所述最佳TS服务器地址给所述智能网络存储设备,并下发相同的所述会话识别码给所述智能网络存储设备。
进一步地,所述会话识别码为唯一经过加密的密钥,会话识别码可以为UUID,该UUID为控制服务器为终端设备APP以及智能网络存储设备分配的全局唯一的UUID,该UUID为身份识别码,下发相同的UUID即可让终端设备APP以及智能网络存储设备能够匹配。
所述数据传输通道为TS服务器建立的中转通道,所述智能网络存储设备20以及终端设备30的应用程序APP可以通过该中转通道快速的进行数据交互,从而提高终端设备30的使用者的使用体验,提高了人机交互好感度。
本申请实施例提供的一种数据传输通道建立方法通过调度规则选择最佳TS服务器,并通过该最佳TS服务器为智能网络存储设备以及终端设备APP 建立数据传输通道,使得智能网络存储设备以及终端设备APP通过该数据传输通道并在TS服务器的协助下完成快速的数据传输,提升了TS服务器性能,节约带宽,降低内存损耗。
参阅图4,图4为本申请建立数据传输通道方法第二实施例的流程示意图。具体的,图4为图3中所述智能网络存储设备以及终端设备APP根据所述最佳TS服务器地址与对应的最佳TS服务器建立连接,所述最佳TS服务器为所述智能网络存储设备以及终端设备APP数据传输通道建立具体流程示意图。
在步骤S401,所述智能网络存储设备以及终端设备APP分别与所述最佳TS服务器建立TCP三次握手。
具体而言,通过建立TCP三次握手来建立虚连接,以保证智能网络存储设备、终端设备APP以及最佳TS服务器后续的通信交互正常运行。
在步骤S402,所述最佳TS服务器根据所述智能网络存储设备以及终端设备APP的分配请求,对所述智能网络存储设备以及终端设备APP建立映射连接。
具体而言,映射连接可以通过端口映射进行连接。
在步骤S403,所述终端设备APP根据所述映射连接关系与所述智能网络存储设备进行TCP三次握手,建立数据传输通道。
具体的,可以通过TCP三次握手建立虚连接,并建立数据传输通道。
优选的,所述智能网络存储设备以及终端设备APP分别发送绑定请求给所述最佳TS服务器,且所述绑定请求包括所述连接识别码属性字段,显然的,该连接识别码属性字段也与上述最佳TS服务器分配给终端设备APP的连接识别码属性字段相同。
所述最佳TS服务器根据所述映射连接与所述数据传输通道进行绑定,得到所述智能网络存储设备以及终端设备APP进行数据通信的单一数据传输通道。其中,当绑定成功后,该数据传输通道即可作为中转通道使得智能网络 存储设备以及终端设备APP在TS服务器的协助下完成数据传输。
当智能网络存储设备以及终端设备APP经过绑定后,即可在不需要发送其他请求要求的前提下在TS服务器的协助下完成数据传输。
本申请实施例提供的一种数据传输通道建立方法通过调度规则选择最佳TS服务器并通过该最佳TS服务器为智能网络存储设备以及终端设备APP建立数据传输通道,使得智能网络存储设备以及终端设备APP通过该数据传输通道并在TS服务器的协助下完成快速的数据传输,提升了TS服务器性能,节约带宽,降低内存损耗。
参阅图5,图5为本申请建立数据传输通道方法第三实施例的流程示意图。具体的,图5为图4中最佳TS服务器根据所述智能网络存储设备以及终端设备APP的分配请求,对所述智能网络存储设备以及终端设备APP建立映射连接的流程示意图。
在步骤S501,所述智能网络存储设备以及终端设备APP分别发送所述分配请求给所述最佳TS服务器,其中,所述分配请求包括通用唯一识别码。
具体而言,该通用唯一识别码(Universally Unique Identifier,UUID)拥有唯一的辨识资讯,该分配请求包含通用唯一识别码以保证分配请求的独特性,防止混淆。
在步骤S502,所述最佳TS服务器接收到所述分配请求后,为所述智能网络存储设备以及终端设备APP分配映射端口,并将所述映射端口存储在Key-Value关联结构中。
需要说明的是,当智能网络存储设备以及终端设备APP被分配映射端口后,即可通过该映射端口来请求数据传输通道的建立。
在步骤S503,所述终端设备APP发送连接请求给所述最佳TS服务器,其中,所述连接请求包括所述会话识别码。
该会话识别码(UUID)为之前控制服务器为终端设备APP以及智能网络存储设备分配的全局唯一的UUID。
显然的,根据该会话识别码(UUID)可以识别出当前终端设备APP以及智能网络存储设备。
在步骤S504,所述最佳TS服务器在Key-Value关联结构中查找所要建立映射关系的端口地址,并发起所述智能网络存储设备以及终端设备APP对所述映射端口的TCP连接。显然的,该Key-Value关联结构存储有该映射端口。
具体的,最佳TS服务器与所述智能网络存储设备的映射端口的TCP连接属于被动连接,即一旦确定了映射端口,当发生数据传输时,通过该端口进行TCP连接,而最佳TS服务器与所述终端设备APP的映射端口的TCP连接属于主动连接,需要终端设备APP发出请求,然后最佳TS服务器在Key-Value关联结构中查找所要建立映射关系的端口地址,继而进行映射端口的TCP连接。
在步骤S505,所述最佳TS服务器向所述终端设备APP发送连接响应请求,使得映射关系成功建立,其中,所述连接响应请求包括连接识别码属性字段。
具体而言,所述连接识别码属性字段为所述最佳TS服务器分配给终端设备APP用于识别请求信息的属性字段,为后续与智能网络存储设备进行唯一识别提供标识。
参阅图6,图6为本申请建立数据传输通道方法第四实施例的流程示意图。具体的,图6为图4中所述最佳TS服务器根据所述映射连接关系为所述智能网络存储设备以及终端设备APP建立数据传输通道的流程示意图。
在步骤S601,所述最佳TS服务器向所述智能网络存储设备发送尝试连接请求,其中,所述尝试连接请求包括所述连接识别码属性字段。其中,所述连接识别码属性字段为上述最佳TS服务器分配给终端设备APP的连接识别码属性字段相同,通过相同的连接识别码使得智能网络存储设备与终端设备APP能够匹配。
在步骤S602,所述智能网络存储设备以及终端设备APP分别发送TCP 三次握手,建立数据传输通道。其中,当智能网络存储设备与终端设备APP通过相同的连接识别码匹配后,可以通过TCP三次握手建立虚连接,并建立数据传输通道。
优选的,所述智能网络存储设备以及终端设备APP分别发送绑定请求给所述最佳TS服务器,且所述绑定请求包括所述连接识别码属性字段,显然的,该连接识别码属性字段也与上述最佳TS服务器分配给终端设备APP的连接识别码属性字段相同。
所述最佳TS服务器根据所述映射连接与所述数据传输通道进行绑定,得到所述智能网络存储设备以及终端设备APP进行数据通信的单一数据传输通道。其中,当绑定成功后,该数据传输通道即可作为中转通道使得智能网络存储设备以及终端设备APP在TS服务器的协助下完成数据传输。
当智能网络存储设备以及终端设备APP经过绑定后,即可在不需要发送其他请求要求的前提下在TS服务器的协助下完成数据传输。
本申请实施例提供的一种数据传输通道建立方法通过调度规则选择最佳TS服务器,并通过该最佳TS服务器为智能网络存储设备以及终端设备APP建立数据传输通道,使得智能网络存储设备以及终端设备APP通过该数据传输通道并在TS服务器的协助下完成快速的数据传输,提升了TS服务器性能,节约带宽,降低内存损耗。
参阅图7,图7为本申请智能网络存储设备一实施方式的结构框图。
在本实施方式中,智能网络存储设备包括地址请求模块700、接收模块702、连接模块704以及传输模块706。
地址请求模块700用于向控制服务器发送TS服务器地址请求信息。
接收模块702用于接收控制服务器反馈的最佳TS服务器地址以及下发的会话识别码。
连接模块704用于根据所述最佳TS服务器地址以及下发的会话识别码与所述最佳TS服务器建立通信连接。
具体的,所述最佳TS服务器不仅仅是一个,也可以是多个,所述调度规则可以依据TS服务器所处的区域、网卡能力、CPU占用率以及内存使用率等多个因素根据其设定的权重选择权重最大的或者设定权重范围内的TS服务器。
传输模块706用于通过最佳TS服务器建立的数据传输通道与终端设备进行数据传输。
进一步地,参阅图8,图8为图7中连接模块的子模块一实施方式的结构框图。
具体的,连接模块704包括分配请求模块7040、映射响应模块7042以及连接响应模块7044。
分配请求模块7040用于发送所述分配请求给所述最佳TS服务器。
一般而言,所述分配请求包括通用唯一识别码。最佳TS服务器接收到所述分配请求后,为所述智能网络存储设备分配映射端口,并将所述映射端口存储在关联数组中。
映射响应模块7042用于接收所述最佳TS服务器分配的映射端口,并在进行端口映射时响应所述最近TS服务器。
具体的,最佳TS服务器在关联数组中查找所要建立映射关系的端口地址,并发起所述智能网络存储设备对所述映射端口的TCP连接。
连接响应模块7044用于在接收到最佳TS服务器得尝试连接请求时,根据映射关系响应所述最近TS服务器。
具体的,最佳TS服务器向所述移动设备APP发送连接响应请求,使得映射关系成功建立。
本申请实施例提供的智能网络存储设备能够在TS服务器的协助下与终端设备在数据传输通道中快速的进行数据传输。
图9为本申请控制服务器的一实施例的结构框图。在本实施例中,控制服务器900包括:
接收模块902,用于接收智能网络存储设备以及终端设备APP的TS服务器地址请求信息。
获取模块904,用于根据调度规则,获取最佳TS服务器地址。
优选的,所述根据调度规则,获取最佳TS服务器地址包括:依据TS服务器所处的区域、网卡能力、CPU占用率以及内存使用率的设定权重,选择权重最大的或者设定权重范围内的TS服务器为最佳TS服务器,获取所述最佳TS服务器的地址。
发送模块906,用于给所述智能网络存储设备以及终端设备APP反馈所述最佳TS服务器地址。
本申请实施例提供的控制服务器能够通过调度TS服务器,使得TS服务器来建立数据传输通道使得智能网络存储设备以及终端设备APP能够通过该数据传输通道在最佳TS服务器的协助下快速的进行数据传输。
图10示出本申请数据传输通道建立方法的第五实施例的流程图,由控制服务器执行,包括:
S1001:接收智能网络存储设备以及终端设备APP的TS服务器地址请求信息。
S1002:根据调度规则,获取最佳TS服务器地址。
S1003:给所述智能网络存储设备以及终端设备APP反馈所述最佳TS服务器地址。
优选的,S1002中所述根据调度规则,获取最佳TS服务器地址包括:依据TS服务器所处的区域、网卡能力、CPU占用率以及内存使用率的设定权重,选择权重最大的或者设定权重范围内的TS服务器为最佳TS服务器,获取所述最佳TS服务器的地址。
本申请实施例的方法能使控制服务器通过调度TS服务器,使得TS服务器来建立数据传输通道使得智能网络存储设备以及终端设备APP能够通过该数据传输通道在最佳TS服务器的协助下快速的进行数据传输。
图11示出本申请数据传输通道建立方法的第六实施例的流程图,该方法由TS服务器执行,包括:
S1101:与智能网络存储设备以及终端设备APP建立TCP三次握手。
S1102:根据所述智能网络存储设备以及终端设备APP的分配请求,对所述智能网络存储设备以及终端设备APP建立映射连接关系。
S1103:根据所述映射连接关系为所述智能网络存储设备以及终端设备APP建立数据传输通道。
优选的,S1102中所述根据所述智能网络存储设备以及终端设备APP的分配请求,对所述智能网络存储设备以及终端设备APP建立映射连接包括:
接收所述智能网络存储设备以及终端设备APP分别发送的分配请求,其中,所述分配请求包括通用唯一识别码;
为所述智能网络存储设备以及终端设备APP分配映射端口,并将所述映射端口存储在Key-Value关联结构中;
接收所述终端设备APP发送的连接请求,其中,所述连接请求包括会话识别码;
在Key-Value关联结构中查找所要建立映射关系的端口地址,并发起所述智能网络存储设备以及终端设备APP对所述映射端口的TCP连接;
向所述终端设备APP发送连接响应请求,使得映射关系成功建立,其中,所述连接响应请求包括连接识别码属性字段。
优选的,S1103中所述根据所述映射连接关系为所述智能网络存储设备以及终端设备APP建立数据传输通道具体包括:
向所述智能网络存储设备发送尝试连接请求,其中,所述尝试连接请求包括所述连接识别码属性字段;
所述智能网络存储设备响应所述尝试连接请求,并根据所述映射连接关系并通过所述最佳TS服务器与所述终端设备APP建立TCP三次握手连接,建立数据传输通道。
本申请实施例的方法能使TS服务器建立数据传输通道,使得智能网络存储设备以及终端设备APP能够通过该数据传输通道在最佳TS服务器的协助下快速的进行数据传输。
图12示出本申请数据传输通道建立方法的第七实施例的流程图,该方法由智能网络存储设备执行,包括:
S1201:向控制服务器发送TS服务器地址请求信息。
S1202:接收控制服务器反馈的最佳TS服务器地址以及下发的会话识别码。
S1203:根据所述最佳TS服务器地址以及下发的会话识别码与所述最佳TS服务器建立通信连接。
S1204:通过最佳TS服务器建立的数据传输通道与终端设备进行数据传输。
较佳的,S1203中所述与所述最佳TS服务器建立通信连接包括:
发送分配请求给所述最佳TS服务器;
接收所述最佳TS服务器分配的映射端口,并在进行端口映射时响应所述最近TS服务器;
在接收到最佳TS服务器的尝试连接请求时,根据映射关系响应所述最近TS服务器。
本申请实施例的方法能够使智能网络存储设备在TS服务器的协助下与终端设备在数据传输通道中快速的进行数据传输。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体 现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台客户端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (24)

  1. 一种数据传输通道建立系统,其特征在于,所述系统包括:
    控制服务器、智能网络存储设备以及终端设备;
    所述智能网络存储设备以及终端设备分别与所述控制服务器通信连接;
    所述控制服务器用于接收所述智能网络存储设备以及终端设备APP的TS服务器地址请求信息,并根据调度规则反馈最佳TS服务器地址给所述智能网络存储设备以及终端设备APP;
    所述智能网络存储设备以及终端设备APP根据所述最佳TS服务器地址与对应的最佳TS服务器建立连接,所述最佳TS服务器为所述智能网络存储设备以及终端设备APP建立数据传输通道。
  2. 根据权利要求1所述的一种数据传输通道建立系统,其特征在于,所述控制服务器用于接收所述智能网络存储设备以及终端设备APP的TS服务器地址请求信息,并根据调度规则反馈最佳TS服务器地址给所述智能网络存储设备以及终端设备APP,具体包括:
    所述终端设备APP向所述控制服务器发送获取TS服务器地址的请求;
    所述控制服务器根据所述调度规则反馈所述最佳TS服务器地址给所述终端设备APP,并下发会话识别码给所述终端设备APP;
    所述智能网络存储设备向所述控制服务器发送获取TS服务器地址的请求;
    所述控制服务器根据所述调度规则反馈所述最佳TS服务器地址给所述智能网络存储设备,并下发相同的所述会话识别码给所述智能网络存储设备。
  3. 根据权利要求2所述的一种数据传输通道建立系统,其特征在于,所述智能网络存储设备以及终端设备APP根据所述最佳TS服务器地址与对应的 最佳TS服务器建立连接,所述最佳TS服务器为所述智能网络存储设备以及终端设备APP建立数据传输通道,具体包括:
    所述智能网络存储设备以及终端设备APP分别与所述最佳TS服务器建立TCP三次握手;
    所述最佳TS服务器根据所述智能网络存储设备以及终端设备APP的分配请求,对所述智能网络存储设备以及终端设备APP建立映射连接;
    所述最佳TS服务器根据所述映射连接关系为所述智能网络存储设备以及终端设备APP建立数据传输通道。
  4. 根据权利要求3所述的一种数据传输通道建立系统,其特征在于,所述最佳TS服务器根据所述智能网络存储设备以及终端设备APP的分配请求,对所述智能网络存储设备以及终端设备APP建立映射连接,具体包括:
    所述智能网络存储设备以及终端设备APP分别发送所述分配请求给所述最佳TS服务器,其中,所述分配请求包括通用唯一识别码;
    所述最佳TS服务器接收到所述分配请求后,为所述智能网络存储设备以及终端设备APP分配映射端口,并将所述映射端口存储在Key-Value关联结构中;
    所述终端设备APP发送连接请求给所述最佳TS服务器,其中,所述连接请求包括所述会话识别码;
    所述最佳TS服务器在Key-Value关联结构中查找所要建立映射关系的端口地址,并发起所述智能网络存储设备以及终端设备APP对所述映射端口的TCP连接;
    所述最佳TS服务器向所述终端设备APP发送连接响应请求,使得映射关系成功建立,其中,所述连接响应请求包括连接识别码属性字段。
  5. 根据权利要求4所述的一种数据传输通道建立系统,其特征在于,所述 最佳TS服务器根据所述映射连接关系为所述智能网络存储设备以及终端设备APP建立数据传输通道,具体包括:
    所述最佳TS服务器向所述智能网络存储设备发送尝试连接请求,其中,所述尝试连接请求包括所述连接识别码属性字段;
    所述智能网络存储设备响应所述尝试连接请求,并根据所述映射连接关系并通过所述最佳TS服务器与所述终端设备APP建立TCP三次握手连接,建立数据传输通道。
  6. 如权利要求5所述的数据传输通道建立系统,其特征在于,所述根据调度规则反馈最佳TS服务器地址给所述智能网络存储设备以及终端设备APP包括:依据TS服务器所处的区域、网卡能力、CPU占用率以及内存使用率的设定权重,选择权重最大的或者设定权重范围内的TS服务器为最佳TS服务器,将所述最佳TS服务器的地址发送给所述智能网络存储设备以及终端设备APP。
  7. 一种数据传输通道建立方法,其特征在于,所述方法包括:
    控制服务器接收智能网络存储设备以及终端设备APP的TS服务器地址请求信息,并根据调度规则反馈最佳TS服务器地址给所述智能网络存储设备以及终端设备APP;
    所述智能网络存储设备以及终端设备APP根据所述最佳TS服务器地址与对应的最佳TS服务器建立连接,所述最佳TS服务器为所述智能网络存储设备以及终端设备APP建立数据传输通道。
  8. 根据权利要求7所述的一种数据传输通道建立方法,其特征在于,所述控制服务器用于接收所述智能网络存储设备以及终端设备APP的TS服务器地址请求信息,并根据调度规则反馈最佳TS服务器地址给所述智能网络存储 设备以及终端设备APP的方法,具体包括:
    所述终端设备APP向所述控制服务器发送获取TS服务器地址的请求;
    所述控制服务器根据所述调度规则反馈所述最佳TS服务器地址给所述终端设备APP,并下发会话识别码给所述终端设备APP;
    所述智能网络存储设备向所述控制服务器发送获取TS服务器地址的请求;
    所述控制服务器根据所述调度规则反馈所述最佳TS服务器地址给所述智能网络存储设备,并下发相同的所述会话识别码给所述智能网络存储设备。
  9. 根据权利要求8所述的一种数据传输通道建立方法,其特征在于,所述智能网络存储设备以及终端设备APP根据所述最佳TS服务器地址与对应的最佳TS服务器建立连接,所述最佳TS服务器为所述智能网络存储设备以及终端设备APP数据传输通道建立,具体包括:
    所述智能网络存储设备以及终端设备APP分别与所述最佳TS服务器建立TCP三次握手;
    所述最佳TS服务器根据所述智能网络存储设备以及终端设备APP的分配请求,对所述智能网络存储设备以及终端设备APP建立映射连接;
    所述最佳TS服务器根据所述映射连接关系为所述智能网络存储设备以及终端设备APP建立数据传输通道。
  10. 根据权利要求9所述的一种数据传输通道建立方法,其特征在于,所述最佳TS服务器根据所述智能网络存储设备以及终端设备APP的分配请求,对所述智能网络存储设备以及终端设备APP建立映射连接,具体包括:
    所述智能网络存储设备以及终端设备APP分别发送所述分配请求给所述最佳TS服务器,其中,所述分配请求包括通用唯一识别码;
    所述最佳TS服务器接收到所述分配请求后,为所述智能网络存储设备以 及终端设备APP分配映射端口,并将所述映射端口存储在Key-Value关联结构中;
    所述终端设备APP发送连接请求给所述最佳TS服务器,其中,所述连接请求包括所述会话识别码;
    所述最佳TS服务器在Key-Value关联结构中查找所要建立映射关系的端口地址,并发起所述智能网络存储设备以及终端设备APP对所述映射端口的TCP连接;
    所述最佳TS服务器向所述终端设备APP发送连接响应请求,使得映射关系成功建立,其中,所述连接响应请求包括连接识别码属性字段。
  11. 根据权利要求10所述的一种数据传输通道建立方法,其特征在于,所述最佳TS服务器根据所述映射连接关系为所述智能网络存储设备以及终端设备APP建立数据传输通道,具体包括:
    所述最佳TS服务器向所述智能网络存储设备发送尝试连接请求,其中,所述尝试连接请求包括所述连接识别码属性字段;
    所述智能网络存储设备响应所述尝试连接请求,并根据所述映射连接关系并通过所述最佳TS服务器与所述终端设备APP建立TCP三次握手连接,建立数据传输通道。
  12. 如权利要求7所述的数据传输通道建立方法,其特征在于,所述根据调度规则反馈最佳TS服务器地址给所述智能网络存储设备以及终端设备APP包括:依据TS服务器所处的区域、网卡能力、CPU占用率以及内存使用率的设定权重,选择权重最大的或者设定权重范围内的TS服务器为最佳TS服务器,将所述最佳TS服务器的地址发送给所述智能网络存储设备以及终端设备APP。
  13. 一种智能网络存储设备,其特征在于,所述设备包括:
    地址请求模块,用于向控制服务器发送TS服务器地址请求信息;
    接收模块,用于接收控制服务器反馈的最佳TS服务器地址以及下发的会话识别码;
    连接模块,用于根据所述最佳TS服务器地址以及下发的会话识别码与所述最佳TS服务器建立通信连接;
    传输模块,用于通过最佳TS服务器建立的数据传输通道与终端设备进行数据传输。
  14. 根据权利要求13所述的一种智能网络存储设备,其特征在于,所述连接模块包括分配请求模块、映射响应模块、连接响应模块,其中:
    分配请求模块,用于发送所述分配请求给所述最佳TS服务器;
    映射响应模块,用于接收所述最佳TS服务器分配的映射端口,并在进行端口映射时响应所述最近TS服务器;
    连接响应模块,用于在接收到最佳TS服务器得尝试连接请求时,根据映射关系响应所述最近TS服务器。
  15. 一种控制服务器,其特征在于,所述控制服务器包括:
    接收模块,用于接收智能网络存储设备以及终端设备APP的TS服务器地址请求信息;
    获取模块,用于根据调度规则,获取最佳TS服务器地址;
    发送模块,用于给所述智能网络存储设备以及终端设备APP反馈所述最佳TS服务器地址。
  16. 如权利要求15所述的控制服务器,其特征在于,所述根据调度规则,获取最佳TS服务器地址包括:依据TS服务器所处的区域、网卡能力、CPU 占用率以及内存使用率的设定权重,选择权重最大的或者设定权重范围内的TS服务器为最佳TS服务器,获取所述最佳TS服务器的地址。
  17. 一种数据传输通道建立方法,由TS服务器执行,其特征在于,包括:
    与智能网络存储设备以及终端设备APP建立TCP三次握手;
    根据所述智能网络存储设备以及终端设备APP的分配请求,对所述智能网络存储设备以及终端设备APP建立映射连接关系;以及
    根据所述映射连接关系为所述智能网络存储设备以及终端设备APP建立数据传输通道。
  18. 如权利要求17所述的数据传输通道建立方法,其特征在于,所述根据所述智能网络存储设备以及终端设备APP的分配请求,对所述智能网络存储设备以及终端设备APP建立映射连接包括:
    接收所述智能网络存储设备以及终端设备APP分别发送的分配请求,其中,所述分配请求包括通用唯一识别码;
    为所述智能网络存储设备以及终端设备APP分配映射端口,并将所述映射端口存储在Key-Value关联结构中;
    接收所述终端设备APP发送的连接请求,其中,所述连接请求包括会话识别码;
    在Key-Value关联结构中查找所要建立映射关系的端口地址,并发起所述智能网络存储设备以及终端设备APP对所述映射端口的TCP连接;
    向所述终端设备APP发送连接响应请求,使得映射关系成功建立,其中,所述连接响应请求包括连接识别码属性字段。
  19. 根据权利要求18所述的数据传输通道建立方法,其特征在于,所述根据所述映射连接关系为所述智能网络存储设备以及终端设备APP建立数据 传输通道具体包括:
    向所述智能网络存储设备发送尝试连接请求,其中,所述尝试连接请求包括所述连接识别码属性字段;
    所述智能网络存储设备响应所述尝试连接请求,并根据所述映射连接关系并通过所述最佳TS服务器与所述终端设备APP建立TCP三次握手连接,建立数据传输通道。
  20. 一种数据传输通道建立方法,由智能网络存储设备执行,其特征在于,包括:
    向控制服务器发送TS服务器地址请求信息;
    接收控制服务器反馈的最佳TS服务器地址以及下发的会话识别码;
    根据所述最佳TS服务器地址以及下发的会话识别码与所述最佳TS服务器建立通信连接;以及
    通过最佳TS服务器建立的数据传输通道与终端设备进行数据传输。
  21. 根据权利要求20所述的数据传输通道建立方法,其特征在于,所述与所述最佳TS服务器建立通信连接包括:
    发送分配请求给所述最佳TS服务器;
    接收所述最佳TS服务器分配的映射端口,并在进行端口映射时响应所述最近TS服务器;
    在接收到最佳TS服务器的尝试连接请求时,根据映射关系响应所述最近TS服务器。
  22. 一种数据传输通道建立方法,由控制服务器执行,其特征在于,包括:
    接收智能网络存储设备以及终端设备APP的TS服务器地址请求信息;
    根据调度规则,获取最佳TS服务器地址;
    给所述智能网络存储设备以及终端设备APP反馈所述最佳TS服务器地址。
  23. 如权利要求22所述的数据传输通道建立方法,其特征在于,所述根据调度规则,获取最佳TS服务器地址包括:依据TS服务器所处的区域、网卡能力、CPU占用率以及内存使用率的设定权重,选择权重最大的或者设定权重范围内的TS服务器为最佳TS服务器,获取所述最佳TS服务器的地址。
  24. 一种存储介质,存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求17至23中任一项所述的数据传输通道建立方法。
PCT/CN2018/092321 2018-03-28 2018-06-22 数据传输通道建立系统、方法、网络存储设备、服务器及存储介质 WO2019184107A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810266585.X 2018-03-28
CN201810266585.XA CN108551477B (zh) 2018-03-28 2018-03-28 数据传输通道建立系统、网络存储设备、服务器及方法

Publications (1)

Publication Number Publication Date
WO2019184107A1 true WO2019184107A1 (zh) 2019-10-03

Family

ID=63517170

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/092321 WO2019184107A1 (zh) 2018-03-28 2018-06-22 数据传输通道建立系统、方法、网络存储设备、服务器及存储介质

Country Status (2)

Country Link
CN (1) CN108551477B (zh)
WO (1) WO2019184107A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108551477B (zh) * 2018-03-28 2020-11-20 深圳市网心科技有限公司 数据传输通道建立系统、网络存储设备、服务器及方法
CN109413191A (zh) * 2018-11-07 2019-03-01 深圳市网心科技有限公司 数据传输方法、电子设备及存储介质
CN113033565B (zh) * 2021-03-10 2021-11-19 大象慧云信息技术有限公司 一种电子发票数据处理方法及系统

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685373A (zh) * 2012-09-10 2014-03-26 联想(北京)有限公司 数据上传装置和数据上传方法
US20160323400A1 (en) * 2014-03-17 2016-11-03 Yandex Europe Ag Method and system for controlling downloading of a file in a cloud storage service
CN106657291A (zh) * 2016-12-05 2017-05-10 乐视控股(北京)有限公司 数据传输方法、系统及电子设备
CN106790471A (zh) * 2016-12-12 2017-05-31 暴风集团股份有限公司 基于局域网的在客户端与云盘间传输数据的方法和系统
CN106878453A (zh) * 2017-03-14 2017-06-20 崔传荣 共享云存储方法及系统
CN206533403U (zh) * 2017-03-14 2017-09-29 崔传荣 共享云存储系统
CN108551477A (zh) * 2018-03-28 2018-09-18 深圳市网心科技有限公司 数据传输通道建立系统、网络存储设备、服务器及方法

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674538A (zh) * 2004-03-25 2005-09-28 联想(北京)有限公司 一种基于局域网的网络存储系统及其读写数据方法
CN100534070C (zh) * 2007-08-23 2009-08-26 创新科存储技术(深圳)有限公司 一种实现应用服务器负载均衡的方法及系统
US8370302B2 (en) * 2009-06-02 2013-02-05 Hitachi, Ltd. Method and apparatus for block based volume backup
CN102118389B (zh) * 2010-12-28 2014-01-22 深圳市安云信息科技有限公司 一种通过iSCSI多路径访问存储设备的方法和一种存储设备
CN102625420B (zh) * 2011-01-31 2017-03-15 中兴通讯股份有限公司 网络接入方法和系统
US9776078B2 (en) * 2012-10-02 2017-10-03 Razer (Asia-Pacific) Pte. Ltd. Application state backup and restoration across multiple devices
CN105025053A (zh) * 2014-04-24 2015-11-04 苏宁云商集团股份有限公司 基于云存储技术的分布式文件的上传方法及其系统
CN104967590B (zh) * 2014-09-18 2017-10-27 腾讯科技(深圳)有限公司 一种传输通信消息的方法、装置和系统
CN105530666B (zh) * 2014-09-29 2019-01-08 中国电信股份有限公司 会话绑定方法与系统
CN104581333A (zh) * 2015-01-30 2015-04-29 重庆邮电大学 一种基于云平台的智能电视机遥控系统和控制方法
CN107295290A (zh) * 2016-04-05 2017-10-24 中兴通讯股份有限公司 一种录播控制方法及装置
CN106789952B (zh) * 2016-11-30 2020-05-15 用友优普信息技术有限公司 一种局域网服务互联网化的方法和系统

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685373A (zh) * 2012-09-10 2014-03-26 联想(北京)有限公司 数据上传装置和数据上传方法
US20160323400A1 (en) * 2014-03-17 2016-11-03 Yandex Europe Ag Method and system for controlling downloading of a file in a cloud storage service
CN106657291A (zh) * 2016-12-05 2017-05-10 乐视控股(北京)有限公司 数据传输方法、系统及电子设备
CN106790471A (zh) * 2016-12-12 2017-05-31 暴风集团股份有限公司 基于局域网的在客户端与云盘间传输数据的方法和系统
CN106878453A (zh) * 2017-03-14 2017-06-20 崔传荣 共享云存储方法及系统
CN206533403U (zh) * 2017-03-14 2017-09-29 崔传荣 共享云存储系统
CN108551477A (zh) * 2018-03-28 2018-09-18 深圳市网心科技有限公司 数据传输通道建立系统、网络存储设备、服务器及方法

Also Published As

Publication number Publication date
CN108551477A (zh) 2018-09-18
CN108551477B (zh) 2020-11-20

Similar Documents

Publication Publication Date Title
CN111934918B (zh) 对同一容器集群内的容器实例的网络隔离方法和装置
WO2019095889A1 (zh) 通过nrf进行nf发现的方法、设备及可读存储介质
EP2633667B1 (en) System and method for on the fly protocol conversion in obtaining policy enforcement information
US9392081B2 (en) Method and device for sending requests
WO2017124621A1 (zh) 一种用于获取共享无线接入点的接入信息的方法与设备
EP2993838A1 (en) Method for setting identity of gateway device and management gateway device
US20230078546A1 (en) Data transmission for service integration between a virtual private cloud and an intranet
WO2017206572A1 (zh) 一种多dhcp服务器网络环境下的ip地址管理方法和dhcp客户机
WO2019184107A1 (zh) 数据传输通道建立系统、方法、网络存储设备、服务器及存储介质
WO2014082562A1 (en) Method, device, and system for information processing based on distributed buses
RU2007148416A (ru) Объединенная архитектура для удаленного доступа к сети
WO2009033407A1 (fr) Procédé pour connecter un terminal à une salle de chat, système de salle de chat et serveur d'identification automatique
WO2015062228A1 (zh) 一种访问共享内存的方法和装置
WO2021223454A1 (zh) 投屏方法和系统
CN107995013B (zh) 客服分配方法及装置
WO2016086659A1 (zh) 一种业务消息的传输方法、装置及系统
US20220103500A1 (en) Method and device for managing group member, and method for processing group message
CN109088918B (zh) 一种交互方法、客户端设备及服务端设备
CN110909030A (zh) 一种信息处理方法及服务器集群
CN111614792B (zh) 透传方法、系统、服务器、电子设备及存储介质
US8464331B2 (en) Data transmission management server and method
WO2021051569A1 (zh) 一种数据隔离方法、装置、计算机设备及存储介质
WO2023016460A1 (zh) 计算任务的策略确定或资源分配方法、装置、网元及介质
WO2016015223A1 (zh) 一种I/O通道QoS动态均衡方法及装置
CN112910796B (zh) 流量管理方法、装置、设备、存储介质以及程序产品

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18913115

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03/02/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18913115

Country of ref document: EP

Kind code of ref document: A1