WO2017012142A1 - 一种双连接安全通讯的方法及装置 - Google Patents

一种双连接安全通讯的方法及装置 Download PDF

Info

Publication number
WO2017012142A1
WO2017012142A1 PCT/CN2015/085860 CN2015085860W WO2017012142A1 WO 2017012142 A1 WO2017012142 A1 WO 2017012142A1 CN 2015085860 W CN2015085860 W CN 2015085860W WO 2017012142 A1 WO2017012142 A1 WO 2017012142A1
Authority
WO
WIPO (PCT)
Prior art keywords
login
server
network connection
network
data packet
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.)
Ceased
Application number
PCT/CN2015/085860
Other languages
English (en)
French (fr)
Inventor
蒋颁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Publication of WO2017012142A1 publication Critical patent/WO2017012142A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • H04W12/082Access security using revocation of authorisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for dual connectivity secure communication.
  • the method of improving network security is mainly through software, and how to improve the security of the user login server by providing reliable communication is currently a blank.
  • the embodiment of the invention discloses a method and a device for dual-connection secure communication, which divides the communication message of the user and the server into different data packets, and the two network connections established between the terminal and the server are respectively in two Different data packets are transmitted on the connection, and different data packets received from the two connections are combined into a communication message to complete the secure communication, which can prevent the network attacker from intercepting the complete communication message of the user on the same network connection, thereby enhancing the user.
  • Security with the server login method which divides the communication message of the user and the server into different data packets, and the two network connections established between the terminal and the server are respectively in two Different data packets are transmitted on the connection, and different data packets received from the two connections are combined into a communication message to complete the secure communication, which can prevent the network attacker from intercepting the complete communication message of the user on the same network connection, thereby enhancing the user.
  • the first aspect of the embodiments of the present invention provides a method for dual-connection secure communication, which is used in a terminal device, and includes:
  • the server After receiving the server login command sent by the user, establishing a first network connection with the server through the mobile data network, through a wireless local area network (WLAN, Wireless Local Access Network)
  • WLAN Wireless Local Access Network
  • the server establishes a second network connection;
  • the login response message includes a login success message or a login failure message
  • the method further includes:
  • the login response message sent by the server is a login failure message
  • the user fails to log in, disconnects the first network connection established with the server through the mobile data network, and disconnects the second network connection established with the server through the WLAN to end the user login.
  • the login response message sent by the server is a login success message
  • the user logs in successfully, and disconnects the first network connection established with the server through the mobile data network to complete the user login;
  • the login response message sent by the server is a login success message
  • the user logs in successfully, and disconnects the second network established by the WLAN with the server to complete the user login.
  • the method before the first network connection is established with the server by using the mobile data network, the method further includes:
  • the method further includes:
  • the security authentication is initiated in the WLAN. If the security authentication succeeds, the second network connection is established with the server through the WLAN. Alternatively, the network registration is initiated in the mobile data network. If the network registration is successful, the second network connection is established with the server through the WLAN.
  • a second aspect of the embodiments of the present invention provides a method for dual-connection secure communication, which is used in a server, and includes:
  • the login response message includes a login success message or a login failure message
  • the method further includes:
  • the login response message is a login failure message
  • the user fails to log in, disconnects the first network connection established with the terminal through the mobile data network, and disconnects the second network connection established with the terminal through the WLAN to end the user login;
  • the login response message is a login success message
  • the user logs in successfully, and disconnects the first network connection established by the mobile data network with the terminal to complete the user login;
  • the login response message is a login success message
  • the user logs in successfully, and disconnects the second network established by the WLAN with the terminal to complete the user login.
  • a third aspect of the embodiments of the present invention provides a terminal device, including:
  • a receiving unit configured to receive a server login instruction sent by the user
  • a processing unit configured to establish a first network connection with the server through the mobile data network, and establish a second network connection with the server through the WLAN;
  • the processing unit is further configured to: generate a login request message sent to the server according to the server login instruction received by the receiving unit, and split the login request message into the first request data packet and the second request data packet;
  • a sending unit configured to send a first request data packet to the server on the first network connection, and send a second request data packet to the server on the second network connection;
  • the receiving unit is further configured to: receive, by the first network connection, a first response data packet sent by the server, and receive, by the second network connection, a second response data packet sent by the server;
  • the processing unit is further configured to: encapsulate the first response data packet and the second response data received by the receiving unit And the login response message sent to the server to complete the user login.
  • the processing unit is further configured to:
  • the login response message sent by the server received by the receiving unit is a login failure message
  • the user fails to log in, disconnects the first network connection established with the server through the mobile data network, and disconnects the second network connection established with the server through the WLAN.
  • the login response message sent by the server received by the receiving unit is a login success message
  • the user logs in successfully, and disconnects the first network connection established with the server through the mobile data network to complete the user login;
  • the login response message sent by the server received by the receiving unit is a login success message
  • the user logs in successfully, and disconnects the second network established by the WLAN and the server to complete the user login.
  • the processing unit is specifically configured to:
  • the security authentication is initiated in the WLAN. If the security authentication succeeds, the second network connection is established with the server through the WLAN. Alternatively, the network registration is initiated in the mobile data network. If the network registration is successful, the second network connection is established with the server through the WLAN.
  • a fourth aspect of the embodiments of the present invention provides a server device, including:
  • a processing unit configured to establish a first network connection with the terminal through the mobile data network, and establish a second network connection with the terminal by using the WLAN;
  • a receiving unit configured to receive a first request data packet sent by the terminal from the first network connection, and receive a second request data packet sent by the terminal from the second network connection;
  • the processing unit is further configured to: merge the first request data packet and the second request data packet received by the receiving unit to obtain a login request message sent by the terminal; and generate a login response message sent to the terminal according to the login request message, and log in The response message is split into a first response data packet and a second response data packet;
  • a sending unit configured to send a first response data packet to the terminal on the first network connection, and send a second response data packet to the terminal on the second network connection, to complete the user login.
  • the login response message includes a login success message or a login failure message
  • the processing unit is also used to:
  • the login response message is a login failure message
  • the user fails to log in, disconnects the first network connection established with the terminal through the mobile data network, and disconnects the second network connection established with the terminal through the WLAN to end the user login;
  • the login response message is a login success message
  • the user logs in successfully, and disconnects the first network connection established by the mobile data network with the terminal to complete the user login;
  • the login response message is a login success message
  • the user logs in successfully, and disconnects the second network established by the WLAN with the terminal to complete the user login.
  • the technical solution provided by the embodiment of the present invention is capable of establishing a first network connection with a server through a mobile data network, establishing a second network connection with the server through the WLAN, and splitting the server login request message sent by the user into the first request data packet and the second Requesting a data packet, sending the first request data packet and the second request data packet to the server through two network connections, and respectively receiving the first response data packet and the second response data packet through two network connections and merging and transmitting to the server Login response message to complete user login to the server.
  • the solution can prevent the network attacker from intercepting the complete communication message of the user in the network device, thereby enhancing the security of the user and the server login mode.
  • FIG. 1 is a schematic diagram of a network for dual connectivity secure communication according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart of a method for dual-connection secure communication according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic flowchart of a method for dual-connection secure communication according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic flowchart of a method for dual-connection secure communication according to Embodiment 4 of the present invention.
  • FIG. 6 is a schematic flowchart of a method for dual connectivity secure communication according to Embodiment 5 of the present invention.
  • FIG. 7 is a schematic structural diagram of a terminal device according to Embodiment 6 of the present invention.
  • FIG. 8 is a schematic structural diagram of another terminal device according to Embodiment 6 of the present invention.
  • FIG. 9 is a schematic structural diagram of a server device according to Embodiment 7 of the present invention.
  • FIG. 10 is a schematic structural diagram of another server device according to Embodiment 7 of the present invention.
  • the mobile terminal communicates with the server through a network connection, for example, through WLAN or through a mobile data network to communicate with the server, the network attacker is easier to The network device tampers or forges the communication message between the user and the server by intercepting the communication message between the user and the server, thereby reducing the security of the network communication.
  • the embodiment of the invention provides a method and a device for dual-connection secure communication, which are used for implementing secure login of a mobile terminal to an application server, so as to prevent an attacker from stealing a complete communication message of the user in the same network, thereby leaking user information or Tampering with user information and infringing on the rights of users.
  • the application will present various aspects, embodiments, or features in a system that can include multiple devices, components, modules, and the like. It is to be understood and appreciated that the various systems may include additional devices, components, modules, etc. and/or may not include all of the devices, components, modules, etc. discussed in connection with the figures. This In addition, a combination of these schemes can also be used.
  • the "application server” and the “server” can be mixed. It should be noted that the meanings to be expressed are consistent when the difference is not emphasized.
  • the network architecture and the service scenario described in the embodiments of the present invention are used to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation of the technical solutions provided by the embodiments of the present invention.
  • the technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.
  • the embodiment of the present invention is based on the scenario of using a 3GPP network and a WLAN network. It should be noted that the solution in the embodiment of the present invention can also be applied to scenarios using other mobile communication networks and WLANs, such as HRPD of 3GPP2 and WiMAX of IEEE.
  • the corresponding name can also be replaced by the name of the corresponding function in other wireless communication networks.
  • FIG. 2 is a schematic flowchart diagram of a method for dual-connection secure communication according to Embodiment 1 of the present invention.
  • the method for dual-connection secure communication provided by the first embodiment of the present invention is used for a mobile terminal device, and the mobile terminal device supports the mobile data network and the WLAN transmission, and may include the following steps:
  • the terminal After receiving the server login command sent by the user, the terminal can establish two connections (TCP or UDP connection) through the mobile data network, such as 3GPP network (WCDMA, LTE or TD-SCDMA), and the WLAN, that is, through the mobile data network. Establish a first network connection with the server, and establish a second network connection with the server through the WLAN. As shown in FIG. 1, the terminal establishes a first network connection and a second network connection with the server through the mobile data network and the WLAN, and the mobile data network transceiver and the mobile network protocol stack software are disposed in the terminal for processing the first network connection. A WLAN transceiver and WLAN protocol stack software are provided for processing the second network connection.
  • the support terminal simultaneously performs network registration and authentication in the 3GPP network and the non-3GPP network, and the terminal can simultaneously perform IP stream transmission through the 3GPP network and the WLAN.
  • the WLAN user can be authenticated and authenticated by the 3GPP network, which can also be connected to the packet data gateway of the 3GPP network.
  • the current solution of the 3GPP network and the non-3GPP network integration introduced in the 3GPP system does not support establishing a network connection with the same server through the 3GPP network and the non-3GPP network.
  • the first network connection and the second network connection may be a TCP/IP connection or a UDP/IP connection, identified by a transmission port number, a receiving port number, a source IP address, and a destination IP address.
  • the first network connection can be established with the application server through the mobile data network, and the terminal can establish a second network connection with the server through the WLAN after the terminal is authenticated by the WLAN.
  • the packet network registration can be initiated.
  • the network registration process includes an authentication process, a security activation process, and establishing a packet data network connection, etc., when the terminal completes the packet network registration in the LTE network.
  • the first network connection (TCP or UDP connection) can be established with the application server.
  • the terminal user in the WLAN first needs to pass the local security authentication of the WLAN, and then establish a second network connection (TCP or UDP connection) with the application server through the WLAN; in some scenarios where the 3GPP network and the WLAN network are fused, the WLAN
  • the terminal in the terminal performs security authentication through the 3GPP network server, and the terminal that is securely authenticated by the 3GPP network can establish a second network connection with the application server through the WLAN.
  • S102 Generate a login request message sent to the server according to the server login instruction, split the login request message into the first request data packet and the second request data packet, and send the first request data packet to the server on the first network connection, where A second request packet is sent to the server on the second network connection.
  • the terminal may generate a server login request message of the user according to the server login instruction of the user, and the user login request message includes the user. Account and password information. Since the first network connection and the second network connection are different transmission connections, the data transmitted through the first network connection and through the second network connection may pass through different network devices, in order to prevent the user's login request message from being attacked by the network attacker on the network. Intercepted by a device (such as a gateway or router), the terminal can use The user's login request message is split into two data packets, which are respectively sent on the established first network connection and the second network connection. Specifically, the user's server login request message is split into the first request data packet and the first The second request packet transmits a first request packet to the server on the first network connection and a second request packet to the server on the second network connection.
  • a device such as a gateway or router
  • the login response message generated by the server according to the login request message sent by the terminal includes a login success message and a login failure message.
  • the server After receiving the login request message, the server first verifies whether the user is a valid user. If the user is an invalid user (for example, the user account does not exist or the password is incorrect), the server can directly disconnect the first network connection established by the terminal through the mobile data network. And disconnecting from the second network established by the terminal through the WLAN.
  • the terminal When the terminal receives the first network connection disconnection request sent by the server, or after the terminal sends the first request data packet and the second request data packet for more than a specified time, disconnects the first network connection, when the terminal receives Disconnect the second network connection when the second network connection disconnect request sent by the server, or after the first request packet and the second request packet are sent, exceeds the specified time; One of them ends the user login. If the server verifies that the user is a valid user, the login response message, including the login success message or the login failure message, may be generated according to the user information or other conditions, such as the total number of connections of the server, the processing capability, or the network speed. For example, if the user has a higher priority. If the server is low and the total number of connections to the server is high, the server may generate a login failure message for the user.
  • the server splits the generated login response message into the first response data packet and the second response data packet, respectively, in order to prevent the network attacker from intercepting the user message from the network.
  • the first response data packet is sent to the terminal on the network connection
  • the second response data packet is sent to the terminal on the second network connection.
  • the terminal may receive the first response data packet sent by the server from the first network connection, and receive the second response data packet sent by the server on the second network connection.
  • the two may be merged into a login response message sent by the server.
  • the login response message is a login failure message
  • the terminal disconnects the first network connection established with the server through the mobile data network, and disconnects the second network established by the server with the WLAN.
  • the disconnection may be disconnection initiated by the terminal, such as the shutdown of the TCP connection initiated by the terminal or the automatic disconnection of the UDP connection by the terminal, or the disconnection initiated by the server after sending the login failure message, such as a server initiated.
  • the disconnection of the TCP connection may be disconnected immediately after receiving the login failure response message, or may be disconnected in the case of failure after multiple login attempts. If the login response message sent by the server is a login success message, the user logs in successfully, and the terminal can disconnect the first network connection established with the server through the mobile data network, or disconnect the second network connection established with the server through the WLAN, and Alternatively, the first network connection and the second network connection are kept disconnected. After the terminal completes the user login, the service data can be transmitted using the disconnected network connection.
  • the login success message received by the terminal may be a login success message of one of the multiple user login attempts.
  • the disconnection may be disconnection initiated by the terminal, such as the shutdown of the TCP connection initiated by the terminal or the automatic disconnection of the UDP connection by the terminal, or the disconnection initiated by the server after sending the login failure message, such as a server initiated.
  • the closing of the TCP connection may be disconnection initiated by the terminal, such as the shutdown of the TCP connection initiated by the terminal or the automatic disconnection of the UDP connection by the terminal, or the disconnection initiated by the server after sending the login failure message, such as a server initiated. The closing of the TCP connection.
  • the technical solution provided by the embodiment of the present invention enables the terminal to establish a first network connection with the server through the mobile data network, establish a second network connection with the server through the WLAN, and split the login request message sent by the terminal to the server into the first request.
  • the data packet and the second request data packet are sent to the server through the two network connections by the first request data packet and the second request data packet, respectively, and then receive the first response data packet and the second response data packet through the two network connections respectively.
  • the solution can prevent the network attacker from intercepting the complete communication message of the user in the network device, thereby enhancing the security of the user and the server login mode.
  • FIG. 3 is a schematic flowchart of a method for dual-connection secure communication according to Embodiment 2 of the present invention. Wherein, as shown in FIG. 3, the method may include the following steps:
  • the terminal After receiving the server login command sent by the user, the terminal can establish two connections (TCP or UDP connection) through the mobile data network, such as 3GPP network (WCDMA, LTE or TD-SCDMA), and the WLAN, that is, through the mobile data network. Establish a first network connection with the server, and establish a second network connection with the server through the wireless local area network WLAN.
  • TCP Transmission Control Protocol
  • UDP User Data Network
  • step S201 For the detailed description of the step S201, refer to step S101 of the first embodiment, and details are not described herein again.
  • S202 Generate a login request message sent to the server according to the server login instruction, split the login request message into the first request data packet and the second request data packet, and send the first request data packet to the server on the first network connection, where A second request packet is sent to the server on the second network connection.
  • step S202 For the detailed description of the step S202, refer to the step S102 of the first embodiment, and details are not described herein again.
  • S203 Receive a first response data packet sent by the server from the first network connection, receive a second response data packet sent by the server from the second network connection, and combine the first response data packet and the second response data packet into a server. Login reply message.
  • the server Receiving, by the server, the first request data packet sent by the terminal from the first network connection, and after receiving the second request data packet sent by the terminal from the second network connection, performing the first request data packet and the second request data packet Merge to get the login request message sent by the terminal.
  • the server After the server generates a login response message according to the login request message, similar to the method for the terminal to send the login request message, the server splits the generated login response message into the first response packet in order to prevent the network attacker from intercepting the user message from the network. And transmitting, by the second response packet, a first response data packet to the terminal on the first network connection, and transmitting the second response data packet to the terminal on the second network connection.
  • the terminal may receive the first response data packet sent by the server from the first network connection, and receive the second response data packet sent by the server on the second network connection.
  • the terminal may merge the two into a login response message sent by the server to complete the user login process.
  • the terminal merges the first response data packet and the second response data packet into a login response message, where the login response message includes a login success message and a login failure message. If the login success message is successful, the user logs in to the server successfully, and if it is a login failure message, The user failed to log in to the server.
  • the login response message is a login failure message
  • the user fails to log in, disconnects the first network connection established with the server through the mobile data network, and disconnects the second network connection established with the server through the WLAN to end the user login.
  • the terminal disconnects the first network connection established with the server through the mobile data network, and disconnects the second network connection established with the server through the WLAN.
  • the disconnection may be disconnection initiated by the terminal, such as the shutdown of the TCP connection initiated by the terminal or the automatic disconnection of the UDP connection by the terminal, or the disconnection initiated by the server after sending the login failure message, such as a server initiated.
  • the disconnection of the TCP connection may be disconnected immediately after the terminal receives the login failure response message, or may be disconnected after the login failure message is received each time the terminal receives the multiple login attempts.
  • the login response message is a login success message
  • the user logs in successfully, disconnects the first network connection established with the server through the mobile data network, or disconnects the second network connection established with the server through the WLAN to complete the user login.
  • the login response message is a login success message, disconnect the first network connection established with the server through the mobile data network, or disconnect the second network connection established with the server through the WLAN, or maintain the first network connection and the second network
  • the connection is not broken.
  • the login success message received by the terminal may be one of the multiple login attempts.
  • the disconnection may be disconnection initiated by the terminal, such as the shutdown of the TCP connection initiated by the terminal or the automatic disconnection of the UDP connection by the terminal, or the disconnection initiated by the server after sending the login failure message, such as a server initiated. The closing of the TCP connection.
  • the technical solution provided by the embodiment of the present invention enables the terminal to establish a first network connection with the server through the mobile data network, establish a second network connection with the server through the WLAN, and split the login request message sent by the terminal to the server into the first request.
  • the data packet and the second request data packet are sent to the server through the two network connections by the first request data packet and the second request data packet, respectively, and then receive the first response data packet and the second response data packet through the two network connections respectively.
  • the solution can prevent the network attacker from intercepting the complete communication message of the user in the network device, thereby enhancing the security of the user and the server login mode.
  • FIG. 4 is a schematic flowchart diagram of a method for dual-connection secure communication according to Embodiment 3 of the present invention. Wherein, as shown in FIG. 4, the method may include the following steps:
  • step S301 For the specific implementation of step S301, reference may be made to step S101 of the first embodiment, and details are not described herein again.
  • step S302 For the specific implementation of step S302, refer to step S102 of the first embodiment, and details are not described herein again.
  • the server After receiving the login request message, the server first verifies whether the user is a valid user. If the user is an invalid user (for example, the user account does not exist or the password is incorrect), the server can directly disconnect the first network connection established by the terminal through the mobile data network. And disconnecting the second network connection established by the terminal through the WLAN, the server may also send the invalid user indication information to the terminal before disconnecting the network connection. If the first network connection or the second network connection is a TCP connection, the server initiates the TCP connection to be closed. If the first network connection or the second network connection is a UDP connection, the server disconnects the UDP connection by itself. After receiving the TCP connection close request of the server, the terminal disconnects the TCP connection, or the terminal disconnects the UDP connection after the login request message expires. The terminal may receive invalid user indication information sent by the server before disconnecting.
  • the server After receiving the TCP connection close request of the server, the terminal disconnects the TCP connection, or the terminal disconnects the UDP connection after the login request message expires
  • the technical solution provided by the embodiment of the present invention enables the terminal to establish a first network connection with the server through the mobile data network, establish a second network connection with the server through the WLAN, and split the login request message sent by the terminal to the server into the first request.
  • the data packet and the second request data packet respectively send the first request data packet and the second request data packet to the server through two connections, and may disconnect the network connection before receiving the login response message sent by the server, thereby achieving secure login. the goal of.
  • the solution can prevent the network attacker from intercepting the complete communication message of the user in the network device, thereby enhancing the security of the user and the server login mode.
  • FIG. 5 is a schematic flowchart of a method for dual-connection secure communication according to Embodiment 4 of the present invention. Wherein, as shown in FIG. 5, the method may include the following steps:
  • the terminal After receiving the server login command from the user, the terminal can establish two connections (TCP or UDP connection) through the mobile data network, such as 3GPP network (WCDMA, LTE or TD-SCDMA), and the WLAN, that is, through the mobile data network.
  • the server establishes a first network connection and establishes a second network connection with the server through the wireless local area network WLAN.
  • the support terminal simultaneously performs network registration and authentication in the 3GPP network and the non-3GPP network, and the terminal can simultaneously perform IP stream transmission through the 3GPP network and the WLAN.
  • the WLAN user can be authenticated and authenticated by the 3GPP network, which can also be connected to the packet data gateway of the 3GPP network.
  • the current solution of the 3GPP network and the non-3GPP network integration introduced in the 3GPP system does not support establishing a network connection with the same server through the 3GPP network and the non-3GPP network.
  • the server establishes a first network connection with the terminal through the mobile data network, and the terminal establishes a first network connection with the terminal through the mobile data network after the terminal successfully registers in the mobile data network; the server establishes a second network connection with the terminal through the WLAN, including After the WLAN security certification
  • the second network connection is established between the WLAN and the terminal, or the network registration is initiated in the mobile data network. If the network registration is successful, the second network connection is established with the server through the WLAN.
  • the first network connection and the second network connection may be a TCP/IP connection or a UDP/IP connection, identified by a transmission port number, a receiving port number, a source IP address, and a destination IP address.
  • the first network connection can be established with the application server through the mobile data network. Therefore, after the terminal is authenticated by the WLAN, the server can establish a second network connection with the terminal through the WLAN.
  • the packet network registration can be initiated.
  • the network registration process includes an authentication process, a security activation process, and establishing a packet data network connection, etc., when the terminal completes the packet network registration in the LTE network.
  • the first network connection (TCP or UDP connection) can be established with the application server.
  • the terminal user in the WLAN first needs to pass the local security authentication of the WLAN, and then establish a second network connection (TCP or UDP connection) with the application server through the WLAN; in some scenarios where the 3GPP network and the WLAN network are fused, the WLAN
  • the terminal in the terminal performs security authentication through the 3GPP network server, and the terminal that is securely authenticated by the 3GPP network can establish a second network connection with the application server through the WLAN.
  • the first request data packet sent by the terminal is received from the first network connection, and the second request data packet sent by the terminal is received from the second network connection, and the first request data packet and the second request data packet are combined to obtain the terminal.
  • the terminal may generate a server login request message of the user according to the server login instruction, where the user's server login request message includes the user's Account and password information. Since the first network connection and the second network connection are different transmission connections, the data transmitted through the first network connection and through the second network connection may pass through different network devices, in order to prevent the user's login request message from being attacked by the network attacker on the network.
  • the device intercepts the user, and the terminal can split the user's login request message into two data packets, which are respectively sent on the established first network connection and the second network connection, specifically, the user's server.
  • the login request message is split into a first request packet and a second request packet, and the first request packet is sent to the server on the first network connection, and the second request packet is sent to the server on the second network connection.
  • the server Receiving, by the server, the first request packet sent by the terminal from the first network connection, from the second After receiving the second request data packet sent by the terminal on the network connection, the first request data packet and the second request data packet are combined to obtain a login request message sent by the terminal.
  • the server When the server combines the first request packet and the second request packet to obtain the login request message sent by the terminal, first verify whether the user is a valid user, and if it is an invalid user (for example, the user account does not exist or the password is incorrect), The server may directly disconnect the first network connection established by the terminal through the mobile data network and disconnect the second network connection established by the terminal through the WLAN; the server may also initiate the disconnection of the first network connection or initiate the second due to other abnormal reasons. If the network connection is disconnected, the login response message may not be sent to the terminal and the first network connection or the second network connection may be disconnected by itself. At this time, as long as one of the two network connections is disconnected, the user login is ended.
  • the login response message including the login success message or the login failure message, may be generated according to the user information or other conditions, such as the total number of connections, processing capacity, or network speed of the server, for example, if the user has a lower priority. And if the total number of connections to the server is large, the server may generate a login failure message for the user.
  • the server splits the generated login response message into a first response data packet and a second response data packet, respectively, in the first
  • the first response data packet is sent to the terminal on the network connection
  • the second response data packet is sent to the terminal on the second network connection.
  • the terminal may receive the first response data packet sent by the server from the first network connection, and receive the second response data packet sent by the server on the second network connection.
  • the server disconnects the first network connection established with the server through the mobile data network, and disconnects the second network connection established with the server through the WLAN.
  • the disconnection may be a disconnection initiated by the server, such as the shutdown of the TCP connection initiated by the service or the disconnection of the UDP connection by the server, or the disconnection initiated by the terminal after receiving the login failure message, such as the terminal initiated.
  • the closing of the TCP connection; the disconnection may be disconnected immediately after the server first sends the login failure response message, or Therefore, the disconnection after the user login failure message is sent each time the server receives the multiple user login request message.
  • the server disconnects the first network connection established with the server through the mobile data network, or disconnects the second network connection established with the server through the WLAN, or maintains the first network connection and the second The network connection is not broken.
  • the login success message sent by the server may be the login success message of one of the multiple login attempts.
  • the disconnection may be a disconnection initiated by the server, such as the shutdown of the TCP connection initiated by the server or the automatic disconnection of the UDP connection by the server, or the disconnection initiated by the terminal after receiving the login failure message, such as the terminal initiated. The closing of the TCP connection.
  • the technical solution provided by the embodiment of the present invention enables the server to establish a first network connection with the terminal through the mobile data network, establish a second network connection with the terminal through the WLAN, and the server receives the first request data packet and the second through the two network connections respectively.
  • the second request data packet is merged into a login request message sent by the terminal to the server, and the login response request message sent by the server to the terminal is split into a first response data packet and a second response data packet, which are respectively sent to the terminal through two network connections.
  • the solution can prevent the network attacker from intercepting the complete communication message of the user in the network device, thereby enhancing the security of the user and the server login mode.
  • the terminal After receiving the server login command from the user, the terminal can establish two connections (TCP or UDP connection) through the mobile data network, such as 3GPP network (WCDMA, LTE or TD-SCDMA), and the WLAN, that is, through the mobile data network.
  • the server establishes a first network connection and establishes a second network connection with the server through the wireless local area network WLAN.
  • the support terminal establishes two packet data network connections through the 3GPP network and the WLAN, and simultaneously performs IP stream transmission through the 3GPP network and the WLAN, and the GPP user can be provided by the 3GPP network.
  • QoS and authentication, WLAN can also be connected to the packet data gateway of the 3GPP network.
  • step S501 For the detailed description of the step S501, refer to step S401 of the above embodiment 4, and details are not described herein again.
  • S502. Receive a first request data packet sent by the terminal from the first network connection, and connect from the second network.
  • the second request data packet sent by the receiving terminal is connected, and the first request data packet and the second request data packet are combined to obtain a login request message sent by the terminal.
  • step S502 For the detailed description of the step S502, refer to step S402 of the foregoing embodiment 4, and details are not described herein again.
  • S503. Determine, according to the login request message, whether the user is an invalid user.
  • the login request message sent by the terminal is obtained, where the login request message includes information such as the user's account and password, and the user is first determined to be a valid user according to the login request message. .
  • the server can directly disconnect the first network connection established by the terminal through the mobile data network and disconnect the second network connection established by the terminal through the WLAN, and the server can also Disconnect the network connection after sending invalid user indication information to the terminal.
  • the first network connection or the second network connection is a TCP connection
  • the server initiates the TCP connection to be closed.
  • the first network connection or the second network connection is a UDP connection
  • the server disconnects the UDP connection by itself.
  • the terminal disconnects the TCP connection, or the terminal disconnects the UDP connection after the time after the login request message is sent to the server exceeds the specified time threshold, and the terminal may receive the connection before disconnecting. Invalid user indication sent by the server.
  • the server may generate a login response message according to user information or other conditions, such as the total number of connections, processing capabilities, or network speed of the server.
  • the login response message includes a login success message or a login failure message. For example, if the user has a lower priority and the total number of connections of the server is large, the server may generate a login failure message for the user.
  • the server splits the generated login response message into the first response data packet and the second. And responding to the data packet, respectively sending a first response data packet to the terminal on the first network connection, and sending the second response data packet to the terminal on the second network connection.
  • the terminal may receive the first response data packet sent by the server from the first network connection, and receive the second response data packet sent by the server on the second network connection.
  • the server When the server sends the first response data packet to the terminal on the first network connection, and after transmitting the second response data packet to the terminal on the second network connection, it is determined whether the login response message is a login success message or a login failure message.
  • the login response message is a login failure message
  • the user fails to log in, disconnects the first network connection established with the terminal through the mobile data network, and disconnects the second network connection established with the terminal through the WLAN to end the user login.
  • the server disconnects the first network connection established with the terminal through the mobile data network, and disconnects the second network connection established with the terminal through the WLAN to end the user login.
  • the disconnection may be disconnection initiated by the server, such as the shutdown of the TCP connection initiated by the server or the automatic disconnection of the UDP connection by the terminal, or the disconnection initiated by the terminal after receiving the login failure message sent by the server.
  • the disconnection of the TCP connection initiated by the terminal may be disconnected immediately after the server sends the login failure response message, or may be the login failure message sent by the server to the terminal each time the terminal attempts to log in multiple times. Disconnected.
  • the login response message is a login success message
  • the user logs in successfully, disconnects the first network connection established by the mobile data network with the terminal, or disconnects the second network established by the WLAN and the terminal to complete the user login.
  • the server disconnects the first network connection established with the terminal through the mobile data network, or disconnects the second network connection established with the terminal through the WLAN, or remains the first The network connection and the second network connection are not disconnected.
  • the service data can be transmitted through the disconnected network connection.
  • the login success message sent by the server may be the login success message sent by the server in one of the multiple login attempts of the terminal.
  • the disconnection may be disconnection initiated by the server, such as the shutdown of the TCP connection initiated by the server or the automatic disconnection of the UDP connection by the server, or the terminal may receive the login loss.
  • the connection initiated after the failure message is disconnected, such as the shutdown of the TCP connection initiated by the terminal.
  • the technical solution provided by the embodiment of the present invention enables the server to establish a first network connection with the terminal through the mobile data network, establish a second network connection with the terminal through the WLAN, and the server receives the first request data packet and the second through the two network connections respectively.
  • the second request data packet is merged into a login request message sent by the terminal, and the server splits the login response request message sent to the terminal into a first response data packet and a second response data packet, which are respectively sent to the terminal through two network connections, according to Whether the invalid user and the user login successfully disconnected or maintain the network connection, thereby achieving the purpose of user secure login.
  • the solution can prevent the network attacker from intercepting the complete communication message of the user in the network device, thereby enhancing the security of the user and the server login mode.
  • the sixth embodiment of the present invention provides a terminal device for implementing a dual-connection secure communication method proposed by the present invention.
  • the device a00 may include a receiving unit a10, a processing unit a20, and a transmitting unit a30.
  • the receiving unit a10 is configured to receive a server login instruction sent by the user;
  • the processing unit a20 is configured to establish a first network connection with the server through the mobile data network, and establish a second network connection with the server by using the WLAN;
  • the processing unit a20 is further configured to: generate a login request message sent to the server according to the server login instruction received by the receiving unit a10, and split the login request message into the first request data packet and the second request data packet;
  • the sending unit a30 is configured to send a first request data packet to the server on the first network connection, and send a second request data packet to the server on the second network connection;
  • the receiving unit a10 is further configured to: receive a first response data packet sent by the server from the first network connection, and receive a second response data packet sent by the server from the second network connection;
  • the processing unit a20 is further configured to combine the first response data packet and the second response data packet received by the receiving unit into a login response message sent by the server, to complete the user login.
  • processing unit a20 is further configured to:
  • the login response message sent by the server received by the receiving unit a10 is a login failure message
  • the user fails to log in, disconnects the first network connection established with the server through the mobile data network, and disconnects the server established with the server through the WLAN.
  • the login response message sent by the server received by the receiving unit a10 is a login success message
  • the user successfully logs in, disconnects the first network connection established with the server through the mobile data network, to complete the user login; or
  • the login response message sent by the server received by the receiving unit a10 is a login success message
  • the user logs in successfully, and disconnects the second network connection established with the server through the WLAN to complete the user login.
  • the processing unit a20 is specifically configured to:
  • the security authentication is initiated in the WLAN. If the security authentication succeeds, the second network connection is established with the server through the WLAN. Alternatively, the network registration is initiated in the mobile data network. If the network registration is successful, the second network connection is established with the server through the WLAN.
  • the technical solution provided by the embodiment of the present invention can prevent the network attacker from intercepting the complete communication message of the user in the network device, thereby enhancing the security of the user and the server login mode.
  • Embodiment 6 of the present invention provides another terminal device for implementing a dual connectivity secure communication method proposed by the present invention.
  • the device b00 includes a processor b10, a memory b20, a bus system b30, a receiver b40, and a transmitter b50.
  • the processor b10, the memory b20, the receiver b40 and the transmitter b50 are connected by a bus system b30 for storing instructions for executing the instructions stored in the memory b20 to control the receiver b40 to receive.
  • Signal, and control transmitter b50 to send a signal to complete the steps in the above mobile payment method.
  • the receiver b40 and the transmitter b50 may be the same or different physical entities.
  • the method steps performed by the device b00 may at least include:
  • Embodiment 7 of the present invention provides a server device for implementing a dual-connection secure communication method proposed by the present invention.
  • the device c00 may include a processing unit c10, a receiving unit c20, and a transmitting unit c30.
  • the processing unit c10 is configured to establish a first network connection with the terminal by using the mobile data network, and establish a second network connection with the terminal by using the WLAN;
  • the receiving unit c20 is configured to receive, by the first network connection, the first request data packet sent by the terminal, and receive the second request data packet sent by the terminal from the second network connection;
  • the processing unit c10 is further configured to: merge the first request data packet and the second request data packet received by the receiving unit c20 to obtain a login request message sent by the terminal; and generate a login response message sent to the terminal according to the login request message, Splitting the login response message into a first response data packet and a second response data packet;
  • the sending unit c30 is configured to send a first response data packet to the terminal on the first network connection, and send a second response data packet to the terminal on the second network connection to complete the user login.
  • the login response message includes a login success message or a login failure message.
  • the processing unit c10 is further configured to:
  • the login response message is a login failure message
  • the user fails to log in, disconnects the first network connection established with the terminal through the mobile data network, and disconnects the second network connection established with the terminal through the WLAN to end the user login;
  • the login response message is a login success message
  • the user logs in successfully, and disconnects the first network connection established by the mobile data network with the terminal to complete the user login;
  • the login response message is a login success message
  • the user logs in successfully, and disconnects the second network established by the WLAN with the terminal to complete the user login.
  • the technical solution provided by the embodiment of the present invention can prevent a network attacker from intercepting a complete communication message of the user in the network device, thereby enhancing the security of the user and the server login mode.
  • Embodiment 7 of the present invention provides another server device for implementing a dual connectivity secure communication method proposed by the present invention.
  • the device d00 includes a processor d10, a memory d20, Bus system d30, receiver d40 and transmitter d50.
  • the processor d10, the memory d20, the receiver d40 and the transmitter d50 are connected by a bus system d30 for storing instructions, and the processor d10 is configured to execute the instructions stored in the memory d20 to control the receiver d40 to receive Signal, and control the transmitter d50 to send a signal to complete the steps in the above mobile payment method.
  • the receiver d40 and the transmitter d50 may be the same or different physical entities.
  • the method steps performed by the device d00 may at least include:
  • aspects of the present invention, or possible implementations of various aspects may be embodied as a system, method, or computer program product.
  • aspects of the invention, or possible implementations of various aspects may take the form of a computer program product, which is a computer readable program code stored in a computer readable medium.
  • the computer readable medium can be a computer readable data medium or a computer readable storage medium.
  • the computer readable storage medium includes, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing, such as random access memory (RAM), read only memory (ROM), Erase programmable read-only memory (EPROM or flash memory), optical fiber, portable read-only memory (CD-ROM).
  • the processor in the computer reads the computer readable program code stored in the computer readable medium such that the processor is capable of performing the various functional steps specified in each step of the flowchart, or a combination of steps; A device that functions as specified in each block, or combination of blocks.
  • the computer readable program code can execute entirely on the user's computer, partly on the user's computer, as a separate software package, partly on the user's local computer and partly on the remote computer, or entirely on the remote computer or server. carried out. It should also be noted that in some alternative implementations, the functions noted in the various steps in the flowcharts or in the blocks in the block diagrams may not occur in the order noted. For example, two steps, or two blocks, shown in succession may be executed substantially concurrently or the blocks may be executed in the reverse order.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the functional units is only a logical function division.
  • there may be other division manners for example, multiple units may be combined into the same subsystem.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例公开了一种双连接安全通讯的方法及装置,包括:通过移动数据网络与服务器建立第一网络连接,通过WLAN与服务器建立第二网络连接;将终端发送给服务器的登录请求消息拆分为第一请求数据包和第二请求数据包;在第一网络连接上发送所述第一请求数据包,在第二网络连接上发送第二请求数据包;从第一网络连接上接收第一应答数据包,在第二网络连接上接收第二应答数据包,将第一应答数据包和第二应答数据包合并为服务器发送给终端的登录应答消息,以完成用户登录。本方案避免了网络攻击者在网络中截获用户的完整通信消息,从而增强用户跟服务器登录方式的安全性。

