CN112398718A - Network transmission method and device, electronic equipment and storage medium - Google Patents

Network transmission method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112398718A
CN112398718A CN202011311297.5A CN202011311297A CN112398718A CN 112398718 A CN112398718 A CN 112398718A CN 202011311297 A CN202011311297 A CN 202011311297A CN 112398718 A CN112398718 A CN 112398718A
Authority
CN
China
Prior art keywords
network
request
vpn
local area
wireless local
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.)
Pending
Application number
CN202011311297.5A
Other languages
Chinese (zh)
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202011311297.5A priority Critical patent/CN112398718A/en
Publication of CN112398718A publication Critical patent/CN112398718A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • 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
    • 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/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • 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]

Landscapes

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

Abstract

The disclosure relates to a network transmission method, a network transmission device, electronic equipment and a storage medium, relates to the technical field of communication, and aims to solve the problem that inconvenience is brought to a user to surf the internet when a terminal device is connected with a wireless local area network which cannot be networked in the related art. The network transmission method is applied to terminal equipment, after a wireless local area network and a mobile network are connected at the same time, the state of the connected wireless local area network can be detected through a VPN proxy, if the wireless local area network cannot be networked, a network request can be monitored through the VPN proxy, then the monitored network request is sent to a VPN server through the connected mobile network, the VPN server forwards the network request to a target server, and response data of the target server are obtained. Therefore, when the terminal equipment is connected to the wireless local area network which cannot be networked, the mobile network can be automatically switched, the network is switched without manual operation of a user, and the user can conveniently surf the internet.

Description

