Configuration information determination method and device, server and storage medium

By acquiring and adjusting the configuration information of the media redirection transmission channel, the problem of low data transmission rates of servers and clients in traditional technology is solved, and more efficient data transmission is achieved.

CN120110909APending Publication Date: 2025-06-06SUGON INFORMATION IND +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311660690.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-05
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

In traditional technology, the data transmission rate between the server and the client is low, which affects the efficiency of data transmission.

Method used

By obtaining the initial configuration information and transmission rate of the media redirection transmission channel, the target configuration information is determined to increase the transmission rate. The specific steps include obtaining initial configuration information when initiating a media redirection data request to the client, obtaining the transmission rate when receiving the media data sent by the client, and adjusting the configuration information based on the comparison result and the initial configuration information to achieve the target transmission rate.

Benefits of technology

It improves the data transmission rate between the server and the client, and enhances the efficiency and accuracy of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120110909A_ABST
    Figure CN120110909A_ABST
Patent Text Reader

Abstract

The invention relates to a configuration information determination method and device, equipment, a storage medium and a program product. The method comprises the following steps: acquiring initial configuration information of a media redirection transmission channel under the condition that a media redirection data request is initiated to a client; when the media data sent by the client is received, acquiring the transmission rate of the media data transmitted by the media redirection transmission channel; and determining target configuration information of the media redirection transmission channel according to the transmission rate and the initial configuration information. By adopting the method, the transmission rate of data transmission between the server and the client can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, server and storage medium for determining configuration information. Background Art

[0002] With the continuous advancement of computer technology and the expansion of server deployment, servers can obtain data from mirrored data mounted by other clients through virtual media (vMedia) redirection technology. vMedia redirection technology can be applied to data transmission, encryption and decryption, network transmission, front-end technology and other fields.

[0003] In traditional technology, the user controls the client through the Keyboard Video Mouse (KVM) to start the mounting interface to establish a communication link between the client and the server. When the client receives a data acquisition request sent by the server, the client can obtain the data requested by the server from the mounting interface and send the data to the server through the Baseboard Management Controller (BMC), thereby realizing data transmission between the client and the server.

[0004] However, there is a problem in the conventional technology that the data transmission rate between the server and the client is low. Summary of the invention

[0005] Based on this, it is necessary to provide a method, device, server and storage medium for determining configuration information that can improve the transmission rate of data transmission between a server and a client in order to address the above technical problems.

[0006] In a first aspect, the present application provides a method for determining configuration information. The method comprises:

[0007] In the case of initiating a media redirection data request to the client, obtaining initial configuration information of the media redirection transmission channel;

[0008] When receiving the media data sent by the client, obtaining a transmission rate of the media data transmitted by the media redirection transmission channel;

[0009] According to the transmission rate and the initial configuration information, target configuration information of the media redirection transmission channel is determined.

[0010] In one of the embodiments, determining the target configuration information of the media redirection transmission channel according to the transmission rate and the initial configuration information includes:

[0011] Determining a comparison result between the transmission rate and a preset target transmission rate;

[0012] The target configuration information is determined according to the comparison result and the initial configuration information.

[0013] In one embodiment, determining the target configuration information according to the comparison result and the initial configuration information includes:

[0014] If the comparison result indicates that the transmission rate is greater than or equal to the target transmission rate, determining the initial configuration information as the target configuration information;

[0015] If the comparison result indicates that the transmission rate is less than the target transmission rate, the configuration information corresponding to the transmission rate is adjusted according to the initial configuration information until the transmission rate corresponding to the adjusted configuration information is greater than or equal to the target transmission rate, and the adjusted configuration information is determined as the target configuration information.

[0016] In one of the embodiments, when initiating a media redirection data request to a client, obtaining initial configuration information of a media redirection transmission channel includes:

[0017] In the case of initiating a media redirection data request to the client, obtaining parameter information of the media redirection transmission channel;

[0018] The initial configuration information is acquired according to the parameter information and a preset algorithm.

[0019] In one embodiment, the media redirection transmission channel includes: a remote network transmission channel between the client and the web server in the server, a local network transmission channel between the web server and the media server in the server, and a universal serial bus transmission channel between the media server and the server.

[0020] In one of the embodiments, when receiving the media data sent by the client, obtaining the transmission rate of the media data transmitted by the media redirection transmission channel includes:

[0021] When receiving the media data sent by the client, obtaining timestamp information and byte information of the media data received by the media redirection transmission channel;

[0022] The transmission rate is acquired according to the timestamp information and the byte information.

[0023] In a second aspect, the present application also provides a device for determining configuration information. The device comprises:

[0024] A first acquisition module, configured to acquire initial configuration information of a media redirection transmission channel when initiating a media redirection data request to a client;

[0025] A second acquisition module is used to acquire a transmission rate of the media data transmitted by the media redirection transmission channel when receiving the media data sent by the client;

[0026] A determination module is used to determine target configuration information of the media redirection transmission channel according to the transmission rate and the initial configuration information.

[0027] In a third aspect, the present application further provides a server, wherein the server comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method described in the first aspect are implemented.

[0028] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0029] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0030] The above-mentioned method, device, server and storage medium for determining configuration information, when the server initiates a media redirection data request to the client, obtains the initial configuration information of the media redirection transmission channel, and when receiving the media data sent by the client, obtains the transmission rate of the media data transmitted by the media redirection transmission channel, and then determines the target configuration information of the media redirection transmission channel according to the transmission rate and the initial configuration information. Since the initial configuration information is determined according to the transmission rate corresponding to the optimal performance of the media redirection transmission channel, when the transmission rate of the transmitted media data is obtained, it is possible to accurately determine whether the transmission rate matches the initial configuration information according to the transmission rate and the initial configuration information, so that the target configuration information of the media redirection transmission channel can be accurately determined based on the matching result, thereby improving the accuracy of the target configuration information of the media redirection transmission channel, and then according to the target configuration information, the transmission rate of the media redirection transmission channel can be configured to the transmission rate corresponding to the optimal performance, thereby improving the transmission rate of data transmission between the server and the client. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A schematic diagram of a data transmission object in a media redirection transmission channel;

[0032] Figure 2It is a block diagram of the data transmission principle of media redirection technology;

[0033] Figure 3 A schematic diagram of a data transmission process in a media redirection transmission channel;

[0034] Figure 4 An application environment diagram of a method for determining configuration information in an embodiment;

[0035] Figure 5 A schematic diagram of a flow chart of a method for determining configuration information in an embodiment;

[0036] Figure 6 A schematic diagram of a flow chart of a method for determining configuration information in another embodiment;

[0037] Figure 7 A schematic diagram of a flow chart of a method for determining configuration information in another embodiment;

[0038] Figure 8 A schematic diagram of a flow chart of a method for determining configuration information in another embodiment;

[0039] Fig. 9 A schematic diagram of a flow chart of a method for determining configuration information in another embodiment;

[0040] Fig.10 is a structural block diagram of a device for determining configuration information in an embodiment;

[0041] Fig.11 It is a structural block diagram of a device for determining configuration information in another embodiment;

[0042] Fig.12 FIG. 4 is a diagram showing the internal structure of a server in one embodiment. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0044] Media redirection technology refers to a data transmission method in which a server obtains the required media data from the image data mounted on the client. Through media redirection technology, the server can use different clients as virtual storage devices and obtain different media data through the communication connection with the client. In the media redirection data transmission channel between the server and the client, the baseboard management controller (Baseboard Management Controller, BMC) in the server can manage and confirm the data acquisition request and data transmitted between the server and the client. Among them, the web server on the BMC is used to confirm the data sent by the client, and the media server on the BMC is used to send the confirmed data to the server, such as Figure 1 As shown, in the media redirection technology, the transmission channel between the server and the client may include the server, the BMC in the server and the client. Figure 2 As shown, Figure 2 In the example, the web server sends the media data acquisition request sent by the server to the client through the media server. After receiving the request, the client parses it, reads the media data requested by the server from the mounted image data according to the acquisition request, and sends it to the web server. Then, the web server confirms the received media data and sends the media data to the media server. Finally, the media server sends the media data to the server. For example, Figure 3 As shown, the communication connection between the client and the web server is a remote network transmission, the communication connection between the web server and the media server is a local network transmission, and the connection between the media server and the server is a Universal Serial Bus (USB) transmission.

[0045] However, in the above media redirection technology, due to the long media redirection transmission channel and many influencing factors, the optimal rate of the server cannot be achieved. Moreover, in different application scenarios, the transmission parameters of the media redirection transmission channel need to be reconfigured, and the maintenance cost is high, which affects the application performance of the media redirection technology. Therefore, there is a problem of low transmission rate of the media redirection transmission channel in the traditional technology. Based on this, the present application provides a method for determining configuration information to improve the transmission rate of data transmission between the server and the client.

[0046] The method for determining configuration information provided in the embodiment of the present application can be applied to Figure 4In the application environment shown. Among them, the client 102 communicates with the server 104 through the network, the server includes a BMC, and the BMC includes a web server 106 and a media server 108. The client 102 can send media data to the web server 106, and then the web server 106 sends the received media data to the media server 108, so that the media server 108 can send the media data to the host of the server 104, so as to realize the data transmission between the server 104 and the client 102. Among them, the client 102 can be but not limited to various servers, personal computers, laptops, etc. The server 104 can be implemented by an independent server or a server cluster composed of multiple servers.

[0047] In one embodiment, Figure 5 As shown, a method for determining configuration information is provided, and the method is applied to Figure 4 The server in the example is used to illustrate the following steps:

[0048] S201, when initiating a media redirection data request to a client, obtaining initial configuration information of a media redirection transmission channel.

[0049] Among them, the client can connect various external storage or file systems to the computer device or server where the client is located, and attach the data in the external storage or file system to the computer device or server to form mirror data, so as to enable other servers to access or read the mirror data. Generally, the server can establish a communication connection with the computer device or server where the client is located, thereby establishing a media redirection transmission channel between the server and the client for transmitting data.

[0050] Among them, the media redirection transmission channel may include transmission channels corresponding to three transmission stages, namely: a remote network transmission channel between the client and the web server in the server, a local network transmission channel between the web server and the media server in the server, and a universal serial bus transmission channel between the media server and the server. It can be understood that when the media redirection transmission channel is established, the transmission parameters of the media redirection transmission channel can be configured according to the optimal performance of the data transmission and reception of the server and the optimal performance of the data transmission and reception of the client, so that the transmission rate corresponding to the configured transmission parameters is determined as the optimal transmission rate of the data transmitted by the media redirection transmission channel, and the configured transmission parameters are determined as initial configuration parameters. It should be noted that the initial configuration parameters can be written into the configuration file, so that before each data transmission, the configuration parameters corresponding to the optimal transmission rate determined last time can be determined as the initial configuration parameters for this data transmission.

[0051] In this embodiment, when the server initiates a media redirection data request to the client, it can run the preset information collection thread in the BMC to obtain the initial configuration information of the above three transmission channels respectively, thereby determining the obtained initial configuration information of the three transmission channels as the initial configuration information of the media redirection transmission channel.

[0052] S202: When receiving the media data sent by the client, obtain the transmission rate of the media data transmitted by the media redirection transmission channel.

[0053] Among them, media data refers to the data obtained by the server from the mirror data mounted by the client, and the media data may include data types such as communication data, encrypted data, text data, audio data, image data, video data, etc. It can be understood that in the process of transmitting media data through the media redirection transmission channel, the transmission rate may include the sending speed of the client sending data packets, the speed of the transmission channel transmitting data packets, and the receiving speed of the server receiving data. With the continuous transmission of data, the transmission capacity of the media redirection transmission channel may continue to decrease, resulting in a decrease in the transmission rate, affecting the performance of data transmission. Therefore, it is necessary to obtain the real-time transmission rate of the media redirection transmission channel when transmitting media data, so as to determine whether it is necessary to adjust the transmission parameters of the media transmission channel according to the real-time transmission rate.

[0054] Optionally, the transmission rate may be the transmission rate corresponding to the media data transmitted by the media redirection transmission channel at the current moment, or the transmission rate may be the average transmission rate of the media data transmitted by the media redirection transmission channel within a preset time period, or the transmission rate may also be determined based on actual needs for the accuracy of the transmission rate to obtain the time period and time interval corresponding to the transmission rate, and this embodiment does not impose any restrictions on this.

[0055] In this embodiment, when performing data transmission, the server can monitor the media redirection transmission channel during the transmission process by running the transmission monitoring thread preset in the BMC, and when receiving the media data sent by the client, obtain the transmission rate of the media data transmitted by the media redirection channel through the monitored transmission parameters.

[0056] S203: Determine target configuration information of the media redirection transmission channel according to the transmission rate and the initial configuration information.

[0057] Among them, the target configuration information is the configuration information corresponding to the optimal transmission rate corresponding to the media redirection transmission channel. In this embodiment, if the configuration information indicates that the transmission rate of the media redirection transmission channel is lower than the optimal transmission rate, the transmission rate can be adjusted according to the initial configuration information to obtain the target configuration information.

[0058] In this embodiment, the initial transmission rate corresponding to the initial configuration information can be determined based on the initial configuration information, and the transmission rate of the media data transmitted by the media redirection transmission channel obtained by the server when receiving the media data sent by the client is compared with the determined initial transmission rate, so as to determine the target configuration information based on the comparison result.

[0059] As an optional implementation, during each data transmission process, the transmission rate of each transmission channel can be obtained and compared with the initial transmission rate corresponding to the initial configuration information, so that the target configuration information is cyclically updated according to each comparison result to ensure that the transmission rate of the media redirection transmission channel can be adjusted to the optimal transmission rate during each data transmission process.

[0060] In the above-mentioned method for determining configuration information, when the server initiates a media redirection data request to the client, the server obtains the initial configuration information of the media redirection transmission channel, and when receiving the media data sent by the client, obtains the transmission rate of the media data transmitted by the media redirection transmission channel, and then determines the target configuration information of the media redirection transmission channel according to the transmission rate and the initial configuration information. Since the initial configuration information is determined according to the transmission rate corresponding to the optimal performance of the media redirection transmission channel, when the transmission rate of the transmitted media data is obtained, it is possible to accurately determine whether the transmission rate matches the initial configuration information according to the transmission rate and the initial configuration information, so that the target configuration information of the media redirection transmission channel can be accurately determined based on the matching result, thereby improving the accuracy of the target configuration information of the media redirection transmission channel, and then according to the target configuration information, the transmission rate of the media redirection transmission channel can be configured to the transmission rate corresponding to the optimal performance, thereby improving the transmission rate of data transmission between the server and the client.

