CN114024953A - File transmission method and device and electronic equipment - Google Patents

File transmission method and device and electronic equipment Download PDF

Info

Publication number
CN114024953A
CN114024953A CN202111237398.7A CN202111237398A CN114024953A CN 114024953 A CN114024953 A CN 114024953A CN 202111237398 A CN202111237398 A CN 202111237398A CN 114024953 A CN114024953 A CN 114024953A
Authority
CN
China
Prior art keywords
terminal
file
downloaded
identifier
downloading
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.)
Granted
Application number
CN202111237398.7A
Other languages
Chinese (zh)
Other versions
CN114024953B (en
Inventor
刘硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111237398.7A priority Critical patent/CN114024953B/en
Publication of CN114024953A publication Critical patent/CN114024953A/en
Application granted granted Critical
Publication of CN114024953B publication Critical patent/CN114024953B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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]

Landscapes

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

Abstract

The application provides a file transmission method, a file transmission device and electronic equipment, which can receive a downloading request sent by a first terminal, wherein the downloading request comprises a target user identifier corresponding to a target user logging in the first terminal and a file identifier corresponding to a file to be downloaded; responding to the downloading request, and determining a second terminal which is logged in by the target user and corresponds to the target user identification; the downloading instruction corresponding to the file identification is sent to the second terminal, so that the second terminal can obtain the file to be downloaded according to the downloading instruction, the user can download the file to be downloaded to the second terminal which the user logs in only by operating the first terminal, the user can immediately operate the file to be downloaded when the user switches to use the second terminal, the time of the user is saved, and the user experience is improved.

Description

