WO2019140963A1 - 数据传输 - Google Patents
数据传输 Download PDFInfo
- Publication number
- WO2019140963A1 WO2019140963A1 PCT/CN2018/111093 CN2018111093W WO2019140963A1 WO 2019140963 A1 WO2019140963 A1 WO 2019140963A1 CN 2018111093 W CN2018111093 W CN 2018111093W WO 2019140963 A1 WO2019140963 A1 WO 2019140963A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- video file
- target file
- video
- size
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/06—Message adaptation to terminal or network requirements
- H04L51/066—Format adaptation, e.g. format conversion or compression
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/10—Multimedia information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/214—Monitoring or handling of messages using selective forwarding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
- H04L65/401—Support for services or applications wherein the services involve a main real-time session and one or more additional parallel real-time or time sensitive sessions, e.g. white board sharing or spawning of a subconference
- H04L65/4015—Support for services or applications wherein the services involve a main real-time session and one or more additional parallel real-time or time sensitive sessions, e.g. white board sharing or spawning of a subconference where at least one of the additional parallel sessions is real time or time sensitive, e.g. white board sharing, collaboration or spawning of a subconference
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/70—Media network packetisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1074—Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
- H04L67/1078—Resource delivery mechanisms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/18—Commands or executable codes
Definitions
- the present disclosure relates to the field of communications technologies, and in particular, to a data transmission method, apparatus, medium, and electronic device.
- the purpose of the embodiments of the present disclosure is to provide a data transmission method, apparatus, medium, and electronic device, which at least to some extent overcome the existing inability to transmit large files for the instant messaging transmission scheme, and the user experience is low.
- the problem is to provide a data transmission method, apparatus, medium, and electronic device, which at least to some extent overcome the existing inability to transmit large files for the instant messaging transmission scheme, and the user experience is low.
- a data transmission method which is applied to an instant messaging client, the data transmission method includes: acquiring a target file; and if the size of the target file does not exceed a predetermined threshold, Transmitting the target file in a transmission form; if the size of the target file exceeds the predetermined threshold, transmitting the target file by using a second transmission form.
- the target file includes a video file
- the transmitting the target file by using the first transmission form includes: performing format conversion processing on the video file, to obtain the instant
- the communication software can directly play the multimedia file of the specified format; and transmit the multimedia file of the specified format.
- the method before the transmitting the target file by using the first transmission format, the method further includes: determining whether the video file is capable of performing format conversion processing; And performing the format conversion process, the target file is transmitted by the first transmission form; if it is determined that the video file cannot perform the format conversion process, the target file is transmitted by the second transmission form.
- the method before the transmitting the multimedia file of the specified format, the method further includes: performing compression processing on the multimedia file of the specified format.
- the data transmission method further includes: generating a preview image corresponding to the multimedia file of the specified format, according to the foregoing solution; after the multimedia file transmission of the specified format is completed, displaying the Preview the map and display the play logo on the preview.
- the target file includes a video file
- the transmitting the target file by using the second transmission form includes: directly transmitting the video file by transmitting a file.
- the data transmission method further includes: displaying the file identifier and the information of the video file after the video file transmission is completed.
- the target file includes a video file
- determining whether the size of the target file exceeds the predetermined threshold comprises: determining whether a play duration of the video file exceeds a predetermined duration, And/or determining whether the data amount of the video file exceeds a predetermined data amount; if the playing time of the video file exceeds the predetermined length of time, and/or if the data amount of the video file exceeds the predetermined data amount, then Determining that the size of the target file exceeds the predetermined threshold; if the playing duration of the video file does not exceed the predetermined duration, and/or if the data amount of the video file does not exceed the predetermined amount of data, determining The size of the target file does not exceed the predetermined threshold.
- a data transmission apparatus which is applied to a client installed with instant messaging software, the data transmission apparatus comprising: an obtaining unit, configured to acquire a target file; and a first transmission unit, And transmitting, by the first transmission form, the target file when the size of the target file does not exceed a predetermined threshold; and the second transmission unit is configured to pass the second transmission when the size of the target file exceeds the predetermined threshold
- the target file is transmitted in the form.
- a computer readable medium having stored thereon a computer program, the program being executed by a processor to implement the data transmission method as described in the first aspect of the above embodiments.
- an electronic device comprising: one or more processors; storage means for storing one or more programs when the one or more programs are When executed by the plurality of processors, the one or more processors are caused to implement the data transmission method as described in the first aspect of the above embodiments.
- the target file in the instant messaging, by acquiring the target file, and when the size of the target file does not exceed a predetermined threshold, the target file is transmitted through the first transmission form, and in the target file.
- the target file is transmitted through the second transmission format, so that the file of any size can be transmitted in the instant messaging client, which solves the problem that the instant file cannot be transmitted due to the large file.
- the technical solution of the embodiment of the present disclosure can select different transmission formats based on the size of the target file. Therefore, for a larger file, a transmission format with a shorter processing time before transmission can be selected, thereby reducing the processing load of the terminal and improving The performance of instant messaging software, and can also improve the user experience.
- the target file is a video file and the target file is transmitted by using the first transmission form
- by performing format conversion processing on the video file it can be obtained in the instant messaging software.
- the multimedia file of the specified format is directly played, so that when the video file is small, the format conversion processing of the video file can be performed, thereby ensuring that the transmitted multimedia file can be directly played in the instant messaging software, so that the processing efficiency can be ensured under the premise of ensuring processing efficiency.
- the video file in a case where the target file is a video file and the target file is transmitted through the second transmission form, the video file is directly transmitted in the form of a transmission file, so that the video file is in the video file.
- the video file can be directly sent without processing the video file, thereby reducing the waiting time of the user, reducing the processing load of the terminal, improving the performance of the software, and transmitting the video file of any size.
- FIG. 1 schematically shows a flow chart of a data transmission method according to an embodiment of the present disclosure
- FIG. 2 schematically shows a flowchart of a data transmission method according to another embodiment of the present disclosure
- FIG. 3 shows a schematic diagram of a display interface of a video file after transmission, in accordance with one embodiment of the present disclosure
- FIG. 4 illustrates a schematic diagram of a display interface when a video file is selected, in accordance with one embodiment of the present disclosure
- FIG. 5 illustrates a schematic diagram of a display interface of a video file after transmission according to another embodiment of the present disclosure
- FIG. 6 schematically shows a block diagram of a data transmission device according to an embodiment of the present disclosure
- FIG. 7 shows a block diagram of a computer system suitable for use in implementing an electronic device of an embodiment of the present disclosure.
- FIG. 1 schematically shows a flow chart of a data transmission method applied to instant messaging, such as to a client performing instant messaging, in accordance with an embodiment of the present disclosure.
- a data transmission method includes the following steps:
- Step S110 acquiring an object file.
- an object file that needs to be transmitted using instant messaging software can be obtained.
- the instant messaging software is, for example, software for realizing online chat, communication, and the like through instant messaging technology.
- the target files transmitted by the instant messaging software may be video files, audio files, pictures, documents, and the like.
- Step S120 if the size of the target file does not exceed a predetermined threshold, transmitting the target file by using the first transmission form;
- Step S130 If the size of the target file exceeds the predetermined threshold, the target file is transmitted by using the second transmission form.
- the first transmission form is for transmitting a smaller target file
- the second transmission form is for transmitting a larger target file.
- the cooperation between the first transmission form and the second transmission form enables the transmission of files of any size when the client performs instant communication, thereby solving the problem that the file cannot be transmitted due to the large file size.
- the technical solution of the embodiment of the present disclosure can select different transmission formats based on the size of the target file, the transmission format that is processed before the transmission can be selected for the larger file, thereby reducing the processing load of the terminal and improving the instant messaging.
- the performance of the software and can also improve the user experience.
- whether the size of the video file exceeds a predetermined threshold may be determined by the following three embodiments:
- Embodiment 1 for judging whether the size of the video file exceeds a predetermined threshold:
- whether the size of the video file exceeds a predetermined threshold may be determined according to the playing duration of the video file. For example, determining whether the playing duration of the video file exceeds a predetermined duration; if the playing duration of the video file exceeds the predetermined duration, determining that the size of the video file exceeds the predetermined threshold; if the playing duration of the video file does not exceed the predetermined duration The duration determines that the size of the video file does not exceed the predetermined threshold.
- Embodiment 2 for judging whether the size of the video file exceeds a predetermined threshold:
- whether the size of the video file exceeds a predetermined threshold may be determined according to the amount of data of the video file. For example, determining whether the data amount of the video file exceeds a predetermined data amount; if the data amount of the video file exceeds the predetermined data amount, determining that the size of the video file exceeds the predetermined threshold; if the data amount of the video file does not exceed the predetermined amount The amount of data determines that the size of the video file does not exceed the predetermined threshold.
- Embodiment 3 for judging whether the size of the video file exceeds a predetermined threshold:
- whether the size of the video file exceeds a predetermined threshold may be determined according to the data amount of the video file and the playing duration. For example, determining whether the play duration of the video file exceeds a predetermined duration, and determining whether the data amount of the video file exceeds a predetermined data amount; if the play duration of the video file exceeds the predetermined duration, and the data amount of the video file exceeds the predetermined data amount Determining that the size of the video file exceeds the predetermined threshold; if the playing duration of the video file does not exceed the predetermined duration, or the data amount of the video file does not exceed the predetermined amount of data, determining that the size of the video file does not exceed the The threshold is predetermined.
- the above embodiments 1 to 3 are only illustrative, and the method of determining whether the size of the video file exceeds a predetermined threshold is not limited to the above three methods.
- transmitting the video file by using the first transmission form includes: performing format conversion processing on the video file to obtain a multimedia file of a specified format that can be directly played in the instant messaging software; and transmitting the multimedia file A multimedia file of the specified format.
- a multimedia file of a specified format that can be directly played in the instant messaging software is obtained, so that when the video file is small, the video file can be format converted, thereby ensuring
- the instant messaging software can directly play the transmitted multimedia files, thereby improving the user experience under the premise of ensuring processing efficiency.
- the multimedia file of the specified format may be a video file of a specified format (such as a video file of the MP4 format), or may be a dynamic picture. It should be noted that if the video file to be transmitted is itself in the specified format, the format conversion processing may not be performed.
- the data transmission method before the transmitting the multimedia file of the specified format, further includes: performing compression processing on the multimedia file of the specified format.
- the data transmission method when the video file is transmitted by the first transmission form, the data transmission method further includes: generating a preview image corresponding to the multimedia file of the specified format; after the multimedia file transmission of the specified format is completed Displaying the preview image in an interface of the instant messaging software, and displaying a play identifier on the preview image.
- the preview image is displayed in the interface of the instant messaging software, and the play identifier is displayed on the preview image, so that the user can intuitively display the preview image and the play logo according to the display. It is understood that the multimedia file can be played directly for further operation by the user.
- the size of the video file does not exceed the predetermined threshold, it may be determined whether the video file to be transmitted can be formatted, and if the format conversion process can be performed, The video file is transmitted in a transmission form; if the format conversion processing cannot be performed, the video file can be transmitted through the second transmission form.
- the technical solution of this embodiment can implement transmission of video files of any format.
- transmitting the video file by the second transmission form includes directly transmitting the video file in the form of a transmission file.
- the video file in the form of a transmission file
- the video file can be directly sent without processing the video file, thereby reducing the waiting time of the user and reducing the time.
- the processing load of the terminal, the performance of the software are improved, and the video file of any size can also be transmitted.
- the data transmission method when the video file is transmitted by the second transmission form, the data transmission method further includes: displaying information of the video file after the video file transmission is completed.
- This information may include a file identification for identifying the video file, a file size, and the like.
- information such as file identification and video file size can be displayed in the interface of the instant messaging software.
- the user can intuitively understand the video file according to the information of the displayed video file, so as to further the user. operating.
- the data transmission solution of the embodiment of the present disclosure may be applied to an instant messaging APP (Application) on a mobile phone.
- the specific implementation process is as shown in FIG. 2, and includes the following steps:
- Step S210 Receive a video to be sent selected by the user.
- step S220 it is determined whether the video duration is greater than 5 min (the specific value is merely an example here), and if so, step S250 is performed; otherwise, step S230 is performed.
- step S250 or perform step S230 it may also be determined whether to perform step S250 or perform step S230 by determining whether the data amount of the video is greater than a predetermined amount of data. Specifically, when the data amount of the video is greater than the predetermined data amount (for example, 10 MB), step S250 is performed; otherwise, step S230 is performed.
- a predetermined amount of data for example, 10 MB
- step S230 it is determined whether the video format supports conversion, and if so, step S240 is performed; otherwise, step S250 is performed.
- step S250 is performed to ensure that all formats of video can be transmitted.
- step S240 the video is processed and transmitted.
- processing the video includes converting the video format and compressing the converted video.
- step S250 the processing is directly performed in the form of a file without processing.
- processing methods for sending video in the embodiments of the present disclosure are mainly as follows:
- the video is formatted and compressed, and the video is transmitted. As shown in 302 in FIG. 3, after the video is transmitted in this manner, the video is displayed in the form of [Preview] + [Play Button] in the interface of the instant messaging software.
- a pop-up prompt informs the user that the file will be sent as a file.
- the prompt box 402 in FIG. 4 when the user selects “Continue” in the prompt box, the video is not processed, and the video is directly sent as a file.
- the video is displayed in the interface of the instant messaging software in the form of [file icon] + [file name] + [file size].
- the same prompt can be displayed to inform the user that the file will be sent as a file. If the user does not process the video after confirming the transmission, the video is directly sent as a file. As shown in 502 of FIG. 5, after the video is transmitted in this manner, the video is displayed in the interface of the instant messaging software in the form of [file icon] + [file name] + [file size].
- the image When the image needs to be sent by instant messaging software, if the image has a large amount of data and/or a high resolution, it can be sent in the form of a file.
- the file icon After the transmission, the file icon can be used in the interface of the instant messaging software.
- the file name] + [file size] is displayed in the form of a file; if the image has a small amount of data and/or a low resolution, the image can be format converted (converted to a format that can be directly displayed in the instant messaging software) And compressing (in other embodiments of the present disclosure, compression processing may also not be performed), and then transmitting, after the transmission, the image may be displayed in the form of a preview image in the interface of the instant messaging software.
- the instant messaging software When it is necessary to use the instant messaging software to send audio, if the amount of audio data is large and/or the playing time is long, it can be directly sent through the file format. After sending, you can use the [file icon] in the interface of the instant messaging software. [File name] + [file size] display the audio; if the audio data volume is small and / or the playback time is short, the audio can be format converted (converted to the format that the instant messaging software can play directly) And compressing (in other embodiments of the present disclosure, the compression processing may not be performed), and then transmitting, after the transmission, the identifier that can be directly played can be displayed in the interface of the instant messaging software.
- the document When a document needs to be sent by instant messaging software, if the data volume of the document is large, the document can be compressed and then sent; if the data volume of the document is small, it can be directly sent.
- the device embodiments of the present disclosure are described below and can be used to perform the above described data transmission methods of the present disclosure.
- FIG. 6 schematically illustrates a block diagram of a data transmission device applied to a client installed with instant messaging software, in accordance with an embodiment of the present disclosure.
- a data transmission device 600 includes an acquisition unit 602, a first transmission unit 604, and a second transmission unit 606.
- the obtaining unit 602 is configured to acquire the target file.
- the first transmitting unit 604 is configured to: when the size of the target file does not exceed a predetermined threshold, transmit the target file by using a first transmission form; When the size of the target file exceeds the predetermined threshold, the target file is transmitted by the second transmission form.
- the target file includes a video file
- the first transmission unit 604 is configured to: perform format conversion processing on the video file, to obtain that the instant messaging software can directly play a multimedia file of a specified format; a multimedia file of the specified format is transmitted.
- the data transmission apparatus 600 further includes: a first determining unit, configured to determine, when the size of the target file does not exceed the predetermined threshold, whether the video file is based on the foregoing solution
- the first transmission unit 604 is configured to: when the first determining unit determines that the video file is capable of performing format conversion processing, transmitting the target file by using the first transmission format
- the second transmission unit 606 is configured to transmit the target file by using the second transmission form when the first determining unit determines that the video file cannot perform format conversion processing.
- the first transmission unit 604 is further configured to perform compression processing on the multimedia file of the specified format before transmitting the multimedia file in the specified format.
- the data transmission apparatus 600 further includes: a generating unit, configured to generate a preview image corresponding to the multimedia file in the specified format; and a first display unit, configured to After the transfer of the multimedia file in the specified format is completed, the preview image is displayed, and the play logo is displayed on the preview image.
- the object file includes a video file
- the second transmission unit 606 is configured to directly transfer the video file in the form of a transmission file.
- the data transmission device 600 further includes: a second display unit, configured to display the video file after the second transmission unit 606 completes the transmission Video file information.
- the target file includes a video file
- the data transmission device 600 further includes: a second determining unit, configured to determine whether a playing duration of the video file exceeds a predetermined duration, And/or determining whether the data amount of the video file exceeds a predetermined data amount; if the playing time of the video file exceeds the predetermined length of time, and/or if the data amount of the video file exceeds the predetermined data amount, then Determining that the size of the target file exceeds the predetermined threshold; if the playing duration of the video file does not exceed the predetermined duration, and/or if the data amount of the video file does not exceed the predetermined amount of data, determining The size of the target file does not exceed the predetermined threshold.
- FIG. 7 a block diagram of a computer system 700 suitable for use in implementing an electronic device of an embodiment of the present disclosure is shown.
- the computer system 700 of the electronic device illustrated in FIG. 7 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
- computer system 700 includes a central processing unit (CPU) 701 that can be loaded into a program in random access memory (RAM) 703 according to a program stored in read only memory (ROM) 702 or from storage portion 708. And perform various appropriate actions and processes.
- RAM random access memory
- ROM read only memory
- RAM 703 various programs and data required for system operation are also stored.
- the CPU 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704.
- An input/output (I/O) interface 705 is also coupled to bus 704.
- the following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, etc.; an output portion 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), and the like, and a speaker; a storage portion 708 including a hard disk or the like And a communication portion 709 including a network interface card such as a LAN card, a modem, or the like.
- the communication section 709 performs communication processing via a network such as the Internet.
- Driver 710 is also connected to I/O interface 705 as needed.
- a removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory or the like, is mounted on the drive 710 as needed so that a computer program read therefrom is installed into the storage portion 708 as needed.
- an embodiment of the present disclosure includes a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for executing the method illustrated in the flowchart.
- the computer program can be downloaded and installed from the network via communication portion 709, and/or installed from removable media 711.
- the central processing unit (CPU) 701 the above-described functions defined in the system of the present application are executed.
- the computer readable medium shown in the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two.
- the computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
- a computer readable storage medium may be any tangible medium that can contain or store a program, which can be used by or in connection with an instruction execution system, apparatus, or device.
- a computer readable signal medium may include a data signal that is propagated in the baseband or as part of a carrier, carrying computer readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- the computer readable signal medium can also be any computer readable medium other than a computer readable storage medium, which can transmit, propagate, or transport a program for use by or in connection with the instruction execution system, apparatus, or device.
- Program code embodied on a computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
- each block of the flowchart or block diagrams can represent a module, a program segment, or a portion of code that includes one or more Executable instructions.
- the functions noted in the blocks may also occur in a different order than that illustrated in the drawings. For example, two successively represented blocks may in fact be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
- each block of the block diagrams or flowcharts, and combinations of blocks in the block diagrams or flowcharts can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be used A combination of dedicated hardware and computer instructions is implemented.
- the units described in the embodiments of the present disclosure may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in the processor.
- the names of these units do not in any way constitute a limitation on the unit itself.
- the present application further provides a computer readable medium, which may be included in an electronic device described in the above embodiments, or may be separately present without being assembled into the electronic device.
- the computer readable medium carries one or more programs that, when executed by one of the electronic devices, cause the electronic device to implement the data transmission method as described in the above embodiments.
- the electronic device may be implemented as shown in FIG. 1 : step S110, acquiring an object file; and step S120, if the size of the target file does not exceed a predetermined threshold, transmitting the target file by using the first transmission form Step S130: If the size of the target file exceeds the predetermined threshold, the target file is transmitted by using the second transmission form.
- the electronic device can implement the various steps as shown in FIG. 2.
- the technical solution according to an embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network.
- a non-volatile storage medium which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.
- a number of instructions are included to cause a computing device (which may be a personal computer, server, touch terminal, or network device, etc.) to perform a method in accordance with an embodiment of the present disclosure.
Abstract
Description
Claims (11)
- 一种数据传输方法,应用于安装有即时通讯软件的客户端,包括:获取目标文件;若所述目标文件的大小未超过预定阈值,则通过第一传输形式传输所述目标文件;若所述目标文件的大小超过所述预定阈值,则通过第二传输形式传输所述目标文件。
- 根据权利要求1所述的数据传输方法,其特征在于,所述目标文件包括视频文件,通过所述第一传输形式传输所述目标文件,包括:对所述视频文件进行格式转换处理,得到所述即时通讯软件能够直接播放的指定格式的多媒体文件;传输所述指定格式的多媒体文件。
- 根据权利要求2所述的数据传输方法,其特征在于,在通过所述第一传输形式传输所述目标文件之前,还包括:判断所述视频文件是否能够进行格式转换处理;若判定所述视频文件能够进行格式转换处理,则通过所述第一传输形式传输所述目标文件;若判定所述视频文件不能进行格式转换处理,则通过所述第二传输形式传输所述目标文件。
- 根据权利要求2所述的数据传输方法,其特征在于,在传输所述指定格式的多媒体文件之前,还包括:对所述指定格式的多媒体文件进行压缩处理。
- 根据权利要求2所述的数据传输方法,其特征在于,还包括:生成所述指定格式的多媒体文件对应的预览图;在所述指定格式的多媒体文件传输完成之后,显示所述预览图,并在所述预览图上显示播放标识。
- 根据权利要求1所述的数据传输方法,其特征在于,所述目标文件包括视频文件,通过所述第二传输形式传输所述目标文件,包括:通过传输文件的形式直接传输所述视频文件。
- 根据权利要求6所述的数据传输方法,其特征在于,还包括:在所述视频文件传输完成之后,显示文件标识和所述视频文件的信息。
- 根据权利要求1至7中任一项所述的数据传输方法,其特征在于,所述目标文 件包括视频文件,判断所述目标文件的大小是否超过所述预定阈值,包括:判断所述视频文件的播放时长是否超过预定时长,和/或判断所述视频文件的数据量是否超过预定数据量;若所述视频文件的播放时长超过所述预定时长,和/或若所述视频文件的数据量超过所述预定数据量,则确定所述目标文件的大小超过所述预定阈值;若所述视频文件的播放时长未超过所述预定时长,和/或若所述视频文件的数据量未超过所述预定数据量,则确定所述目标文件的大小未超过所述预定阈值。
- 一种数据传输装置,应用于安装有即时通讯软件的客户端,其特征在于,包括:获取单元,用于获取目标文件;第一传输单元,用于在所述目标文件的大小未超过预定阈值时,通过第一传输形式传输所述目标文件;第二传输单元,用于在所述目标文件的大小超过所述预定阈值时,通过第二传输形式传输所述目标文件。
- 一种计算机可读介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现如权利要求1至8中任一项所述的数据传输方法。
- 一种电子设备,其特征在于,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1至8中任一项所述的数据传输方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020207023720A KR102445154B1 (ko) | 2018-01-18 | 2018-10-19 | 데이터 전송 |
AU2018403361A AU2018403361B2 (en) | 2018-01-18 | 2018-10-19 | Data transmission |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810048591.8 | 2018-01-18 | ||
CN201810048591.8A CN108566328B (zh) | 2018-01-18 | 2018-01-18 | 数据传输方法、装置、介质及电子设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019140963A1 true WO2019140963A1 (zh) | 2019-07-25 |
Family
ID=63529850
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/111093 WO2019140963A1 (zh) | 2018-01-18 | 2018-10-19 | 数据传输 |
Country Status (4)
Country | Link |
---|---|
KR (1) | KR102445154B1 (zh) |
CN (1) | CN108566328B (zh) |
AU (1) | AU2018403361B2 (zh) |
WO (1) | WO2019140963A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108566328B (zh) * | 2018-01-18 | 2021-03-02 | 北京三快在线科技有限公司 | 数据传输方法、装置、介质及电子设备 |
CN116233805B (zh) * | 2021-12-06 | 2024-04-05 | 荣耀终端有限公司 | 分享文件的方法和电子设备 |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101599986A (zh) * | 2008-06-02 | 2009-12-09 | 宏碁股份有限公司 | 加速文件传输速度的方法及计算机系统 |
CN102685159A (zh) * | 2011-03-10 | 2012-09-19 | 腾讯科技(深圳)有限公司 | 文件传输方法及装置 |
CN106161633A (zh) * | 2016-07-20 | 2016-11-23 | 柏科数据技术(深圳)股份有限公司 | 一种基于云计算环境下打包文件的传输方法及系统 |
WO2017001941A1 (en) * | 2015-06-30 | 2017-01-05 | Yandex Europe Ag | System and method for duplicating files on client device for cloud storage |
CN106657269A (zh) * | 2016-11-16 | 2017-05-10 | 西安诺瓦电子科技有限公司 | 文件传输方法 |
WO2017128070A1 (zh) * | 2016-01-26 | 2017-08-03 | 陈学良 | 文件传送的方法以及传送系统 |
WO2017128068A1 (zh) * | 2016-01-26 | 2017-08-03 | 陈学良 | 手机传送文件时的技术数据发送方法以及传送系统 |
WO2017128069A1 (zh) * | 2016-01-26 | 2017-08-03 | 陈学良 | 传送文件时的信息推送方法以及传送系统 |
CN108566328A (zh) * | 2018-01-18 | 2018-09-21 | 北京三快在线科技有限公司 | 数据传输方法、装置、介质及电子设备 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7366779B1 (en) * | 2000-06-19 | 2008-04-29 | Aol Llc, A Delaware Limited Liability Company | Direct file transfer between subscribers of a communications system |
CN100407708C (zh) * | 2003-08-27 | 2008-07-30 | 腾讯科技(深圳)有限公司 | 一种即时通讯中音/视频分享的方法和系统 |
CN101547161B (zh) * | 2008-03-28 | 2012-09-26 | 阿里巴巴集团控股有限公司 | 文件夹传输系统、文件夹传输装置及文件夹传输方法 |
US20140359431A1 (en) * | 2011-12-12 | 2014-12-04 | Motorola Solutions, Inc. | Effectively communicating large presence documents within high latency and lossy network environments |
KR101731425B1 (ko) * | 2014-08-13 | 2017-04-28 | 에스프린팅솔루션 주식회사 | 클라우드 시스템 및 클라우드 시스템에서 컨텐츠를 디스플레이하는 방법 |
US20160234494A1 (en) * | 2015-02-10 | 2016-08-11 | Qualcomm Incorporated | Restriction on palette block size in video coding |
KR20170036300A (ko) * | 2015-09-24 | 2017-04-03 | 삼성전자주식회사 | 동영상 제공 방법 및 이를 수행하는 전자 장치 |
-
2018
- 2018-01-18 CN CN201810048591.8A patent/CN108566328B/zh active Active
- 2018-10-19 AU AU2018403361A patent/AU2018403361B2/en active Active
- 2018-10-19 WO PCT/CN2018/111093 patent/WO2019140963A1/zh active Application Filing
- 2018-10-19 KR KR1020207023720A patent/KR102445154B1/ko active IP Right Grant
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101599986A (zh) * | 2008-06-02 | 2009-12-09 | 宏碁股份有限公司 | 加速文件传输速度的方法及计算机系统 |
CN102685159A (zh) * | 2011-03-10 | 2012-09-19 | 腾讯科技(深圳)有限公司 | 文件传输方法及装置 |
WO2017001941A1 (en) * | 2015-06-30 | 2017-01-05 | Yandex Europe Ag | System and method for duplicating files on client device for cloud storage |
WO2017128070A1 (zh) * | 2016-01-26 | 2017-08-03 | 陈学良 | 文件传送的方法以及传送系统 |
WO2017128068A1 (zh) * | 2016-01-26 | 2017-08-03 | 陈学良 | 手机传送文件时的技术数据发送方法以及传送系统 |
WO2017128069A1 (zh) * | 2016-01-26 | 2017-08-03 | 陈学良 | 传送文件时的信息推送方法以及传送系统 |
CN106161633A (zh) * | 2016-07-20 | 2016-11-23 | 柏科数据技术(深圳)股份有限公司 | 一种基于云计算环境下打包文件的传输方法及系统 |
CN106657269A (zh) * | 2016-11-16 | 2017-05-10 | 西安诺瓦电子科技有限公司 | 文件传输方法 |
CN108566328A (zh) * | 2018-01-18 | 2018-09-21 | 北京三快在线科技有限公司 | 数据传输方法、装置、介质及电子设备 |
Also Published As
Publication number | Publication date |
---|---|
CN108566328B (zh) | 2021-03-02 |
CN108566328A (zh) | 2018-09-21 |
KR20200108348A (ko) | 2020-09-17 |
KR102445154B1 (ko) | 2022-09-19 |
AU2018403361B2 (en) | 2021-07-08 |
AU2018403361A1 (en) | 2020-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109168026B (zh) | 即时视频显示方法、装置、终端设备及存储介质 | |
WO2020233142A1 (zh) | 多媒体文件播放方法、装置、电子设备和存储介质 | |
WO2022262459A1 (zh) | 投屏方法、装置、电子设备和存储介质 | |
WO2020151599A1 (zh) | 视频同步发布方法、装置、电子设备及可读存储介质 | |
CN103166941A (zh) | 一种数据分享的方法及装置 | |
WO2020207085A1 (zh) | 信息分享方法、装置、电子设备及存储介质 | |
CN106998485B (zh) | 视频直播方法及装置 | |
CN110365973B (zh) | 视频的检测方法、装置、电子设备及计算机可读存储介质 | |
CN110489440B (zh) | 数据查询方法和装置 | |
WO2020007082A1 (zh) | 视频播放处理方法、终端设备、服务器及存储介质 | |
US20230093621A1 (en) | Search result display method, readable medium, and terminal device | |
US11758087B2 (en) | Multimedia conference data processing method and apparatus, and electronic device | |
WO2023045973A1 (zh) | 直播礼物云渲染方法、装置、电子设备及存储介质 | |
WO2023103861A1 (zh) | 投屏方法、投屏装置、投屏显示装置、投屏系统及介质 | |
CN111818383B (zh) | 视频数据的生成方法、系统、装置、电子设备及存储介质 | |
WO2019140963A1 (zh) | 数据传输 | |
WO2021143317A1 (zh) | 邀请链接信息处理方法、装置、电子设备及可读介质 | |
JP2021530905A (ja) | ビデオ処理方法、装置、端末及び記憶媒体 | |
WO2020233171A1 (zh) | 歌单切换方法、装置、系统、终端和存储介质 | |
CN112612919A (zh) | 一种视频资源的关联方法、装置、设备及介质 | |
WO2022218028A1 (zh) | 页面加载方法、装置、设备及存储介质 | |
CN113766266B (zh) | 音视频处理方法、装置、设备以及存储介质 | |
CN111246313A (zh) | 一种视频关联方法、装置,服务器、终端设备及存储介质 | |
CN113194277B (zh) | 会议终端多屏幕视频的方法、装置及存储介质 | |
CN115022693A (zh) | 一种视频投屏方法、装置、设备及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18901769 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 20207023720 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2018403361 Country of ref document: AU Date of ref document: 20181019 Kind code of ref document: A |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18901769 Country of ref document: EP Kind code of ref document: A1 |