[0061] In the above scenario where the target configuration information of the media redirection transmission channel is determined based on the transmission rate and the initial configuration information, the target configuration information can be determined based on the comparison result between the transmission rate and the preset target transmission rate. Figure 6 As shown, the above S203 includes:

[0062] S301, determining a comparison result between a transmission rate and a preset target transmission rate.

[0063] The preset target transmission rate is a transmission rate determined according to the optimal performance of the server and the optimal performance of the client, and the target transmission rate can represent the maximum amount of data transmitted by the media redirection transmission channel per unit time. The comparison result represents the difference between the transmission rate and the preset target transmission rate.

[0064] In this embodiment, the difference between the transmission rate and the target transmission rate can be calculated, and the difference can be used as a comparison result of the transmission rate and the preset target transmission rate. Optionally, if the difference is greater than or equal to 0, the comparison result indicates that the transmission rate is greater than or equal to the target transmission rate; if the difference is less than 0, the comparison result indicates that the transmission rate is less than the target transmission rate.

[0065] S302: Determine target configuration information according to the comparison result and the initial configuration information.

[0066] It can be understood that different comparison results can represent different size relationships between the transmission rate and the target transmission rate. According to the different size relationships, it can be determined whether the current transmission rate of the media redirection transmission channel is the optimal transmission rate, so that different target configuration information can be determined according to the comparison results.

[0067] In this embodiment, the comparison result can be compared with a preset result threshold, and the target configuration information can be determined based on the comparison result. Optionally, if the comparison result is greater than the result threshold, it means that the transmission rate is significantly different from the transmission rate corresponding to the initial configuration information, and it is necessary to adjust the transmission rate and determine the target configuration information based on the initial configuration information; if the comparison result is less than or equal to the result threshold, it means that the transmission rate is significantly different from the transmission rate corresponding to the initial configuration information, and it is possible to not adjust the transmission rate or adjust some transmission parameters to determine the target configuration information.

[0068] As an optional implementation, the determined target configuration information can be written into the configuration file, so that during the next data transmission, the target configuration information is read from the configuration file to adjust the transmission parameters. Optionally, if the current transmission rate is greater than or equal to the target transmission rate, the target configuration information in the configuration file can be read to configure the media redirection transmission channel; if the current transmission rate is less than the target transmission rate, the target configuration information is updated and the updated target configuration information is written into the configuration file.

[0069] In this embodiment, by determining the comparison result between the transmission rate and the preset target transmission rate, the target configuration information can be determined based on the comparison result and the initial configuration information. Since the difference between the transmission rate and the target transmission rate can be accurately determined based on the comparison result between the transmission rate and the preset target transmission rate, the target configuration information can be accurately determined based on the difference and the initial configuration information, and then the media redirection transmission channel can be accurately configured to the optimal transmission rate based on the target configuration information, thereby improving the transmission rate of data transmission between the server and the client.

[0070] The specific process of determining the target configuration information based on the comparison result and the initial configuration information is described in detail below. Figure 7 As shown, the above S302 includes:

[0071] S401: If the comparison result indicates that the transmission rate is greater than or equal to the target transmission rate, the initial configuration information is determined as the target configuration information.

[0072] In this embodiment, if the difference between the transmission rate and the target transmission rate is greater than or equal to 0, it can be determined that the comparison result indicates that the transmission rate is greater than or equal to the target transmission rate. When the comparison result indicates that the transmission rate is greater than or equal to the target transmission rate, it can be explained that the current transmission rate of the media redirection transmission channel can reach the optimal transmission rate. In this case, the current transmission parameters of the media redirection transmission channel do not need to be adjusted, and the initial configuration information continues to be determined as the target configuration information.

[0073] S402, if the comparison result indicates that the transmission rate is less than the target transmission rate, the configuration information corresponding to the transmission rate is adjusted according to the initial configuration information until the transmission rate corresponding to the adjusted configuration information is greater than or equal to the target transmission rate, and the adjusted configuration information is determined as the target configuration information.

[0074] The configuration information corresponding to the transmission rate may be configuration information obtained according to the transmission parameters collected in real time. It is understandable that if the transmission rate is less than 0 compared to the target transmission rate, it can be determined that the comparison result indicates that the transmission rate is less than the target transmission rate. In the case where the comparison result indicates that the transmission rate is less than the target transmission rate, it can be explained that the current transmission rate of the media redirection transmission channel is lower than the optimal transmission rate, and the current transmission parameters of the media redirection transmission channel need to be adjusted.

[0075] In this embodiment, when the comparison result indicates that the transmission rate is less than the target transmission rate, the factors affecting the transmission rates of the three transmission channels can be determined respectively, and the current transmission parameters can be adjusted according to the corresponding transmission parameters in the initial configuration information until the transmission rate corresponding to the adjusted configuration information is greater than or equal to the target transmission rate, thereby determining the target configuration information as the adjusted configuration information.

[0076] Optionally, if the network delay in the remote network transmission channel is large, the sending speed of the data packet can be adjusted according to the initial configuration information to avoid the problem of data packet loss, and the adjusted sending speed of the data packet can be determined as the target configuration information; or, if the CPU occupancy rate in the local network transmission channel is too high, resulting in a long waiting time for the data packet, the flag bits of the corresponding threads of the web server and the media server can be adjusted to increase the priority of the thread, thereby reducing the waiting time, and the adjusted priority can be determined as the target configuration information; or, if the transmission rate of the USB transmission channel is lower than the communication rate of the full-speed communication mode, the communication mode of the USB can be adjusted to the high-speed communication mode, and the adjusted high-speed communication mode can be determined as the target configuration information.

[0077] In this embodiment, when the comparison result indicates that the transmission rate is greater than or equal to the target transmission rate, the initial configuration information can be determined as the target configuration information, and when the comparison result indicates that the transmission rate is less than the target transmission rate, the initial configuration information can be adjusted until the transmission rate corresponding to the adjusted configuration information is greater than or equal to the target transmission rate. Since it is possible to quickly determine whether the transmission rate needs to be adjusted based on the comparison result, the target configuration information can be quickly determined based on the initial configuration information, thereby improving the efficiency of determining the target configuration information, and further improving the efficiency of adjusting the transmission rate to the optimal rate based on the target configuration information.

[0078] In the above case of initiating a media redirection data request to the client, in the scenario of obtaining the initial configuration information of the media redirection transmission channel, the initial configuration information can be obtained by obtaining parameter information of the media redirection transmission channel. Figure 8 As shown, the above S201 includes:

[0079] S501, when initiating a media redirection data request to a client, obtaining parameter information of a media redirection transmission channel.

[0080] It should be noted that the parameters that affect the transmission performance of the media redirection transmission channel include the transmission parameters corresponding to the above three transmission channels. For example, the transmission parameters corresponding to the remote network transmission channel may include bandwidth information, network delay time, network configuration parameters, packet loss rate, etc. The transmission parameters corresponding to the local network transmission channel may include the occupancy rate of the central processing unit (CPU) in the server, the idle percentage of the server, the system load of the server, etc. The parameters corresponding to the Universal Serial Bus (USB) transmission channel are the communication rates of different USB communication modes, among which the communication rate of USB in high-speed communication mode can be 60MB / S, and the communication rate of USB in full-speed communication mode is 1.5MB / S. If the communication rate is greater than 1.5MB / S, the communication configuration information of the USB transmission channel meets the target configuration information.

[0081] In this embodiment, the server can run the information collection thread in the BMC to obtain parameter information corresponding to the media redirection transmission channel in each transmission stage during the process of transmitting the data request through the transmission channel when initiating a media redirection data request to the client. Optionally, the parameter information may include bandwidth information, network delay time, server CPU occupancy rate, idle percentage, system load information, and USB communication rate.

[0082] S502: Acquire initial configuration information according to parameter information and a preset algorithm.

[0083] Among them, the preset algorithm refers to a neural network that calculates the parameter information of the media redirection transmission channel to obtain the configuration information. Optionally, the preset algorithm may be a convolutional neural network, or the preset algorithm may be a deep neural network. In this embodiment, the parameter information of the media redirection transmission channel obtained within a historical time period may be used as sample parameter information to train the initial algorithm to obtain a trained initial algorithm, and the trained initial algorithm is used as the preset algorithm, so as to calculate the parameter information using the preset algorithm to obtain the initial configuration information.

[0084] In this embodiment, the acquired parameter information can be input into a preset algorithm, and the input parameter information can be calculated by the preset algorithm to obtain the parameter information of the media redirection transmission channel. Exemplarily, if the parameter information includes bandwidth information and network delay time, the product value between the bandwidth and the network delay time can be used as the initial configuration information of the remote network transmission channel; or, if the parameter information includes CPU occupancy rate, idle percentage and system load information, the system resource value provided by the server to the thread for acquiring media data can be calculated based on the three information, and the calculated system resource value can be used as the initial configuration information of the local network transmission channel; or, if the parameter information includes the communication rate of USB, the communication rate of USB can be used as the initial configuration information of USB transmission channel, so that the initial configuration information of the remote network transmission channel, the initial configuration information of the local network transmission channel and the initial configuration information of the USB transmission channel are used as the initial configuration information of the media redirection transmission channel.