Network transmission method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a network transmission method and apparatus, an electronic device, and a storage medium.
Background
Today, the internet is continuously developed, a Wireless Local Area Network (WLAN) has become an essential network tool in people's daily life, and the WLAN has the characteristics of universal access, high-speed bandwidth, low cost and the like, and brings great convenience to users both in life and in work. However, in the prior art environment, the wireless lan and the mobile network cannot coexist, i.e., only one of the network states is allowed to be available at the same time, and it is generally set to preferentially use the wireless lan. That is, the terminal device preferentially uses the wireless lan when simultaneously connecting the wireless lan and the mobile network, and at this time, if the mobile network is to be used, the connection of the wireless lan must be manually disconnected.
However, in some scenarios, the terminal device may connect to a wireless local area network that cannot be networked, for example, a wireless local area network provided in some public places, and after connecting to the wireless local area network, the terminal device needs to be authenticated and then can be networked. At this time, if the user has a requirement for surfing the internet, after the user perceives that the wireless local area network cannot be networked, the user needs to manually disconnect the wireless local area network and then connect the mobile network for surfing the internet, so that the operation process is complicated.
Disclosure of Invention
In order to solve technical problems in the related art, the present disclosure provides a network transmission method, an apparatus, an electronic device, and a storage medium, which can automatically switch to a mobile network when a terminal device is connected to a wireless local area network that cannot be networked, and do not require a user to manually switch the network, thereby facilitating the user to surf the internet.
The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a network transmission method is provided, which is applied to a terminal device, and includes:
after the wireless local area network and the mobile network are connected at the same time, the state of the connected wireless local area network is detected through a Virtual Private Network (VPN) proxy;
if the fact that the connected wireless local area network cannot be networked is detected, after the network request is monitored through the VPN agent, the network request is sent to a VPN server through the connected mobile network, so that the VPN server forwards the network request to a target server and obtains response data of the target server.
In an alternative embodiment, the sending the network request to the VPN server via the connected mobile network includes:
determining a network type corresponding to the network request;
and if the network type is a mobile network, sending the network request to a VPN server through the connected mobile network.
In an optional embodiment, after the detecting the state of the connected wireless local area network by the VPN agent, the method further comprises:
if the connected wireless local area network is detected to be networked, determining a network type corresponding to the network request when the VPN agent monitors the network request;
when the network type is a mobile network, sending the network request to the VPN server through the connected mobile network;
and when the network type is a wireless local area network, sending the network request to the target server through the wireless local area network.
In an optional implementation manner, the determining a network type corresponding to the network request includes:
obtaining a network type corresponding to a network request according to a preset corresponding relation between the network request and the network type; alternatively, the first and second electrodes may be,
and determining a target application program corresponding to the network request, and obtaining a network type corresponding to the target application program according to a preset corresponding relation between the application program and the network type.
In an optional implementation manner, the correspondence between the preset network request and the network type is determined as follows:
receiving a first network type request sent by an application program through the VPN agent; the first network type request comprises network types respectively corresponding to different network requests of the application program, and the corresponding relation between the different network requests of the application program and the network types is set according to the first network type request; alternatively, the first and second electrodes may be,
receiving the corresponding relation between different network requests and network types which are configured in advance.
In an optional implementation manner, the correspondence between the preset application program and the network type is determined by:
receiving a second network type request sent by an application program through the VPN agent; the second network type request comprises a network type corresponding to the application program, and the corresponding relation between different application programs and the network type is set according to the second network type request; alternatively, the first and second electrodes may be,
receiving the corresponding relation between different application programs and network types which are configured in advance.
In an optional embodiment, after the detecting the state of the connected wireless local area network by the VPN agent, the method further comprises:
and if the connected wireless local area network is detected to be networked, sending the network request to the target server through the wireless local area network.
In an optional embodiment, after the detecting the state of the connected wireless local area network by the VPN agent, the method further comprises:
if the networking of the connected wireless local area network is detected, when the VPN agent monitors the network request, the network request is sent to the VPN server through the connected mobile network, and the network request is sent to the target server through the wireless local area network.
In an alternative embodiment, the sending the network request to the VPN server via the connected mobile network includes:
determining the IP address bound by the started mobile network module;
and sending the network request to the VPN server according to the IP address.
In an optional embodiment, the method further comprises:
starting the mobile network module through a reflection mechanism;
binding the IP address of the VPN server to the mobile network module.
In an alternative embodiment, the sending the network request to the VPN server via the connected mobile network includes:
determining an internet surfing process bound by a network identifier of a mobile network channel;
and sending the network request to the VPN server according to the internet surfing process.
In an optional embodiment, the method further comprises:
receiving a mobile network request sent by the VPN agent, and acquiring a network identifier of the mobile network channel according to the mobile network request;
and binding the network identification of the mobile network channel with the internet surfing process of the VPN agent.
In an optional implementation, the detecting, by the VPN agent, a status of the connected wireless local area network includes:
sending a network detection request to a network detection interface of the terminal equipment through the VPN agent so as to acquire detection information returned by the network detection interface;
and determining the networking state of the wireless local area network according to the detection information.
According to a second aspect of the embodiments of the present disclosure, there is provided a network transmission apparatus, applied in a terminal device, including:
a detection unit configured to detect a state of a connected wireless local area network through a VPN agent after simultaneously connecting the wireless local area network and a mobile network;
the sending unit is configured to send a network request to a VPN server through a connected mobile network after the VPN agent monitors the network request if the connected wireless local area network is detected to be incapable of networking, so that the VPN server forwards the network request to a target server and obtains response data of the target server.
In an alternative embodiment, the sending unit is specifically configured to perform:
determining a network type corresponding to the network request;
and if the network type is a mobile network, sending the network request to a VPN server through the connected mobile network.
In an optional embodiment, the sending unit is further configured to perform:
if the connected wireless local area network is detected to be networked, determining a network type corresponding to the network request when the VPN agent monitors the network request;
when the network type is a mobile network, sending the network request to the VPN server through the connected mobile network;
and when the network type is a wireless local area network, sending the network request to the target server through the wireless local area network.
In an optional embodiment, the sending unit is further configured to perform:
obtaining a network type corresponding to a network request according to a preset corresponding relation between the network request and the network type; alternatively, the first and second electrodes may be,
and determining a target application program corresponding to the network request, and obtaining a network type corresponding to the target application program according to a preset corresponding relation between the application program and the network type.
In an optional implementation manner, the apparatus further includes a first receiving unit configured to perform:
receiving a first network type request sent by an application program through the VPN agent; the first network type request comprises network types respectively corresponding to different network requests of the application program, and the corresponding relation between the different network requests of the application program and the network types is set according to the first network type request; alternatively, the first and second electrodes may be,
receiving the corresponding relation between different network requests and network types which are configured in advance.
In an optional implementation manner, the apparatus further includes a second receiving unit configured to perform:
receiving a second network type request sent by an application program through the VPN agent; the second network type request comprises a network type corresponding to the application program, and the corresponding relation between different application programs and the network type is set according to the second network type request; alternatively, the first and second electrodes may be,
receiving the corresponding relation between different application programs and network types which are configured in advance.
In an optional embodiment, the sending unit is further configured to perform:
and if the connected wireless local area network is detected to be networked, sending the network request to the target server through the wireless local area network.
In an optional embodiment, the sending unit is further configured to perform:
if the networking of the connected wireless local area network is detected, when the VPN agent monitors the network request, the network request is sent to the VPN server through the connected mobile network, and the network request is sent to the target server through the wireless local area network.
In an optional embodiment, the sending unit is further configured to perform:
determining the IP address bound by the started mobile network module;
and sending the network request to the VPN server according to the IP address.
In an optional embodiment, the apparatus further comprises a first binding unit configured to perform:
starting the mobile network module through a reflection mechanism;
binding the IP address of the VPN server to the mobile network module.
In an optional embodiment, the sending unit is further configured to perform:
determining an internet surfing process bound by a network identifier of a mobile network channel;
and sending the network request to the VPN server according to the internet surfing process.
In an optional embodiment, the apparatus further comprises a second binding unit configured to perform:
receiving a mobile network request sent by the VPN agent, and acquiring a network identifier of the mobile network channel according to the mobile network request;
and binding the network identification of the mobile network channel with the internet surfing process of the VPN agent.
In an optional embodiment, the detection unit is specifically configured to perform:
sending a network detection request to a network detection interface of the terminal equipment through the VPN agent so as to acquire detection information returned by the network detection interface;
and determining the networking state of the wireless local area network according to the detection information.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the network transmission method according to any one of the first aspect of the embodiments of the present disclosure.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory readable storage medium, wherein instructions of the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the network transmission method according to any one of the first aspect of the embodiments of the present disclosure.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, which, when run on an electronic device, causes the electronic device to perform a method that implements any of the above first aspect and the first aspect of embodiments of the present disclosure may relate to.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
after the terminal device of the embodiment of the disclosure is connected with the wireless local area network and the mobile network at the same time, the state of the connected wireless local area network can be detected through the VPN agent, if the wireless local area network cannot be networked, the network request can be monitored through the VPN agent, then the monitored network request is sent to the VPN server through the connected mobile network, the VPN server forwards the network request to the target server, and response data of the target server is obtained. Therefore, when the terminal equipment is connected to the wireless local area network which cannot be networked, the mobile network can be automatically switched, the network is switched without manual operation of a user, and the user can conveniently surf the internet.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram illustrating an application scenario in accordance with an exemplary embodiment;
FIG. 2 is a schematic diagram illustrating a network transmission method in accordance with an example embodiment;
FIG. 3 is a schematic diagram illustrating another network transmission method in accordance with an example embodiment;
fig. 4 is a flow diagram illustrating a terminal device initiating a VPN agent and initiating a mobile network in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating a network transmission device in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating another electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Some of the words that appear in the text are explained below:
(1) VPN (Virtual Private Network): the method is to establish a private network on a public network to carry out encrypted communication and is widely applied to enterprise networks. The VPN gateway realizes remote access through encryption of data packets and conversion of data destination addresses. A VPN may be implemented in a number of ways, including server, hardware, software, etc.
(2) VPN agent: the technology is derived on the basis of VPN and is used for improving the network access speed and the security. It uses special encryption communication protocol of VPN to establish point-to-point connection between front-end computer and VPN server, and after the connection is successful, a virtual special tunnel is established. The front-end computer sends the network request which is originally sent to the target server to the VPN server through the virtual private tunnel. The terminal device of the embodiment of the present disclosure may be understood as the front-end computer described above.
(3) VPN server: namely a VPN proxy server, a server built to implement VPN connection. The VPN proxy server may receive the network request sent by the VPN proxy and forward the network request to the target server. After receiving the response of the target server, the VPN server forwards the response data to the front-end computer through the VPN agent.
(4) Wireless Local Area Network (WLAN): the wireless communication technology is used for interconnecting computer equipment to form a network system which can communicate with each other and realize resource sharing. The wireless local area network is essentially characterized in that a communication cable is not used for connecting a computer with a network, but the computer is connected in a wireless mode, so that the network construction and the terminal movement are more flexible.
(5) WIFI (wireless internet): is a technology that allows electronic devices to connect to a wireless local area network, typically using the 2.4G UHF or 5G SHF ISM radio frequency bands.
(6) A mobile network: may be a 2G (2-Generation wireless telecommunications technology, second Generation mobile communication technology) network, a 3G (3rd-Generation, third Generation mobile communication technology) network, a 4G (the 4th Generation mobile communication technology, fourth Generation mobile communication technology) network, etc.
(7) An electronic device: which may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
In the related art, when a terminal device is connected with a wireless local area network which cannot be networked, if a user has an internet access requirement, the user needs to manually disconnect the wireless local area network when perceiving that the wireless local area network cannot be networked, and then connect a mobile network for internet access, so that the operation process is complicated.
In view of this, the embodiments of the present disclosure provide a network transmission method, an apparatus, an electronic device, and a storage medium. In the embodiment of the disclosure, when a connected wireless local area network cannot be networked, a terminal device may monitor a network request through a VPN agent, then send the monitored network request to a VPN server through a connected mobile network, and the VPN server forwards the network request to a target server and obtains response data of the target server. Therefore, when the terminal equipment is connected to the wireless local area network which cannot be networked, the mobile network can be automatically switched, the network is switched without manual operation of a user, and the user can conveniently surf the internet.
The application scenario described in the embodiment of the present disclosure is for more clearly illustrating the technical solution of the embodiment of the present disclosure, and does not form a limitation on the technical solution provided in the embodiment of the present disclosure, and as a person having ordinary skill in the art knows, with the occurrence of a new application scenario, the technical solution provided in the embodiment of the present disclosure is also applicable to similar technical problems. In the description of the present disclosure, the term "plurality" means two or more unless otherwise specified.
Application scenarios of the embodiments of the present disclosure are described below.
Fig. 1 is a schematic view of an application scenario of the embodiment of the present disclosure. The application scenario diagram includes a plurality of terminal devices 300, a VPN server 200, and a target server 100, and fig. 1 illustrates three terminal devices 300 as an example, and the number of terminal devices is not limited in practice. The VPN server 200 and the target server 100 may be implemented by a single server or may be implemented by a plurality of servers. The VPN server 200 and the target server 100 may be implemented by physical servers or virtual servers. The terminal device 300 may be provided with a VPN agent, and communication between the VPN agent and the VPN server 200 may be performed via a mobile network, communication between the VPN server 200 and the target server may be performed via a communication network, and communication between the terminal device 300 and the target server 100 may be performed via a communication network.
In an alternative implementation manner, the communication network may be a wireless network or a wired network, which is not limited in this disclosure.
In the embodiment of the present disclosure, the terminal device 300 is an electronic device used by a user, and the electronic device may be a computer device having certain computing capability and running various application programs, such as a personal computer, a mobile phone, a tablet computer, a notebook, an e-book reader, and the like. The terminal device 300 can communicate with the target server 100 through a wireless network.
The wireless network may be, for example, a wireless local area network or a mobile network. When the terminal device 300 is connected to the wireless lan and the mobile network at the same time, the state of the connected wireless lan may be detected by the VPN agent, if the connected wireless lan cannot be networked, when a user has an internet access requirement, that is, when an application program in the terminal device 300 needs to send a network request to the target server 100, the VPN agent may monitor the network request sent by the application program, then send the network request to the VPN server 200 through the connected mobile network, and the VPN server 200 forwards the network request to the target server 100, and obtains response data of the target server 100. After acquiring the response data of the target server 100, the VPN server may forward the response data to the terminal device 300 through the VPN agent.
In an alternative embodiment, if the wireless lan to which the terminal device 300 is connected is already networked, the network request may also be sent to the target server 100 via the wireless lan.
The application scenario of fig. 1 described above is only an example of an application scenario for implementing the embodiment of the present disclosure, and the embodiment of the present disclosure is not limited to the application scenario of fig. 1 described above.
The following describes a network transmission method according to an embodiment of the present disclosure in detail.
Fig. 2 is a flowchart illustrating a network transmission method according to an exemplary embodiment, which may be applied to a terminal device, as shown in fig. 2, and includes the following steps:
step S201, after connecting the wireless lan and the mobile network at the same time, detecting the state of the connected wireless lan through the VPN agent.
In the embodiment of the disclosure, the terminal device may be provided with a WIFI module and a mobile network module, and may be connected to the wireless local area network by starting the WIFI module, and may be connected to the mobile network by starting the mobile network module. The terminal device takes a mobile phone as an example, a WIFI module in the mobile phone may be a WIFI network card, and a mobile network module may be a mobile network card, for example, a 2G network card, a 3G network card, a 4G high-speed network card, and the like.
Specifically, the terminal device may be installed with a VPN agent, before the VPN agent is opened, the VPN authorization of the user may be acquired, and after the VPN authorization is successful, the terminal device may start a VPN service of the VPN agent, that is, a start thread establishes a connection between the VPN agent and the VPN server.
In an optional implementation manner, after the terminal device connects to the wireless local area network, the state of the connected wireless local area network is detected through the VPN agent, which may be implemented as follows:
sending a network detection request to a network detection interface of the terminal equipment through the VPN agent so as to acquire detection information returned by the network detection interface; and determining the networking state of the wireless local area network according to the detection information.
The detection information may be a detection value, and the detection value may be set as needed, which is not limited in this disclosure. For example, a detection value of 1 indicates that the wireless lan is networked, and a detection value of 0 indicates that the wireless lan cannot be networked.
Step S202, if it is detected that the connected wireless local area network cannot be networked, after the network request is monitored through the VPN proxy, the network request is sent to the VPN server through the connected mobile network, so that the VPN server forwards the network request to the target server and obtains response data of the target server.
In step S202, the application program in the terminal device may initiate a network request to the target server, for example, the application program is instant messaging software, and when the user logs in the instant messaging software, the user may initiate chat information to other users, at this time, the instant messaging software may initiate a chat request to the target server. The VPN agent may monitor a network request initiated by an application of the terminal device, intercept the network request, and then send the network request to the VPN server through the connected mobile network.
When the terminal equipment is connected to the wireless local area network which cannot be networked, the mobile network can be automatically switched, the network switching is not required to be manually operated by a user, and the user can conveniently surf the internet.
In an alternative embodiment, since the network request of the application program in the terminal device is initiated to the target server, the protocol of the network request may be recognized by the target server and may not be recognized by the VPN server. Thus, to facilitate the VPN server to identify the network request, the VPN agent may protocol encapsulate the network request, convert the network request to a protocol-specific request that the VPN server can identify, and then send the protocol-specific request to the VPN server.
In some embodiments, as shown in fig. 3, the step S202 of sending the network request to the VPN server through the connected mobile network may be further implemented by:
step S301, determining a network type corresponding to the network request.
Step S302, if the network type is a mobile network, the network request is sent to the VPN server through the connected mobile network.
The network type may be a wireless local area network or a mobile network. The network type may correspond directly to the network request or may correspond to an application to which the network request corresponds. Therefore, step S301 can be realized in the following two ways.
In an optional implementation manner, the network type corresponding to the network request is obtained according to a preset correspondence between the network request and the network type.
In this embodiment, the corresponding relationship between the set network request and the network type may be stored in advance, for example, in a form of a table, and when a network type corresponding to a certain network request is determined, the corresponding relationship is called to search for the network type corresponding to the network request.
Specifically, the correspondence between the preset network request and the network type may be determined in the following two ways:
in the first mode, a first network type request sent by an application program is received through a VPN (virtual private network) agent; the first network type request comprises network types respectively corresponding to different network requests of the application program, and the corresponding relation between the different network requests of the application program and the network types is set according to the first network type request.
Because the network traffic required by different network requests of the application program is different, for example, the network request is to download multimedia content, which may be video, picture, music, etc., at this time, the required network traffic is large, and the network type corresponding to the network request may be set to be a wireless local area network. For another example, the network request is a send message, and at this time, the required network traffic is small, and the network type corresponding to the network request may be set as a mobile network. The different network requests may be distinguished by request types, such as a CDN (content delivery network) resource request, an API (Application Programming Interface) request, a Socket request, an Http request, and the like.
It will be appreciated that different ones of the first network type requests sent by an application may be distinguished by request type. In addition, when the correspondence between different network requests and network types of a plurality of applications is set, the different applications can be distinguished by the application identifier, for example, the application a is identified by a, the application B is identified by B, and the application C is identified by C. The identifier of the application program is only exemplary, and may be specifically set according to needs, which is not limited in the embodiment of the present disclosure.
For example, the first network type request of the application a may include an identifier of the application a, and network types corresponding to the network request 1, the network request 2, and the network request 3, for example, a wireless local area network, a mobile network, and a mobile network, respectively, where the three network requests may represent a CDN request, an API request, and a Socket request, respectively. Therefore, the correspondence between the three network requests of the application a and the network type can be set according to the content in the first network type request, and the correspondence can include the identifier of the application a, the request type and the network type.
In the second mode, the pre-configured corresponding relation between different network requests and network types is received through the VPN agent.
In the embodiment of the disclosure, the network types corresponding to different network requests can be set by combining the characteristics of the application program and the network characteristics, and the optimal network type is dynamically matched for the user. For example, a network requiring a large flow rate uses a wireless local area network, a network requiring a small flow rate or a network requiring key information uses a mobile network, which not only can reduce the mutual influence between different network requests, but also can improve the network utilization rate.
Unlike the first method, the network types corresponding to different network requests can be directly set without distinguishing the application programs to which the network requests belong. The specific setting manner is similar to the first manner, and is not described herein again.
In another optional implementation, a target application corresponding to the network request may be determined, and a network type corresponding to the target application may be obtained according to a preset correspondence between the application and the network type.
In this embodiment, the corresponding relationship between the set application program and the network type may be stored in advance, for example, in a form of a table, and when a network type corresponding to a certain network request is determined, a target application program corresponding to the network request may be determined first, and then the corresponding relationship is called to search for the network type corresponding to the target application program, that is, the network type corresponding to the network request is obtained.
Specifically, the correspondence between the preset application program and the network type may be determined in the following two ways:
the method comprises the steps that a first network type request sent by an application program is received through a VPN proxy; and setting the corresponding relation between different application programs and the network type according to the second network type request.
As can be seen from the above, different applications can be distinguished by the identity of the application. For example, taking application B and application C as an example, the second network type request of application B may include the identifier of application B and a corresponding network type, for example, a wireless local area network, and the second network type request of application C may include the identifier of application C and a corresponding network type, for example, a mobile network. Therefore, the correspondence relationship between the application program and the network type can be set according to the content in the second network type request, and the correspondence relationship can comprise the identification of the application program and the network type.
And the second mode is that the corresponding relation between different pre-configured application programs and the network types is received through the VPN agent.
In a different manner, the network types corresponding to different applications can be directly set by the VPN agent without setting according to the received second network type request of the application. The specific setting manner is similar to the first setting manner, and is not described herein again.
It should be noted that, in the above embodiment, the application program needs to perform VPN authentication to its background server, for example, authenticate a user account, a password, and the like of the login application program, and after the authentication is passed, the network request initiated by the application program may be monitored by the VPN agent, and the network request is intercepted by the VPN agent and then sent to the VPN server.
In the above embodiment, the connected wireless lan cannot be networked, and a network transmission method when the connected wireless lan is networked is described below. Specifically, the following three embodiments may be included.
In the first embodiment, after detecting the state of the connected wireless lan through the VPN agent, the following steps may be further performed:
(1) and if the connected wireless local area network is detected to be networked, determining the network type corresponding to the network request when the VPN agent monitors the network request.
In this step, determining the network type corresponding to the network request is the same as the determining manner in step S301 in the foregoing embodiment, and details are not repeated here.
(2) When the network type is a mobile network, a network request is transmitted to the VPN server through the connected mobile network.
(3) And when the network type is the wireless local area network, sending the network request to the target server through the wireless local area network.
In the step (3), the terminal device may directly transmit the network request to the target server through the wireless local area network without processing the monitored network request through the VPN agent.
In the second embodiment, after detecting the state of the connected wireless lan through the VPN agent, if it is detected that the connected wireless lan is networked, the network request may be sent to the target server through the wireless lan.
In a third embodiment, in order to ensure a success rate of network transmission, after detecting a state of a connected wireless lan through a VPN agent, if it is detected that the connected wireless lan is networked, when the VPN agent monitors a network request, the VPN agent may send the network request to a VPN server through a connected mobile network, and the VPN server forwards the network request to a target server, and obtains response data of the target server through the VPN server. The network request can be sent to the target server through the wireless local area network while the network request is sent through the mobile network, so that response data of the target server can be obtained.
That is, for the same network request, it can be sent simultaneously through the wlan and the mobile network, preferentially using the response data returned with a faster success.
In the embodiment of the present disclosure, because versions of the operating systems of the terminal devices are different, for example, the operating systems may be android systems, and modes of sending the network request by the VPN proxy through the connected mobile network may also be different.
In some embodiments, for some terminal devices installed with a low-version operating system, when the VPN agent sends a network request to the VPN server through the connected mobile network, the mobile network module needs to be started, which may specifically be implemented by the following steps:
1) determining the IP address bound by the started mobile network module;
2) and sending the network request to the VPN server according to the IP address.
In this embodiment, the mobile network module may be started in advance, for example, the mobile network module may be started through a reflection mechanism, specifically, the mobile network module may be started through a startusing network feature method calling a reflection calling system (ConnectivityManager), and the mobile data module may be turned on and off by operating the method. The IP address of the VPN server is then bound to the mobile network module.
In an alternative embodiment, the mobile network module may have a type identifier, and when the IP address of the VPN server is bound to the mobile network module, the MobileController may be called to convert the IP address of the VPN server into an integer value, and then the integer value may be bound to the type identifier of the mobile network module.
In other embodiments, for other terminal devices installed with a high-version operating system, when the VPN proxy sends the network request to the VPN server through the connected mobile network, the method may specifically include the following steps:
a) determining an internet surfing process bound by a network identifier of a mobile network channel;
b) and sending the network request to the VPN server according to the internet surfing process.
In this embodiment, the VPN agent may send a mobile network request to an operating system of the terminal device, and apply for a mobile network tunnel through the mobile network request, and after receiving the mobile network request sent by the VPN agent, the operating system obtains a network identifier of the mobile network tunnel according to the mobile network request; and binding the network identification of the mobile network channel with the internet surfing process of the VPN agent.
In an optional implementation manner, the VPN agent may send a mobile network request to the operating system through a standard API of the operating system, after receiving the mobile network request sent by the VPN agent, the operating system may generate a network callback (network callback), then call a requestNetwork method of a reflective call system (CM), obtain a network identifier (network id) of a mobile network channel, and bind the network identifier of the mobile network channel with an internet process of the VPN agent, so that the VPN agent may send the network request through the mobile network.
The following illustrates a VPN proxy initiation procedure and a mobile network initiation procedure of the terminal device.
Fig. 4 shows a flowchart of the VPN agent initiation procedure and the mobile network initiation procedure of the terminal device, which may include the following steps, as shown in fig. 4 by way of example:
step S401, after the terminal device is started, obtaining VPN authorization of the user.
Step S402, judging whether VPN authorization passes, if yes, executing the following step S403.
In step S403, a VPN service is started.
Step S404, starting a thread to establish VPN service connection.
In step S405, the fd (file descriptor) after the connection is established is protected.
Step S406, sending fd to WebSocket class.
The fd can be used for describing a network request, and the network request can be subjected to protocol encapsulation through a WebSocket class.
Step S407, establish a connection between the VPN agent and the VPN server, and enable the VPN agent to receive and process various instructions.
Step S408, receiving a mobile network initiation request sent by the VPN agent.
Step S409, setting a timing time, and waiting for starting the mobile network. For example, the set time is 25 s.
Step S410, determining whether the API of the operating system of the terminal device is smaller than the set value, if the API is smaller than the set value, performing the following steps S411 to S414, otherwise performing the following steps S415 to S417.
Wherein the set value can be set according to the requirement, for example, the set value is 22. When the API is less than the set value, the operating system can be represented as a low version; when the API is greater than the set value, the operating system may be indicated as a high version.
In step S411, a timer time is set, for example, a set time of 25S, and after 25S, the following step S412 is executed.
Step S412, call the startUingNetworkfeature method of the CM to start the mobile network module.
Step S413, call MobileController to convert the IP address of the VPN server into an integer value.
Step S414, binding the integer value with the type identifier of the mobile network module.
For example, the type identifier of the mobile network module may be set to 5, the integer value may be represented as i, and 5 and i are bound.
In step S415, NetworkCallBack is generated.
Step S416, call the requestNetwork method of the reflection call system (connectivities manager), and obtain the network identifier networkId of the mobile network channel.
Step S417, binding the network id with the internet access process of the VPN agent.
In step S418, an indication bit is set, and the indication bit can be used to indicate that the mobile network is successfully started.
It should be noted that, the numerical values in the above steps are only exemplary, and the embodiment of the disclosure does not limit this.
Fig. 5 is a block diagram illustrating an object recommendation device 50 according to an example embodiment. Referring to fig. 5, the apparatus includes a detection unit 51 and a transmission unit 52.
A detection unit 51 configured to detect a state of a connected wireless local area network through the VPN agent after simultaneously connecting the wireless local area network and the mobile network;
the sending unit 52 is configured to, if it is detected that the connected wireless local area network cannot be networked, send the network request to the VPN server through the connected mobile network after monitoring the network request through the VPN agent, so that the VPN server forwards the network request to the target server, and obtain response data of the target server.
In an alternative embodiment, the sending unit 52 is specifically configured to perform:
determining a network type corresponding to the network request;
and if the network type is the mobile network, sending the network request to the VPN server through the connected mobile network.
In an alternative embodiment, the sending unit 52 is further configured to perform:
if the connected wireless local area network is detected to be networked, determining a network type corresponding to the network request when the VPN agent monitors the network request;
when the network type is a mobile network, sending a network request to a VPN server through the connected mobile network;
and when the network type is the wireless local area network, sending the network request to the target server through the wireless local area network.
In an alternative embodiment, the sending unit 52 is further configured to perform:
obtaining a network type corresponding to the network request according to a preset corresponding relation between the network request and the network type; alternatively, the first and second electrodes may be,
and determining a target application program corresponding to the network request, and obtaining a network type corresponding to the target application program according to a preset corresponding relation between the application program and the network type.
In an alternative embodiment, the apparatus further comprises a first receiving unit 53 configured to perform:
receiving a first network type request sent by an application program through a VPN agent; the first network type request comprises network types respectively corresponding to different network requests of the application program, and the corresponding relation between the different network requests of the application program and the network types is set according to the first network type request; alternatively, the first and second electrodes may be,
receiving the corresponding relation between different network requests and network types which are configured in advance.
In an alternative embodiment, the apparatus further comprises a second receiving unit 54 configured to perform:
receiving a second network type request sent by an application program through a VPN agent; the second network type request comprises a network type corresponding to the application program, and the corresponding relation between different application programs and the network type is set according to the second network type request; alternatively, the first and second electrodes may be,
receiving the corresponding relation between different application programs and network types which are configured in advance.
In an alternative embodiment, the sending unit 52 is further configured to perform:
and if the connected wireless local area network is detected to be networked, sending the network request to the target server through the wireless local area network.
In an alternative embodiment, the sending unit 52 is further configured to perform:
if the connected wireless local area network is detected to be networked, when the VPN agent monitors the network request, the network request is sent to the VPN server through the connected mobile network, and the network request is sent to the target server through the wireless local area network.
In an alternative embodiment, the sending unit 52 is further configured to perform:
determining the IP address bound by the started mobile network module;
and sending the network request to the VPN server according to the IP address.
In an alternative embodiment, the apparatus further comprises a first binding unit 55 configured to perform:
starting a mobile network module through a reflection mechanism;
the IP address of the VPN server is bound to the mobile network module.
In an alternative embodiment, the sending unit 52 is further configured to perform:
determining an internet surfing process bound by a network identifier of a mobile network channel;
and sending the network request to the VPN server according to the internet surfing process.
In an optional embodiment, the apparatus further comprises a second binding unit 56 configured to perform:
receiving a mobile network request sent by a VPN agent, and acquiring a network identifier of a mobile network channel according to the mobile network request;
and binding the network identification of the mobile network channel with the internet surfing process of the VPN agent.
In an alternative embodiment, the detection unit 51 is specifically configured to perform:
sending a network detection request to a network detection interface of the terminal equipment through the VPN agent so as to acquire detection information returned by the network detection interface;
and determining the networking state of the wireless local area network according to the detection information.
With regard to the apparatus in the above-described embodiment, the specific manner in which each unit executes the request has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 6 is a block diagram illustrating an electronic device 60 that may include a processor 61 and a memory 62 for storing instructions executable by the processor 61, according to an example embodiment;
wherein the processor 61 is configured to execute the instructions to implement the network transmission method in the embodiments of the present disclosure.
In an exemplary embodiment, a storage medium comprising instructions, such as a memory 62 comprising instructions, executable by a processor 61 of an electronic device 60 to perform the above-described method is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, for example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In some optional implementations, the present disclosure also provides another electronic device, which may include at least one processing unit and at least one storage unit. Wherein the storage unit stores program code which, when executed by the processing unit, causes the processing unit to perform the steps of the network transmission method according to various exemplary embodiments of the present disclosure described above in this specification. For example, the processing unit may perform steps S201-S202 as shown in fig. 2.
An electronic device 70 according to this embodiment of the present disclosure is described below with reference to fig. 7. The electronic device 70 of fig. 7 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present disclosure.
As shown in fig. 7, the electronic device 70 is represented in the form of a general electronic device. The components of the electronic device 70 may include, but are not limited to: the at least one processing unit 71, the at least one memory unit 72, and a bus 73 connecting the various system components (including the memory unit 72 and the processing unit 71).
Bus 73 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
The storage unit 72 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)721 and/or cache memory unit 722, and may further include Read Only Memory (ROM) 723.
The memory unit 72 may also include a program/utility 725 having a set (at least one) of program modules 724, such program modules 724 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The electronic device 70 may also communicate with one or more external devices 74 (e.g., keyboard, pointing device, etc.), with one or more devices that enable a user to interact with the electronic device 70, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 70 to communicate with one or more other electronic devices. Such communication may be through an input/output (I/O) interface 75. Also, the electronic device 70 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 76. As shown, the network adapter 76 communicates with other modules for the electronic device 70 over the bus 73. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 70, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
In some possible embodiments, various aspects of a network transmission method provided by the present disclosure may also be implemented in the form of a program product including program code for causing a computer device to perform the steps in a network transmission method according to various exemplary embodiments of the present disclosure described above in this specification when the program product is run on the computer device, for example, the program code may cause the computer device to perform the steps S201-S202 as shown in fig. 2.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable diskette, a hard disk, a random access computer storage media (RAM), a read-only computer storage media (ROM), an erasable programmable read-only computer storage media (EPROM or flash memory), an optical fiber, a portable compact disc read-only computer storage media (CD-ROM), an optical computer storage media piece, a magnetic computer storage media piece, or any suitable combination of the foregoing.
The program product for network transmission of the embodiments of the present disclosure may employ a portable compact disc read-only computer storage medium (CD-ROM) and include program code, and may be executed on an electronic device. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the consumer electronic device, partly on the consumer electronic device, as a stand-alone software package, partly on the consumer electronic device and partly on a remote electronic device, or entirely on the remote electronic device or server. In the case of remote electronic devices, the remote electronic devices may be connected to the consumer electronic device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external electronic device (e.g., through the internet using an internet service provider).
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, apparatus, device (system), or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, devices (systems), and computer program products according to the present disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications can be made in the present disclosure without departing from the spirit and scope of the disclosure. Thus, if such modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is intended to include such modifications and variations as well.

