CN114666225B - Bandwidth adjustment method, data transmission method, device and computer storage medium - Google Patents

Bandwidth adjustment method, data transmission method, device and computer storage medium Download PDF

Info

Publication number
CN114666225B
CN114666225B CN202210234355.1A CN202210234355A CN114666225B CN 114666225 B CN114666225 B CN 114666225B CN 202210234355 A CN202210234355 A CN 202210234355A CN 114666225 B CN114666225 B CN 114666225B
Authority
CN
China
Prior art keywords
network
packet loss
bandwidth
adjustment
network bandwidth
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
CN202210234355.1A
Other languages
Chinese (zh)
Other versions
CN114666225A (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.)
Alibaba China Co Ltd
Original Assignee
Alibaba China 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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN202210234355.1A priority Critical patent/CN114666225B/en
Publication of CN114666225A publication Critical patent/CN114666225A/en
Application granted granted Critical
Publication of CN114666225B publication Critical patent/CN114666225B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS

Abstract

The embodiment of the application provides a bandwidth adjusting method, a data transmission method, data transmission equipment and a computer storage medium. The bandwidth adjustment method comprises the following steps: acquiring a network bandwidth level and a network packet loss state of a preset network, wherein the network bandwidth level is obtained by analyzing and processing the network bandwidth of the preset network, and the network packet loss state is obtained by analyzing and processing the network packet loss rate of the preset network; determining a dynamic threshold value for analyzing and processing the network packet loss rate; at least one of the network bandwidth and the dynamic threshold is adjusted based on the network bandwidth level and the network packet loss status. According to the technical scheme provided by the application, the network bandwidth and/or the dynamic threshold value can be flexibly adjusted under different network bandwidth levels and network packet loss states, so that the situation that the bandwidth is reduced and the network packet loss situation cannot be improved can be avoided, and the bandwidth is not always reduced; and when the bandwidth is low, the bandwidth level required by the application can be quickly recovered, so that the good experience of the user is ensured.

Description