File transmission method and device and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of data transmission, and in particular relates to a file transmission method and device, an electronic device, a computer-readable storage medium and a computer program product.
Background
With the continuous progress of science and technology, under different use scenes, a user can use different terminal devices to improve the use experience, for example, the user tends to use a mobile phone, a tablet computer and other terminal devices outdoors, and the user tends to use a notebook computer, a desktop computer and other terminal devices indoors. When users use different terminal devices, the same file is often required to be operated.
In the related art, after a user downloads or receives a file from one terminal device, if the user switches to another terminal device, the file does not exist in the other terminal device, and the user generally needs to re-download or receive the file at the other terminal device to continue operating the file at the other device.
However, in the current scheme, in order to operate the same file on different devices, after a user switches a terminal device for use, the user needs to download or receive the same file again on the switched device, the operation is complex, the use experience of the user is greatly affected, and especially under the condition of a large file data volume, a large amount of time is wasted by the user.
Disclosure of Invention
The embodiment of the application provides a file transmission method and device, electronic equipment, a computer readable storage medium and a computer program product, and aims to solve the problem that in the related art, after a client downloads a file, the file is switched to other logged-in clients, and the other logged-in clients do not have the file, so that the user experience is poor.
In a first aspect, an embodiment of the present application provides a file transmission method, which is applied to a server, and the method includes:
receiving a downloading request sent by a first terminal, wherein the downloading request comprises a target user identifier corresponding to a target user who logs in the first terminal and a file identifier corresponding to a file to be downloaded;
responding to the downloading request, and determining a second terminal which is corresponding to the target user identification and is logged in by the target user;
and sending a downloading instruction corresponding to the file identifier to the second terminal so that the second terminal acquires the file to be downloaded according to the downloading instruction.
In an optional implementation manner, the sending the download instruction corresponding to the file identifier to the second terminal includes:
analyzing the downloading request, and determining a conversation user identifier, a message identifier and a resource locator corresponding to the file to be downloaded; the conversation user identifier is used for representing an identifier corresponding to a user who sends the file to be downloaded to the first terminal, and the message identifier is used for representing an identifier of an instant messaging message containing the file to be downloaded;
generating a downloading instruction according to the target user identification, the conversation user identification, the message identification and the resource locator corresponding to the file to be downloaded;
and sending a downloading instruction corresponding to the file identifier to the second terminal, so that the second terminal obtains the file to be downloaded from a content distribution network corresponding to the server according to the resource locator after verifying the downloading instruction through the target user identifier, the conversation user identifier and the message identifier.
In an optional implementation manner, the sending, to the second terminal, a download instruction corresponding to the file identifier includes:
determining the state of the second terminal, wherein the state comprises an online state and an offline state;
and sending a downloading instruction corresponding to the file identifier to a second terminal in an online state.
In an optional implementation manner, the sending, to the second terminal, a download instruction corresponding to the file identifier further includes:
under the condition that the second terminal in an off-line state is confirmed to exist, the downloading instruction is stored in the local server side;
continuously detecting the state of the second terminal, and sending the downloading instruction to the second terminal which is changed from the offline state to the online state under the condition that the second terminal which is changed from the offline state to the online state is detected;
and deleting the downloading instruction after sending the downloading instruction to all the second terminals.
In an alternative embodiment, the method further comprises:
and after the first terminal is determined to delete the file to be downloaded, sending a deletion instruction to the second terminal so that the second terminal can delete the file to be downloaded according to the deletion instruction.
In an alternative embodiment, the method further comprises:
and under the condition that the first terminal and the second terminal are in the same local area network, sending a transmission instruction to the first terminal so that the first terminal sends the file to be downloaded to the second terminal through the local area network.
In an optional implementation manner, the receiving a download request sent by a first terminal includes:
and receiving a downloading request sent by the first terminal after responding to the click operation of the synchronous downloading option in the option menu, wherein the option menu is triggered by the long-time click operation of the file identifier of the file to be downloaded.
In a second aspect, an embodiment of the present application provides a file transfer apparatus, where the apparatus includes:
the system comprises a receiving module, a downloading module and a downloading module, wherein the receiving module is configured to receive a downloading request sent by a first terminal, and the downloading request comprises a target user identifier corresponding to a target user who logs in the first terminal and a file identifier corresponding to a file to be downloaded;
the determining module is configured to respond to the downloading request, and determine a second terminal, corresponding to the target user identification, where the target user logs in;
and the sending module is configured to send a downloading instruction corresponding to the file identifier to the second terminal, so that the second terminal obtains the file to be downloaded according to the downloading instruction.
In an optional implementation, the sending module further includes:
the analysis submodule is configured to analyze the downloading request and determine a conversation user identifier, a message identifier and a resource locator corresponding to the file to be downloaded; the conversation user identifier is used for representing an identifier corresponding to a user who sends the file to be downloaded to the first terminal, and the message identifier is used for representing an identifier of an instant messaging message containing the file to be downloaded;
the generating submodule is configured to generate a downloading instruction according to the target user identifier, the conversation user identifier, the message identifier and the resource locator corresponding to the file to be downloaded;
and the first sending submodule is configured to send a downloading instruction corresponding to the file identifier to the second terminal, so that the second terminal obtains the file to be downloaded from a content distribution network corresponding to a server according to the resource locator after verifying the downloading instruction through the target user identifier, the conversation user identifier and the message identifier.
In an optional implementation, the sending module further includes:
a determining submodule configured to determine a state of the second terminal, the state including an online state and an offline state;
and the second sending submodule is configured to send a downloading instruction corresponding to the file identifier to a second terminal in an online state.
In an optional implementation, the sending module further includes:
the storage submodule is configured to store the downloading instruction in a local server under the condition that the existence of the second terminal in an offline state is confirmed;
a third sending submodule configured to continuously detect a state of the second terminal, and send the download instruction to the second terminal that is changed from the offline state to the online state when the second terminal that is changed from the offline state to the online state is detected;
and the deleting submodule is configured to delete the downloading instruction after the downloading instruction is sent to all the second terminals.
In an alternative embodiment, the apparatus further comprises:
and the deleting module is configured to send a deleting instruction to the second terminal after the first terminal is determined to delete the file to be downloaded, so that the second terminal can delete the file to be downloaded according to the deleting instruction.
In an alternative embodiment, the apparatus further comprises:
the direct transfer module is configured to send a transmission instruction to the first terminal under the condition that the first terminal and the second terminal are determined to be in the same local area network, so that the first terminal sends the file to be downloaded to the second terminal through the local area network.
In an optional implementation, the receiving module further includes:
the receiving submodule is configured to receive a downloading request sent by the first terminal after responding to a click operation of a synchronous downloading option in an option menu, wherein the option menu is triggered by a long-time click operation of a file identifier of the file to be downloaded.
In a third aspect, an embodiment of the present application further provides an electronic device, including a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the file transfer method.
In a fourth aspect, the present application further provides a computer-readable storage medium, where instructions of the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to execute the file transfer method.
In a fifth aspect, an embodiment of the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the file transfer method.
In the embodiment of the application, a downloading request sent by a first terminal can be received, wherein the downloading request comprises a target user identifier corresponding to a target user who logs in the first terminal and a file identifier corresponding to a file to be downloaded; responding to the downloading request, and determining a second terminal which is logged in by the target user and corresponds to the target user identification; the downloading instruction corresponding to the file identification is sent to the second terminal, so that the second terminal can obtain the file to be downloaded according to the downloading instruction, the user can download the file to be downloaded to the second terminal which the user logs in only by operating the first terminal, the user can immediately operate the file to be downloaded when the user switches to use the second terminal, the time of the user is saved, and the user experience is improved.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating steps of a file transmission method according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating steps of another file transfer method according to an embodiment of the present application;
fig. 3 is a schematic diagram of an instant messaging window according to an embodiment of the present application;
FIG. 4 is a diagram of a file transfer system architecture provided by an embodiment of the present application;
FIG. 5 is a block diagram of a file transfer device according to an embodiment of the present disclosure;
FIG. 6 is a logical block diagram of an electronic device of one embodiment of the present application;
fig. 7 is a logic block diagram of an electronic device according to another embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a flowchart illustrating steps of a file transmission method according to an embodiment of the present application, where as shown in fig. 1, the method includes:
step 101, receiving a download request sent by a first terminal, where the download request includes a target user identifier corresponding to a target user who logs in the first terminal and a file identifier corresponding to a file to be downloaded.
The first terminal may be any terminal device, such as a laptop, a desktop, a mobile phone, a tablet computer, and the like. The first terminal may also be a program client running on any terminal device, such as a wechat client, a nailing client, etc.
The downloading request is a request initiated by operating the first terminal to the server, and the downloading request may specifically include a target user identifier corresponding to a target user who logs in the first terminal and a file identifier corresponding to a file to be downloaded.
Specifically, after a target user logs in a first terminal, a file identifier corresponding to a file to be downloaded can be selected on the first terminal, the first terminal generates a downloading request according to the file identifier corresponding to the file to be downloaded selected by the user and a user identifier of the first terminal, the downloading request is sent to a server, and the server receives the downloading request. The User identifier may be information indicating a User identity, such as a User Identification (UID), a User Identification code (User ID), and a User name; the file identifier may be a file name, a file link, a file Uniform Resource Locator (URL), or the like, which may indicate information of the file to be downloaded. It should be noted that, a user may select a plurality of files to be downloaded at one time, and the generated download request may include file identifiers corresponding to the plurality of files to be downloaded.
For example, a target User logs in a notebook computer a, and the target User selects a file document.doc in the notebook computer a as a file to be downloaded, the notebook computer a generates a download request according to an identification number UID of the User and a file identifier of the file document.doc, and sends the download request to a server, and the server receives the download request and then parses the identification number UID and the file identifier of the document.doc from the download request.
And step 102, responding to the downloading request, and determining a second terminal which is corresponding to the target user identification and is logged in by the target user.
The second terminal may represent other clients that have logged in through the target user identifier and/or clients that have logged in through the associated user identifier of the target user identifier, in addition to the first terminal, where the second terminal and the first terminal may be clients of the same software running on different devices. Taking the wechat as an example, the first terminal may be an android version wechat client running on one mobile phone, and the corresponding second terminal may be an android version wechat client running on another mobile phone, an IOS version wechat client running on another mobile phone, a web version wechat client running on a notebook computer, and the like.
For example, the User logs in a notebook computer a, a mobile phone B and a mobile phone C, and if the notebook computer a initiates a download request as the first terminal, i.e., the notebook computer a, the mobile phone B and the mobile phone C may be determined as the second terminal. If the User is associated with the User AD at the same time and the User AD logs in the tablet computer D, the mobile phone B, the mobile phone C and the tablet computer D can be determined as the second terminal.
Specifically, after receiving a download request sent by the first terminal, the server analyzes the download request, and determines a target user identifier and a file identifier corresponding to a file to be downloaded from the download request. The server side inquires user login information and/or user association information through the analyzed target user identification, and determines the client side which has logged in through the target user identification and/or the client side which has logged in through the associated user identification of the target user identification, and the client side which has logged in through the target user identification and/or the client side which has logged in through the associated user identification of the target user identification, wherein the client side except the first terminal is used as a second terminal.
Step 103, sending a downloading instruction corresponding to the file identifier to the second terminal, so that the second terminal obtains the file to be downloaded according to the downloading instruction.
After the server determines the second terminal, the server can send the download instruction corresponding to the file identifier corresponding to the file to be downloaded to the second terminal, each client in the second terminal receives the download instruction sent by the server and analyzes the download instruction to obtain the resource locator in the download instruction, and the file to be downloaded is downloaded and stored locally from the resource locator, so that the file to be downloaded can be directly operated and used when a user switches to the second terminal, and the trouble caused by the fact that the user needs to manually download the file to be downloaded again to operate and use the file to be downloaded when the user switches to the second terminal is avoided.
When a user sends a download request through a first terminal, the user may select to download only a file to be downloaded to the first terminal, or may select to download the file to be downloaded to both the first terminal and a second terminal, and the user may not log in the second terminal when the first terminal initiates the download request.
For the above reasons, when the user initiates the download request, the file to be downloaded may have been downloaded to the first terminal before, that is, the file to be downloaded already exists in the first terminal, so that, if the server determines that the file to be downloaded already exists in the first terminal, the server may only send the instruction to be downloaded to the second terminal, thereby avoiding resource waste caused by the repeated downloading of the file to be downloaded by the first terminal.
Specifically, in an embodiment, before generating the download request, the first terminal detects whether a file to be downloaded is locally stored, and if it is determined that the file to be downloaded is locally stored, adds download identification information in the generated download request, and indicates whether the file to be downloaded is already stored in the first terminal through the download identification information. And after receiving the downloading request, the server obtains downloading identification information by analyzing the downloading request, and determines whether the first terminal stores the file to be downloaded according to the downloading identification information.
If the server determines that the file to be downloaded does not exist in the first terminal, the server can simultaneously send the instruction to be downloaded to the first terminal and the second terminal, so that the first terminal and the second terminal can synchronously download and store the file to be downloaded, a user can directly use the file to be downloaded after switching equipment, manual downloading is not needed, the time of the user is saved, and the use experience of the user is improved.
Optionally, step 103 may further include:
and a substep 1031 of determining a state of the second terminal, wherein the state includes an online state and an offline state.
Because the second terminal includes the client that the user has logged in, and the user may log out after logging in, or there may be a client that is not connected to the network in the second terminal, these clients that log out and clients that are not connected to the network may both be regarded as clients that are in an offline state for the server, and these clients that are in the offline state in the second terminal cannot receive the file to be downloaded sent by the server at the first time. Therefore, when the instruction to be downloaded is sent to the second terminal, it needs to be determined whether the second terminal is in an offline state.
Specifically, for the case that the login of the second terminal is invalid, the server may send a verification request to the second terminal, the second terminal sends login credential information to the server after receiving the verification request, the server verifies whether the login credential information of the second terminal is valid or expired according to the received login credential information, and determines the second terminal with the invalid login credential information and the expired login credential information as an offline state. For the case that the second terminal actively logs out, the second terminal can send a logout request to the server when logging out, and the server determines the client sending the logout request as an offline state after receiving the logout request. For the case of disconnecting the network connection, the server may determine the second terminal that does not respond to the authentication request as an offline state before sending the download instruction.
And a substep 1032 of sending the file to be downloaded corresponding to the file identifier to a second terminal in an online state.
Before sending the instruction to be downloaded to the second terminal, the server may send a verification request to the second terminal, the second terminal sends login credential information to the server after receiving the verification request, the server verifies whether the login credential information of the second terminal is valid or expired according to the received login credential information, and determines the second terminal with the valid login credential information as an online state.
It should be noted that, the manner of determining the second terminal state is only an exemplary description, and the manner of determining the second terminal state is not limited to the above manner, and the embodiment of the present application is not specifically limited herein.
To sum up, the file transmission method provided by the embodiment of the present application may receive a download request sent by a first terminal, where the download request includes a target user identifier corresponding to a target user who logs in the first terminal and a file identifier corresponding to a file to be downloaded; responding to the downloading request, and determining a second terminal which is logged in by the target user and corresponds to the target user identification; the downloading instruction corresponding to the file identification is sent to the second terminal, so that the second terminal can obtain the file to be downloaded according to the downloading instruction, the user can download the file to be downloaded to the second terminal which the user logs in only by operating the first terminal, the user can immediately operate the file to be downloaded when the user switches to use the second terminal, the time of the user is saved, and the user experience is improved.
Fig. 2 is a flowchart of steps of another file transmission method provided in an embodiment of the present application, and as shown in fig. 2, the method may include:
step 201, receiving a download request sent by a first terminal.
This step is referred to as the above substep 101, and is not described in detail in the embodiments of the present application.
Optionally, step 201 may further include:
in the sub-step 2011, a download request sent by the first terminal after responding to a click operation of a synchronous download option in an option menu is received, wherein the option menu is triggered by a long-time click operation of a file identifier of the file to be downloaded.
Because the user does not necessarily need to use or operate the same file to be downloaded at the second terminal, that is, the user may not need to download the file to be downloaded to the second terminal, the user may select different downloading modes for the file to be downloaded, the first terminal may further send a local downloading request to the server, and for the local downloading request sent by the first terminal, the server only sends the file to be downloaded to the first terminal after receiving the local downloading request. Thus, the download request may include a local download request and a synchronous download request.
Specifically, the user may perform a click operation on a file identifier corresponding to the file to be downloaded on the first terminal, so that the first terminal sends a local download request including the file identifier of the file to be downloaded to the server. The user can call the option menu by long-pressing the file identifier corresponding to the file to be downloaded on the first terminal, and send the synchronous downloading request to the server by clicking the synchronous downloading option on the option menu, so that the server can enable the second terminal to store the corresponding file to be downloaded according to the synchronous downloading request. The click operation may be a touch operation, a mouse operation, or the like. The method for sending the download request in the embodiment of the present invention is only described as an example, and is not limited specifically, and the method for sending the download request by the first terminal may be flexibly set according to actual situations.
Further, the user may further manually select a second terminal to be synchronously downloaded on the option menu, for example, the user logs in 4 clients, where 1 is the first terminal, and the user may select any client of the other 3 clients as the second terminal on the option menu, and generate a synchronous download instruction.
In the embodiment of the application, the user can send different downloading requests to the server through different operations, so that the user can flexibly select the types and the number of the clients to be downloaded, the requirements of different users can be met, and the user experience is improved.
Step 202, analyzing the downloading request, and determining a conversation user identifier, a message identifier and a resource locator corresponding to the file to be downloaded; the conversation user identifier is used for representing an identifier corresponding to a user who sends the file to be downloaded to the first terminal, and the message identifier is used for representing an identifier of an instant messaging message containing the file to be downloaded.
Since rich media files such as videos, pictures, music, text documents and the like are often sent between other users and a target user through instant messaging messages, the file to be downloaded may include a file to be downloaded transmitted in the form of an instant messaging message in an instant messaging record of a client. And the other users are users capable of sending files to the target user, and the other users send the files to the target user by logging in the second client.
When the first terminal generates a download request, the download request can also contain information such as a target user identifier, a conversation user identifier, an equipment identifier, a message identifier, a file identifier corresponding to a file to be downloaded and the like, so that the server can verify the download request, and the file received by the target user cannot be acquired by other forged download requests; the second terminal can also verify the download instruction generated by the download request, so that the second terminal can not download the malicious file according to the forged download instruction.
Referring to fig. 3, a schematic diagram of an instant messaging window provided in an embodiment of the present application is shown. As shown in fig. 3, the User is a target User logged in from the first terminal, the User AD is a User in instant messaging with the User Us, the file D1 is a file sent by the User AD to the User Us through the instant messaging message C1, and the file D2 is a file sent by the target User Us to the User AD through the instant messaging message C2. If the target user Us generates a download request by taking the file D1 as a file to be downloaded, in the generated download request, the user identifier of the user AD is taken as a conversation user identifier, the identifier of the target user Us is taken as a target user identifier, the identifier corresponding to the instant messaging message C1 is taken as a message identifier, and the file identifier corresponding to the file D1; if the target user Us generates a download request by using the file D2 as a file to be downloaded, in the generated download request, the user identifier of the user AD is used as a conversation user identifier, the identifier of the target user Us is used as a target user identifier, the identifier corresponding to the instant messaging message C2 is used as a message identifier, and the file identifier corresponding to the file D2. Meanwhile, the device ID of the device Dvs is taken as the device identification.
After receiving a download request sent by a first terminal, a server analyzes information such as a target user identifier, a conversation user identifier, a message identifier, an equipment identifier, a file identifier corresponding to a file to be downloaded and the like from the download request, wherein the equipment identifier can be used for determining equipment sending the download request, and therefore the first terminal is determined from a client logged in by a user.
Step 203, generating a downloading instruction according to the target user identifier, the conversation user identifier, the message identifier and the resource locator corresponding to the file to be downloaded.
Because the instant communication between the target user and other users is forwarded by the server, the server can verify whether the target user identifier, the conversation user identifier, the message identifier and the file identifier to be downloaded included in the downloading request are matched with each other, and can perform subsequent operation only under the condition that the target user identifier, the conversation user identifier, the message identifier and the file identifier to be downloaded are matched with each other, so as to improve the security of receiving or sending files by the user. Of course, the server may not verify the download request, and may be flexibly set according to actual needs.
The file to be downloaded is the file sent by the user, the file is already stored in the storage unit corresponding to the server, and the user waiting to receive the file downloads the file, so that the server can obtain the resource locator of the file to be downloaded from the storage unit through the file identifier corresponding to the file to be downloaded.
After the resource locator corresponding to the file to be downloaded is obtained, the server generates a downloading instruction according to the target user identifier, the conversation user identifier, the message identifier, the file identifier and the resource locator, and the downloading instruction can also be generated only according to the resource locator and the file identifier so as to indicate the file to be downloaded and the position of the file on the network.
Step 204, sending the download instruction to the second terminal, so that the second terminal obtains the file to be downloaded from the content distribution network corresponding to the server according to the resource locator under the condition that the download instruction is verified to be legal by the target user identifier, the conversation user identifier and the message identifier.
After the server generates the downloading instruction, the server sends the downloading instruction to all the second terminals, and as each second terminal is a client logged in by the target user, therefore, when the first terminal receives the messages sent by other users, the second terminal corresponding to the first terminal also receives the same messages, that is, the instant communication content of the second terminal is the same as that of the first terminal, the second terminal can also determine the information such as the conversation user identifier, the file identifier, the target user identifier and the like corresponding to the file to be downloaded through the instant communication information, furthermore, the second terminal can compare the information determined by itself with the information such as the dialog user identifier, the file identifier and the target user identifier parsed from the received download instruction, confirming that the downloading instruction is legal under the condition that the comparison result is consistent, and further executing the downloading instruction; and if the comparison result is inconsistent, determining that the downloading instruction is illegal, and not executing the downloading instruction. Of course, the second terminal may also be set not to perform validity judgment on the download instruction, and may be flexibly set according to actual needs.
And after the second terminal receives the downloading instruction or determines that the downloading instruction is legal, acquiring the corresponding file to be downloaded from the content distribution network corresponding to the server according to the resource locator analyzed from the downloading instruction, and storing the file to be downloaded locally so that the user can use and operate the file to be downloaded at the second terminal.
In the embodiment of the application, the second terminal can verify the received download instruction, and because the information in the forged download instruction is difficult to match with the information determined by the second terminal from the instant messaging information, the second terminal cannot respond to the forged download instruction, and the file download safety is improved. In addition, the server can only send the resource locator corresponding to the instruction to be downloaded to the second terminal, and does not need to directly send the file to be downloaded, so that the bandwidth load of the server is reduced, network congestion is difficult to form at the server, and the operating efficiency of the server is improved.
Optionally, step 204 may specifically include:
substep 2041, determining the status of the second terminal, the status comprising an online status and an offline status.
This step is referred to as substep 1031, which is not described again in the embodiments of the present application.
Substep 2042, sending the downloading instruction to the second terminal whose state is online.
This step is referred to as substep 1032 above, and is not described in detail in the embodiments of the present application.
The server side sends the downloading instruction to the second terminal, so that the second terminal can verify the legality of the downloading instruction before downloading the file to be downloaded, and independently download the file to be downloaded from the Internet through the resource locator in the downloading instruction after the legality verification is passed, and the malicious file is prevented from being downloaded.
Substep 2043, in case of confirming that there is a second terminal in offline state, storing the download instruction locally at the server.
Because the second terminal in the offline state cannot receive the download instruction temporarily, after the server determines that the client in the offline state exists in the second terminal, the server needs to store the download instruction in the local of the server temporarily, so that the subsequent second terminal sends the download instruction to the server after going online.
Substep 2044, continuously detecting the state of the second terminal, and sending the download instruction to the second terminal that is changed from the offline state to the online state when the second terminal that is changed from the offline state to the online state is detected.
The second terminal in the offline state may be a client that exits the active login state, a client that has failed in login or expired, and a client that has an interrupted network connection with the server.
For the second terminal in the offline state, it is possible to restore the online state again, and in order to store the file to be downloaded synchronously at the first time when the second terminal in the offline state recovers the online state, a download instruction may be sent to the second terminal when the second terminal in the offline state changes from the offline state to the online state, so that the second terminal obtains the file to be downloaded.
Specifically, login verification information may be periodically sent to the second terminal in the offline state, and after the verification is passed, the state of the second terminal is determined to be changed from the offline state to the online state; the client can also be set to actively send login verification information to the server periodically, and the server determines that the state of the server is changed from an offline state to an online state after receiving the login verification information and passing the verification. The method for determining that the state of the second terminal is changed from the offline state to the online state may be flexibly set according to needs, and embodiments of the present application are not specifically limited herein.
In the embodiment of the application, the downloading instruction cannot be sent to the second terminal in the offline state at the first time, and the downloading instruction containing the resource locator cannot be sent to the second terminal with illegal login verification information and network connection failure, so that not only is the file safety of a user protected, but also the network load of a server is reduced, and the downloading instruction is sent to the second terminal in the offline state immediately before when the second terminal in the offline state is changed into the online state, so that the user can obtain the file to be downloaded at the first time after switching to the second terminal and logging in, the user time is saved, and the user experience is improved.
Substep 2045, after sending the download instruction to all the second terminals, deleting the download instruction.
After the download instruction is sent to all the second terminals, the download instruction stored locally at the server is deleted, or after a preset storage time (for example, 7 days) of the download instruction is generated, the download instruction is deleted locally at the server, so as to release the storage space of the server.
Step 205, after it is determined that the first terminal deletes the file to be downloaded, sending a deletion instruction to the second terminal, so that the second terminal deletes the file to be downloaded according to the deletion instruction.
The user usually deletes the file to be downloaded after using the file to be downloaded, and when the user deletes the file to be downloaded at the first terminal, the user usually does not continue to use the file to be downloaded at the second terminal. Therefore, the server can acquire the deletion operation of the user on any client side to the file to be downloaded in all the logged-in client sides, and after the deletion operation of the user on the file to be downloaded in any client side is determined, a deletion instruction is sent to the client sides except the client side which executes the deletion operation by the user in all the logged-in client sides, so that the logged-in client sides of all the users can synchronously delete the file to be downloaded. It should be noted that the client that the user executes the deletion operation on the file to be downloaded is not necessarily the first terminal, and may be any client that stores the file to be downloaded.
In the embodiment of the application, the user can delete the same file in all the logged-in clients synchronously by deleting the file to be downloaded in one client, so that the time for the user to delete the file is saved, and the user experience is improved.
Optionally, the method further includes:
step 206, under the condition that the first terminal and the second terminal are determined to be in the same local area network, sending a transmission instruction to the first terminal, so that the first terminal sends the file to be downloaded to the second terminal through the local area network.
Because the first terminal and the second terminal are generally clients belonging to the same user, the first terminal and the second terminal are probably located in the same local area network, for example, a mobile phone and a notebook computer of the user are generally connected to WIFI at home or a company at the same time.
Therefore, after receiving a download request sent by the first terminal, the server may first determine whether the first terminal already stores the file to be downloaded, and if the first terminal already stores the file to be downloaded, the server may send a direct transmission instruction including the identifier of the second terminal to the first terminal, and the first terminal searches whether the second terminal exists in the local network according to the identifier of the second terminal, and sends the file to be downloaded to the searched second terminal through the local network. The local network may include a WIFI network, a bluetooth network, and the like.
The server side can also acquire a network identification code of a local network connected with the first terminal operation equipment and a network identification code of a local network connected with the second terminal operation equipment; and under the condition that the network identification codes of the first terminal and the second terminal are the same, sending a direct transmission instruction to the first terminal so that the first terminal sends the file to be sent to the second terminal through a local area network.
It should be noted that, after receiving the download request sent by the first terminal, if it is determined that the file to be downloaded is not stored in the first terminal, the server may send the file to be downloaded or the download instruction to the first terminal, and after the file to be downloaded is stored in the first terminal, send the direct transmission instruction to the first terminal through the foregoing manner.
Further, the server side can also obtain first position information of the first terminal and second position information of the second terminal under the condition that the first terminal and the second terminal are not located in the same local network, and can send a networking instruction to the first terminal and the second terminal through the first position information and the second position information and the client distance between the first terminal and the second terminal, so that the first terminal and the second terminal can establish local connection through WIFI or Bluetooth, and after the first terminal and the second terminal are determined to establish local connection successfully, a direct transmission instruction is sent to the first terminal, so that the first terminal can send the file to be downloaded to the second terminal through the established local network.
In the embodiment of the application, when the file to be downloaded is stored in the first terminal and the second terminal are in the same local network, the file to be downloaded can be transmitted to the second terminal by the first terminal through the local network by sending a direct transmission instruction to the first terminal, and the local network can be established between the first terminal and the second terminal under the condition that the distance between the first terminal and the second terminal is close, so that the file to be downloaded can be transmitted to the second terminal by the first terminal through the established local network. Therefore, the network flow of the user is saved, and the speed of the second terminal for acquiring the file to be downloaded is increased.
To sum up, according to the file transmission method provided by the embodiment of the present application, the file transmission method can receive a download request sent by a first terminal, determine, in response to the download request, a second terminal where a target user corresponding to a target user identifier logs in, and send a to-be-downloaded file corresponding to the file identifier to the second terminal, so that a user can download the to-be-downloaded file to the second terminal where the user has logged in only by operating the first terminal, so that the user can immediately operate the to-be-downloaded file when switching to use the second terminal, thereby saving user time and improving user experience.
On the basis of the foregoing embodiments, an embodiment of the present application further provides a file transfer system, and fig. 4 is a diagram illustrating an architecture of the file transfer system according to the embodiment of the present application.
As shown in fig. 4, taking the online second terminal 31 as an online client and the offline second terminal 32 as an offline client as an example, the file transfer system will be described: the server 10 obtains a download request sent to the server 10 by the first terminal 20 after receiving a download operation of a file to be downloaded by a user, the server 10 determines an online second terminal 31 and an offline second terminal 32 according to the received download request, generates a download instruction according to the download request, and stores the generated download instruction in the database 11 when all the second terminals have offline second terminals 32 in an offline state; the server 10 directly sends a download instruction to the online second terminal 31 in an online state, so that the online second terminal 31 downloads the corresponding file to be downloaded from the content distribution network 40 according to the resource locator contained in the download instruction; when determining that the offline second terminal 32 is changed from the offline state to the online state, the server 10 obtains a download instruction from the database 11, and sends the download instruction to the offline second terminal changed to the online state, so that the offline second terminal changed to the online state downloads the corresponding file to be downloaded from the content distribution network 40 according to the resource locator included in the download instruction.
To sum up, the file transmission system provided in the embodiment of the present application may receive a download request sent by a first terminal, where the download request includes a target user identifier corresponding to a target user who logs in the first terminal and a file identifier corresponding to a file to be downloaded; responding to the downloading request, and determining a second terminal which is logged in by the target user and corresponds to the target user identification; the downloading instruction corresponding to the file identification is sent to the second terminal, so that the second terminal can obtain the file to be downloaded according to the downloading instruction, the user can download the file to be downloaded to the second terminal which the user logs in only by operating the first terminal, the user can immediately operate the file to be downloaded when the user switches to use the second terminal, the time of the user is saved, and the user experience is improved.
Fig. 5 is a block diagram of a file transfer device according to an embodiment of the present application, and as shown in fig. 5, the file transfer device includes:
a receiving module 401, configured to receive a download request sent by a first terminal, where the download request includes a target user identifier corresponding to a target user who logs in the first terminal and a file identifier corresponding to a file to be downloaded;
a determining module 402, configured to determine, in response to the download request, a second terminal to which the target user logs in, and which corresponds to the target user identifier;
a sending module 403, configured to send a download instruction corresponding to the file identifier to the second terminal, so that the second terminal obtains the file to be downloaded according to the download instruction.
In an optional implementation, the sending module further includes:
the analysis submodule is configured to analyze the downloading request and determine a conversation user identifier, a message identifier and a resource locator corresponding to the file to be downloaded; the conversation user identifier is used for representing an identifier corresponding to a user who sends the file to be downloaded to the first terminal, and the message identifier is used for representing an identifier of an instant messaging message containing the file to be downloaded;
the generating submodule is configured to generate a downloading instruction according to the target user identifier, the conversation user identifier, the message identifier and the resource locator corresponding to the file to be downloaded;
and the first sending submodule is configured to send a downloading instruction corresponding to the file identifier to the second terminal, so that the second terminal obtains the file to be downloaded from a content distribution network corresponding to a server according to the resource locator after verifying the downloading instruction through the target user identifier, the conversation user identifier and the message identifier.
In an optional implementation, the sending module further includes:
a determining submodule configured to determine a state of the second terminal, the state including an online state and an offline state;
and the second sending submodule is configured to send a downloading instruction corresponding to the file identifier to a second terminal in an online state.
In an optional implementation, the sending module further includes:
the storage submodule is configured to store the downloading instruction in a local server under the condition that the existence of the second terminal in an offline state is confirmed;
a third sending submodule configured to continuously detect a state of the second terminal, and send the download instruction to the second terminal that is changed from the offline state to the online state when the second terminal that is changed from the offline state to the online state is detected;
and the deleting submodule is configured to delete the downloading instruction after the downloading instruction is sent to all the second terminals.
In an alternative embodiment, the apparatus further comprises:
and the deleting module is configured to send a deleting instruction to the second terminal after the first terminal is determined to delete the file to be downloaded, so that the second terminal can delete the file to be downloaded according to the deleting instruction.
In an alternative embodiment, the apparatus further comprises:
the direct transfer module is configured to send a transmission instruction to the first terminal under the condition that the first terminal and the second terminal are determined to be in the same local area network, so that the first terminal sends the file to be downloaded to the second terminal through the local area network.
In an optional implementation, the receiving module further includes:
the receiving submodule is configured to receive a downloading request sent by the first terminal after responding to a click operation of a synchronous downloading option in an option menu, wherein the option menu is triggered by a long-time click operation of a file identifier of the file to be downloaded.
To sum up, the file transmission device provided by the embodiment of the present application includes: the receiving module is configured to receive a downloading request sent by a first terminal, wherein the downloading request comprises a target user identifier corresponding to a target user who logs in the first terminal and a file identifier corresponding to a file to be downloaded; the determining module is configured to respond to the downloading request and determine a second terminal which is logged in by a target user corresponding to the target user identification; and the sending module is configured to send a downloading instruction corresponding to the file identifier to the second terminal so that the second terminal can obtain the file to be downloaded according to the downloading instruction. The method comprises the steps that a downloading request sent by a first terminal can be received, wherein the downloading request comprises a target user identifier corresponding to a target user who logs in the first terminal and a file identifier corresponding to a file to be downloaded; responding to the downloading request, and determining a second terminal which is logged in by the target user and corresponds to the target user identification; the downloading instruction corresponding to the file identification is sent to the second terminal, so that the second terminal can obtain the file to be downloaded according to the downloading instruction, the user can download the file to be downloaded to the second terminal which the user logs in only by operating the first terminal, the user can immediately operate the file to be downloaded when the user switches to use the second terminal, the time of the user is saved, and the user experience is improved.
Fig. 6 is a block diagram illustrating an electronic device 600 according to an example embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, electronic device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an interface to input/output (I/O) 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the electronic device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is used to store various types of data to support operations at the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 606 provides power to the various components of electronic device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 600.
The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense demarcations of a touch or slide action, but also detect a duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 600 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is used to output and/or input audio signals. For example, the audio component 610 may include a Microphone (MIC) for receiving external audio signals when the electronic device 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the electronic device 600. For example, the sensor component 614 may detect an open/closed state of the electronic device 600, the relative positioning of components, such as a display and keypad of the electronic device 600, the sensor component 614 may also detect a change in the position of the electronic device 600 or a component of the electronic device 600, the presence or absence of user contact with the electronic device 600, orientation or acceleration/deceleration of the electronic device 600, and a change in the temperature of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is operable to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for implementing a file transfer method provided by an embodiment of the present application.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the electronic device 600 to perform the above-described method is also provided. For example, the non-transitory storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 7 is a block diagram illustrating an electronic device 700 in accordance with an example embodiment. For example, the electronic device 700 may be provided as a server. Referring to fig. 7, electronic device 700 includes a processing component 722 that further includes one or more processors, and memory resources, represented by memory 732, for storing instructions, such as applications, that are executable by processing component 722. The application programs stored in memory 732 may include one or more modules that each correspond to a set of instructions. In addition, the processing component 722 is configured to execute the instructions to execute a file transfer method provided by the embodiments of the present application.
The electronic device 700 may also include a power component 726 that is configured to perform power management of the electronic device 700, a wired or wireless network interface 750 that is configured to connect the electronic device 700 to a network, and an input output (I/O) interface 758. The electronic device 700 may operate based on an operating system stored in memory 732, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
An embodiment of the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the file transmission method is implemented.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice in the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A file transmission method is applied to a server side, and is characterized by comprising the following steps:
receiving a downloading request sent by a first terminal, wherein the downloading request comprises a target user identifier corresponding to a target user who logs in the first terminal and a file identifier corresponding to a file to be downloaded;
responding to the downloading request, and determining a second terminal which is corresponding to the target user identification and is logged in by the target user;
and sending a downloading instruction corresponding to the file identifier to the second terminal so that the second terminal acquires the file to be downloaded according to the downloading instruction.
2. The method according to claim 1, wherein the file to be downloaded is a file included in an instant messaging message sent to the first terminal from a terminal logged in by another user, and the sending of the download instruction corresponding to the file identifier to the second terminal includes:
analyzing the downloading request, and determining a conversation user identifier, a message identifier and a resource locator corresponding to the file to be downloaded; the conversation user identifier is used for representing an identifier corresponding to a user who sends the file to be downloaded to the first terminal, and the message identifier is used for representing an identifier of an instant messaging message containing the file to be downloaded;
generating a downloading instruction according to the target user identification, the conversation user identification, the message identification and the resource locator corresponding to the file to be downloaded;
and sending a downloading instruction corresponding to the file identifier to the second terminal, so that the second terminal obtains the file to be downloaded from a content distribution network corresponding to the server according to the resource locator after verifying the downloading instruction through the target user identifier, the conversation user identifier and the message identifier.
3. The method according to claim 1 or 2, wherein the sending of the download instruction corresponding to the file identifier to the second terminal includes:
determining the state of the second terminal, wherein the state comprises an online state and an offline state;
and sending a downloading instruction corresponding to the file identifier to a second terminal in an online state.
4. The method according to claim 3, wherein the sending a download instruction corresponding to the file identifier to the second terminal further comprises:
under the condition that the second terminal in an off-line state is confirmed to exist, the downloading instruction is stored in the local server side;
continuously detecting the state of the second terminal, and sending the downloading instruction to the second terminal which is changed from the offline state to the online state under the condition that the second terminal which is changed from the offline state to the online state is detected;
and deleting the downloading instruction after sending the downloading instruction to all the second terminals.
5. The method of claim 1, further comprising:
and after the first terminal is determined to delete the file to be downloaded, sending a deletion instruction to the second terminal so that the second terminal can delete the file to be downloaded according to the deletion instruction.
6. The method of claim 1, further comprising:
and under the condition that the first terminal and the second terminal are in the same local area network, sending a transmission instruction to the first terminal so that the first terminal sends the file to be downloaded to the second terminal through the local area network.
7. A file transfer apparatus, characterized in that the apparatus comprises:
the system comprises a receiving module, a downloading module and a downloading module, wherein the receiving module is configured to receive a downloading request sent by a first terminal, and the downloading request comprises a target user identifier corresponding to a target user who logs in the first terminal and a file identifier corresponding to a file to be downloaded;
the determining module is configured to respond to the downloading request, and determine a second terminal, corresponding to the target user identification, where the target user logs in;
and the sending module is configured to send a downloading instruction corresponding to the file identifier to the second terminal, so that the second terminal obtains the file to be downloaded according to the downloading instruction.
8. An electronic device, comprising: a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of any one of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of any of claims 1-6.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the method of any of claims 1 to 6 when executed by a processor.
CN202111237398.7A 2021-10-22 2021-10-22 File transmission method and device and electronic equipment Active CN114024953B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111237398.7A CN114024953B (en) 2021-10-22 2021-10-22 File transmission method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111237398.7A CN114024953B (en) 2021-10-22 2021-10-22 File transmission method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN114024953A true CN114024953A (en) 2022-02-08
CN114024953B CN114024953B (en) 2024-02-23

