CN116170447A - Data transmission method, system and storage medium based on edge node - Google Patents

Data transmission method, system and storage medium based on edge node Download PDF

Info

Publication number
CN116170447A
CN116170447A CN202310431690.5A CN202310431690A CN116170447A CN 116170447 A CN116170447 A CN 116170447A CN 202310431690 A CN202310431690 A CN 202310431690A CN 116170447 A CN116170447 A CN 116170447A
Authority
CN
China
Prior art keywords
edge node
network speed
preset
network
information
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.)
Granted
Application number
CN202310431690.5A
Other languages
Chinese (zh)
Other versions
CN116170447B (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.)
Hangzhou Feiqi Technology Co ltd
Original Assignee
Hangzhou Feiqi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Feiqi Technology Co ltd filed Critical Hangzhou Feiqi Technology Co ltd
Priority to CN202310431690.5A priority Critical patent/CN116170447B/en
Publication of CN116170447A publication Critical patent/CN116170447A/en
Application granted granted Critical
Publication of CN116170447B publication Critical patent/CN116170447B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/101Server selection for load balancing based on network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1031Controlling of the operation of servers by a load balancer, e.g. adding or removing servers that serve requests
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a data transmission method, a system and a storage medium based on an edge node, and relates to the technical field of data transmission. The method comprises the following steps: acquiring network request packet information of a user side and network address information of the user side; according to the network address information of the user terminal, determining an address range in which the corresponding user terminal falls, and extracting edge nodes in the corresponding address range; extracting network speed information of the edge node; based on the network speed information of the edge nodes, arranging the edge nodes according to the sequence from the big to the small of the network speed, and sequentially sending the edge nodes to a user side for display; acquiring edge node information selected by a user side; and sending the network request packet of the user side to the server side through the edge node selected by the user side. According to the invention, through the edge node acceleration technology, after a user selects the nearby optimal edge node, the network request packet is preferentially forwarded to the server at the network layer protocol layer, so that the low delay and network stability of network connection are ensured, and the user experience is improved.

Description

