CN108347357B - Data communication method, application client, acceleration node server and system - Google Patents

Data communication method, application client, acceleration node server and system Download PDF

Info

Publication number
CN108347357B
CN108347357B CN201710060368.0A CN201710060368A CN108347357B CN 108347357 B CN108347357 B CN 108347357B CN 201710060368 A CN201710060368 A CN 201710060368A CN 108347357 B CN108347357 B CN 108347357B
Authority
CN
China
Prior art keywords
network
acceleration
application client
link
acceleration link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710060368.0A
Other languages
Chinese (zh)
Other versions
CN108347357A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710060368.0A priority Critical patent/CN108347357B/en
Publication of CN108347357A publication Critical patent/CN108347357A/en
Application granted granted Critical
Publication of CN108347357B publication Critical patent/CN108347357B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a data communication method, an application client, an acceleration node server and a system, wherein the method comprises the following steps: an application client accesses a first network; connecting an acceleration link through the first network, wherein the acceleration link is in a corresponding relation with the user identifier of the application client; detecting a network parameter of the first network, wherein the network parameter is used for representing network stability; judging whether the stability of the first network meets a preset stability requirement or not according to the network parameters; if the stability of the first network does not meet the preset stability requirement, switching to access a second network; and according to the user identification, keeping connection with the acceleration link through the second network. The embodiment of the invention can realize the seamless switching of the client access network under the condition of keeping the originally distributed acceleration link unchanged, and ensure the transmission rate of the application data after the data acceleration service is used.

Description