Family

ID=80057379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111237398.7A Active CN114024953B (en) 2021-10-22 2021-10-22 File transmission method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114024953B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378435A (en) * 2014-11-20 2015-02-25 北京安奇智联科技有限公司 Method for transmitting file between browser of computing device and mobile terminal
CN104967646A (en) * 2014-10-27 2015-10-07 腾讯科技(深圳)有限公司 File downloading method and apparatus
CN111294396A (en) * 2020-01-20 2020-06-16 咪咕数字传媒有限公司 File transmission method and device, electronic equipment and storage medium
CN112087362A (en) * 2019-06-13 2020-12-15 腾讯科技(深圳)有限公司 Message forwarding method and device between clients and terminal
CN112231603A (en) * 2020-11-02 2021-01-15 深圳市欢太科技有限公司 File downloading method, server, client and storage medium
CN112243038A (en) * 2020-11-02 2021-01-19 深圳市欢太科技有限公司 Downloading method, terminal and computer storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967646A (en) * 2014-10-27 2015-10-07 腾讯科技(深圳)有限公司 File downloading method and apparatus
CN104378435A (en) * 2014-11-20 2015-02-25 北京安奇智联科技有限公司 Method for transmitting file between browser of computing device and mobile terminal
CN112087362A (en) * 2019-06-13 2020-12-15 腾讯科技(深圳)有限公司 Message forwarding method and device between clients and terminal
CN111294396A (en) * 2020-01-20 2020-06-16 咪咕数字传媒有限公司 File transmission method and device, electronic equipment and storage medium
CN112231603A (en) * 2020-11-02 2021-01-15 深圳市欢太科技有限公司 File downloading method, server, client and storage medium
CN112243038A (en) * 2020-11-02 2021-01-19 深圳市欢太科技有限公司 Downloading method, terminal and computer storage medium