[0085] In this embodiment, when a media redirection data request is initiated to the client, by obtaining parameter information of the media redirection transmission channel, initial configuration information can be obtained based on the parameter information and a preset algorithm. Since the preset algorithm is obtained based on the transmission rate obtained in a historical time period, the parameter information is calculated according to the preset algorithm, and the initial configuration information can be determined quickly and accurately, thereby improving the efficiency and accuracy of obtaining the initial configuration information.

[0086] In the above scenario of obtaining the transmission rate of the media data transmitted by the media redirection transmission channel when receiving the media data sent by the client, the transmission rate can be determined by obtaining the timestamp information and byte information of the media data received by the media redirection transmission channel. Fig. 9 As shown, the above S202 includes:

[0087] S601, when receiving media data sent by the client, obtaining timestamp information and byte information of the media data received by the media redirection transmission channel.

[0088] Among them, the timestamp information refers to the transmission time of the media data transmitted by the three transmission channels in the media redirection transmission channel during the data transmission process. The transmission time may include the start time and stop time of the transmission data. The byte information refers to the amount of data transmitted by the three transmission channels during the data transmission process.

[0089] In this embodiment, the server can collect the data volume and timestamp information corresponding to the data transmitted by each transmission channel in real time during data transmission, so that when receiving the media data sent by the client, the data volume corresponding to each transmission channel is determined as the byte information received by the media redirection transmission channel, and the transmission time corresponding to each transmission channel is determined as the timestamp information of the media data received by the media redirection transmission channel.

[0090] S602, acquiring a transmission rate according to the timestamp information and the byte information.

[0091] The transmission rate refers to the amount of data transmitted by the media directional transmission channel per unit time. In this embodiment, the ratio of byte information to timestamp information can be calculated, and the ratio is used as the transmission rate of the media directional transmission channel.

[0092] In this embodiment, when media data sent by the client is received, the transmission rate can be obtained based on the timestamp information and byte information of the media data received by the media redirection transmission channel. Since the transmission rate can be quantitatively analyzed based on the timestamp information, the accuracy of the obtained transmission rate can be improved.

[0093] To facilitate understanding by those skilled in the art, the following is a detailed introduction to the method for determining the configuration information provided by the present application. The method may include:

[0094] S1, when initiating a media redirection data request to the client, obtain parameter information of the media redirection transmission channel; the media redirection transmission channel includes: a remote network transmission channel between the client and the web server in the server, a local network transmission channel between the web server and the media server in the server, and a universal serial bus transmission channel between the media server and the server.

[0095] S2, obtaining initial configuration information according to the parameter information and the preset algorithm.

[0096] S3, when receiving the media data sent by the client, obtaining the timestamp information and byte information of the media data received by the media redirection transmission channel.

[0097] S4, obtaining the transmission rate according to the timestamp information and the byte information.

[0098] S5, determining a comparison result between the transmission rate and a preset target transmission rate.

[0099] S6: If the comparison result indicates that the transmission rate is greater than or equal to the target transmission rate, the initial configuration information is determined as the target configuration information.

[0100] S7, if the comparison result indicates that the transmission rate is less than the target transmission rate, the configuration information corresponding to the transmission rate is adjusted according to the initial configuration information until the transmission rate corresponding to the adjusted configuration information is greater than or equal to the target transmission rate.

[0101] It should be noted that for the description in the above S1-S7, reference may be made to the relevant description in the above embodiment, and the effects are similar, so this embodiment will not be repeated here.

[0102] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0103] Based on the same inventive concept, the embodiment of the present application also provides a device for determining configuration information for implementing the method for determining configuration information involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more devices for determining configuration information provided below can refer to the limitations of the method for determining configuration information above, and will not be repeated here.

[0104] In one embodiment, Fig.10 As shown, a device for determining configuration information is provided, comprising: a first acquisition module 11, a second acquisition module 12 and a determination module 13, wherein:

[0105] A first acquisition module 11 is used to acquire initial configuration information of a media redirection transmission channel when initiating a media redirection data request to a client;

[0106] The second acquisition module 12 is used to acquire the transmission rate of the media data transmitted by the media redirection transmission channel when receiving the media data sent by the client;

[0107] The determination module 13 is used to determine the target configuration information of the media redirection transmission channel according to the transmission rate and the initial configuration information.

[0108] Optionally, the media redirection transmission channel includes: a remote network transmission channel between the client and the web server in the server, a local network transmission channel between the web server and the media server in the server, and a universal serial bus transmission channel between the media server and the server.

[0109] The device for determining configuration information provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0110] In one embodiment, Fig.11 As shown, the above-mentioned determination module 13 includes: a first determination unit 131 and a second determination unit 132, wherein:

[0111] A first determining unit 131, configured to determine a comparison result between a transmission rate and a preset target transmission rate;

[0112] The second determining unit 132 is configured to determine target configuration information according to the comparison result and the initial configuration information.

[0113] The device for determining configuration information provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0114] In one embodiment, please continue to refer to Fig.11 The above-mentioned second determination unit 132 is specifically used to: if the comparison result indicates that the transmission rate is greater than or equal to the target transmission rate, then determine the initial configuration information as the target configuration information; if the comparison result indicates that the transmission rate is less than the target transmission rate, then adjust the configuration information corresponding to the transmission rate according to the initial configuration information until the transmission rate corresponding to the adjusted configuration information is greater than or equal to the target transmission rate, and determine the adjusted configuration information as the target configuration information.

[0115] The device for determining configuration information provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0116] In one embodiment, please continue to refer to Fig.11 The first acquisition module 11 includes: a first acquisition unit 111 and a second acquisition unit 112, wherein:

[0117] The first acquisition unit 111 is used to acquire parameter information of a media redirection transmission channel when initiating a media redirection data request to a client;

[0118] The second acquisition unit 112 is used to acquire initial configuration information according to the parameter information and a preset algorithm.

[0119] The device for determining configuration information provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0120] In one embodiment, please continue to refer to Fig.11 The second acquisition module 12 includes a third acquisition unit 121 and a fourth acquisition unit 122, wherein:

[0121] The third acquisition unit 121 is used to acquire the timestamp information and byte information of the media data received by the media redirection transmission channel when receiving the media data sent by the client;

[0122] The fourth acquiring unit 122 is used to acquire the transmission rate according to the timestamp information and the byte information.

[0123] The device for determining configuration information provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0124] Each module in the above configuration information determination device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a server in the form of hardware, or can be stored in a memory in a server in the form of software, so that the processor can call and execute operations corresponding to each module.

[0125] In one embodiment, a server is provided, the internal structure diagram of the server can be as follows: Fig.12 As shown. The server includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the server is used to provide computing and control capabilities. The memory of the server includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the server is used to store media data to be transmitted. The input / output interface of the server is used to exchange information between the processor and an external device. The communication interface of the server is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for determining configuration information is implemented.

[0126] Those skilled in the art will understand that Fig.12The structure shown in the figure is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the server to which the solution of the present application is applied. The specific server may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0127] In one embodiment, a server is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0128] In the case of initiating a media redirection data request to the client, obtaining initial configuration information of the media redirection transmission channel;

[0129] When receiving the media data sent by the client, obtaining the transmission rate of the media data transmitted by the media redirection transmission channel;

[0130] According to the transmission rate and the initial configuration information, target configuration information of the media redirection transmission channel is determined.

[0131] Optionally, the media redirection transmission channel includes: a remote network transmission channel between the client and the web server in the server, a local network transmission channel between the web server and the media server in the server, and a universal serial bus transmission channel between the media server and the server.

[0132] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0133] Determine a comparison result of the transmission rate and a preset target transmission rate;

[0134] The target configuration information is determined according to the comparison result and the initial configuration information.

[0135] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0136] If the comparison result indicates that the transmission rate is greater than or equal to the target transmission rate, the initial configuration information is determined as the target configuration information;

[0137] If the comparison result indicates that the transmission rate is less than the target transmission rate, the configuration information corresponding to the transmission rate is adjusted according to the initial configuration information until the transmission rate corresponding to the adjusted configuration information is greater than or equal to the target transmission rate, and the adjusted configuration information is determined as the target configuration information.

[0138] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0139] When initiating a media redirection data request to the client, obtaining parameter information of the media redirection transmission channel;

[0140] Obtain initial configuration information based on parameter information and preset algorithms.

[0141] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0142] When receiving the media data sent by the client, obtaining the timestamp information and byte information of the media data received by the media redirection transmission channel;

[0143] Get the transmission rate based on the timestamp information and byte information.

[0144] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0145] In the case of initiating a media redirection data request to the client, obtaining initial configuration information of the media redirection transmission channel;

[0146] When receiving the media data sent by the client, obtaining the transmission rate of the media data transmitted by the media redirection transmission channel;

[0147] According to the transmission rate and the initial configuration information, target configuration information of the media redirection transmission channel is determined.

[0148] Optionally, the media redirection transmission channel includes: a remote network transmission channel between the client and the web server in the server, a local network transmission channel between the web server and the media server in the server, and a universal serial bus transmission channel between the media server and the server.

[0149] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0150] Determine a comparison result of the transmission rate and a preset target transmission rate;

[0151] The target configuration information is determined according to the comparison result and the initial configuration information.

[0152] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0153] If the comparison result indicates that the transmission rate is greater than or equal to the target transmission rate, the initial configuration information is determined as the target configuration information;