Bandwidth adjustment method, data transmission method, device and computer storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a bandwidth adjustment method, a data transmission method, a device, and a computer storage medium.
Background
In the process of real-time audio and video transmission, since the size of the network bandwidth directly determines how high the image quality and how small the delay of the server can send data, and the image quality and the delay determine the core experience of the end user, accurate bandwidth estimation and bandwidth utilization are one of the central technical problems of real-time audio and video service, and are particularly suitable for services realized by the Extended real (XR) technology.
The bandwidth estimation method provided in the related art is generally based on consideration of packet loss and delay of network transmission, and is mainly used for solving the network congestion situation existing in the network. However, the bandwidth estimation method is often suitable for online conferences or online education, and if the network bandwidth method is directly applied to an application scene realized by XR technology, the definition of data displayed in the XR application scene is easy to be lower, even the situation of data blocking occurs, and user experience is further reduced.
Disclosure of Invention
The embodiment of the application provides a bandwidth adjusting method, a data transmission method, equipment and a computer storage medium, which can flexibly adjust network bandwidth and/or dynamic threshold under different network bandwidth levels and network packet loss states, so that the situation that the bandwidth is reduced and the network packet loss situation cannot be improved can be avoided, and the bandwidth is not always reduced; and when the bandwidth is low, the bandwidth level required by the application can be quickly recovered, so that the good experience of the user is ensured.
In a first aspect, an embodiment of the present application provides a bandwidth adjustment method, including:
acquiring a network bandwidth level and a network packet loss state of a preset network, wherein the network bandwidth level is obtained by analyzing and processing the network bandwidth of the preset network, and the network packet loss state is obtained by analyzing and processing the network packet loss rate of the preset network;
determining a dynamic threshold value for analyzing and processing the network packet loss rate;
and adjusting at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status.
In a second aspect, an embodiment of the present application provides a bandwidth adjustment apparatus, including:
The first acquisition module is used for acquiring a network bandwidth level and a network packet loss state of a preset network, wherein the network bandwidth level is obtained by analyzing and processing the network bandwidth of the preset network, and the network packet loss state is obtained by analyzing and processing the network packet loss rate of the preset network;
the first determining module is used for determining a dynamic threshold value for analyzing and processing the network packet loss rate;
and the first processing module is used for adjusting at least one of the network bandwidth and the dynamic threshold value based on the network bandwidth level and the network packet loss state.
In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor; the memory is configured to store one or more computer instructions, where the one or more computer instructions, when executed by the processor, implement the bandwidth adjustment method described in the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer storage medium storing a computer program, where the computer program makes a computer implement the bandwidth adjustment method described in the first aspect when the computer program is executed.
In a fifth aspect, embodiments of the present application provide a computer program product comprising: a computer program which, when executed by a processor of an electronic device, causes the processor to perform the steps of the bandwidth adjustment method as described in the first aspect above.
In a sixth aspect, an embodiment of the present invention provides a data transmission method, including:
acquiring a network bandwidth level and a network packet loss state of a network where an augmented reality terminal is located, wherein the network bandwidth level is obtained by analyzing and processing a network bandwidth of a preset network, and the network packet loss state is obtained by analyzing and processing a network packet loss rate of the preset network;
determining a dynamic threshold value for analyzing and processing the network packet loss rate;
adjusting at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status;
and transmitting the data to be displayed by the augmented reality terminal by using the adjusted network.
In a seventh aspect, an embodiment of the present invention provides a data transmission apparatus, including:
the second acquisition module is used for acquiring a network bandwidth level and a network packet loss state of a network where the augmented reality terminal is located, wherein the network bandwidth level is obtained by analyzing and processing a network bandwidth of a preset network, and the network packet loss state is obtained by analyzing and processing a network packet loss rate of the preset network;
the second determining module is used for determining a dynamic threshold value for analyzing and processing the network packet loss rate;
A second processing module, configured to adjust at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status;
and the second processing module is used for transmitting the data to be displayed by the augmented reality terminal by utilizing the adjusted network.
In an eighth aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor; wherein the memory is configured to store one or more computer instructions, where the one or more computer instructions, when executed by the processor, implement the data transmission method shown in the sixth aspect.
In a ninth aspect, an embodiment of the present application provides a computer storage medium storing a computer program, where the computer program causes a computer to implement the data transmission method shown in the sixth aspect.
In a tenth aspect, embodiments of the present application provide a computer program product comprising: a computer program which, when executed by a processor of an electronic device, causes the processor to perform the steps in the data transmission method as shown in the sixth aspect described above.
According to the technical scheme provided by the embodiment of the application, the network bandwidth level and the network packet loss state of the preset network are obtained, the dynamic threshold value for analyzing and processing the network packet loss rate is determined, and then at least one of the network bandwidth and the dynamic threshold value is adjusted based on the network bandwidth level and the network packet loss state, so that the adjustment of the network bandwidth and/or the dynamic threshold value under different network bandwidth levels and network packet loss states is effectively realized, the situation that the network packet loss is reduced but cannot be improved due to the reduction of the bandwidth is avoided, the reduction is not performed when the network packet loss condition is reduced to a certain stage, the bandwidth level required by the normal operation can be quickly recovered when the network packet loss rate is in a low bandwidth, the situation of low bandwidth and low image quality for a long time is avoided, and the good experience of users is further ensured, and the practicability of the method is effectively ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a scenario of a bandwidth adjustment method according to an embodiment of the present application;
fig. 2 is a flow chart of a bandwidth adjustment method according to an embodiment of the present application;
fig. 3 is a schematic flow diagram of adjusting at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status according to an embodiment of the present application;
fig. 4 is a second schematic flow chart for adjusting at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status according to the embodiment of the present application;
fig. 5 is a schematic diagram III of a flow chart for adjusting at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status according to an embodiment of the present application;
Fig. 6 is a schematic diagram of a flow chart for adjusting at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status according to an embodiment of the present application;
fig. 7 is a schematic diagram of a bandwidth adjustment system according to an embodiment of the present application;
fig. 8 is a schematic diagram of a bandwidth adjustment method according to an embodiment of the present application;
fig. 9 is an effect schematic diagram of a bandwidth adjustment method according to an embodiment of the present application;
fig. 10 is a schematic flow chart of a data transmission method according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a bandwidth adjusting device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device corresponding to the bandwidth adjusting apparatus shown in fig. 11;
fig. 13 is a schematic structural diagram of a data transmission device according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of an electronic device corresponding to the data transmission device shown in fig. 13.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, the "plurality" generally includes at least two, but does not exclude the case of at least one.
It should be understood that the term "and/or" as used herein is merely one relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a product or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such product or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude that an additional identical element is present in a commodity or system comprising the element.
In addition, the sequence of steps in the method embodiments described below is only an example and is not strictly limited.
Definition of terms:
extended Reality (XR for short): refers to a real and virtual combined, human-machine interactive environment generated by computer technology and wearable devices. XR may include various forms such as augmented Reality (Augmented Reality, abbreviated as AR), virtual Reality (VR), or Mixed Reality (MR), in other words, XR is actually a generic term, specifically including AR, VR, and MR. In brief, XR can be divided into multiple layers, and can go from a virtual world, which can be input by limited sensors, to a virtual world that is fully immersive.
Cloud augmented reality (CloudXR): the XR application is deployed on the cloud, and the terminal only has an XR application deployment scheme with display and interaction functions, so that the effect of realizing calculation force unloading of the XR application is realized.
Real-time communication technology (Real-Time Communication, abbreviated as RTC) is a generic name of a type of Real-time audio and video communication technology, and the design starting point is to implement Real-time audio and video conference of a network, and the end-to-end delay is usually less than 1 second.
Web real-time communication technology WebRTC: is a set of RTC open source software which is submerged in the mainstream browser and is now the fact standard of RTC.
Bandwidth estimation (Band Width Estimation, BWE for short) is a module in the RTC software to estimate the current end-to-end bandwidth size.
In order to facilitate understanding of the technical solutions provided by the embodiments of the present application by those skilled in the art, the following description describes related technologies:
with the development of new generation information technology, the metauniverse is becoming a hotspot field of great concern. The word Yuan universe is born in the science fiction novel avalanche of 1992, and the novel describes a huge virtual real world, and people use digital avatars to control the word and compete with each other to improve the position of the word, so that the word is described in the future world in advance. Briefly described, the meta-universe is a virtual world running parallel to the real world, and can provide a brand-new virtual experience for people in the real world. The main point of the method is to relate to the current mainstream technologies such as XR, internet of things (Internet of Things, ioT for short), blockchain, digital twin, 3D rendering, cloud computing and the like, wherein the XR technology is considered as a necessary technical means for entering the metauniverse from the real world, and can provide an immersive experience in the metauniverse for users.
XR technology, while providing an immersive user experience for the user, also places stringent demands on the computing power of the terminal. Not only are terminals required to have very high frame rates (e.g., VR technology requires greater than 90 FPS), but also very high picture resolution (e.g., VR technology is ideally 8K). In some scenes with complex pictures and frequent interaction, the calculation force of the terminal is compared with the requirement, and the displayed fly is at the elbow.
In order to provide strong computing power, the rendering calculation is pulled far, namely, the rendering calculation operation is executed on the side far away from the terminal to reduce the computing power requirement on the terminal, for example, the rendering calculation operation is completed on the server side; and then playing the video file in a streaming mode at the XR terminal to be an effective method for solving the problems. The Cloud XR technology is a key research scheme which can realize remote calculation, simultaneously can realize centralized resource management and collaborative scheduling of XR application, efficiently supports rendering calculation, reduces resource use cost and operation and maintenance cost, and is not negligible by means of high Cloud computing power and 5G advanced network communication. In particular, cloudXR technology involves multiple dimensions of rendering, transmission, display, interaction, etc., where the quality of network real-time video transmission is the core element that determines the user experience.
At present, the related art provides a method for serving a network audio/video conference, which mainly considers a typical situation of 480p video conference and is not suitable for a CloudXR application scene with higher requirements on bandwidth and instantaneity. Specifically, for the voice intercom portion in the audio-video conference, it is generally considered that only an end-to-end delay within 400 mm is required to meet the requirements, and meanwhile, since the main content of the audio-video conference is generally transferred through voice information, the delay of the video portion of WebRTC is not fully optimized. For the CloudXR scene, an end-to-end delay of 20-40 mm is usually required to ensure that the user is dizziness, and meanwhile, the information is mainly transmitted through a video picture, and the video quality is usually higher than 1080 p. Therefore, the WebRTC solution serving the network audio-video conference does not meet the scene requirement of CloudXR, and compared with the CloudXR scene, the existing bandwidth adjustment algorithm serving the network audio-video conference is too slow and conservative in terms of network bandwidth and data delay.
Specifically, in order to accurately distinguish between an application scenario of an online audio/video conference and an application scenario of CloudXR, the following is briefly described in terms of bandwidth estimation problem and requirement of CloudXR for bandwidth:
In an application scenario of real-time audio/video transmission, the size of the network bandwidth determines how high the image quality and how small the delay of the server can send data, and the image quality and the delay determine the core experience of the end user. It can be seen that accurate bandwidth estimation and bandwidth utilization are one of the central technical problems of real-time audio and video services, especially for the application scenario of CloudXR. This is because conventional real-time audio and video services are often suitable for online conferences or online education, where the main carrier for delivering information is audio, and video is often a portrait or whiteboard in a camera, which is achieved: (a) Since video data is slow in change and small in information amount, data transmission operation can be performed with lower resolution (for example: 480p or 720 p) and refresh frequency; (b) Since humans are less sensitive to sound delays than videos, typically end-to-end delays of less than 400ms can meet user needs.
However, for the application scenario of CloudXR, the main carrier for delivering information is video information, and with the movement, turning and interaction of the human body, the picture of the video is rapidly changing, and for VR scenario, in order to avoid dizziness caused by a step-by-step between the picture and the human body movement, the update delay of the picture is required to be less than 20ms, and the picture definition reaches 1080p or more. It can be seen that the application scenario of CloudXR requires a larger bandwidth and a higher delay than the traditional real-time audio/video transmission.
In addition, the conventional bandwidth estimation strategy is generally based on the observation of packet loss and delay of network transmission, and the design starting point is mainly used for solving the network congestion situation in the network, for example: when the network packet loss rate is observed to deteriorate, the congestion situation of the network is improved by directly reducing the use of bandwidth. However, if the conventional bandwidth estimation strategy is directly applied to the CloudXR application scenario, 2 problems that are unfavorable to the CloudXR scenario are easily caused: (a) Because the network resource use condition of the public network is complex, reducing own bandwidth at the same time does not necessarily improve the congestion condition of the network, when the bandwidth use is reduced and the packet loss condition is not improved, the abnormal packet loss is judged, and the network bandwidth is not reduced at the same time; (b) When the packet loss rate is in a medium packet loss state, the prior art adopts a maintenance strategy. However, this strategy can lead to slow network bandwidth estimation, even for applications with high requirements on picture definition and bandwidth, such as Cloud XR, the user experience can be poor if operating at low bandwidth for long periods of time.
In order to solve the above technical problems, the present embodiment provides a bandwidth adjustment method, a data transmission method, a device, and a computer storage medium. The implementation main body of the bandwidth adjusting method is a bandwidth adjusting device, and the bandwidth adjusting device can be deployed on a network side or a cloud side so as to realize flexible adjustment operation on network bandwidth, and specifically:
The bandwidth adjusting apparatus is an apparatus that can provide a bandwidth adjusting service in a network virtual environment, and generally refers to an apparatus that performs information planning and bandwidth adjusting operations using a network. In a physical implementation, the bandwidth adjustment means may be any device capable of providing a computing service, responding to a service request, and processing, for example: may be a cluster server, a conventional server, a cloud host, a virtual center, etc. The bandwidth adjusting device mainly comprises a processor, a hard disk, a memory, a system bus and the like, and is similar to a general computer architecture.
The bandwidth adjusting device is configured to obtain a network bandwidth level and a network packet loss state of a preset network, where the network bandwidth level of the preset network may be obtained by analyzing and processing a network bandwidth of the preset network, and the network bandwidth level may include any one of the following: low bandwidth level, medium bandwidth level, high bandwidth level; the network packet loss state is obtained by analyzing and processing a network packet loss rate of a preset network, and the network packet loss state can comprise any one of the following: a low packet loss state, a medium packet loss state, and a high packet loss state; in order to enable the network bandwidth to meet the requirements of users and ensure the user experience, a dynamic threshold for analyzing and processing the network packet loss rate can be determined, and it should be noted that the value of the dynamic threshold can be dynamically changed.
After the network bandwidth level and the network packet loss state are acquired, at least one of the network bandwidth and the dynamic threshold value can be adjusted based on the network bandwidth level and the network packet loss state, so that the adjustment of the network bandwidth under different network states and packet loss conditions is effectively realized, the situation that the network packet loss condition cannot be improved due to the reduction of the bandwidth can be avoided, the network bandwidth is not reduced any more by reducing the network bandwidth to a certain stage, and the network bandwidth can be quickly restored to the bandwidth level required by normal operation of the application when the network bandwidth is in a low bandwidth, and the conditions of low bandwidth and low image quality for a long time can be avoided, and further, the good experience of a user is ensured.
According to the bandwidth adjustment method, the data transmission method, the device and the computer storage medium, the network bandwidth level and the network packet loss state of the preset network are obtained, the dynamic threshold value for analyzing and processing the network packet loss rate is determined, at least one of the network bandwidth and the dynamic threshold value is adjusted based on the network bandwidth level and the network packet loss state, and the adjustment of the network bandwidth and/or the dynamic threshold value under different network bandwidth levels and network packet loss states is effectively realized, so that the situation that the bandwidth is reduced and the packet loss of the network cannot be improved is avoided, the bandwidth is not reduced when the bandwidth is reduced to a certain stage, the bandwidth level required by normal operation can be quickly recovered when the bandwidth is low, the situation that the bandwidth is low and the image quality is low for a long time is avoided, the good experience of users is further ensured, and the practicability of the method is effectively ensured.
The bandwidth adjustment method, the data transmission method, the device and the computer storage medium provided by the embodiments of the present application are specifically described below through an exemplary application scenario. In the case where there is no conflict between the embodiments, the following embodiments and features in the embodiments may be combined with each other.
Fig. 1 is a schematic view of a scenario of a bandwidth adjustment method according to an embodiment of the present application; fig. 2 is a flow chart of a bandwidth adjustment method according to an embodiment of the present application; referring to fig. 1-2, this embodiment provides a bandwidth adjustment method, where an execution body of the method may be a bandwidth adjustment device, where the bandwidth adjustment device may be applicable to a cloud XR scenario or a cloud computing scenario, etc., and may be implemented as software or a combination of software and hardware, and in a specific implementation, the bandwidth adjustment device may be a cluster server, a conventional server, a cloud host, a virtual center, etc. Specifically, the bandwidth adjustment method may include:
step S201: the method comprises the steps of obtaining a network bandwidth level and a network packet loss state of a preset network, wherein the network bandwidth level is obtained by analyzing and processing the network bandwidth of the preset network, and the network packet loss state is obtained by analyzing and processing the network packet loss rate of the preset network.
Step S202: a dynamic threshold for analyzing and processing the network packet loss rate is determined.
Step S203: at least one of the network bandwidth and the dynamic threshold is adjusted based on the network bandwidth level and the network packet loss status.
The implementation process of each step is described in detail below:
step S201: the method comprises the steps of obtaining a network bandwidth level and a network packet loss state of a preset network, wherein the network bandwidth level is obtained by analyzing and processing the network bandwidth of the preset network, and the network packet loss state is obtained by analyzing and processing the network packet loss rate of the preset network.
The preset network may be a network formed between the cloud platform and the terminal device, and specifically, referring to fig. 1, the terminal device may be connected to the cloud platform through a wireless access point (Wireless Access Point, abbreviated as AP). It can be understood that when the terminal device is of a different type, the preset network formed is also different, for example, when the terminal device is a live broadcast terminal, the preset network may be a live broadcast network formed between the cloud platform and the live broadcast terminal; or when the terminal device is an augmented reality terminal, the preset network may be a wireless network formed between the cloud platform and the augmented reality terminal. Specifically, the terminal device may include at least one of: personal computers (Personal Computer, abbreviated as PCs), cell phones, tablet computers, wearable devices (smart watches, smart glasses), or augmented reality terminals implemented by XR technology, etc.
In order to ensure the running stability and reliability of the preset network, the network bandwidth level of the preset network may be obtained by analyzing the network bandwidth of the preset network. In some examples, obtaining the network bandwidth level of the preset network may include: acquiring a network bandwidth of a preset network; determining a lowest bandwidth, a target bandwidth and a highest bandwidth for analyzing and processing network bandwidth, wherein the target bandwidth can be a preset Li Xiang bandwidth for ensuring the normal operation of network applications, and can be specifically positioned between the lowest bandwidth and the highest bandwidth; and then analyzing and processing the network bandwidth based on the lowest bandwidth, the target bandwidth and the highest bandwidth to obtain the network bandwidth level.
Specifically, analyzing the network bandwidth based on the lowest bandwidth, the target bandwidth, and the highest bandwidth, and obtaining the network bandwidth level may include: when the network bandwidth is between the lowest bandwidth and the target bandwidth, determining that the network bandwidth level is a low bandwidth level; when the network bandwidth is between the target bandwidth and the highest bandwidth, determining that the network bandwidth level is a medium bandwidth level; when the network bandwidth is higher than the highest bandwidth, the network bandwidth level is determined to be a high bandwidth level.
Similarly, in order to accurately adjust the preset network, besides obtaining the network bandwidth level of the preset network, the network packet loss state of the preset network may be obtained, where the network packet loss state is obtained by analyzing and processing the network packet loss rate of the preset network. In some examples, obtaining the network packet loss status of the preset network may include: acquiring a network packet loss rate of a preset network; and determining a first threshold value, a second threshold value and a dynamic threshold value, wherein the first threshold value, the second threshold value and the dynamic threshold value are used for analyzing and processing the network packet loss rate, the second threshold value is positioned between the first threshold value and the dynamic threshold value, and the dynamic threshold value can be a value not lower than 10%. After the first threshold, the second threshold and the dynamic threshold are obtained, the network packet loss rate can be analyzed and processed based on the first threshold, the second threshold and the dynamic threshold, and the network packet loss state is obtained.
Specifically, the analyzing the network packet loss rate based on the first threshold, the second threshold and the dynamic threshold may include: when the network packet loss rate is between the first threshold value and the second threshold value, determining that the network packet loss state is a low packet loss state; when the network packet loss rate is between the second threshold value and the dynamic threshold value, determining that the network packet loss state is a medium packet loss state; and when the network packet loss rate is higher than the dynamic threshold value, determining that the network packet loss state is a high packet loss state.
Step S202: a dynamic threshold for analyzing and processing the network packet loss rate is determined.
Because the network packet loss state is obtained by analyzing and processing the network packet loss rate of the preset network, when the network packet loss rate of the preset network is analyzed and processed, each threshold value for analyzing and processing the network packet loss rate needs to be obtained, wherein each threshold value for analyzing and processing the network packet loss rate can comprise a dynamic threshold value, the dynamic threshold value can be a preconfigured threshold value, and the numerical value corresponding to the dynamic threshold value can be dynamically changed.
Because the value corresponding to the dynamic threshold value is changed, and the dynamic threshold value is closely related to the network packet loss state, specifically, when the vertical of the dynamic threshold value is changed, the network packet loss state may also be changed. Therefore, in order to accurately adjust the preset network, a dynamic threshold for analyzing the network packet loss rate may be determined, and in some examples, the dynamic threshold may be stored in a preset area, and the dynamic threshold for analyzing the network packet loss rate may be obtained by accessing the preset area.
Step S203: at least one of the network bandwidth and the dynamic threshold is adjusted based on the network bandwidth level and the network packet loss status.
Because different network bandwidth levels and network packet loss states can identify the data processing performance of the preset network, for example, when the network bandwidth level is a high bandwidth level, the data processing performance of the preset network is higher; when the network bandwidth level is a low bandwidth level, the data processing performance of the preset network is lower. When the network packet loss state is a high packet loss state, the packet loss condition of the preset network is higher, and when the network packet loss state is a low packet loss state, the packet loss condition of the preset network is lower.
Based on the above statement, in order to ensure the data processing performance of the preset network, after the network bandwidth level and the network packet loss state are acquired, the network bandwidth level and the network packet loss state may be analyzed and processed, and then at least one of the network bandwidth and the dynamic threshold may be adjusted based on the processing result, that is, when the preset network is in different data processing performances, different adjustment strategies may be adopted to adjust the preset network, for example, when the network packet loss state is in a high packet loss state, that is, in a higher packet loss rate, in order to ensure the quality and delay of data transmission, the network bandwidth may be reduced, and the dynamic threshold may be improved. When the network packet loss state is in a low packet loss state, in order to enable the network bandwidth to be quickly recovered, the user experience is ensured, the network bandwidth can be increased, and the dynamic threshold value is reduced. When the network packet loss state is a medium packet loss state, the dynamic threshold value can be kept unchanged, the network bandwidth is increased, and the like.
Specifically, the specific implementation manner of adjusting at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss state is not limited in this embodiment, in some examples, a machine learning model for adjusting at least one of the network bandwidth and the dynamic threshold is trained in advance, after the network bandwidth level and the network packet loss state are acquired, the network bandwidth level and the network packet loss state may be input into the machine learning model, so that prompt information for adjusting at least one of the network bandwidth and the dynamic threshold may be obtained, so that a user may timely and effectively adjust the network bandwidth and/or the dynamic threshold of the preset network based on the prompt information.
According to the bandwidth adjustment method provided by the embodiment, the network bandwidth level and the network packet loss state of the preset network are obtained, the dynamic threshold value for analyzing and processing the network packet loss rate is determined, and then at least one of the network bandwidth and the dynamic threshold value is adjusted based on the network bandwidth level and the network packet loss state, so that the adjustment of the network bandwidth and/or the dynamic threshold value under different network bandwidth levels and network packet loss states is effectively realized, the situation that the bandwidth is reduced but the packet loss condition of the network cannot be improved is avoided, the bandwidth is not reduced when the bandwidth is reduced to a certain stage, the bandwidth level required by normal operation of the application can be quickly recovered when the bandwidth is low, the situation of low bandwidth and low image quality for a long time is avoided, and further good experience of users is ensured, and the practicability of the method is effectively ensured.
Fig. 3 is a schematic diagram of a flow chart for adjusting at least one of a network bandwidth and a dynamic threshold based on a network bandwidth level and a network packet loss status according to an embodiment of the present application; on the basis of the foregoing embodiment, referring to fig. 3, the present embodiment provides an implementation manner for analyzing and processing a network bandwidth level and a network packet loss state, and specifically, in this embodiment, adjusting at least one of a network bandwidth and a dynamic threshold based on the network bandwidth level and the network packet loss state may include:
step S301: and when the network packet loss state is a preset low packet loss state, determining a first adjustment strategy corresponding to the preset network.
The method comprises the steps of configuring a first adjustment strategy for adjusting a preset network in advance, wherein the first adjustment strategy is a strategy for increasing the network bandwidth of the preset network and reducing a dynamic threshold value. Therefore, when the network packet loss state is the preset low packet loss state, it is indicated that the packet loss rate of the preset network is lower, and the network state of the preset network is better, so that good experience of the user can be ensured, and the first adjustment strategy corresponding to the preset network can be determined.
Step S302: the network bandwidth is increased and the dynamic threshold is lowered based on the first adjustment policy.
After the first adjustment policy is obtained, the network bandwidth and the dynamic threshold of the preset network can be adjusted based on the first adjustment policy, specifically, when the network packet loss state is a preset low packet loss state, the packet loss rate of the preset network is lower, the network state of the preset network is better, and in order to further improve the processing quality of data (audio data, video data, image data and the like), reduce the data delay and increase the network bandwidth.
In increasing network bandwidth, one implementation is: the bandwidth step frequency used for adjusting the network bandwidth is acquired, the bandwidth step frequency can be 0.5Mbps, 1Mbps, 1.5Mbps and the like, and then the network bandwidth can be increased based on the bandwidth step frequency, so that the adjusted network bandwidth can be acquired, and at the moment, the adjusted network bandwidth can be the sum of the network bandwidth and the bandwidth step frequency.
In addition to the above implementation manner of increasing the network bandwidth, this embodiment further provides another implementation manner of increasing the network bandwidth based on the first adjustment policy, which specifically includes: acquiring a first adjustment proportion and a bandwidth adjustment amplitude for increasing network bandwidth; the network bandwidth is increased based on the first adjustment ratio and the bandwidth adjustment amplitude.
Wherein, a first adjustment proportion and a bandwidth adjustment amplitude are preconfigured for adjusting the network bandwidth, the first adjustment proportion can be a value larger than 0 and smaller than 1, the bandwidth adjustment amplitude can be a preconfigured value for increasing the speed of adjusting the network bandwidth, and the bandwidth adjustment amplitude can be preconfigured 0.5k, 0.8k, 1k and the like. The preconfigured first adjustment ratio and bandwidth adjustment amplitude may be stored in a preset area, the first adjustment ratio and bandwidth adjustment amplitude for increasing the network bandwidth may be obtained by accessing the preset area, and after the first adjustment ratio and bandwidth adjustment amplitude for increasing the network bandwidth are obtained, the network bandwidth may be increased based on the first adjustment ratio and bandwidth adjustment amplitude.
Specifically, increasing the network bandwidth based on the first adjustment ratio and the bandwidth adjustment magnitude may include: and obtaining the bandwidth sum value between the network bandwidth and the bandwidth adjustment amplitude, and determining the product value of the bandwidth sum value and the first adjustment proportion as the adjusted bandwidth. For example, the first adjustment ratio is k%, the bandwidth adjustment range is B, the network bandwidth is W, after the parameters are obtained, the bandwidth sum w+b may be obtained first, and then the adjusted bandwidth (w+b) k% may be obtained.
In other examples, increasing the network bandwidth based on the first adjustment ratio and the bandwidth adjustment magnitude may include: obtaining a product value of a first adjustment proportion and a network bandwidth, wherein the first adjustment proportion is a value which is more than 0 and less than 1; and determining the sum of the product value and the bandwidth adjustment amplitude as the adjusted network bandwidth. For example, the first adjustment ratio is k%, the bandwidth adjustment range is B, the network bandwidth is W, after the parameters are obtained, the product value w×k% may be obtained first, and then the adjusted bandwidth w×k++b may be obtained.
After the first adjustment policy is obtained, not only the network bandwidth may be increased based on the first adjustment policy, but also the dynamic threshold may be reduced, where reducing the dynamic threshold, an implementation may include: acquiring a packet loss rate adjustment amplitude for reducing a dynamic threshold; and adjusting the amplitude based on the packet loss rate, and reducing the dynamic threshold.
The method comprises the steps that a packet loss rate adjustment amplitude used for adjusting a dynamic threshold is preconfigured, the packet loss rate adjustment amplitude can be 1%, 1.5% and 2% equivalent, the preconfigured packet loss rate adjustment amplitude can be stored in a preset area, and the packet loss rate adjustment amplitude used for adjusting the dynamic threshold can be obtained by accessing the preset area. After the packet loss rate adjustment amplitude for adjusting the dynamic threshold is obtained, the dynamic threshold may be lowered based on the packet loss rate adjustment amplitude. Specifically, based on the packet loss rate adjustment amplitude, reducing the dynamic threshold may include: and determining the difference value between the dynamic threshold value and the packet loss rate adjustment amplitude as an adjusted dynamic threshold value, wherein the adjusted dynamic threshold value is the dynamic threshold value-packet loss rate adjustment amplitude.
Alternatively, the packet loss rate adjustment range may be a value greater than 0 and less than 1, and after the packet loss rate adjustment range for adjusting the dynamic threshold is acquired, the dynamic threshold may be lowered based on the packet loss rate adjustment range. Specifically, based on the packet loss rate adjustment amplitude, reducing the dynamic threshold may include: and determining a product value between the dynamic threshold and the packet loss rate adjustment amplitude as an adjusted dynamic threshold, wherein the adjusted dynamic threshold is the dynamic threshold, the packet loss rate adjustment amplitude, and the adjusted dynamic threshold is smaller than the dynamic threshold.
In this embodiment, when the network packet loss state is a preset low packet loss state, by determining a first adjustment policy corresponding to the preset network, and then increasing the network bandwidth and reducing the dynamic threshold based on the first adjustment policy, it is effectively achieved that when the network state of the preset network is good, the quality of data processing can be further improved by increasing the network bandwidth and reducing the dynamic threshold, the data delay is reduced, the data processing performance of the preset network is further improved, and the running stability and reliability of the network are ensured.
Fig. 4 is a second schematic flow chart for adjusting at least one of a network bandwidth and a dynamic threshold based on a network bandwidth level and a network packet loss status according to an embodiment of the present application; on the basis of the foregoing embodiment, referring to fig. 4, another implementation manner of analyzing and processing a network bandwidth level and a network packet loss state is provided in this embodiment, and specifically, adjusting at least one of a network bandwidth and a dynamic threshold based on the network bandwidth level and the network packet loss state in this embodiment may include:
Step S401: and when the network packet loss state is a preset medium packet loss state and the network bandwidth level is a preset low bandwidth level, determining a second adjustment strategy corresponding to the preset network.
The second adjustment policy is configured in advance for adjusting the preset network, and the second adjustment policy refers to a policy that needs to increase the network bandwidth of the preset network and keep the dynamic threshold unchanged. Specifically, when the network packet loss state is a preset medium packet loss state and the network bandwidth level is a preset low bandwidth level, it is indicated that the packet loss rate of the preset network is in the medium state and the bandwidth of the preset network is lower at this time, and in order to ensure the quality and efficiency of data transmission, a second adjustment strategy corresponding to the preset network may be determined.
Step S402: the network bandwidth is increased based on the second adjustment policy and the dynamic threshold is maintained unchanged.
After the second adjustment policy is obtained, the network bandwidth and the dynamic threshold of the preset network can be adjusted based on the second adjustment policy, specifically, when the network packet loss state is a preset medium packet loss state and the network bandwidth level is a preset low bandwidth level, the packet loss rate of the preset network is medium, the network bandwidth of the preset network is low, in order to further improve the quality of data processing, reduce the data delay, increase the network bandwidth, and keep the dynamic threshold unchanged, that is, the dynamic threshold corresponding to the current moment is ensured to be the same as the dynamic threshold corresponding to the previous moment.
In increasing network bandwidth, an implementation of increasing network bandwidth based on a second adjustment policy may include: a bandwidth adjustment step for increasing the network bandwidth is obtained, wherein the bandwidth adjustment step may be 0.5Mbps, 1Mbps, 1.5Mbps, etc., and then the sum of the bandwidth adjustment step and the network bandwidth may be determined as the adjusted network bandwidth.
In addition to the above implementation manner of increasing the network bandwidth, this embodiment further provides another implementation manner of increasing the network bandwidth based on the second adjustment policy, which specifically includes: acquiring an increased bandwidth proportion for increasing the network bandwidth, wherein the increased bandwidth proportion is a value greater than 1; and determining the product value of the network bandwidth and the increased bandwidth proportion as the adjusted network bandwidth.
In this embodiment, when the network packet loss state is a preset medium packet loss state and the network bandwidth level is a preset low bandwidth level, the second adjustment policy corresponding to the preset network is determined, and then the network bandwidth is increased based on the second adjustment policy, and the dynamic threshold is kept unchanged, so that when the network bandwidth of the preset network is low and the network packet loss rate is in the medium packet loss state, the quality of data processing can be further improved, the data delay is reduced, the data processing performance of the preset network is further improved, and the stability and reliability of the operation of the preset network are ensured.
Fig. 5 is a flow chart diagram III for adjusting at least one of a network bandwidth and a dynamic threshold based on a network bandwidth level and a network packet loss status according to an embodiment of the present application; on the basis of the foregoing embodiment, referring to fig. 5, the present embodiment provides another implementation manner of analyzing and processing a network bandwidth level and a network packet loss state, and specifically, adjusting at least one of a network bandwidth and a dynamic threshold based on the network bandwidth level and the network packet loss state in the present embodiment may include:
step S501: and when the network packet loss state is a preset medium packet loss state and the network bandwidth level is a preset medium bandwidth level, determining a third adjustment strategy corresponding to the preset network.
The third adjustment policy is configured in advance for adjusting the preset network, and the third adjustment policy refers to a policy that needs to keep the network bandwidth of the preset network unchanged and reduce the dynamic threshold. Specifically, when the network packet loss state is a preset medium packet loss state and the network bandwidth level is a preset medium bandwidth level, it is indicated that the packet loss rate of the preset network is in a medium state and the bandwidth of the preset network is in a relatively ideal bandwidth condition, and in order to ensure the quality and efficiency of data transmission, a third adjustment strategy corresponding to the preset network can be determined.
Step S502: the network bandwidth is kept unchanged and the dynamic threshold is lowered based on a third adjustment strategy.
After the third adjustment policy is obtained, the network bandwidth and the dynamic threshold of the preset network can be adjusted based on the third adjustment policy, specifically, when the network packet loss state is a preset medium packet loss state and the network bandwidth level is a preset medium bandwidth level, the packet loss rate of the preset network is medium, the network bandwidth of the preset network is in a relatively ideal bandwidth condition, and in order to further improve the quality of data processing, the network bandwidth can be kept unchanged and the dynamic threshold can be reduced.
In reducing the dynamic threshold based on the third adjustment policy, one implementation may include: acquiring a packet loss rate adjustment amplitude for reducing a dynamic threshold; and adjusting the amplitude based on the packet loss rate, and reducing the dynamic threshold.
The preset packet loss rate adjustment amplitude used for adjusting the dynamic threshold value is preconfigured, the packet loss rate adjustment amplitude can be 1%, 1.5% and 2% equivalent, the preconfigured packet loss rate adjustment amplitude can be stored in a preset area, the packet loss rate adjustment amplitude used for adjusting the dynamic threshold value can be obtained by accessing the preset area, and the dynamic threshold value can be reduced based on the packet loss rate adjustment amplitude after the packet loss rate adjustment amplitude used for adjusting the dynamic threshold value is obtained. Specifically, based on the packet loss rate adjustment amplitude, reducing the dynamic threshold may include: and determining the difference value between the dynamic threshold value and the packet loss rate adjustment amplitude as an adjusted dynamic threshold value, wherein the adjusted dynamic threshold value is the dynamic threshold value-packet loss rate adjustment amplitude.
Alternatively, the packet loss rate adjustment range may be a value greater than 0 and less than 1, and after the packet loss rate adjustment range for adjusting the dynamic threshold is acquired, the dynamic threshold may be lowered based on the packet loss rate adjustment range. Specifically, based on the packet loss rate adjustment amplitude, reducing the dynamic threshold may include: and determining a product value between the dynamic threshold and the packet loss rate adjustment amplitude as an adjusted dynamic threshold, wherein the adjusted dynamic threshold is the dynamic threshold, the packet loss rate adjustment amplitude, and the adjusted dynamic threshold is smaller than the dynamic threshold.
In this embodiment, when the network packet loss state is a preset medium packet loss state and the network bandwidth level is a preset medium bandwidth level, the third adjustment policy corresponding to the preset network is determined, and then the network bandwidth is kept unchanged and the dynamic threshold is reduced based on the third adjustment policy, so that when the network bandwidth of the preset network is at a relatively ideal bandwidth level and the network packet loss rate is in the medium packet loss state, the quality of data processing can be further ensured, the data delay is reduced, and the stability and reliability of network operation are further improved.
Fig. 6 is a flow chart diagram for adjusting at least one of a network bandwidth and a dynamic threshold based on a network bandwidth level and a network packet loss status according to an embodiment of the present application; on the basis of the foregoing embodiment, referring to fig. 6, another implementation manner of analyzing and processing a network bandwidth level and a network packet loss state is provided in this embodiment, and specifically, adjusting at least one of a network bandwidth and a dynamic threshold based on the network bandwidth level and the network packet loss state in this embodiment may include:
step S601: and when the network packet loss state is a preset high packet loss state, determining a fourth adjustment strategy corresponding to the preset network.
The method comprises the steps of configuring a fourth adjustment strategy for adjusting a preset network in advance, wherein the fourth adjustment strategy is a strategy for reducing network bandwidth and increasing a dynamic threshold. Specifically, when the network packet loss state is a preset high packet loss state, it is indicated that the packet loss rate of the preset network is higher, and the network state of the preset network is worse at this time, so that in order to ensure the quality and efficiency of data transmission, a fourth adjustment policy corresponding to the preset network may be determined.
Step S602: the network bandwidth is reduced and the dynamic threshold is increased based on a fourth adjustment policy.
After the fourth adjustment policy is obtained, the network bandwidth and the dynamic threshold of the preset network can be adjusted based on the fourth adjustment policy, specifically, when the network packet loss state is a preset high packet loss state, it is indicated that the packet loss rate of the preset network is higher at this time, and at this time, in order to ensure the quality of data processing, the network bandwidth can be reduced and the dynamic threshold can be increased.
In reducing the network bandwidth, an implementation manner of reducing the network bandwidth based on the fourth adjustment policy may include: acquiring a current network packet loss rate of a preset network; determining a second adjustment proportion of the network bandwidth based on the current network packet loss rate, wherein the second adjustment proportion is a value greater than 0 and less than 1; the product of the second adjustment ratio and the network bandwidth may then be determined as the adjusted network bandwidth.
Specifically, when the network packet loss state is a preset high packet loss state, in order to adjust the network bandwidth of the preset network in combination with the network packet loss state, the second adjustment proportion for adjusting the network bandwidth may be related to the current network packet loss rate of the preset network, so, in order to accurately obtain the second adjustment proportion for adjusting the network bandwidth, the current network packet loss rate of the preset network may be obtained first, then the current network packet loss rate may be analyzed and processed to determine the second adjustment proportion of the network bandwidth, and after the second adjustment proportion is obtained, the product value of the second adjustment proportion and the network bandwidth may be determined as the adjusted network bandwidth.
It should be noted that, based on the current network packet loss rate, one implementation of determining the second adjustment ratio of the network bandwidth may include: the mapping relation between the current network packet loss rate and the second adjustment proportion is preconfigured, and after the current network packet loss rate is obtained, the second adjustment proportion of the network bandwidth can be determined based on the mapping relation and the current network packet loss rate.
In other examples, determining the second adjustment ratio of the network bandwidth based on the current network packet loss rate may include: acquiring a half value of a network packet loss rate; and determining the percentage corresponding to the half value as a second adjustment proportion.
For example, after the current network packet loss rate P is obtained, a half value of the network packet loss rate P/2 may be obtained, and then the percentage corresponding to the half value is determined as the second adjustment ratio, i.e., the second adjustment ratio is (P/2)%.
In addition to the above implementation manner of reducing the network bandwidth, this embodiment further provides another implementation manner of reducing the network bandwidth based on the fourth adjustment policy, which specifically includes: acquiring a bandwidth adjustment step frequency for reducing network bandwidth; and determining the difference value between the network bandwidth and the bandwidth adjustment step frequency as the adjusted network bandwidth.
After the fourth adjustment policy is obtained, not only the network bandwidth can be reduced based on the fourth adjustment policy, but also the dynamic threshold can be increased, and when the dynamic threshold is increased, an implementation manner for increasing the dynamic threshold can include: acquiring a packet loss rate adjustment amplitude for increasing a dynamic threshold; and adjusting the amplitude based on the packet loss rate, and increasing the dynamic threshold.
The preset packet loss rate adjustment amplitude used for adjusting the dynamic threshold value is preconfigured, the packet loss rate adjustment amplitude can be 1%, 1.5% and 2% equivalent, the preconfigured packet loss rate adjustment amplitude can be stored in a preset area, the packet loss rate adjustment amplitude used for adjusting the dynamic threshold value can be obtained by accessing the preset area, and the dynamic threshold value can be increased based on the packet loss rate adjustment amplitude after the packet loss rate adjustment amplitude used for adjusting the dynamic threshold value is obtained. Specifically, based on the packet loss rate adjustment amplitude, increasing the dynamic threshold may include: and determining the sum value between the dynamic threshold and the packet loss rate adjustment amplitude as an adjusted dynamic threshold, wherein the adjusted dynamic threshold is the dynamic threshold and the packet loss rate adjustment amplitude.
Or, the packet loss rate adjustment amplitude may be a value greater than 1, the preconfigured packet loss rate adjustment amplitude may be stored in a preset area, the packet loss rate adjustment amplitude for adjusting the dynamic threshold may be obtained by accessing the preset area, and after the packet loss rate adjustment amplitude for adjusting the dynamic threshold is obtained, the dynamic threshold may be increased based on the packet loss rate adjustment amplitude. Specifically, based on the packet loss rate adjustment amplitude, increasing the dynamic threshold may include: and determining a product value between the dynamic threshold and the packet loss rate adjustment amplitude as an adjusted dynamic threshold, wherein the adjusted dynamic threshold is the dynamic threshold and the packet loss rate adjustment amplitude, and the obtained adjusted dynamic threshold is larger than the dynamic threshold.
In this embodiment, when the network packet loss state is a preset high packet loss state, a fourth adjustment policy corresponding to the preset network is determined, and then the network bandwidth is reduced and the dynamic threshold is increased based on the fourth adjustment policy, so that when the network state of the preset network is worse, the quality of data processing can be ensured as much as possible by reducing the network bandwidth and increasing the dynamic threshold, and the stability and reliability of the method are further ensured.
In a specific application, referring to fig. 7 to fig. 8, the present application embodiment provides a bandwidth estimation method to meet the use requirement of a strong real-time and large bandwidth application scenario, where the strong real-time and large bandwidth application scenario may include an application scenario implemented by a Cloud XR technology, for example: an extended reality scene related to a game, an extended reality scene related to a meeting, an extended reality scene related to a live broadcast, and the like, which are implemented through the Cloud XR technology. In an extended reality scenario related to a game, which is realized through the Cloud XR technology, the extended reality terminal may be a head-mounted display device realized through the AR, VR or MR technology, the head-mounted display device may be connected to a Cloud end through a wireless access point, the cradle head may acquire game related data for displaying in the head-mounted display device, perform compression encoding processing operation on the game related data, and then send the compression encoded game related data to the head-mounted display device through a preset network, so that the head-mounted display device may decode and display the obtained game related data.
In the extended reality scene related to the conference or the extended reality scene related to the live broadcast, which is realized by the Cloud XR technology, the extended reality terminal may be a conference display device or a live broadcast display device realized by the AR, VR or MR technology, the conference display device or the live broadcast display device may be connected to the Cloud end through a wireless access point, the Cloud deck may acquire conference related data or live broadcast related data for displaying in the conference display device or the live broadcast display device, perform a compression encoding processing operation on the conference related data or the live broadcast related data, and then send the compression encoded conference related data or live broadcast related data to the conference display device or the live broadcast display device through a preset network, so that the conference display device or the live broadcast display device may decode and display the acquired conference related data or live broadcast related data.
The following description will take as an example a platform as a service (PaaS) platform to which the bandwidth estimation method is applied to the Cloud XR, where the platform as a service (PaaS): the functionality provided to the consumer is to deploy applications created or acquired by the consumer using provider-supported programming languages and tools onto the cloud infrastructure. Consumers do not manage or control underlying cloud infrastructure, including networks, servers, operating systems, or storage, but can control deployed applications and possibly application hosting environment configurations.
Referring to fig. 7, the platform and the service platform may mainly include: the cloud upper part, the network part and the terminal upper part, wherein the cloud upper part can comprise a platform management module, an application service module and a media service module, and the platform management module comprises: an application management module mainly responsible for management of respective Applications (APP) and a resource scheduling management module for performing management scheduling on resources. The application service module is mainly used for abstracting cloud resources such as data sources on the cloud facing to an application side, providing a virtualized XR operation platform for the application, carrying out data transmission to the lower side, processing three streams, namely a video stream, an audio stream and an interactive stream, and specifically, processing the video stream and the audio stream mainly comprises: and carrying out coding compression operation on the generated video stream and audio stream, and then sending the coded and compressed video stream and audio stream to the terminal through a network so as to carry out decoding and display operation of data through the terminal part. The media service module is mainly responsible for processing video streams, audio streams and transmission of interactive streams.
The network part is mainly used for high bandwidth, low time delay and high concurrency requirements required by the whole platform in the process of data transmission, namely, the functions of bandwidth guarantee, time delay guarantee, concurrency guarantee and the like are realized.
The upper end portion mainly includes: the system comprises a media transmission part and a negative data processing part, wherein the media transmission part is mainly responsible for transmitting media services, and is mainly responsible for processing video streams, audio streams and interactive streams. The data processing part is mainly responsible for processing sensor data on the terminal, such as: after the data corresponding to the sensors such as the camera, the microphone, the handle, the Inertial Measurement Unit (IMU), the glove and the like are obtained, the sensor data can be converted into corresponding media services, and then corresponding interaction instructions can be realized.
Specifically, referring to fig. 8, in order to achieve adjustment and control between preset networks by using a bandwidth estimation method and ensure the quality and efficiency of the operation of the preset networks, the method in this application embodiment is preconfigured with a minimum bandwidth, a target bandwidth and a maximum bandwidth for analyzing and processing the network bandwidth of the preset networks, and a first threshold (for example, 0%, 0.01% and so on) and a second threshold (for example, 2%, 2.05% and so on) for analyzing and processing the network packet loss rate of the preset networks, and a dynamic packet loss threshold D, where the target bandwidth is a value between the maximum bandwidth and the minimum bandwidth to ensure the normal bandwidth of the smooth operation of the CloudXR application; the second threshold is located between the first threshold and the dynamic threshold, the dynamic packet loss threshold D may be a value not lower than a preset lower limit value (for example, 10%, 9%, 11%, etc.), and the bandwidth estimation method provided by the application embodiment further introduces a callback bandwidth B for adjusting the network bandwidth, and based on the above parameters, the bandwidth estimation method provided by the application embodiment may include the following steps:
Step 1: and acquiring the network bandwidth and the network packet loss rate of a preset network.
Step 2: when the network bandwidth is greater than or equal to the highest bandwidth, the network bandwidth may be reduced, and in general, the reduced network bandwidth may be less than or equal to the highest bandwidth.
Step 3: when the network bandwidth is between the lowest bandwidth and the highest bandwidth and the network packet loss rate is higher than the dynamic packet loss threshold value D, the network bandwidth can be reduced and the dynamic packet loss threshold value D can be improved at the same time, so that the problem that the packet loss condition is not improved even if the network bandwidth drops immediately under the abnormal packet loss scene is avoided.
Specifically, the current network packet loss rate P of the preset network may be obtained first, then a ratio parameter for reducing the network bandwidth is determined based on the current network packet loss rate P, the ratio parameter is (P/2)%, and then a product value of the ratio parameter and the network bandwidth may be determined as the adjusted network bandwidth. It should be noted that the ratio parameter may be obtained not only by the above formula, but also by other formulas, for example: the ratio parameters may be (P/3)%, (P/4)%, (P/5)%, etc.
Increasing the dynamic packet loss threshold D may include: and acquiring a step length for improving the dynamic packet loss threshold value D, and determining the sum of the step length and the dynamic packet loss threshold value D as an adjusted dynamic threshold value, thereby effectively realizing flexible and stable adjustment operation on the dynamic packet loss threshold value D.
Step 4: when the network bandwidth is lower than the target bandwidth and the network packet loss rate is between the second threshold and the dynamic packet loss threshold D, the dynamic packet loss threshold D can be ensured to be unchanged, and the network bandwidth is increased through the preset callback bandwidth B, so that the quick recovery operation of the network bandwidth is realized, and the user experience is ensured.
The callback bandwidth B may be a preconfigured step size for performing a fast recovery operation on the network bandwidth, and in general, the callback bandwidth B may be 1Mbps, 0.5Mbps, 1.5Mbps, etc., where the value of the callback bandwidth B is often not too large, for example: the callback bandwidth B may be smaller than a preset value such as 5Mbps, so that a situation that a network is congested due to an excessive recovery degree of the network bandwidth can be avoided, for example: when the network bandwidth is increased from 10M to 40M, the network is easy to be congested due to the overlarge adjustment amplitude of the network bandwidth, and the quality and efficiency of data processing are further reduced.
Step 5: when the network bandwidth is higher than the target bandwidth and lower than the highest bandwidth, the network packet loss rate is between the second threshold and the dynamic threshold, and at this time, the network bandwidth is in a more ideal bandwidth condition, but the network packet loss rate is in a medium level, so that for the preset network at this time, the network bandwidth is not increased continuously, i.e. the network bandwidth is kept unchanged, and the dynamic threshold is reduced.
When the dynamic threshold is reduced, the adjusting step frequency for adjusting the dynamic threshold can be acquired first, and then the difference value between the dynamic threshold and the adjusting step frequency can be determined as an adjusted dynamic threshold, wherein the adjusted dynamic threshold is smaller than the dynamic threshold. In addition, when the post-adjustment dynamic threshold is smaller than the preset lower limit value, the preset lower limit value may be determined as the post-adjustment threshold.
Step 6: when the network bandwidth does not exceed the highest bandwidth and the network packet loss rate is between the first threshold and the second threshold, the current network state is better, and at this time, the dynamic threshold can be reduced and the network bandwidth can be continuously increased, so that better CloudXR data transmission operation is realized.
Referring to fig. 9, a schematic diagram of comparing the effects of the related art and the technical solution of the present embodiment is provided, where the vertical axis in the effect diagram is a network bandwidth level, the network usage effects of the technical solution provided in the present embodiment and the network bandwidth estimation method in the related art are compared respectively in an application scenario with a packet loss rate of 10% and an application scenario with a packet loss rate of 20%, specifically, in an application scenario with a packet loss rate of 10%, after the preset network is controlled and adjusted by using the network bandwidth estimation method in the related art, the average value corresponding to the network bandwidth of the preset network is 868Kbps, the median is 292Kbps, and when the preset network is adjusted and controlled by using the network bandwidth estimation method in the present embodiment, the average value corresponding to the network bandwidth of the preset network is 3461Kbps, and the median is 3528Kbps, and it is known by comparing that the network bandwidth level corresponding to the bandwidth estimation method in the present embodiment is significantly greater than the network bandwidth level corresponding to the related art.
Similarly, in an application scenario of 20% packet loss rate, when the network bandwidth estimation method in the related art is used to control and adjust the preset network, the average value corresponding to the network bandwidth of the preset network is 159Kbps, the median is 32Kbps, and when the network bandwidth estimation method in the embodiment is used to adjust and control the preset network, the average value corresponding to the network bandwidth of the preset network is 2936Kbps, the median is 3185Kbps, and by comparison, the network bandwidth level corresponding to the bandwidth estimation method in the embodiment is obviously greater than the network bandwidth level corresponding to the related art.
As can be seen from comparison, in the application scenario of 10% and 20% packet loss, when the method in the embodiment is used to adjust and control the preset network, the network application effect is improved significantly, and since the quality of data processing (the picture quality of the image) is closely related to the network bandwidth, the picture quality of the image is clearer when the network bandwidth is higher, so that the effect of the network bandwidth method in the embodiment is more prominent in the image display scenario.
It should be noted that, the bandwidth estimation method provided by the application embodiment may be applicable not only to cloud XR scenarios but also to cloud computing scenarios, specifically, cloud computing is one of the fastest trends of computer technology, and involves providing hosting services through a network. The cloud computing environment provides computing and storage resources as services to end users. The end user may make a request to the provided service for processing. The processing power of a service is typically limited by configuration resources.
It should be understood that while the present disclosure includes a detailed description of cloud computing, implementations of the teachings herein are not limited to cloud computing environments. Rather, embodiments of the invention can be implemented in connection with any other type of computing environment, now known or later developed. Cloud computing is a service delivery model aimed at enabling on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processes, memory, storage, applications, virtual machines, and services) that can be rapidly deployed and released with minimal administrative effort or interaction with service providers.
The cloud model may include at least five features, at least three service models, and at least four deployment models. The characteristics are as follows:
on-demand self-service: cloud consumers can automatically unilaterally provide computing power, such as server time and network storage, as needed without manual interaction with the service provider.
Extensive network access: functionality is provided through the network and accessed through standard mechanisms to facilitate the use of heterogeneous thin client or thick client platforms, such as mobile phones, notebook computers, and PDAs (personal digital assistants).
And (3) a resource pool: providers use a multi-tenant model to centralize computing resources, serve multiple consumers, and dynamically allocate and reallocate different physical and virtual resources as needed. There is a sense of independence of location, i.e., the consumer typically has no control or knowledge of the exact location of the provided resources, but may specify the location at a higher level of abstraction (e.g., country, state, or data center).
Quick elasticity: the capability may be quickly, flexibly configured, and in some cases automatic, to expand quickly, and quickly released to expand quickly. The available functions for deployment are typically unlimited for the consumer, and any number of functions may be purchased at any time.
Measurement service: cloud systems automatically control and optimize resource usage by utilizing measurement functions at an abstraction level corresponding to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage may be detected, controlled, and reported to provide transparency to the provider and user of the service being used.
According to the bandwidth estimation method provided by the application embodiment, by introducing a dynamic packet loss threshold D (for example, 10%) to adaptively adjust an upper limit threshold for analyzing and processing the network packet loss rate, detection of abnormal network packet loss can be realized, the video transmission quality and delay of the CloudXR under the condition of higher packet loss are guaranteed, specifically, when the packet loss rate of a preset network is detected to be at a high packet loss level, the network bandwidth can be reduced at the moment, the dynamic packet loss threshold D can be adjusted upwards, so that detection of abnormal packet loss is realized, and at the moment, if the packet loss condition of the network cannot be improved due to the reduction of the bandwidth, the abnormal packet loss rate is reduced to a certain stage and is not reduced any more, so that the situation that the network bandwidth is always blindly reduced due to the fact that the preset network is at the high packet loss level is effectively avoided;
In addition, at least one of the network bandwidth and the dynamic threshold value can be effectively adjusted through the introduced target bandwidth and callback bandwidth B, when the current bandwidth of the preset network is detected to be lower than the target bandwidth and the network packet loss rate is still at a medium level, the preset network can be controlled to increase the network bandwidth according to the callback bandwidth B, the advantage of the method is that the low bandwidth is quickly restored to the bandwidth level required by normal operation of the application, the condition of being in low bandwidth and low image quality for a long time is avoided, the method is particularly suitable for the application scene of CloudXR, and in the application scene, the quick restoration of the network bandwidth can be effectively realized, and the user experience is further ensured.
Fig. 10 is a schematic flow chart of a data transmission method according to an embodiment of the present application; referring to fig. 10, the embodiment provides a data transmission method, where an execution body of the method may be a data transmission device, where the data transmission device may be applicable to a cloud XR scenario or a cloud computing scenario, and may be implemented as software, or a combination of software and hardware, and in a specific implementation, the data transmission device may be a cluster server, a conventional server, a cloud host, a virtual center, or the like. Specifically, the data transmission method may include:
Step S1001: the method comprises the steps of obtaining a network bandwidth level and a network packet loss state of a network where an augmented reality terminal is located, wherein the network bandwidth level is obtained by analyzing and processing a network bandwidth of a preset network, and the network packet loss state is obtained by analyzing and processing a network packet loss rate of the preset network.
The augmented Reality terminal may be implemented as a head-mounted display device (Headset Mount Device, abbreviated as HMD) based on the field of augmented Reality (Augmented Reality, abbreviated as AR), virtual Reality (VR), mixed Reality (MR), or Hybrid Reality (HR), or image Reality (Cinematic Reality, abbreviated as CR), and the augmented Reality terminal may be in communication connection with the cloud platform to implement an augmented Reality game scene, an augmented Reality online conference scene, an augmented Reality live broadcast scene, and so on based on the augmented Reality terminal.
Step S1002: a dynamic threshold for analyzing and processing the network packet loss rate is determined.
Step S1003: at least one of the network bandwidth and the dynamic threshold is adjusted based on the network bandwidth level and the network packet loss status.
Step S1004: and transmitting the data to be displayed by the augmented reality terminal by using the adjusted network.
Specifically, in a game scene, an online conference scene and a live broadcast scene which are realized based on an augmented reality technology, augmented reality data can be transmitted to a preset network or a live broadcast service platform through a cloud platform, and then the distribution operation of the augmented reality data is performed through the preset network or the live broadcast service platform. Specifically, the augmented reality terminal can send an interaction instruction to the cloud platform through a preset network, and after the cloud platform obtains the interaction instruction, the interaction instruction can be processed by utilizing a preset data processing resource so as to realize interaction operation between the augmented reality terminal and the cloud platform.
The cloud platform can analyze and process the extended reality data, and send the processed extended reality data to the extended reality terminal, and after the extended reality terminal obtains the extended reality data, the extended reality data can be displayed so as to realize a game scene realized based on the extended reality technology, an online conference scene realized based on the extended reality technology and a live broadcast scene realized based on the extended reality technology. Note that live scenes include, but are not limited to: remote education in educational scenes, live curriculum, telemedicine, etc., and the augmented reality data in different live scenes are different and may have different functional roles.
In addition, the specific implementation manner and implementation effect of step S1001 to step S1003 in this embodiment are similar to those of step S201 to step S203 in the above embodiment, and reference is specifically made to the above description, and details are not repeated here.
After at least one of the network bandwidth and the dynamic threshold value is adjusted, the adjusted network can be utilized to transmit the data to be displayed by the augmented reality terminal, so that the real-time and timely display operation of the processed augmented reality data in the augmented reality terminal is effectively realized, and a user can have good augmented reality experience.
It should be noted that the method in this embodiment may also include the method of the embodiment shown in fig. 1 to 9, and for the part of this embodiment that is not described in detail, reference is made to the description related to the embodiment shown in fig. 1 to 9. The implementation process and the technical effect of this technical solution are described in the embodiments shown in fig. 1 to 9, and are not described herein.
According to the data transmission method provided by the embodiment, the network bandwidth level and the network packet loss state of the network where the augmented reality terminal is located are obtained through analysis processing of the network bandwidth of the preset network, the network packet loss state is obtained through analysis processing of the network packet loss rate of the preset network, the dynamic threshold value used for analysis processing of the network packet loss rate is determined, at least one of the network bandwidth and the dynamic threshold value is then adjusted based on the network bandwidth level and the network packet loss state, and the data to be displayed by the augmented reality terminal is transmitted by utilizing the adjusted network, so that the adjustment of the network bandwidth and/or the dynamic threshold value under different network bandwidth levels and the network packet loss state is effectively realized, the situation that the bandwidth is reduced but the packet loss condition of the network cannot be improved is avoided, the network is not reduced when the network packet loss rate is reduced to a certain stage, the bandwidth level required by normal operation of an application can be quickly restored when the network loss rate is low, the situation that the network loss rate is low in a long time and the condition of low quality is avoided, and the user experience in an application scene of extended display is guaranteed, and the practicability of the method is effectively guaranteed.
Fig. 11 is a schematic structural diagram of a bandwidth adjusting device according to an embodiment of the present application; referring to fig. 11, the present embodiment provides a bandwidth adjusting apparatus for performing the bandwidth adjusting method shown in fig. 2, and specifically, the bandwidth adjusting apparatus may include:
the first obtaining module 11 is configured to obtain a network bandwidth level of a preset network and a network packet loss state, where the network bandwidth level is obtained by performing analysis processing on a network bandwidth of the preset network, and the network packet loss state is obtained by performing analysis processing on a network packet loss rate of the preset network;
a first determining module 12, configured to determine a dynamic threshold value for performing analysis processing on a network packet loss rate;
the first processing module 13 is configured to adjust at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status.
In some examples, when the first processing module 13 adjusts at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status, the first processing module 13 is configured to perform: when the network packet loss state is a preset low packet loss state, determining a first adjustment strategy corresponding to a preset network; the network bandwidth is increased and the dynamic threshold is lowered based on the first adjustment policy.
In some examples, when the first processing module 13 increases the network bandwidth based on the first adjustment policy, the first processing module 13 is configured to perform: acquiring a first adjustment proportion and a bandwidth adjustment amplitude for increasing network bandwidth; the network bandwidth is increased based on the first adjustment ratio and the bandwidth adjustment amplitude.
In some examples, when the first processing module 13 increases the network bandwidth based on the first adjustment ratio and the bandwidth adjustment magnitude, the first processing module 13 is configured to perform: obtaining a product value of a first adjustment proportion and a network bandwidth, wherein the first adjustment proportion is a value which is more than 0 and less than 1; and determining the sum of the product value and the bandwidth adjustment amplitude as the adjusted network bandwidth.
In some examples, when the first processing module 13 adjusts at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status, the first processing module 13 is configured to perform: when the network packet loss state is a preset medium packet loss state and the network bandwidth level is a preset low bandwidth level, determining a second adjustment strategy corresponding to the preset network; the network bandwidth is increased based on the second adjustment policy and the dynamic threshold is maintained unchanged.
In some examples, when the first processing module 13 increases the network bandwidth based on the second adjustment policy, the first processing module 13 is configured to perform: acquiring a bandwidth adjustment step frequency for increasing network bandwidth; and determining the sum value of the bandwidth adjustment step frequency and the network bandwidth as the adjusted network bandwidth.
In some examples, when the first processing module 13 adjusts at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status, the first processing module 13 is configured to perform: when the network packet loss state is a preset medium packet loss state and the network bandwidth level is a preset medium bandwidth level, determining a third adjustment strategy corresponding to the preset network; the network bandwidth is kept unchanged and the dynamic threshold is lowered based on a third adjustment strategy.
In some examples, when the first processing module 13 decreases the dynamic threshold, the first processing module 13 is configured to perform: acquiring a packet loss rate adjustment amplitude for reducing a dynamic threshold; and adjusting the amplitude based on the packet loss rate, and reducing the dynamic threshold.
In some examples, when the first processing module 13 adjusts the amplitude based on the packet loss rate, the first processing module 13 is configured to perform: and determining the difference value between the dynamic threshold value and the packet loss rate adjustment amplitude as an adjusted dynamic threshold value.
In some examples, when the first processing module 13 adjusts at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status, the first processing module 13 is configured to perform: when the network packet loss state is a preset high packet loss state, determining a fourth adjustment strategy corresponding to a preset network; the network bandwidth is reduced and the dynamic threshold is increased based on a fourth adjustment policy.
In some examples, when the first processing module 13 reduces the network bandwidth based on the fourth adjustment policy, the first processing module 13 is configured to perform: acquiring a current network packet loss rate of a preset network; determining a second adjustment proportion of the network bandwidth based on the current network packet loss rate, wherein the second adjustment proportion is a value greater than 0 and less than 1; and determining the product value of the second adjustment proportion and the network bandwidth as the adjusted network bandwidth.
In some examples, when the first processing module 13 determines the second adjustment proportion of the network bandwidth based on the current network packet loss rate, the first processing module 13 is configured to perform: acquiring a half value of a network packet loss rate; and determining the percentage corresponding to the half value as a second adjustment proportion.
In some examples, when the first processing module 13 increases the dynamic threshold, the first processing module 13 is configured to perform: acquiring a packet loss rate adjustment amplitude for increasing a dynamic threshold; and adjusting the amplitude based on the packet loss rate, and increasing the dynamic threshold.
In some examples, when the first processing module 13 adjusts the amplitude based on the packet loss rate, the first processing module 13 is configured to perform: and determining the sum value between the dynamic threshold value and the packet loss rate adjustment amplitude as an adjusted dynamic threshold value.
The bandwidth adjusting apparatus shown in fig. 11 may perform the method of the embodiment shown in fig. 1 to 9, and reference is made to the related description of the embodiment shown in fig. 1 to 9 for a part not described in detail in this embodiment. The implementation process and the technical effect of this technical solution are described in the embodiments shown in fig. 1 to 9, and are not described herein.
In one possible design, the bandwidth adjusting apparatus shown in fig. 11 may be implemented as an electronic device, which may be a cluster server, a conventional server, a cloud host, a virtual center, or the like. As shown in fig. 12, the electronic device may include: a first processor 21 and a first memory 22. The first memory 22 is used for storing a program for executing the bandwidth adjustment method provided in the embodiments shown in fig. 1 to 9 described above for the corresponding electronic device, and the first processor 21 is configured to execute the program stored in the first memory 22.
The program comprises one or more computer instructions, wherein the one or more computer instructions, when executed by the first processor 21, are capable of performing the steps of:
Acquiring a network bandwidth level and a network packet loss state of a preset network, wherein the network bandwidth level is obtained by analyzing and processing the network bandwidth of the preset network, and the network packet loss state is obtained by analyzing and processing the network packet loss rate of the preset network;
determining a dynamic threshold value for analyzing and processing the network packet loss rate;
at least one of the network bandwidth and the dynamic threshold is adjusted based on the network bandwidth level and the network packet loss status.
Further, the first processor 21 is further configured to perform all or part of the steps in the embodiments shown in fig. 1-9.
The electronic device may further include a first communication interface 23 in a structure for the electronic device to communicate with other devices or a communication network.
In addition, an embodiment of the present invention provides a computer storage medium storing computer software instructions for an electronic device, where the computer storage medium includes a program for executing the bandwidth adjustment method in the method embodiments shown in fig. 1 to fig. 9.
Furthermore, an embodiment of the present invention provides a computer program product comprising: a computer program which, when executed by a processor of an electronic device, causes the processor to perform the bandwidth adjustment method in the method embodiments shown in fig. 1-9.
Fig. 13 is a schematic structural diagram of a data transmission device according to an embodiment of the present application; referring to fig. 13, the present embodiment provides a data transmission apparatus for performing the data transmission method shown in fig. 10, and specifically, the data transmission apparatus may include:
the second obtaining module 31 is configured to obtain a network bandwidth level of a network where the augmented reality terminal is located, where the network bandwidth level is obtained by performing analysis processing on a network bandwidth of a preset network, and a network packet loss state, where the network packet loss state is obtained by performing analysis processing on a network packet loss rate of the preset network;
a second determining module 32, configured to determine a dynamic threshold for performing analysis processing on the network packet loss rate;
a second processing module 33, configured to adjust at least one of a network bandwidth and a dynamic threshold based on a network bandwidth level and a network packet loss status;
and the second processing module 33 is configured to transmit data to be displayed by the augmented reality terminal by using the adjusted network.
The data transmission device shown in fig. 13 may perform the method of the embodiment shown in fig. 10, and reference is made to the related description of the embodiment shown in fig. 10 for a part of this embodiment which is not described in detail. The implementation process and the technical effect of this technical solution are described in the embodiment shown in fig. 10, and are not described herein.
In one possible design, the structure of the data transmission device shown in fig. 13 may be implemented as an electronic device. As shown in fig. 14, the electronic device may include: a second processor 41 and a second memory 42. The second memory 42 is used for storing a program for the corresponding electronic device to execute the data transmission method provided in the embodiment shown in fig. 10, and the second processor 41 is configured to execute the program stored in the second memory 42.
The program comprises one or more computer instructions, wherein the one or more computer instructions, when executed by the second processor 41, are capable of performing the steps of:
acquiring a network bandwidth level and a network packet loss state of a network where the augmented reality terminal is located, wherein the network bandwidth level is obtained by analyzing and processing a network bandwidth of a preset network, and the network packet loss state is obtained by analyzing and processing a network packet loss rate of the preset network;
determining a dynamic threshold value for analyzing and processing the network packet loss rate;
based on the network bandwidth level and the network packet loss state, adjusting at least one of the network bandwidth and the dynamic threshold;
and transmitting the data to be displayed by the augmented reality terminal by using the adjusted network.
Further, the second processor 41 is further configured to perform all or part of the steps in the embodiment shown in fig. 10. The electronic device may further include a second communication interface 43 in the structure of the electronic device, for communicating with other devices or a communication network.
In addition, an embodiment of the present invention provides a computer storage medium for storing computer software instructions for an electronic device, where the computer storage medium includes a program for executing the data transmission method in the embodiment of the method shown in fig. 10.
Furthermore, an embodiment of the present invention provides a computer program product comprising: a computer program which, when executed by a processor of an electronic device, causes the processor to perform the data transmission method of the method embodiment shown in fig. 10.
The apparatus embodiments described above are merely illustrative, wherein elements illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by adding necessary general purpose hardware platforms, or may be implemented by a combination of hardware and software. Based on such understanding, the foregoing aspects, in essence and portions contributing to the art, may be embodied in the form of a computer program product, which may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (14)

1. A method for bandwidth adjustment, comprising:
acquiring a network bandwidth level and a network packet loss state of a preset network, wherein the network bandwidth level is obtained by analyzing and processing the network bandwidth of the preset network, and the network packet loss state is obtained by analyzing and processing the network packet loss rate of the preset network;
determining a first threshold value, a second threshold value and a dynamic threshold value, wherein the first threshold value, the second threshold value and the dynamic threshold value are used for analyzing and processing the network packet loss rate, the second threshold value is located between the first threshold value and the dynamic threshold value, the first threshold value, the second threshold value and the dynamic threshold value are used for determining the network packet loss state, and the network packet loss state comprises at least one of the following: a low packet loss state, a medium packet loss state, and a high packet loss state;
and adjusting at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status.
2. The method of claim 1, wherein adjusting at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status comprises:
when the network packet loss state is a preset low packet loss state, determining a first adjustment strategy corresponding to the preset network;
And increasing the network bandwidth and reducing the dynamic threshold based on the first adjustment strategy.
3. The method of claim 2, wherein increasing the network bandwidth based on the first adjustment policy comprises:
acquiring a first adjustment proportion and a bandwidth adjustment amplitude for increasing the network bandwidth;
the network bandwidth is increased based on the first adjustment ratio and the bandwidth adjustment magnitude.
4. The method of claim 3, wherein increasing the network bandwidth based on the first adjustment ratio and the bandwidth adjustment magnitude comprises:
obtaining a product value of the first adjustment proportion and the network bandwidth, wherein the first adjustment proportion is a value greater than 0 and less than 1;
and determining the sum of the product value and the bandwidth adjustment amplitude as the adjusted network bandwidth.
5. The method of claim 1, wherein adjusting at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status comprises:
when the network packet loss state is a preset medium packet loss state and the network bandwidth level is a preset low bandwidth level, determining a second adjustment strategy corresponding to the preset network;
And increasing the network bandwidth based on the second adjustment strategy, and keeping the dynamic threshold unchanged.
6. The method of claim 5, wherein increasing the network bandwidth based on the second adjustment policy comprises:
acquiring a bandwidth adjustment step frequency for increasing the network bandwidth;
and determining the sum value of the bandwidth adjustment step frequency and the network bandwidth as the adjusted network bandwidth.
7. The method of claim 1, wherein adjusting at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status comprises:
when the network packet loss state is a preset medium packet loss state and the network bandwidth level is a preset medium bandwidth level, determining a third adjustment strategy corresponding to the preset network;
and keeping the network bandwidth unchanged based on the third adjustment strategy, and reducing the dynamic threshold value.
8. The method according to claim 2 or 7, wherein reducing the dynamic threshold comprises:
acquiring a packet loss rate adjustment amplitude for reducing the dynamic threshold;
and adjusting amplitude based on the packet loss rate, and reducing the dynamic threshold.
9. The method of claim 1, wherein adjusting at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status comprises:
when the network packet loss state is a preset high packet loss state, determining a fourth adjustment strategy corresponding to the preset network;
and reducing the network bandwidth and increasing the dynamic threshold based on the fourth adjustment strategy.
10. The method of claim 9, wherein reducing the network bandwidth based on the fourth adjustment policy comprises:
acquiring a current network packet loss rate of the preset network;
determining a second adjustment proportion of network bandwidth based on the current network packet loss rate, wherein the second adjustment proportion is a value greater than 0 and less than 1;
and determining the product value of the second adjustment proportion and the network bandwidth as the adjusted network bandwidth.
11. The method of claim 10, wherein determining a second adjustment ratio of network bandwidth based on the current network packet loss rate comprises:
acquiring a half value of the network packet loss rate;
and determining the percentage corresponding to the half value as the second adjustment proportion.
12. The method of claim 9, wherein increasing the dynamic threshold comprises:
acquiring a packet loss rate adjustment amplitude for increasing the dynamic threshold;
and increasing the dynamic threshold based on the packet loss rate adjustment amplitude.
13. A data transmission method, comprising:
acquiring a network bandwidth level and a network packet loss state of a network where an augmented reality terminal is located, wherein the network bandwidth level is obtained by analyzing and processing a network bandwidth of a preset network, and the network packet loss state is obtained by analyzing and processing a network packet loss rate of the preset network;
determining a first threshold value, a second threshold value and a dynamic threshold value, wherein the first threshold value, the second threshold value and the dynamic threshold value are used for analyzing and processing the network packet loss rate, the second threshold value is located between the first threshold value and the dynamic threshold value, the first threshold value, the second threshold value and the dynamic threshold value are used for determining the network packet loss state, and the network packet loss state comprises at least one of the following: a low packet loss state, a medium packet loss state, and a high packet loss state;
adjusting at least one of the network bandwidth and the dynamic threshold based on the network bandwidth level and the network packet loss status;
And transmitting the data to be displayed by the augmented reality terminal by using the adjusted network.
14. An electronic device, comprising: a memory, a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the bandwidth adjustment method of any of claims 1-12.
CN202210234355.1A 2022-03-10 2022-03-10 Bandwidth adjustment method, data transmission method, device and computer storage medium Active CN114666225B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210234355.1A CN114666225B (en) 2022-03-10 2022-03-10 Bandwidth adjustment method, data transmission method, device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210234355.1A CN114666225B (en) 2022-03-10 2022-03-10 Bandwidth adjustment method, data transmission method, device and computer storage medium

Publications (2)

Publication Number Publication Date
CN114666225A CN114666225A (en) 2022-06-24
CN114666225B true CN114666225B (en) 2023-11-17

Family

ID=82030132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210234355.1A Active CN114666225B (en) 2022-03-10 2022-03-10 Bandwidth adjustment method, data transmission method, device and computer storage medium

Country Status (1)

Country Link
CN (1) CN114666225B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277654B (en) * 2022-07-19 2024-02-27 宁波菊风系统软件有限公司 Bandwidth resource allocation system of RTC system
CN116033264A (en) * 2023-01-05 2023-04-28 中国联合网络通信集团有限公司 Image processing parameter adjusting method, device and equipment
CN115952025B (en) * 2023-01-09 2024-03-05 深圳市赛柏特通信技术有限公司 Data management and control method, system, terminal equipment and storage medium
CN116208788B (en) * 2023-05-04 2023-07-21 海马云(天津)信息技术有限公司 Method and device for providing network application service, server equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0814585A2 (en) * 1996-06-20 1997-12-29 International Business Machines Corporation Dynamic bandwidth estimation and adaptation in high speed packet switching networks
CN101800697A (en) * 2010-01-27 2010-08-11 深圳市宇速科技有限公司 Method for real-time video transmission self-adapting to network bandwidth
WO2018058711A1 (en) * 2016-09-30 2018-04-05 邦彦技术股份有限公司 Bandwidth self-adaptive control system and method
CN109525447A (en) * 2019-01-07 2019-03-26 北京大米科技有限公司 A kind of method, apparatus and electronic equipment adjusting network transmission bandwidth
CN109587073A (en) * 2019-01-07 2019-04-05 北京三体云联科技有限公司 Method for controlling network congestion, device and terminal device
CN109818714A (en) * 2019-01-29 2019-05-28 北京三体云联科技有限公司 Dynamic FEC method, device, terminal and computer readable storage medium
CN110190976A (en) * 2018-02-23 2019-08-30 广东赛特斯信息科技有限公司 The method of bandwidth detection in shared network communication
WO2020143180A1 (en) * 2019-01-11 2020-07-16 深圳市网心科技有限公司 Network congestion detection-based intelligent speed limiting method and apparatus, and storage medium
CN111935441A (en) * 2020-07-30 2020-11-13 北京佳讯飞鸿电气股份有限公司 Network state detection method and device
CN112491658A (en) * 2020-12-02 2021-03-12 广州虎牙科技有限公司 Bandwidth estimation method and device, electronic equipment and computer-readable storage medium
CN113300816A (en) * 2020-07-15 2021-08-24 阿里巴巴集团控股有限公司 Node positioning method, network transmission method, device and equipment
CN113840330A (en) * 2021-09-16 2021-12-24 阿里巴巴达摩院(杭州)科技有限公司 Method for establishing connection, gateway equipment, network system and scheduling center

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0814585A2 (en) * 1996-06-20 1997-12-29 International Business Machines Corporation Dynamic bandwidth estimation and adaptation in high speed packet switching networks
CN101800697A (en) * 2010-01-27 2010-08-11 深圳市宇速科技有限公司 Method for real-time video transmission self-adapting to network bandwidth
WO2018058711A1 (en) * 2016-09-30 2018-04-05 邦彦技术股份有限公司 Bandwidth self-adaptive control system and method
CN110190976A (en) * 2018-02-23 2019-08-30 广东赛特斯信息科技有限公司 The method of bandwidth detection in shared network communication
CN109525447A (en) * 2019-01-07 2019-03-26 北京大米科技有限公司 A kind of method, apparatus and electronic equipment adjusting network transmission bandwidth
CN109587073A (en) * 2019-01-07 2019-04-05 北京三体云联科技有限公司 Method for controlling network congestion, device and terminal device
WO2020143180A1 (en) * 2019-01-11 2020-07-16 深圳市网心科技有限公司 Network congestion detection-based intelligent speed limiting method and apparatus, and storage medium
CN109818714A (en) * 2019-01-29 2019-05-28 北京三体云联科技有限公司 Dynamic FEC method, device, terminal and computer readable storage medium
CN113300816A (en) * 2020-07-15 2021-08-24 阿里巴巴集团控股有限公司 Node positioning method, network transmission method, device and equipment
CN111935441A (en) * 2020-07-30 2020-11-13 北京佳讯飞鸿电气股份有限公司 Network state detection method and device
CN112491658A (en) * 2020-12-02 2021-03-12 广州虎牙科技有限公司 Bandwidth estimation method and device, electronic equipment and computer-readable storage medium
CN113840330A (en) * 2021-09-16 2021-12-24 阿里巴巴达摩院(杭州)科技有限公司 Method for establishing connection, gateway equipment, network system and scheduling center

Also Published As

Publication number Publication date
CN114666225A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
CN114666225B (en) Bandwidth adjustment method, data transmission method, device and computer storage medium
Petrangeli et al. An http/2-based adaptive streaming framework for 360 virtual reality videos
US11303881B2 (en) Method and client for playing back panoramic video
US10491711B2 (en) Adaptive streaming of virtual reality data
US9172979B2 (en) Experience or “sentio” codecs, and methods and systems for improving QoE and encoding based on QoE experiences
US20220023755A1 (en) Content adaptive data center routing and forwarding in cloud computing environments
US11259063B2 (en) Method and system for setting video cover
US11694316B2 (en) Method and apparatus for determining experience quality of VR multimedia
CN104685873B (en) Encoding controller and coding control method
WO2017066346A1 (en) Method and apparatus for optimizing video streaming for virtual reality
WO2012021174A2 (en) EXPERIENCE OR "SENTIO" CODECS, AND METHODS AND SYSTEMS FOR IMPROVING QoE AND ENCODING BASED ON QoE EXPERIENCES
US20170127073A1 (en) Information processing device and method
US20200296470A1 (en) Video playback method, terminal apparatus, and storage medium
CN112770295A (en) Mobile VR development method, system and medium based on GPU cloud server and 5G/WIFI6 network transmission technology
WO2022152137A1 (en) Network feedback-based video encoding method, apparatus and device, and storage medium
US11128739B2 (en) Network-edge-deployed transcoding methods and systems for just-in-time transcoding of media data
US10708667B1 (en) Combining fragments with different encodings
CN111031389A (en) Video processing method, electronic device and storage medium
US20140118489A1 (en) Adaptive stereoscopic 3d streaming
CN110784731B (en) Data stream transcoding method, device, equipment and medium
EP4044615A1 (en) Method and device for adjusting attribute of video stream
US10944982B1 (en) Rendition switch indicator
Khan et al. SAND and Cloud-based Strategies for Adaptive Video Streaming
CN116980392A (en) Media stream processing method, device, computer equipment and storage medium
CN113473180B (en) Wireless-based Cloud XR data transmission method and device, storage medium and electronic 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