CN114650280A - File transmission method and device based on multiple networks - Google Patents

File transmission method and device based on multiple networks Download PDF

Info

Publication number
CN114650280A
CN114650280A CN202011391483.4A CN202011391483A CN114650280A CN 114650280 A CN114650280 A CN 114650280A CN 202011391483 A CN202011391483 A CN 202011391483A CN 114650280 A CN114650280 A CN 114650280A
Authority
CN
China
Prior art keywords
file
network connection
target
server
transmission
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
CN202011391483.4A
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.)
Shanghai Bilibili Technology Co Ltd
Original Assignee
Shanghai Bilibili Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Bilibili Technology Co Ltd filed Critical Shanghai Bilibili Technology Co Ltd
Priority to CN202011391483.4A priority Critical patent/CN114650280A/en
Publication of CN114650280A publication Critical patent/CN114650280A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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]

Abstract

The application provides a multi-network-based file transmission method and a multi-network-based file transmission device, wherein the multi-network-based file transmission method is applied to a first terminal and comprises the following steps: establishing a first network connection and a second network connection with a server; receiving a file transmission request; determining a target transmission strategy according to the file transmission request, and determining a target file in the server according to the file transmission request; and receiving the target file transmitted by the server through the first network connection and the second network connection based on the target transmission strategy, so that the network connection speed and the success rate of accessing the server can be improved, and the use experience of a user can be improved.

Description

