CN110601872A - Transmission method and device and storage medium - Google Patents

Transmission method and device and storage medium Download PDF

Info

Publication number
CN110601872A
CN110601872A CN201910720197.9A CN201910720197A CN110601872A CN 110601872 A CN110601872 A CN 110601872A CN 201910720197 A CN201910720197 A CN 201910720197A CN 110601872 A CN110601872 A CN 110601872A
Authority
CN
China
Prior art keywords
transmission
hardware
information
strategy
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910720197.9A
Other languages
Chinese (zh)
Inventor
尹春林
刘浩宇
罗蒙
周建勋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201910720197.9A priority Critical patent/CN110601872A/en
Publication of CN110601872A publication Critical patent/CN110601872A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/147Network analysis or design for predicting network behaviour
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a transmission method, a transmission device and a storage medium, wherein the method comprises the following steps: the hardware information of a transmission end is obtained when the transmission condition is met; determining a transmission policy based at least on the hardware information; the transmission condition is a condition that the transmission end starts to execute file transmission, and the transmission strategy is used for representing a hardware use strategy of the transmission end when the transmission end executes transmission. According to the technical scheme, the hardware information of the transmission end is obtained, the hardware use strategy of the transmission end in transmission execution is determined at least based on the hardware information, the hardware information of the transmission end is used as a factor for determining the transmission strategy, the transmission strategy can be automatically matched at the beginning of transmission, the corresponding strategy can be adjusted in real time in the transmission process, and therefore the system resources are fully utilized, and the transmission efficiency is improved.

Description