Description

一种双连接安全通讯的方法及装置
本申请要求于2015年07月22日提交中国专利局,申请号为201510434054.3、发明名称为“一种双连接安全通讯的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信技术领域,尤其涉及一种双连接安全通讯的方法及装置。
背景技术
随着移动设备的普及应用,用户通过移动终端登录网上服务器以获得网络服务已经成为人们生活中必不可少的活动,因此网络的安全问题也越来越受到人们的重视。目前有很多黑客利用网络软件的漏洞,通过对网关、路由器等网络设备的攻击、信息截获等手段获取用户的账号和密码信息,以谋取利益。用户的信息遭到泄露和篡改,侵害了用户的权益,严重的情况下,可能使用户受到经济损失。
目前提高网络安全性的方法主要是通过软件方式,如何通过提供可靠的通信方式提高用户登录服务器的安全性目前属于一项空白。
发明内容
本发明实施例公开了一种双连接安全通讯的方法及装置,将用户与服务器的通信消息拆分为不同的数据包,通过终端与服务器之间建立的两条网络连接的方式分别在两条连接上传输不同的数据包,同时将从两条连接上接收到的不同数据包合并为通信消息以完成安全通讯,可以避免网络攻击者在同一网络连接上截获用户的完整通信消息,从而增强用户跟服务器登录方式的安全性。
本发明实施例第一方面提供了一种双连接安全通讯的方法,用于终端设备,包括:
当接收到用户发送的服务器登录指令后,通过移动数据网络与服务器建立第一网络连接,通过无线局域网(WLAN,Wireless Local Access Network)与 服务器建立第二网络连接;
根据服务器登录指令生成向服务器发送的登录请求消息,将登录请求消息拆分为第一请求数据包和第二请求数据包,在第一网络连接上向服务器发送第一请求数据包,在第二网络连接上向服务器发送第二请求数据包;
从第一网络连接上接收服务器发送的第一应答数据包,从第二网络连接上接收服务器发送的第二应答数据包,将第一应答数据包和第二应答数据包合并为服务器发送的登录应答消息,以完成用户登录。
结合第一方面,在第一种可能的实现方式中,登录应答消息包括登录成功消息或登录失败消息;
在将第一应答数据包和第二应答数据包合并为服务器发送的登录应答消息之后,该方法还包括:
若服务器发送的登录应答消息为登录失败消息,则用户登录失败,断开通过移动数据网络与服务器建立的第一网络连接,并且断开通过WLAN与服务器建立的第二网络连接,以结束用户登录;
若服务器发送的登录应答消息为登录成功消息,则用户登录成功,断开通过移动数据网络与服务器建立的第一网络连接,以完成用户登录;或者,
若服务器发送的登录应答消息为登录成功消息,则用户登录成功,断开通过WLAN与服务器建立的第二网络连接,以完成用户登录。
结合第一方面,在第二种可能的实现方式中,在通过移动数据网络与服务器建立第一网络连接之前,该方法还包括:
在移动数据网络中发起网络注册,若网络注册成功,则通过移动数据网络与服务器建立第一网络连接;
在通过WLAN与服务器建立第二网络连接之前,该方法还包括:
在WLAN中发起安全认证,若安全认证成功,则通过WLAN与服务器建立第二网络连接;或者,在移动数据网络中发起网络注册,若网络注册成功,则通过WLAN与服务器建立第二网络连接。
本发明实施例第二方面提供了一种双连接安全通讯的方法,用于服务器,包括:
通过移动数据网络与终端建立第一网络连接,通过WLAN与终端建立第 二网络连接;
从第一网络连接上接收终端发送的第一请求数据包,从第二网络连接上接收终端发送的第二请求数据包,合并第一请求数据包和第二请求数据包,以得到终端发送的登录请求消息;
根据登录请求消息生成向终端发送的登录应答消息,将登录应答消息拆分为第一应答数据包和第二应答数据包,在第一网络连接上向终端发送第一应答数据包,在第二网络连接上向终端发送第二应答数据包,以完成用户登录。
结合第二方面,在第一种可能的实现方式中,登录应答消息包括登录成功消息或登录失败消息;
在向终端发送第一应答数据包和第二应答数据包的步骤之后,该方法还包括:
若登录应答消息为登录失败消息,则用户登录失败,断开通过移动数据网络与终端建立的第一网络连接,并且断开通过WLAN与终端建立的第二网络连接,以结束用户登录;
若登录应答消息为登录成功消息,则用户登录成功,断开通过移动数据网络与终端建立的第一网络连接,以完成用户登录;或者,
若登录应答消息为登录成功消息,则用户登录成功,断开通过WLAN与终端建立的第二网络连接,以完成用户登录。
本发明实施例第三方面提供了一种终端设备,包括:
接收单元,用于接收用户发送的服务器登录指令;
处理单元,用于通过移动数据网络与服务器建立第一网络连接,通过WLAN与服务器建立第二网络连接;
处理单元还用于,根据接收单元收到的服务器登录指令生成向服务器发送的登录请求消息,将登录请求消息拆分为第一请求数据包和第二请求数据包;
发送单元,用于在第一网络连接上向服务器发送第一请求数据包,在第二网络连接上向服务器发送第二请求数据包;
接收单元还用于,从第一网络连接上接收服务器发送的第一应答数据包,从第二网络连接上接收服务器发送的第二应答数据包;
处理单元还用于,将接收单元收到的第一应答数据包和第二应答数据包合 并为服务器发送的登录应答消息,以完成用户登录。
结合第三方面,在第一种可能的实现方式中,处理单元还用于:
若接收单元收到的服务器发送的登录应答消息为登录失败消息,则用户登录失败,断开通过移动数据网络与服务器建立的第一网络连接,并且断开通过WLAN与服务器建立的第二网络连接,以结束用户登录;
若接收单元收到的服务器发送的登录应答消息为登录成功消息,则用户登录成功,断开通过移动数据网络与服务器建立的第一网络连接,以完成用户登录;或者,
若接收单元收到的服务器发送的登录应答消息为登录成功消息,则用户登录成功,断开通过WLAN与服务器建立的第二网络连接,以完成用户登录。
结合第三方面,在第二种可能的实现方式中,处理单元具体用于:
在移动数据网络中发起网络注册,若网络注册成功,则通过移动数据网络与服务器建立第一网络连接;
在WLAN中发起安全认证,若安全认证成功,则通过WLAN与服务器建立第二网络连接;或者,在移动数据网络中发起网络注册,若网络注册成功,则通过WLAN与服务器建立第二网络连接。
本发明实施例第四方面提供了一种服务器设备,包括:
处理单元,用于通过移动数据网络与终端建立第一网络连接,通过WLAN与终端建立第二网络连接;
接收单元,用于从第一网络连接上接收终端发送的第一请求数据包,从第二网络连接上接收终端发送的第二请求数据包;
处理单元还用于,合并接收单元收到的第一请求数据包和第二请求数据包,以得到终端发送的登录请求消息;并且,根据登录请求消息生成向终端发送的登录应答消息,将登录应答消息拆分为第一应答数据包和第二应答数据包;
发送单元,用于在第一网络连接上向终端发送第一应答数据包,在第二网络连接上向终端发送第二应答数据包,以完成用户登录。
结合第四方面,在第一种可能的实现方式中,登录应答消息包括登录成功消息或登录失败消息;
处理单元还用于:
若登录应答消息为登录失败消息,则用户登录失败,断开通过移动数据网络与终端建立的第一网络连接,并且断开通过WLAN与终端建立的第二网络连接,以结束用户登录;
若登录应答消息为登录成功消息,则用户登录成功,断开通过移动数据网络与终端建立的第一网络连接,以完成用户登录;或者,
若登录应答消息为登录成功消息,则用户登录成功,断开通过WLAN与终端建立的第二网络连接,以完成用户登录。
本发明实施例提供的技术方案能够通过移动数据网络与服务器建立第一网络连接,通过WLAN与服务器建立第二网络连接;将用户发送的服务器登录请求消息拆分为第一请求数据包和第二请求数据包,将第一请求数据包和第二请求数据包分别通过两个网络连接发送到服务器,再分别通过两个网络连接接收第一应答数据包和第二应答数据包并合并为服务器发送的登陆应答消息,以完成用户到服务器的登录。本方案可以避免网络攻击者在网络设备中截获用户的完整通信消息,从而增强用户跟服务器登录方式的安全性。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例一提供的一种双连接安全通讯的网络示意图;
图2是本发明实施例一提供的一种双连接安全通讯的方法的流程示意图;
图3是本发明实施例二提供的一种双连接安全通讯的方法的流程示意图;
图4是本发明实施例三提供的一种双连接安全通讯的方法的流程示意图;
图5是本发明实施例四提供的一种双连接安全通讯的方法的流程示意图;
图6是本发明实施例五提供的一种双连接安全通讯的方法的流程示意图;
图7是本发明实施例六提供的一种终端设备的结构示意图;
图8是本发明实施例六提供的另一种终端设备的结构示意图;
图9是本发明实施例七提供的一种服务器设备的结构示意图;
图10是本发明实施例七提供的另一种服务器设备的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
以下分别对每个实施例进行说明。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
本领域的研究人员在研发过程中发现,在目前的网络通讯中,移动终端都是通过一条网络连接与服务器进行通讯,例如通过WLAN或通过移动数据网络与服务器进行通讯,网络攻击者较容易在网络设备上通过截获用户与服务器之间的通讯消息对用户与服务器之间的通讯消息进行篡改或伪造,从而使网络通信的安全性降低。
本发明实施例提供了一种双连接安全通讯的方法及装置,用于实现移动终端到应用服务器的安全登录,避免网络攻击者在同一个网络中窃取用户的完整通信消息,从而泄露用户信息或篡改用户信息,侵害用户的权益。
本申请将围绕可包括多个设备、组件、模块等的系统来呈现各个方面、实施例或特征。应当理解和明白的是,各个系统可以包括另外的设备、组件、模块等,并且/或者可以并不包括结合附图讨论的所有设备、组件、模块等。此 外,还可以使用这些方案的组合。
本发明实施例中,“应用服务器”和“服务器”,两者可以混用,应当指出的是,在不强调其区别时,其所要表达的含义是一致的。
本发明实施例描述的网络架构以及业务场景是为了更加清楚的说明本发明实施例的技术方案,并不构成对于本发明实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本发明实施例提供的技术方案对于类似的技术问题,同样适用。
本发明实施例依托使用3GPP网络与WLAN网络的场景进行说明,应当指出的是,本发明实施例中的方案还可以应用于使用其他移动通信网络与WLAN的场景,例如3GPP2的HRPD和IEEE的WiMAX,相应的名称也可以用其他无线通信网络中的对应功能的名称进行替代。
首先参见图2,图2为本发明实施例一提供的一种双连接安全通讯的方法的流程示意图。本发明实施例一提供的一种双连接安全通讯的方法,用于移动终端设备,移动终端设备支持移动数据网络和WLAN传输,可以包括以下步骤:
S101、当接收到用户发送的服务器登录指令后,通过移动数据网络与服务器建立第一网络连接,通过无线局域网(WLAN,Wireless Local Area Network)与服务器建立第二网络连接。
终端在接收到用户发送的服务器登录指令后,可以分别通过移动数据网络,例如3GPP网络(WCDMA,LTE或TD-SCDMA),和WLAN建立两条连接(TCP或UDP连接),即通过移动数据网络与服务器建立第一网络连接,通过WLAN与服务器建立第二网络连接。如图1所示,终端分别通过移动数据网络和WLAN与服务器建立第一网络连接和第二网络连接,终端中设有移动数据网络收发器和移动网络协议栈软件用于处理第一网络连接,并且设有WLAN收发器和WLAN协议栈软件用于处理第二网络连接。
在3GPP组织提出的3GPP网络与非3GPP网络(包括WLAN)融合的技术中,支持终端同时在3GPP网络和非3GPP网络中进行网络注册和认证,终端可同时通过3GPP网络和WLAN进行IP流传输,可以由3GPP网络提供对WLAN用户的鉴权和认证,WLAN也可以连接到3GPP网络的分组数据网关。 但是目前在3GPP系统中引入的3GPP网络与非3GPP网络融合的技术方案中不支持通过3GPP网络和非3GPP网络与同一个服务器建立网络连接。
通过移动数据网络与应用服务器建立第一网络连接,包括在移动数据网络中网络注册成功之后通过移动数据网络与应用服务器建立第一网络连接;通过WLAN与服务器建立第二网络连接,包括在通过WLAN的安全认证之后通过WLAN与服务器建立第二网络连接,或者在通过移动数据网络的安全认证之后通过WLAN与服务器建立第二网络连接。第一网络连接和第二网络连接可以是TCP/IP连接或UDP/IP连接,用发送端口号、接收端口号、源IP地址和目标IP地址标识。
在具体实现中,终端在移动数据网络中注册成功后,才能通过移动数据网络与应用服务器建立第一网络连接,终端通过WLAN的安全认证之后,才能通过WLAN与服务器建立第二网络连接。举例来说,在3GPP中系统中,终端开机后即可发起分组网络注册,网络注册的过程包括鉴权过程、安全激活过程和建立分组数据网络连接等,当终端在LTE网络中完成分组网络注册后才可以与应用服务器建立第一网络连接(TCP或UDP连接)。又举例来说,WLAN中的终端用户首先要通过WLAN的本地安全认证,之后通过WLAN与应用服务器建立第二网络连接(TCP或UDP连接);在一些3GPP网络和WLAN网络融合的场景中,WLAN中的终端通过3GPP网络服务器进行安全认证,通过3GPP网络的安全认证的终端才可以通过WLAN与应用服务器建立第二网络连接。
S102、根据服务器登录指令生成向服务器发送的登录请求消息,将登录请求消息拆分为第一请求数据包和第二请求数据包,在第一网络连接上向服务器发送第一请求数据包,在第二网络连接上向服务器发送第二请求数据包。
在通过移动数据网络与服务器建立第一网络连接,通过WLAN与服务器建立第二网络连接之后,终端可以根据用户的服务器登录指令,生成用户的服务器登录请求消息,用户的服务器登录请求消息中包含用户的账号和密码信息。由于第一网络连接和第二网络连接是不同的传输连接,通过第一网络连接和通过第二网络连接传输的数据可经过不同的网络设备,为了避免用户的登录请求消息被网络攻击者在网络设备(如网关或路由器)处截获,终端可以将用 户的登录请求消息拆分成两个数据包,分别在建立的第一网络连接和第二网络连接上发送,具体来说,将用户的服务器登录请求消息拆分为第一请求数据包和第二请求数据包,在第一网络连接上向服务器发送第一请求数据包,在第二网络连接上向服务器发送第二请求数据包。
S103、从第一网络连接上接收服务器发送的第一应答数据包,从第二网络连接上接收服务器发送的第二应答数据包,将第一应答数据包和第二应答数据包合并为服务器发送的登录应答消息,以完成用户登录。
当服务器从第一网络连接上接收到终端发送的第一请求数据包,从第二网络连接上接收到终端发送的第二请求数据包之后,将第一请求数据包和第二请求数据包进行合并,以得到终端发送的登录请求消息。
服务器根据终端发送的登录请求消息生成的登录应答消息包括登录成功消息和登录失败消息。当服务器接收到登录请求消息后,先验证该用户是否为有效用户,若为无效用户(例如用户账号不存在或密码错误),服务器可直接断开与终端通过移动数据网络建立的第一网络连接和断开与终端通过WLAN建立的第二网络连接。当终端接收到服务器发送的第一网络连接断开请求时,或在终端发送第一请求数据包和第二请求数据包之后的时间超过指定时间后,断开第一网路连接,当终端接收到服务器发送的第二网络连接断开请求时,或在发送第一请求数据包和第二请求数据包之后的时间超过指定时间后,断开第二网路连接;只要断开两条网络连接中的一条,即结束用户登录。若服务器验证用户为有效用户,可根据用户信息或其他条件,如服务器的连接总数、处理能力或网速,来生成登录应答消息,包括登录成功消息或登录失败消息,例如,若用户优先级较低并且服务器的连接总数较多的情况下服务器可能为用户生成登录失败消息。
与终端发送登录请求消息的方法相类似,为了防止网络攻击者从网络中截获用户消息,服务器将所生成的登录应答消息拆分为第一应答数据包和第二应答数据包,分别在第一网络连接上向终端发送第一应答数据包,在第二网络连接上向终端发送第二应答数据包。服务器发送之后终端从第一网络连接上可接收服务器发送的第一应答数据包,在第二网络连接上可接收服务器发送的第二应答数据包。
终端获取第一应答数据包和第二应答数据之后,可将两者合并为服务器发送的登录应答消息。在一些可行的实施方式中,若登录应答消息为登录失败消息,则用户登录失败,终端断开通过移动数据网络与服务器建立的第一网络连接,并且断开通过WLAN与服务器建立的第二网络连接,以结束用户登录。所述断开可以是终端主动发起的连接断开,如终端发起的TCP连接的关闭或终端自动断开UDP连接,也可以是服务器在发送了登录失败消息后发起的连接断开,如服务器发起的TCP连接的关闭;所述断开可以是接收到登录失败应答消息后立即断开,也可以是经过多次登录尝试后依然失败的情况下的断开。若服务器发送的登录应答消息为登录成功消息,则用户登录成功,终端可以断开通过移动数据网络与服务器建立的第一网络连接,或者,断开通过WLAN与服务器建立的第二网络连接,又或者,保持第一网络连接和第二网络连接不断开,当终端完成用户登录后,可以使用未断开的网络连接传输业务数据。终端接收到的登录成功消息,可能是多次用户登录尝试中的一次的登录成功消息。所述断开可以是终端主动发起的连接断开,如终端发起的TCP连接的关闭或终端自动断开UDP连接,也可以是服务器在发送了登录失败消息后发起的连接断开,如服务器发起的TCP连接的关闭。
可见,本发明实施例提供的技术方案能够使终端通过移动数据网络与服务器建立第一网络连接,通过WLAN与服务器建立第二网络连接;将终端发送给服务器的登录请求消息拆分为第一请求数据包和第二请求数据包,将第一请求数据包和第二请求数据包分别通过两个网络连接发送到服务器,再分别通过两个网络连接接收第一应答数据包和第二应答数据包并合并为服务器发送给终端的登录应答消息,以完成用户到服务器的安全登录。本方案可以避免网络攻击者在网络设备中截获用户的完整通信消息,从而增强用户跟服务器登录方式的安全性。
本发明实施例二提供了一种双连接安全通讯的方法,用于移动终端设备,参见图3,图3为本发明实施例二提供的一种双连接安全通讯的方法的流程示意图。其中,如图3所示,本方法可包括以下步骤:
S201、当接收到用户发送的服务器登录指令后,通过移动数据网络与服务器建立第一网络连接,通过WLAN与服务器建立第二网络连接。
终端在接收到用户发送的服务器登录指令后,可以分别通过移动数据网络,例如3GPP网络(WCDMA,LTE或TD-SCDMA),和WLAN建立两条连接(TCP或UDP连接),即通过移动数据网络与服务器建立第一网络连接,通过无线局域网WLAN与服务器建立第二网络连接。
关于步骤S201的具体描述可参见上述实施例一的步骤S101,此处不再赘述。
S202、根据服务器登录指令生成向服务器发送的登录请求消息,将登录请求消息拆分为第一请求数据包和第二请求数据包,在第一网络连接上向服务器发送第一请求数据包,在第二网络连接上向服务器发送第二请求数据包。
关于步骤S202的具体描述可参见上述实施例一的步骤S102,此处不再赘述。
S203、从第一网络连接上接收服务器发送的第一应答数据包,从第二网络连接上接收服务器发送的第二应答数据包,将第一应答数据包和第二应答数据包合并为服务器发送的登录应答消息。
当服务器从第一网络连接上接收到终端发送的第一请求数据包,从第二网络连接上接收到终端发送的第二请求数据包之后,将第一请求数据包和第二请求数据包进行合并,以得到终端发送的登录请求消息。之后服务器根据登录请求消息生成登录应答消息,与终端发送登录请求消息的方法相类似,为了防止网络攻击者从网络中截获用户消息,服务器将所生成的登录应答消息拆分为第一应答数据包和第二应答数据包,分别在第一网络连接上向终端发送第一应答数据包,在第二网络连接上向终端发送第二应答数据包。服务器发送之后终端从第一网络连接上可接收服务器发送的第一应答数据包,在第二网络连接上可接收服务器发送的第二应答数据包。
终端获取第一应答数据包和第二应答数据之后,可将两者合并为服务器发送的登录应答消息,以完成用户登录过程。
S204、判断登录应答消息是登录成功消息还是登录失败消息。
终端将第一应答数据包和第二应答数据包合并为登录应答消息,登录应答消息包括登录成功消息和登录失败消息,若为登录成功消息,则用户登录服务器成功,若为登录失败消息,则用户登录服务器失败。
S205、若登录应答消息为登录失败消息,则用户登录失败,断开通过移动数据网络与服务器建立的第一网络连接,并且断开通过WLAN与服务器建立的第二网络连接,以结束用户登录。
若登录应答消息为登录失败消息,终端断开通过移动数据网络与服务器建立的第一网络连接,并且断开通过WLAN与服务器建立的第二网络连接。所述断开可以是终端主动发起的连接断开,如终端发起的TCP连接的关闭或终端自动断开UDP连接,也可以是服务器在发送了登录失败消息后发起的连接断开,如服务器发起的TCP连接的关闭;所述断开可以是终端接收到登录失败应答消息后立即断开,也可以是经过多次登录尝试时每次终端收到的都是登录失败消息之后的断开。
S206、若登录应答消息为登录成功消息,则用户登录成功,断开通过移动数据网络与服务器建立的第一网络连接,或者断开通过WLAN与服务器建立的第二网络连接,以完成用户登录。
若登录应答消息为登录成功消息,断开通过移动数据网络与服务器建立的第一网络连接,或者,断开通过WLAN与服务器建立的第二网络连接,或者,保持第一网络连接和第二网络连接不断开,当终端完成用户登录后,可以使用未断开的网络连接传输业务数据。终端接收到的登录成功消息,可能是多次登录尝试中的一次的登录成功消息。所述断开可以是终端主动发起的连接断开,如终端发起的TCP连接的关闭或终端自动断开UDP连接,也可以是服务器在发送了登录失败消息后发起的连接断开,如服务器发起的TCP连接的关闭。
可见,本发明实施例提供的技术方案能够使终端通过移动数据网络与服务器建立第一网络连接,通过WLAN与服务器建立第二网络连接;将终端发送给服务器的登录请求消息拆分为第一请求数据包和第二请求数据包,将第一请求数据包和第二请求数据包分别通过两个网络连接发送到服务器,再分别通过两个网络连接接收第一应答数据包和第二应答数据包并合并为服务器发送给终端的登录应答消息,根据用户登录是否成功断开或保持网络连接,从而达到安全登录的目的。本方案可以避免网络攻击者在网络设备中截获用户的完整通信消息,从而增强用户跟服务器登录方式的安全性。
本发明实施例三提供了一种双连接安全通讯的方法,用于移动终端设备,参见图4,图4为本发明实施例三提供的一种双连接安全通讯的方法的流程示意图。其中,如图4所示,本方法可包括以下步骤:
S301、当接收到用户发送的服务器登录指令后,通过移动数据网络与服务器建立第一网络连接,通过WLAN与服务器建立第二网络连接。
步骤S301的具体实施可参考实施例一的步骤S101,此处不再赘述。
S302、根据服务器登录指令生成向服务器发送的登录请求消息,将登录请求消息拆分为第一请求数据包和第二请求数据包,在第一网络连接上向服务器发送第一请求数据包,在第二网络连接上向服务器发送第二请求数据包。
步骤S302的具体实施可参考实施例一的步骤S102,此处不再赘述。
S303、当终端接收到服务器发送的第一网络连接断开请求时,或在终端发送第一请求数据包和第二请求数据包之后的时间超过指定时间后,断开第一网路连接;当终端接收到服务器发送的第二网络连接断开请求时,或在发送第一请求数据包和第二请求数据包之后的时间超过指定时间后,断开第二网路连接;结束用户登录。
当服务器从第一网络连接上接收到终端发送的第一请求数据包,从第二网络连接上接收到终端发送的第二请求数据包之后,将第一请求数据包和第二请求数据包进行合并,以得到终端发送给服务器的登录请求消息。
当服务器接收到登录请求消息后,先验证该用户是否为有效用户,若为无效用户(例如用户账号不存在或密码错误),服务器可直接断开与终端通过移动数据网络建立的第一网络连接和断开与终端通过WLAN建立的第二网络连接,服务器也可向终端发送无效用户指示信息之后再断开网络连接。若第一网络连接或第二网络连接为TCP连接,则服务器主动发起的TCP连接的关闭,若第一网络连接或第二网络连接为UDP连接,服务器自行断开UDP连接。当终端接收到服务器的TCP连接关闭请求后,断开TCP连接,或者终端在发送登录请求消息超时后自行断开UDP连接,终端在断开连接之前可能收到服务器发送的无效用户指示信息。
当终端接收到服务器发送的第一网络连接断开请求时断开第一网络连接,或在终端发送第一请求数据包和第二请求数据包之后的时间超过指定时间后 断开第一网路连接;当终端接收到服务器发送的第二网络连接断开请求时断开第二网络连接,或在发送第一请求数据包和第二请求数据包之后的时间超过指定时间后断开第二网路连接;只要断开两条网络连接中的一条,即结束用户登录。
可见,本发明实施例提供的技术方案能够使终端通过移动数据网络与服务器建立第一网络连接,通过WLAN与服务器建立第二网络连接;将终端发送给服务器的登录请求消息拆分为第一请求数据包和第二请求数据包,将第一请求数据包和第二请求数据包分别通过两个连接发送到服务器,在接收到服务器发送的登录应答消息前可以断开网络连接,从而达到安全登录的目的。本方案可以避免网络攻击者在网络设备中截获用户的完整通信消息,从而增强用户跟服务器登录方式的安全性。
本发明实施例四提供了一种双连接安全通讯的方法,用于服务器,参见图5,图5为本发明实施例四提供的一种双连接安全通讯的方法的流程示意图。其中,如图5所示,本方法可包括以下步骤:
S401、通过移动数据网络与终端建立第一网络连接,通过WLAN与终端建立第二网络连接。
终端在接收到用户的服务器登录指令后,可以分别通过移动数据网络,例如3GPP网络(WCDMA,LTE或TD-SCDMA),和WLAN建立两条连接(TCP或UDP连接),即通过移动数据网络与服务器建立第一网络连接,通过无线局域网WLAN与服务器建立第二网络连接。
在3GPP组织提出的3GPP网络与非3GPP网络(包括WLAN)融合的技术中,支持终端同时在3GPP网络和非3GPP网络中进行网络注册和认证,终端可同时通过3GPP网络和WLAN进行IP流传输,可以由3GPP网络提供对WLAN用户的鉴权和认证,WLAN也可以连接到3GPP网络的分组数据网关。但是目前在3GPP系统中引入的3GPP网络与非3GPP网络融合的技术方案中不支持通过3GPP网络和非3GPP网络与同一个服务器建立网络连接。
服务器通过移动数据网络与终端建立第一网络连接,包括终端在移动数据网络中注册成功之后通过移动数据网络与终端建立第一网络连接;服务器通过WLAN与终端建立第二网络连接,包括在终端通过WLAN的安全认证之后通 过WLAN与终端建立第二网络连接,或者在移动数据网络中发起网络注册,若网络注册成功,则通过WLAN与所述服务器建立所述第二网络连接。第一网络连接和第二网络连接可以是TCP/IP连接或UDP/IP连接,用发送端口号、接收端口号、源IP地址和目标IP地址标识。
在具体实现中,终端在移动数据网络中注册成功后,才能通过移动数据网络与应用服务器建立第一网络连接,因此终端通过WLAN的安全认证之后,服务器才能通过WLAN与终端建立第二网络连接。举例来说,在3GPP中系统中,终端开机后即可发起分组网络注册,网络注册的过程包括鉴权过程、安全激活过程和建立分组数据网络连接等,当终端在LTE网络中完成分组网络注册后才可以与应用服务器建立第一网络连接(TCP或UDP连接)。又举例来说,WLAN中的终端用户首先要通过WLAN的本地安全认证,然后通过WLAN与应用服务器建立第二网络连接(TCP或UDP连接);在一些3GPP网络和WLAN网络融合的场景中,WLAN中的终端通过3GPP网络服务器进行安全认证,通过3GPP网络的安全认证的终端才可以通过WLAN与应用服务器建立第二网络连接。
S402、从第一网络连接上接收终端发送的第一请求数据包,从第二网络连接上接收终端发送的第二请求数据包,合并第一请求数据包和第二请求数据包,以得到终端发送的登录请求消息。
在服务器通过移动数据网络与服务器建立第一网络连接,通过WLAN与服务器建立第二网络连接之后,终端可以根据服务器登录指令,生成用户的服务器登录请求消息,用户的服务器登录请求消息中包含用户的账号和密码信息。由于第一网络连接和第二网络连接是不同的传输连接,通过第一网络连接和通过第二网络连接传输的数据可经过不同的网络设备,为了避免用户的登录请求消息被网络攻击者在网络设备(如网关或路由器)处截获,终端可以将用户的登录请求消息拆分成两个数据包,分别在建立的第一网络连接和第二网络连接上发送,具体来说,将用户的服务器登录请求消息拆分为第一请求数据包和第二请求数据包,在第一网络连接上向服务器发送第一请求数据包,在第二网络连接上向服务器发送第二请求数据包。
当服务器从第一网络连接上接收到终端发送的第一请求数据包,从第二 网络连接上接收到终端发送的第二请求数据包之后,将第一请求数据包和第二请求数据包进行合并,以得到终端发送的登录请求消息。
S403、根据登录请求消息生成向终端发送的登录应答消息,将登录应答消息拆分为第一应答数据包和第二应答数据包,在第一网络连接上向终端发送第一应答数据包,在第二网络连接上向终端发送第二应答数据包,以完成用户登录。
当服务器将第一请求数据包和第二请求数据包进行合并,得到终端发送的登录请求消息后,先验证该用户是否为有效用户,若为无效用户(例如用户账号不存在或密码错误),服务器可直接断开与终端通过移动数据网络建立的第一网络连接和断开与终端通过WLAN建立的第二网络连接;服务器也可能由于其他异常原因发起第一网络连接的断开或发起第二网络连接的断开,也可能不向终端发送登录应答消息并自行断开第一网络连接或第二网络连接,此时,只要断开两条网络连接中的一条,即结束用户登录。若服务器验证用户为有效用户,可根据用户信息或其他条件,如服务器的连接总数、处理能力或网速,生成登录应答消息,包括登录成功消息或登录失败消息,例如,若用户优先级较低并且服务器的连接总数较多的情况下服务器可能为用户生成登录失败消息。
与终端发送服务器登录请求的方法相类似,为了防止网络攻击者从网络中截获用户消息,服务器将所生成的登录应答消息拆分为第一应答数据包和第二应答数据包,分别在第一网络连接上向终端发送第一应答数据包,在第二网络连接上向终端发送第二应答数据包。服务器发送之后终端从第一网络连接上可接收服务器发送的第一应答数据包,在第二网络连接上可接收服务器发送的第二应答数据包。
在一些可行的实施方式中,若登录应答消息为服务器登录失败消息,服务器断开通过移动数据网络与服务器建立的第一网络连接,并且断开通过WLAN与服务器建立的第二网络连接。所述断开可以是服务器主动发起的连接断开,如服务发起的TCP连接的关闭或服务器自动断开UDP连接,也可以是终端在接收到登录失败消息后发起的连接断开,如终端发起的TCP连接的关闭;所述断开可以是服务器首次发送完登录失败应答消息后立即断开,也可 以是在服务器接收到多次用户登录请求消息时每次都发送用户登录失败消息后的断开。若登录应答消息为登录成功消息,服务器断开通过移动数据网络与服务器建立的第一网络连接,或者,断开通过WLAN与服务器建立的第二网络连接,或者,保持第一网络连接和第二网络连接不断开,当服务器发送完登录成功消息后,可以通过不断开的网络连接传输业务数据。服务器发送的登录成功消息,可能是多次登录尝试中的一次的登录成功消息。所述断开可以是服务器主动发起的连接断开,如服务器发起的TCP连接的关闭或服务器自动断开UDP连接,也可以是终端在接收到登录失败消息后发起的连接断开,如终端发起的TCP连接的关闭。
可见,本发明实施例提供的技术方案能够使服务器通过移动数据网络与终端建立第一网络连接,通过WLAN与终端建立第二网络连接,服务器分别通过两个网络连接接收第一请求数据包和第二请求数据包并合并为终端发送给服务器的登录请求消息,将服务器发送给终端的登录应答请求消息拆分为第一应答数据包和第二应答数据包,分别通过两个网络连接发送到终端,以完成用户到服务器的安全登录。本方案可以避免网络攻击者在网络设备中截获用户的完整通信消息,从而增强用户跟服务器登录方式的安全性。
S501、通过移动数据网络与终端建立第一网络连接,通过WLAN与终端建立第二网络连接。
终端在接收到用户的服务器登录指令后,可以分别通过移动数据网络,例如3GPP网络(WCDMA,LTE或TD-SCDMA),和WLAN建立两条连接(TCP或UDP连接),即通过移动数据网络与服务器建立第一网络连接,通过无线局域网WLAN与服务器建立第二网络连接。
在3GPP组织提出的移动网络与WLAN融合的技术中,支持终端通过3GPP网络和WLAN建立两条分组数据网络连接,同时通过3GPP网络和WLAN进行IP流传输,可以由3GPP网络提供对WLAN用户的鉴权和认证,WLAN也可以连接到3GPP网络的分组数据网关。
关于步骤S501的具体描述可参见上述实施例四的步骤S401,此处不再赘述。
S502、从第一网络连接上接收终端发送的第一请求数据包,从第二网络连 接上接收终端发送的第二请求数据包,合并第一请求数据包和第二请求数据包,以得到终端发送的登录请求消息。
关于步骤S502的具体描述可参见上述实施例四的步骤S402,此处不再赘述。
S503、根据登录请求消息判断用户是否为无效用户。
当服务器合并第一请求数据包和第二请求数据包,得到终端发送的登录请求消息,该登录请求消息中包含用户的账户和密码等信息,先根据该登陆请求消息验证该用户是否为有效用户。
S504、若验证该用户为无效用户,断开通过移动数据网络与终端建立的第一网络连接,并且断开通过WLAN与终端建立的第二网络连接,以结束用户登录。
若验证为无效用户(例如用户账号不存在或密码错误),服务器可直接断开与终端通过移动数据网络建立的第一网络连接并断开与终端通过WLAN建立的第二网络连接,服务器也可向终端发送无效用户指示信息之后再断开网络连接。若第一网络连接或第二网络连接为TCP连接,则服务器主动发起的TCP连接的关闭,若第一网络连接或第二网络连接为UDP连接,服务器自行断开UDP连接。当终端接收到服务器的TCP连接关闭请求后,断开TCP连接,或者终端在向服务器发送登录请求消息之后的时间超过指定时间阈值后,自行断开UDP连接,终端在断开连接之前可能收到服务器发送的无效用户指示信息。
S505、若验证该用户不为无效用户,根据服务器登录请求消息生成向终端发送的应答消息,将登录应答消息拆分为第一应答数据包和第二应答数据包,在第一网络连接上向终端发送第一应答数据包,在第二网络连接上向终端发送第二应答数据包。
当验证该用户不为无效用户,服务器可根据用户信息或其他条件,如服务器的连接总数、处理能力或网速,生成登录应答消息。登录应答消息包括登录成功消息或登录失败消息,例如,若用户优先级较低并且服务器的连接总数较多的情况下服务器可能为用户生成登录失败消息。
与终端发送服务器登录请求的方法相类似,为了防止网络攻击者从网络中截获用户消息,服务器将所生成的登录应答消息拆分为第一应答数据包和第二 应答数据包,分别在第一网络连接上向终端发送第一应答数据包,在第二网络连接上向终端发送第二应答数据包。服务器发送之后终端从第一网络连接上可接收服务器发送的第一应答数据包,在第二网络连接上可接收服务器发送的第二应答数据包。
S506、判断登录应答消息是登录成功消息还是登录失败消息。
当服务器在第一网络连接上向终端发送第一应答数据包,在第二网络连接上向终端发送第二应答数据包之后,判断登录应答消息是登录成功消息还是登录失败消息。
S507、若登录应答消息为登录失败消息,则用户登录失败,断开通过移动数据网络与终端建立的第一网络连接,并且断开通过WLAN与终端建立的第二网络连接,以结束用户登录。
若登录应答消息为登录失败消息,则用户登录失败,服务器断开通过移动数据网络与终端建立的第一网络连接,并且断开通过WLAN与终端建立的第二网络连接,以结束用户登录。所述断开可以是服务器主动发起的连接断开,如服务器发起的TCP连接的关闭或终端自动断开UDP连接,也可以是终端在接收到服务器发送的登录失败消息后发起的连接断开,如终端发起的TCP连接的关闭;所述断开可以是服务器发送完登录失败应答消息后立即断开,也可以是终端经过多次登录尝试时每次服务器向终端发送的都是登录失败消息之后的断开。
S508、若登录应答消息为登录成功消息,则用户登录成功,断开通过移动数据网络与终端建立的第一网络连接,或者断开通过WLAN与终端建立的第二网络连接,以完成用户登录。
若登录应答消息为登录成功消息,则用户登录成功,服务器断开通过移动数据网络与终端建立的第一网络连接,或者,断开通过WLAN与终端建立的第二网络连接,或者,保持第一网络连接和第二网络连接不断开,当服务器发送完用户的登录成功消息后,可以通过未断开的网络连接传输业务数据。服务器发送的登录成功消息,可能是终端多次登录尝试中的一次中服务器发送的登录成功消息。所述断开可以是服务器主动发起的连接断开,如服务器发起的TCP连接的关闭或服务器自动断开UDP连接,也可以是终端在接收到登录失 败消息后发起的连接断开,如终端发起的TCP连接的关闭。
可见,本发明实施例提供的技术方案能够使服务器通过移动数据网络与终端建立第一网络连接,通过WLAN与终端建立第二网络连接,服务器分别通过两个网络连接接收第一请求数据包和第二请求数据包并合并为终端发送的登录请求消息,服务器将向终端发送的登录应答请求消息拆分为第一应答数据包和第二应答数据包,分别通过两个网络连接发送到终端,根据是否为无效用户和用户登录是否成功断开或保持网络连接,从而达到用户安全登录的目的。本方案可以避免网络攻击者在网络设备中截获用户的完整通信消息,从而增强用户跟服务器登录方式的安全性。
本发明实施例六提供了一种终端设备,用于实现本发明提出的一种双连接安全通讯的方法。参见图7,所述设备a00可包括接收单元a10、处理单元a20和发送单元a30。
接收单元a10,用于接收用户发送的服务器登录指令;
处理单元a20,用于通过移动数据网络与服务器建立第一网络连接,通过WLAN与服务器建立第二网络连接;
处理单元a20还用于,根据接收单元a10收到的服务器登录指令生成向服务器发送的登录请求消息,将登录请求消息拆分为第一请求数据包和第二请求数据包;
发送单元a30,用于在第一网络连接上向服务器发送第一请求数据包,在第二网络连接上向服务器发送第二请求数据包;
接收单元a10还用于,从第一网络连接上接收服务器发送的第一应答数据包,从第二网络连接上接收服务器发送的第二应答数据包;
处理单元a20还用于,将接收单元收到的第一应答数据包和第二应答数据包合并为服务器发送的登录应答消息,以完成用户登录。
在一些可行的实施方式中,处理单元a20还用于:
若接收单元a10收到的服务器发送的登录应答消息为登录失败消息,则用户登录失败,断开通过移动数据网络与服务器建立的第一网络连接,并且断开通过WLAN与所述服务器建立的第二网络连接,以结束用户登录;
若接收单元a10收到的服务器发送的登录应答消息为登录成功消息,则用 户登录成功,断开通过移动数据网络与所述服务器建立的第一网络连接,以完成用户登录;或者,
若接收单元a10收到的服务器发送的登录应答消息为登录成功消息,则用户登录成功,断开所述通过WLAN与所述服务器建立的第二网络连接,以完成用户登录。
在一些可行的实施例中,处理单元a20具体用于:
在移动数据网络中发起网络注册,若网络注册成功,则通过移动数据网络与服务器建立所述第一网络连接;
在WLAN中发起安全认证,若安全认证成功,则通过WLAN与服务器建立第二网络连接;或者,在移动数据网络中发起网络注册,若网络注册成功,则通过WLAN与服务器建立第二网络连接。
可见,本发明实施例提供的技术方案可以避免网络攻击者在网络设备中截获用户的完整通信消息,从而增强用户跟服务器登录方式的安全性。
本发明实施例六提供了另一种终端设备,用于实现本发明提出的一种双连接安全通讯的方法。参见图8,该设备b00包括处理器b10、存储器b20、总线系统b30、接收器b40和发送器b50。其中,处理器b10、存储器b20、接收器b40和发送器b50通过总线系统b30相连,该存储器b20用于存储指令,该处理器b10用于执行该存储器b20存储的指令,以控制接收器b40接收信号,并控制发送器b50发送信号,完成上述移动支付方法中的步骤。其中,接收器b40和发送器b50可以为相同或者不同的物理实体。
该设备b00完成的方法步骤至少可以包括:
当接收到用户发送的服务器登录指令后,通过移动数据网络与服务器建立第一网络连接,通过无线局域网WLAN与服务器建立第二网络连接;
根据服务器登录指令生成向服务器发送的登录请求消息,将登录请求消息拆分为第一请求数据包和第二请求数据包,在第一网络连接上向服务器发送第一请求数据包,在第二网络连接上向服务器发送第二请求数据包;
从第一网络连接上接收服务器发送的第一应答数据包,从第二网络连接上接收服务器发送的第二应答数据包,将第一应答数据包和第二应答数据包合并为服务器发送的登录应答消息,以完成用户登录。
上述终端设备所涉及的与本发明实施例提供的技术方案相关的概念,解释和详细说明及其他步骤请参见前述方法或实施例中关于这些内容的描述,此处不做赘述。
本发明实施例七提供了一种服务器设备,用于实现本发明提出的一种双连接安全通讯的方法。参见图9,所述设备c00可包括处理单元c10、接收单元c20和发送单元c30。
处理单元c10,用于通过移动数据网络与终端建立第一网络连接,通过WLAN与终端建立第二网络连接;
接收单元c20,用于从第一网络连接上接收终端发送的第一请求数据包,从第二网络连接上接收终端发送的第二请求数据包;
处理单元c10还用于,合并接收单元c20收到的第一请求数据包和第二请求数据包,以得到终端发送的登录请求消息;并且,根据登录请求消息生成向终端发送的登录应答消息,将登录应答消息拆分为第一应答数据包和第二应答数据包;
发送单元c30,用于在第一网络连接上向终端发送第一应答数据包,在第二网络连接上向终端发送第二应答数据包,以完成用户登录。
登录应答消息包括登录成功消息或登录失败消息,在一些可行的实施方式中,处理单元c10还用于:
若登录应答消息为登录失败消息,则用户登录失败,断开通过移动数据网络与终端建立的第一网络连接,并且断开通过WLAN与终端建立的第二网络连接,以结束用户登录;
若登录应答消息为登录成功消息,则用户登录成功,断开通过移动数据网络与终端建立的第一网络连接,以完成用户登录;或者,
若登录应答消息为登录成功消息,则用户登录成功,断开通过WLAN与终端建立的第二网络连接,以完成用户登录。
可见,本发明实施例提供的技术方案能够避免网络攻击者在网络设备中截获用户的完整通信消息,从而增强用户跟服务器登录方式的安全性。
本发明实施例七提供了另一种服务器设备,用于实现本发明提出的一种双连接安全通讯的方法。参见图10,该设备d00包括处理器d10、存储器d20、 总线系统d30、接收器d40和发送器d50。其中,处理器d10、存储器d20、接收器d40和发送器d50通过总线系统d30相连,该存储器d20用于存储指令,该处理器d10用于执行该存储器d20存储的指令,以控制接收器d40接收信号,并控制发送器d50发送信号,完成上述移动支付方法中的步骤。其中,接收器d40和发送器d50可以为相同或者不同的物理实体。
该设备d00完成的方法步骤至少可以包括:
通过移动数据网络与终端建立第一网络连接,通过WLAN与终端建立第二网络连接;
从第一网络连接上接收终端发送的第一请求数据包,从第二网络连接上接收终端发送的第二请求数据包,合并第一请求数据包和第二请求数据包,以得到终端发送的登录请求消息;
根据登录请求消息生成向终端发送的登录应答消息,将登录应答消息拆分为第一应答数据包和第二应答数据包,在第一网络连接上向终端发送第一应答数据包,在第二网络连接上向终端发送第二应答数据包,以完成用户登录。
上述服务器设备所涉及的与本发明实施例提供的技术方案相关的概念,解释和详细说明及其他步骤请参见前述方法或实施例中关于这些内容的描述,此处不做赘述。
本领域普通技术人员将会理解,本发明的各个方面、或各个方面的可能实现方式可以被具体实施为系统、方法或者计算机程序产品。此外,本发明的各方面、或各个方面的可能实现方式可以采用计算机程序产品的形式,计算机程序产品是指存储在计算机可读介质中的计算机可读程序代码。
计算机可读介质可以是计算机可读数据介质或者计算机可读存储介质。计算机可读存储介质包含但不限于电子、磁性、光学、电磁、红外或半导体系统、设备或者装置,或者前述的任意适当组合,如随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或者快闪存储器)、光纤、便携式只读存储器(CD-ROM)。
计算机中的处理器读取存储在计算机可读介质中的计算机可读程序代码,使得处理器能够执行在流程图中每个步骤、或各步骤的组合中规定的功能动作;生成实施在框图的每一块、或各块的组合中规定的功能动作的装置。
计算机可读程序代码可以完全在用户的计算机上执行、部分在用户的计算机上执行、作为单独的软件包、部分在用户的本地计算机上并且部分在远程计算机上,或者完全在远程计算机或者服务器上执行。也应该注意,在某些替代实施方案中,在流程图中各步骤、或框图中各块所注明的功能可能不按图中注明的顺序发生。例如,依赖于所涉及的功能,接连示出的两个步骤、或两个块实际上可能被大致同时执行,或者这些块有时候可能被以相反顺序执行。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,所述功能单元的划分,仅仅为一种逻辑功能划分,具体实现时可能有其他的划分方式,例如多个单元可以结合到同一个子系统或模块中实现,或将一个单元拆分成几个单元实现,或一些实现特征可以忽略或不执行。
以上对本发明实施例公开的一种双连接安全通讯的方法、装置及设备进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (10)

  1. 一种双连接安全通讯的方法,用于终端设备,其特征在于,所述方法包括:
    当接收到用户发送的服务器登录指令后,通过移动数据网络与所述服务器建立第一网络连接,通过无线局域网WLAN与所述服务器建立第二网络连接;
    根据所述服务器登录指令生成向服务器发送的登录请求消息,将所述登录请求消息拆分为第一请求数据包和第二请求数据包,在所述第一网络连接上向所述服务器发送所述第一请求数据包,在所述第二网络连接上向所述服务器发送第二请求数据包;
    从所述第一网络连接上接收所述服务器发送的第一应答数据包,从所述第二网络连接上接收所述服务器发送的第二应答数据包,将所述第一应答数据包和所述第二应答数据包合并为所述服务器发送的登录应答消息,以完成用户登录。
  2. 根据权利要求1所述的方法,其特征在于,所述登录应答消息包括登录成功消息或登录失败消息;
    在所述将所述第一应答数据包和所述第二应答数据包合并为所述服务器发送的登录应答消息之后,所述方法还包括:
    若所述服务器发送的登录应答消息为登录失败消息,则用户登录失败,断开所述通过移动数据网络与所述服务器建立的第一网络连接,并且断开所述通过WLAN与所述服务器建立的第二网络连接,以结束用户登录;
    若所述服务器发送的登录应答消息为登录成功消息,则用户登录成功,断开所述通过移动数据网络与所述服务器建立的第一网络连接,以完成用户登录;或者,
    若所述服务器发送的登录应答消息为登录成功消息,则用户登录成功,断开所述通过WLAN与所述服务器建立的第二网络连接,以完成用户登录。
  3. 根据权利要求1所述的方法,其特征在于,在所述通过移动数据网络与所述服务器建立第一网络连接之前,所述方法还包括:
    在移动数据网络中发起网络注册,若网络注册成功,则通过所述移动数据 网络与所述服务器建立所述第一网络连接;
    在所述通过WLAN与所述服务器建立第二网络连接之前,所述方法还包括:
    在WLAN中发起安全认证,若安全认证成功,则通过WLAN与所述服务器建立所述第二网络连接;或者,在移动数据网络中发起网络注册,若网络注册成功,则通过WLAN与所述服务器建立所述第二网络连接。
  4. 一种双连接安全通讯的方法,用于服务器,其特征在于,包括:
    通过移动数据网络与终端建立第一网络连接,通过WLAN与所述终端建立第二网络连接;
    从所述第一网络连接上接收所述终端发送的第一请求数据包,从所述第二网络连接上接收所述终端发送的第二请求数据包,合并所述第一请求数据包和所述第二请求数据包,以得到所述终端发送的登录请求消息;
    根据所述登录请求消息生成向终端发送的登录应答消息,将所述登录应答消息拆分为第一应答数据包和第二应答数据包,在所述第一网络连接上向所述终端发送第一应答数据包,在所述第二网络连接上向所述终端发送第二应答数据包,以完成用户登录。
  5. 根据权利要求4所述的方法,其特征在于,所述登录应答消息包括登录成功消息或登录失败消息;
    所述在所述向所述终端发送第一应答数据包和第二应答数据包的步骤之后,所述方法还包括:
    若所述登录应答消息为登录失败消息,则用户登录失败,断开所述通过所述移动数据网络与所述终端建立的第一网络连接,并且断开所述通过WLAN与所述终端建立的第二网络连接,以结束用户登录;
    若所述登录应答消息为登录成功消息,则用户登录成功,断开所述通过所述移动数据网络与所述终端建立的第一网络连接,以完成用户登录;或者,
    若所述登录应答消息为登录成功消息,则用户登录成功,断开所述通过WLAN与所述终端建立的第二网络连接,以完成用户登录。
  6. 一种终端设备,其特征在于,包括:
    接收单元,用于接收用户发送的服务器登录指令;
    处理单元,用于通过移动数据网络与所述服务器建立第一网络连接,通过WLAN与所述服务器建立第二网络连接;
    所述处理单元还用于,根据所述接收单元收到的服务器登录指令生成向服务器发送的登录请求消息,将所述登录请求消息拆分为第一请求数据包和第二请求数据包;
    发送单元,用于在所述第一网络连接上向所述服务器发送所述第一请求数据包,在所述第二网络连接上向所述服务器发送第二请求数据包;
    所述接收单元还用于,从所述第一网络连接上接收所述服务器发送的第一应答数据包,从所述第二网络连接上接收所述服务器发送的第二应答数据包;
    所述处理单元还用于,将所述接收单元收到的所述第一应答数据包和所述第二应答数据包合并为所述服务器发送的登录应答消息,以完成用户登录。
  7. 根据权利要求6所述的设备,其特征在于,所述处理单元还用于:
    若所述接收单元收到的所述服务器发送的登录应答消息为登录失败消息,则用户登录失败,断开所述通过移动数据网络与所述服务器建立的第一网络连接,并且断开所述通过WLAN与所述服务器建立的第二网络连接,以结束用户登录;
    若所述接收单元收到的所述服务器发送的登录应答消息为登录成功消息,则用户登录成功,断开所述通过移动数据网络与所述服务器建立的第一网络连接,以完成用户登录;或者,
    若所述接收单元收到的服务器发送的登录应答消息为登录成功消息,则用户登录成功,断开所述通过WLAN与所述服务器建立的第二网络连接,以完成用户登录。
  8. 根据权利要求6所述的设备,其特征在于,所述处理单元具体用于:
    在移动数据网络中发起网络注册,若网络注册成功,则通过所述移动数据网络与所述服务器建立所述第一网络连接;
    在WLAN中发起安全认证,若安全认证成功,则通过WLAN与所述服务器建立所述第二网络连接;或者,在移动数据网络中发起网络注册,若网络注册成功,则通过WLAN与所述服务器建立所述第二网络连接。
  9. 一种服务器设备,其特征在于,包括:
    处理单元,用于通过移动数据网络与终端建立第一网络连接,通过WLAN与所述终端建立第二网络连接;
    接收单元,用于从所述第一网络连接上接收所述终端发送的第一请求数据包,从所述第二网络连接上接收所述终端发送的第二请求数据包;
    所述处理单元还用于,合并所述接收单元收到的所述第一请求数据包和所述第二请求数据包,以得到所述终端发送的登录请求消息;并且,根据所述登录请求消息生成向终端发送的登录应答消息,将所述登录应答消息拆分为第一应答数据包和第二应答数据包;
    发送单元,用于在所述第一网络连接上向所述终端发送第一应答数据包,在所述第二网络连接上向所述终端发送第二应答数据包,以完成用户登录。
  10. 根据权利要求9所述的设备,其特征在于,所述登录应答消息包括登录成功消息或登录失败消息;
    所述处理单元还用于:
    若所述登录应答消息为服务器登录失败消息,则用户登录失败,断开所述通过所述移动数据网络与所述终端建立的第一网络连接,并且断开所述通过WLAN与所述终端建立的第二网络连接,以结束用户登录;
    若所述登录应答消息为登录成功消息,则用户登录成功,断开所述通过所述移动数据网络与所述终端建立的第一网络连接,以完成用户登录;或者,
    若所述登录应答消息为登录成功消息,则用户登录成功,断开所述通过WLAN与所述终端建立的第二网络连接,以完成用户登录。