Data communication method, application client, acceleration node server and system
Technical Field
The invention relates to the technical field of communication, in particular to a data communication method, an application client, an acceleration node server and a system.
Background
When a user uses applications such as games and videos, application data needs to be interacted with an application server through a corresponding application client; in order to shorten the transmission delay of the application data between the application client and the application server, the application client can use a data acceleration service, namely, the application client can be connected with the application server through an acceleration link, and the application data between the application client and the application server is transmitted through the acceleration link, so that the transmission rate of the application data is improved. For example, when the game acceleration service is used, the game client may be connected to the game server through the game acceleration link, and the game acceleration link transmits game data between the game client and the game server, thereby improving the smoothness of the game.
The data acceleration service is used, so that the transmission rate of the application data can be improved when the delay of the current access network of the application client is high. The service quality of the data acceleration service is mainly determined by the communication quality of an acceleration link and the stability of the current access network of an application client; that is, when the communication quality of the acceleration link is high and the transmission of the application data can be accelerated, if the stability of the application client currently accessing the network is poor (the poor stability of the network may be caused by network fluctuation or the position movement of the application client, etc.), even if the application client uses the data acceleration service, the transmission rate of the application data is not ideal; therefore, how to guarantee the transmission rate of the application data when the stability of the current access network of the application client is poor becomes a problem to be considered by those skilled in the art.
Disclosure of Invention
In view of this, embodiments of the present invention provide a data communication method, an application client, an acceleration node server, and a system, so as to guarantee a transmission rate of application data when the stability of the current access network of the application client is poor.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a data communication method is applied to an application client, and comprises the following steps:
accessing a first network;
connecting an acceleration link through the first network, wherein the acceleration link is in a corresponding relation with the user identifier of the application client;
detecting a network parameter of the first network, wherein the network parameter is used for representing network stability;
judging whether the stability of the first network meets a preset stability requirement or not according to the network parameters;
if the stability of the first network does not meet the preset stability requirement, switching to access a second network, wherein the first network and the second network are different accessible networks of the application client;
and according to the user identification, keeping connection with the acceleration link through the second network.
The embodiment of the invention also provides a data communication method which is applied to the acceleration node server and comprises the following steps:
receiving notification information, wherein the notification information indicates a corresponding relation between an acceleration link distributed for an application client and a user identifier of the application client;
transmitting application data of the application client and the application server through the acceleration link;
after the application client is switched from a first network to a second network, receiving application data sent by the application client through the second network, wherein the application data carries the user identification;
and according to the corresponding relation, after the user identification is verified to correspond to the acceleration link, the application data received through the second network is transmitted through the acceleration link.
An embodiment of the present invention further provides an application client, including:
the first network access module is used for accessing a first network;
the first connection module is used for connecting an acceleration link through the first network, and the acceleration link is in a corresponding relation with the user identifier of the application client;
the network parameter detection module is used for detecting network parameters of the first network, and the network parameters are used for representing the stability of the network;
the judging module is used for judging whether the stability of the first network meets the preset stability requirement or not according to the network parameters;
the second network access module is used for switching to access a second network if the stability of the first network does not meet the preset stability requirement, wherein the first network and the second network are different accessible networks of the application client;
and the second connection module is used for keeping connection with the acceleration link through the second network according to the user identification.
An embodiment of the present invention further provides an acceleration node server, including:
a notification receiving module, configured to receive notification information indicating a correspondence between an acceleration link allocated to an application client and a user identifier of the application client;
the first transmission module is used for transmitting the application data of the application client and the application server through the acceleration link;
the data receiving module is used for receiving application data sent by the application client through a second network after the application client is switched from a first network to the second network, and the application data carries the user identification;
and the second transmission module is used for maintaining the application data transmitted through the acceleration link and received through a second network after verifying that the user identification corresponds to the acceleration link according to the corresponding relation.
An embodiment of the present invention further provides a data communication system, including: the system comprises an application client, a central control server and an acceleration link, wherein the acceleration link is composed of a plurality of acceleration node servers and is an application server;
the application client is used for accessing a first network; connecting the acceleration link through the first network, wherein the acceleration link is in a corresponding relation with the user identifier of the application client; detecting a network parameter of the first network, wherein the network parameter is used for representing network stability; judging whether the stability of the first network meets a preset stability requirement or not according to the network parameters; if the stability of the first network does not meet the preset stability requirement, switching to access a second network, wherein the first network and the second network are different accessible networks of the application client; according to the user identification, the acceleration link is kept connected through the second network;
the central control server is used for managing each acceleration node server, distributing an acceleration link for the application client when the application client requests the acceleration link, establishing a corresponding relation between the acceleration link and a user identifier of the application client, and notifying the acceleration node servers in the acceleration link of the corresponding relation;
the acceleration node server in the acceleration link is used for receiving notification information sent by the central control server, wherein the notification information indicates the corresponding relation between the acceleration link distributed for the application client and the user identifier of the application client; transmitting application data of the application client and the application server through the acceleration link; when the application client is switched from the first network to the second network, receiving application data sent by the application client through the second network, wherein the application data carries the user identification; and according to the corresponding relation, after the user identification is verified to correspond to the acceleration link, the application data received through the second network is transmitted through the acceleration link.
Based on the above technical solution, the data communication method provided in the embodiments of the present invention may detect a network parameter of a first network in a process that an application client connects an allocated acceleration link through the first network, and may switch to access a second network when it is determined that the stability of the first network does not meet a preset stability requirement according to the network parameter; after the application client is switched to access a second network, the application client can keep being connected with the acceleration link through the second network according to the user identification corresponding to the acceleration link; when the stability of the application client accessing the network is poor, the seamless switching of the client accessing the network is realized under the condition that the originally distributed acceleration link is kept unchanged, and the transmission rate of the application data after the data acceleration service is used is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a block diagram of a data communication system according to an embodiment of the present invention;
fig. 2 is a signaling flow chart of a data communication method according to an embodiment of the present invention;
fig. 3 is a schematic view of a communication process for an application client to switch from a first network to a second network;
fig. 4 is another signaling flow diagram of a data communication method according to an embodiment of the present invention;
fig. 5 is a flowchart of a data communication method according to an embodiment of the present invention;
fig. 6 is another flowchart of a data communication method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an application of a game scenario provided in an embodiment of the present invention;
fig. 8 is a block diagram of an application client according to an embodiment of the present invention;
fig. 9 is another block diagram of an application client according to an embodiment of the present invention;
fig. 10 is a block diagram of an acceleration node server according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a block diagram of a data communication system according to an embodiment of the present invention, the data communication system shows an alternative system architecture in which an application client connects to an application server using an acceleration link, and referring to fig. 1, the data communication system may include: the system comprises an application client 10, an acceleration node server 20, a central control server 30, a gateway 40 and an application server 50.
The application client 10 can be loaded on user equipment such as a smart phone, a tablet computer, a notebook computer and the like, and provides local services for applications such as games and videos; such as application client 10 may be a game client.
A plurality of acceleration node servers 20 may form an acceleration link connecting the application client and the application server (specifically, the gateway 40 connected to the application server); optionally, an acceleration node server, such as a udp (User data Protocol) server, may be used to transmit an udp packet;
the initial acceleration node server of the acceleration link is generally the acceleration node server closest to the application client, and an acceleration link with the communication quality meeting the acceleration requirement to the application server can be determined from the initial acceleration node server; the acceleration node link may include: a starting acceleration node server connected with the application client, a tail acceleration node server connected with the application server (specifically, a gateway connected with the application server), and at least one intermediate acceleration node server between the starting acceleration node server and the tail acceleration node server;
as shown in fig. 1, an acceleration link from the acceleration node server J1 to the acceleration node server JN is an acceleration link connecting an application client and an application server when the application client uses a data acceleration service; the acceleration node server J1 is a starting acceleration node server connected to the application client, the acceleration node server JN is a last acceleration node server connected to the gateway, and the acceleration link further has a plurality of intermediate acceleration node servers connected to the acceleration node server JN by the acceleration node server J1;
optionally, the acceleration link here is composed of an acceleration node server J1 to an acceleration node server JN, which is only an optional illustration for convenience of description, and it is obvious that other acceleration node servers not in the acceleration link may be included in the system;
optionally, the acceleration link with the communication quality meeting the acceleration requirement may be an acceleration link with the highest communication quality selected from the initial acceleration node server, such as an acceleration link with the shortest communication time consumption or the highest communication stability.
The central control server 30 may be configured to manage an acceleration node server, and when the application client requests a data acceleration service, allocate an acceleration link with a communication quality meeting an acceleration requirement to the application client, so that the application client uses the acceleration link to interact with the application server to obtain application data;
specifically, each acceleration node server can calculate the communication quality (such as communication time consumption) with other acceleration node servers capable of communicating in real time or at regular time, and report the communication quality to the central control server, and the central control server can record the communication quality between the acceleration node servers and update the optimal acceleration path of each acceleration node server in real time or at regular time; when the application client requests the data acceleration service from the central control server, the central control server can select an initial acceleration node server closest to the application client according to the position of the application client, determine an acceleration link (such as the acceleration link with the shortest communication time consumption) which connects the application client and the application server and enables the communication quality of the application client and the application server to meet the acceleration requirement from the initial acceleration node server according to the communication quality between the acceleration node servers, and allocate the acceleration link to the application client for use;
optionally, taking the communication quality as the communication time consumption as an example, the communication time consumption between one acceleration node server and another acceleration node server may be implemented by sending a communication detection packet to another acceleration node server by one acceleration node server; the communication detection packet can be added with sending time, the acceleration node servers receiving the communication detection packet can determine the communication time consumption between the two acceleration node servers by calculating the time consumption of the receiving time and the sending time; obviously, the communication quality is not limited to the time consumption of communication, and other types of communication quality detection between the node servers can be accelerated and can be determined by corresponding detection modes.
The gateway 40 is an internetwork connector of the application server 50, and may be optionally a unified gateway.
The application server 50 may be a service device that provides network services for applications such as games and videos, and may be implemented by a server group including a plurality of servers or may be implemented by an independent server; optionally, an application server such as a game server.
In the embodiment of the present invention, the network to which the application client currently accesses may be a wifi (Wireless Fidelity) network, and may also be a mobile data network (e.g., a mobile data network such as 4G or 3G); the inventor of the present invention finds that, when the stability of the current access network of the application client is poor (for example, the network of the current access network of the application client fluctuates), the data acceleration effect of the application client using the data acceleration service is rather poor, and the transmission rate of the application data may not rise or fall, and the specific reason may be found through the analysis of the inventor:
whether the current application client uses the data acceleration service or not is judged by a corresponding acceleration judgment strategy, namely the application client judges whether the data acceleration service is used or not by acquiring parameters such as delay of the current access network; when the stability of the current access network of the application client is poor due to network fluctuation of the current access network of the application client or position movement of the application client, the application client can repeatedly execute an acceleration judgment strategy, so that the application client can switch back and forth between using data acceleration service and not using the data acceleration service, the application client uses the data acceleration service, the transmission rate of application data is reduced, and the pause phenomenon of playing video, games and other data by the application client is increased.
The data acceleration service effect caused by the above situation is not ideal, but is caused by the poor stability of the access network of the client, and not caused by the communication quality problem of the acceleration link or the communication problem of the application server; however, the inertia of the user considers that the data acceleration service is used, which should bring a good data acceleration effect, when the effect of the data acceleration service is not ideal, the user often considers the problem of the application server or the acceleration link, which leads to an increase in the complaint amount of the application service and affects the user retention of the application.
Based on this, the embodiment of the present invention may analyze an accessible network of the application client (generally, an accessible network of the user equipment loaded by the application client), and when the application client uses an accessible network and connects an acceleration link, if the stability of the network is poor, the application client switches to another accessible network and connects the original acceleration link, and under the condition that the acceleration link is not changed, the application client realizes seamless switching between different accessible networks, thereby ensuring the data acceleration effect of the application client using the data acceleration service. Optionally, the accessible network of the application client may be a wireless network, such as a wifi network, a mobile data network such as 4G, 3G, and the like.
With reference to the system shown in fig. 1, fig. 2 shows a signaling flow chart of a data communication method provided by an embodiment of the present invention, and referring to fig. 2, the flow may include:
and step S10, the application client accesses the first network.
The first network may be one of the accessible networks of the application client, such as an accessible network of the application client may include: wifi network, 4G, 3G and other mobile data networks.
Optionally, the application client may access the first network when starting; it is also possible that the user equipment loaded by the application client starts the application client in case of accessing the first network.
Step S11, the application client sends information requesting to allocate an acceleration link to a central control server, where the information at least includes a user identifier of the application client.
After the application client accesses the first network, the application client can actively use the data acceleration service or use the data acceleration service based on the user operation request; specifically, the application client may send information requesting allocation of an acceleration link to the central control server, where the sent request information may include: a user identification of the application client; the user identifier may be an application account of the user (e.g., a character account assigned when the user registers for the application, or possibly a mobile phone number of the user directly).
Step S12, the central control server allocates an acceleration link to the application client, and corresponds the acceleration link to the user identifier.
Optionally, the central control server may select an initial acceleration node server closest to the application client according to the current location of the application client, and determine an acceleration link from the initial acceleration node server, where the communication quality connecting the application client and the application server meets the acceleration requirement, according to the communication quality between the acceleration node servers, to obtain an acceleration link allocated to the application client; correspondingly, the information for requesting allocation of the acceleration link sent by the application client may further include current location information of the application client.
Optionally, after the central control server allocates the acceleration link to the application client, the acceleration link may be simultaneously corresponding to the user identifier. Optionally, the acceleration link may be formed by a plurality of acceleration node servers, and in the embodiment of the present invention, the acceleration link may be implemented to correspond to the user identifier by recording a correspondence between an identifier of the acceleration node server included in the acceleration link and the user identifier.
Step S13, the central control server sends notification information indicating the allocated acceleration link to the application client.
Step S14, the application client records the corresponding relationship between the acceleration link and the user identifier.
Correspondingly, the application client can obtain the notification information indicating the allocated acceleration link, record the corresponding relation between the acceleration link and the user identifier, and realize the determination of the allocated acceleration link.
Optionally, steps S11 to S14 show a process in which, after the client accesses the first network, the client requests the central control server for an acceleration link, obtains an assigned acceleration link, and records a correspondence between the acceleration link and the user identifier.
Step S15, the application client connects to the acceleration link through the first network, so as to connect to the service server through the acceleration link.
The connection between the application client and the acceleration link (specifically, the connection between the application client and the initial acceleration node server in the acceleration link) can be realized through a first network; the connection between the acceleration link and the service server can be realized through the erected special line.
Optionally, steps S10 to S15 show a process of accessing the first network, determining an acceleration link, and connecting the acceleration link through the first network when the application client is initially started, where the acceleration link has a corresponding relationship with the user identifier of the application client.
Step S16, the application client detects a network parameter of the first network, where the network parameter is used to characterize network stability.
Optionally, the application client may detect the network parameter of the first network periodically or in real time.
And step S17, the application client judges whether the stability of the first network meets the preset stability requirement according to the network parameters, if not, the step S18 is executed, and if so, the step S16 is returned.
Because of the fluctuation of the first network and the movement of the position of the application client, the first network is possibly unstable, the stability of the connection between the application client and the acceleration link is influenced, and the transmission rate of the application data is not ideal; therefore, after the application client connects to the acceleration link through the first network and uses the data acceleration service, the application client needs to detect a network parameter of the first network, such as network signal strength, which can be used to characterize network stability;
the application client side can judge whether the stability of the first network meets the preset stability requirement or not based on the detected network parameters of the first network so as to determine whether the network needs to be switched or not; if the stability of the first network represented by the detected network parameters does not meet the preset stability requirement, determining that the network needs to be switched, and executing step S18; and if the stability of the first network represented by the detected network parameters meets the preset stability requirement, determining that the network does not need to be switched, maintaining the acceleration link connected through the first network, returning to the step S16, and continuously detecting the network parameters of the first network.
Specifically, the network parameter may be network signal strength, and the embodiment of the present invention may set a network signal strength threshold, where the network signal strength threshold may be a threshold for network stability and network instability, and the network signal strength thresholds corresponding to different network types may be different;
taking the network signal intensity threshold of the first network as the predetermined network signal intensity threshold as an example, if the network signal intensity of the first network detected by the client is greater than the predetermined network signal intensity threshold, the stability of the first network is considered to be stronger, the preset stability requirement is met, the access to the first network can be maintained, and the step S16 is returned; if the network signal strength of the first network detected by the client is smaller than the preset network signal strength threshold, the stability of the first network is considered to be poor and not meet the preset stability requirement, the network can be switched, and the step S18 is executed;
obviously, besides characterizing the network stability by the network parameter of the network signal strength, the embodiments of the present invention may also characterize the network stability by other forms of network parameters, and the network signal strength is only one alternative form that can characterize the network stability.
And step S18, the application client switches to access the second network.
The second network may be a different network of the accessible networks of the application clients than the first network; if the first network can be a wifi network, the second network can be a mobile data network such as 4G and 3G; also for example, the first network may be a mobile data network and the second network may be a wifi network; as another example, the first network may be a 4G mobile data network, and the second network may be a 3G mobile data network, that is, the first network and the second network may both be mobile data networks but belong to different types of mobile data networks; alternatively, the specific form of the first network and the second network may be set according to actual situations, and this paragraph is merely an example.
And step S19, the application client maintains the connection with the acceleration link through the second network according to the user identifier.
After the application client is switched to access the second network from the first network, in order to ensure that the application client does not drop and does not need to establish connection with the service server again, the application client can keep connecting the acceleration link with the user identifier through the second network according to the recorded corresponding relation between the acceleration link distributed by the central control server and the user identifier, and realize seamless switching of the access network between the first network and the second network under the condition of keeping the originally distributed acceleration link unchanged.
Optionally, after allocating an acceleration link to the application client and corresponding the acceleration link to the user identifier, the central control server may notify an acceleration node server (e.g., an initial acceleration node server) in the acceleration link of the correspondence relationship between the acceleration link and the user identifier;
after the application client switches the access network, the application client can send application data to the acceleration link through the switched access network and carry the user identification of the application client; after the acceleration node server (such as an initial acceleration node server) in the acceleration link verifies that the user identifier corresponds to the acceleration link allocated by the central control server, the application data can be transmitted to the application server through the original acceleration link under the condition that the application client is switched to access the network, after the application client is switched to access the network, the application server can still be connected by using the originally allocated acceleration link, the application data is transmitted between the application client and the application server through the originally allocated acceleration link, the phenomenon that the application server needs to be reconnected after the application client is switched to access the network is avoided, the transmission rate of the application data is guaranteed, and the application data processing smoothness of the application client is guaranteed.
As shown in fig. 3, after obtaining the acceleration link allocated by the central control server, the application client may record the correspondence between the acceleration link and the user identifier, and connect the acceleration link through the first network; meanwhile, the acceleration node server in the acceleration link can also store the corresponding relation; when the application client is switched to a second network due to poor stability of the first network, the application client can send application data carrying the user identifier to an acceleration node server (such as an initial acceleration node server) in an acceleration link through the second network; after the acceleration node server verifies that the user identifier corresponds to the acceleration link distributed by the central control server, the acceleration link distributed by the central control server can transmit application data to the service server, and simultaneously, the application data of the service server is transmitted to the application client through the acceleration link; after the application client is switched to access the network, the phenomenon of reconnection of the application server is avoided.
Optionally, an acceleration node server (e.g., an initial acceleration node server) in the acceleration link may maintain the correspondence between the acceleration link allocated by the central control server and the user identifier of the client after the application client disconnects from the acceleration node server (e.g., disconnects during network switching), and is valid within a set time; the set time may cover the time for switching the network by the client, but should not be greater than a predetermined time threshold, where the predetermined time threshold may represent the corresponding time when the user stops using the application client (i.e., the user stops using the application such as the game and the video), and the specific value of the set time may be set according to the actual situation.
It can be seen that, in the data communication method provided in the embodiment of the present invention, after the application client determines the acceleration link allocated by the central control server, the corresponding relationship between the acceleration link and the user identifier of the application client is recorded, and the acceleration link is connected through the first network to connect the service server through the acceleration link, so as to achieve the purpose of transmitting the service data between the application client and the application server through the acceleration link; meanwhile, the application client can detect the network parameters of the first network in the process of connecting the acceleration link through the first network, and judge whether the stability of the first network meets the preset stability requirement or not according to the network parameters, so that the application client can be switched to access the second network when the stability of the first network does not meet the preset stability requirement; after the application client is switched to access the second network, the application client can keep being connected with the acceleration link through the second network according to the user identification, when the stability of the application client accessing the network is poor, the originally distributed acceleration link is kept unchanged, the seamless switching of the client accessing the network is realized, the client can be connected with the application server through the switched network by the originally distributed acceleration link, the transmission rate of application data is guaranteed, and the data acceleration effect of data acceleration service is guaranteed.
Optionally, there may be a plurality of accessible networks of the application client, and in the process of switching to access the second network, the application client may estimate the stability of each accessible network except the first network, and select the second network with the highest stability from the accessible networks except the first network for switching to access;
optionally, the application client may estimate the stability of each accessible network except the first network on site, or may estimate the stability of each accessible network except the first network based on the historical network parameters of the accessible network of the application client.
Optionally, the second network may be a network different from the first network, which is preset from among the accessible networks of the application client.
Fig. 2 shows a process of switching to a second network to connect an original acceleration link when the first network has poor stability after the application client requests a data acceleration service with the first network; after the application client is switched to the second network and uses the data acceleration service of the original acceleration link, the application client can also continuously detect the stability of the first network so as to switch back to the first network when the stability of the first network is restored to the state meeting the preset stability requirement;
optionally, fig. 4 shows another signaling flow of the data communication method provided in the embodiment of the present invention, where the flow may include:
and step S20, the application client connects to the acceleration link through the second network to connect to the service server through the acceleration link.
Alternatively, the result of step S20 may be the result of performing the method shown in fig. 2; obviously, the application client may also enter a state of connecting the acceleration link through the second network through multiple network handovers while keeping the originally allocated acceleration link unchanged, that is, the result of step S20 may be the result of the application client having undergone multiple network handovers; it is worth noting that, when network switching is performed each time, the originally allocated acceleration link needs to be kept unchanged according to the user identifier.
And step S21, detecting the network parameters of the first network.
Optionally, after the handover access to the second network, the embodiment of the present invention may also continuously detect a network parameter of the first network, such as network signal strength.
And step S22, the application client judges whether the stability of the first network meets the preset stability requirement according to the network parameters, if not, the step S21 is returned, and if so, the step S23 is executed.
Optionally, if after the second network is switched and accessed, it is determined that the stability of the first network is restored to the state meeting the preset stability requirement according to the detected network parameter of the first network, the access network may be switched back to the first network, otherwise, the second network is maintained to be accessed until the stability of the first network is restored to the state meeting the preset stability requirement.
And step S23, the application client switches to access the first network.
And step S24, the application client maintains the connection to the acceleration link through the first network according to the user identifier.
The application client accesses the first network, determines the acceleration link and connects the acceleration link through the first network except for the initial start; it is also possible to connect an acceleration link via the first network after handover access from the second network to the first network, based on the subscriber identity.
After resuming to access the first network, the embodiment of the present invention may also execute steps S16 to S19 shown in fig. 2, and switch to access the second network when the stability of the first network does not meet the preset stability requirement; meanwhile, the method shown in fig. 4 can be executed after the switching access to the second network, and when the stability of the first network meets the preset stability requirement, the access to the first network is recovered, so that the circulation is performed, and therefore, under the condition that the originally distributed acceleration link is kept unchanged, seamless switching is performed between the first network and the second network according to the stability condition of the first network, and the transmission rate of application data after the data acceleration service is used is ensured.
Therefore, the embodiment of the invention can be accessed to the first network when the application client is started; it is also possible to handover access to the first network from the second network.
Optionally, taking the first network as a wifi network and the second network as a mobile data network (e.g., a 4G network, a 3G network, etc.) as an example, and standing at the perspective of the client, a flow of the data communication method provided in the embodiment of the present invention may be as shown in fig. 5, with reference to fig. 5, where the flow may include:
and S100, accessing the application client to the wifi network.
Step S110, the application client sends information for requesting to allocate an acceleration link to the central control server, wherein the information comprises the user identification of the application client and the current geographic position information.
Step S120, the application client acquires an acceleration link distributed by the central control server, wherein the acceleration link corresponds to the user identifier.
And S130, connecting the application client to the acceleration link through a wifi network.
Optionally, the application client may establish an acceleration link with the acceleration link through an acceleration protocol, so that the application data may be transmitted through an acceleration dedicated line.
And S140, detecting the wifi signal intensity of the wifi network by the application client.
Optionally, the application client may monitor wifi signal strength through the Connectivity Manager; the Connectivity Manager is one of the connection managers, and can realize real-time detection on wifi signal strength by embedding an acceleration SDK (software development kit) in an application client.
Step S150, the application client determines whether the wifi signal strength is greater than a predetermined network signal strength threshold, if so, step S140 is executed, and if not, step S160 is executed.
And step S160, the application client end calls up the mobile data network and switches to access the mobile data network.
Optionally, in the embodiment of the present invention, the Mobile Data network may be invoked by a set Mobile Data Enabled method of the Connectivity Manager; specifically, a service instance of the Connectivity Manager may be obtained first, then the set Mobile Data Enabled method is reflected according to the service instance, the set Mobile Data Enabled method is executed, the Mobile Data network is invoked, and the wifi network is switched to the current access network.
And step S170, the application client keeps connecting the acceleration link through a mobile data network according to the user identification.
And S180, detecting the wifi signal intensity of the wifi network.
Optionally, after the application client switches to access the mobile data network, the application client may continuously monitor the wifi signal strength of the wifi network, and the specific detection manner may be the same as that in step S140.
Step S190, the application client judges whether the wifi signal strength is larger than a preset network signal strength threshold value, if so, step S200 is executed, and if not, step S180 is executed;
s200, switching to access the wifi network, keeping connection with the acceleration link through the wifi network according to the user identification, and entering S140.
Optionally, when the wifi signal intensity of the wifi network is greater than a predetermined network signal intensity threshold value and the stability of the wifi network is recovered to meet a preset stability requirement, the application client may resume accessing the wifi network, otherwise, the connection with the mobile data network is maintained until the stability of the wifi network is recovered to meet the preset stability requirement;
specifically, the switching access to the Wifi network can be realized by acquiring a Wifi Service instance and then calling a set Wifi Enabled method, wherein the set Wifi Enabled method is used for calling the Wifi network.
After the application client side recovers to access the wifi network, the application client side can keep being connected with the allocated original acceleration link through the wifi network according to the user identification corresponding to the allocated original acceleration link; meanwhile, the application client can enter the step S140 to continuously detect the wifi signal intensity of the wifi network, and when the wifi signal intensity is smaller than the predetermined network signal intensity threshold value, the mobile data network is switched to access again, so that the circulation is realized, the seamless switching is performed between the wifi network and the mobile data network under the condition that the originally distributed acceleration link is not changed, and the transmission rate of the application data after the data acceleration service is used is ensured.
Optionally, in order to implement seamless switching access of the application client to the network under the condition that the original acceleration link is kept unchanged, an acceleration node server (such as an initial acceleration node server) in the acceleration link needs to record a corresponding relationship between an acceleration link allocated by the central control server and a user identifier of the application client, and when the application client switches the network, the application client maintains transmission of application data on the original acceleration link by verifying that the user identifier of the application client corresponds to the allocated acceleration link, so that the application client does not need to reconnect the application server after switching the network.
In terms of a node acceleration server (e.g., an initial node acceleration server), a data communication method provided by an embodiment of the present invention may be as shown in fig. 6, where fig. 6 is another flowchart of the data communication method provided by an embodiment of the present invention, where the method may be applied to an acceleration node acceleration server of an acceleration link, and specifically, may be applied to an initial node acceleration server of an acceleration link, and referring to fig. 6, the process may include:
step S300, the acceleration node server receives notification information sent by the central control server, wherein the notification information indicates a corresponding relation between an acceleration link distributed for an application client and a user identifier of the application client.
Step S310, the acceleration node server transmits the application data of the application client and the application server through the acceleration link.
Step S320, after the application client is switched from the first network to the second network, the acceleration node server receives, through the second network, application data sent by the application client, where the application data carries the user identifier.
And step S330, the acceleration node server verifies that the user identification corresponds to an acceleration link according to the corresponding relation, and keeps transmitting application data through the acceleration link.
Optionally, the acceleration node server may maintain the correspondence between the acceleration link and the user identifier after detecting that the application client is disconnected, and is valid within a set time.
The data communication method provided by the embodiment of the invention can be applied to a game scene, and the game data can be transmitted between the game client and the game server by transmitting udp game data packets, and a specific application example can be shown in fig. 7, referring to fig. 7, the game client can access a wifi network and start a game, and simultaneously requests an acceleration link to the central control server;
the central control server can feed back the distributed acceleration link to the game client and corresponds the acceleration link to the user identification of the game client; meanwhile, the central control server informs a starting acceleration node server in the acceleration link of the corresponding relation between the acceleration link and the user identifier;
the game client determines an acceleration link distributed by the central control server and records the corresponding relation between the acceleration link and the user identifier;
the game client is connected with the initial acceleration node server through a wifi network and transmits a udp game data packet;
the initial acceleration node server transmits the udp game data packet to a gateway of the game server through the acceleration link;
the gateway transmits the udp game data packet to a game server;
meanwhile, the acceleration link can transmit udp game data packets sent by the game server to the game client;
after the game client is connected with the acceleration node server through the wifi network, the game client can detect the wifi signal intensity of the wifi network and switch to the mobile data network when the wifi signal intensity is smaller than a preset network signal intensity threshold value;
the game client transmits a udp game data packet to the initial acceleration node server through a mobile data network, and carries the user identifier;
the starting acceleration node server judges that the user identification corresponds to the allocated acceleration link, and transmits the udp game data packet to the game server by using the acceleration link, so that the phenomenon that the game client is reconnected with the game server is avoided, and the game pause phenomenon is reduced;
meanwhile, the game client can continuously detect the wifi signal intensity of the wifi network, and when the wifi signal intensity is greater than a preset network signal intensity threshold value, the wifi network is switched back, and the udp game data packet is continuously transmitted through the acceleration link; and when the wifi signal intensity is smaller than the preset network signal intensity threshold value, switching back to the mobile data network again, and continuously transmitting the udp game data packet by using the acceleration link, so as to circulate, and under the condition of keeping the original acceleration link unchanged, the application client seamlessly switches between the wifi network and the mobile data network according to the wifi signal intensity.
The data communication method provided by the embodiment of the invention can detect the network parameters of the first network in the process that the application client is connected with the distributed acceleration link through the first network, and can switch to access the second network when the stability of the first network is judged to be not in accordance with the preset stability requirement according to the network parameters; after the application client is switched to access a second network, the application client can keep being connected with the acceleration link through the second network according to the user identification corresponding to the acceleration link; when the stability of the application client accessing the network is poor, the seamless switching of the client accessing the network is realized under the condition of keeping the originally distributed acceleration link unchanged; meanwhile, after the second network is switched and accessed, the network parameters of the first network can be continuously detected, when the stability of the first network is judged to meet the preset stability requirement according to the network parameters, the first network is switched back, the acceleration link is kept connected through the first network according to the user identification, the original distributed acceleration link is kept unchanged, seamless switching is carried out between the first network and the second network according to the stability condition of the first network, and the transmission rate of application data is guaranteed after the data acceleration service is used.
The application client provided by the embodiment of the present invention is introduced below, and the application client described below may be referred to in correspondence with the data communication method described above; the application client described below may be considered as a functional module architecture that is required to be set by the application client to implement the data communication method provided by the embodiment of the present invention.
Fig. 8 is a block diagram of an application client according to an embodiment of the present invention, and referring to fig. 8, the application client may include:
a first network access module 100 for accessing a first network;
alternatively, the first network access module 100 may access the first network when the application client is started or when the second network is switched back to the first network, as described above.
A first connection module 110, configured to connect an acceleration link through the first network, where the acceleration link has a corresponding relationship with a user identifier of the application client;
optionally, the first connection module 110 may connect the acceleration link through the first network, where the application client requests the acceleration link after starting, and after determining the requested acceleration link and recording the corresponding relationship between the acceleration link and the user identifier, connects the requested acceleration link through the first network; or after the application client is switched back to the first network from the second network, the connection acceleration link may be maintained through the first network according to the user identifier by using the pre-recorded correspondence between the acceleration link and the user identifier.
A network parameter detecting module 120, configured to detect a network parameter of the first network, where the network parameter is used to characterize network stability;
a determining module 130, configured to determine whether the stability of the first network meets a preset stability requirement according to the network parameter;
a second network access module 140, configured to switch to a second network if the stability of the first network does not meet a preset stability requirement, where the first network and the second network are different accessible networks of the application client;
a second connection module 150, configured to maintain connection to the acceleration link through the second network according to the user identifier.
On one hand, optionally, after the application client is switched to the second network, when the stability of the first network is recovered to meet the preset stability requirement, the application client may recover to access the first network.
Optionally, the network parameter detecting module 120 is further configured to detect the network parameter of the first network after the second connection module keeps connecting to the acceleration link through the second network.
The determining module 130 is further configured to determine whether the stability of the first network meets a preset stability requirement according to the network parameter of the first network detected by the network parameter detecting module after the second connecting module keeps connecting to the acceleration link through the second network.
Correspondingly, as shown in fig. 9, on the basis of the application client shown in fig. 8, the application client shown in fig. 9 may further include:
a first determination result executing module 160, configured to trigger the first network access module to access the first network if the determination result of the determining module indicates that the stability of the first network meets a preset stability requirement after the second connection module keeps connecting to the acceleration link through the second network;
a second determination result executing module 170, configured to trigger the second connection module to keep connecting the acceleration link through the second network if the determination result of the determining module is that the stability of the first network does not meet the preset stability requirement after the second connection module keeps connecting the acceleration link through the second network.
Correspondingly, the first connection module 110 is configured to connect the acceleration link through the first network, and specifically includes:
and after the second network is switched to access the first network, the acceleration link is kept connected through the first network according to the user identification.
On the other hand, optionally, the application client may access the first network at initial startup; optionally, the first network access module 100, configured to access the first network specifically includes:
and starting an application client and accessing the first network.
Optionally, the first connection module 110 is configured to connect the acceleration link through the first network, and specifically includes:
sending information for requesting to allocate an acceleration link, wherein the information comprises the user identification;
acquiring notification information indicating the allocated acceleration link, and recording the corresponding relation between the acceleration link and the user identifier;
connecting the acceleration link through the first network.
Optionally, the network parameter detecting module 120 is configured to detect a network parameter of the first network, and specifically includes: detecting a network signal strength of the first network;
correspondingly, the determining module 130 is configured to determine whether the stability of the first network meets a preset stability requirement according to the network parameter, and specifically includes:
judging whether the network signal strength is greater than a preset network signal strength threshold value or not;
if the network signal strength is greater than the preset network signal strength threshold value, determining that the stability of the first network meets a preset stability requirement; and if the network signal strength is less than the preset network signal strength threshold value, determining that the stability of the first network does not meet the preset stability requirement.
Optionally, the second network access module 140 is configured to switch to access the second network, and specifically includes:
estimating the stability of each accessible network of the application client except the first network;
selecting a second network with highest stability from the accessible networks except the first network;
and switching to access the selected second network.
Optionally, an embodiment of the present invention further provides an acceleration node server, fig. 10 shows a structural block diagram of the acceleration node server, and referring to fig. 10, the acceleration node server may include:
a notification receiving module 200, configured to receive notification information, where the notification information indicates a correspondence between an acceleration link allocated to an application client and a user identifier of the application client;
a first transmission module 210, configured to transmit the application data of the application client and the application server through the acceleration link;
a data receiving module 220, configured to receive, through a second network, application data sent by an application client after the application client is switched from a first network to the second network, where the application data carries the user identifier;
a second transmission module 230, configured to verify that the user identifier corresponds to an acceleration link according to the correspondence, and maintain the application data transmitted through the acceleration link and received through the second network.
Optionally, as shown in fig. 10, the acceleration node server may further include:
and an effective maintaining module 240, configured to maintain, after detecting that the application client is disconnected, a corresponding relationship between the acceleration link and the user identifier, where the acceleration link is effective within a set time.
An embodiment of the present invention further provides a data communication system, where a structure of the data communication system may be as shown in fig. 1, and the data communication system includes: the system comprises an application client, a central control server and an acceleration link, wherein the acceleration link is composed of a plurality of acceleration node servers and is an application server; the acceleration link can be connected with the application server through a gateway connected with the application server;
in the embodiment of the present invention, the application client is configured to access a first network; connecting the acceleration link through the first network, wherein the acceleration link is in a corresponding relation with the user identifier of the application client; detecting a network parameter of the first network, wherein the network parameter is used for representing network stability; judging whether the stability of the first network meets a preset stability requirement or not according to the network parameters; if the stability of the first network does not meet the preset stability requirement, switching to access a second network, wherein the first network and the second network are different accessible networks of the application client; according to the user identification, the acceleration link is kept connected through the second network;
the central control server is used for managing each acceleration node server, distributing an acceleration link for the application client when the application client requests the acceleration link, establishing a corresponding relation between the acceleration link and a user identifier of the application client, and notifying the corresponding relation to the acceleration node server (such as an initial acceleration node server) in the acceleration link;
an acceleration node server (such as an initial acceleration node server) in the acceleration link, configured to receive notification information sent by the central control server, where the notification information indicates a correspondence between an acceleration link allocated to an application client and a user identifier of the application client; transmitting application data of the application client and the application server through the acceleration link; when the application client is switched from the first network to the second network, receiving application data sent by the application client through the second network, wherein the application data carries the user identification; and according to the corresponding relation, verifying that the user identification corresponds to an acceleration link, and maintaining the application data transmitted through the acceleration link and received through a second network.
In one aspect, the application client is further configured to detect a network parameter of the first network after maintaining the connection with the acceleration link through the second network; judging whether the stability of the first network meets a preset stability requirement or not according to the network parameters; if the stability of the first network meets the preset stability requirement, the first network is recovered to be accessed; and if the stability of the first network does not meet the preset stability requirement, keeping the acceleration link connected through the second network.
Correspondingly, the application client is configured to connect the acceleration link through the first network, and specifically includes:
and after the second network is switched to access the first network, the acceleration link is kept connected through the first network according to the user identification.
Correspondingly, the acceleration node server in the acceleration link is further configured to determine that the user identifier of the application client corresponds to the allocated acceleration link according to the correspondence when the application client switches from the second network to the first network, and maintain the application data transmitted through the acceleration link and received through the first network.
On the other hand, the application client is configured to access a first network, and specifically includes:
and starting an application client and accessing the first network.
Correspondingly, the application client is configured to connect an acceleration link through the first network, and specifically includes:
sending information for requesting to allocate an acceleration link to the central control server, wherein the information comprises the user identification;
acquiring notification information which is sent by the central control server and indicates the distributed acceleration link, and recording the corresponding relation between the acceleration link and the user identifier;
connecting the acceleration link through the first network.
The embodiment of the invention can carry out seamless switching between the first network and the second network under the condition of keeping the originally distributed acceleration link unchanged and according to the stability condition of the first network, thereby ensuring the transmission rate of the application data after using the data acceleration service.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (16)