Transmission method and device and storage medium
Technical Field
The embodiment of the application relates to the computer communication technology, in particular to but not limited to a transmission method and device and a storage medium.
Background
Nowadays, with the continuous development of electronic technology, many intelligent products in life are also being updated and updated rapidly, and under normal circumstances, a user can save files and data on electronic products, and when the user needs to replace the electronic products, the files and data on old electronic products need to be transmitted to new electronic products.
Taking an electronic product as an example of a terminal, a user can transmit files and data on an old terminal to a new terminal through a network, but in the transmission process, various factors often have adverse effects on the transmission rate.
Disclosure of Invention
In view of this, embodiments of the present application provide a transmission method and apparatus, and a storage medium.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a transmission method, including:
the hardware information of a transmission end is obtained when the transmission condition is met;
determining a transmission policy based at least on the hardware information;
the transmission condition is a condition that the transmission end starts to execute file transmission, and the transmission strategy is used for representing a hardware use strategy of the transmission end when the transmission end executes transmission.
In a second aspect, an embodiment of the present application provides a transmission apparatus, including:
the information acquisition unit is configured to meet transmission conditions and acquire hardware information of a transmission end;
a first policy determination unit configured to determine a transmission policy based at least on the hardware information;
the transmission condition is a condition that the transmission end starts to execute file transmission, and the transmission strategy is used for representing a hardware use strategy of the transmission end when the transmission end executes transmission.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are configured to execute the transmission method provided in the first aspect.
In the embodiment of the application, by acquiring the hardware information of the transmission end, determining the hardware use strategy of the transmission end when the transmission is executed at least based on the hardware information, and taking the hardware information of the transmission end as a factor for determining the transmission strategy, a transmission strategy can be automatically matched at the beginning of transmission, and the corresponding strategy can be adjusted in real time in the transmission process, so that the full utilization of system resources is ensured, and the transmission efficiency is improved.
Drawings
Fig. 1 is a first schematic flow chart of a transmission method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a transmission method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a transmission device according to an embodiment of the present disclosure;
fig. 4 is a hardware entity diagram of a transmission apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, specific technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings in the embodiments of the present application. The following examples are intended to illustrate the present application but are not intended to limit the scope of the present application.
The packaging in the application refers to that some files are put together to form a package, so that the storage and the transmission are convenient;
the compression in the application is to replace the same information in the file by a character, so that the file volume is reduced to achieve the purpose of compression, and the compression has a more obvious effect on the text type or data type files;
in the present application, "write caching" is to cache received data/files to a temporary storage space.
Fig. 1 is a schematic flow chart of a transmission method provided in an embodiment of the present application, and as shown in fig. 1, the method includes:
and step S101, meeting the transmission condition and obtaining the hardware information of the transmission end.
Here, the transmission condition is a condition that the transmission end starts to perform file transmission, and may be a trigger condition that the transmission end starts to perform file transmission, or may be a condition that the transmission end continuously performs file transmission. For example, an application program capable of triggering the transmission condition may be installed on the transmission end, and during the use process, the setting interface of the application program may be entered, and the control corresponding to the transmission condition may be clicked on the setting interface, so as to trigger the transmission end to start file transmission. Or directly selecting the file to be transmitted, popping up corresponding sending options by clicking a right key or long-time pressing operation, and triggering a transmission command after a user selects a corresponding option (such as a receiving end). The file to be transmitted which meets the conditions can be automatically searched in local storage or cloud storage of a transmitting end according to the voice command or the gesture command, and then the file to be transmitted is transmitted to a file receiving end pointed by the voice command or the gesture command. Of course, in other embodiments, the present application may also transmit a media stream, etc., and the present application is not limited in any way.
The method includes the steps of meeting transmission conditions, obtaining hardware information of a transmission end, namely obtaining the hardware information of the transmission end when it is determined that a user needs to transmit a file, and of course, obtaining the hardware information of the transmission end before file transmission, as long as the hardware information can be obtained when the hardware information needs to be used.
Acquiring hardware information of a transmission end, wherein the hardware information of the transmission end comprises hardware attribute information and hardware performance information of the transmission end, and the hardware attribute information comprises: configuration information of a processor, configuration information of a memory, and the like; the hardware performance information includes: load rate of the processor, frequency of the processor, memory occupancy, memory read-write rate, memory response time, and the like. The Processor comprises a Central Processing Unit (CPU) and an Application Processor (AP), the memory comprises a Hard Disk, a floppy Disk, a magnetic Disk, a cloud Disk and the like, and the Hard Disk comprises a Solid State Disk (SSD) and a mechanical Hard Disk (Hard Disk Drive, HDD).
It is foreseeable that, when the transmission end is not performing transmission, the obtained hardware information should be hardware attribute information, which generally refers to the current hardware configuration information of the transmission end, which may be the hardware configuration information of the transmission end when the transmission end leaves the factory, such as a processor configured with "core i7, a 1T hard disk, where T is Terabyte" (Terabyte); the hardware information obtained during the transmission executed by the transmission end should be hardware performance information, and the hardware performance information is the use information of the hardware during the transmission executed by the transmission end, such as the occupancy rate of the processor of the core i7, the writing speed of the hard disk, and the like. The hardware information can be read based on a self-checking program installed on the transmission end, inquired based on an identification ID of the transmission end, and calculated based on the running time and the load rate of the transmission end.
Step S102, determining a transmission strategy at least based on hardware information; the transmission condition is the condition that the transmission end starts to execute file transmission, and the transmission strategy is used for representing the hardware use strategy when the transmission end executes transmission.
Here, the transmission policy is used to characterize a hardware usage policy of the transmission end when performing transmission. Taking the transmission end as a computer as an example, since the hardware information of the computer changes with the use time and the use environment during the use process, the hardware use policy of the transmission end during the file transmission needs to be determined and adjusted according to the hardware information of the computer when the transmission task is executed.
When a user transmits a file for the first time, the transmission condition is met, the hardware information of the transmission end is obtained, namely the triggering condition for the transmission end to execute transmission is met, and the hardware attribute information of the transmission end is obtained, so that an adaptive transmission strategy is automatically matched based on the hardware attribute information, and the file transmission efficiency is improved.
In other embodiments, the obtaining hardware information of the transmitting end, and determining the transmission policy based on the hardware information may be: acquiring hardware attribute information of a transmission end, and determining a transmission strategy at least based on the hardware attribute information; the hardware attribute information is used for representing the current hardware configuration information of the transmission end.
Here, since the hardware configuration information of the related hardware may be changed or may not be changed due to the fact that the transmission end hardware may be replaced or worn during the use process, the current hardware configuration information may be the hardware configuration information at the time of factory shipment or may not be the hardware configuration information at the time of factory shipment.
In the embodiment of the application, in order to improve the accuracy of the transmission policy, the transmission policy is determined by obtaining the current hardware configuration information of the transmission end and at least according to the current hardware configuration information, where the transmission policy may be an initial transmission policy, that is, a transmission policy adopted when file transmission is started, or a transmission policy after adjustment in the file transmission process.
In the method, a transmission strategy is determined at least based on hardware attribute information by obtaining the hardware attribute information of a transmission end; the hardware attribute information is used for representing the current hardware configuration information of the transmission end, the current hardware configuration information of the transmission end can be obtained in real time, compared with the method for directly obtaining the original hardware configuration information of the transmission end, the collected relevant parameters of the configuration information are more accurate, and the accuracy of the transmission strategy can be further improved.
In other embodiments, the obtaining hardware information of the transmission end, and determining the transmission policy based on the hardware information may also be: in the transmission process, acquiring hardware performance information of a transmission end, and adjusting a transmission strategy at least based on the hardware performance information; the hardware performance information is used for representing hardware use information of the transmission end when transmission is executed.
Here, since the hardware performance information of the transmission end may vary with the type of the file to be transmitted and the influence of the transmission environment during the transmission process, if the file transmission is performed by using a fixed transmission policy, the transmission rate may be adversely affected, and at this time, the transmission policy needs to be adjusted. In the embodiment of the application, the transmission strategy can be adjusted by acquiring the hardware use information of the transmission end during transmission execution, so that the transmission strategy is ensured to be matched with the current transmission environment, and the maximum utilization rate of system resources is realized.
In the method, in the transmission process, hardware performance information of a transmission end is obtained, and a transmission strategy is adjusted at least based on the hardware performance information; the hardware performance information is used for representing hardware use information of the transmission end during transmission execution, the hardware use information of the transmission end during transmission execution can be transmitted in real time, and a transmission strategy is dynamically adjusted according to the hardware use information, so that system resources are fully utilized, and the transmission efficiency is improved.
In other embodiments, the obtaining hardware information of the transmission end, and determining the transmission policy based on the hardware information may further be: obtaining first hardware information, and determining a transmission strategy at least based on the first hardware information; obtaining second hardware information, and adjusting a transmission strategy at least based on the second hardware information; wherein the first hardware information is different from the second hardware information.
Here, the first hardware information may include: first hardware attribute information and first hardware performance information; the second hardware information may include: second hardware attribute information and second hardware performance information, wherein the first hardware information is different from the second hardware information.
In the embodiment of the application, the first hardware information and the second hardware information may be obtained in different scenarios, for example, the first hardware information may be obtained before transmission is performed, an initial transmission policy is determined according to the first hardware information, then the second hardware information is obtained in a transmission performing process, and the initial transmission policy is adjusted according to the second hardware information.
In the method, first hardware information is obtained, and a transmission strategy is determined at least based on the first hardware information; obtaining second hardware information, and adjusting a transmission strategy at least based on the second hardware information; the first hardware information is different from the second hardware information, and the transmission strategy can be respectively determined and adjusted based on different hardware information, namely the first hardware information and the second hardware information, so that the transmission strategy can be matched with the current hardware information of the transmission end, and the transmission strategy can be adjusted in real time according to the hardware information of the transmission end, and the file transmission efficiency can be ensured.
In other embodiments, the determining a transmission policy based on hardware information comprises: obtaining first hardware attribute information, determining a transmission strategy at least based on the first hardware attribute information, obtaining second hardware performance information, and adjusting the transmission strategy at least based on the second hardware performance information; or obtaining first hardware performance information, adjusting a transmission strategy at least based on the first hardware performance information, obtaining second hardware performance information, and adjusting the transmission strategy at least based on the second hardware performance information; or obtaining first hardware attribute information, determining a transmission strategy at least based on the first hardware attribute information, obtaining second hardware attribute information, and determining the transmission strategy at least based on the second hardware attribute information, wherein the first hardware attribute information is different from the second hardware performance information, the first hardware performance information is different from the second hardware performance information, and the first hardware attribute information is different from the second hardware attribute information.
In other embodiments, the obtaining hardware information of the transmission end, and determining the transmission policy based on the hardware information may further be: acquiring hardware attribute information of a sending end, and determining a strategy for processing a file to be transmitted based on the hardware attribute information of the sending end; and/or acquiring the hardware performance information of the sending end, and adjusting the strategy for processing the file to be transmitted based on the hardware performance information of the sending end.
Here, if the transmission end is the sending end, the policy for processing the file to be transmitted may be determined based on the hardware attribute information of the sending end by acquiring the hardware attribute information of the sending end. For example, the file to be transmitted may be compressed according to a set file compression rate, and the compressed file may be transmitted; and/or packing the file to be transmitted according to the set file packing rate, and transmitting the packed file.
In the process of executing transmission, the strategy for transmitting the file to be transmitted can be adjusted based on the hardware performance information of the transmitting end. For example, the file compression rate for compressing the file to be transmitted or the file packing rate for packing the file to be transmitted is adjusted.
In the method, hardware attribute information of a sending end is obtained, and a strategy for processing a file to be transmitted is determined based on the hardware attribute information of the sending end; and/or acquiring hardware performance information of the sending end, adjusting a strategy for processing the file to be transmitted based on the hardware performance information of the sending end, determining the strategy for processing the file to be transmitted based on the hardware attribute information, adjusting the transmission strategy based on the hardware performance information, and ensuring the transmission efficiency of the file to be transmitted by processing the file to be transmitted at the sending end.
In other embodiments, the obtaining hardware information of the transmission end, and determining the transmission policy based on the hardware information may further be: acquiring hardware attribute information of a receiving end, and determining a strategy for writing a received file to be transmitted based on the hardware attribute information of the receiving end; and/or acquiring the hardware performance information of the receiving end, and adjusting the strategy for writing the received file to be transmitted based on the hardware performance information of the receiving end.
Here, if the transmission end is the receiving end, the policy for writing the received file to be transmitted may be determined based on the hardware attribute information of the receiving end by acquiring the received hardware attribute information. For example, according to a set caching condition, when the caching condition is met, a received file to be transmitted is written into a cache of a receiving end first, so that the pressure of a hard disk is relieved by using memory resources.
In the process of executing transmission, the strategy for writing the received file to be transmitted can be adjusted based on the hardware performance information of the receiving end. For example, the received file to be transmitted is written into a specific cache space, and the cache rate for caching the received file to be transmitted is further adjusted.
In the method, hardware attribute information of a receiving end is obtained, and a strategy for writing a received file to be transmitted is determined based on the hardware attribute information of the receiving end; and/or acquiring the hardware performance information of the receiving end, adjusting a strategy for writing the received file to be transmitted based on the hardware performance information of the receiving end, and ensuring the transmission efficiency of the file to be transmitted by writing the received file to be transmitted at the receiving end.
In other embodiments, the transmission method further comprises: acquiring network information, wherein the network information is used for representing the current network state; determining a transmission policy based at least on the hardware information comprises: the transmission policy is determined based on the network information and the hardware information of the transmission side.
Here, the network information includes a current network transmission rate. In the embodiment of the application, when the transmission is executed through the transmission terminal, the current network information can be acquired, and the transmission strategy is determined based on the network information and the hardware information of the transmission terminal.
When the transmission end is a sending end, the file to be transmitted can be compressed according to the set file compression rate, and the compressed file is transmitted; and/or packing the file to be transmitted according to the set file packing rate, and transmitting the packed file.
In the embodiment of the application, when transmission is performed, if the hardware performance parameter included in the hardware information of the sending end is lower than a first threshold and the network performance parameter included in the network information is higher than a second threshold, the file compression rate of the file to be transmitted is reduced, so that the hardware burden of the sending end is reduced. And if the hardware performance parameter contained in the hardware information of the sending end is higher than the first threshold and the network performance parameter contained in the network information is lower than the second threshold, improving the file compression rate of the file to be transmitted so as to reduce the network burden. And if the hardware performance parameter contained in the hardware information of the sending end is lower than a first threshold value and the network performance parameter contained in the network information is lower than a second threshold value, keeping the file compression rate of the file to be transmitted unchanged.
The network performance parameters comprise the transmission rate of the file, and the hardware performance parameters comprise the memory occupancy rate of the sending end; and if the transmission rate is lower than a third threshold and the memory occupancy rate of the transmission end is lower than a fourth threshold, improving the file packaging rate of the file to be transmitted.
In the embodiment of the application, the transmission strategy can be determined based on the network information and the hardware information of the transmission terminal, and the transmission strategy is adjusted in the transmission executing process, so that the system resources can be fully utilized, and the transmission efficiency is improved.
In other embodiments, the transmission method further comprises: monitoring hardware performance information of a transmission end when the transmission is carried out according to the determined transmission strategy; adjusting a transmission strategy based on the hardware performance information of the transmission end to obtain a maximum transmission rate; and training a transmission strategy prediction model based on the transmission strategy corresponding to the maximum transmission rate and the hardware information.
Here, after the transmission is performed, the transmission policy and the hardware information corresponding to the maximum transmission rate may be obtained, and a transmission policy model is obtained based on the transmission policy and the hardware information training, so as to ensure that the initial transmission policy for next file transmission is the optimal policy.
In the embodiment of the application, the corresponding model is obtained by training by fully utilizing the relevant parameters of the historical transmission strategy so as to determine the optimal initial transmission strategy, so that the intellectualization of file transmission can be realized, and the efficiency of file transmission can be improved.
In the embodiment, a computer is taken as a transmission end for explanation, and in the related art, when a file is transmitted from an old computer to a new computer, if the network environment is poor and the network speed is slow, a large number of files are queued to be transmitted, however, a CPU is relatively idle, so that system resources are not fully utilized, and finally, the data transmission efficiency is affected.
At present, files on an old computer can be compressed and then transmitted, but for certain specific use scenes, the performances of a CPU, a memory and a network card of the old computer are generally poor, the performance difference between a new computer and an old computer is also large, if data is compressed without considering the machine performance and the network environment, the processing time of the CPU is too long, and the transmission efficiency is reduced.
In the embodiment of the application, different compression algorithms and compression ratios can be selected by comparing the hardware performance difference of the new computer with the hardware performance difference of the old computer and detecting the current network environment, so that the total time consumption of compression operation and network transmission reaches a more ideal level.
Fig. 2 is a schematic flow chart of a transmission method according to an embodiment of the present application, and as shown in fig. 2, the method includes:
step S21, acquiring hardware configuration information of the new computer and/or the old computer based on the application installed on the new computer and/or the old computer.
Here, the new computer and the old computer may be used as a receiving end and a sending end, respectively. Wherein the hardware configuration information includes: configuration information of the CPU, configuration information of the memory, configuration information of the hard disk, and the like. Hardware configuration information can be analyzed at that time based on artificial intelligence, and a transmission strategy which can reach the performance limit is predicted to be used as an initial transmission strategy.
In step S22, the application predicts an initial transmission policy based on the acquired hardware configuration information.
In step S23, the hardware performance information of the new computer and/or the old computer is monitored by the application program during the transmission.
Here, the hardware performance information includes: CPU load rate, CPU frequency, network bandwidth, network delay, memory occupancy rate, hard disk read-write rate, and hard disk response time.
In step S24, the application program determines whether the hardware performance is full according to the monitored hardware performance information.
And step S25, if the hardware performance is full, obtaining the optimal transmission strategy.
In step S26, if the hardware performance is not full, the transmission policy is adjusted based on the detected hardware performance information.
Here, when file transmission is performed, hardware performance information of a computer may be monitored, and a transmission policy, for example, file compression rate of a file to be transmitted, small file determination conditions, small file packing size, write cache, and the like, may be dynamically adjusted according to the monitored hardware performance information, so that transmission efficiency reaches a limit, that is, each hardware is fully loaded.
For example, if the CPU load rate is low and the transmission rate is close to the maximum value, the file compression rate is improved to fully utilize the CPU resource; the transmission rate is low, the memory occupancy rate is low, the small file judgment condition is reduced, and the small file packaging volume is increased, so that network resources are fully utilized; and if the hard disk is low in writing speed and the memory is low in occupation, starting the writing cache to relieve the pressure of the hard disk by using memory resources.
In step S27, the application trains a transmission strategy prediction model based on the transmission strategy and the hardware information corresponding to the maximum transmission rate.
Here, the transmission policy prediction model trained based on the transmission policy corresponding to the maximum transmission rate and the hardware information may be used to generate an optimal initial transmission policy when other users perform file transmission, so as to improve file transmission efficiency on the basis of reducing output throughput.
In other embodiments, after the new computer and the old computer are successfully paired, the old computer may obtain hardware information and network information of the new computer to determine the computing performance and the network performance of the new computer, and may also obtain hardware information and network information of the local computer to determine the computing performance and the network performance of the local computer. And then comprehensively analyzing the hardware information and the network performance of the new computer and the old computer to obtain a calculation performance index A and a network performance index B of the current migration task. And further dynamically adjusting the compression transmission strategy according to the following principle:
and a strategy a, if the calculation performance index A is lower than a set calculation threshold value and the network performance index B is higher than a set network threshold value, selecting a first compression algorithm to compress the file to be transmitted so as to reduce the load of a CPU.
And B, if the calculation performance index A is higher than the set calculation threshold value and the network performance index B is lower than the set network threshold value, selecting a second compression algorithm to compress the file to be transmitted so as to reduce the network load.
And c, if the calculation performance index A is lower than the set calculation threshold and the network performance index B is lower than the set network threshold, selecting a third compression algorithm to compress the file to be transmitted so as to ensure the stability of file transmission.
Wherein the compression rate of the first compression algorithm is lower than the compression rate of the third compression algorithm, which is lower than the compression rate of the second compression algorithm.
According to the embodiment of the application, the compression transmission strategy is dynamically selected according to the conditions of the old computer and the new computer, so that system resources can be fully utilized, and the transmission efficiency is improved.
Fig. 3 is a schematic structural diagram of a transmission device according to an embodiment of the present application, and as shown in fig. 3, the transmission device includes:
an information obtaining unit 301 configured to satisfy a transmission condition and obtain hardware information of a transmission end;
a first policy determination unit 302 configured to determine a transmission policy based on at least hardware information;
the transmission condition is the condition that the transmission end starts to execute file transmission, and the transmission strategy is used for representing the hardware use strategy when the transmission end executes transmission.
In other embodiments, the first policy determination unit is configured to: acquiring hardware attribute information of a transmission end, and determining a transmission strategy at least based on the hardware attribute information; the hardware attribute information is used for representing the current hardware configuration information of the transmission end.
In other embodiments, the first policy determination unit is configured to: in the transmission process, acquiring hardware performance information of a transmission end, and adjusting a transmission strategy at least based on the hardware performance information; the hardware performance information is used for representing hardware use information of the transmission end when transmission is executed.
In other embodiments, the first policy determination unit is configured to: obtaining first hardware information, and determining a transmission strategy at least based on the first hardware information; obtaining second hardware information, and adjusting a transmission strategy at least based on the second hardware information; wherein the first hardware information is different from the second hardware information.
In other embodiments, the first policy determination unit is configured to: obtaining first hardware attribute information, determining a transmission strategy at least based on the first hardware attribute information, obtaining second hardware performance information, and adjusting the transmission strategy at least based on the second hardware performance information; or obtaining first hardware performance information, adjusting a transmission strategy at least based on the first hardware performance information, obtaining second hardware performance information, and adjusting the transmission strategy at least based on the second hardware performance information; or obtaining first hardware attribute information, determining a transmission strategy at least based on the first hardware attribute information, obtaining second hardware attribute information, and determining the transmission strategy at least based on the second hardware attribute information.
In other embodiments, the transmission end is a sending end, and the first policy determining unit is configured to: acquiring hardware attribute information of a sending end, and determining a strategy for processing a file to be transmitted based on the hardware attribute information of the sending end; and/or acquiring the hardware performance information of the sending end, and adjusting the strategy for processing the file to be transmitted based on the hardware performance information of the sending end.
In other embodiments, the transmission end is a receiving end, and the first policy determining unit is configured to: acquiring hardware attribute information of a receiving end, and determining a strategy for writing a received file to be transmitted based on the hardware attribute information of the receiving end; and/or acquiring the hardware performance information of the receiving end, and adjusting the strategy for writing the received file to be transmitted based on the hardware performance information of the receiving end.
In other embodiments, the apparatus further comprises: the network acquisition unit is configured to acquire network information, and the network information is used for representing the current network state; and a second policy determination unit configured to determine a transmission policy based on the network information and the hardware information of the transmission end.
In other embodiments, the apparatus further comprises: the performance monitoring unit is configured to monitor hardware performance information of a transmission end when the transmission is carried out according to the determined transmission strategy; a policy adjustment unit configured to adjust a transmission policy based on hardware performance information of a transmission end to obtain a maximum transmission rate; and the model prediction unit is configured to train a transmission strategy prediction model based on the transmission strategy corresponding to the maximum transmission rate and the hardware information.
It should be noted that, in the embodiment of the present application, if the transmission method is implemented in the form of a software functional module and sold or used as a standalone product, the transmission method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a server to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Correspondingly, the embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps in the transmission method provided by the above embodiment.
Correspondingly, an embodiment of the present application provides a transmission device, which at least includes: comprising a memory storing a computer program operable on a processor and a processor implementing the steps of the transmission method described above when executing the program.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that fig. 4 is a schematic hardware entity diagram of a transmission apparatus provided in the embodiment of the present application, and as shown in fig. 4, the hardware entity of the transmission apparatus 400 includes: a processor 401, a communication interface 402 and a memory 403, wherein
The processor 401 generally controls the overall operation of the transmitting device 400.
The communication interface 402 may enable the transmission device to communicate with other transmission devices over a network.
The memory 403 is configured to store instructions and applications executable by the processor 401, and may also buffer data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by each module in the processor 401 and the transmission apparatus 400, and may be implemented by a FLASH memory (FLASH) or a Random Access Memory (RAM).
The description of the embodiments of the apparatus of the present application is similar to the description of the embodiments of the method described above, and has similar advantageous effects to the embodiments of the method. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
Of course, the apparatus in the embodiment of the present application may have other similar protocol interaction implementation cases, and those skilled in the art can make various corresponding changes and modifications according to the embodiment of the present application without departing from the spirit and the spirit of the present application, but these corresponding changes and modifications should fall within the scope of the claims appended to the method of the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises", "comprising" or any other variation thereof are intended to cover a non-exclusive inclusion, so that a process, a method or an apparatus including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the modules is only one logical functional division, and there may be other division ways in actual implementation, such as: multiple modules or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be electrical, mechanical or other.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules; the network module can be located in one place or distributed on a plurality of network modules; some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above description is only for the embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of transmission, comprising:
the hardware information of a transmission end is obtained when the transmission condition is met;
determining a transmission policy based at least on the hardware information;
the transmission condition is a condition that the transmission end starts to execute file transmission, and the transmission strategy is used for representing a hardware use strategy of the transmission end when the transmission end executes transmission.
2. The method of claim 1, the determining a transmission policy based at least on the hardware information comprising:
acquiring hardware attribute information of the transmission end, and determining a transmission strategy at least based on the hardware attribute information;
the hardware attribute information is used for representing the current hardware configuration information of the transmission end.
3. The method of claim 1, the determining a transmission policy based at least on the hardware information, comprising:
in the transmission process, acquiring the hardware performance information of the transmission end, and adjusting a transmission strategy at least based on the hardware performance information;
wherein the hardware performance information is used for representing the hardware use information of the transmission end when the transmission is executed.
4. The method of claim 1, the determining a transmission policy based at least on the hardware information, comprising:
obtaining first hardware information, and determining a transmission strategy at least based on the first hardware information;
obtaining second hardware information, and adjusting a transmission strategy at least based on the second hardware information;
wherein the first hardware information is different from the second hardware information.
5. The method of claim 4, the determining a transmission policy based on the hardware information comprising:
obtaining first hardware attribute information, determining a transmission strategy at least based on the first hardware attribute information, obtaining second hardware performance information, and adjusting the transmission strategy at least based on the second hardware performance information; or the like, or, alternatively,
obtaining first hardware performance information, adjusting a transmission strategy at least based on the first hardware performance information, obtaining second hardware performance information, and adjusting the transmission strategy at least based on the second hardware performance information; or the like, or, alternatively,
the method comprises the steps of obtaining first hardware attribute information, determining a transmission strategy at least based on the first hardware attribute information, obtaining second hardware attribute information, and determining the transmission strategy at least based on the second hardware attribute information.
6. The method of claim 1, the transmitting end being a transmitting end, the determining a transmission policy based on at least the hardware information comprising:
acquiring the hardware attribute information of the sending end, and determining a strategy for processing a file to be transmitted based on the hardware attribute information of the sending end; and/or the presence of a gas in the gas,
and acquiring the hardware performance information of the sending end, and adjusting a strategy for processing the file to be transmitted based on the hardware performance information of the sending end.
7. The method of claim 1, wherein the transmitting end is a receiving end, and the determining a transmission policy based on at least the hardware information comprises:
acquiring the hardware attribute information of the receiving end, and determining a strategy for writing the received file to be transmitted based on the hardware attribute information of the receiving end; and/or the presence of a gas in the gas,
and acquiring the hardware performance information of a receiving end, and adjusting a strategy for writing the received file to be transmitted based on the hardware performance information of the receiving end.
8. The method of any of claims 1 to 7, further comprising:
obtaining network information, wherein the network information is used for representing the current network state;
the determining a transmission policy based at least on the hardware information comprises:
and determining a transmission strategy based on the network information and the hardware information of the transmission end.
9. The method of claim 8, further comprising:
monitoring hardware performance information of the transmission end when the transmission is carried out according to the determined transmission strategy;
adjusting the transmission strategy based on the hardware performance information of the transmission end to obtain a maximum transmission rate;
and training a transmission strategy prediction model based on the transmission strategy corresponding to the maximum transmission rate and the hardware information.
10. A transmission apparatus, comprising:
the information acquisition unit is configured to meet transmission conditions and acquire hardware information of a transmission end;
a first policy determination unit configured to determine a transmission policy based at least on the hardware information;
the transmission condition is a condition that the transmission end starts to execute file transmission, and the transmission strategy is used for representing a hardware use strategy of the transmission end when the transmission end executes transmission.
CN201910720197.9A 2019-08-06 2019-08-06 Transmission method and device and storage medium Pending CN110601872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910720197.9A CN110601872A (en) 2019-08-06 2019-08-06 Transmission method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910720197.9A CN110601872A (en) 2019-08-06 2019-08-06 Transmission method and device and storage medium

