Transmission scheme determination method and device, equipment and storage medium
By obtaining user demand information and network status information, and dynamically determining multiple transmission solutions, the problem that the transmission path cannot be dynamically adjusted in the prior art is solved, and efficient and reliable data transmission is achieved.
Patent Information
- Application Number
- CN202510012341.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-03
- Publication Date
- 2025-03-14
AI Technical Summary
The prior art is difficult to dynamically manage the transmission path of long-distance data transmission, and cannot synchronously adapt to changes in the network environment between the two ends of the transceiver, resulting in the inability to meet the user's data transmission needs.
By obtaining user demand information, including data transmission amount, target transmission duration, identification of sending nodes and receiving nodes, and obtaining communication status information and sending capability information of sending nodes based on these information, multiple transmission schemes are determined to ensure dynamic adjustment and optimization of the transmission path.
It realizes that while ensuring the normal operation of data transmission, it provides multiple most reliable transmission solutions to meet the user's data transmission needs and improves the efficiency, reliability and flexibility of data transmission.
Smart Images

Figure CN119629108A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, device, equipment and storage medium for determining a transmission scheme. Background Art
[0002] With the development of communication technology, the demand for user data computing continues to grow. Massive amounts of data need to be transmitted over long distances to super-intelligent computing centers for calculation and rendering, which makes users' requirements for data transmission increasingly higher.
[0003] Currently, when long-distance data transmission is performed, the transmission is usually performed based on a preconfigured transmission path between the transmitting and receiving ends.
[0004] However, in the above technical solution, since the network environment between the two ends of the transmission and reception is dynamically changing, the pre-configured transmission path cannot synchronize the changes in the network environment between the two ends of the transmission and reception, and it is difficult to meet the data transmission needs of users. Therefore, how to manage the transmission path during the data transmission process to meet the data transmission needs of users has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] The present application provides a method, apparatus, device and storage medium for determining a transmission scheme, which are used to solve the problem of how to manage the transmission path during data transmission to meet the data transmission needs of users.
[0006] In order to achieve the above objectives, this application adopts the following technical solutions:
[0007] In a first aspect, the present application provides a method for determining a transmission scheme, the method comprising: a transmission scheme determining device (hereinafter referred to as "determining device") obtains user demand information, wherein the user demand information includes: data transmission volume, target transmission duration, identification of a sending node, and identification of a receiving node. Then, based on the identification of the sending node and the identification of the receiving node, communication status information between the sending node and the receiving node, and first transmission capability information of the sending node are obtained. Then, based on the data transmission volume, target transmission duration, communication status information, and first transmission capability information, multiple first transmission schemes are determined, wherein one first transmission scheme corresponds to a transmission path between the sending node and the receiving node, and the estimated transmission durations in the multiple first transmission schemes are all less than the target transmission duration.
[0008] The technical solution provided by the present application brings at least the following beneficial effects: by obtaining user demand information, and further obtaining the communication status information between the sending node and the receiving node, and the first sending capability information of the sending node according to the user demand information. Then, multiple transmission schemes can be determined according to the user demand information, the communication status information and the first sending capability information. In this way, by comprehensively considering the user demand, the communication status and the sending capability, multiple most reliable transmission schemes can be provided to the user. While ensuring the normal operation of data transmission, the user can select the most suitable transmission scheme according to his own needs to ensure the efficiency, reliability and flexibility of data transmission.
[0009] Optionally, the communication status information includes the transmission bandwidth of all segmented routes between the sending node and the receiving node, and the minimum transmission bandwidth in the transmission path corresponding to the first transmission scheme is greater than or equal to a first ratio between the data transmission amount and the target transmission duration.
[0010] Optionally, the first sending capability information includes network card rates of multiple available network cards and read and write rates of multiple data hard disks, and the network card rate of the target network card and the read and write rate of the target hard disk in the first transmission scheme are both greater than or equal to the minimum transmission bandwidth in the transmission path corresponding to the first transmission scheme.
[0011] Optionally, a first transmission scheme corresponds to a Transmission Control Protocol TCP buffer size.
[0012] Optionally, the scheme cost value in the first transmission scheme is determined according to a minimum transmission bandwidth in a transmission path corresponding to the first transmission scheme.
[0013] Optionally, the transmission bandwidth is a predicted bandwidth within a target transmission duration after a first moment, and the first moment is a moment for acquiring user demand information.
[0014] Optionally, the method further includes: when the first transmission scheme has a risk of overdue, determining multiple second transmission schemes according to the remaining amount of data that has not been transmitted in the data transmission amount and the available transmission duration remaining from the target transmission duration. The first transmission scheme is a transmission scheme selected by the user from the multiple first transmission schemes, and the estimated transmission duration in the second transmission scheme is less than the available transmission duration.
[0015] In a second aspect, the present application provides a device for determining a transmission scheme, the device comprising: an acquisition module and a processing module.
[0016] An acquisition module is used to acquire user demand information. The user demand information includes: data transmission volume, target transmission duration, identification of the sending node, and identification of the receiving node. A processing module is used to acquire communication status information between the sending node and the receiving node, and first transmission capability information of the sending node according to the identification of the sending node and the identification of the receiving node. The processing module is also used to determine multiple first transmission schemes according to the data transmission volume, target transmission duration, communication status information, and first transmission capability information. A first transmission scheme corresponds to a transmission path between the sending node and the receiving node, and the estimated transmission durations in the multiple first transmission schemes are all less than the target transmission duration.
[0017] Optionally, the communication status information includes the transmission bandwidth of all segmented routes between the sending node and the receiving node, and the minimum transmission bandwidth in the transmission path corresponding to the first transmission scheme is greater than or equal to a first ratio between the data transmission amount and the target transmission duration.
[0018] Optionally, the first sending capability information includes network card rates of multiple available network cards and read and write rates of multiple data hard disks, and the network card rate of the target network card and the read and write rate of the target hard disk in the first transmission scheme are both greater than or equal to the minimum transmission bandwidth in the transmission path corresponding to the first transmission scheme.
[0019] Optionally, a first transmission scheme corresponds to a Transmission Control Protocol TCP buffer size.
[0020] Optionally, the scheme cost value in the first transmission scheme is determined according to a minimum transmission bandwidth in a transmission path corresponding to the first transmission scheme.
[0021] Optionally, the transmission bandwidth is a predicted bandwidth within a target transmission duration after a first moment, and the first moment is a moment for acquiring user demand information.
[0022] Optionally, the processing module is specifically used to determine multiple second transmission schemes according to the remaining amount of data that has not been transmitted in the data transmission amount and the available transmission time remaining from the target transmission time when there is a risk of overdue in the first transmission scheme. The first transmission scheme is a transmission scheme selected by the user from the multiple first transmission schemes, and the estimated transmission time in the second transmission scheme is less than the available transmission time.
[0023] In a third aspect, the present application provides a device for determining a transmission scheme, the device comprising: a processor and a memory, the processor and the memory being coupled, the memory being used to store one or more programs, the one or more programs comprising computer execution instructions, and when the device for determining the transmission scheme is running, the processor executes the computer execution instructions stored in the memory to implement the method for determining the transmission scheme described in the first aspect or any optional aspect in the first aspect.
[0024] In a fourth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a computer, the computer executes the method for determining the transmission scheme described in the first aspect or any optional aspect of the first aspect.
[0025] In a fifth aspect, the present application provides a computer program product applied to a server, the computer program product comprising computer instructions. When the computer instructions are executed on the server, the server implements the method for determining the transmission scheme described in the first aspect or any optional aspect in the first aspect.
[0026] In the above scheme, the technical problems that can be solved and the technical effects achieved by the transmission scheme determination device, equipment, computer storage medium or computer program product can be referred to the technical problems and technical effects solved by the above-mentioned first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A schematic diagram of a communication system provided in an embodiment of the present application;
[0028] Figure 2 A schematic diagram of a flow chart of a method for determining a transmission scheme provided in an embodiment of the present application;
[0029] Figure 3 A schematic diagram of an example of a transmission path provided in an embodiment of the present application;
[0030] Figure 4 A flowchart of another method for determining a transmission scheme provided in an embodiment of the present application;
[0031] Figure 5 An example flow chart of a high-speed transmission application program execution provided by an embodiment of the present application;
[0032] Figure 6 A schematic diagram of an example of selecting a transmission path provided in an embodiment of the present application;
[0033] Figure 7 A schematic diagram of the structure of a transmission scheme determination device provided in an embodiment of the present application;
[0034] Figure 8 A schematic diagram of the structure of a transmission scheme determination device provided in an embodiment of the present application;
[0035] Fig. 9 A conceptual partial view of a computer program product provided for an embodiment of the present application. DETAILED DESCRIPTION
[0036] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0037] In this article, the character " / " generally indicates that the objects before and after are in an "or" relationship. For example, A / B can be understood as A or B.
[0038] The terms “first” and “second” in the description and claims of the present application are used to distinguish different objects rather than to describe a specific order of the objects.
[0039] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include other steps or modules that are not listed, or may optionally include other steps or modules that are inherent to these processes, methods, products or devices.
[0040] In addition, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present concepts in a specific way.
[0041] Before introducing in detail the method for determining the transmission scheme provided in the embodiment of the present application, the implementation environment and application scenarios of the embodiment of the present application are first introduced.
[0042] First, the application scenarios of the embodiments of the present application are introduced.
[0043] With the development of communication technology, massive scientific computing data needs to be transported from the east to the western super-intelligent computing center for calculation and rendering. The original data types include: irregular original materials for film and television production, regular enterprise data cloud disaster recovery and backup, and astronomical data such as the Sky Eye generated periodically every day. These data transmissions are characterized by long distances and large volumes, but unlike video online viewing or live broadcast business data, most of the data in the east and west are cold and warm data that do not have strict requirements for real-time performance and focus more on effectiveness.
[0044] However, due to the large volume of data, if it is transmitted through the operator's network, in addition to the high dedicated line fees, it also takes up a lot of network bandwidth resources for a long time. Therefore, more data sources choose to complete data transmission through hard disk mailing and express delivery. In addition, for operators, if too much bandwidth resources are allocated, it will have an impact on existing businesses and the cost return rate is low. In response to this situation, measures can be taken to fully utilize the bandwidth during the night off hours, provide data express services, and provide same-day and next-day delivery services for time-sensitive data.
[0045] However, due to different configurations of system parameters such as the hard disk type where the data is located and the transmission control protocol (TCP) sliding window of the data sending terminal during the actual test, the data sending rate will be affected, which will in turn affect the data transmission completion time and billing.
[0046] That is, since the environmental parameters of the terminal and the network are changing dynamically, and different users have very different requirements for data transmission, a single data transmission parameter configuration scheme may affect the data transmission rate, and thus affect the data transmission completion time and billing.
[0047] In summary, how to manage the transmission path during data transmission to meet the data transmission needs of users has become a technical problem that needs to be solved urgently.
[0048] In order to solve the above problems, an embodiment of the present application provides a method for determining a transmission scheme, and the method for determining a transmission scheme provided by an embodiment of the present application is applied to a scenario of determining a transmission scheme. An embodiment of the present application obtains user demand information, and further obtains communication status information between a sending node and a receiving node, and first sending capability information of the sending node according to the user demand information. Then, multiple transmission schemes can be determined based on the user demand information, the communication status information, and the first sending capability information. In this way, by comprehensively considering user needs, communication status, and sending capabilities, multiple most reliable transmission schemes can be provided to users. While ensuring the normal operation of data transmission, users can select the most suitable transmission scheme according to their own needs to ensure the efficiency, reliability, and flexibility of data transmission.
[0049] The implementation environment of the embodiments of the present application is introduced below.
[0050] like Figure 1 As shown, it is a schematic diagram of a communication system provided by an embodiment of the present application, and the communication system may include: a transmission scheme determination device 101 and a collection device 102. The determination device 101 may be connected to the collection device 102 by wire or wirelessly.
[0051] Specifically, the collection device 102 can be used to receive user input information and collect status data of network devices. The collection device 102 can collect user demand information (such as receiving demand information input by the user) and report the user demand information to the determination device 101. The collected user demand information includes: data transmission volume, target transmission duration, identification of the sending node, and identification of the receiving node. The collection device 102 can also receive the sending node and the receiving node informed by the determination device 101. The collection device 102 can also collect the transmission bandwidth of all segmented routes between the sending node and the receiving node (i.e., communication status information), and collect the network card rate of multiple available network cards of the sending node and the read and write rate of multiple data hard disks (i.e., first sending capability information). The collection device 102 can also upload the collected communication status information and first sending capability information to the determination device 101.
[0052] The determination device 101 can be used for data identification and transmission scheme management. The determination device 101 can identify the sending node and the receiving node according to the identification of the sending node and the identification of the receiving node in the collected user demand information, and inform the collection device 102 of the sending node and the receiving node. The determination device 101 can also determine the transmission scheme in the data transmission process based on the user demand information, communication status information and first transmission capability information from the collection device 102.
[0053] In the embodiment of the present application, the determination device 101 and the collection device 102 are both in the user side device (such as a terminal).
[0054] That is, the user equipment can locally collect the user demand information, the communication state information and the first sending capability information of the sending node, and determine the transmission scheme between the sending node and the receiving node.
[0055] Alternatively, the determination device 101 may be a network side device (such as a base station, a server or a core network element), the collection device 102 may be a user side device (such as a terminal), and the network side device corresponding to the determination device 101 may also feedback the determined transmission scheme to the user side device corresponding to the collection device 102 after determining the transmission scheme for presentation to the user.
[0056] That is, the user equipment may report the locally collected user demand information, communication status information, and the first sending capability information of the sending node to the network side, and then receive the transmission solution recommended by the network side.
[0057] Alternatively, the determination device 101 and the collection device 102 are both in the network side device (such as a base station, a server or a core network element). After determining the transmission scheme, the network side device can also feedback the determined transmission scheme to the corresponding user side device for presentation to the user.
[0058] That is to say, the network side can independently collect the user demand information, communication status information and the first sending capability information of the sending node of the user device, and determine the transmission scheme between the sending node and the receiving node, and then provide the user device with the determined transmission scheme to present to the user.
[0059] The server may be a single physical server or a server cluster consisting of multiple servers. Alternatively, the server cluster may be a distributed cluster. Alternatively, the server may be a cloud server. The embodiments of the present application do not limit the specific implementation of the server.
[0060] The base station may include various forms of base stations, such as macro base stations, micro base stations (also called small stations), relay stations, access points, etc. Specifically, it may be an access point (AP) in a wireless local area network (WLAN), a base station (Base Transceiver Station, BTS) in a global system for mobile communications (GSM) or code division multiple access (CDMA), a base station (NodeB, NB) in wideband code division multiple access (WCDMA), an evolved Node B (eNB or eNodeB) in LTE, or a relay station or access point, as well as a base station in a future sixth generation mobile communication technology (6G) network or a base station in a future evolved public land mobile network (PLMN) network, etc.
[0061] The core network elements may include various network functions, such as access and mobility management function (AMF), session management function (SMF), user plane function (UPF), policy control function (PCF), unified data management (UDM), location management function (LMF), etc.
[0062] The terminal may be a mobile phone, tablet computer, desktop, laptop, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, etc. with transceiver functions. The present application does not impose any special restrictions on the specific form of the terminal. It may interact with the user through one or more methods such as keyboard, touch pad, touch screen, remote control, voice interaction or handwriting device.
[0063] After introducing the application scenario and implementation environment of the embodiment of the present application, the method for determining the transmission scheme provided by the embodiment of the present application is described in detail below in combination with the above-mentioned implementation environment.
[0064] The methods in the following embodiments can all be implemented in the above application scenarios and implementation environments. The embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0065] Figure 2 A flow chart of a method for determining a transmission scheme provided in an embodiment of the present application. Figure 2 As shown, the method may include: S201-S203.
[0066] S201. Obtain user demand information.
[0067] The user demand information includes: data transmission volume, target transmission duration, identification of the sending node, and identification of the receiving node.
[0068] It should be noted that the target transmission duration is used to indicate the time requirement for completing data transmission, the identifier of the sending node is used to distinguish different sending devices in the network, and the identifier of the receiving node is used to distinguish different receiving devices in the network.
[0069] It should be noted that the embodiment of the present application does not limit the type of data to be transmitted. For example, the data to be transmitted may be video data, for another example, the data to be transmitted may be audio data, or for another example, the data to be transmitted may be text data.
[0070] For example, a user needs to transfer the enterprise's text backup data from location A to location B, where the data transmission volume is 10TB (terabytes), the target transmission time is 12 hours, the sending node is the device at location A, the sending node is identified by identification A, and the receiving node is the device at location B, the receiving node is identified by identification B.
[0071] It should be noted that the embodiments of the present application do not limit the types of the identifier of the sending node and the identifier of the receiving node. For example, the identifier of the sending node and the identifier of the receiving node may be a media access control (MAC) address, or for another example, the identifier of the sending node and the identifier of the receiving node may be a port number, or for another example, the identifier of the sending node and the identifier of the receiving node may be an International Mobile Equipment Identity (IMEI).
[0072] S202: Acquire communication state information between the sending node and the receiving node, and first sending capability information of the sending node according to the identifier of the sending node and the identifier of the receiving node.
[0073] The communication status information includes the transmission bandwidth of all segment routes between the sending node and the receiving node.
[0074] It should be noted that the transmission bandwidth of the segmented routing between the sending node and the receiving node can be the transmission bandwidth when the determination device responds to the user demand information (i.e., receives the user demand information) (i.e., the transmission bandwidth at the current moment); or, the transmission bandwidth of the segmented routing between the sending node and the receiving node can be the transmission bandwidth predicted by the determination device in a future time period.
[0075] As a possible implementation, after receiving the user demand information at the first moment, the determination device collects the current bandwidth and historical bandwidth of all segment routes between the sending node and the receiving node, and predicts the predicted bandwidth of each segment route within the target transmission duration after the first moment based on the historical bandwidth and the current bandwidth. The first moment is the moment of obtaining the user demand information.
[0076] It should be noted that the embodiments of the present application do not limit the prediction algorithm for predicting bandwidth. For example, the prediction algorithm may be a linear regression algorithm, or a neural network algorithm, or a deep learning algorithm.
[0077] That is to say, by collecting user demand information, predicting the bandwidth demand within the expected transmission time, and using the predicted bandwidth as the transmission bandwidth in the subsequent data transmission process, the optimal transmission bandwidth can be set for subsequent data transmission, thereby improving transmission speed and stability and optimizing data transmission efficiency.
[0078] As a possible implementation method, there are multiple transfer nodes between the sending node and the receiving node, and a segmented route is formed between each node, and each segment route corresponds to a transmission bandwidth.
[0079] For example, Figure 3 As shown, the user needs to transmit data from the sending node to the receiving node, and there is a transit node A-transit node C between the sending node and the receiving node, that is, the data transmission path may include path 1 and path 2, path 1 is sending node-transit node A-transit node B-receiving node, and path 2 is sending node-transit node C-receiving node. Among them, the transmission bandwidth of segment route 1 between the sending node and the transit node A is 10GB / s (gigabytes per second), the transmission bandwidth of segment route 2 between the transit node A and the transit node B is 40GB / s, the transmission bandwidth of segment route 3 between the transit node B and the receiving node is 100GB / s, the transmission bandwidth of segment route 4 between the sending node and the transit node C is 5GB / s, and the transmission bandwidth of segment route 5 between the transit node C and the receiving node is 50GB / s. The communication status information includes that the transmission bandwidth of segment route 1 is 10GB / s, the transmission bandwidth of segment route 2 is 100GB / s, the transmission bandwidth of segment route 3 is 40GB / s, the transmission bandwidth of segment route 4 is 5GB / s, and the transmission bandwidth of segment route 5 is 50GB / s.
[0080] In an embodiment of the present application, the first sending capability information includes network card rates of multiple available network cards and read and write rates of multiple data hard disks.
[0081] Exemplarily, the multiple available network cards of the sending node include: 1GE (Gigabit Ethernet) network card and 10GE network card, and the multiple data hard disks include: hard disk drive (HDD) and solid state drive (SSD), then the first sending capability information includes: network card rates of the 1GE network card and the 10GE network card, and the read and write rates of the HDD hard disk and the SSD hard disk.
[0082] As a possible implementation, the determination device may obtain the identifier of the sending node and the identifier of the receiving node through the collection device. Then, the determination device may identify the sending node and the receiving node based on the identifier of the sending node and the identifier of the receiving node, and obtain the communication state information between the sending node and the receiving node, and the first sending capability information of the sending node through the collection device.
[0083] S203: Determine a plurality of first transmission schemes according to the data transmission volume, the target transmission duration, the communication status information and the first transmission capability information.
[0084] A first transmission scheme corresponds to a transmission path between a sending node and a receiving node.
[0085] For example, in combination with the above Figure 3 As shown, multiple first transmission schemes may include: transmission scheme A and transmission scheme B, transmission scheme A is a data transmission scheme for path 1, and transmission scheme B is a data transmission scheme for path 2. As a possible implementation method, there may be multiple preset transmission paths between the sending node and the receiving node. The determination device may determine the lower bandwidth limit of the data transmission based on the first ratio between the data transmission amount and the target transmission duration. Then, the determination device may screen the multiple preset transmission paths according to the bandwidth lower limit to obtain at least one first transmission path, and the minimum transmission bandwidth of all segmented paths in the first transmission path is greater than or equal to the bandwidth lower limit. Afterwards, the determination device may take each first transmission path as a transmission scheme to obtain multiple first transmission schemes. One first transmission scheme corresponds to one first transmission path.
[0086] Among them, the first ratio is the minimum transmission rate for transmitting data transmission within the target transmission duration, the lower limit of the bandwidth for data transmission is equal to the first ratio, the minimum transmission bandwidth in the transmission path corresponding to the first transmission scheme is greater than or equal to the first ratio between the data transmission volume and the target transmission duration, and the minimum transmission bandwidth is the bottleneck bandwidth in the transmission bandwidth of the segmented routing in the transmission path.
[0087] That is to say, by requiring the minimum transmission bandwidth in the transmission path to be greater than or equal to the ratio of the data transmission amount to the target transmission duration, it can be ensured that the first transmission scheme can maintain a higher minimum bandwidth requirement during the data transmission process to ensure that the transmission task can be completed within the specified time, thereby improving the reliability and stability of the transmission.
[0088] For example, in combination with the above Figure 3As shown, the multiple preset transmission paths include: path 1 and path 2, the minimum transmission bandwidth of all segmented paths in path 1 is 10GB / s, and the minimum transmission bandwidth of all segmented paths in path 2 is 5GB / s. If the data transmission volume is 10TB and the target transmission time is 22 minutes, the bandwidth lower limit is about 7.75GB / s, path 1 is the first transmission path, and the first transmission plan is: path 1.
[0089] In an embodiment of the present application, a first transmission scheme corresponds to an expected transmission duration, and the expected transmission duration of the first transmission scheme is equal to the ratio between the data transmission amount and the minimum transmission bandwidth in the transmission path corresponding to the first transmission scheme.
[0090] Exemplarily, in combination with the above embodiment, the estimated transmission duration of the transmission solution corresponding to path 1 is equal to 1024 seconds.
[0091] The technical solution provided by the above embodiment brings at least the following beneficial effects: by obtaining user demand information, and further obtaining the communication status information between the sending node and the receiving node, and the first sending capability information of the sending node according to the user demand information. Then, multiple transmission schemes can be determined according to the user demand information, the communication status information and the first sending capability information. In this way, by comprehensively considering the user demand, the communication status and the sending capability, multiple most reliable transmission schemes can be provided to the user. While ensuring the normal operation of data transmission, the user can select the most suitable transmission scheme according to his own needs to ensure the efficiency, reliability and flexibility of data transmission.
[0092] It should be noted that, during the data transmission process, the transmission rate and transmission time of the data transmission are not only related to the network status of the transmission path, but also related to the data transmission configuration of the sending node. For example, the network card speed, the read and write speed of the hard disk, and the transmission control protocol TCP buffer size. Therefore, in the process of determining the transmission scheme, the determination device can also manage the data transmission configuration of the sending node on different transmission paths.
[0093] In some embodiments, in the process of determining multiple first transmission schemes (i.e., S203) according to the data transmission volume, target transmission duration, communication status information, and first transmission capability information, the determining device first selects at least one first transmission path from multiple preset transmission paths. Then, for each first transmission path, the determining device can determine the target network card, target hard disk, and target TCP cache size in the sending node for data transmission on the first transmission path based on the minimum transmission bandwidth of the first transmission path, and use the first transmission path, and the target network card, target hard disk, and target TCP cache size corresponding to the first transmission path as the first transmission scheme, to obtain multiple first transmission schemes.
[0094] The network card rate of the target network card and the read / write rate of the target hard disk are both greater than or equal to the minimum transmission bandwidth of the corresponding first transmission path.
[0095] That is to say, a first transmission scheme corresponds to a first transmission path, a target network card, a target hard disk, and a target TCP buffer size.
[0096] For example, in combination with the above Figure 3 As shown, the multiple preset transmission paths include: path 1 and path 2, the minimum transmission bandwidth of all segmented paths in path 1 is 10GB / s, and the minimum transmission bandwidth of all segmented paths in path 2 is 5GB / s. If the data transmission volume is 10TB, the target transmission time is 22 minutes, and the multiple available network cards in the sending node include: network card A with a rate of 8GB / s and network card B with a rate of 11GB / s, and the multiple available hard disks include: hard disk A with a rate of 5GB / s and hard disk B with a rate of 10GB / s, then the bandwidth lower limit is about 7.75GB / s, path 1 is the first transmission path, the target network card of path 1 is network card B, the target hard disk is hard disk B, and the first transmission scheme is: path 1+network card B+hard disk B.
[0097] That is to say, by requiring the target network card rate and the target hard disk read and write rate to be greater than or equal to the minimum transmission bandwidth in the transmission path, the end-to-end performance of the entire transmission link can be ensured, the hardware bottleneck is eliminated, and the overall transmission performance is improved. In addition, by setting a suitable TCP buffer size for each first transmission scheme, the efficiency and performance of each first transmission scheme to data transmission can be affected.
[0098] It should be noted that the scheme cost value in the first transmission scheme is determined according to the minimum transmission bandwidth in the transmission path corresponding to the first transmission scheme.
[0099] As a possible design, the scheme cost value in the first transmission scheme can be expressed by the following formula 1:
[0100]
[0101] Among them, C is used to indicate the solution cost value, t is used to indicate the expected transmission time, B is used to indicate the minimum transmission bandwidth, and τ and β are used to indicate the solution cost coefficients.
[0102] For example, in a first transmission plan, if the plan cost coefficient β is 10, τ is 5, the expected transmission time t is 24 hours, and the minimum transmission bandwidth B is 116MB / s, then the plan cost value C in the first transmission plan is 143.2 yuan.
[0103] In other words, by directly associating the plan cost with the minimum transmission bandwidth, a reasonable match between the cost and bandwidth resources can be achieved, ensuring that the cost can accurately reflect the bandwidth resources used during the transmission process. This helps users clearly understand the cost of bandwidth when choosing a transmission plan and make reasonable decisions based on actual needs.
[0104] It should be noted that during the data transmission process, the network environment is relatively poor and cannot meet the transmission needs or the high transmission cost during this period will affect the transmission speed and connection quality, resulting in the original transmission plan (i.e., the first transmission plan) being at risk of overdue. In order to ensure the punctuality of data transmission, the first transmission plan can be corrected through the following embodiments.
[0105] In some embodiments, after determining multiple first transmission schemes, the determination device may present each first transmission scheme to the user, and receive the user's selection operation for the target transmission scheme from the multiple first transmission schemes. Next, the determination device may monitor the transmission status of the target transmission scheme for the data transmission volume (such as whether the transmission has timed out). Afterwards, when the determination device detects that the target transmission scheme is at risk of overdue, it may determine multiple second transmission schemes based on the remaining amount of data that has not been transmitted in the data transmission volume and the remaining available transmission duration in the target transmission duration.
[0106] The estimated transmission duration in the second transmission scheme is smaller than the available transmission duration.
[0107] For example, the user needs to transfer 10TB of data from the sending node to the receiving node at 18:00 that afternoon, and the user's target transmission time is 12 hours. If at 3:00 a.m. the next day, the amount of data transmitted is 6TB, and there is a risk of overdue according to the current transmission plan, then the remaining data amount is 4TB, and the remaining available transmission time in the target transmission time is 3 hours. The determination device can determine the second transmission plan based on the remaining data amount of 4TB and the available transmission time of 3 hours.
[0108] It should be noted that, for the process in which the corresponding determination device determines multiple second transmission schemes according to the remaining data amount and the available transmission time, reference can be made to the introduction of the determination device determining multiple first transmission schemes in the above embodiment, which will not be repeated here.
[0109] It can be understood that by monitoring the completion status in the data transmission project, the determination device can determine the amount of unfinished data and the remaining available transmission time relative to the expected transmission time based on the completion status of the data transmission, generate a new transmission plan, and adjust the transmission plan in time to ensure that the data transmission task can be completed on time and efficiently.
[0110] The following describes a method for determining a transmission scheme provided in an embodiment of the present application in conjunction with specific examples.
[0111] like Figure 4 As shown, when the high-speed transmission application (i.e., the device for determining the transmission scheme) starts running, the user needs to create a new transmission task. After that, the user needs to fill in the demand information, including the address of the receiving end of the transmission task, the expected completion time, data security and other requirements, so that the high-speed transmission application can execute the intelligent parameter adjustment algorithm to generate a recommended solution. The high-speed transmission application can generate different recommended solutions based on user needs and the hardware configuration of the sender. The solutions include information such as network card type, hard disk type, expected start time of the task, expected time, estimated cost, etc. Then, the user can view the recommended solution to choose whether to accept the recommended solution. If the user does not accept the recommended solution, the user can update the demand information to generate a recommended solution that meets the new needs; if the user accepts the recommended solution, the user can choose one of the solutions to perform the data transmission task.
[0112] During the execution of the data transmission task, the high-speed transmission application can ask the user whether to accept the task overdue risk reminder. If the user does not accept the task overdue risk reminder, the high-speed transmission application will execute the transmission task to the end according to the current plan; if the user accepts the task overdue risk reminder, then when the transmission task starts to be executed, the high-speed transmission application can periodically monitor the transmission task in real time, and when the overdue risk is detected, remind the user that the task has the risk of overdue.
[0113] Then, the high-speed transmission application can ask the user whether to adjust the transmission plan. If the user adjusts the transmission plan, the user can update the demand information to generate a recommended plan that meets the new demand (i.e., when the first transmission plan is at risk of overdue, multiple second transmission plans are determined based on the remaining amount of data that has not been transmitted in the data transmission volume and the remaining available transmission time of the target transmission time. Among them, the first transmission plan is the transmission plan selected by the user from multiple first transmission plans, and the estimated transmission time in the second transmission plan is less than the available transmission time).
[0114] If the user does not adjust the transmission plan, the transmission task will continue to be executed according to the current plan until it is completed. After the transmission task is completed, the high-speed transmission application will record the task parameters and completion time, and input them into the intelligent parameter adjustment sample library as samples. At this time, the data transmission task is completed.
[0115] The high-speed transmission application executes the intelligent parameter adjustment algorithm to generate the recommended solution, such as Figure 5When the high-speed transmission application is started, the computer or server and other devices initialize the terminal environment, and then the high-speed transmission application will obtain the current terminal environment parameters. The current terminal and network environment parameters include the network card speed, hard disk speed, TCP buffer size and network bandwidth.
[0116] High-speed transmission applications can use test files to match parameters such as different network card rates, hard disk rates, and TCP buffer sizes, select the same receiving end and sending path, and verify the file transfer rate respectively. In addition, due to the limited number of network card rate types and hard disk rate types, such parameters can be fully combined, and TCP buffer size and other parameters can be changed linearly. Different sample points can be selected for combination, and through continuous iteration, the transmission estimation time algorithm is optimized and the sample library is updated to improve the accuracy of the estimated transmission time in the recommended solution. The operation process of the high-speed transmission application ends when all recommended solutions are generated and recorded.
[0117] In the embodiment of the present application, the multiple transmission schemes are composed of a direct scheme and a transit scheme.
[0118] It should be noted that the determination device can predict the environmental parameters within the expected completion time in the future based on the historical environmental parameters and current environmental parameters obtained from the terminal and the network. Then, the determination device can obtain the target average rate based on the data volume and the expected completion time in the user demand information, and select the type of network card rate and hard disk rate that are close to the target average rate. Then, the determination device can determine the actual average rate and the actual completion time under the actual average rate based on the predicted TCP buffer size and delay RTT. And, it is determined whether the actual completion time meets the expected completion time. If not, the determination device adjusts the TCP buffer size until the actual completion time meets the expected completion time, and calculates the billing price of data transmission under the satisfied situation, so as to obtain a direct solution (i.e., according to the data transmission volume, target transmission time, communication status information and first transmission capability information, multiple first transmission solutions are determined).
[0119] The following is an introduction to the process of determining the above direct solution in combination with specific steps.
[0120] Step a, initializing the terminal environment such as a computer or server, and the high-speed transmission application receives the transmission data volume and estimated completion time imported by the user, wherein the user transmission data volume can be represented by G, and the estimated completion time can be represented by t (i.e., obtaining user demand information, which includes: data transmission volume, target transmission duration, identification of the sending node, and identification of the receiving node).
[0121] Step b: After the high-speed transmission application starts running, the high-speed transmission application can obtain the historical and current environment parameters of the terminal and the network, and predict the environment parameters of the expected completion time in the future (i.e., obtain the first transmission capability information of the sending node according to the identifier of the sending node and the identifier of the receiving node). The environment parameters can be expressed as F(N i ,D j ,T,B) indicates that, where N i Indicates the network card speed, i indicates the type of network card speed (such as i is 1, 2, 3...I), D j represents the hard disk speed, j represents the type of hard disk speed (such as j is 1, 2, 3...J), T represents the TCP buffer size, and the TCP buffer size value range can be [0, T max ], B represents the network bandwidth, [0,B max ].
[0122] Step c: Optimize the network card rate and hard disk rate during data transmission. The high-speed transmission application can calculate the target average rate of data transmission, which can be expressed as High-speed transmission applications can select network cards and hard disks that are close to the target average rate, and ensure that the network card rate and hard disk rate are both greater than the target average rate, so that the solution meets N i >R i , D j >R i (That is, the network card rate of the target network card and the read / write rate of the target hard disk in the first transmission scheme are both greater than or equal to the minimum transmission bandwidth in the transmission path corresponding to the first transmission scheme.) If the user's needs cannot be met, the high-speed transmission application needs to re-receive the user's modified estimated completion time.
[0123] Step d: Calculate the actual average rate. Select a network connection with the same receiving end and sending path to ensure the consistency of the test conditions and obtain the current delay of the sending path. Then, determine the average bandwidth of the network so that the average bandwidth of the network B n Equal to the routing rate R i , initialize the TCP buffer size to T k , and obtain the environmental parameter F(N i ,D j ,T k ,B n ), calculate the actual average rate. The actual average rate can be determined by the following formula 2:
[0124]
[0125] Among them, R0 represents the actual average rate, B nrepresents the average bandwidth of the network, RTT represents the current delay, T k Indicates the TCP buffer size.
[0126] Step e: Calculate the user's estimated data transmission time, which can be represented by t0. The actual average rate can be determined by the following formula 3:
[0127]
[0128] Among them, t0 represents the expected data transmission time, G represents the amount of data transmitted by the user, and R0 represents the actual average rate.
[0129] Step f: If t0>t, adjust the TCP buffer size T k =α*T k-1 , α represents the cache adjustment coefficient, and steps d and e are repeated to calculate R0 and t0.
[0130] Step g: repeat steps e and f until t0≤t, and output the parameter configuration at this time.
[0131] Step h: Calculate the cost of data transmission. For details, refer to the description of determining the scheme cost value in the first transmission scheme in the above embodiment, which will not be described in detail here.
[0132] Exemplarily, after initialization on a terminal environment such as a computer or server, the high-speed transmission application receives the user's imported user transmission data volume and estimated completion time, and runs the high-speed transmission application. The user transmission data volume G is 10TB, and the estimated completion time t is 24 hours. The high-speed transmission application can obtain environmental parameters, where the network card includes two types: 1GE and 10GE, and the hard disk includes two types: HDD and SSD.
[0133] The target rate is calculated to be 116MB / s. According to the target average rate, the network card is selected as 1GE and the hard disk is selected as HDD. Next, the same receiving end and sending path are selected, and the current delay is obtained as 32 milliseconds. The TCP buffer size is initially set to 3.2MB. The average bandwidth of the network is 116MB / s, and the transmission rate R0 is calculated to be 100MB / s. Then, the user data transmission time t0 is calculated to be about 27 hours, which exceeds the expected completion time t. The TCP buffer size T needs to be adjusted k ,Set the cache adjustment coefficient α to 2, then T k is 6.4M, and R0 is recalculated to be 116MB / s. It can be obtained that the calculated user data transmission time t0 is about 24 hours, which meets the expected completion time t. At this time, let β be 5, τ be 10, and the calculated data transmission cost is 143.2 yuan.
[0134] Exemplarily, after initialization of a terminal environment such as a computer or server, the high-speed transmission application receives the user's imported user transmission data volume and estimated completion time, and runs the high-speed transmission application. The user transmission data volume G is 10TB, and the estimated completion time t is 1 hour. The high-speed transmission application can obtain environmental parameters, where the network card includes two types: 1GE and 10GE, and the hard disk includes two types: HDD and SSD.
[0135] The target rate is calculated to be 2.7GB / s. The network card and disk cannot meet the current rate. The high-speed transmission application re-receives the modified demand information imported by the user and modifies it to be completed within 3 hours. The target rate is calculated to be 0.93GB / s. The network card 10GE and hard disk SSD are selected based on the target average rate. Next, the same receiving end and sending path are selected, and the current delay is 32 milliseconds. The TCP cache size is initially set to 3.2MB bytes. The average bandwidth of the network is 0.93GB / s, and the transmission rate R0 is calculated to be 100MB / s. Then, the user data transmission time t0 is calculated to be approximately 27 hours, which exceeds the expected completion time t. The TCP cache size T needs to be adjusted k ,Set the cache adjustment coefficient α to 10, then T k is 32MB, and R0 is recalculated to be 0.93GB / s. It can be obtained that the calculated user data transmission time t0 is about 3 hours, which meets the expected completion time t. At this time, let β be 5, τ be 10, and the calculated data transmission cost is 201 yuan.
[0136] It should be noted that the determination device predicts the environmental parameters within the expected completion time in the future based on the historical and current environmental parameters of the terminal and the network. Then, the determination device obtains the target average rate based on the data volume and the expected completion time in the user demand information, and selects the type of network card rate and hard disk rate that are close to the target average rate. Next, the determination device obtains the transmission bandwidth of each path in all transmission paths, and for one of the transmission paths (i.e., according to the identifier of the sending node and the identifier of the receiving node, the communication status information between the sending node and the receiving node is obtained), the minimum transmission bandwidth value is calculated to obtain the transit plan (i.e., according to the data transmission volume, the target transmission time, the communication status information and the first transmission capability information, multiple first transmission plans are determined).
[0137] For the transit solution, when there are multiple available paths between the data sender and the computing power center, traditional real-time services usually choose the path with the shortest latency. However, for time-sensitive services such as data express, the path with the largest remaining available bandwidth in the bottleneck link among the links is preferred.
[0138] like Figure 6As shown in the figure, there are two optional paths from location 1 to location 2: real-time services that do not have high bandwidth requirements but are sensitive to latency will choose the shortest path from location 1 to AB to location 2; but for time-sensitive data express services that are not sensitive to latency, the bottleneck bandwidth of the path from location 1 to AB to location 2 is the 1G bandwidth of link B to location 2. Due to the limitation of this link, the maximum available bandwidth of the entire path is 1GB / s; the path from location 1 to CDE to location 2, although the physical distance is long and the latency is large, the bottleneck bandwidth is 5GB / s, and the maximum available bandwidth of the entire path is 5GB / s. Therefore, choosing this path to transfer files can ensure a higher rate.
[0139] Exemplarily, after initialization on a terminal environment such as a computer or server, the high-speed transmission application receives the user's imported user transmission data volume and estimated completion time, and runs the high-speed transmission application. The user transmission data volume G is 10TB, and the estimated completion time t is 12 hours. The high-speed transmission application can obtain environmental parameters, where the network card includes two types: 1GE and 10GE, and the hard disk includes two types: HDD and SSD.
[0140] For the path from location 1-AB to location 2, the target rate is calculated to be 240MB / s. Based on the target average rate, the network card is selected as 10GE and the hard disk is selected as HDD. Next, the same receiving end and sending path are selected, the current delay is obtained, and the TCP buffer size within the expected completion time in the future is predicted based on historical and current environmental parameters. In the path from location 1-AB to location 2, the bottleneck bandwidth is 1GB / s, so the transmission bandwidth is set to 1GB / s. The expected transmission time for each path under this bottleneck bandwidth is about 2.78 hours, so the total expected transmission time under this link is 8 hours. Based on this transmission bandwidth, at this time, let β be 5 and τ be 10, and the cost of data transmission is calculated to be 240 yuan.
[0141] In summary, assume that the user creates a new transmission task at 18:00 on the same day. The user's data transmission volume is 10TB and needs to be transmitted from location 1 to location 2 within 12 hours. The high-speed transmission application generates the following three recommended solutions after executing the intelligent parameter adjustment algorithm:
[0142] (1) 1GE network card + HDD + TCP cache size 3.2MB, starting at 3 am, completed in 3 hours, cost 100 yuan;
[0143] (2) 1GE network card + SDD + TCP cache size 6.4MB, starting at 4 am, completed in 2 hours, cost 200 yuan;
[0144] (3) 10GE network card + SDD + TCP cache size 32MB, starting at 5 am, completed in half an hour, cost 300 yuan.
[0145] If the high-speed transmission application receives the user's selection operation transmission of solution (2) and receives a task overdue reminder, the transmission task is periodically monitored during the task execution. Assuming that the transmission rate is lower than expected at 5:30, it may be overdue and the user is reminded. If the high-speed transmission application receives the user's request to adjust the solution, the high-speed transmission application switches to solution C to execute the transmission task until it is completed based on the user's updated demand information. When the data transmission task is completed, the high-speed transmission application can record the task parameters and completion time as samples to input into the intelligent parameter adjustment sample library, which is used to correct the historical rate curve in the high-speed transmission application.
[0146] It should be noted that the adjustment plan will not incur additional costs. If the task is transmitted at the original rate and causes timeout, the corresponding fees will be compensated according to certain rules. Users can choose to deliver data on time or collect compensation.
[0147] It is understandable that by determining the transmission scheme, the utilization rate of existing resources can be fully improved under limited hardware resource configuration, and a flexible and intelligent configuration method can be provided for users who are not familiar with the environment configuration, thereby improving the usability of high-speed transmission terminals. Moreover, the transmission scheme determination device can improve the accuracy of transmission rate estimation through continuous iterative optimization, providing users with an effective reference.
[0148] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of computer equipment. It is understandable that, in order to realize the above functions, the computer equipment includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the method steps for determining the transmission scheme of each example described in the embodiment disclosed in the present application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0149] The embodiment of the present application also provides a transmission scheme determination device. The transmission scheme determination device can be a computer device, a CPU in the above-mentioned computer device, a processing module in the above-mentioned computer device for determining the transmission scheme, or a client in the above-mentioned computer device for determining the transmission scheme.
[0150] The embodiment of the present application can divide the transmission scheme determination device into functional modules or functional units according to the above method example. For example, each functional module or functional unit can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present application is schematic, which is only a logical function division. There may be other division methods in actual implementation.
[0151] like Figure 7 FIG. 1 is a schematic diagram of a structure of a transmission scheme determination device provided in an embodiment of the present application. The transmission scheme determination device is used to perform Figure 2 The transmission scheme determination method shown in the figure, the transmission scheme determination device 700 may include: an acquisition module 701 and a processing module 702.
[0152] The acquisition module 701 is used to obtain user demand information. The user demand information includes: data transmission volume, target transmission duration, identification of the sending node, and identification of the receiving node. The processing module 702 is used to obtain the communication status information between the sending node and the receiving node, and the first sending capability information of the sending node according to the identification of the sending node and the identification of the receiving node. The processing module 702 is also used to determine multiple first transmission schemes according to the data transmission volume, the target transmission duration, the communication status information and the first sending capability information. A first transmission scheme corresponds to a transmission path between the sending node and the receiving node, and the estimated transmission durations in the multiple first transmission schemes are all less than the target transmission duration.
[0153] Optionally, the communication status information includes the transmission bandwidth of all segmented routes between the sending node and the receiving node, and the minimum transmission bandwidth in the transmission path corresponding to the first transmission scheme is greater than or equal to a first ratio between the data transmission amount and the target transmission duration.
[0154] Optionally, the first sending capability information includes network card rates of multiple available network cards and read and write rates of multiple data hard disks, and the network card rate of the target network card and the read and write rate of the target hard disk in the first transmission scheme are both greater than or equal to the minimum transmission bandwidth in the transmission path corresponding to the first transmission scheme.
[0155] Optionally, a first transmission scheme corresponds to a Transmission Control Protocol TCP buffer size.
[0156] Optionally, the scheme cost value in the first transmission scheme is determined according to a minimum transmission bandwidth in a transmission path corresponding to the first transmission scheme.
[0157] Optionally, the transmission bandwidth is a predicted bandwidth within a target transmission duration after a first moment, and the first moment is a moment for acquiring user demand information.
[0158] Optionally, the processing module 702 is specifically configured to determine multiple second transmission schemes according to the remaining amount of data that has not been transmitted in the data transmission amount and the remaining available transmission duration of the target transmission duration when the first transmission scheme has a risk of overdue. The first transmission scheme is a transmission scheme selected by the user from the multiple first transmission schemes, and the estimated transmission duration in the second transmission scheme is less than the available transmission duration.
[0159] Figure 8 8 is a schematic diagram of a transmission scheme determination device according to an exemplary embodiment. The device may include a processor 802, and the processor 802 is used to execute application code to implement the transmission scheme determination method in the present application.
[0160] The processor 802 may be a CPU, a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0161] like Figure 8 As shown, the transmission scheme determination device may further include a memory 803. The memory 803 is used to store application program codes for executing the scheme of the present application, and the execution is controlled by the processor 802.
[0162] The memory 803 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 803 may exist independently and be connected to the processor 802 via the bus 804. The memory 803 may also be integrated with the processor 802.
[0163] like Figure 8 As shown, the transmission scheme determination device may further include a communication interface 801, wherein the communication interface 801, the processor 802, and the memory 803 may be coupled to each other, for example, via a bus 804. The communication interface 801 is used to perform information interaction with other devices, for example, to support information interaction between the transmission scheme determination device and other devices.
[0164] It should be pointed out that Figure 8 The device structure shown in the figure does not constitute a limitation on the device for determining the transmission scheme, except Figure 8 In addition to the components shown, the transmission scheme determination device may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0165] In actual implementation, Figure 7 The functions implemented by the processing module 702 in Figure 8 The processor 802 shown calls the program code in the memory 803 to implement.
[0166] The present application also provides a computer-readable storage medium, on which instructions are stored, and when the instructions in the computer-readable storage medium are executed by a processor of a computer device, the computer is able to execute the method for determining the transmission scheme provided in the above-mentioned embodiment. For example, the computer-readable storage medium may be a memory 803 including instructions, and the above instructions may be executed by a processor 802 of a computer device to complete the above method. Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, a non-temporary computer-readable storage medium may be a ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
[0167] Fig. 9 A conceptual partial view of a computer program product provided by an embodiment of the present application is exemplarily shown, where the computer program product includes a computer program for executing a computer process on a computing device.
[0168] In one embodiment, the computer program product is provided using a signal bearing medium 900. The signal bearing medium 900 may include one or more program instructions that, when executed by one or more processors, may provide the above-described Figure 2 Thus, for example, reference to Figure 2 In the embodiment shown in , one or more features of S201 to S203 may be undertaken by one or more instructions associated with the signal bearing medium 900. In addition, Fig. 9 The program instructions in also describe example instructions.
[0169] In some examples, the signal bearing medium 900 may include a computer readable medium 901, such as, but not limited to, a hard drive, a compact disk (CD), a digital video disk (DVD), a digital tape, a memory, a read-only memory (ROM), or a random access memory (RAM), and the like.
[0170] In some implementations, the signal bearing medium 900 may include a computer recordable medium 902 such as, but not limited to, a memory, a read / write (R / W) CD, R / W, DVD, or the like.
[0171] In some implementations, signal bearing medium 900 may include communication medium 903 such as, but not limited to, digital and / or analog communication media (eg, fiber optic cables, waveguides, wired communication links, wireless communication links, etc.).
[0172] The signal bearing medium 900 may be communicated by a wireless form of communication medium 903. The one or more program instructions may be, for example, computer executable instructions or logic implemented instructions.
[0173] In some examples, such as for Fig. 9 The described transmission scheme determination apparatus may be configured to provide various operations, functions, or actions in response to one or more program instructions via computer-readable medium 901 , computer-recordable medium 902 , and / or communication medium 903 .
[0174] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0175] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0176] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0177] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0178] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the full classification part or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute the full classification part or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes various media that can store program codes, such as-U disk, mobile hard disk, ROM, RAM, disk or CD.
[0179] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for determining a transmission scheme, characterized in that: The method comprises: Acquire user demand information, the user demand information including: data transmission volume, target transmission duration, identification of the sending node, and identification of the receiving node; Acquire, according to the identifier of the sending node and the identifier of the receiving node, the communication state information between the sending node and the receiving node, and the first sending capability information of the sending node; Based on the data transmission volume, the target transmission duration, the communication status information and the first sending capability information, multiple first transmission schemes are determined, one of the first transmission schemes corresponds to a transmission path between the sending node and the receiving node, and the estimated transmission durations in the multiple first transmission schemes are all less than the target transmission duration.
2. The method according to claim 1, characterized in that The communication status information includes the transmission bandwidth of all segmented routes between the sending node and the receiving node, and the minimum transmission bandwidth in the transmission path corresponding to the first transmission scheme is greater than or equal to a first ratio between the data transmission amount and the target transmission duration.
3. The method according to claim 2, characterized in that The first sending capability information includes network card rates of multiple available network cards and read and write rates of multiple data hard disks. The network card rate of the target network card and the read and write rate of the target hard disk in the first transmission scheme are both greater than or equal to the minimum transmission bandwidth in the transmission path corresponding to the first transmission scheme.
4. The method according to claim 3, characterized in that One of the first transmission schemes corresponds to a Transmission Control Protocol TCP buffer size.
5. The method according to claim 2, characterized in that: The scheme cost value in the first transmission scheme is determined according to the minimum transmission bandwidth in the transmission path corresponding to the first transmission scheme.
6. The method according to claim 2, characterized in that The transmission bandwidth is a predicted bandwidth within the target transmission duration after a first moment, and the first moment is a moment of acquiring the user demand information.
7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: In the case where the first transmission scheme has a risk of being overdue, determining a plurality of second transmission schemes according to the remaining amount of data that has not been transmitted in the data transmission amount and the remaining available transmission duration of the target transmission duration; The first transmission scheme is a transmission scheme selected by a user from among the multiple first transmission schemes, and the estimated transmission duration in the second transmission scheme is less than the available transmission duration.
8. A device for determining a transmission scheme, characterized in that: The device comprises: An acquisition module is used to acquire user demand information, wherein the user demand information includes: data transmission volume, target transmission duration, identification of a sending node, and identification of a receiving node; a processing module, configured to obtain, according to the identifier of the sending node and the identifier of the receiving node, the communication state information between the sending node and the receiving node, and the first sending capability information of the sending node; The processing module is also used to determine multiple first transmission schemes based on the data transmission volume, the target transmission duration, the communication status information and the first sending capability information, one of the first transmission schemes corresponds to a transmission path between the sending node and the receiving node, and the estimated transmission durations in the multiple first transmission schemes are all less than the target transmission duration.
9. A device for determining a transmission scheme, characterized in that: include: Processor and memory; The processor is coupled to the memory; The memory is used to store one or more programs, and the one or more programs include computer-executable instructions. When the transmission scheme determination device is running, the processor executes the computer-executable instructions stored in the memory to enable the transmission scheme determination device to perform the method as described in any one of claims 1-7.
10. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that: When a computer executes the instructions, the computer performs the method according to any one of claims 1 to 7.
11. A computer program product, characterized in that The computer program product comprises computer program instructions, which implement the method according to any one of claims 1 to 7 when the computer program instructions are executed.
Citation Information
Patent Citations
Data transmission method and device, equipment and storage medium
CN113316263A
Data transmission method and device
CN113556285A
Transmission path determination method and device, server and storage medium
CN114040467A