1. A data communication method applied to an application client, the method comprising:
accessing a first network;
connecting an acceleration link through the first network, wherein the acceleration link is in a corresponding relation with the user identifier of the application client;
detecting a network parameter of the first network, wherein the network parameter is used for representing network stability;
judging whether the stability of the first network meets a preset stability requirement or not according to the network parameters;
if the stability of the first network does not meet the preset stability requirement, switching to access a second network, wherein the first network and the second network are different accessible networks of the application client;
and according to the user identification, keeping connection with the acceleration link through the second network.
2. The data communication method of claim 1, wherein the method further comprises:
detecting a network parameter of the first network after maintaining the connection to the acceleration link through the second network;
judging whether the stability of the first network meets a preset stability requirement or not according to the network parameters;
if the stability of the first network meets the preset stability requirement, executing the step of accessing the first network;
and if the stability of the first network does not meet the preset stability requirement, keeping the acceleration link connected through the second network.
3. The data communication method of claim 2, wherein said connecting an acceleration link through said first network comprises:
and after the second network is switched to access the first network, the acceleration link is kept connected through the first network according to the user identification.
4. The data communication method of claim 1, wherein the accessing the first network comprises:
starting an application client and accessing the first network;
the accelerating link connected through the first network comprises:
sending information for requesting to allocate an acceleration link, wherein the information comprises the user identification;
acquiring notification information indicating the allocated acceleration link, and recording the corresponding relation between the acceleration link and the user identifier;
connecting the acceleration link through the first network.
5. The data communication method of claim 1, wherein the handing over to access the second network comprises:
estimating the stability of each accessible network of the application client except the first network;
selecting a second network with highest stability from the accessible networks except the first network;
and switching to access the selected second network.
6. The data communication method according to claim 1 or 2, wherein the detecting the network parameter of the first network comprises:
detecting a network signal strength of the first network;
the judging whether the stability of the first network meets the preset stability requirement according to the network parameters comprises:
judging whether the network signal strength is greater than a preset network signal strength threshold value or not;
if the network signal strength is greater than the preset network signal strength threshold value, determining that the stability of the first network meets a preset stability requirement; and if the network signal strength is less than the preset network signal strength threshold value, determining that the stability of the first network does not meet the preset stability requirement.
7. A data communication method applied to an acceleration node server, the method comprising:
receiving notification information, wherein the notification information indicates a corresponding relation between an acceleration link distributed for an application client and a user identifier of the application client;
transmitting application data of the application client and the application server through the acceleration link;
after the application client is switched from a first network to a second network, receiving application data sent by the application client through the second network, wherein the application data carries the user identification;
and according to the corresponding relation, after the user identification is verified to correspond to the acceleration link, the application data received through the second network is transmitted through the acceleration link.
8. The data communication method of claim 7, wherein the method further comprises:
and after detecting that the application client is disconnected, maintaining the corresponding relation between the acceleration link and the user identifier, wherein the acceleration link is valid within a set time.
9. An application client, comprising:
the first network access module is used for accessing a first network;
the first connection module is used for connecting an acceleration link through the first network, and the acceleration link is in a corresponding relation with the user identifier of the application client;
the network parameter detection module is used for detecting network parameters of the first network, and the network parameters are used for representing the stability of the network;
the judging module is used for judging whether the stability of the first network meets the preset stability requirement or not according to the network parameters;
the second network access module is used for switching to access a second network if the stability of the first network does not meet the preset stability requirement, wherein the first network and the second network are different accessible networks of the application client;
and the second connection module is used for keeping connection with the acceleration link through the second network according to the user identification.
10. The application client according to claim 9, wherein the network parameter detecting module is further configured to detect the network parameter of the first network after the second connection module keeps connecting to the acceleration link through the second network;
the judging module is further configured to judge whether the stability of the first network meets a preset stability requirement according to the network parameter of the first network detected by the network parameter detecting module after the second connecting module keeps connecting with the acceleration link through the second network;
the application client further comprises:
the first judgment result execution module is used for triggering the first network access module to access the first network if the judgment result of the judgment module is that the stability of the first network meets the preset stability requirement after the second connection module keeps connected with the acceleration link through the second network;
a second judgment result execution module, configured to trigger the second connection module to keep connecting the acceleration link through the second network if the judgment result of the judgment module indicates that the stability of the first network does not meet the preset stability requirement after the second connection module keeps connecting the acceleration link through the second network;
the first connection module is configured to connect an acceleration link through the first network, and specifically includes:
and after the second network is switched to access the first network, the acceleration link is kept connected through the first network according to the user identification.
11. The application client according to claim 9, wherein the first network access module is configured to access a first network, and specifically includes:
starting an application client and accessing the first network;
the first connection module is configured to connect an acceleration link through the first network, and specifically includes:
sending information for requesting to allocate an acceleration link, wherein the information comprises the user identification;
acquiring notification information indicating the allocated acceleration link, and recording the corresponding relation between the acceleration link and the user identifier;
connecting the acceleration link through the first network.
12. An acceleration node server, comprising:
a notification receiving module, configured to receive notification information indicating a correspondence between an acceleration link allocated to an application client and a user identifier of the application client;
the first transmission module is used for transmitting the application data of the application client and the application server through the acceleration link;
the data receiving module is used for receiving application data sent by the application client through a second network after the application client is switched from a first network to the second network, and the application data carries the user identification;
and the second transmission module is used for maintaining the application data transmitted through the acceleration link and received through a second network after verifying that the user identification corresponds to the acceleration link according to the corresponding relation.
13. The acceleration node server of claim 12, further comprising:
and the effective maintaining module is used for maintaining the corresponding relation between the acceleration link and the user identifier after detecting that the application client is disconnected, and is effective within the set time.
14. A data communication system, comprising: the system comprises an application client, a central control server and an acceleration link, wherein the acceleration link is composed of a plurality of acceleration node servers and is an application server;
the application client is used for accessing a first network; connecting the acceleration link through the first network, wherein the acceleration link is in a corresponding relation with the user identifier of the application client; detecting a network parameter of the first network, wherein the network parameter is used for representing network stability; judging whether the stability of the first network meets a preset stability requirement or not according to the network parameters; if the stability of the first network does not meet the preset stability requirement, switching to access a second network, wherein the first network and the second network are different accessible networks of the application client; according to the user identification, the acceleration link is kept connected through the second network;
the central control server is used for managing each acceleration node server, distributing an acceleration link for the application client when the application client requests the acceleration link, establishing a corresponding relation between the acceleration link and a user identifier of the application client, and notifying the acceleration node servers in the acceleration link of the corresponding relation;
the acceleration node server in the acceleration link is used for receiving notification information sent by the central control server, wherein the notification information indicates the corresponding relation between the acceleration link distributed for the application client and the user identifier of the application client; transmitting application data of the application client and the application server through the acceleration link; when the application client is switched from the first network to the second network, receiving application data sent by the application client through the second network, wherein the application data carries the user identification; and according to the corresponding relation, after the user identification is verified to correspond to the acceleration link, the application data received through the second network is transmitted through the acceleration link.
15. The data communication system of claim 14, wherein the application client is further configured to detect a network parameter of the first network after maintaining the connection to the acceleration link via the second network; judging whether the stability of the first network meets a preset stability requirement or not according to the network parameters; if the stability of the first network meets the preset stability requirement, the first network is recovered to be accessed; if the stability of the first network does not meet the preset stability requirement, the acceleration link is kept connected through the second network;
the application client is configured to connect the acceleration link through the first network, and specifically includes:
after the second network is switched to access the first network, the acceleration link is kept connected through the first network according to the user identification;
the acceleration node server in the acceleration link is further configured to, when the application client is switched from the second network to the first network, after determining that the user identifier of the application client corresponds to the allocated acceleration link according to the correspondence, maintain the application data transmitted through the acceleration link and received through the first network.
16. A computer-readable storage medium, in which a software module is stored, the software module being adapted to be executed by a processor to implement the data communication method according to any one of claims 1 to 6 or to implement the data communication method according to any one of claims 7 to 8.
CN201710060368.0A 2017-01-24 2017-01-24 Data communication method, application client, acceleration node server and system Active CN108347357B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710060368.0A CN108347357B (en) 2017-01-24 2017-01-24 Data communication method, application client, acceleration node server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710060368.0A CN108347357B (en) 2017-01-24 2017-01-24 Data communication method, application client, acceleration node server and system