Claims (10)

1. A network transmission method is applied to a terminal device and comprises the following steps:
after the wireless local area network and the mobile network are connected at the same time, the state of the connected wireless local area network is detected through a Virtual Private Network (VPN) proxy;
if the fact that the connected wireless local area network cannot be networked is detected, after the network request is monitored through the VPN agent, the network request is sent to a VPN server through the connected mobile network, so that the VPN server forwards the network request to a target server and obtains response data of the target server.
2. The method of claim 1, wherein sending the network request to a VPN server over a connected mobile network comprises:
determining a network type corresponding to the network request;
and if the network type is a mobile network, sending the network request to a VPN server through the connected mobile network.
3. The method of claim 1, wherein after said detecting the status of the connected wireless local area network through the VPN proxy, the method further comprises:
if the connected wireless local area network is detected to be networked, determining a network type corresponding to the network request when the VPN agent monitors the network request;
when the network type is a mobile network, sending the network request to the VPN server through the connected mobile network;
and when the network type is a wireless local area network, sending the network request to the target server through the wireless local area network.
4. The method according to claim 2 or 3, wherein the determining the network type corresponding to the network request comprises:
obtaining a network type corresponding to a network request according to a preset corresponding relation between the network request and the network type; alternatively, the first and second electrodes may be,
and determining a target application program corresponding to the network request, and obtaining a network type corresponding to the target application program according to a preset corresponding relation between the application program and the network type.
5. The method according to claim 4, wherein the correspondence between the preset network request and the network type is determined by:
receiving a first network type request sent by an application program through the VPN agent; the first network type request comprises network types respectively corresponding to different network requests of the application program, and the corresponding relation between the different network requests of the application program and the network types is set according to the first network type request; alternatively, the first and second electrodes may be,
receiving the corresponding relation between different network requests and network types which are configured in advance.
6. The method of claim 4, wherein the correspondence between the preset application and the network type is determined by:
receiving a second network type request sent by an application program through the VPN agent; the second network type request comprises a network type corresponding to the application program, and the corresponding relation between different application programs and the network type is set according to the second network type request; alternatively, the first and second electrodes may be,
receiving the corresponding relation between different application programs and network types which are configured in advance.
7. The method according to claim 1 or 2, wherein after said detecting the status of the connected wireless local area network by the VPN agent, the method further comprises:
if the networking of the connected wireless local area network is detected, when the VPN agent monitors the network request, the network request is sent to the VPN server through the connected mobile network, and the network request is sent to the target server through the wireless local area network.
8. A network transmission device is applied to a terminal device, and comprises:
a detection unit configured to detect a state of a connected wireless local area network through a VPN agent after simultaneously connecting the wireless local area network and a mobile network;
the sending unit is configured to send a network request to a VPN server through a connected mobile network after the VPN agent monitors the network request if the connected wireless local area network is detected to be incapable of networking, so that the VPN server forwards the network request to a target server and obtains response data of the target server.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the network transmission method of any one of claim 1 to claim 7.
10. A storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the network transmission method of any one of claims 1 to 7.
CN202011311297.5A 2020-11-20 2020-11-20 Network transmission method and device, electronic equipment and storage medium Pending CN112398718A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011311297.5A CN112398718A (en) 2020-11-20 2020-11-20 Network transmission method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011311297.5A CN112398718A (en) 2020-11-20 2020-11-20 Network transmission method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112398718A true CN112398718A (en) 2021-02-23