Data transmission method, system and storage medium based on edge node
Technical Field
The present invention relates to the field of data transmission, and more particularly, to a data transmission method, system and storage medium based on an edge node.
Background
With the improvement of the living standard of substances, entertainment activities are also continuously developed, wherein the development of games is more rapid, and global players play together. Players of current games are located throughout the world with some game servers and players being far apart, particularly in some less developed countries (generally with poor networks), with the possibility that the connected game servers may not be connected or are unstable, and the game experience is compromised.
Accordingly, there is a need for improvement in the art.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide a data transmission method, system and storage medium based on edge nodes, which can more effectively ensure low latency and network stability of network connection.
The first aspect of the present invention provides a data transmission method based on an edge node, including: acquiring network request packet information and network address information of a user side; determining an address range in which a corresponding user terminal falls according to network address information of the user terminal, and extracting edge nodes and network speed information thereof in the corresponding address range; based on the network speed information of the edge nodes, the edge nodes are arranged according to the sequence from the high network speed to the low network speed and sequentially sent to a user side for display; acquiring an edge node selected by a user side; and sending the network request packet of the user to the server through the edge node.
In this scheme, after extracting the network speed information of the edge node, it further includes: acquiring network speed information of an edge node in a preset first time range; obtaining average network speed information of the corresponding edge node in a preset first time range according to the network speed information of the edge node in the preset first time range; judging whether the average network speed is larger than a preset first network speed threshold value, if so, determining that the network speed of the corresponding edge node is qualified; if not, determining that the network speed of the corresponding edge node is unqualified and deleting the edge node with unqualified network speed.
In this scheme, after extracting the network speed information of the edge node, it further includes: acquiring network speed information of an edge node in a preset first time range; obtaining the slowest network speed of the corresponding edge node in a preset first time range according to the information; judging whether the slowest network speed is smaller than a preset second network speed threshold value, if so, determining that the network speed of the corresponding edge node is unqualified; if not, determining that the network speed of the corresponding edge node is qualified; and deleting the edge nodes with unqualified network speed.
In this scheme, still include: acquiring a cost value of an edge node; judging whether the cost value is smaller than a preset cost threshold value, if so, marking the edge node; and displaying the marked edge nodes according to a preset method.
In this scheme, after obtaining the edge node information selected by the user end, it further includes: acquiring connection numbers of an edge node selected by a user side and a server side; connecting the edge node selected by the user side with the server side according to the connection number; the connection number has uniqueness and timeliness.
In this scheme, still include: when the edge node selected by the user side is disconnected with the server side, acquiring the disconnection time; judging whether the time for disconnecting the connection is larger than a preset time threshold, if so, invalidating the corresponding connection number and triggering prompt information; and sending the prompt information of the failure of the connection number to the user side for display.
The second aspect of the present invention provides a data transmission system based on an edge node, comprising a memory and a processor, wherein the memory stores a data transmission method program based on the edge node, and the data transmission method program based on the edge node realizes the following steps when being executed by the processor: acquiring network request packet information of a user side and network address information of the user side; determining an address range in which a corresponding user terminal falls according to network address information of the user terminal, and extracting edge nodes and network speed information thereof in the corresponding address range; based on the network speed information of the edge nodes, arranging the edge nodes according to the sequence from the big to the small of the network speed, and sequentially sending the edge nodes to a user side for display; acquiring an edge node selected by a user side; and sending the network request packet of the user to the server through the edge node.
In this solution, the extracting the network speed information of the edge node further includes: acquiring network speed information of an edge node in a preset first time range; obtaining average network speed information of the corresponding edge node in a preset first time range according to the network speed information; judging whether the average network speed of the edge node in a preset first time range is larger than a preset first network speed threshold value, if so, determining that the network speed of the corresponding edge node is qualified; otherwise, determining that the network speed of the corresponding edge node is unqualified; and deleting the edge nodes with unqualified network speed.
In this solution, the extracting the network speed information of the edge node further includes: acquiring network speed information of an edge node in a preset first time range; obtaining the slowest network speed of the corresponding edge node in a preset first time range according to the network speed information; judging whether the slowest network speed of the edge node in a preset first time range is smaller than a preset second network speed threshold value, if so, determining that the network speed of the corresponding edge node is unqualified; otherwise, determining that the network speed of the corresponding edge node is qualified; and deleting the edge nodes with unqualified network speed.
In the scheme, the method also comprises the step of obtaining the cost value of the edge node; judging whether the cost value of the edge node is smaller than a preset cost threshold value, if so, marking the edge node; and displaying the marked edge nodes according to a preset method.
In this solution, after obtaining the edge node information selected by the user side, the method further includes: acquiring connection numbers of an edge node selected by a user side and a server side; connecting the edge node selected by the user side with the server side according to the connection number; the connection number has uniqueness and timeliness.
In the scheme, the method further comprises the step of obtaining disconnection time when the edge node selected by the user side is disconnected with the server side; judging whether the time of disconnection is greater than a preset time threshold, if so, invalidating the corresponding connection number and triggering prompt information; and sending the prompt information of the failure of the connection number to the user side for display.
A third aspect of the present invention provides a computer storage medium having stored therein an edge node based data transmission method program which, when executed by a processor, implements an edge node based data transmission method as described in any of the preceding claims.
The invention discloses a data transmission method, a system and a storage medium based on edge nodes, which are characterized in that after a user selects a nearby optimal edge node through an edge node acceleration technology, a network request packet is preferentially forwarded to a server at a network layer protocol layer, and low delay and network stability of network connection are ensured, so that the user experience is improved.
Drawings
Fig. 1 shows a flow chart of a method of edge node based data transmission according to the present invention;
FIG. 2 illustrates an edge node connection schematic;
fig. 3 shows a block diagram of an edge node based data transmission system of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.
Fig. 1 shows a flow chart of a data transmission method based on an edge node according to the invention.
As shown in fig. 1, the invention discloses a data transmission method based on edge nodes, which comprises the following steps: s102, acquiring network request packet information of a user side and network address information of the user side; s104, determining an address range which the corresponding user terminal falls into according to the network address information of the user terminal, and extracting edge nodes in the corresponding address range, wherein the edge nodes are network acceleration nodes; s106, extracting network speed information of the edge node; s108, arranging edge nodes according to the order of the network speed from high to low based on the network speed information of the S106, and sequentially sending the edge nodes to a user side for display; s110, acquiring an edge node selected by a user side; and S112, the edge node obtained in the S110 sends the network request packet of the user side to the server side.
It should be noted that, when the user logs in to the user terminal, an address range in which the corresponding user terminal falls is determined according to the network address information of the user, where if the address range is the unit of the province, the edge node server existing in the corresponding province is extracted. When a plurality of edge node servers exist, the plurality of edge node servers are sent to a user side for display according to the order of the network speed from high to low so that the user side can select from the preferred. The network speed is an average network speed within a preset first time range. When the user selects the edge node, the network request packet is forwarded to the server from the network layer protocol layer by the node server to complete the data transmission task.
According to the embodiment of the invention, after extracting the network speed information of the edge node, the method can further comprise the following steps: obtaining the network speed information of the edge node in a preset first time range, obtaining the average network speed information of the corresponding edge node in the preset first time range according to the network speed information, and judging whether the average network speed is larger than a preset first network speed threshold value. If yes, determining that the network speed of the corresponding edge node is qualified; otherwise, determining that the network speed is unqualified, and deleting the edge nodes with unqualified network speed.
It should be noted that the preset first time range is set as
Figure SMS_2
The net speed corresponding to any time point in the first time range is set as +.>
Figure SMS_4
Wherein->
Figure SMS_6
Representing any time point in the first time range, accumulating and summing the net speeds of all time points in the first time range, dividing the net speeds by the value of the first time range to obtain the average net speed +_in the corresponding first time range>
Figure SMS_3
The formula is
Figure SMS_5
. For example, the first net speed threshold is preset to +.>
Figure SMS_7
Then->
Figure SMS_8
When the network speed of the corresponding edge node is unqualified, the corresponding edge node is removed, and the network speed is not displayed at the user side; then->
Figure SMS_1
And when the network speed of the corresponding edge node is qualified.
According to an embodiment of the present invention, the extracting the network speed information of the edge node may further include the following steps: obtaining the network speed information of the edge node in a preset first time range, obtaining the slowest network speed of the corresponding edge node in the preset first time range according to the network speed information, and judging whether the slowest network speed is smaller than a preset second network speed threshold value. If yes, determining that the network speed of the corresponding edge node is unqualified; otherwise, determining that the network speed is qualified, and deleting the edge nodes with unqualified network speed.
It should be noted that, the slowest network speed of the edge node in the preset first time range is set as follows
Figure SMS_9
Setting the preset second net speed threshold value to +.>
Figure SMS_10
. Wherein when->
Figure SMS_11
When the network speed of the corresponding edge node is set to be unqualified, the fact that the interface of the user side is delayed possibly caused by the slowest network speed is indicated. The preset second network speed threshold is set by a person skilled in the art according to actual requirements.
According to an embodiment of the present invention, the method may further include the steps of: and judging whether the cost value of the edge node is smaller than a preset cost threshold value. If yes, marking the edge node, and displaying the marked edge node according to a preset method.
It should be noted that, after the edge nodes are ordered according to the network speed, the corresponding edge nodes are added with the fee items. For example, if the preset cost threshold is 20 yuan per hour, the edge nodes smaller than 20 yuan per hour are marked and displayed through a preset method, for example, the names and the cost of the corresponding edge nodes are marked and displayed in red fonts, so as to draw attention of a user side.
According to the embodiment of the invention, after the edge node information selected by the user side is obtained, the method can also comprise the step of obtaining the connection numbers of the edge node selected by the user side and the server side, and connecting the edge node selected by the user side and the server side according to the connection numbers, wherein the connection numbers have uniqueness and timeliness. Specifically, when the user side selects an edge node, connection numbers of the edge node and the server side are automatically generated, and the edge node selected by the user is tightly connected with the server through the corresponding connection numbers.
The connection number has uniqueness, i.e. one edge node corresponds to only one server. The connection number has timeliness, and the timeliness of the connection number is determined by the payment condition of the edge node by the user side. If the cost of the corresponding edge node is 20 yuan per hour, if the cost is 40 yuan, the timeliness of the corresponding edge node is only 2 hours.
According to the embodiment of the invention, the method can further comprise the step of obtaining the disconnection time when the edge node selected by the user side and the server side are disconnected, and judging whether the disconnection time is greater than a preset time threshold. If yes, the corresponding connection number is invalid, prompt information is triggered, and the prompt information of the invalid connection number is sent to the user side for display.
It should be noted that, when the network is interfered by external force and causes the edge node and the server selected by the user end to be disconnected accidentally, the corresponding disconnection time is recorded and the connection is automatically re-performed. If the preset time threshold is 1 minute, the corresponding connection number will fail when the time for recording disconnection is greater than 1 minute, the edge node and the server selected by the user terminal will not be automatically connected any more, and trigger a reconnection prompt, and the edge node is sent to the user terminal again for display, so that the user terminal can select.
According to the embodiment of the invention, the method can further comprise the steps of obtaining interface information of the user side, comparing and analyzing the interface information with preset interface information to obtain delay time of a corresponding interface, and judging whether the delay time is smaller than a preset second time threshold. If yes, the interface corresponding to the user terminal is normal; otherwise, triggering delay abnormality prompt information.
It should be noted that, when the interface of the user terminal is marked according to the generation time, when the corresponding interface is displayed on the user terminal, the playing time of the corresponding interface is determined, and the delay time of the corresponding interface is obtained by subtracting the generation time of the corresponding interface from the playing time of the interface of the user terminal. If the preset second time threshold is 0.1 second, the corresponding interface is normal when the delay time of the interface of the user side is less than 0.1 second; otherwise, marking the interface of the user terminal as abnormal and carrying out delayed abnormal prompt.
According to the embodiment of the invention, the method and the device can further comprise the step of acquiring task management record information when the interface delay of the user side is abnormal, and judging whether other applications affecting the interface delay of the user side exist on the basis of the task management record information when the interface delay of the user side is abnormal. If yes, triggering to close other application information, otherwise, recording delay time information of the corresponding interface. When delay abnormality occurs on the interface of the user terminal, determining whether other applications occupy the network speed of the edge node or not according to task management record information of the user terminal. If yes, displaying the corresponding application and prompting the user to close, otherwise, recording the delay time of the interface of the corresponding user side.
According to the embodiment of the invention, judging whether the time delay time of the interface of the user side is larger than a preset third time threshold or not can be further included. If yes, triggering to replace the edge node information, otherwise, recording the delay times of the corresponding interface, and judging whether the delay times or disconnection times of the interface of the user side in a preset fourth time range are larger than a preset time threshold.
If yes, triggering the replacement of the edge node prompt. The delay time of the interface of the user terminal is the delay time of the single interface of the user terminal, for example, the preset third time threshold is 20 seconds, when the delay time of the single interface of the user terminal is greater than 20 seconds, the edge node replacement prompt is triggered, and the edge node information is automatically displayed on the user terminal for the user to select. When the delay time of the single interface of the user side is smaller than or equal to a preset third time threshold, recording the interface delay once and recording the time point of the corresponding interface delay.
If the preset time threshold is set to 3 and the preset fourth time range is set to 3 minutes, the time of delay and the time of disconnection of the interface of the user terminal within 5 minutes are extracted, when the time of delay or the time of disconnection is greater than 3 times, the edge node replacement prompt is triggered, otherwise, the time of delay or the time of disconnection of the interface of the corresponding user terminal is indicated as an accidental event.
According to the embodiment of the invention, the method can further comprise the steps of obtaining the history edge node information selected by the user side, extracting the last edge node in the history edge node information, setting the corresponding edge node as a default node, and sending the default node to the user side for display.
It should be noted that, when the user enters the user terminal for the first time, the user terminal will keep the information of the edge node selected by the user terminal last time and set the corresponding edge node as the default node, and when the user terminal does not select other edge nodes, the default node is directly selected for connection.
As shown in fig. 2, an edge node connection schematic diagram is shown, and the whole area is divided according to a preset area size to obtain a plurality of sub-areas, such as an area a, an area B … area X, and the like. Meanwhile, the edge nodes in each area are ordered and numbered according to the network speed, for example, the edge node with the best network speed in the area A is set as A-1, and the edge node with the corresponding number A-1 is arranged at the first position in the area A; the edge node with the best network speed in the area B is set as B-1, and the edge node corresponding to the number B-1 is arranged first in the area B, and so on. The user terminal selects a suitable edge node according to the region where the user is located, for example, if the user terminal is in the region a, the corresponding user can select a suitable edge node in the region a, and connect with an optimal server in the cloud server through the corresponding edge node, wherein if the cloud service is numbered, the cloud service is divided into a server 1 and a server 2 … server N. For example, if the cloud server corresponding to the area a is the server 1, the optimal server corresponding to the edge node in the area a is the server 1, and then the data is shared to the whole cloud server through the server 1.
The invention also provides a data transmission system based on the edge node, as shown in fig. 3, the data transmission system 3 based on the edge node comprises a memory 31 and a processor 32, wherein the memory stores a data transmission method program based on the edge node, and the edge node is a network acceleration node. The method program when executed by a processor implements the steps of: acquiring network request packet information of a user side and network address information of the user side, determining an address range which corresponds to the user side and falls into according to the network address information of the user side, extracting edge nodes in the corresponding address range, extracting network speed information of the edge nodes, arranging the edge nodes according to the sequence from high network speed to low network speed based on the network speed information, sequentially sending the edge nodes to the user side for display, acquiring the edge nodes selected by the user side, and sending the network request packet of the user side to a server side through the edge nodes.
When a user logs in a user terminal, determining an address range which the corresponding user terminal falls into according to network address information, wherein if the address range is taken as a unit of a province, extracting edge node servers existing in the corresponding province, and when a plurality of edge node servers exist, sending the plurality of edge node servers to the user terminal for display according to the sequence from high to low of network speed, so that the user terminal is preferred. The network speed is an average network speed within a preset first time range. When the user selects the edge node, the network request packet is forwarded to the server from the network layer protocol layer by the node server to complete the data transmission task.
According to the embodiment of the invention, after the network speed information of the edge node is extracted, the method can further comprise the steps of obtaining the network speed information of the edge node in a preset first time range, obtaining the average network speed information of the corresponding edge node in the preset first time range according to the network speed information, and judging whether the average network speed of the edge node in the preset first time range is larger than a preset first network speed threshold value. If yes, determining that the network speed of the corresponding edge node is qualified, otherwise, determining that the network speed of the corresponding edge node is unqualified, and deleting the edge node with unqualified network speed.
Wherein the preset first time range is set as
Figure SMS_12
The net speed corresponding to any time point in the first time range is set as +.>
Figure SMS_13
Wherein->
Figure SMS_14
Representing any time point in the first time range, adding up the net speeds of all time points in the first time range, dividing the net speeds by the value of the first time range, and obtaining the average net speed +.>
Figure SMS_15
The formula is->
Figure SMS_16
For example, the first network speed threshold is preset to be
Figure SMS_17
Then->
Figure SMS_18
And when the network speed of the corresponding edge node is unqualified, the corresponding edge node is removed, and the network speed is not displayed at the user side. When->
Figure SMS_19
And then the network speed of the corresponding edge node is qualified.
According to the embodiment of the invention, after the network speed information of the edge node is extracted, the network speed information of the edge node in the preset first time range is obtained, the slowest network speed of the corresponding edge node in the preset first time range is obtained according to the network speed information, and whether the slowest network speed is smaller than a preset second network speed threshold value is judged. If yes, determining that the network speed of the corresponding edge node is unqualified, otherwise, determining that the network speed of the corresponding edge node is qualified, and deleting the edge node with unqualified network speed.
For example, the slowest network speed of the edge node in the preset first time range is set as
Figure SMS_20
Setting the preset second net speed threshold value to +.>
Figure SMS_21
. When->
Figure SMS_22
When the network speed of the corresponding edge node is judged to be unqualified, the fact that the corresponding slowest network speed possibly causes delay phenomenon of an interface of the user side is indicated. The preset second network speed threshold is set by a person skilled in the art according to actual requirements.
According to an embodiment of the present invention, determining whether the cost value of the edge node is less than a preset cost threshold may also be included. If yes, marking the edge node, and displaying the marked edge node according to a preset method.
It should be noted that, after the edge nodes are ordered according to the network speed, a fee term is added behind the corresponding edge node. For example, if the preset cost threshold is 20 yuan per hour, the edge nodes smaller than 20 yuan per hour are marked and displayed through a preset method, for example, the names and the cost of the corresponding edge nodes are marked and displayed in red fonts so as to draw the attention of a user side.
According to the embodiment of the invention, after the edge node information selected by the user side is obtained, the method can also comprise the step of obtaining the connection numbers of the edge node selected by the user side and the server side, wherein the connection numbers have uniqueness and timeliness. And connecting the edge node selected by the user side with the server side according to the connection number.
Specifically, when the user side selects an edge node, connection numbers of the edge node and the server side are automatically generated, and the edge node selected by the user is tightly connected with the server through the corresponding connection numbers. The connection number has uniqueness, i.e. one edge node corresponds to only one server. The connection number has timeliness, which is determined by the user end on the payment condition of the edge node. For example, the cost of the corresponding edge node is 20 yuan per hour, and if 40 yuan is paid, the timeliness of the corresponding edge node is only 2 hours.
According to the embodiment of the invention, the method can further comprise the step of obtaining the disconnection time when the edge node selected by the user side and the server side are disconnected, and judging whether the disconnection time is greater than a preset time threshold. If yes, the corresponding connection number is invalid, the prompt message is triggered, and the prompt message of the connection number invalidation is sent to the user side for display.
It should be noted that, when the network is interfered by external force and causes the edge node and the server selected by the user end to be disconnected accidentally, the corresponding disconnection time is recorded and the connection is automatically re-performed. If the preset time threshold is 1 minute, the corresponding connection number will fail when the time for recording disconnection is greater than 1 minute, the edge node and the server selected by the user terminal will not be automatically connected any more and trigger a reconnection prompt, and the edge node is sent to the user terminal again for display so as to be selected by the user terminal.
According to the embodiment of the invention, the method can further comprise the steps of obtaining interface information of the user side, comparing and analyzing the interface information with preset interface information to obtain delay time of a corresponding interface, and judging whether the delay time is smaller than a preset second time threshold. If yes, the interface corresponding to the user terminal is normal, otherwise, the interface is abnormal, and delay abnormal prompt information is triggered.
It should be noted that, when the interface of the user terminal is marked according to the generation time, when the corresponding interface is displayed on the user terminal, the playing time of the corresponding interface is determined, and the delay time of the corresponding interface is obtained by subtracting the generation time of the corresponding interface from the playing time of the interface of the user terminal. If the preset second time threshold is 0.1 second, the corresponding interface is normal when the delay time of the interface of the user side is less than 0.1 second, otherwise, the interface of the user side is marked as abnormal and delay abnormality prompt is carried out.
According to the embodiment of the invention, the method and the device can further comprise the step of obtaining task management record information when the interface delay of the user terminal is abnormal, and judging whether other applications affecting the interface delay of the user terminal exist on the basis of the task management record information. If yes, triggering to close other application information, otherwise, recording delay time information of the corresponding interface.
Specifically, when the interface of the user terminal is abnormal in delay, determining whether other applications occupy the network speed of the edge node or not according to task management record information of the user terminal, if so, displaying the corresponding applications and prompting the user to close, otherwise, recording the delay time of the interface of the corresponding user terminal.
According to the embodiment of the invention, judging whether the time delay time of the interface of the user side is larger than a preset third time threshold or not can be further included. If yes, triggering to replace the edge node information, otherwise, recording the delay times of the corresponding interface, judging whether the delay times or disconnection times of the interface of the user side in a preset fourth time range are larger than a preset time threshold, and if yes, triggering to replace the edge node prompt. Specifically, the delay time of the interface of the user terminal is the delay time of the single interface of the user terminal, for example, the preset third time threshold is 20 seconds, when the delay time of the single interface of the user terminal is greater than 20 seconds, the replacement of the edge node prompt is triggered, and the edge node information is automatically displayed on the user terminal for the user to select. When the delay time of the single interface of the user side is smaller than or equal to a preset third time threshold, recording the interface delay once and recording the time point of the corresponding interface delay. For example, if the preset number of times threshold is set to 3 and the preset fourth time range is set to 3 minutes, the number of times that the interface of the user terminal has delay and the number of times that the user terminal is disconnected within 5 minutes are extracted. Triggering the replacement of the edge node prompt when the delay time or the disconnection time is more than 3 times, otherwise, indicating that the interface delay time or the disconnection time of the corresponding user terminal is an accidental event.
According to the embodiment of the invention, the method can further comprise the steps of obtaining the history edge node selected by the user side, extracting the last edge node in the history edge node, setting the corresponding edge node as a default node, and sending the default node to the user side for display.
It should be noted that, when the user enters the user terminal for the first time, the user terminal will keep the information of the edge node selected by the user terminal last time and set the corresponding edge node as the default node, and when the user terminal does not select other edge nodes, the default node is directly selected for connection.
The present invention also provides a computer storage medium in which a data transmission method program based on an edge node is stored, which method program, when executed by a processor, implements the aforementioned data transmission method based on an edge node.
According to the invention, through the edge node acceleration technology, after a user selects the nearby optimal edge node, the network request packet is preferentially forwarded to the server at the network layer protocol layer, so that the low delay and network stability of network connection are ensured, and the user experience is remarkably improved.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a removable storage device, a read-only memory, a random access memory, a magnetic or optical disk, or other various media capable of storing program code.
Alternatively, the above-described integrated units of the present invention may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a magnetic disk, or an optical disk.