Publications (2)

Publication Number Publication Date
CN108347357A CN108347357A (en) 2018-07-31
CN108347357B true CN108347357B (en) 2021-03-02

Family

ID=62962909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710060368.0A Active CN108347357B (en) 2017-01-24 2017-01-24 Data communication method, application client, acceleration node server and system

Country Status (1)

Country Link
CN (1) CN108347357B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587822B (en) * 2018-12-13 2021-06-18 网易(杭州)网络有限公司 Information transmission control method, information reception control device, and storage medium
CN110233937B (en) * 2019-07-30 2021-06-25 腾讯科技(深圳)有限公司 Data transmission method, device, equipment and storage medium
CN110809040B (en) * 2019-10-30 2022-04-29 四川速宝网络科技有限公司 Acceleration service providing system and method
CN110868459B (en) * 2019-11-01 2021-11-02 腾讯科技(深圳)有限公司 Data transmission method, device, terminal and storage medium
CN111265853B (en) * 2020-01-20 2023-10-17 咪咕互动娱乐有限公司 Game platform switching method, game platform switching device, server and storage medium
CN111586714B (en) * 2020-04-21 2021-07-20 珠海格力电器股份有限公司 Network port allocation method, device, electronic equipment and computer usable medium
CN111464448B (en) * 2020-06-17 2020-09-25 腾讯科技(深圳)有限公司 Data transmission method and device
CN112601176B (en) * 2020-12-07 2022-09-16 四川迅游网络科技股份有限公司 Acceleration method and system based on user terminal positioning information
CN116389342A (en) * 2022-09-08 2023-07-04 中电信数智科技有限公司 Non-invasive acceleration system and method
CN115913956A (en) * 2022-11-30 2023-04-04 网易(杭州)网络有限公司 Network acceleration method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719815A (en) * 2010-02-20 2010-06-02 朴君 Method for accelerating VPN multi-route network
CN103501507A (en) * 2013-09-05 2014-01-08 小米科技有限责任公司 Method and terminal for automatically switching over infinite signal
CN105188101A (en) * 2015-07-21 2015-12-23 努比亚技术有限公司 Network switching device and method
JP2016206697A (en) * 2015-04-15 2016-12-08 日本電信電話株式会社 Error control method of object detection apparatus, and error control program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719815A (en) * 2010-02-20 2010-06-02 朴君 Method for accelerating VPN multi-route network
CN103501507A (en) * 2013-09-05 2014-01-08 小米科技有限责任公司 Method and terminal for automatically switching over infinite signal
JP2016206697A (en) * 2015-04-15 2016-12-08 日本電信電話株式会社 Error control method of object detection apparatus, and error control program
CN105188101A (en) * 2015-07-21 2015-12-23 努比亚技术有限公司 Network switching device and method