Publications (1)

Publication Number Publication Date
CN110601872A true CN110601872A (en) 2019-12-20

Family

ID=68853525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910720197.9A Pending CN110601872A (en) 2019-08-06 2019-08-06 Transmission method and device and storage medium

Country Status (1)

Country Link
CN (1) CN110601872A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176670A (en) * 2019-12-31 2020-05-19 联想(北京)有限公司 Method and device for determining installation time
CN114286194A (en) * 2021-12-08 2022-04-05 北京金山云网络技术有限公司 Instant messaging video processing method and device, electronic equipment and storage medium
CN114760117A (en) * 2022-03-30 2022-07-15 深信服科技股份有限公司 Data acquisition method and device and electronic equipment
CN117335928A (en) * 2023-12-01 2024-01-02 长沙普洛电气设备有限公司 Engineering data transmission method, system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968192A (en) * 2006-05-09 2007-05-23 华为技术有限公司 Flow control method and apparatus
CN103227794A (en) * 2013-04-28 2013-07-31 华为技术有限公司 Data transmission control method, device and system
CN104618371A (en) * 2015-01-30 2015-05-13 乐视网信息技术(北京)股份有限公司 Data downloading method, device and system
CN106254566A (en) * 2016-10-31 2016-12-21 乐视控股(北京)有限公司 A kind of data download processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968192A (en) * 2006-05-09 2007-05-23 华为技术有限公司 Flow control method and apparatus
CN103227794A (en) * 2013-04-28 2013-07-31 华为技术有限公司 Data transmission control method, device and system
CN104618371A (en) * 2015-01-30 2015-05-13 乐视网信息技术(北京)股份有限公司 Data downloading method, device and system
CN106254566A (en) * 2016-10-31 2016-12-21 乐视控股(北京)有限公司 A kind of data download processing method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176670A (en) * 2019-12-31 2020-05-19 联想(北京)有限公司 Method and device for determining installation time
CN114286194A (en) * 2021-12-08 2022-04-05 北京金山云网络技术有限公司 Instant messaging video processing method and device, electronic equipment and storage medium
CN114286194B (en) * 2021-12-08 2024-05-03 北京金山云网络技术有限公司 Instant messaging video processing method and device, electronic equipment and storage medium
CN114760117A (en) * 2022-03-30 2022-07-15 深信服科技股份有限公司 Data acquisition method and device and electronic equipment
CN117335928A (en) * 2023-12-01 2024-01-02 长沙普洛电气设备有限公司 Engineering data transmission method, system and storage medium
CN117335928B (en) * 2023-12-01 2024-01-30 长沙普洛电气设备有限公司 Engineering data transmission method, system and storage medium