File transmission method and device based on multiple networks
Technical Field
The application relates to the technical field of internet, in particular to a file transmission method based on multiple networks. The application also relates to a multi-network-based file transmission device, a computing device and a computer-readable storage medium.
Background
With the development of internet technology, the speed of cellular networks of mobile phones is also faster and faster, operators are also adapted to markets to launch various traffic packages, such as large-capacity traffic packages, traffic-free packages, and the like, and the traffic is gradually reduced, so that users can download and watch high-definition videos through mobile phone traffic in a large amount.
The user uses equipment such as a television, a computer, an intelligent set top box and the like at home to connect a broadband, obtains files such as high-definition video, lossless audio and the like from a network and plays the files locally, higher requirements are also put forward on the stability and speed of the broadband, sometimes when the network fluctuates, the user usually brings the situations of unreachable access or unsmooth playing and the like when playing resources obtained from the network, and the user experience is very bad.
Disclosure of Invention
In view of this, the present application provides a file transmission method based on multiple networks. The application also relates to a file transmission device based on multiple networks, a computing device and a computer readable storage medium, which are used for solving the problem that the network speed is not enough in the process of acquiring network resources through broadband connection in the prior art.
According to a first aspect of the embodiments of the present application, there is provided a multi-network-based file transmission method, where the method is applied to a first terminal, and includes:
establishing a first network connection and a second network connection with a server;
receiving a file transmission request;
determining a target transmission strategy according to the file transmission request, and determining a target file in the server according to the file transmission request;
receiving the target file transmitted by the server through the first network connection and the second network connection based on the target transmission policy.
According to a second aspect of the embodiments of the present application, there is provided a multi-network based file transmission apparatus, where the apparatus is applied to a first terminal, and the apparatus includes:
a connection establishing module configured to establish a first network connection and a second network connection with a server;
a receiving module configured to receive a file transfer request;
a determining module configured to determine a target transmission policy according to the file transmission request and determine a target file in the server according to the file transmission request;
a transmission module configured to receive the server transmitting the target file over the first network connection and the second network connection based on the target transmission policy.
According to a third aspect of embodiments herein, there is provided a computing device comprising a memory, a processor and computer instructions stored on the memory and executable on the processor, the processor implementing the steps of the multi-network based file transfer method when executing the instructions.
According to a fourth aspect of embodiments herein, there is provided a computer-readable storage medium storing computer instructions which, when executed by a processor, implement the steps of the multi-network based file transfer method.
The file transmission method based on multiple networks is applied to a first terminal, and establishes a first network connection and a second network connection with a server; receiving a file transmission request; determining a target transmission strategy according to the file transmission request, and determining a target file in the server according to the file transmission request; the file transmission method based on the multiple networks can speed up the first terminal by means of the first network connection and the second network connection, so that the connection speed between the first terminal and the server is higher, hardware does not need to be replaced, the cost caused by hardware equipment replacement is prevented from being improved, and the viewing experience of a user is improved.
Drawings
Fig. 1 is a flowchart of a file transmission method based on multiple networks according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a file transmission method based on multiple networks according to another embodiment of the present application;
fig. 3 is a flowchart illustrating a multi-network-based file transmission method applied to a video file played by a tv according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a file transmission apparatus based on multiple networks according to an embodiment of the present application;
fig. 5 is a block diagram of a computing device according to an embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The terminology used in the one or more embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of the present application. As used in one or more embodiments of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present application refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments of the present application to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first aspect may be termed a second aspect, and, similarly, a second aspect may be termed a first aspect, without departing from the scope of one or more embodiments of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
First, the noun terms used in the design of one or more embodiments of the present application will be explained.
A first terminal: the large-screen intelligent display equipment can be an intelligent television, a projector, a tablet personal computer and the like.
A second terminal: smart devices, such as smart phones, smart watches, tablet computers, etc., that can surf the internet via a cellular network.
The present application provides a multi-network based file transmission method, and relates to a multi-network based file transmission device, a computing device, and a computer readable storage medium, which are described in detail in the following embodiments one by one.
Fig. 1 shows a flowchart of a file transmission method based on multiple networks according to an embodiment of the present application, where the method is applied to a first terminal, and specifically includes the following steps:
step 102: a first network connection and a second network connection are established with a server.
The first terminal that this application embodiment provided is large-screen intelligent display equipment, like equipment such as intelligent TV, projecting apparatus, panel computer, and the user uses first terminal to watch the program and can have better watching experience.
The server is connected with the first terminal through a network, a plurality of types of files such as videos, audios, books and the like are stored in the server, after the first terminal is connected with the server, a user can select resources to be watched from the server through the first terminal to play, and the server transmits the resources to the first terminal to play.
The first network connection and the second network connection are two connection modes of a first terminal connecting with a server in practical application, and establish the first network connection and the second network connection with the server, and the method comprises the following steps:
establishing a broadband network connection with a server;
a cellular network connection is established with the server.
Specifically, the first network connection may be a broadband network connection or a cellular network connection, the second network connection may also be a broadband network connection or a cellular network connection, and the connection manner of the first network connection is different from that of the second network connection, for example, if the first network connection is a broadband network connection, the second network connection is a cellular network connection, and if the first network connection is a cellular network connection, the second network connection is a broadband network connection.
The speed of the household broadband is usually 100M-200M, and the household broadband is usually a public network IP address shared by several accounts.
The cellular network is also called a mobile network, and is a mobile communication hardware architecture, the cellular networks commonly used in daily life, namely 4G, 5G and the like, with the development of technology and the advent of 5G networks, the speed of the cellular network has reached the speed even surpassing the speed of a household broadband, each cellular network has a public network IP address, and the delay of network connection is lower. With the popularization of the 5G network, large-capacity set meal packets and various non-stream set meals can also assist the mobile phone to quickly surf the internet.
Optionally, the establishing a cellular network connection with the server includes:
establishing a communication connection with a second terminal, wherein a cellular network connection is established between the second terminal and the server;
establishing a cellular network connection with the server through a communication connection with the second terminal.
Specifically, when the first terminal establishes cellular network connection with the server, communication connection is established with the second terminal, the second terminal is a device with a cellular network internet function, such as a smart phone, a tablet computer, a smart watch and the like, and the first terminal establishes cellular network connection with the server by means of the internet function of the cellular network of the second terminal through the communication connection established with the second terminal.
In a first specific embodiment provided by the present application, taking a first terminal as a television and a second terminal as a mobile phone as an example, the television establishes a communication connection with the mobile phone through Socket connection, the mobile phone uses a phone card of an operator a, and has a 5G internet access function, and the television is also connected to a broadband network provided by an operator B, and when a user opens a certain audio application program in the television through the television, a server corresponding to the television and the audio application program establishes a broadband network connection provided by the operator B and a 5G network connection provided by the operator a.
In a second specific embodiment provided by the present application, for example, the first terminal is a projector, the second terminal is a smart watch that can use a phone card, the projector establishes a communication connection with the smart watch through a nested word connection, the smart watch uses a phone card of an operator C, and has a 4G internet access function, the projector is further connected to a broadband network provided by an operator D, and when a user opens a certain video application program using the projector, the projector establishes a broadband network connection provided by the operator D and a 4G network connection provided by the operator C with a server corresponding to the video application program.
Step 104: a file transfer request is received.
In practical application, after a user uses a first terminal to establish connection with a server, the server puts a corresponding operation interface in the first terminal, the user can browse or search contents desired to be watched in the operation interface, such as videos, audios, pictures, books and the like, after the user determines target contents, a file transmission request is sent to the first terminal, and the first terminal sends the file transmission request to the server.
In a first specific embodiment provided by the present application, taking the first terminal as a television and the second terminal as a mobile phone as an example, a user browses an audio list through the television, selects a song a as a target audio, and the television receives a file transmission request of the song a.
In a second specific embodiment provided by the present application, taking the first terminal as a projector and the second terminal as a smart watch capable of using a phone card as an example, a user searches for movie B through the projector, determines that movie B is a target video, and the projector receives a file transmission request of movie B sent by the user.
Step 106: and determining a target transmission strategy according to the file transmission request, and determining a target file in the server according to the file transmission request.
The target transmission policy specifically refers to what policy a file in the server is transmitted to the first terminal through, in actual application, a first network connection and a second network connection are established between the first terminal and the server, and the target transmission policy is a policy how the file is transmitted to the first terminal through the first network connection and the second network connection.
In a specific embodiment provided by the present application, taking the first network connection as a broadband network connection and the second network connection as a cellular network connection as an example, if the transmission speed of the broadband network connection is 1M/S and the transmission speed of the cellular network connection is 5M/S, the target transmission policy may be set such that a file with a size of 1M of the file is transmitted through the broadband network connection, and a file with a size of 2 to 6M is transmitted through the cellular network connection; the file with the size of 7M is transmitted through broadband network connection, the file with the size of 8-12M is transmitted through cellular network connection, and so on, under the target transmission strategy, the transmission speed of one second can reach 6M, which is 6 times of the transmission speed of the traditional broadband network connection.
In another embodiment provided by the present application, taking the first network connection as a broadband network connection, the second network connection as a cellular network connection, and the file to be transmitted is a video file, for example, if the transmission speed of the broadband network connection is 1M/S, and the transmission speed of the cellular network connection is 10M/S, in practical applications, the file may also be transmitted according to the playing duration of the video file, where the target transmission policy may be set that the video frame of the video file at 1 second is transmitted by the broadband network connection, the video frame of the video file at 2-11 seconds is transmitted by the cellular network connection, the video frame of the video file at 12 second is transmitted by the broadband network connection, the video frame of the video file at 13-22 seconds is transmitted by the cellular network connection, and so on.
In another embodiment provided by the present application, taking the first network connection as a broadband network connection and the second network connection as a cellular network connection as an example, the target transmission policy may be that, for a video file, a video part in a video is transmitted by the broadband network connection, and an audio part in the video is transmitted by the cellular network connection; or for an audio file, a sound part in the audio is transmitted by a broadband network connection, a text part (such as lyrics) in the audio is transmitted by a cellular network connection, and the like, and meanwhile, in the audio or video file, some other elements, such as subtitles, barrage, dolby video, special effect data, and the like, can be set by setting a transmission strategy, and the file is transmitted by a first network connection and a second network connection.
Specifically, determining a target transmission policy according to the file transmission request includes:
acquiring a preset target transmission strategy according to the file transmission request; or
And determining a target transmission strategy in a preset transmission strategy library according to the file transmission request.
Specifically, the preset target transmission policy includes at least any one of the following:
determining a preset target transmission strategy according to the transmission speed ratio of the first network connection and the second network connection;
determining a preset target transmission strategy according to the track information in the file to be transmitted;
and determining a preset target transmission strategy according to the data type in the file to be transmitted.
In practical applications, the preset target transmission policy may be a preset fixed transmission policy, and there are many methods for determining the preset target transmission policy, which may be determined according to the transmission ratio of the first network connection and the second network connection, for example, there are alternative transmission of the broadband network connection and the cellular network connection, so as to improve the transmission efficiency; it can also be determined according to the track information in the transmission file, for example, if the video file includes a video track, an audio track, a subtitle track, etc., it can be determined that the video track is transmitted through a broadband network connection, and the audio track and the subtitle track are transmitted through a cellular network connection; the target transmission strategy can be determined according to the data type in the file to be transmitted, for example, if the file to be transmitted comprises audio and video data (audio and video), text data (caption, bullet screen), dolby audio and video data, special effect data and the like, the audio and video data can be determined to be transmitted through broadband network connection, and the text data, the dolby audio and video data and the special effect data are transmitted through cellular network connection.
In practical applications, the preset target transmission policy may also be preset with a transmission policy library, and a user specifies different transmission policies in advance, such as video transmission over a broadband network, audio transmission over a cellular network, subtitle transmission, special effects, and so on.
Optionally, the file transmission request carries a file type to be transmitted;
determining a target transmission strategy in a preset transmission strategy library according to the file transmission request, wherein the target transmission strategy comprises the following steps:
and determining a target transmission strategy in a preset transmission strategy library according to the type of the file to be transmitted.
In a specific embodiment provided by the present application, the file type to be transmitted is a video file, the video file is generally divided into an audio part and a video part, and the audio part and the video part are often respectively transmitted to a player for playing, so that the preset target transmission policy can be obtained as that the video part is transmitted through a broadband network, and the audio part is transmitted through a cellular network.
In another specific embodiment provided by the present application, the type of the file to be transmitted carried in the file transmission request is a song, and the song generally includes an audio portion and a lyric portion, and then the preset target transmission policy can be obtained as that the audio portion is transmitted through a broadband network, and the lyric portion is transmitted through a cellular network.
The existing barrage is more and more widely applied, the flow occupied by the barrage is smaller, the barrage can be preset to be transmitted through a cellular network, for special effect data in some audios or videos, the flow occupied by the special effect data is more, the special effect data can also be set to be transmitted through a broadband network, and the like.
Specifically, the file transmission request carries a file identifier to be transmitted;
determining a target file in the server according to the file transmission request, including:
and determining a target file in the server according to the file identifier to be transmitted.
In practical application, the file transmission request also carries a file identifier to be transmitted, where the file identifier to be transmitted is specifically a unique determination identifier of the target file, that is, the target file can be uniquely determined according to the file identifier to be transmitted, for example, the file identifier to be transmitted is a main key of the file in the server database, in a specific embodiment provided by the present application, the file identifier to be transmitted is "123", and the target file can be determined to be the video M according to the file identifier to be transmitted.
In a first specific embodiment provided by the present application, taking a first terminal as a television and a second terminal as a mobile phone as an example, the television receives a file transmission request of a song a, where a file type of the song a is audio, a file identifier of the song a is "a", a target transmission policy may be determined as "alternate transmission of a broadband network connection and a cellular network connection" according to the file type being audio, and a target file "audio a" is determined in a server according to the file identifier "a".
In a second specific embodiment provided by the present application, taking the first terminal as a projector and the second terminal as a smart watch capable of using a phone card as an example, the projector receives a file transmission request of a movie B sent by a user, where a file type of the movie B is a video, a file identifier of the movie B is "B", and a target transmission policy may be determined as "video part connected and transmitted by a broadband network, audio part connected and transmitted by a cellular network, special effect data, and bullet screen text" according to the file identifier "B", and the target file "movie B" is determined in the server according to the file type "B".
Step 108: receiving the target file transmitted by the server through the first network connection and the second network connection based on the target transmission policy.
And after the target transmission strategy is determined, receiving the target file transmitted by the server through the first network connection and the second network connection according to the target transmission strategy.
In a first specific embodiment provided by the present application, taking the first terminal as a television and the second terminal as a mobile phone as an example, the determined target transmission policy is "alternative transmission of broadband network connection and cellular network connection", the determined target file is "audio a", and the receiving server receives the target file "audio a" transmitted by the server through "alternative transmission of broadband network connection and cellular network connection", that is, the server transmits the audio a to the television through the alternative transmission of broadband network connection and cellular network connection, and plays the audio a on the television.
In a second specific embodiment provided by the present application, taking the first terminal as a projector and the second terminal as a smart watch capable of using a phone card as an example, the determined target transmission policy is "broadband network connection transmits a video portion, cellular network connection transmits an audio portion, special effect data, and barrage text", and the determined target file is "video B", then the server transmits the video portion of the video B to the projector through the broadband network connection, and transmits the audio portion of the video B, the special effect data, and the barrage text to the projector through the cellular network connection, and plays the video in the projector.
According to the file transmission method based on the multiple networks, a first network connection and a second network connection between the file transmission method and a server are established; receiving a file transmission request; determining a target transmission strategy according to the file transmission request, and determining a target file in the server according to the file transmission request; the file transmission method based on the multiple networks can speed up the first terminal by means of the first network connection and the second network connection, so that the connection speed between the first terminal and the server is higher, hardware does not need to be replaced, the cost caused by hardware equipment replacement is prevented from being improved, and the viewing experience of a user is improved.
The following describes the multi-network based file transmission method further by taking the application of the multi-network based file transmission method provided by the present application to a video file played by a television as an example with reference to fig. 2 and fig. 3. Fig. 2 is a schematic structural diagram illustrating a file transmission method based on multiple networks according to an embodiment of the present application, in which a television is connected to a server through a broadband, and is connected to a mobile phone through a nested word service, and the mobile phone is connected to the server through a 5G network, that is, the television is connected to the server through two network connections, namely, the broadband and the 5G network, and receives a target file sent by the server through the broadband and the 5G network.
Fig. 3 is a processing flow chart of a file transmission method based on multiple networks, which is applied to a television for playing a video file, according to an embodiment of the present application, and the method is applied to a television, and specifically includes the following steps:
step 302: a broadband connection is established with the server.
In a specific embodiment provided by the present application, the television opens the video application B, and the television is connected to a server corresponding to the video application B through a broadband server provided by the operator L.
Step 304: and establishing a nested word connection with the mobile phone, wherein the mobile phone is connected with the server through 5G.
In a specific embodiment provided by the application, a telephone card provided by an operator L is installed in the mobile phone, the telephone card and the mobile phone both support 5G services, the television searches nested word services established by the mobile phone and establishes nested word connection with the mobile phone, and at the moment, the television establishes cellular network connection with the server through the nested word connection established with the mobile phone.
Step 306: receiving a video transmission request, wherein the video transmission request carries a video type and a video identifier.
In a specific embodiment provided by the present application, a user determines a movie Y that the user wants to watch by browsing a video list of an application B in a television, and sends a video transmission request of the movie Y to the television, where a video type carried in the video transmission request is a movie, and a video identifier is "Y".
Step 308: determining a target transmission strategy based on the video type, and determining a target video in the server based on the video identification.
In a specific embodiment provided by the present application, the video type is a movie, the target transmission policy is determined as "video part and special effect data are transmitted through a broadband network, audio part, subtitle part, barrage part, and dolby video part are transmitted through a 5G network", and the target video "movie Y" is determined in a server corresponding to the video application B according to the video identifier.
Step 310: and receiving the target video transmitted by the server through the broadband network and the 5G network based on the target transmission strategy.
In one embodiment provided by the present application, the tv receiving server transmits the "transmitted" movie Y "through the 5G network based on the target transmission policy" video part and special effects data are transmitted through the broadband network, and audio part, subtitle part, barrage part, and dolby video part are transmitted through the 5G network.
According to the file transmission method based on the multiple networks, a first network connection and a second network connection between the file transmission method and a server are established; receiving a file transmission request; determining a target transmission strategy according to the file transmission request, and determining a target file in the server according to the file transmission request; the file transmission method based on the multiple networks can speed up the first terminal by means of the first network connection and the second network connection, so that the connection speed between the first terminal and the server is higher, hardware does not need to be replaced, the cost caused by hardware equipment replacement is prevented from being improved, and the viewing experience of a user is improved.
Corresponding to the above method embodiment, the present application further provides an embodiment of a file transfer device based on multiple networks, and fig. 4 shows a schematic structural diagram of a file transfer device based on multiple networks according to an embodiment of the present application. As shown in fig. 4, the apparatus includes:
a connection establishing module 402 configured to establish a first network connection and a second network connection with a server;
a receiving module 404 configured to receive a file transfer request;
a determining module 406 configured to determine a target transmission policy according to the file transmission request and determine a target file in the server according to the file transmission request;
a transmission module 408 configured to receive the server transmission of the target file over the first network connection and the second network connection based on the target transmission policy.
Optionally, the connection establishing module 402 is further configured to:
establishing a broadband network connection with a server;
a cellular network connection is established with the server.
Optionally, the connection establishing module 402 is further configured to:
establishing a communication connection with a second terminal, wherein a cellular network connection is established between the second terminal and the server;
a cellular network connection is established with the server through a communication connection with the second terminal.
Optionally, the determining module 406 is further configured to:
acquiring a preset target transmission strategy according to the file transmission request; or
And determining a target transmission strategy in a preset transmission strategy library according to the file transmission request.
Optionally, the file transmission request carries a file type to be transmitted;
optionally, the determining module 406 is further configured to determine a target transmission policy in a preset transmission policy library according to the type of the file to be transmitted.
Optionally, the preset target transmission policy includes at least any one of the following:
determining a preset target transmission strategy according to the transmission speed ratio of the first network connection and the second network connection;
determining a preset target transmission strategy according to the track information in the file to be transmitted;
and determining a preset target transmission strategy according to the data type in the file to be transmitted.
Optionally, the file transmission request carries a file identifier to be transmitted;
optionally, the determining module 406 is further configured to determine the target file in the server according to the file identifier to be transmitted.
The file transmission device based on the multiple networks comprises a connection establishing module, a file transmission module and a file transmission module, wherein the connection establishing module is configured to establish a first network connection and a second network connection with a server; a receiving module configured to receive a file transfer request; a determining module configured to determine a target transmission policy according to the file transmission request and determine a target file in the server according to the file transmission request; the transmission module is configured to receive the target file transmitted by the server through the first network connection and the second network connection based on the target transmission strategy, and the file transmission device based on multiple networks provided by the embodiment of the application can speed up the first terminal by means of the first network connection and the second network connection, so that the connection speed between the first terminal and the server is higher, hardware does not need to be replaced, the cost caused by hardware equipment replacement is prevented from being improved, and the viewing experience of a user is improved.
The foregoing is a schematic diagram of a file transmission apparatus based on multiple networks according to this embodiment. It should be noted that the technical solution of the multi-network based file transmission apparatus and the technical solution of the multi-network based file transmission method belong to the same concept, and details of the technical solution of the multi-network based file transmission apparatus, which are not described in detail, can be referred to the description of the technical solution of the multi-network based file transmission method.
Fig. 5 illustrates a block diagram of a computing device 500 provided according to an embodiment of the present application. The components of the computing device 500 include, but are not limited to, a memory 510 and a processor 520. Processor 520 is coupled to memory 510 via bus 530, and database 550 is used to store data.
Computing device 500 also includes access device 540, access device 540 enabling computing device 500 to communicate via one or more networks 560. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. The access device 540 may include one or more of any type of network interface, e.g., a Network Interface Card (NIC), wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the application, the above-described components of computing device 500 and other components not shown in FIG. 5 may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 5 is for purposes of example only and is not limiting as to the scope of the present application. Those skilled in the art may add or replace other components as desired.
Computing device 500 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), mobile phone (e.g., smartphone), wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 500 may also be a mobile or stationary server.
Wherein processor 520, when executing the instructions, performs the steps of the multi-network based file transfer method.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device and the technical solution of the multi-network based file transmission method belong to the same concept, and details that are not described in detail in the technical solution of the computing device can be referred to the description of the technical solution of the multi-network based file transmission method.
An embodiment of the present application further provides a computer readable storage medium, which stores computer instructions, and the instructions, when executed by a processor, implement the steps of the multi-network based file transfer method as described above.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the multi-network based file transmission method, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the multi-network based file transmission method.
The foregoing description of specific embodiments of the present application has been presented. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present application disclosed above are intended only to aid in the explanation of the application. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the teaching of this application. The embodiments were chosen and described in order to best explain the principles of the application and its practical applications, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and their full scope and equivalents.