Claims (10)

1. A method for transmitting data based on an edge node, comprising:
acquiring network request packet information of a user side and network address information of the user side;
according to the network address information of the user terminal, determining an address range in which the corresponding user terminal falls, and extracting edge nodes in the corresponding address range;
extracting network speed information of the edge node;
based on the network speed information of the edge nodes, arranging the edge nodes according to the sequence from the big to the small of the network speed, and sequentially sending the edge nodes to a user side for display;
acquiring an edge node selected by a user side;
and sending the network request packet of the user side to the server side through the edge node selected by the user side.
2. The method for transmitting data based on an edge node according to claim 1, wherein after extracting the network speed information of the edge node, further comprises:
acquiring network speed information of an edge node in a preset first time range;
obtaining average network speed information of the corresponding edge node in a preset first time range according to the network speed information of the edge node in the preset first time range;
judging whether the average network speed of the edge node in a preset first time range is larger than a preset first network speed threshold value, if so, determining that the network speed of the corresponding edge node is qualified; otherwise, determining that the network speed of the corresponding edge node is unqualified;
and deleting the edge nodes with unqualified network speed.
3. The method for transmitting data based on an edge node according to claim 1, wherein after extracting the network speed information of the edge node, further comprises:
acquiring network speed information of an edge node in a preset first time range;
obtaining the slowest network speed of the corresponding edge node in the preset first time range according to the network speed information of the edge node in the preset first time range;
judging whether the slowest network speed of the edge node in a preset first time range is smaller than a preset second network speed threshold value, if yes, determining that the network speed of the corresponding edge node is unqualified; otherwise, determining that the network speed of the corresponding edge node is qualified;
and deleting the edge nodes with unqualified network speed.
4. The edge node-based data transmission method of claim 1, further comprising:
acquiring a cost value of an edge node;
judging whether the cost value of the edge node is smaller than a preset cost threshold value, if so, marking the edge node;
and displaying the marked edge nodes according to a preset method.
5. The method for transmitting data based on edge nodes according to claim 1, wherein after obtaining the edge node information selected by the user side, the method further comprises:
acquiring connection numbers of an edge node selected by a user side and a server side;
according to the connection number, connecting the edge node selected by the user side with the server side;
the connection number has uniqueness and timeliness.
6. The method for edge node-based data transmission of claim 5, further comprising:
when the edge node selected by the user side is disconnected with the server side, acquiring the disconnection time;
judging whether the time for disconnecting is greater than a preset time threshold, if so, invalidating the corresponding connection number and triggering prompt information;
and sending the prompt information of the failure of the connection number to the user side for display.
7. An edge node-based data transmission system, comprising a memory and a processor, wherein the memory stores an edge node-based data transmission method program, and the edge node-based data transmission method program, when executed by the processor, implements the steps of:
acquiring network request packet information of a user side and network address information of the user side;
according to the network address information of the user terminal, determining an address range in which the corresponding user terminal falls, and extracting edge nodes in the corresponding address range;
extracting network speed information of the edge node;
based on the network speed information of the edge nodes, arranging the edge nodes according to the sequence from the big to the small of the network speed, and sequentially sending the edge nodes to a user side for display;
acquiring an edge node selected by a user side;
and sending the network request packet of the user side to the server side through the edge node selected by the user side.
8. The edge node-based data transmission system according to claim 7, further comprising, after extracting the network speed information of the edge node:
acquiring network speed information of an edge node in a preset first time range;
obtaining average network speed information of the corresponding edge node in a preset first time range according to the network speed information of the edge node in the preset first time range;
judging whether the average network speed of the edge node in a preset first time range is larger than a preset first network speed threshold value, if so, determining that the network speed of the corresponding edge node is qualified; otherwise, determining that the network speed of the corresponding edge node is unqualified;
and deleting the edge nodes with unqualified network speed.
9. The edge node-based data transmission system according to claim 7, further comprising, after extracting the network speed information of the edge node:
acquiring network speed information of an edge node in a preset first time range;
obtaining slowest network speed information of the corresponding edge node in a preset first time range according to the network speed information of the edge node in the preset first time range;
judging whether the slowest network speed of the edge node in a preset first time range is smaller than a preset second network speed threshold value, if yes, determining that the network speed of the corresponding edge node is unqualified; otherwise, determining that the network speed of the corresponding edge node is qualified;
and deleting the edge nodes with unqualified network speed.
10. A computer storage medium, wherein an edge node based data transmission method program is stored in the computer storage medium, which when executed by a processor, implements an edge node based data transmission method according to any one of claims 1 to 6.
CN202310431690.5A 2023-04-19 2023-04-19 Data transmission method, system and storage medium based on edge node Active CN116170447B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310431690.5A CN116170447B (en) 2023-04-19 2023-04-19 Data transmission method, system and storage medium based on edge node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310431690.5A CN116170447B (en) 2023-04-19 2023-04-19 Data transmission method, system and storage medium based on edge node