Family

ID=74606000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011311297.5A Pending CN112398718A (en) 2020-11-20 2020-11-20 Network transmission method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112398718A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615076A (en) * 2022-03-30 2022-06-10 中国农业银行股份有限公司 Virtual private network VPN switching method, device, equipment and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1623309A (en) * 2002-01-29 2005-06-01 皇家飞利浦电子股份有限公司 Method and system for connecting mobile client devices to the internet
EP2112849A2 (en) * 2008-02-07 2009-10-28 Ascendent Telecommunications, Inc. Method and system for automatic seamless mobility
CN102316092A (en) * 2010-06-30 2012-01-11 丛林网络公司 The VPN networking client that connects again fast that has that is used for mobile device
US20130242965A1 (en) * 2012-03-16 2013-09-19 Qualcomm Incorporated System and Method of Offloading Traffic to a Wireless Local Area Network
CN105430701A (en) * 2015-10-28 2016-03-23 努比亚技术有限公司 Wireless network intelligent control method and device
US20160338128A1 (en) * 2015-01-09 2016-11-17 Telefonaktiebolaget Lm Ericsson (Publ) Reporting of Terminal Connection Status
CN106793167A (en) * 2016-04-01 2017-05-31 哈尔滨工业大学(威海) VPN traffic support method and device under a kind of mobile network environment
CN107197470A (en) * 2017-05-24 2017-09-22 努比亚技术有限公司 Wireless network connecting method, mobile terminal and computer-readable recording medium
US20200221288A1 (en) * 2017-07-14 2020-07-09 Huizhou Tcl Mobile Communication Co., Ltd. Method for determining access method of mobile terminal, storage medium, and mobile terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1623309A (en) * 2002-01-29 2005-06-01 皇家飞利浦电子股份有限公司 Method and system for connecting mobile client devices to the internet
EP2112849A2 (en) * 2008-02-07 2009-10-28 Ascendent Telecommunications, Inc. Method and system for automatic seamless mobility
CN102316092A (en) * 2010-06-30 2012-01-11 丛林网络公司 The VPN networking client that connects again fast that has that is used for mobile device
US20130242965A1 (en) * 2012-03-16 2013-09-19 Qualcomm Incorporated System and Method of Offloading Traffic to a Wireless Local Area Network
US20160338128A1 (en) * 2015-01-09 2016-11-17 Telefonaktiebolaget Lm Ericsson (Publ) Reporting of Terminal Connection Status
CN105430701A (en) * 2015-10-28 2016-03-23 努比亚技术有限公司 Wireless network intelligent control method and device
CN106793167A (en) * 2016-04-01 2017-05-31 哈尔滨工业大学(威海) VPN traffic support method and device under a kind of mobile network environment
CN107197470A (en) * 2017-05-24 2017-09-22 努比亚技术有限公司 Wireless network connecting method, mobile terminal and computer-readable recording medium
US20200221288A1 (en) * 2017-07-14 2020-07-09 Huizhou Tcl Mobile Communication Co., Ltd. Method for determining access method of mobile terminal, storage medium, and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615076A (en) * 2022-03-30 2022-06-10 中国农业银行股份有限公司 Virtual private network VPN switching method, device, equipment and medium