Similar Documents

Publication Publication Date Title
CN110601872A (en) Transmission method and device and storage medium
CN108345524B (en) Application program monitoring method and application program monitoring device
US8527467B2 (en) Compression-aware data storage tiering
US20150295970A1 (en) Method and device for augmenting and releasing capacity of computing resources in real-time stream computing system
JP2019009774A (en) Loss data compression method, data compression method, and data compression system
CN109756230A (en) Data compression storage method, data compression method, device, equipment and medium
CN110532086B (en) Resource multiplexing method, device, system and storage medium
US10055134B2 (en) Data compression method and storage system
CN104185216B (en) A kind of transmission method and device of file
CN105607952B (en) Method and device for scheduling virtualized resources
JP2012198598A (en) Data storage device and data storage method
CN104702592A (en) Method and device for downloading stream media
CN112650575A (en) Resource scheduling method and device and cloud service system
CN111611129A (en) Performance monitoring method and device of PaaS cloud platform
CN112650755A (en) Data storage method, method for querying data, database and readable medium
CN106598738A (en) Computer cluster system and parallel computing method thereof
CN110597461B (en) Data storage method, device and equipment in block chain type account book
CN110045924B (en) Hierarchical storage method and device, electronic equipment and computer readable storage medium
CN105242955A (en) Virtual machine disk input and output scheduling method and system
CN106453663B (en) Improved storage expansion method and device based on cloud service
CN116089477B (en) Distributed training method and system
CN107291370B (en) Cloud storage system scheduling method and device
CN107783990B (en) Data compression method and terminal
CN116302307A (en) Multi-virtual machine migration method, device, equipment and medium
CN109254928A (en) A kind of method of log processing, system, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191220

RJ01 Rejection of invention patent application after publication