Claims (10)

1. A file transmission method based on multiple networks is applied to a first terminal and comprises the following steps:
establishing a first network connection and a second network connection with a server;
receiving a file transmission request;
determining a target transmission strategy according to the file transmission request, and determining a target file in the server according to the file transmission request;
receiving, based on the target transfer policy, that the server transfers the target file over the first network connection and the second network connection.
2. The multi-network based file transfer method of claim 1, wherein establishing a first network connection and a second network connection with a server comprises:
establishing a broadband network connection with a server;
a cellular network connection is established with the server.
3. The multi-network based file transfer method of claim 2, wherein establishing a cellular network connection with a server comprises:
establishing a communication connection with a second terminal, wherein a cellular network connection is established between the second terminal and the server;
establishing a cellular network connection with the server through a communication connection with the second terminal.
4. The multi-network based file transfer method of claim 1, wherein determining a target transfer policy based on the file transfer request comprises:
acquiring a preset target transmission strategy according to the file transmission request; or
And determining a target transmission strategy in a preset transmission strategy library according to the file transmission request.
5. The multi-network based file transmission method according to claim 4, wherein the file transmission request carries a file type to be transmitted;
determining a target transmission strategy in a preset transmission strategy library according to the file transmission request, wherein the target transmission strategy comprises the following steps:
and determining a target transmission strategy in a preset transmission strategy library according to the type of the file to be transmitted.
6. The multi-network based file transfer method of claim 4, wherein the preset target transfer policy includes at least any one of:
determining a preset target transmission strategy according to the transmission speed ratio of the first network connection and the second network connection;
determining a preset target transmission strategy according to the track information in the file to be transmitted;
and determining a preset target transmission strategy according to the data type in the file to be transmitted.
7. The multi-network based file transmission method according to any one of claims 1 to 6, wherein the file transmission request carries an identifier of a file to be transmitted;
determining a target file in the server according to the file transmission request, including:
and determining a target file in the server according to the file identifier to be transmitted.
8. A file transmission device based on multiple networks is characterized in that the device is applied to a first terminal and comprises:
a connection establishing module configured to establish a first network connection and a second network connection with a server;
a receiving module configured to receive a file transfer request;
a determining module configured to determine a target transmission policy according to the file transmission request and determine a target file in the server according to the file transmission request;
a transmission module configured to receive the server transmitting the target file over the first network connection and the second network connection based on the target transmission policy.
9. A computing device comprising a memory, a processor, and computer instructions stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1-7 when executing the instructions.
10. A computer-readable storage medium storing computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 7.
CN202011391483.4A 2020-12-02 2020-12-02 File transmission method and device based on multiple networks Pending CN114650280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011391483.4A CN114650280A (en) 2020-12-02 2020-12-02 File transmission method and device based on multiple networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011391483.4A CN114650280A (en) 2020-12-02 2020-12-02 File transmission method and device based on multiple networks