Publications (2)

Publication Number Publication Date
CN116170447A true CN116170447A (en) 2023-05-26
CN116170447B CN116170447B (en) 2023-07-14

Family

ID=86418554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310431690.5A Active CN116170447B (en) 2023-04-19 2023-04-19 Data transmission method, system and storage medium based on edge node

Country Status (1)

Country Link
CN (1) CN116170447B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102265568A (en) * 2011-06-13 2011-11-30 华为技术有限公司 Communication method and load equalizer
KR20130057232A (en) * 2011-11-23 2013-05-31 한국전자통신연구원 Contents delivery network system having edge node and method for caching and managing contents
CN106453576A (en) * 2016-10-21 2017-02-22 福建省华渔教育科技有限公司 Interactive method, interactive system and dispatching centre based on hybrid cloud platform
CN111090131A (en) * 2019-12-16 2020-05-01 亿水泰科(北京)信息技术有限公司 Rainfall radar intelligent early warning system
CN112256495A (en) * 2020-10-20 2021-01-22 平安科技(深圳)有限公司 Data transmission method and device, computer equipment and storage medium
CN113018871A (en) * 2021-04-19 2021-06-25 腾讯科技(深圳)有限公司 Service processing method, device and storage medium
CN113597752A (en) * 2018-10-31 2021-11-02 推特公司 System, method and apparatus for selecting edge server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102265568A (en) * 2011-06-13 2011-11-30 华为技术有限公司 Communication method and load equalizer
KR20130057232A (en) * 2011-11-23 2013-05-31 한국전자통신연구원 Contents delivery network system having edge node and method for caching and managing contents
CN106453576A (en) * 2016-10-21 2017-02-22 福建省华渔教育科技有限公司 Interactive method, interactive system and dispatching centre based on hybrid cloud platform
CN113597752A (en) * 2018-10-31 2021-11-02 推特公司 System, method and apparatus for selecting edge server
CN111090131A (en) * 2019-12-16 2020-05-01 亿水泰科(北京)信息技术有限公司 Rainfall radar intelligent early warning system
CN112256495A (en) * 2020-10-20 2021-01-22 平安科技(深圳)有限公司 Data transmission method and device, computer equipment and storage medium
CN113018871A (en) * 2021-04-19 2021-06-25 腾讯科技(深圳)有限公司 Service processing method, device and storage medium