[0154] If the comparison result indicates that the transmission rate is less than the target transmission rate, the configuration information corresponding to the transmission rate is adjusted according to the initial configuration information until the transmission rate corresponding to the adjusted configuration information is greater than or equal to the target transmission rate, and the adjusted configuration information is determined as the target configuration information.

[0155] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0156] When initiating a media redirection data request to the client, obtaining parameter information of the media redirection transmission channel;

[0157] Obtain initial configuration information based on parameter information and preset algorithms.

[0158] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0159] When receiving the media data sent by the client, obtaining the timestamp information and byte information of the media data received by the media redirection transmission channel;

[0160] Get the transmission rate based on the timestamp information and byte information.

[0161] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0162] In the case of initiating a media redirection data request to the client, obtaining initial configuration information of the media redirection transmission channel;

[0163] When receiving the media data sent by the client, obtaining the transmission rate of the media data transmitted by the media redirection transmission channel;

[0164] According to the transmission rate and the initial configuration information, target configuration information of the media redirection transmission channel is determined.

[0165] Optionally, the media redirection transmission channel includes: a remote network transmission channel between the client and the web server in the server, a local network transmission channel between the web server and the media server in the server, and a universal serial bus transmission channel between the media server and the server.

[0166] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0167] Determine a comparison result of the transmission rate and a preset target transmission rate;

[0168] The target configuration information is determined according to the comparison result and the initial configuration information.

[0169] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0170] If the comparison result indicates that the transmission rate is greater than or equal to the target transmission rate, the initial configuration information is determined as the target configuration information;

[0171] If the comparison result indicates that the transmission rate is less than the target transmission rate, the configuration information corresponding to the transmission rate is adjusted according to the initial configuration information until the transmission rate corresponding to the adjusted configuration information is greater than or equal to the target transmission rate, and the adjusted configuration information is determined as the target configuration information.

[0172] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0173] When initiating a media redirection data request to the client, obtaining parameter information of the media redirection transmission channel;

[0174] Obtain initial configuration information based on parameter information and preset algorithms.

[0175] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0176] When receiving the media data sent by the client, obtaining the timestamp information and byte information of the media data received by the media redirection transmission channel;

[0177] Get the transmission rate based on the timestamp information and byte information.

[0178] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0179] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0180] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for determining configuration information, It is characterized in that The method comprises: In the case of initiating a media redirection data request to the client, obtaining initial configuration information of the media redirection transmission channel; When receiving the media data sent by the client, obtaining a transmission rate of the media data transmitted by the media redirection transmission channel; According to the transmission rate and the initial configuration information, target configuration information of the media redirection transmission channel is determined.

2. The method according to claim 1, It is characterized in that The determining, according to the transmission rate and the initial configuration information, target configuration information of the media redirection transmission channel includes: Determining a comparison result between the transmission rate and a preset target transmission rate; The target configuration information is determined according to the comparison result and the initial configuration information.

3. The method according to claim 2, It is characterized in that The step of determining the target configuration information according to the comparison result and the initial configuration information includes: If the comparison result indicates that the transmission rate is greater than or equal to the target transmission rate, determining the initial configuration information as the target configuration information; If the comparison result indicates that the transmission rate is less than the target transmission rate, the configuration information corresponding to the transmission rate is adjusted according to the initial configuration information until the transmission rate corresponding to the adjusted configuration information is greater than or equal to the target transmission rate, and the adjusted configuration information is determined as the target configuration information.

4. The method according to any one of claims 1 to 3, It is characterized in that In the case of initiating a media redirection data request to the client, obtaining initial configuration information of the media redirection transmission channel includes: In the case of initiating a media redirection data request to the client, obtaining parameter information of the media redirection transmission channel; The initial configuration information is acquired according to the parameter information and a preset algorithm.

5. The method according to any one of claims 1 to 3, It is characterized in that The media redirection transmission channel includes: a remote network transmission channel between the client and the web server in the server, a local network transmission channel between the web server and the media server in the server, and a universal serial bus transmission channel between the media server and the server.

6. The method according to claim 1, It is characterized in that The acquiring, when receiving the media data sent by the client, a transmission rate of the media data transmitted by the media redirection transmission channel, comprises: When receiving the media data sent by the client, obtaining timestamp information and byte information of the media data received by the media redirection transmission channel; The transmission rate is acquired according to the timestamp information and the byte information.

7. A device for determining configuration information, It is characterized in that The device comprises: A first acquisition module, configured to acquire initial configuration information of a media redirection transmission channel when initiating a media redirection data request to a client; A second acquisition module is used to acquire a transmission rate of the media data transmitted by the media redirection transmission channel when receiving the media data sent by the client; A determination module is used to determine target configuration information of the media redirection transmission channel according to the transmission rate and the initial configuration information.

8. A server comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.