PCT/CN2015/085860 2015-07-22 2015-07-31 一种双连接安全通讯的方法及装置 Ceased WO2017012142A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510434054.3A CN105578463B (zh) 2015-07-22 2015-07-22 一种双连接安全通讯的方法及装置
CN201510434054.3 2015-07-22

Publications (1)

Publication Number Publication Date
WO2017012142A1 true WO2017012142A1 (zh) 2017-01-26

Family

ID=55888020

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/085860 Ceased WO2017012142A1 (zh) 2015-07-22 2015-07-31 一种双连接安全通讯的方法及装置

Country Status (2)

Country Link
CN (1) CN105578463B (zh)
WO (1) WO2017012142A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113965630A (zh) * 2021-10-25 2022-01-21 深圳市元征科技股份有限公司 一种udp连接方法、电子设备及存储介质

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162568A (zh) * 2016-06-06 2016-11-23 深圳市贝美互动科技有限公司 物联网设备及其联网配置方法、智能终端及物联网系统
CN106209833A (zh) * 2016-07-08 2016-12-07 汉柏科技有限公司 一种防止网页劫持的方法及网关
CN106779648B (zh) * 2016-12-16 2020-10-16 Oppo广东移动通信有限公司 一种网络数据发送方法及移动终端
CN108811034A (zh) 2017-05-05 2018-11-13 中兴通讯股份有限公司 消息传输方法及装置
CN110120932B (zh) * 2018-02-06 2020-10-23 华为技术有限公司 多路径建立方法及装置
CN111107093B (zh) * 2019-12-25 2022-07-19 苏州达家迎信息技术有限公司 一种应用登录方法、装置、终端及存储介质
CN111432444B (zh) * 2020-03-06 2022-04-19 宇龙计算机通信科技(深圳)有限公司 网络的连接方法、装置、存储介质及终端
CN114125031B (zh) * 2022-01-28 2022-06-21 南湖实验室 一种基于互联网区域联动的广播应答方法及其系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1684410A (zh) * 2004-04-13 2005-10-19 株式会社日立制作所 加密备份方法以及解密恢复方法
CN1852284A (zh) * 2006-04-11 2006-10-25 潘国纲 网路并行数据传输方法
EP2273417A2 (en) * 2009-06-23 2011-01-12 Uniloc Usa, Inc. Device authority for authenticating a user of an on-line service
CN103780375A (zh) * 2012-10-19 2014-05-07 中国电信股份有限公司 数据发送方法和装置、数据接收方法和装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG136120A1 (en) * 2004-01-28 2007-10-29 Univ Singapore Systems and methods for communication
CN1960300A (zh) * 2005-11-01 2007-05-09 华为技术有限公司 一种互通无线局域网中接入注册的方法及系统
WO2012165809A2 (ko) * 2011-06-03 2012-12-06 에스케이 텔레콤주식회사 이기종 네트워크 기반 데이터 동시 전송 서비스 방법 및 장치
KR101437364B1 (ko) * 2011-07-19 2014-09-03 에스케이텔레콤 주식회사 송신장치 및 수신장치와 그 장치의 동작 방법
CN102368768B (zh) * 2011-10-12 2014-04-02 北京星网锐捷网络技术有限公司 认证方法、设备、系统及认证服务器
CN103501293B (zh) * 2013-09-25 2017-06-13 国网重庆市电力公司 一种智能电网中终端可信接入的认证方法
CN104202346A (zh) * 2014-09-29 2014-12-10 联想(北京)有限公司 一种网络连接请求处理方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1684410A (zh) * 2004-04-13 2005-10-19 株式会社日立制作所 加密备份方法以及解密恢复方法
CN1852284A (zh) * 2006-04-11 2006-10-25 潘国纲 网路并行数据传输方法
EP2273417A2 (en) * 2009-06-23 2011-01-12 Uniloc Usa, Inc. Device authority for authenticating a user of an on-line service
CN103780375A (zh) * 2012-10-19 2014-05-07 中国电信股份有限公司 数据发送方法和装置、数据接收方法和装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113965630A (zh) * 2021-10-25 2022-01-21 深圳市元征科技股份有限公司 一种udp连接方法、电子设备及存储介质