Publications (1)

Publication Number Publication Date
CN114650280A true CN114650280A (en) 2022-06-21

Family

ID=81991209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011391483.4A Pending CN114650280A (en) 2020-12-02 2020-12-02 File transmission method and device based on multiple networks

Country Status (1)

Country Link
CN (1) CN114650280A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080099390A (en) * 2007-05-09 2008-11-13 삼성전자주식회사 Method and apparatus for management of port in user equipment
US20140325022A1 (en) * 2013-04-24 2014-10-30 International Business Machines Corporation Maximizing throughput of streaming media by simultaneously connecting to streaming media server over multiple independent network connections
US20160212102A1 (en) * 2013-08-20 2016-07-21 Samsung Electronics Co., Ltd. Method and device for distributing traffic by using plurality of network interfaces in wireless communication system
CN108777666A (en) * 2018-08-23 2018-11-09 Oppo广东移动通信有限公司 The shunt method and relevant device of link aggregation
CN111278051A (en) * 2020-01-08 2020-06-12 Oppo广东移动通信有限公司 File transmission method and device, storage medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080099390A (en) * 2007-05-09 2008-11-13 삼성전자주식회사 Method and apparatus for management of port in user equipment
US20140325022A1 (en) * 2013-04-24 2014-10-30 International Business Machines Corporation Maximizing throughput of streaming media by simultaneously connecting to streaming media server over multiple independent network connections
US20160212102A1 (en) * 2013-08-20 2016-07-21 Samsung Electronics Co., Ltd. Method and device for distributing traffic by using plurality of network interfaces in wireless communication system
CN108777666A (en) * 2018-08-23 2018-11-09 Oppo广东移动通信有限公司 The shunt method and relevant device of link aggregation
CN111278051A (en) * 2020-01-08 2020-06-12 Oppo广东移动通信有限公司 File transmission method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN108023737B (en) Method and apparatus for transferring digital content from a computer to a mobile handset
CN102547443B (en) Resource sharing and interaction realizing method of multi-terminal system
CN104320417B (en) The method of interconnection and streaming and streaming media playing between mobile terminal and web terminals
US20150365453A1 (en) Media projection method and device, control terminal and cloud server
CN104125229B (en) The player method of Streaming Media and playing device
CN103166941A (en) Data sharing method and device
KR20110056288A (en) Device dependent delivery in a local area network
CN108063769B (en) Method and device for realizing content service and content distribution network node
CN102710789A (en) Interaction method, system and device for data between intelligent terminals
EP3110098A1 (en) Mobile terminal and method for achieving sharing of streaming media file of cloud based on dlna
CN104079597B (en) The transfer method and user equipment of Media Stream
CN103546823A (en) Multi-screen interactive system on basis of local network and method for implementing multi-screen interactive system
CN112839238B (en) Screen projection playing method and device and storage medium
CN109586929B (en) Conference content transmission method and device, electronic equipment and storage medium
CN103986776A (en) Router and downloading method based on router
CN113810761B (en) Multi-terminal interaction method, device and system
WO2014190655A1 (en) Application synchronization method, application server and terminal
CN105828096A (en) Media stream file processing method and device
CN107613340A (en) A kind of virtual reality device method and system for playing video synchronous with intelligent television
CN113923470A (en) Live stream processing method and device
CN105530536A (en) Method and device for providing media related information
WO2015180446A1 (en) System and method for maintaining connection channel in multi-device interworking service
JP2014515134A (en) Reading service providing method, content providing server and system
CN104053016A (en) Image previewing method and device
CN114650280A (en) File transmission method and device based on multiple networks

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