Similar Documents

Publication Publication Date Title
US11431754B2 (en) Authenticating to secured resource via coupled devices
US10250646B2 (en) Method and device for establishing channel
EP3439371B1 (en) Method and apparatus for determining access point service capabilities
US11864263B2 (en) Wireless connection establishing methods and wireless connection establishing apparatuses
US10034057B2 (en) Message processing method, device, gateway, STB and IPTV
JP6526208B2 (en) Techniques for handling remote web clients from applications on mobile devices
EP4007374A1 (en) Information processing method and apparatus, communication device and storage medium
US20170034149A1 (en) Intelligent Communications Method, Terminal, and System
CN109088799B (en) Client access method, device, terminal and storage medium
CN107567017B (en) Wireless connection system, device and method
WO2014086222A1 (en) Method and apparatus for setting video call parameters and sending capability parameters
CN112398718A (en) Network transmission method and device, electronic equipment and storage medium
WO2018032953A1 (en) Windows window sharing method, gateway server, system, storage media
WO2020044092A9 (en) Data transmission method and apparatus thereof
CN115150113A (en) Method for accessing intranet application and related equipment
CN109451497B (en) Wireless network connection method and device, electronic equipment and storage medium
WO2014089968A1 (en) Virtual machine system data encryption method and device
CN114301967B (en) Control method, device and equipment for narrowband Internet of things
CN111953742A (en) Page redirection method, terminal equipment, intermediate equipment and server
CN108616494B (en) Safe call method, device and terminal based on multiple PDN connections
WO2019015039A1 (en) Internet of things repeater-based method and apparatus for selective encryption
CN113315748B (en) Communication method and device
WO2019019287A1 (en) Random encryption method and apparatus for internet of things terminal data
CN117528512A (en) Communication authentication method and related equipment
CN117596579A (en) Communication method, device and system based on web instant messaging WebRTC

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210223