Also Published As

Publication number Publication date
CN116170447B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
CN112016030B (en) Message pushing method, device, server and computer storage medium
US11399004B2 (en) Method, server, and program for managing notification
CN108243191A (en) Risk behavior recognition methods, storage medium, equipment and system
CN113726783A (en) Abnormal IP address identification method and device, electronic equipment and readable storage medium
CN111432227B (en) Virtual resource transfer risk determination method, device, server and storage medium
CN104468399A (en) Data transmission method and device and server
CN110737565B (en) Data monitoring method and device, electronic equipment and storage medium
CN105813037B (en) Short message concurrent service processing method and device
CN116170447B (en) Data transmission method, system and storage medium based on edge node
CN110769064A (en) System, method and equipment for offline message pushing
CN111589110B (en) Game server list pushing method and device and storage medium
CN110535966B (en) Data processing method and related equipment
CN106487653B (en) Message processing method and server
CN112486831A (en) Test system, test method, electronic equipment and storage medium
CN111478860A (en) Network control method, device, equipment and machine readable storage medium
CN111800491A (en) Data transmission method, system, computing device and storage medium
CN112511535A (en) Equipment detection method, device, equipment and storage medium
CN107770162A (en) The method and device of brush present is prevented in a kind of live platform
CN110830314B (en) Method and device for determining abnormal traffic
CN111262871B (en) Data processing method and device and storage medium
CN111125193B (en) Method, device, equipment and storage medium for identifying abnormal multimedia comments
CN113457158A (en) Virtual role configuration method and device, storage medium and electronic device
CN109413459B (en) User recommendation method and related equipment in live broadcast platform
CN114697060B (en) Service control method and device and electronic equipment
CN106919701B (en) Distributed data processing method and device

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