Also Published As

Publication number Publication date
CN105578463A (zh) 2016-05-11
CN105578463B (zh) 2019-10-11

Similar Documents

Publication Publication Date Title
CN105578463B (zh) 一种双连接安全通讯的方法及装置
US10412083B2 (en) Dynamically generated SSID
EP3021549B1 (en) Terminal authentication apparatus and method
CN107534651B (zh) 用于传送会话标识符的方法及设备
EP2815551B1 (en) Peer to peer networking and sharing systems and methods
US9319439B2 (en) Secured wireless session initiate framework
US11297107B2 (en) Message queuing telemetry transport (MQTT) data transmission method, apparatus, and system
CN102843682A (zh) 接入点认证方法、装置及系统
CN107005534A (zh) 安全连接建立
CN104426837A (zh) Ftp的应用层报文过滤方法及装置
JP5068495B2 (ja) 分散型認証機能
US11405362B2 (en) Apparatus and method for secure communication over restricted network
CN107113278B (zh) 邻居建立的方法、设备和系统
CN111586017A (zh) 通信用户认证的方法和装置
CN107566418B (zh) 一种安全管理的方法及接入设备
US11178542B1 (en) Method and system for secure device-to-device data communications
CN110120907B (zh) 一种基于提议组的IPSec VPN隧道的通信方法及装置
CN118802320B (zh) 网络接入方法、装置、电子设备、存储介质及产品
US20250351013A1 (en) System and method for optimized authentication in communication networks
CN120567542A (zh) 一种认证方法及装置
CN103108325A (zh) 一种信息安全传输方法及系统及接入服务节点
CN114389880A (zh) 一种结合零信任思想的跨云池安全接入方法和系统
CN106162633A (zh) 一种密钥传输方法和装置
CN105812416A (zh) 不同网络间传输文件的方法和系统
CN101662473A (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: 15898698

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15898698

Country of ref document: EP

Kind code of ref document: A1