Also Published As

Publication number Publication date
CN108347357A (en) 2018-07-31

Similar Documents

Publication Publication Date Title
CN108347357B (en) Data communication method, application client, acceleration node server and system
US10560877B2 (en) Method and system for managing wireless connectivity in a communication system
KR100950742B1 (en) Optimal load-based wireless session context transfer
EP1665855B1 (en) Seamless handover in heterogeneous network
US20110173330A1 (en) Method, system, and apparatus for reserving network resources
US8019349B2 (en) Telephone conversation resumption system, telephone conversation resumption program, telephone conversation resumption method, portable terminal and relay apparatus
US10212048B2 (en) Service offloading method, device, and system
KR102178348B1 (en) Network apparatus and edge service discovery method
US7519024B2 (en) Resource selection in a communication network
CN113206894A (en) DNS server discovery method and device, computer equipment and storage medium
CN110166406A (en) Manage method, system and the relevant device of media transmission access
EP1665854A1 (en) Context transfer for seamless handover
CN106792923B (en) Method and device for configuring QoS strategy
JP2009232182A (en) Mobile communication system, session continuation determination server, and session continuation method
US20230337041A1 (en) P-cscf registration and discovery mechanism
CN108834188B (en) Data switching method and system
CN109963311B (en) Network switching method, system, network switching equipment and storage medium
CN117640766A (en) CDN scheduling method, CDN scheduling system and storage medium
CN111836322B (en) Communication method, device, equipment and medium for sharing equipment
CN116846771A (en) Service operation method, device, terminal and readable storage medium
CN114158097A (en) Terminal continuous communication method, system and medium based on 5G base station switching
CN114615274B (en) Edge application access method and device and related equipment
CN117395709A (en) Network connection method, mobile terminal and storage medium
CN109302375A (en) Access the method and device of network protocol multi-media sub-system IMS system
US9893958B2 (en) Method and system for service assurance and capacity management using post dial delays

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant