CN111404830B - Network optimization method, device and system - Google Patents

Network optimization method, device and system Download PDF

Info

Publication number
CN111404830B
CN111404830B CN202010207756.9A CN202010207756A CN111404830B CN 111404830 B CN111404830 B CN 111404830B CN 202010207756 A CN202010207756 A CN 202010207756A CN 111404830 B CN111404830 B CN 111404830B
Authority
CN
China
Prior art keywords
parameter
client
data
server
current
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
CN202010207756.9A
Other languages
Chinese (zh)
Other versions
CN111404830A (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.)
Beijing Chuangshi cloud Technology Co.,Ltd.
Original Assignee
Beijing Chuangshiyun Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Chuangshiyun Technology Co ltd filed Critical Beijing Chuangshiyun Technology Co ltd
Priority to CN202010207756.9A priority Critical patent/CN111404830B/en
Publication of CN111404830A publication Critical patent/CN111404830A/en
Application granted granted Critical
Publication of CN111404830B publication Critical patent/CN111404830B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/36Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]
    • H04L47/365Dynamic adaptation of the packet size
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/25Flow control; Congestion control with rate being modified by the source upon detecting a change of network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/29Flow control; Congestion control using a combination of thresholds

Landscapes

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

Abstract

The invention provides a method, a device and a system for network optimization, wherein the method comprises the following steps: determining current policy information; selecting one server from the server list as a target server, and sending target data matched with the current data parameters to the target server based on the current network parameters; and adjusting the current data parameters and/or the current network parameters according to the adjustment parameter instruction issued by the target server, and sending the target data matched with the adjusted current data parameters to the target server based on the adjusted current network parameters. By the method, the device and the system for network optimization, provided by the embodiment of the invention, a network request can be carried out based on the strategy information, a proper target server is selected, and data is sent based on the current data parameters and the current network parameters; meanwhile, the updating strategy information can be adjusted in real time based on the parameter adjusting instruction, so that the real-time optimization of the network is realized, the optimization granularity is finer, and the adjusting mode is diversified.

Description

Network optimization method, device and system
Technical Field
The present invention relates to the technical field of network optimization, and in particular, to a method, an apparatus, and a system for network optimization.
Background
In an application scene of real-time audio and video communication, a client needs to be connected with a server to realize transmission of audio and video data. Due to the fact that states of regions, network operators and client equipment are different, different servers need to be allocated to different clients, data transmission strategies can be adjusted in real time when data output is in a problem, if the servers are in a fault, other servers can be allocated to the clients quickly, and usability and instantaneity of audio and video data transmission are guaranteed.
The currently common scheme is to allocate the server with the optimal client to the optimal client in a scheduling manner, and switch to a new server when a failure occurs, wherein the scheduling manner mainly includes the following two manners: a DNS (Domain Name System) based scheduling method, and an http DNS (http DNS) based scheduling method. For a dispatching mode based on DNS, a local DNS server uses cache, data updating is delayed, the whole network takes 10-20 minutes to take effect, the requirement of real-time dispatching cannot be met, and the problems of DNS hijacking and the like exist. For the dispatching mode based on the http dns, only the static server IP list is maintained, the dispatching can be performed only according to the region of the client, the operator, and the like, and different server IP lists cannot be taken according to the state of each client, so that the dispatching granularity is not fine enough, and the network optimization cannot be completed in real time in a targeted manner.
Disclosure of Invention
To solve the foregoing problems, embodiments of the present invention provide a method, an apparatus, and a system for network optimization.
In a first aspect, an embodiment of the present invention provides a method for network optimization, including:
determining current policy information, wherein the current policy information comprises current data parameters, current network parameters and a server list;
selecting one server from the server list as a target server, and sending target data matched with the current data parameters to the target server based on the current network parameters;
acquiring an adjustment parameter instruction issued by the target server, adjusting the current data parameter and/or the current network parameter according to the adjustment parameter instruction, and sending target data matched with the adjusted current data parameter to the target server based on the adjusted current network parameter; and the parameter adjusting instruction is an instruction generated by the target server according to the data transmission state.
In a second aspect, an embodiment of the present invention provides a method for network optimization, including:
acquiring target data sent by a first client, and determining a data transmission state between the first client and the target data in real time;
and generating a corresponding adjustment parameter instruction according to the data transmission state, sending the adjustment parameter instruction to the first client, instructing the first client to adjust the current data parameter and/or the current network parameter according to the adjustment parameter instruction, and continuously sending target data matched with the adjusted current data parameter based on the adjusted current network parameter.
In a third aspect, an embodiment of the present invention further provides a device for network optimization, including:
the system comprises a strategy determining module, a strategy selecting module and a strategy selecting module, wherein the strategy determining module is used for determining current strategy information, and the current strategy information comprises current data parameters, current network parameters and a server list;
a sending module, configured to select a server from the server list as a target server, and send target data matched with the current data parameter to the target server based on the current network parameter;
the parameter adjusting module is used for acquiring an adjusting parameter instruction issued by the target server, adjusting the current data parameter and/or the current network parameter according to the adjusting parameter instruction, and sending target data matched with the adjusted current data parameter to the target server based on the adjusted current network parameter; and the parameter adjusting instruction is an instruction generated by the target server according to the data transmission state. In a fourth aspect, an embodiment of the present invention further provides a device for network optimization, including:
in a fourth aspect, an embodiment of the present invention further provides a device for network optimization, including:
the acquisition module is used for acquiring target data sent by a first client and determining a data transmission state between the acquisition module and the first client in real time;
and the instruction generating module is used for generating a corresponding adjustment parameter instruction according to the data transmission state, sending the adjustment parameter instruction to the first client, instructing the first client to adjust the current data parameter and/or the current network parameter according to the adjustment parameter instruction, and continuously sending target data matched with the adjusted current data parameter based on the adjusted current network parameter.
In a fifth aspect, an embodiment of the present invention further provides a system for network optimization, including: a scheduling server and a data server;
the scheduling server is used for acquiring a connection request sent by a client, wherein the connection request comprises a client identifier of the client and sending time for sending the connection request; the scheduling server determines the information of the client according to the client identifier, and determines the network speed between the scheduling server and the client according to the time difference between the sending time and the receiving time of the connection request; generating basic strategy information of the client according to the belonging information and the network speed, issuing the basic strategy information to the client, and indicating the client to generate current data parameters and current network parameters according to the basic strategy information; the basic strategy information comprises a data parameter range, a network parameter range and a server list, and the data server is one server in the server list;
when the client takes the data server in the server list as a target server, the data server is used for acquiring target data which is sent by the client based on the current network parameters and is matched with the current data parameters, and determining a data transmission state between the client and the data server in real time;
the data server is further used for generating a corresponding adjustment parameter instruction according to the data transmission state, sending the adjustment parameter instruction to the client, instructing the client to adjust the current data parameter and/or the current network parameter according to the adjustment parameter instruction, and sending target data matched with the adjusted current data parameter to the data server based on the adjusted current network parameter.
In the solution provided by the first aspect of the embodiments of the present invention, the client can make a network request based on the policy information, select a suitable target server through the server list, and send data based on the current data parameter and the current network parameter, so that the current communication process can adapt to the network state; meanwhile, the update strategy information can be adjusted in real time based on the adjustment parameter instruction fed back by the target server, so that the network is optimized in real time, the optimization granularity is finer, and the adjustment mode is diversified.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
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 some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for network optimization according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating another method for network optimization provided by an embodiment of the present invention;
FIG. 3 is a detailed flow chart of a method of network optimization provided by an embodiment of the present invention;
fig. 4 is a schematic structural diagram illustrating a network optimization apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another network optimization apparatus provided in an embodiment of the present invention;
fig. 6 is a schematic structural diagram illustrating a network optimization system according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device for performing a method for network optimization according to an embodiment of the present invention.
Detailed Description
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The network optimization method provided by the embodiment of the invention realizes network optimization between the client and the server based on the strategy information. In this embodiment, the method for network optimization is executed by a client, as shown in fig. 1, the method includes steps 101-103:
step 101: determining current policy information, the current policy information including current data parameters, current network parameters, and a server list.
In the embodiment of the invention, when a client needs to send data to a server, firstly, the policy information needed to be used by the client, namely the current policy information, is determined; the current policy information specifically includes current data parameters, current network parameters, and a server list. The current data parameter is a currently used parameter related to data to be transmitted, and the current network parameter is a currently used parameter related to a network. For example, if the client needs to send audio/video data, the current data parameter may include one or more of a maximum resolution, a maximum frame rate, and a maximum code stream; the change of the current data parameters can affect the size of the audio and video stream, so that the size of network transmission data is changed. The current network parameters may include: one or more of UDP (User Datagram Protocol) message size, UDP packet sending rate and packet loss compensation strategy; the appropriate current network parameters can be specifically set according to the network environment, so that the data transmission performance is improved.
In addition, the server list includes addresses (such as IP addresses) of a plurality of servers, and the server list may be stored locally in advance or issued by the scheduling server. Optionally, the step of "determining current policy information" includes steps a 1-A3:
step A1: and sending a connection request to a scheduling server, wherein the connection request comprises a client identification of the client and a sending time for sending the connection request.
In this embodiment, when the client needs to upload data, the client calls an interface of the scheduling server, so as to send a connection request including a client identifier and sending time to the scheduling server, and notify the scheduling server that the local client needs to upload data, so that the scheduling server can feed back a server list available to the client. The client identifier may specifically be an IP address of the client.
Step A2: and acquiring basic strategy information fed back by the scheduling server, wherein the basic strategy information is strategy information determined by the scheduling server according to the client identification and generated according to the time difference between the sending time and the receiving time of the received connection request, and the basic strategy information comprises a data parameter range, a network parameter range and a server list.
In this embodiment, after acquiring the client identifier and the sending time, the scheduling server may determine the belonging information of the client according to the client identifier, where the belonging information refers to related information to which the client belongs, such as a region to which the client belongs, an operator to which the client belongs, and the like. Meanwhile, the scheduling server may determine a receiving time when the connection request is received, calculate a network speed between the client and the server based on a time difference between the receiving time (i.e., a time when the scheduling server receives the connection request) and a sending time (i.e., a time when the client sends the connection request), and determine a server list, a data parameter range and a network parameter range, which are applicable to the client, based on the belonging information and the network speed, that is, may generate basic policy information, and send the basic policy information to the client. The policy information (including the basic policy information and the current policy information) in this embodiment may be in a file format, so as to facilitate transmission of the policy information between the client and the server.
Step A3: and setting the current data parameters according to the data parameter range, setting the current network parameters according to the network parameter range, and generating current strategy information according to the current data parameters, the current network parameters and the server list.
In this embodiment, after receiving the basic policy information, the client sets the data parameters and the network parameters based on the local actual situation or according to a normal manner, that is, sets the current data parameters and the current network parameters. Specifically, a current data parameter is set according to a data parameter range, and the current data parameter needs to be located within the data parameter range; correspondingly, the current network parameter is set according to the network parameter range, and the current network parameter is located in the network parameter range. Further, the current policy information may be determined based on the current data parameters, current network parameters, and the server list.
Step 102: and selecting one server from the server list as a target server, and sending target data matched with the current data parameters to the target server based on the current network parameters.
In the embodiment of the invention, after the client determines the server list, one server can be selected from the server list as a server needing to upload data, namely a target server. Meanwhile, the data needing to be uploaded at present, namely the target data, is determined, and the target data matched with the current data parameters are sent to the target server based on the current network parameters. For example, the video data with resolution ratio according to the current data parameter is used as the target data, and the video data is sent according to the corresponding message size and packet sending speed. The first server in the server list may be used as a target server, and after the test may be performed to connect the target server, the target data may be sent to the target server.
Optionally, if the connection between the client and the target server fails to be established, or the client receives a server replacement request sent by the target server, the client may select another server from the server list as the target server. In this embodiment, if the client and the target server cannot establish a connection due to an abnormal communication therebetween, the client needs to replace another server as the target server. Or, although the communication connection is established between the client and the target server, the communication quality between the client and the target server is poor, and the target server can generate a server replacement request at the moment, so that the client can replace other servers.
Further, if all servers in the server list cannot be used as target servers, the client may send a policy information update request to the scheduling server, and obtain new basic policy information fed back by the scheduling server, where the basic policy information includes a data parameter range, a network parameter range, and a server list. The policy information update request is essentially the same as the connection request, and is used to instruct the scheduling server to generate policy information, the process of which is basically the same as that of the above step a1-a2, and is not described herein again.
Step 103: acquiring an adjustment parameter instruction issued by a target server, adjusting current data parameters and/or current network parameters according to the adjustment parameter instruction, and sending target data matched with the adjusted current data parameters to the target server based on the adjusted current network parameters; and the parameter adjusting instruction is an instruction generated by the target server according to the data transmission state.
In the embodiment of the invention, when the communication connection is established between the client and the target server and the target data is sent, the target server can also generate a corresponding parameter adjusting instruction based on the current data transmission state, so that the data transmission state between the client and the target server is adjusted in real time, and the network optimization is carried out in real time. In this embodiment, the client may adjust the corresponding current data parameter and/or current network parameter based on the parameter adjustment instruction, and continue to send the target data to the target server. Specifically, the client can adjust the current data parameters according to the adjustment parameter instruction, and send the target data matched with the adjusted current data parameters to the target server based on the current network parameters; or the client can adjust the current network parameters according to the parameter adjusting instruction and send target data matched with the current data parameters to the target server based on the adjusted current network parameters; or the client can also adjust the current data parameters and the current network parameters according to the parameter adjusting instruction, and send the target data matched with the adjusted current data parameters to the target server based on the adjusted current network parameters. In this embodiment, "target data" is data that the client needs to upload, and since the client continuously sends the target data to the target server, the content included in the "target data" in step 102 may be different from the content included in the "target data" in step 103, but both of the contents are data that the client needs to upload.
According to the network optimization method provided by the embodiment of the invention, the client can carry out network request based on the strategy information, select a proper target server through the server list and send data based on the current data parameter and the current network parameter, so that the current communication process can adapt to the network state; meanwhile, the update strategy information can be adjusted in real time based on the adjustment parameter instruction fed back by the target server, so that the network is optimized in real time, the optimization granularity is finer, and the adjustment mode is diversified.
On the basis of the foregoing embodiment, the parameter adjustment instruction issued by the target server may be a detailed instruction, and the client may execute the instruction when receiving the parameter adjustment instruction, where, in this case, the step 103 "adjusting the current data parameter and/or the current network parameter according to the parameter adjustment instruction" includes:
step B1: and if the parameter adjusting instruction is a network parameter improving instruction, improving the current network parameter.
Step B2: and if the parameter adjusting instruction is a data parameter increasing instruction, increasing the current data parameter.
Step B3: and if the parameter adjusting instruction is a network parameter reducing instruction, reducing the current network parameter.
Step B4: and if the parameter adjusting instruction is a data parameter reducing instruction, reducing the current data parameter.
In the embodiment of the invention, the target server can determine how to adjust the parameters according to the current data transmission state, and further can directly instruct the client to adjust the network parameters or the data parameters. Specifically, if the current data transmission state is good, the target server may generate a network parameter promotion instruction, so that the client may promote the current network parameter, that is, the client may send the target data to the target server with a higher current network parameter (e.g., a higher packet sending rate); if the parameter adjusting instruction is a data parameter increasing instruction, the client may increase the current data parameter, so that the client may send target data meeting higher data parameters (e.g., video data with higher resolution). On the contrary, if the current data transmission state is poor, the target server needs to generate a network parameter reduction instruction or a data parameter reduction instruction to reduce the network transmission requirement between the client and the target server.
Optionally, in order to preferentially ensure the fluency of data transmission and avoid increasing delay, when the current data transmission state is good, the target server preferentially generates a network parameter promotion instruction, and when the current network parameter of the client is greater than a first preset value (for example, reaches an upper limit), the target server generates a data parameter promotion instruction again; or the requirement for generating the data parameter promoting instruction is higher than the requirement for generating the network parameter promoting instruction. For example, the target data is video data, and if the packet loss rate of the client is lower than 3% within 10 seconds, the target server generates a network parameter increasing instruction, so that the client is notified to increase the network parameters in the policy information by 5%; if the client can keep a lower packet loss rate in the next 10 seconds, the network parameters of the client are continuously improved; when the network state is very good (for example, the available bandwidth reaches 5Mbps), a data parameter promoting instruction can be generated to notify the client of promoting the data parameters in the strategy information, so that the client can upload high-resolution and high-definition video data to the target server.
Correspondingly, if the current data transmission state is poor, the target server preferentially generates a data parameter reduction instruction, and when the current data parameter of the client is smaller than a second preset value (for example, the current data parameter reaches the lower limit), the target server generates a network parameter reduction instruction; alternatively, the requirement to generate the reduced data parameter instruction is lower than the requirement to generate the reduced network parameter instruction. For example, if the packet loss rate of the client is higher than 20% within 10 seconds continuously, the target server generates a data parameter reduction instruction to inform the client to reduce data parameters, reduce audio and video quality and reduce audio and video data transmission; and if the packet loss rate is still kept above 15% in the next 10 seconds, the target server generates a network parameter reduction instruction again and informs the client to reduce the network parameters in the strategy information. Further, if the data parameter and the network parameter both fall below the minimum threshold value, and the packet loss rate has not improved yet, the target server may notify the client to replace another server.
Or, the parameter adjusting instruction issued by the target server may be a basic instruction, and the client performs adaptive adjustment based on the local actual situation after receiving the parameter adjusting instruction, at this time, the step 103 "adjusting the current data parameter and/or the current network parameter according to the parameter adjusting instruction" includes:
step C1: if the parameter adjusting instruction is a parameter lifting instruction, lifting the current network parameters, and lifting the current data parameters when the current network parameters cannot be lifted.
Step C2: and if the parameter adjusting instruction is a parameter reducing instruction, reducing the current data parameter, and reducing the current network parameter when the current data parameter can not be reduced.
In the embodiment of the invention, when the current data transmission state is good, the target server can generate a parameter promotion instruction and inform the client of promoting the network parameters and/or the data parameters. Meanwhile, the client further determines whether to promote the network parameter or promote the data parameter based on the current parameters (such as the current network parameter, the current data parameter, and the like). Similarly, in order to preferentially ensure the fluency of data transmission and avoid increasing delay, the client preferentially promotes the current network parameters, and promotes the current data parameters under the condition of very good network state; similarly, the client reduces the current data parameter preferentially, and then reduces the current network parameter.
In the embodiment, the parameter adjusting instruction is generated in real time, so that the parameters can be adjusted up when the network state is good, and the transmission fluency and the data quality are improved; and when the network state is not good, the parameters are adjusted downwards to ensure the fluency of transmission. Meanwhile, the network parameters are preferentially improved, the data parameters are preferentially reduced, the smoothness of data transmission is preferentially guaranteed, and delay is prevented from being increased.
Based on the same inventive concept, an embodiment of the present invention further provides a method for network optimization performed by a server, which is shown in fig. 2 and includes:
step 201: and acquiring target data sent by the first client, and determining the data transmission state between the first client and the target data.
In the embodiment of the invention, when the first client needs to send data to the server, the first client and the server can establish communication connection, so that the first client can send target data to the server. Specifically, the first client may be provided with policy information including a current data parameter, a current network parameter, and a server list, where the server is one of the server lists, and the first client selects the server from the server list as a target server, and sends target data matched with the current data parameter to the server based on the current network parameter. The "first client" is substantially the same as the "client" in the foregoing embodiment, and the process of determining the policy information and sending the target data by the first client may be referred to the foregoing embodiment, which is not described herein again.
Meanwhile, when the first client sends the target data to the server, the server also determines the data transmission state between the first client and the server in real time, for example, determines the packet loss rate, the available bandwidth and the like, so that the data transmission state between the first client and the server can be adjusted in real time subsequently.
Step 202: and generating a corresponding adjustment parameter instruction according to the data transmission state, sending the adjustment parameter instruction to the first client, instructing the first client to adjust the current data parameter and/or the current network parameter according to the adjustment parameter instruction, and continuously sending target data matched with the adjusted current data parameter based on the adjusted current network parameter.
In the embodiment of the invention, the server can generate the parameter adjusting instruction in real time based on the data transmission state between the server and the first client, so that the first client can adjust the corresponding strategy information, namely the first client can adjust the current data parameter and/or the current network parameter, and further the first client can continuously send the target data matched with the adjusted current data parameter based on the adjusted current network parameter.
Optionally, the server may generate a detailed parameter adjustment instruction based on the current data transmission state, and the client may execute the parameter adjustment instruction when receiving the parameter adjustment instruction; in this embodiment, the data transmission state may include a packet loss rate and an available bandwidth, and the step 202 of generating the corresponding parameter adjustment instruction according to the data transmission state includes:
step D1: and when the packet loss rate meets the lifting condition and the available bandwidth is smaller than a first preset threshold value, generating a network parameter lifting instruction and indicating the first client to lift the current network parameter.
Step D2: and when the packet loss rate meets the lifting condition and the available bandwidth is greater than a second preset threshold, generating a data parameter lifting instruction and indicating the first client to lift the current data parameter.
In the embodiment of the present invention, when the current data transmission state is better, it indicates that the network state between the server and the first client is better, and at this time, the network parameter and/or the data parameter may be appropriately promoted. In this embodiment, a condition for improving the packet loss rate is preset, for example, the packet loss rate is less than 3%, and a first preset threshold and a second preset threshold of the available bandwidth are preset. Specifically, when the packet loss rate meets the promotion condition and the available bandwidth is smaller than the first preset threshold, it is indicated that the network state between the server and the first client is good (i.e., the packet loss rate is low), but the available bandwidth (throughput) is general, at this time, only the network parameters such as the packet size and the packet sending rate can be promoted, so as to ensure the fluency during data transmission. When the packet loss rate meets the lifting condition and the available bandwidth is greater than the second preset threshold, the current network state is good, the available bandwidth is good, and the data parameter can be lifted at the moment, so that the first client can send target data with higher current data parameters.
For example, the target data to be uploaded by the first client is video data, and if the packet loss rate of the first client is lower than 3% within 10 seconds continuously and the available bandwidth determined by the server is lower than 1Mbps, the server may generate a network parameter promotion instruction, so as to notify the first client to promote the network parameters in the policy information by 5%; if the first client can still keep a low packet loss rate (if the packet loss rate is lower than 3%) in the next 10 seconds, the network parameters of the first client can be continuously improved; if the packet loss rate of the first client is still low and the available bandwidth reaches 5Mbps, which indicates that the current network state is very good, the server may generate a data parameter promotion instruction to notify the first client of promoting the data parameters in the policy information, so that the first client may upload high-resolution and high-definition video data to the server.
Step D3: and when the packet loss rate meets the reduction condition, generating a data parameter reduction instruction and indicating the first client to reduce the current data parameter.
Step D4: and when the packet loss rate meets the reduction condition and a data parameter reduction instruction is generated, generating a network parameter reduction instruction and indicating the first client to reduce the current network parameters.
In the embodiment of the invention, when the current data transmission state is poor, the network state between the server and the first client is poor, and at the moment, the network parameter and/or the data parameter can be properly reduced. In this embodiment, a condition for reducing the packet loss rate is preset, for example, the packet loss rate is greater than 15%. Specifically, when the packet loss rate satisfies the reduction condition, it indicates that the network state between the server and the first client is poor (i.e., the packet loss rate is relatively high), and at this time, to ensure the smoothness of data transmission, the server generates a data parameter reduction instruction to reduce data parameters such as resolution and code stream of the target data transmitted by the first client. If the packet loss rate meets the reduction condition and the instruction for reducing the data parameter is generated, it indicates that the current network is poor, and the flow performance is still not guaranteed enough even if the data parameter is reduced (because the packet loss rate is still high), at this time, the server may generate the instruction for reducing the network parameter, so as to reduce the network parameters such as the size of the message, the packet sending rate, and the like. If both the data parameter and the network parameter fall below the minimum threshold and the packet loss rate has not improved, the server may notify the first client to replace another server, e.g., the server may generate a server replacement request.
Optionally, in order to preferentially ensure the fluency of data transmission and avoid increasing delay, if the current data transmission state is good, the server preferentially generates a network parameter promotion instruction, and when the current network parameter of the first client is greater than a first preset value (for example, reaches an upper limit), the server generates a data parameter promotion instruction again; or the requirement for generating the data parameter promoting instruction by the server is higher than the requirement for generating the network parameter promoting instruction. Correspondingly, if the current data transmission state is poor, the server preferentially generates a data parameter reduction instruction, and when the current data parameter of the first client is smaller than a second preset value (for example, the current data parameter reaches a lower limit), the server generates a network parameter reduction instruction; alternatively, the server may generate a lower data parameter reduction instruction than the network parameter reduction instruction. The specific process can refer to the related contents of steps B1-B4 in the above embodiments, which are not described herein again.
Or, the parameter adjusting instruction issued by the server may be a basic instruction, and the first client may perform adaptive adjustment based on the local actual condition after receiving the parameter adjusting instruction; specifically, the step 202 "generating a corresponding parameter adjusting instruction according to the data transmission state" includes:
step E1: and when the data transmission state meets the lifting condition, generating a lifting parameter instruction, and indicating the first client to lift the current data parameter and/or the current network parameter.
Step E2: and when the data transmission state meets the reduction condition, generating a parameter reduction instruction, and indicating the first client to reduce the current data parameter and/or the current network parameter.
In the embodiment of the present invention, the server may preset a promotion condition and a reduction condition, and generate a corresponding instruction (a parameter promotion instruction or a parameter reduction instruction) when the data transmission state satisfies the corresponding condition, so that the first client may promote or reduce the corresponding parameter. For example, the lifting condition may be that the packet loss rate is less than a certain value (e.g., 3%), and the lowering condition may be that the packet loss rate is greater than another value (e.g., 20%). After receiving the corresponding instruction, the first client may perform an adaptive adjustment based on the local actual situation to determine an adjusted network parameter and/or data parameter.
Step E3: and when the data transmission state does not meet the communication condition, generating a server replacement request, and instructing the first client to reselect other servers from the server list as target servers.
In this embodiment, if the data parameter and the network parameter are both reduced to be lower than the minimum threshold value and the packet loss rate is not improved yet, and the data transmission state at this time does not satisfy the communication condition, the server may notify the first client to replace another server, that is, the server may generate a server replacement request, so that the first client reselects another server from the server list as the target server.
According to the method for optimizing the network, provided by the embodiment of the invention, the server can generate a corresponding parameter adjusting instruction based on the current data transmission state, and adjust the network parameters and the data parameters used by the client during data transmission, so that the client can adjust the strategy of sending data in real time based on the adjusted network parameters and data parameters, the network is optimized in real time, the optimization granularity is finer, and the adjustment modes are diversified. The client sets strategy information containing network parameters and data parameters, and supports the server to adjust the parameters in real time.
On the basis of the above embodiment, the server may also serve as a scheduling server to generate initial policy information, i.e., basic policy information, for the client. Specifically, the method further comprises:
step F1: and acquiring a connection request sent by the second client, wherein the connection request comprises a client identifier of the second client and sending time for sending the connection request.
Step F2: and determining the affiliated information of the second client according to the client identification, and determining the network speed between the second client and the second client according to the time difference between the sending time and the receiving time of the received connection request.
Step F3: generating basic strategy information of a second client according to the information and the network speed, issuing the basic strategy information to the second client, and indicating the second client to generate current data parameters and current network parameters according to the basic strategy information; the basic policy information includes a data parameter range, a network parameter range and a server list.
The server in the embodiment of the present invention may be used as a server for data transmission, and receive target data transmitted by the first client, specifically as shown in the foregoing embodiment; in addition, the server may also serve as a scheduling server to generate basic policy information for the client, and the server generates the basic policy information for the second client in this embodiment as an example. Since the server may be in communication connection with multiple clients, the "second client" in this embodiment may be the same client as the "first client" or different clients, and this embodiment does not limit this.
Specifically, when the second client is started for the first time or local policy information needs to be updated, the second client may send a connection request to the server, and after the server receives the connection request, the server may determine the affiliated information of the second client according to the client identifier in the connection request, that is, may determine the region, the affiliated operator, and the like of the second client, so that an appropriate server list may be allocated to the second client. Meanwhile, the network speed with the second client can be determined based on the time difference between the sending time of the connection request and the receiving time of the connection request, so that the data parameter range and the network parameter range suitable for the second client can be conveniently determined, and the basic policy information can be generated. After obtaining the basic policy information, the second client may set the current data parameters and the current network parameters, and the specific process may refer to the description of steps a2-A3 in the foregoing embodiment, which is not described herein again.
The overall flow of the network optimization method is described in detail below by an embodiment.
In the embodiment of the present invention, for convenience of description, a scheduling server is specifically set as an example, and a data server is a server that performs data transmission with a client, for example, in a live broadcast field, the data server may be a push-pull streaming server, and the like. Referring to fig. 3, the method includes:
step 301: the client sends a connection request to the scheduling server, wherein the connection request comprises a client identification of the client and a sending time for sending the connection request.
In this embodiment, when the client is started for the first time, the scheduling server interface may be called to obtain the basic policy information.
Step 302: the scheduling server determines the affiliated information of the client according to the client identification, determines the network speed of the client according to the time difference between the sending time and the receiving time of the received connection request, and generates the basic strategy information of the client according to the affiliated information and the network speed.
In this embodiment, the basic policy information includes a data parameter range, a network parameter range, and a server list; the server list includes addresses of a plurality of data servers, so that the client can conveniently select one data server from the addresses as a target server.
Step 303: and the scheduling server sends the basic strategy information to the client.
Step 304: the client receives basic strategy information sent by the scheduling server, sets current data parameters and current network parameters according to the basic strategy information, and selects one data server from the server list as a target server.
Step 305: and the client sends the target data matched with the current data parameters to the target server based on the current network parameters.
Step 306: the target server monitors the data transmission state of the client and sends a lifting parameter instruction to the client when the data transmission state meets a lifting condition; and when the data transmission state meets the reduction condition, sending a parameter reduction instruction to the client.
Step 307: and the client promotes the current data parameters and/or the current network parameters according to the parameter promotion instruction, and reduces the current data parameters and/or the current network parameters according to the parameter reduction instruction.
Step 308: and the client sends the target data matched with the adjusted current data parameters to the target server based on the adjusted current network parameters.
In this embodiment, the above-mentioned steps 306-308 are continuously executed in real time, that is, the target server adjusts the network status with the client in real time to realize real-time network optimization.
Step 309: and when the data transmission state does not meet the communication condition, the target server sends a server replacement request to the client.
Step 310: and the client reselects other data servers from the server list as target servers and continues to send the target data.
Step 311: and when all the data servers in the server list cannot be used as target servers, the client sends a policy information updating request to the scheduling server.
In this embodiment, the policy information update request is substantially the same as the connection request described above, and is used to obtain the basic policy information. After the client acquires new basic policy information (including a new server list) again, the client can continue to select a new data server as a target server and continue to send target data.
The above describes in detail the flow of the method for network optimization, which may also be implemented by a corresponding apparatus, and the structure and function of the apparatus are described in detail below.
An apparatus for network optimization provided in an embodiment of the present invention may be disposed on a client side, as shown in fig. 4, and the apparatus includes:
a policy determining module 41, configured to determine current policy information, where the current policy information includes a current data parameter, a current network parameter, and a server list;
a sending module 42, configured to select one server from the server list as a target server, and send target data matched with the current data parameter to the target server based on the current network parameter;
a parameter adjusting module 43, configured to obtain an adjustment parameter instruction issued by the target server, adjust the current data parameter and/or the current network parameter according to the adjustment parameter instruction, and send target data matched with the adjusted current data parameter to the target server based on the adjusted current network parameter; and the parameter adjusting instruction is an instruction generated by the target server according to the data transmission state.
On the basis of the above embodiment, the determining, by the policy determining module 41, the current policy information includes:
sending a connection request to a scheduling server, wherein the connection request comprises a client identifier of the client and sending time for sending the connection request;
acquiring basic policy information fed back by the scheduling server, wherein the basic policy information is the information determined by the scheduling server according to the client identifier and the policy information generated according to the time difference between the sending time and the receiving time of the connection request, and the basic policy information comprises a data parameter range, a network parameter range and a server list;
setting current data parameters according to the data parameter range, setting current network parameters according to the network parameter range, and generating current strategy information according to the current data parameters, the current network parameters and the server list.
On the basis of the foregoing embodiment, the adjusting, by the parameter adjusting module 43, the current data parameter and/or the current network parameter according to the parameter adjusting instruction includes:
if the parameter adjusting instruction is a network parameter increasing instruction, increasing the current network parameter; if the parameter adjusting instruction is a data parameter increasing instruction, increasing the current data parameter; if the parameter adjusting instruction is a network parameter reducing instruction, reducing the current network parameter; if the parameter adjusting instruction is a data parameter reducing instruction, reducing the current data parameter;
or if the parameter adjusting instruction is a parameter lifting instruction, lifting the current network parameter, and lifting the current data parameter when the current network parameter cannot be lifted; and if the parameter adjusting instruction is a parameter reducing instruction, reducing the current data parameter, and reducing the current network parameter when the current data parameter cannot be reduced.
On the basis of the above embodiment, the apparatus further includes: an update module;
the update module is to: if the connection with the target server fails to be established or a server replacing request sent by the target server is received, selecting another server from the server list as the target server; and if all the servers in the server list cannot be used as target servers, sending a policy information updating request to a scheduling server, and acquiring new basic policy information fed back by the scheduling server, wherein the basic policy information comprises a data parameter range, a network parameter range and a server list.
According to the network optimization device provided by the embodiment of the invention, a client can make a network request based on strategy information, select a proper target server through a server list, and send data based on the current data parameters and the current network parameters, so that the current communication process can adapt to the network state; meanwhile, the update strategy information can be adjusted in real time based on the adjustment parameter instruction fed back by the target server, so that the network is optimized in real time, the optimization granularity is finer, and the adjustment mode is diversified.
Based on the same inventive concept, an embodiment of the present invention further provides an apparatus for network optimization, which is applicable to a server side, and as shown in fig. 5, the apparatus includes:
an obtaining module 51, configured to obtain target data sent by a first client, and determine a data transmission state with the first client in real time;
the instruction generating module 52 is configured to generate a corresponding adjustment parameter instruction according to the data transmission state, send the adjustment parameter instruction to the first client, instruct the first client to adjust the current data parameter and/or the current network parameter according to the adjustment parameter instruction, and continue to send the target data matched with the adjusted current data parameter based on the adjusted current network parameter.
On the basis of the above embodiment, the instruction generating module 52 generates a corresponding parameter adjusting instruction according to the data transmission state, including:
when the data transmission state meets a lifting condition, generating a lifting parameter instruction to instruct the first client to lift the current data parameter and/or the current network parameter; when the data transmission state meets a reduction condition, generating a parameter reduction instruction, and indicating the first client to reduce the current data parameter and/or the current network parameter; when the data transmission state does not meet the communication condition, generating a server replacement request, and indicating the first client to reselect other servers from a server list as target servers;
or, the data transmission state includes a packet loss rate and an available bandwidth; when the packet loss rate meets a lifting condition and the available bandwidth is smaller than a first preset threshold, generating a network parameter lifting instruction to instruct the first client to lift the current network parameter; when the packet loss rate meets a lifting condition and the available bandwidth is greater than a second preset threshold, generating a data parameter lifting instruction to instruct the first client to lift the current data parameter; when the packet loss rate meets a reduction condition, generating a data parameter reduction instruction, and indicating the first client to reduce the current data parameter; and when the packet loss rate meets a reduction condition and the data parameter reduction instruction is generated, generating a network parameter reduction instruction and indicating the first client to reduce the current network parameter.
On the basis of the above embodiment, the apparatus further includes: a policy generation module; the policy generation module is to:
acquiring a connection request sent by a second client, wherein the connection request comprises a client identifier of the second client and sending time for sending the connection request;
determining the belonging information of the second client according to the client identification, and determining the network speed between the second client and the second client according to the time difference between the sending time and the receiving time of the connection request;
generating basic strategy information of the second client according to the belonging information and the network speed, issuing the basic strategy information to the second client, and instructing the second client to generate current data parameters and current network parameters according to the basic strategy information; the basic policy information comprises a data parameter range, a network parameter range and a server list.
The network optimization device provided by the embodiment of the invention is characterized in that the server can generate a corresponding parameter adjusting instruction based on the current data transmission state, and adjust the network parameters and the data parameters used by the client during data transmission, so that the client can adjust the strategy of sending data in real time based on the adjusted network parameters and data parameters, thereby realizing the real-time optimization of the network, and the optimization granularity is finer and the adjustment modes are diversified. The client sets strategy information containing network parameters and data parameters, and supports the server to adjust the parameters in real time.
An embodiment of the present invention further provides a system for network optimization, as shown in fig. 6, including: dispatch server 10 and data server 20.
Specifically, the scheduling server 10 is configured to obtain a connection request sent by a client 30, where the connection request includes a client identifier of the client 30 and a sending time for sending the connection request; the scheduling server 10 determines the information of the client 30 according to the client identifier, and determines the network speed with the client 30 according to the time difference between the sending time and the receiving time of the connection request; generating basic policy information of the client 30 according to the belonging information and the network speed, issuing the basic policy information to the client 30, and instructing the client 30 to generate current data parameters and current network parameters according to the basic policy information; the basic policy information includes a data parameter range, a network parameter range and a server list, and the data server 20 is one server in the server list.
When the client 30 uses the data server 20 in the server list as a target server, the data server 20 is configured to obtain target data that is sent by the client 30 based on the current network parameter and matches with the current data parameter, and determine a data transmission state with the client 30 in real time.
The data server 20 is further configured to generate a corresponding adjustment parameter instruction according to the data transmission state, send the adjustment parameter instruction to the client 30, instruct the client 30 to adjust the current data parameter and/or the current network parameter according to the adjustment parameter instruction, and send target data matched with the adjusted current data parameter to the data server 20 based on the adjusted current network parameter.
In the embodiment of the present invention, the network optimization system may include at least one scheduling server and a plurality of data servers, the scheduling server 10 generates basic policy information for the client 30, and the data server 20 receives target data sent by the client 30 to implement communication with the client 30. The dispatch server 10 and the data server 20 may be disposed on two server entities, or may be disposed in the same server entity, which is not limited in this embodiment.
Embodiments of the present invention also provide a computer storage medium, where the computer storage medium stores computer-executable instructions, which include a program for executing the method for network optimization described above, and the computer-executable instructions may execute the method in any of the above method embodiments.
The computer storage media may be any available media or data storage device that can be accessed by a computer, including but not limited to magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
Fig. 7 shows a block diagram of an electronic device according to another embodiment of the present invention. The electronic device 1100 may be a host server with computing capabilities, a personal computer PC, or a portable computer or terminal that is portable, or the like. The specific embodiment of the present invention does not limit the specific implementation of the electronic device.
The electronic device 1100 includes at least one processor (processor)1110, a Communications Interface 1120, a memory 1130, and a bus 1140. The processor 1110, the communication interface 1120, and the memory 1130 communicate with each other via the bus 1140.
The communication interface 1120 is used for communicating with network elements including, for example, virtual machine management centers, shared storage, etc.
Processor 1110 is configured to execute programs. Processor 1110 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention.
The memory 1130 is used for executable instructions. The memory 1130 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1130 may also be a memory array. The storage 1130 may also be partitioned and the blocks may be combined into virtual volumes according to certain rules. The instructions stored by the memory 1130 are executable by the processor 1110 to enable the processor 1110 to perform the method of network optimization in any of the method embodiments described above.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the modifications or alternative embodiments within the technical scope of the present invention, and shall be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A method for network optimization, comprising:
determining current policy information, wherein the current policy information comprises current data parameters, current network parameters and a server list; the current data parameters comprise one or more items of maximum resolution, maximum frame rate and maximum code stream;
selecting one server from the server list as a target server, and sending target data matched with the current data parameters to the target server based on the current network parameters;
acquiring an adjustment parameter instruction issued by the target server, adjusting the size of the current data parameter and/or the current network parameter according to the adjustment parameter instruction, and sending target data matched with the adjusted current data parameter to the target server based on the adjusted current network parameter; and the parameter adjusting instruction is an instruction generated by the target server according to the data transmission state.
2. The method of claim 1, wherein the determining current policy information comprises:
sending a connection request to a scheduling server, wherein the connection request comprises a client identifier of a client and sending time for sending the connection request;
acquiring basic policy information fed back by the scheduling server, wherein the basic policy information is the information determined by the scheduling server according to the client identifier and the policy information generated according to the time difference between the sending time and the receiving time of the connection request, and the basic policy information comprises a data parameter range, a network parameter range and a server list;
setting current data parameters according to the data parameter range, setting current network parameters according to the network parameter range, and generating current strategy information according to the current data parameters, the current network parameters and the server list.
3. The method according to claim 1, wherein said adjusting the current data parameters and/or the current network parameters according to the adjustment parameter instruction comprises:
if the parameter adjusting instruction is a network parameter increasing instruction, increasing the current network parameter; if the parameter adjusting instruction is a data parameter increasing instruction, increasing the current data parameter; if the parameter adjusting instruction is a network parameter reducing instruction, reducing the current network parameter; if the parameter adjusting instruction is a data parameter reducing instruction, reducing the current data parameter;
or if the parameter adjusting instruction is a parameter lifting instruction, lifting the current network parameter, and lifting the current data parameter when the current network parameter cannot be lifted; and if the parameter adjusting instruction is a parameter reducing instruction, reducing the current data parameter, and reducing the current network parameter when the current data parameter cannot be reduced.
4. The method of claim 1, further comprising:
if the connection with the target server fails to be established or a server replacing request sent by the target server is received, selecting another server from the server list as the target server;
and if all the servers in the server list cannot be used as target servers, sending a policy information updating request to a scheduling server, and acquiring new basic policy information fed back by the scheduling server, wherein the basic policy information comprises a data parameter range, a network parameter range and a server list.
5. A method for network optimization, comprising:
acquiring target data sent by a first client, and determining a data transmission state between the first client and the target data in real time;
generating a corresponding adjustment parameter instruction according to the data transmission state, sending the adjustment parameter instruction to the first client, instructing the first client to adjust the size of the current data parameter and/or the current network parameter according to the adjustment parameter instruction, and continuously sending target data matched with the adjusted current data parameter based on the adjusted current network parameter; the current data parameters comprise one or more items of maximum resolution, maximum frame rate and maximum code stream.
6. The method of claim 5, wherein generating the corresponding adjustment parameter command according to the data transmission status comprises:
when the data transmission state meets a lifting condition, generating a lifting parameter instruction to instruct the first client to lift the current data parameter and/or the current network parameter; when the data transmission state meets a reduction condition, generating a parameter reduction instruction, and indicating the first client to reduce the current data parameter and/or the current network parameter; when the data transmission state does not meet the communication condition, generating a server replacement request, and indicating the first client to reselect other servers from a server list as target servers;
or, the data transmission state includes a packet loss rate and an available bandwidth; when the packet loss rate meets a lifting condition and the available bandwidth is smaller than a first preset threshold, generating a network parameter lifting instruction to instruct the first client to lift the current network parameter; when the packet loss rate meets a lifting condition and the available bandwidth is greater than a second preset threshold, generating a data parameter lifting instruction to instruct the first client to lift the current data parameter; when the packet loss rate meets a reduction condition, generating a data parameter reduction instruction, and indicating the first client to reduce the current data parameter; and when the packet loss rate meets a reduction condition and the data parameter reduction instruction is generated, generating a network parameter reduction instruction and indicating the first client to reduce the current network parameter.
7. The method of claim 5, further comprising:
acquiring a connection request sent by a second client, wherein the connection request comprises a client identifier of the second client and sending time for sending the connection request;
determining the belonging information of the second client according to the client identification, and determining the network speed between the second client and the second client according to the time difference between the sending time and the receiving time of the connection request;
generating basic strategy information of the second client according to the belonging information and the network speed, issuing the basic strategy information to the second client, and instructing the second client to generate current data parameters and current network parameters according to the basic strategy information; the basic policy information comprises a data parameter range, a network parameter range and a server list.
8. An apparatus for network optimization, comprising:
the system comprises a strategy determining module, a strategy selecting module and a strategy selecting module, wherein the strategy determining module is used for determining current strategy information, and the current strategy information comprises current data parameters, current network parameters and a server list; the current data parameters comprise one or more items of maximum resolution, maximum frame rate and maximum code stream;
a sending module, configured to select a server from the server list as a target server, and send target data matched with the current data parameter to the target server based on the current network parameter;
the parameter adjusting module is used for acquiring an adjusting parameter instruction issued by the target server, adjusting the size of the current data parameter and/or the current network parameter according to the adjusting parameter instruction, and sending target data matched with the adjusted current data parameter to the target server based on the adjusted current network parameter; and the parameter adjusting instruction is an instruction generated by the target server according to the data transmission state.
9. An apparatus for network optimization, comprising:
the acquisition module is used for acquiring target data sent by a first client and determining a data transmission state between the acquisition module and the first client in real time;
the instruction generation module is used for generating a corresponding adjustment parameter instruction according to the data transmission state, sending the adjustment parameter instruction to the first client, instructing the first client to adjust the size of the current data parameter and/or the current network parameter according to the adjustment parameter instruction, and continuously sending target data matched with the adjusted current data parameter based on the adjusted current network parameter; the current data parameters comprise one or more items of maximum resolution, maximum frame rate and maximum code stream.
10. A system for network optimization, comprising: a scheduling server and a data server;
the scheduling server is used for acquiring a connection request sent by a client, wherein the connection request comprises a client identifier of the client and sending time for sending the connection request; the scheduling server determines the information of the client according to the client identifier, and determines the network speed between the scheduling server and the client according to the time difference between the sending time and the receiving time of the connection request; generating basic strategy information of the client according to the belonging information and the network speed, issuing the basic strategy information to the client, and indicating the client to generate current data parameters and current network parameters according to the basic strategy information; the basic strategy information comprises a data parameter range, a network parameter range and a server list, and the data server is one server in the server list; the current data parameters comprise one or more items of maximum resolution, maximum frame rate and maximum code stream;
when the client takes the data server in the server list as a target server, the data server is used for acquiring target data which is sent by the client based on the current network parameters and is matched with the current data parameters, and determining a data transmission state between the client and the data server in real time;
the data server is further used for generating a corresponding adjustment parameter instruction according to the data transmission state, sending the adjustment parameter instruction to the client, instructing the client to adjust the size of the current data parameter and/or the current network parameter according to the adjustment parameter instruction, and sending target data matched with the adjusted current data parameter to the data server based on the adjusted current network parameter.
CN202010207756.9A 2020-03-23 2020-03-23 Network optimization method, device and system Active CN111404830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010207756.9A CN111404830B (en) 2020-03-23 2020-03-23 Network optimization method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010207756.9A CN111404830B (en) 2020-03-23 2020-03-23 Network optimization method, device and system

Publications (2)

Publication Number Publication Date
CN111404830A CN111404830A (en) 2020-07-10
CN111404830B true CN111404830B (en) 2021-06-15

Family

ID=71414020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010207756.9A Active CN111404830B (en) 2020-03-23 2020-03-23 Network optimization method, device and system

Country Status (1)

Country Link
CN (1) CN111404830B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112260961B (en) * 2020-09-23 2024-06-14 北京金山云网络技术有限公司 Network traffic scheduling method and device, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107295286A (en) * 2016-03-31 2017-10-24 掌赢信息科技(上海)有限公司 A kind of video call data transmission method, system, server and video conversation apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9392462B2 (en) * 2009-01-28 2016-07-12 Headwater Partners I Llc Mobile end-user device with agent limiting wireless data communication for specified background applications based on a stored policy
ES2617506T3 (en) * 2011-09-28 2017-06-19 Smith Micro Software, Inc. Self-tuning mobile platform policy enforcement agent to control network access, mobility and efficient use of local and network resources
CN104702445B (en) * 2015-03-31 2018-04-20 清华大学 The optimization method and system of user network
CN108064071B (en) * 2018-02-13 2020-06-16 Oppo广东移动通信有限公司 Network connection method, device, storage medium and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107295286A (en) * 2016-03-31 2017-10-24 掌赢信息科技(上海)有限公司 A kind of video call data transmission method, system, server and video conversation apparatus

Also Published As

Publication number Publication date
CN111404830A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
US20210336891A1 (en) Network flow control
CN107743698B (en) Method and apparatus for multi-path media delivery
EP3866474B1 (en) Video self-adaptation method, related device and storage medium
JP6526825B2 (en) Method and apparatus for transmitting transmission control protocol TCP data packets, and system
US9191322B2 (en) Methods, apparatus and computer readable medium for managed adaptive bit rate for bandwidth reclamation
EP2290894B1 (en) A method, apparatus and system for adjusting multimedia encoding rate
US20130150007A1 (en) Method, device and system for data transmission
RU2517382C2 (en) Method and system for data synchronisation in content delivery network
US20140012981A1 (en) Apparatus and methods for optimizing network data transmission
CN106993014B (en) Cache content adjusting method, device and system
JP7063985B2 (en) Network support for uplink streaming
TW201505427A (en) Method, device and system for communication video quality adjustment
EP3468258A1 (en) Data transmission control method, communication device and core network device
EP4287591A1 (en) Data transmission method and apparatus, and server, storage medium and program product
US11290916B1 (en) Systems and methods for wireless communication network control
CN111404830B (en) Network optimization method, device and system
US10291420B2 (en) Method and system for managing the delivery of over-the-top streams
JP2008011177A (en) Dynamic quality control method by streaming distribution, and network system
JP2001156838A (en) Method and device for reserving communication resource and recording medium with communication resource reservation program recorded
US20230019667A1 (en) Network Access Control Method, SDF, CP, UP, and Network System
US20220408353A1 (en) User plane function selection and hosting for real-time applications
US20240298051A1 (en) Data relay apparatus, distribution system, data relay method, and computer-readable medium
US20230066060A1 (en) Routing of bursty data flows
CN115150363B (en) IP address updating method, gateway device, gateway down-hanging device and storage medium
US11979767B2 (en) Automatic adjustment of throughput rate to optimize wireless device battery performance

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 804, 8th floor, building D, 2-2, Beijing Shichuang hi tech Development Corporation

Patentee after: Beijing Chuangshi cloud Technology Co.,Ltd.

Address before: 100085 room 804, Zhongguancun International Incubator, No.2, shangdixinxi Road, Haidian District, Beijing

Patentee before: Beijing chuangshiyun Technology Co.,Ltd.