Also Published As

Publication number Publication date
CN114024953B (en) 2024-02-23

Similar Documents

Publication Publication Date Title
CN106603667B (en) Screen information sharing method and device
KR102377724B1 (en) Device network configuration method and apparatus, and medium
CN109219036B (en) Method and device for unbinding equipment and electronic equipment
CN107094094B (en) Application networking method and device and terminal
CN108156271B (en) Communication method and device and electronic equipment
CN112583896B (en) Session management method, session management device, electronic equipment, session management server and storage medium
CN109814942B (en) Parameter processing method and device
CN109525652B (en) Information sharing method, device, equipment and storage medium
WO2014086222A1 (en) Method and apparatus for setting video call parameters and sending capability parameters
CN109302341B (en) Instant messaging method, instant messaging device, electronic equipment and storage medium
CN111338971B (en) Application testing method and device, electronic equipment and storage medium
CN110619097A (en) Two-dimensional code generation method and device, electronic equipment and storage medium
CN107423146B (en) Method, device and system for controlling mutual calling of application programs
CN113204759A (en) Identity authentication method and device, electronic equipment and storage medium
CN110489244B (en) Information processing method, system, apparatus and computer readable storage medium
CN107846381B (en) Network security processing method and equipment
CN109246094B (en) User terminal verification method, device and storage medium
CN109218375B (en) Application interaction method and device
CN110865823B (en) Pre-installation application control method, pre-installation application control device and storage medium
CN111782997A (en) Method and device for loading webpage and storage medium
CN114024953B (en) File transmission method and device and electronic equipment
CN107172199B (en) State updating method and device of mobile terminal
CN112866222B (en) Data processing method and device and data processing device
CN109766501B (en) Crawler protocol management method and device and crawler system
CN107070816A (en) Recognition methods, device and the mobile terminal of application

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant