KR102445154B1 - data transfer - Google Patents

data transfer Download PDF

Info

Publication number
KR102445154B1
KR102445154B1 KR1020207023720A KR20207023720A KR102445154B1 KR 102445154 B1 KR102445154 B1 KR 102445154B1 KR 1020207023720 A KR1020207023720 A KR 1020207023720A KR 20207023720 A KR20207023720 A KR 20207023720A KR 102445154 B1 KR102445154 B1 KR 102445154B1
Authority
KR
South Korea
Prior art keywords
file
video file
target file
transmitting
video
Prior art date
Application number
KR1020207023720A
Other languages
Korean (ko)
Other versions
KR20200108348A (en
Inventor
리멍 리
Original Assignee
베이징 싼콰이 온라인 테크놀로지 컴퍼니, 리미티드
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 베이징 싼콰이 온라인 테크놀로지 컴퍼니, 리미티드 filed Critical 베이징 싼콰이 온라인 테크놀로지 컴퍼니, 리미티드
Publication of KR20200108348A publication Critical patent/KR20200108348A/en
Application granted granted Critical
Publication of KR102445154B1 publication Critical patent/KR102445154B1/en

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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/066Format adaptation, e.g. format conversion or compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-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/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-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/18Commands or executable codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/401Support 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/4015Support 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/70Media network packetisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)
  • Holo Graphy (AREA)
  • Refuse Collection And Transfer (AREA)

Abstract

본 발명은 데이터 전송 방법, 장치, 매체 및 전자 설비에 관한 것으로, 해당 데이터 전송 방법은 인스턴트 메시징 클라이언트에 적용된다. 해당 방법에 의하면, 목표 파일을 획득하는 단계; 상기 목표 파일의 크기가 소정의 임계값을 초과하지 않는 경우, 제 1 전송 형태로 상기 목표 파일을 전송하는 단계; 상기 목표 파일의 크기가 상기 소정의 임계값을 초과하는 경우, 제 2 전송 형태로 상기 목표 파일을 전송하는 단계;를 포함한다.The present invention relates to a data transmission method, apparatus, medium and electronic equipment, and the data transmission method is applied to an instant messaging client. According to the method, obtaining a target file; transmitting the target file in a first transmission form when the size of the target file does not exceed a predetermined threshold; and transmitting the target file in a second transmission form when the size of the target file exceeds the predetermined threshold.

Description

데이터 전송data transfer

본 발명은 통신 기술 분야에 관한 것으로, 더 상세하게는, 데이터 전송 방법, 장치, 매체 및 전자 기기에 관한 것이다.The present invention relates to the field of communication technology, and more particularly, to a data transmission method, apparatus, medium and electronic device.

인스턴트 메시징 소프트웨어가 보급됨에 따라, 사용자가 인스턴트 메시징 소프트웨어를 사용하여 파일을 전송하는 빈도가 점점 높아지고 있으나, 사용자가 인스턴트 메시징 소프트웨어를 통해 파일을 전송할 때 다양한 문제가 발생할 수 있다. 예를 들면, 동영상이 너무 커서 전송할 수 없거나, 전송하기 전에 크기가 비교적 큰 동영상에 대한 처리시간이 비교적 길 수 있다. 이러한 문제는 사용자 체험에 영향 줄 뿐만 아니라, 단말기의 처리 부담을 증가시키고 소프트웨어 성능을 저하시킨다. With the spread of instant messaging software, the frequency with which users transmit files by using instant messaging software is increasing. However, various problems may occur when users transmit files through instant messaging software. For example, the moving picture may be too large to be transmitted, or the processing time for a relatively large moving picture before transmission may be relatively long. This problem not only affects the user experience, but also increases the processing load of the terminal and degrades software performance.

본 발명의 실시 예의 목적은 데이터 전송 방법, 장치, 매체 및 전자 기기를 제공함으로써, 기존의 인스턴스 메시징 전송 방안에서 대용량 파일을 전송할 수 없는 문제 및 사용자 체험이 낮은 문제를 어느 정도 해결할 수 있다.SUMMARY OF THE INVENTION An object of an embodiment of the present invention is to provide a data transmission method, apparatus, medium, and electronic device, thereby solving a problem in which a large file cannot be transmitted and a problem in which a user experience is low in the existing instant messaging transmission method to some extent.

본 발명의 다른 특징 및 장점은 다음의 상세한 설명으로부터 명백해 지거나, 또는 본 발명의 실시를 통해 부분적으로 학습 될 것이다.Other features and advantages of the invention will become apparent from the following detailed description, or may be learned in part through practice of the invention.

본 발명의 실시 예의 제 1 측면에 따르면, 인스턴트 메시징 클라이언트에 적용되는 데이터 전송 방법이 제공되며, 상기 데이터 전송 방법은 목표 파일을 획득하는 단계; 상기 목표 파일의 크기가 소정의 임계값을 초과하지 않는 경우, 제 1 전송 형태로 상기 목표 파일을 전송하는 단계; 상기 목표 파일의 크기가 상기 소정의 임계값을 초과하는 경우, 제 2 전송 형태로 상기 목표 파일을 전송하는 단계;를 포함한다. According to a first aspect of an embodiment of the present invention, there is provided a data transmission method applied to an instant messaging client, the data transmission method comprising: obtaining a target file; transmitting the target file in a first transmission form when the size of the target file does not exceed a predetermined threshold; and transmitting the target file in a second transmission form when the size of the target file exceeds the predetermined threshold.

본 발명의 일부 실시 예에서, 전술한 해결방안에 의하면, 상기 목표 파일은 비디오 파일을 포함하고, 상기 제 1 전송 형태로 상기 목표 파일을 전송하는 단계는 상기 비디오 파일에 대해 포맷 변환 처리를 수행하여 상기 인스턴트 통신 소프트웨어로 직접 재생할 수 있는 지정된 포맷의 멀티미디어 파일을 획득하는 단계, 상기 지정된 포맷의 멀티미디어 파일을 전송하는 단계를 포함한다. In some embodiments of the present invention, according to the above solution, the target file includes a video file, and the step of transmitting the target file in the first transmission form is performed by performing a format conversion process on the video file. obtaining a multimedia file of a specified format that can be directly reproduced by the instant communication software; and transmitting the multimedia file of the specified format.

본 발명의 일부 실시 예에서, 전술한 해결방안에 의하면, 상기 제 1 전송 형태로 상기 목표 파일을 전송하기 전에, 상기 비디오 파일이 포맷 변환 처리가 가능한지 여부를 판단하는 단계; 만일 상기 비디오 파일에 대해 포맷 변환 처리가 가능하다고 판단되면, 상기 제 1 전송 형태로 상기 목표 파일을 전송하는 단계; 만일 상기 비디오 파일에 대해 포맷 변환 처리가 불가하다고 판단되면, 상기 제 2 전송 형태로 상기 목표 파일을 전송하는 단계;를 더 포함한다. In some embodiments of the present invention, according to the above solution, before transmitting the target file in the first transmission form, determining whether the video file is capable of format conversion processing; transmitting the target file in the first transmission form if it is determined that the format conversion process for the video file is possible; If it is determined that the format conversion process for the video file is impossible, transmitting the target file in the second transmission format;

본 발명의 일부 실시 예에서, 전술한 해결방안에 의하면, 상기 지정된 포맷의 멀티미디어 파일을 전송하기 전에, 상기 지정된 포맷의 멀티미디어 파일에 대해 압축 처리를 수행하는 단계를 더 포함한다.In some embodiments of the present invention, according to the above solution, the method further includes performing compression processing on the multimedia file of the specified format before transmitting the multimedia file of the specified format.

본 발명의 일부 실시 예에서, 전술한 해결방안에 의하면, 상기 데이터 전송 방법은 상기 지정된 포맷의 멀티미디어 파일에 대응하는 프리뷰를 생성하는 단계; 상기 지정된 포맷의 멀티미디어 파일 전송이 완료된 후, 상기 프리뷰를 표시하고, 상기 프리뷰에 재생 표지를 표시하는 단계를 더 포함한다. In some embodiments of the present invention, according to the above solution, the data transmission method includes: generating a preview corresponding to the multimedia file of the specified format; After the transmission of the multimedia file of the specified format is completed, the method further includes displaying the preview and displaying a play mark on the preview.

본 발명의 일부 실시 예에서, 전술한 해결방안에 의하면, 상기 목표 파일은 비디오 파일을 포함하고, 상기 제 2 전송 형태로 상기 목표 파일을 전송하는 단계는 파일을 전송하는 형태로 직접 상기 비디오 파일을 전송하는 단계를 포함한다. In some embodiments of the present invention, according to the above solution, the target file includes a video file, and the step of transmitting the target file in the second transmission form directly transmits the video file in the form of transmitting a file. It includes the step of transmitting.

본 발명의 일부 실시 예에서, 전술한 해결방안에 의하면, 상기 데이터 전송 방법은 상기 비디오 파일 전송이 완료된 후, 파일 표지 및 상기 비디오 파일의 정보를 표시하는 단계를 더 포함한다.In some embodiments of the present invention, according to the above-described solution, the data transmission method further includes displaying a file label and information of the video file after the video file transmission is completed.

본 발명의 일부 실시 예에서, 전술한 해결방안에 의하면, 상기 목표 파일은 비디오 파일을 포함하고,상기 목표 파일의 크기가 상기 소정의 임계값을 초과하는지 여부를 판단하는 단계는, 상기 비디오 파일의 재생 시간이 소정의 시간을 초과하는지 여부를 판단, 및/또는 상기 비디오 파일의 데이터 양이 소정의 데이터 양을 초과하는지 여부를 판단하는 단계; 상기 비디오 파일의 재생 시간이 소정의 시간을 초과하는 경우 및/또는 상기 비디오 파일의 데이터 양이 소정의 데이터 양을 초과하는 경우, 상기 목표 파일의 크기가 상기 소정의 임계값을 초과하는 것으로 판단하는 단계; 상기 비디오 파일의 재생 시간이 소정의 시간을 초과하지 않는 경우 및/또는 상기 비디오 파일의 데이터 양이 소정의 데이터 양을 초과하지 않는 경우, 상기 목표 파일의 크기가 상기 소정의 임계값을 초과하지 않는 것으로 판단하는 단계를 포함한다.In some embodiments of the present invention, according to the above solution, the target file includes a video file, and the step of determining whether the size of the target file exceeds the predetermined threshold value includes: determining whether the playback time exceeds a predetermined time, and/or determining whether an amount of data of the video file exceeds a predetermined amount of data; When the playback time of the video file exceeds a predetermined time and/or when the data amount of the video file exceeds a predetermined data amount, it is determined that the size of the target file exceeds the predetermined threshold value step; When the playback time of the video file does not exceed a predetermined time and/or when the data amount of the video file does not exceed the predetermined data amount, the size of the target file does not exceed the predetermined threshold It includes the step of determining that

본 발명의 실시 예의 제 2 측면에 따르면, 인스턴트 메시징 소프트웨어가 설치된 클라이언트에 적용되는 데이터 전송 장치가 제공되며, 상기 데이터 전송 장치는 목표 파일을 획득하는 획득 유닛; 상기 목표 파일의 크기가 소정의 임계값을 초과하지 않을 경우, 제 1 전송 형태로 목표 파일을 전송하는 제 1 전송 유닛; 상기 목표 파일의 크기가 소정의 임계값을 초과하는 경우, 제 2 전송 형태로 목표 파일을 전송하는 제 2 전송 유닛; 을 포함한다. According to a second aspect of an embodiment of the present invention, there is provided a data transmission device applied to a client installed with instant messaging software, the data transmission device comprising: an acquiring unit configured to acquire a target file; a first transmission unit for transmitting the target file in a first transmission form when the size of the target file does not exceed a predetermined threshold; a second transmission unit for transmitting the target file in a second transmission form when the size of the target file exceeds a predetermined threshold; includes

본 발명의 실시 예의 제 3 측면에 따르면, 컴퓨터 프로그램이 저장되는 컴퓨터 판독 가능 매체가 제공되고, 상기 프로그램이 프로세서에 의해 실행될 때, 상기 실시 예의 제 1 측면에 따른 데이터 전송 방법을 구현한다. According to a third aspect of an embodiment of the present invention, there is provided a computer readable medium in which a computer program is stored, and when the program is executed by a processor, the data transmission method according to the first aspect of the embodiment is implemented.

본 발명의 실시 예의 제 4 측면에 따르면, 하나 또는 그 이상의 프로세서; 하나 또는 그 이상의 프로그램이 저장되는 저장 장치를 포함하는 전자 기기가 제공되며, 상기 하나 또는 그 이상의 프로그램이 상기 하나 또는 그 이상의 프로세서에 의해 실행될 때, 상기 하나 또는 그 이상의 프로세서는 전술한 실시 예의 제 1 측면에 따른 데이터 전송 방법을 구현한다. According to a fourth aspect of an embodiment of the present invention, one or more processors; There is provided an electronic device including a storage device in which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors are Implement the data transmission method according to the aspect.

본 발명의 실시 예들에 의해 제공되는 기술 방안은 다음과 같은 유익한 효과를 포함 할 수 있다.The technical solution provided by the embodiments of the present invention may include the following beneficial effects.

본 발명의 일부 실시 예들에 의해 제공되는 기술 방안에 따르면, 인스턴트 메시징에서, 목표 파일을 획득하고 목표 파일의 크기가 소정의 임계값을 초과하지 않을 경우, 제 1 전송 형태로 목표 파일을 전송하고, 목표 파일의 크기가 소정의 임계값을 초과하는 경우, 제 2 전송 형태로 목표 파일을 전송하므로, 인스턴트 메시징 클라이언트에서 임의의 크기의 파일을 전송할 수 있어, 인스턴트 메시징에서 큰 파일 크기로 인해 전송이 불가한 문제를 해결한다. 동시에, 본 발명의 실시 예의 기술 방안은 목표 파일의 크기에 기초하여 상이한 전송 형태를 선택할 수 있기 때문에, 비교적 큰 파일에 대해서는 전송 전에 처리 시간이 더 짧은 전송 형태를 선택할 수 있으며, 이에 의해 단말기 처리 부담을 줄이고 인스턴트 메시징 소프트웨어의 성능은 물론 사용자 체험을 향상시킬 수 있다.According to the technical solution provided by some embodiments of the present invention, in instant messaging, when the target file is obtained and the size of the target file does not exceed a predetermined threshold, the target file is transmitted in the first transmission form, When the size of the target file exceeds a predetermined threshold, the target file is transmitted in the second transmission mode, so the instant messaging client can send a file of any size, and transmission is impossible due to the large file size in instant messaging solve one problem At the same time, since the technical solution of the embodiment of the present invention can select a different transmission type based on the size of the target file, a transmission type having a shorter processing time before transmission can be selected for a relatively large file, thereby burdening the terminal It can reduce the user experience as well as the performance of instant messaging software.

본 발명의 일부 실시 예들에 의해 제공되는 기술 방안에 따르면, 목표 파일이 비디오 파일이고 제 1 전송 형태로 목표 파일이 전송되는 경우, 비디오 파일에 대한 포맷 변환 처리를 수행함으로써, 인스턴트 메시징 소프트웨어에서 직접 재생될 수 있는 특정 포맷의 멀티미디어 파일을 획득할 수 있으며, 비디오 파일이 비교적 작을 경우에도 비디오 파일의 포맷 변환 처리가 가능하여 인스턴트 메시징 소프트웨어에서 직접 재생될 수 있는 특정 포맷의 멀티미디어 파일을 획득할 수 있기에, 처리 효율을 보장하는 전제하에서 사용자 체험을 향상시킨다.According to the technical solution provided by some embodiments of the present invention, when the target file is a video file and the target file is transmitted in the first transmission form, format conversion processing is performed on the video file, so that the video file is directly played back in instant messaging software. It is possible to obtain a multimedia file of a specific format that can be Improve user experience under the premise of ensuring processing efficiency.

본 발명의 일부 실시 예들에 의해 제공되는 기술 방안에 따르면, 비디오 파일에 대해 포맷 변환 처리가 불가하다고 판단된 경우, 제 2 전송 형태로 목표 파일을 전송하므로, 모든 포맷의 비디오 파일이 전송 될 수 있다.According to the technical solution provided by some embodiments of the present invention, when it is determined that the format conversion process for the video file is impossible, since the target file is transmitted in the second transmission form, video files of all formats can be transmitted. .

본 발명의 일부 실시 예들에 의해 제공되는 기술 방안에 따르면, 목표 파일이 비디오 파일이고 제 2 전송 형태로 목표 파일이 전송되는 경우, 파일을 전송하는 형태로 직접 상기 비디오 파일을 전송함으로써, 비디오 파일이 비교적 큰 경우에도 비디오 파일을 처리하지 않고 직접 전송할 수 있으므로 사용자의 대기 시간을 감소시킬뿐만 아니라 단말기의 처리 부담을 감소시키고, 소프트웨어의 성능을 향상시키며, 모든 크기의 비디오 파일을 전송할 수 있다. According to the technical solution provided by some embodiments of the present invention, when the target file is a video file and the target file is transmitted in the second transmission form, by directly transmitting the video file in the form of transmitting the file, the video file is Even in the case of a relatively large video file, it can be directly transmitted without processing, thus reducing the user's waiting time as well as reducing the processing burden on the terminal, improving the performance of the software, and transmitting video files of any size.

상술한 일반적인 설명 및 하기의 상세한 설명은 단지 예시적이고 설명적인 것이며, 본 발명을 제한하는 것이 아님을 이해해야 한다.It is to be understood that the foregoing general description and the following detailed description are illustrative and explanatory only, and not limiting of the invention.

도 1은 본 발명의 일 실시 예에 따른 데이터 전송 방법의 개략적인 흐름도이다.
도 2는 본 발명의 다른 실시 예에 따른 데이터 전송 방법의 개략적인 흐름도이다.
도 3은 본 발명의 일 실시 예에 따른 비디오 파일 전송 후의 디스플레이 인터페이스의 개략도이다.
도 4는 본 발명의 일 실시 예에 따른 비디오 파일을 선택할 때의 디스플레이 인터페이스의 개략도이다.
도 5는 본 발명의 다른 실시 예에 따른 비디오 파일 전송 후의 디스플레이 인터페이스의 개략도이다.
도 6은 본 발명의 실시 예에 따른 데이터 전송 장치의 개략적인 블록도이다.
도 7은 본 발명의 실시 예의 구현에 적합한 전자 기기의 컴퓨터 시스템의 개략적인 구조도이다.
1 is a schematic flowchart of a data transmission method according to an embodiment of the present invention.
2 is a schematic flowchart of a data transmission method according to another embodiment of the present invention.
3 is a schematic diagram of a display interface after video file transfer according to an embodiment of the present invention.
4 is a schematic diagram of a display interface when selecting a video file according to an embodiment of the present invention.
5 is a schematic diagram of a display interface after video file transfer according to another embodiment of the present invention.
6 is a schematic block diagram of a data transmission apparatus according to an embodiment of the present invention.
7 is a schematic structural diagram of a computer system of an electronic device suitable for implementing an embodiment of the present invention.

이하, 도면을 참조하여 본 발명의 바람직한 실시 예를 보다 상세하게 설명한다. 그러나, 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며, 여기에서 설명하는 실시 예에 한정되지 않는 것으로 해석되어야 한다. 이와 반대로, 이들 실시 예를 제공함으로써 본 발명이 보다 포괄적이고 완전하게 되며, 본 발명의 사상을 보다 충분히 당업자에게 전달할 수 있다. Hereinafter, a preferred embodiment of the present invention will be described in more detail with reference to the drawings. However, the present invention may be embodied in several different forms, and it should be construed as not limited to the embodiments described herein. On the contrary, by providing these examples, the present invention will be more comprehensive and complete, and the spirit of the present invention may be more fully conveyed to those skilled in the art.

또한, 설명된 특징, 구조 또는 특성은 하나 또는 그 이상의 실시 예에 임의의 적절한 방식으로 결합 될 수 있다. 이하, 본 발명의 실시 예들의 완전한 이해를 위해 많은 특정 세부 사항들이 설명된다. 그러나, 당업자들은 본 발명의 기술 방안이 하나 이상의 특정 세부 사항 없이 실시될 수 있거나 다른 방법, 구성 요소, 장치, 단계 등이 채택될 수 있음을 이해할 것이다. 기타 경우에, 잘 알려진 방법, 장치, 구현 또는 동작은 본 발명의 양태를 모호하게 하는 것을 피하기 위해 상세하게 도시되거나 설명되지 않았다.In addition, the described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Numerous specific details are set forth below for a thorough understanding of embodiments of the present invention. However, those skilled in the art will understand that the technical solutions of the present invention may be practiced without one or more of the specific details or that other methods, components, devices, steps, etc. may be employed. In other instances, well-known methods, apparatus, implementations, or acts have not been shown or described in detail in order to avoid obscuring aspects of the invention.

도면에 도시된 블록도는 단지 기능적 실체일 뿐이며, 물리적으로 독립된 실체에 반드시 대응할 필요는 없다. 즉, 이러한 기능적 실체는 소프트웨어 형태로 구현되거나, 하나 또는 그 이상의 하드웨어 모듈 또는 집적 회로에서 구현되거나, 또는 상이한 네트워크 및/또는 프로세서 장치 및/또는 마이크로 컨트롤러 장치에서 구현될 수 있다.The block diagrams shown in the drawings are merely functional entities, and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, implemented in one or more hardware modules or integrated circuits, or implemented in different networks and/or processor devices and/or microcontroller devices.

도면에 도시된 흐름도는 단지 예시 일뿐이며, 모든 내용 및 동작/단계를 반드시 포함할 필요는 없으며, 반드시 설명된 순서대로 수행될 필요도 없다. 예를 들어, 일부 동작/단계가 분해될 수 있고, 일부 동작/단계가 병합되거나 부분적으로 병합될 수 있으므로, 실제 실행 순서는 실제 상황에 따라 변경될 수 있다.The flowcharts shown in the drawings are exemplary only, and do not necessarily include all content and actions/steps, nor are they necessarily performed in the order described. For example, since some operations/steps may be decomposed and some operations/steps may be merged or partially merged, the actual execution order may be changed according to the actual situation.

도 1은 본 발명의 일 실시 예에 따른 데이터 전송 방법의 개략적인 흐름도이며, 해당 데이터 전송 방법은 인스턴트 메시징을 수행하는 클라이언트와 같은 인스턴트 메시징에 적용된다.1 is a schematic flowchart of a data transmission method according to an embodiment of the present invention, and the data transmission method is applied to instant messaging such as a client performing instant messaging.

도 1을 참조하면, 본 발명의 일 실시 예에 따른 데이터 전송 방법은 다음 단계들이 포함된다:1 , a data transmission method according to an embodiment of the present invention includes the following steps:

단계 S110: 목표 파일을 획득한다.Step S110: Acquire a target file.

본 발명의 일 실시 예에서, 인스턴트 메시징 소프트웨어를 통해 전송될 목표 파일을 획득할 수 있다. 여기서, 인스턴트 메시징 소프트웨어는 예를 들어 인스턴트 메시징 기술을 통해 온라인 채팅 및 교류를 구현하는 소프트웨어 등을 의미한다. 인스턴트 메시징 소프트웨어를 통해 전송하는 목표 파일에는 비디오 파일, 오디오 파일, 사진, 문서 등이 포함될 수 있다.In an embodiment of the present invention, the target file to be transmitted may be obtained through instant messaging software. Here, the instant messaging software means, for example, software that implements online chatting and exchange through instant messaging technology. Target files transmitted via instant messaging software may include video files, audio files, photos, documents, and the like.

단계 S120에서는, 상기 목표 파일의 크기가 소정의 임계값을 초과하지 않으면, 제 1 전송 형태로 상기 목표 파일을 전송한다;In step S120, if the size of the target file does not exceed a predetermined threshold, the target file is transmitted in a first transmission mode;

단계 S130에서, 상기 목표 파일의 크기가 소정의 임계값을 초과하면, 제 2 전송 형태로 상기 목표 파일을 전송한다;In step S130, if the size of the target file exceeds a predetermined threshold, the target file is transmitted in a second transmission mode;

본 발명의 실시 예에서, 제 1 전송 형태는 상대적으로 작은 목표 파일을 전송하는데 사용되고, 제 2 전송 형태는 상대적으로 큰 목표 파일을 전송하는데 사용된다. 제 1 전송 형태 및 제 2 전송 형태의 협력으로 인해 클라이언트에서 인스턴트 메시징을 수행할 때 임의의 크기의 파일을 전송할 수 있으며, 파일 크기가 커서 전송할 수 없는 문제를 해결할 수 있다. 동시에, 본 발명의 실시 예의 기술 방안은 목표 파일의 크기에 기초하여 상이한 전송 형태를 선택할 수 있기 때문에, 비교적 큰 파일에 대해서는 전송 전에 처리 시간이 더 짧은 전송 형태를 선택할 수 있으며, 이에 의해 단말기 처리 부담을 줄이고 인스턴트 메시징 소프트웨어의 성능은 물론 사용자 체험을 향상시킬 수 있다.In an embodiment of the present invention, the first transmission type is used to transmit a relatively small target file, and the second transmission type is used to transmit a relatively large target file. Due to the cooperation of the first transmission type and the second transmission type, a file of any size can be transmitted when the client performs instant messaging, and the problem that the file cannot be transmitted due to the large file size can be solved. At the same time, since the technical solution of the embodiment of the present invention can select a different transmission type based on the size of the target file, a transmission type having a shorter processing time before transmission can be selected for a relatively large file, thereby burdening the terminal It can reduce the user experience as well as the performance of instant messaging software.

이하 인스턴트 메시징 소프트웨어를 통해 비디오 파일을 전송하는 것을 예로서, 본 발명의 실시 예의 기술 방안의 세부 사항을 상세히 설명한다.Hereinafter, the details of the technical solution of the embodiment of the present invention will be described in detail by taking the video file transmission through the instant messaging software as an example.

본 발명의 실시 예에서, 비디오 파일에 대해, 하기 3개의 실시예를 통해 비디오 파일의 크기가 소정의 임계값을 초과하는지 여부를 판단할 수 있다.In an embodiment of the present invention, with respect to a video file, it may be determined whether the size of the video file exceeds a predetermined threshold value through the following three embodiments.

비디오 파일의 크기가 소정의 임계값을 초과하는지 여부를 판단하는 실시 예 1:Example 1: Determining whether the size of a video file exceeds a predetermined threshold

본 발명의 일 실시 예에서, 비디오 파일의 재생 시간에 따라 비디오 파일의 크기가 소정의 임계값을 초과하는지 여부가 결정될 수 있다. 예를 들어, 비디오 파일의 재생 시간이 소정의 시간을 초과하는지 여부를 판단하고; 만일 비디오 파일의 재생 시간이 상기 소정의 시간을 초과하면, 비디오 파일의 크기가 상기 소정의 임계값을 초과하는 것으로 결정되고; 만일 상기 비디오 파일의 재생 시간이 상기 소정의 시간을 초과하지 않으면, 상기 비디오 파일의 크기가 상기 소정의 임계값을 초과하지 않는 것으로 결정된다.In an embodiment of the present invention, it may be determined whether the size of the video file exceeds a predetermined threshold according to the playback time of the video file. For example, determining whether the playing time of the video file exceeds a predetermined time; if the playing time of the video file exceeds the predetermined time, it is determined that the size of the video file exceeds the predetermined threshold; If the playing time of the video file does not exceed the predetermined time, it is determined that the size of the video file does not exceed the predetermined threshold.

비디오 파일의 크기가 소정의 임계값을 초과하는지 여부를 판단하는 실시 예 2:Example 2: Determining whether the size of the video file exceeds a predetermined threshold

본 발명의 일 실시 예에서, 비디오 파일의 데이터 양에 따라 비디오 파일의 크기가 소정의 임계값을 초과하는지 여부가 결정될 수 있다. 예를 들어, 비디오 파일의 데이터 양이 소정의 데이터 양을 초과하는지 여부를 판단하고; 만일 비디오 파일의 데이터 양이 상기 소정의 데이터 양을 초과하면, 비디오 파일의 크기가 상기 소정의 임계값을 초과하는 것으로 결정되고; 만일 상기 비디오 파일의 데이터 양이 상기 소정의 데이터 양을 초과하지 않으면, 상기 비디오 파일의 크기가 상기 소정의 임계값을 초과하지 않는 것으로 결정된다.In an embodiment of the present invention, it may be determined whether the size of the video file exceeds a predetermined threshold according to the amount of data of the video file. For example, determine 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, it is determined that the size of the video file exceeds the predetermined threshold value; If the data amount of the video file does not exceed the predetermined data amount, it is determined that the size of the video file does not exceed the predetermined threshold value.

비디오 파일의 크기가 소정의 임계값을 초과하는지 여부를 판단하는 실시 예 3:Example 3: Determining whether the size of the video file exceeds a predetermined threshold

본 발명의 일 실시 예에서, 비디오 파일의 데이터 양 및 재생시간에 따라 비디오 파일의 크기가 소정의 임계값을 초과하는지 여부가 결정될 수 있다. 예를 들어, 비디오 파일의 재생 시간이 소정의 시간을 초과하는지 여부를 판단하고, 비디오 파일의 데이터 양이 소정의 데이터 양을 초과하는지 여부를 판단하며; 만일 비디오 파일의 재생 시간이 상기 소정의 시간을 초과하고, 비디오 파일의 데이터 양이 상기 소정의 데이터 양을 초과하는 경우, 비디오 파일의 크기가 상기 소정의 임계값을 초과하는 것으로 결정되고; 만일 비디오 파일의 재생 시간이 상기 소정의 시간을 초과하지 않거나, 또는 비디오 파일의 데이터 양이 상기 소정의 데이터 양을 초과하지 않는 경우, 상기 비디오 파일의 크기가 상기 소정의 임계값을 초과하지 않는 것으로 결정된다.In an embodiment of the present invention, it may be determined whether the size of the video file exceeds a predetermined threshold according to the amount of data and the reproduction time of the video file. For example, determine whether the playback time of the video file exceeds a predetermined time, determine whether the data amount of the video file exceeds a predetermined data amount; if the playing time of the video file exceeds the predetermined time, and the data amount of the video file exceeds the predetermined data amount, it is determined that the size of the video file exceeds the predetermined threshold value; If the playback time of the video file does not exceed the predetermined time, or the data amount of the video file does not exceed the predetermined data amount, it is determined that the size of the video file does not exceed the predetermined threshold value. it is decided

상기 실시 예 1 내지 3은 단지 설명을 위한 것으로, 비디오 파일의 크기가 소정의 임계값을 초과하는지 여부를 결정하는 방법은 상기 3 가지 방법으로 제한되지 않는다.The above embodiments 1 to 3 are for illustration only, and the method for determining whether the size of a video file exceeds a predetermined threshold value is not limited to the above three methods.

하 제 1 전송 형태 및 제 2 전송 형태로 각각 비디오 파일을 전송하는 구체적인 세부 사항을 설명한다:The following describes the specific details of transferring a video file in the first transmission mode and the second transmission mode, respectively:

제 1 전송 형태로 비디오 파일을 전송한다:Transfer the video file in the first transfer form:

본 발명의 일 실시 예에서, 제 1 전송 형태로 비디오 파일을 전송하는 단계는, 상기 비디오 파일에 대한 포맷 변환 처리를 수행하여, 인스턴트 메시징 소프트웨어에서 직접 재생할 수 있는 지정된 포맷의 멀티미디어 파일을 획득하고; 지정된 포맷의 멀티미디어 파일을 전송하는 것을 포함한다. In an embodiment of the present invention, the step of transmitting the video file in 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 played directly by instant messaging software; It involves transmitting a multimedia file in a specified format.

본 실시 예에서,비디오 파일에 대해 포맷 변환 처리를 수행함으로써, 인스턴트 메시징 소프트웨어에서 직접 재생될 수 있는 특정 포맷의 멀티미디어 파일을 획득할 수 있으며, 비디오 파일이 비교적 작을 경우에도 비디오 파일의 포맷 변환 처리가 가능하여 인스턴트 메시징 소프트웨어에서 직접 재생될 수 있는 특정 포맷의 멀티미디어 파일을 획득할 수 있기에, 처리 효율을 보장하는 전제하에서 사용자 체험을 향상시킨다.In this embodiment, by performing the format conversion processing on the video file, it is possible to obtain a multimedia file of a specific format that can be played directly in the instant messaging software, and the format conversion processing of the video file is performed even when the video file is relatively small. It is possible to obtain a multimedia file in a specific format that can be played directly in the instant messaging software, thereby improving the user experience under the premise of guaranteeing processing efficiency.

본 발명의 일 실시 예에서, 지정된 포맷의 멀티미디어 파일은 지정된 포맷의 비디오 파일(예를 들어 MP4 포맷의 비디오 파일) 또는 동적 이미지 일 수 있다. 전송 될 비디오 파일 자체가 상기 지정된 포맷일 경우, 포맷 변환 처리는 생략될 수 있음에 유의해야 한다.In an embodiment of the present invention, the multimedia file of the specified format may be a video file of the specified format (eg, a video file of MP4 format) or a dynamic image. It should be noted that when the video file itself to be transmitted is in the specified format, the format conversion process may be omitted.

본 발명의 일 실시 예에서, 상기 지정된 포맷의 멀티미디어 파일을 전송하기 전에, 데이터 전송 방법은 상기 지정된 포맷의 멀티미디어 파일을 압축 처리하는 단계를 더 포함한다.In an embodiment of the present invention, before transmitting the multimedia file of the specified format, the data transmission method further includes the step of compressing the multimedia file of the specified format.

본 실시 예에서, 지정된 포맷의 멀티미디어 파일을 전송하기 전에 해당 지정된 포맷의 멀티미디어 파일을 압축 처리함으로써, 전송 중 멀티미디어 파일의 데이터 양을 감소시킬 수 있어, 전송 효율을 향상시킬 수 있다.In this embodiment, by compressing the multimedia file of the specified format before transmitting the multimedia file of the specified format, the amount of data of the multimedia file during transmission can be reduced, thereby improving transmission efficiency.

본 발명의 일 실시 예에서, 제 1 전송 형태로 비디오 파일이 전송될 때, 데이터 전송 방법은 상기 지정된 포맷의 멀티미디어 파일에 대응하는 프리뷰를 생성하는 단계; 상기 지정된 포맷의 멀티미디어 파일 전송이 완료된 후, 상기 인스턴트 메시징 소프트웨어의 인터페이스에 상기 프리뷰를 표시하고, 상기 프리뷰에 재생 표지를 표시하는 단계를 더 포함한다. In an embodiment of the present invention, when a video file is transmitted in the first transmission form, the data transmission method includes: generating a preview corresponding to the multimedia file of the specified format; After the transmission of the multimedia file in the specified format is completed, displaying the preview on an interface of the instant messaging software, and displaying a play mark on the preview.

본 실시 예에서, 지정된 포맷의 멀티미디어 파일의 전송이 완료된 후, 프리뷰가 인스턴트 메시징 소프트웨어의 인터페이스에 표시되고, 상기 프리뷰에 재생 표지가 표시됨으로서, 사용자는 표시되는 프리뷰 및 재생 표지에 의해 매우 직관적으로 해당 멀티미디어 파일이 직접 재생될 수 있음을 이해할 수 있어, 사용자의 다음 조작이 용이하게 된다. In this embodiment, after the transmission of the multimedia file in the specified format is completed, a preview is displayed on the interface of the instant messaging software, and a playback indicator is displayed on the preview, so that the user can respond very intuitively by the displayed preview and playback indicator. It can be understood that the multimedia file can be played directly, so that the user's next operation is facilitated.

또한, 본 발명의 일 실시 예에서, 만일 비디오 파일의 크기가 전술한 소정의 임계값을 초과하지 않으면, 먼저 전송될 비디오 파일이 포맷 변환 처리가 가능한지 여부를 판단하고, 만일 포맷 변환 처리가 가능하다고 판단되면, 제 1 전송 형태로 해당 비디오 파일을 전송하고; 만일 포맷 변환 처리가 불가하다고 판단되면, 제 2 전송 형태로 비디오 파일을 전송한다. In addition, in one embodiment of the present invention, if the size of the video file does not exceed the predetermined threshold value, it is first determined whether the format conversion process is possible for the video file to be transmitted, and if the format conversion process is possible if determined, transmit the video file in the first transmission form; If it is determined that the format conversion process is impossible, the video file is transmitted in the second transmission mode.

본 실시 예의 기술 방안은 임의의 포맷의 비디오 파일을 전송할 수 있다.The technical solution of this embodiment can transmit a video file of any format.

제 2 전송 형태로 비디오 파일을 전송한다:Transfer the video file in the second transfer form:

본 발명의 일 실시 예에서, 제 2 전송 형태로 비디오 파일을 전송하는 단계는, 파일을 전송하는 형태로 직접 상기 비디오 파일을 전송하는 것을 포함한다. In an embodiment of the present invention, the step of transmitting the video file in the second transmission form includes directly transmitting the video file in the form of transmitting the file.

본 실시 예에서, 파일을 전송하는 형태로 직접 상기 비디오 파일을 전송함으로써, 비디오 파일이 비교적 큰 경우에도 비디오 파일을 처리하지 않고 직접 전송할 수 있으므로, 사용자의 대기 시간을 감소시킬 뿐만 아니라 단말기의 처리 부담을 감소시키고, 소프트웨어의 성능을 향상시키며, 모든 크기의 비디오 파일을 전송할 수 있다. In this embodiment, by transmitting the video file directly in the form of transmitting the file, even when the video file is relatively large, the video file can be directly transmitted without processing, thereby reducing the waiting time of the user and processing load of the terminal. It can reduce the size of video files, improve the performance of the software, and transfer video files of any size.

본 발명의 일 실시 예에서, 제 2 전송 형태로 비디오 파일을 전송할 때, 데이터 전송 방법은 상기 비디오 파일 전송이 완료된 후, 상기 비디오 파일의 정보를 표시하는 단계를 더 포함한다. 해당 정보는 해당 비디오 파일을 식별하기 위한 파일 표지 및 파일 크기 등을 포함한다. 예를 들어, 인스턴트 메시징 소프트웨어의 인터페이스에 파일 표지 및 비디오 파일의 크기와 같은 정보가 표시될 수 있다. In an embodiment of the present invention, when transmitting a video file in the second transmission mode, the data transmission method further includes displaying information on the video file after the video file transmission is completed. The information includes a file cover and a file size for identifying the video file. For example, information such as a file cover and the size of a video file may be displayed on the interface of the instant messaging software.

본 실시 예에서, 비디오 파일 전송이 완료된 후, 인스턴트 메시징 소프트웨어의 인터페이스에 비디오 파일의 정보가 표시되어, 사용자는 표시된 비디오 파일의 정보를 통해 해당 비디오 파일을 직관적으로 이해할 수 있어, 사용자의 다음 조작이 용이하게 된다. In this embodiment, after the video file transfer is completed, the information of the video file is displayed on the interface of the instant messaging software, so that the user can intuitively understand the video file through the information of the displayed video file, so that the user's next operation is will be facilitated

이하, 도 2 내지 도 5를 참조하여 본 발명의 실시 예에 따른 데이터 전송 방안의 구체적인 응용 시나리오를 상세히 설명한다.Hereinafter, a specific application scenario of the data transmission method according to an embodiment of the present invention will be described in detail with reference to FIGS. 2 to 5 .

본 발명의 특정 응용 시나리오에서, 본 발명의 실시 예에 따른 데이터 전송 방안을 휴대폰의 인스턴트 메시징 APP(Application, 애플리케이션)에 적용할 수 있다. 구체적인 구현 과정은 도 2에 도시되어 있으며, 다음과 같은 단계를 포함한다:In a specific application scenario of the present invention, the data transmission method according to an embodiment of the present invention may be applied to an instant messaging APP (Application) of a mobile phone. A specific implementation process is shown in Fig. 2, and includes the following steps:

단계 S210, 사용자에 의해 선택된 전송될 비디오를 수신한다.Step S210, a video to be transmitted selected by the user is received.

단계 S220, 상기 비디오 시간이 5분(구체적인 값이 아니고 단지 예시일 뿐)보다 큰지 판단하고, 만약 그렇다면, 단계 S250이 실행되고, 그렇지 않으면, 단계 S230이 실행된다.Step S220, it is determined whether the video time is greater than 5 minutes (not a specific value, just an example), and if so, step S250 is executed, otherwise, step S230 is executed.

본 발명의 실시 예에서, 또한 비디오의 데이터 양이 소정의 데이터 양보다 큰지를 판단함으로써 단계 S250 또는 단계 S230을 수행할지를 결정할 수 있다. 구체적으로, 비디오의 데이터 양이 소정의 데이터 양(예컨대, 10MB)보다 큰 경우, 단계 S250이 실행되고; 그렇지 않으면 단계 S230이 실행된다.In an embodiment of the present invention, it is also possible to determine whether to perform step S250 or step S230 by determining whether the amount of data of the video is greater than a predetermined amount of data. Specifically, when the data amount of the video is greater than a predetermined data amount (eg, 10 MB), step S250 is executed; Otherwise, step S230 is executed.

단계 S230에서, 비디오 포맷에 대한 변환이 가능한지를 판단하고, 만약 그렇다면, 단계 S240이 실행되고; 그렇지 않으면 단계 S250이 실행된다.In step S230, it is determined whether conversion to the video format is possible, and if so, step S240 is executed; Otherwise, step S250 is executed.

본 발명의 일 실시 예에서, 비디오 시간이 5분을 초과하지 않지만, 비디오 포맷 변환이 불가하면, 단계 S250이 실행되어, 모든 포맷의 비디오가 전송될 수 있도록 한다.In an embodiment of the present invention, if the video time does not exceed 5 minutes, but the video format conversion is impossible, step S250 is executed, so that video in all formats can be transmitted.

단계 S240, 비디오를 처리하여 전송한다.Step S240, the video is processed and transmitted.

본 발명의 일 실시 예에서, 비디오를 처리하는 단계는 비디오 포맷에 대한 변환 처리를 수행하고, 변환된 비디오를 압축 처리하는 것을 포함한다.In an embodiment of the present invention, the processing of the video includes performing conversion processing on a video format and compressing the converted video.

단계 S250, 처리를 수행하지 않고 직접 파일 형태로 전송한다. In step S250, it is directly transmitted in the form of a file without performing processing.

상술한 내용을 요약하면, 본 발명의 실시 예에서 비디오 전송을 위한 처리 방법은 주로 다음과 같다:To summarize the above, the processing method for video transmission in the embodiment of the present invention is mainly as follows:

1. 비디오 크기가 소정의 범위 내에 있고, 비디오 포맷에 대한 변환이 가능한 경우, 비디오 포맷을 변환하고 압축 처리를 수행하여 비디오를 전송한다. 도 3의 302에 도시 된 바와 같이, 이와 같이 비디오를 전송한 후, 인스턴트 메시징 소프트웨어의 인터페이스에서 [프리뷰] + [재생 버튼]의 형태로 해당 비디오가 표시된다. 1. If the video size is within a predetermined range and conversion to the video format is possible, the video format is converted and compression processing is performed to transmit the video. As shown in 302 of FIG. 3, after the video is transmitted in this way, the video is displayed in the form of [Preview] + [Play button] on the interface of the instant messaging software.

2. 사용자에 의해 선택된 비디오의 크기가 소정의 범위를 초과할 경우, 팝업 프롬프트를 통해 파일 형태로 전송될 것이라는 내용을 사용자에게 알려준다. 구체적으로, 도 4의 프롬프트 박스(402)에 도시 된 바와 같이, 사용자가 프롬프트 박스에서 “계속”을 선택하면, 비디오는 처리되지 않고 직접 파일 형태로 전송된다. 도 5의 502에 도시 된 바와 같이, 이러한 방식으로 비디오를 전송 한 후, 비디오는 인스턴트 메시징 소프트웨어의 인터페이스에서 [파일 아이콘] + [파일 이름] + [파일 크기]의 형태로 표시된다.2. If the size of the video selected by the user exceeds a predetermined range, a pop-up prompt informs the user that the video will be transmitted in the form of a file. Specifically, as shown in the prompt box 402 of FIG. 4 , if the user selects “Continue” in the prompt box, the video is not processed and is directly transmitted in the form of a file. After sending the video in this way, as shown in Figure 5 502, the video is displayed in the form of [file icon] + [file name] + [file size] in the interface of the instant messaging software.

3. 사용자에 의해 선택된 비디오의 크기가 소정의 범위 내에 있지만, 비디오 포맷에 대한 변환이 불가한 경우, 상기와 동일하게 팝업 프롬프트를 통해 파일 형태로 전송될 것이라는 내용을 사용자에게 알려준다. 사용자가 전송 확인을 하면, 비디오는 처리되지 않고 직접 파일 형태로 전송된다. 도 5의 502에 도시 된 바와 같이, 이러한 방식으로 비디오를 전송 한 후, 비디오는 인스턴트 메시징 소프트웨어의 인터페이스에서 [파일 아이콘] + [파일 이름] + [파일 크기]의 형태로 표시된다.3. If the size of the video selected by the user is within a predetermined range, but conversion to the video format is not possible, a pop-up prompt similar to the above informs the user that the video will be transmitted in the form of a file. When the user confirms the transfer, the video is not processed and is transferred directly in the form of a file. After sending the video in this way, as shown in Figure 5 502, the video is displayed in the form of [file icon] + [file name] + [file size] in the interface of the instant messaging software.

상기 실시 예에서, 본 발명의 실시 예의 기술 방안은 비디오를 예로서 설명되었지만, 본 발명의 상기 실시 예의 기술 방안은 이미지, 문서, 오디오 등과 같은 기타 유형의 파일의 전송에도 적용 가능하다는 점에 유의해야 한다. 이하 간략하게 설명한다. In the above embodiment, the technical solution of the embodiment of the present invention has been described with video as an example, but it should be noted that the technical solution of the above embodiment of the present invention is also applicable to the transmission of other types of files such as images, documents, audio, etc. do. It will be briefly described below.

인스턴트 메시징 소프트웨어에서 이미지를 전송해야 하는 경우, 만일 이미지의 데이터 양이 비교적 크거나 또는 해상도가 비교적 높으면, 파일의 형태로 전송될 수 있으며, 전송이 완료되면, 인스턴트 메시징 소프트웨어의 인터페이스에 [파일 아이콘] + [파일 이름] + [파일 크기]의 형태로 해당 이미지가 표시될 수 있다. 만일 이미지의 데이터 양이 비교적 작거나 또는 해상도가 비교적 낮으면, 이미지에 대해 포맷 변환 처리(인스턴트 메시징 소프트웨어에서 직접 표시될 수 있도록 변환)를 수행하고, 압축 처리(본 발명의 다른 실시 예에서는 압축 처리를 하지 않을 수도 있음)를 하여 전송하며, 전송이 완료되면, 인스턴트 메시징 소프트웨어의 인터페이스에 프리뷰의 형태로 해당 이미지가 표시될 수 있다. If the instant messaging software needs to send an image, if the amount of data in the image is relatively large or the resolution is relatively high, it may be sent in the form of a file, and when the transfer is complete, a [file icon] is displayed on the interface of the instant messaging software. The image can be displayed in the form of + [file name] + [file size]. If the data amount of the image is relatively small or the resolution is relatively low, format conversion processing (conversion to be displayed directly in the instant messaging software) is performed on the image, and compression processing (compression processing in another embodiment of the present invention) may not be used), and when the transmission is completed, the corresponding image may be displayed in the form of a preview on the interface of the instant messaging software.

인스턴트 메시징 소프트웨어를 이용하여 오디오를 전송해야 하는 경우, 만일 오디오의 데이터 양이 비교적 크거나 재생 시간이 비교적 길면, 직접 파일 형태로 전송할 수 있으며, 전송이 완료된 후, 인스턴트 메시징 소프트웨어의 인터페이스에 [파일 아이콘] + [파일 이름] + [파일 크기]의 형태로 해당 오디오가 표시될 수 있다. 오디오의 데이터 양이 비교적 작거나 재생 시간이 비교적 짧은 경우, 오디오에 대해 포맷 변환 처리(인스턴트 메시징 소프트웨어에서 직접 재생될 수 있도록 변환)를 수행하고, 압축 처리(본 발명의 다른 실시 예에서는 압축 처리를 하지 않을 수도 있음)를 하여 전송하며, 전송이 완료되면, 인스턴트 메시징 소프트웨어의 인터페이스에 직접 재생될 수 있다는 표지가 표시될 수 있다.If you need to use instant messaging software to transmit audio, if the amount of data in the audio is relatively large or the playback time is relatively long, you can send it directly in the form of a file. ] + [file name] + [file size]. When the amount of data of audio is relatively small or the playback time is relatively short, format conversion processing (converting so that it can be directly played back in instant messaging software) is performed on the audio, and compression processing (in another embodiment of the present invention, compression processing is performed) may not) to transmit, and when the transmission is completed, an indication that it can be played can be displayed directly on the interface of the instant messaging software.

인스턴트 메시징 소프트웨어를 이용하여 문서를 전송해야 하는 경우, 만일 문서의 데이터 양이 비교적 크면, 문서를 압축 처리하여 전송할 수 있다. 만일 문서의 데이터 양이 비교적 작으면, 직접 전송할 수 있다. When a document needs to be transmitted using instant messaging software, if the data amount of the document is relatively large, the document may be compressed and transmitted. If the amount of data in the document is relatively small, it can be transmitted directly.

이하에서는 본 발명의 데이터 전송 방법을 실행하기 위한 본 발명의 장치 실시 예들을 설명한다.Hereinafter, device embodiments of the present invention for implementing the data transmission method of the present invention will be described.

도 6은 본 발명의 실시 예에 따른 데이터 전송 장치의 개략적인 블록도이며, 해당 데이터 전송 장치는 인스턴트 메시징 소프트웨어가 설치된 클라이언트에 적용된다.6 is a schematic block diagram of a data transmission apparatus according to an embodiment of the present invention, and the data transmission apparatus is applied to a client in which instant messaging software is installed.

도 6을 참조하면, 본 발명의 실시 예에 따른 데이터 전송 장치(600)는 획득 유닛(602), 제 1 전송 유닛(604) 및 제 2 전송 유닛(606)을 포함한다.Referring to FIG. 6 , a data transmission apparatus 600 according to an embodiment of the present invention includes an acquiring unit 602 , a first transmission unit 604 , and a second transmission unit 606 .

여기서, 획득 유닛(602)은 목표 파일을 획득하며; 제 1 전송 유닛(604)은 상기 목표 파일의 크기가 소정의 임계값을 초과하지 않을 경우에 제 1 전송 형태로 목표 파일을 전송하며; 제 2 전송 유닛(606) 상기 목표 파일의 크기가 소정의 임계값을 초과하는 경우에 제 2 전송 형태로 목표 파일을 전송한다. Here, the acquiring unit 602 acquires the target file; the first transmitting unit 604 transmits the target file in the first transmission form when the size of the target file does not exceed a predetermined threshold; The second transmission unit 606 transmits the target file in the second transmission mode when the size of the target file exceeds a predetermined threshold.

본 발명의 일부 실시 예에서, 전술한 방안에 의하면, 상기 목표 파일은 비디오 파일을 포함하고, 상기 제 1 전송 유닛(604)은 상기 비디오 파일에 대한 포맷 변환 처리를 수행하여 상기 인스턴트 메시징 소프트웨어에서 직접 재생할 수 있는 지정된 포맷의 멀티미디어 파일을 획득하며, 상기 지정된 포맷의 멀티미디어 파일을 전송하도록 구성된다. In some embodiments of the present invention, according to the above-described method, the target file includes a video file, and the first sending unit 604 performs format conversion processing on the video file to directly execute the instant messaging software. and acquire a multimedia file of a specified format that can be played back, and transmit the multimedia file of the specified format.

본 발명의 일부 실시 예에서, 전술한 방안에 의하면, 데이터 전송 장치(600)는 상기 목표 파일의 크기가 소정의 임계값을 초과하지 않을 경우에 상기 비디오 파일에 대한 포맷 변환 처리가 가능한지 판단하는 제 1 판단 유닛을 더 포함하고; 상기 제 1 전송 유닛(604)은 상기 제 1 판단 유닛에 의해 상기 비디오 파일에 대한 포맷 변환 처리가 가능하다고 판단된 경우에 상기 제 1 전송 형태로 상기 목표 파일을 전송하며; 상기 제 2 전송 유닛(606)은 상기 제 1 판단 유닛에 의해 상기 비디오 파일에 대한 포맷 변환 처리가 불가하다고 판단된 경우에 제 2 전송 형태로 상기 목표 파일을 전송한다.In some embodiments of the present invention, according to the above-described method, the data transmission apparatus 600 determines whether a format conversion process for the video file is possible when the size of the target file does not exceed a predetermined threshold. 1 further comprising a judgment unit; the first sending unit 604 transmits the target file in the first transmission form when it is determined by the first judging unit that format conversion processing for the video file is possible; The second transmission unit 606 transmits the target file in a second transmission form when it is determined by the first determination unit that the format conversion processing for the video file is impossible.

본 발명의 일부 실시 예에서, 전술한 방안에 의하면, 제 1 전송 유닛(604)은 상기 지정된 포맷의 멀티미디어 파일을 전송하기 전에, 상기 지정된 포맷의 멀티미디어 파일에 대해 압축 처리를 수행한다.In some embodiments of the present invention, according to the above method, the first transmission unit 604 performs compression processing on the multimedia file of the specified format before transmitting the multimedia file of the specified format.

본 발명의 일부 실시 예에서, 전술한 방안에 의하면, 상기 데이터 전송 장치(600)는 상기 지정된 포맷의 멀티미디어 파일에 대응하는 프리뷰를 생성하기 위한 생성 유닛; 상기 지정된 포맷의 멀티미디어 파일의 전송이 완료된 후, 상기 프리뷰가 표시되고 상기 프리뷰에 재생 표지가 표시되는 제 1 표시 유닛;을 더 포함한다.In some embodiments of the present invention, according to the above-described method, the data transmission apparatus 600 includes a generating unit for generating a preview corresponding to the multimedia file of the specified format; and a first display unit configured to display the preview and display a play mark on the preview after the transmission of the multimedia file of the specified format is completed.

본 발명의 일부 실시 예에서, 전술한 방안에 의하면, 상기 목표 파일은 비디오 파일을 포함하고, 상기 제 2 전송 유닛(606)은 파일을 전송하는 형태로 직접 상기 비디오 파일을 전송하도록 구성된다.In some embodiments of the present invention, according to the above-described method, the target file includes a video file, and the second transmission unit 606 is configured to directly transmit the video file in the form of transmitting the file.

본 발명의 일부 실시 예에서, 전술한 방안에 의하면, 상기 데이터 전송 장치(600)는, 상기 제 2 전송 유닛(606)에서 상기 비디오 파일의 전송을 완료한 후, 상기 비디오 파일의 정보를 표시하는 제 2 표시 유닛을 더 포함한다.In some embodiments of the present invention, according to the above method, the data transmission device 600 displays information of the video file after the second transmission unit 606 completes the transmission of the video file. It further includes a second display unit.

본 발명의 일부 실시 예에서, 전술한 방안에 의하면, 상기 목표 파일은 비디오 파일을 포함하고, 상기 데이터 전송 장치(600)는 상기 비디오 파일의 재생 시간이 소정의 시간을 초과하는지 판단, 및/또는 상기 비디오 파일의 데이터 양이 소정의 데이터 양을 초과하는지 판단하는 제 2 판단 유닛을 더 포함하며, 상기 비디오 파일의 재생 시간이 소정의 시간을 초과하는 경우 및/또는 상기 비디오 파일의 데이터 양이 소정의 데이터 양을 초과하는 경우에 상기 목표 파일의 크기가 상기 소정의 임계값을 초과하는 것으로 결정하고; 상기 비디오 파일의 재생 시간이 상기 소정의 시간을 초과하지 않는 경우 및/또는 상기 비디오 파일의 데이터 양이 소정의 데이터 양을 초과하지 않는 경우에 상기 목표 파일의 크기가 상기 소정의 임계값을 초과하지 않는 것으로 결정된다.In some embodiments of the present invention, according to the above method, the target file includes a video file, and the data transmission device 600 determines whether the playback time of the video file exceeds a predetermined time, and/or and a second judging unit for judging whether the data amount of the video file exceeds a predetermined data amount, wherein the playback time of the video file exceeds a predetermined time and/or if the data amount of the video file exceeds a predetermined time determining that the size of the target file exceeds the predetermined threshold value when the data amount of If the playback time of the video file does not exceed the predetermined time and/or when the data amount of the video file does not exceed the predetermined data amount, the size of the target file does not exceed the predetermined threshold decided not to

본 발명의 실시 예에 따른 데이터 전송 장치의 각 기능 모듈은 전술한 데이터 전송 방법의 실시 예에 따른 단계와 대응하므로, 본 발명의 장치 실시 예에 공개되지 않은 내용은 전술한 데이터 전송 방법의 실시 예를 참조할 수 있다. Since each function module of the data transmission apparatus according to the embodiment of the present invention corresponds to the step according to the embodiment of the data transmission method described above, the contents not disclosed in the device embodiment of the present invention are not disclosed in the embodiment of the data transmission method described above. can refer to

이하 도 7을 참조하면, 본 발명의 실시 예의 전자 기기를 구현하기에 적합한 컴퓨터 시스템(700)의 개략적인 구조도를 나타낸다. 도 7에 도시된 전자 기기의 컴퓨터 시스템(700)은 단지 예시일 뿐이며, 본 발명의 실시 예들의 기능 및 사용 범위를 제한하지 않는다.Hereinafter, referring to FIG. 7 , a schematic structural diagram of a computer system 700 suitable for implementing an electronic device according to an embodiment of the present invention is shown. The computer system 700 of the electronic device shown in FIG. 7 is merely an example, and does not limit the functions and scope of use of the embodiments of the present invention.

도 7에 도시 된 바와 같이, 컴퓨터 시스템(700)은 ROM (702)에 저장된 프로그램 또는 저장부(708)에서 RAM (703)에 로딩된 프로그램에 의해 다양한 적절한 동작과 처리를 수행할 수 있는 CPU(중앙 처리 장치, 701)를 포함한다. 또한, RAM (703)에는 시스템 운영에 필요한 다양한 프로그램과 데이터가 저장된다. CPU (701), ROM (702) 및 RAM (703)은 버스(704)를 통해 서로 연결된다. 입/출력(I/O) 인터페이스(705) 또한 버스(704)에 연결된다.As shown in Fig. 7, the computer system 700 is a CPU (CPU) capable of performing various appropriate operations and processing by a program stored in the ROM 702 or a program loaded in the RAM 703 in the storage unit 708. central processing unit, 701). In addition, various programs and data necessary for system operation are stored in the RAM 703 . The CPU 701 , the ROM 702 , and the RAM 703 are connected to each other via a bus 704 . An input/output (I/O) interface 705 is also coupled to the bus 704 .

키보드, 마우스 등을 포함하는 입력부(706); 음극선관(CRT), 액정 모니터(LCD) 등 및 스피커 등을 포함하는 출력부(707); 하드 디스크 등을 포함하는 저장부(708); 및 LAN 카드, 모뎀 등 네트워크 인터페이스 카드를 포함하는 통신부(709); 도 I/O 인터페이스(705)에 연결된다. 통신부(709)는 인터넷과 같은 네트워크를 통해 통신 처리를 수행한다. 드라이버(710) 또한 필요에 따라 I/O 인터페이스(705)에 연결된다. 자기 디스크, 광 디스크, 광 자기 디스크, 반도체 메모리 등 이동식 매체(711)는 필요에 따라 드라이버(710)에 설치됨으로써, 이로부터 판독 가능한 컴퓨터 프로그램이 필요에 따라 저장부(708)에 설치될 수 있다. an input unit 706 including a keyboard, mouse, and the like; an output unit 707 including a cathode ray tube (CRT), a liquid crystal monitor (LCD), and the like and a speaker; storage 708 including a hard disk or the like; and a communication unit 709 including a network interface card such as a LAN card and a modem; also connected to I/O interface 705 . The communication unit 709 performs communication processing through a network such as the Internet. Driver 710 is also coupled 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, etc. is installed in the driver 710 as necessary, so that a computer program readable therefrom can be installed in the storage 708 as necessary. .

특히, 본 발명의 실시 예에 따르면, 흐름도를 참조하여 설명된 과정은 컴퓨터 소프트웨어 프로그램으로 구현될 수 있다. 예를 들어, 본 발명의 실시 예들은 컴퓨터 판독 가능 매체 상에 탑재되는 컴퓨터 프로그램을 포함하는 컴퓨터 프로그램 제품을 포함하고, 해당 컴퓨터 프로그램은 흐름도에 도시된 방법을 수행하기 위한 프로그램 코드를 포함한다. 이러한 실시 예에서, 해당 컴퓨터 프로그램은 통신부(709)를 통해 네트워크로부터 다운로드 및 설치, 및/또는 이동식 매체(711)로부터 설치될 수 있다. 해당 컴퓨터 프로그램이 CPU(701)에 의해 실행될 때, 본 출원의 시스템에 의해 한정된 전술한 기능이 실행된다.In particular, according to an embodiment of the present invention, the process described with reference to the flowchart may be implemented as a computer software program. For example, embodiments of the present invention include a computer program product including a computer program mounted on a computer readable medium, and the computer program includes program code for performing the method shown in the flowchart. In this embodiment, the computer program may be downloaded and installed from the network through the communication unit 709 and/or installed from the removable medium 711 . When the corresponding computer program is executed by the CPU 701, the above-described functions defined by the system of the present application are executed.

본 발명에 도시된 컴퓨터 판독 가능 매체는 컴퓨터 판독 가능 신호 매체 또는 컴퓨터 판독 가능 저장 매체, 또는 이 둘의 임의의 조합 일 수 있음에 유의해야 한다. 컴퓨터 판독 가능 저장 매체는 예를 들어, 전기, 자기, 광, 전자기, 적외선 또는 반도체 시스템, 장치 또는 기기, 또는 이들의 임의의 조합 일 수 있지만, 이에 제한되지는 않는다. 컴퓨터 판독 가능 저장 매체의 보다 구체적인 예는 하나 또는 그 이상의 도선을 구비한 전기적 연결, 휴대용 컴퓨터 디스크, 하드 디스크, 랜덤 액세스 메모리(RAM), 판독 전용 메모리(ROM), 소거 가능하며 프로그램 가능한 판독 전용 메모리(EPROM 또는 플래시 메모리), 광섬유, 시디롬(CD-ROM), 광 저장 장치, 자기 저장 장치 또는 전술한 것의 임의의 적절한 조합을 포함하나, 이에 제한되지는 않는다. 본 발명에서, 컴퓨터 판독 가능 저장 매체는 프로그램을 포함하거나 저장하는 임의의 유형의 매체 일 수 있고, 해당 프로그램은 명령 실행 시스템, 장치 또는 기기에 사용되거나 또는 그와 결합되어 사용될 수 있다. 본 발명에서, 컴퓨터 판독 가능 신호 매체는 기저 대역에서 또는 반송파의 일부로서 전파되는 데이터 신호를 포함할 수 있으며, 컴퓨터 판독 가능 프로그램 코드가 탑재된다. 전파된 데이터 신호는 전자기 신호, 광 신호, 또는 전술한 것의 임의의 적절한 조합을 포함하지만 이에 제한되지 않는 다양한 형태를 취할 수있다. 컴퓨터 판독 가능 신호 매체는 또한 컴퓨터 판독 가능 저장 매체 이외의 임의의 컴퓨터 판독 가능 매체 일 수 있고, 해당 컴퓨터 판독 가능 매체는 명령 실행 시스템, 장치 또는 기기에 사용되거나 또는 이와 결합되어 사용되는 프로그램을 발송, 전파 또는 전송할 수 있다. 컴퓨터 판독 가능 매체에 포함된 프로그램 코드는 임의의 적절한 매체 또는 이들의 적절한 조합을 통해 전송 될 수 있으며, 예를 들면 무선, 전선, 광 케이블, RF 등을 포함하나 이에 제한되지 않는다. It should be noted that the computer readable medium illustrated in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, apparatus or appliance, or any combination thereof. More specific examples of computer-readable storage media include an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable and programmable read-only memory. (EPROM or flash memory), optical fiber, CD-ROM (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing. In the present invention, the computer-readable storage medium may be any tangible medium containing or storing a program, and the program may be used in or in combination with an instruction execution system, apparatus, or device. In the present invention, a computer readable signal medium may contain a data signal propagated in baseband or as part of a carrier wave, and a computer readable program code is loaded thereon. A propagated data signal may take a variety of forms including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium transmits a program used in or in combination with an instruction execution system, apparatus, or device; can be propagated or transmitted. The program code contained in the computer-readable medium may be transmitted through any suitable medium or a suitable combination thereof, including but not limited to, for example, wireless, wire, optical cable, RF, and the like.

첨부 도면의 흐름도 및 블록도는 본 발명의 다양한 실시 예에 따른 시스템, 방법 및 컴퓨터 프로그램 제품의 구현 가능한 아키텍쳐, 기능 및 동작을 도시한다. 이와 관련하여, 흐름도 또는 블록도의 각 블록은 하나의 모듈, 프로그램 세그먼트 또는 코드의 일부를 나타낼 수 있으며, 상술한 모듈, 프로그램 세그먼트 또는 코드의 일부는 하나 또는 그 이상의 규정된 논리 기능을 구현하기 위한 실행 가능한 명령을 포함한다. 일부 대안적인 구현들에서, 블록에서 언급된 기능들이 도면에 언급된 순서와 다르게 발생할 수 있음에 유의해야 한다. 예를 들어, 연결되게 표시된 2개의 블록은 실제로 병렬로 실행될 수 있고, 관련된 기능에 따라 때때로 역순으로 실행될 수도 있다. 블록도 또는 흐름도의 각 블록 및 블록도 또는 흐름도의 블록들의 조합은 지정된 기능 또는 조작을 수행하는 전용 하드웨어 기반 시스템으로 구현되거나, 또는 전용 하드웨어와 컴퓨터 명령의 조합으로 구현될 수 있음에 유의해야 한다.The flow diagrams and block diagrams of the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent one module, program segment, or portion of code, wherein the aforementioned module, program segment, or portion of code may be used to implement one or more defined logical functions. Contains executable commands. It should be noted that in some alternative implementations, the functions recited in the blocks may occur out of the order recited in the figures. For example, two blocks marked to be connected may actually be executed in parallel, and sometimes in reverse order depending on the functionality involved. It should be noted that each block in the block diagram or flowchart and combinations of blocks in the block diagram or flowchart may be implemented as a dedicated hardware-based system for performing specified functions or operations, or may be implemented as a combination of dedicated hardware and computer instructions.

본 발명의 실시 예에서 언급된 유닛은 소프트웨어 또는 하드웨어로 구현될 수 있으며, 해당 유닛은 프로세서에 설치될 수 있다. 여기서, 이러한 유닛의 이름은 특정 상황에서 해당 유닛 자체에 대한 제한을 의미하지 않는다.The unit mentioned in the embodiment of the present invention may be implemented in software or hardware, and the unit may be installed in a processor. Here, the name of such a unit does not mean a limitation on the unit itself in a specific situation.

다른 양태로서, 본 출원은 전술한 실시 예들에서 설명된 전자 기기에 포함되거나 해당 전자설비에 조립되지 않고 단독으로 존재하는 컴퓨터 판독 가능 매체를 제공한다. 상기 컴퓨터 판독 가능 매체에는 하나 또는 그 이상의 프로그램이 탑재되며, 하나 또는 그 이상의 프로그램이 하나의 전자 기기에 의해 실행될 때, 해당 전자 기기는 상술한 실시 예에서 설명된 데이터 전송 방법을 구현하게 된다.As another aspect, the present application provides a computer-readable medium that exists alone without being included in the electronic device described in the above-described embodiments or assembling in the corresponding electronic device. One or more programs are loaded on the computer readable medium, and when the one or more programs are executed by one electronic device, the corresponding electronic device implements the data transmission method described in the above-described embodiment.

예를 들어, 전자 기기는 도 1에 도시 된 바와 같은 단계를 구현할 수 있다: 단계 S110, 목표 파일을 획득; 단계 S120, 상기 목표 파일의 크기가 소정의 임계값을 초과하지 않는 경우에 제 1 전송 형태로 상기 목표 파일을 전송; 단계 S130 , 상기 목표 파일의 크기가 소정의 임계값을 초과하는 경우에 제 2 전송 형태로 상기 목표 파일을 전송한다. For example, the electronic device may implement the steps as shown in Fig. 1: Step S110, obtain the target file; Step S120, when the size of the target file does not exceed a predetermined threshold, transmitting the target file in a first transmission mode; In step S130, when the size of the target file exceeds a predetermined threshold, the target file is transmitted in the second transmission mode.

다른 예로서, 전자 기기는 도 2에 도시 된 바와 같은 각 단계를 구현할 수 있다.As another example, the electronic device may implement each step as shown in FIG. 2 .

비록 전술한 바와 같이 동작이 실행되는 설비의 모듈 또는 유닛에 대해 언급했지만, 이러한 구분은 필수가 아니다. 실제로, 본 발명의 실행 형태에 따라, 전술한 2개 또는 그 이상의 모듈 또는 유닛의 특징 및 기능은 하나의 모듈 또는 유닛을 통해 구현될 수 있다. 반대로, 전술한 하나의 모듈 또는 유닛의 특징 및 기능은 복수의 모듈 또는 유닛으로 분할되어 구현될 수 있다.Although, as described above, reference is made to a module or unit of a facility in which an operation is performed, this distinction is not essential. In fact, according to the embodiment of the present invention, the features and functions of two or more modules or units described above may be implemented through one module or unit. Conversely, the features and functions of one module or unit described above may be implemented by being divided into a plurality of modules or units.

상기 실시 예들에 대한 설명을 통해, 본 기술 분야의 통상의 지식을 가진 자라면 여기서 설명된 실시 예들이 소프트웨어, 또는 필요에 따라 하드웨어와 결합된 소프트웨어에 의해 구현될 수 있음을 쉽게 이해할 수 있다. 따라서, 본 발명의 실시 예에 따른 기술 방안은 소프트웨어 제품의 형태로 구현될 수 있는바, 해당 소프트웨어 제품은 비휘발성 저장 매체(CD-ROM, USB 메모리, 모바일 하드 디스크 등일 수 있음) 또는 네트워크에 저장될 수 있고, 몇 개의 명령을 포함하여 하나의 컴퓨팅 장치(개인용 컴퓨터, 서버, 터치 단말기 또는 네트워크 장치 등일 수 있음)가 본 발명의 실시 예에 따른 방법을 실행하게 한다.Through the description of the above embodiments, those of ordinary skill in the art can easily understand that the embodiments described herein may be implemented by software or, if necessary, software combined with hardware. Therefore, the technical solution according to the embodiment of the present invention may be implemented in the form of a software product, which is stored in a non-volatile storage medium (which may be a CD-ROM, USB memory, mobile hard disk, etc.) or a network. may be, and includes several instructions to cause one computing device (which may be a personal computer, a server, a touch terminal or a network device, etc.) to execute the method according to an embodiment of the present invention.

당업자들은 명세서 및 발명에 대한 응용을 통해 본 발명의 다른 실시 예를 쉽게 생각해낼 수 있을 것이다. 본 출원은 본 발명의 임의의 변형, 용도 또는 적응성 변화를 포함하는바, 이러한 변형, 용도 또는 적응성 변화는 본 발명의 일반 원리를 따르고 본 발명에서 공개되지 않은 기술 분야에서의 공지 상식 또는 관용 기술수단을 포함한다. 명세서와 실시예들은 단지 예시적인 것이며, 본 발명의 진정한 범위 및 사상은 후술되는 청구 범위를 참조할 수 있다. Other embodiments of the present invention can be readily devised by those skilled in the art from the application of the specification and the invention. This application covers any modification, use or adaptability change of the present invention, such modification, use or adaptability change follows the general principle of the present invention and means known common knowledge or conventional techniques in the technical field not disclosed in the present invention. includes The specification and examples are illustrative only, and the true scope and spirit of the invention may be referred to in the claims set forth below.

본 발명은 상술한 설명 및 도면에 도시된 정확한 구조에 의해 제한되지 않으며, 그 범위를 벗어나지 않는 전제하에 다양한 수정 및 변경이 이루어질 수 있음을 이해해야 한다. 본 발명의 범위는 첨부된 청구 범위에 의해서만 제한된다.It should be understood that the present invention is not limited by the precise structure shown in the foregoing description and drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (11)

인스턴트 메시징 클라이언트에 적용되는 데이터 전송 방법에 있어서,
목표 파일을 획득하는 단계;
상기 목표 파일의 크기가 소정의 임계값을 초과하지 않는 경우, 제 1 전송 형태로 상기 목표 파일을 전송하는 단계;
상기 목표 파일의 크기가 상기 소정의 임계값을 초과하는 경우, 제 2 전송 형태로 상기 목표 파일을 전송하는 단계;를 포함하되,
상기 목표 파일은 비디오 파일을 포함하고,
상기 제 1 전송 형태로 상기 목표 파일을 전송하는 단계는 상기 비디오 파일에 대해 포맷 변환 처리를 수행하여 인스턴트 통신 소프트웨어로 직접 재생할 수 있는 지정된 포맷의 멀티미디어 파일을 획득하는 단계; 및 상기 지정된 포맷의 멀티미디어 파일을 전송하는 단계;를 포함하고,
상기 제 2 전송 형태로 상기 목표 파일을 전송하는 단계는 파일을 전송하는 형태로 직접 상기 비디오 파일을 전송하는 단계를 포함하는 것을 특징으로 하는 데이터 전송 방법.
A data transmission method applied to an instant messaging client, comprising:
obtaining a target file;
transmitting the target file in a first transmission form when the size of the target file does not exceed a predetermined threshold;
When the size of the target file exceeds the predetermined threshold, transmitting the target file in a second transmission form;
the target file includes a video file;
Transmitting the target file in 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 back by instant communication software; and transmitting the multimedia file of the specified format;
The transmitting of the target file in the second transmission form comprises directly transmitting the video file in the form of transmitting the file.
삭제delete 제1항에 있어서,
상기 제 1 전송 형태로 상기 목표 파일을 전송하기 전에,
상기 비디오 파일이 포맷 변환 처리가 가능한지 여부를 판단하는 단계;
만일 상기 비디오 파일에 대해 포맷 변환 처리가 가능하다고 판단되면, 상기 제 1 전송 형태로 상기 목표 파일을 전송하는 단계;
만일 상기 비디오 파일에 대해 포맷 변환 처리가 불가하다고 판단되면, 상기 제 2 전송 형태로 상기 목표 파일을 전송하는 단계;를 더 포함하는 것을 특징으로 하는 데이터 전송 방법.
According to claim 1,
Before transmitting the target file in the first transmission form,
determining whether the video file is capable of format conversion processing;
transmitting the target file in the first transmission form if it is determined that the format conversion process for the video file is possible;
and transmitting the target file in the second transmission form if it is determined that the format conversion process for the video file is impossible.
제1항에 있어서,
상기 지정된 포맷의 멀티미디어 파일을 전송하기 전에,
상기 지정된 포맷의 멀티미디어 파일에 대해 압축 처리를 수행하는 단계를 더 포함하는 것을 특징으로 하는 데이터 전송 방법.
According to claim 1,
Before transmitting the multimedia file in the specified format,
The method of claim 1, further comprising the step of performing compression processing on the multimedia file of the specified format.
제1항에 있어서,
상기 지정된 포맷의 멀티미디어 파일에 대응하는 프리뷰를 생성하는 단계;
상기 지정된 포맷의 멀티미디어 파일 전송이 완료된 후, 상기 프리뷰를 표시하고, 상기 프리뷰에 재생 표지를 표시하는 단계;를 더 포함하는 것을 특징으로 하는 데이터 전송 방법.
According to claim 1,
generating a preview corresponding to the multimedia file of the specified format;
After the transmission of the multimedia file in the specified format is completed, displaying the preview and displaying a play mark on the preview.
삭제delete 제1항에 있어서,
상기 비디오 파일의 전송이 완료된 후, 파일 표지 및 상기 비디오 파일의 정보를 표시하는 단계를 더 포함하는 것을 특징으로 하는 데이터 전송 방법.
According to claim 1,
After the transmission of the video file is completed, the method further comprising the step of displaying a file cover and information of the video file.
제1항, 제3항 내지 제5항 및 제7항 중 임의의 한 항에 있어서,
상기 목표 파일은 비디오 파일을 포함하고, 상기 목표 파일의 크기가 상기 소정의 임계값을 초과하는지 여부를 판단하는 단계는,
상기 비디오 파일의 재생 시간이 소정의 시간을 초과하는지 여부를 판단 및 상기 비디오 파일의 데이터 양이 소정의 데이터 양을 초과하는지 여부를 판단하는 단계;
상기 비디오 파일의 재생 시간이 소정의 시간을 초과하는 경우 및 상기 비디오 파일의 데이터 양이 소정의 데이터 양을 초과하는 경우, 상기 목표 파일의 크기가 상기 소정의 임계값을 초과하는 것으로 판단하는 단계;
상기 비디오 파일의 재생 시간이 소정의 시간을 초과하지 않는 경우 및 상기 비디오 파일의 데이터 양이 소정의 데이터 양을 초과하지 않는 경우, 상기 목표 파일의 크기가 상기 소정의 임계값을 초과하지 않는 것으로 판단하는 단계;를 포함하는 것을 특징으로 하는 데이터 전송 방법.
8. The method of any one of claims 1, 3 to 5 and 7, wherein
The target file includes a video file, and determining whether the size of the target file exceeds the predetermined threshold includes:
determining whether the playback time of the video file exceeds a predetermined time and determining whether the data amount of the video file exceeds a predetermined data amount;
determining that the size of the target file exceeds the predetermined threshold when the playback time of the video file exceeds a predetermined time and when the data amount of the video file exceeds a predetermined data amount;
When the playback time of the video file does not exceed a predetermined time and when the data amount of the video file does not exceed a predetermined data amount, it is determined that the size of the target file does not exceed the predetermined threshold value Data transmission method comprising the;
인스턴트 메시징 소프트웨어가 설치된 클라이언트에 적용되는 데이터 전송 장치에 있어서,
목표 파일을 획득하는 획득 유닛;
상기 목표 파일의 크기가 소정의 임계값을 초과하지 않을 경우, 제 1 전송 형태로 목표 파일을 전송하는 제 1 전송 유닛;
상기 목표 파일의 크기가 소정의 임계값을 초과하는 경우, 제 2 전송 형태로 목표 파일을 전송하는 제 2 전송 유닛; 을 포함하되,
상기 목표 파일은 비디오 파일을 포함하고,
상기 제 1 전송 유닛은 상기 비디오 파일에 대해 포맷 변환 처리를 수행하여 인스턴트 통신 소프트웨어로 직접 재생할 수 있는 지정된 포맷의 멀티미디어 파일을 획득하고,
상기 제 2 전송 유닛은 파일을 전송하는 형태로 직접 상기 비디오 파일을 전송하는 것을 특징으로 하는 데이터 전송 장치.
A data transmission device applied to a client installed with instant messaging software,
an acquiring unit that acquires the target file;
a first transmission unit for transmitting the target file in a first transmission form when the size of the target file does not exceed a predetermined threshold;
a second transmission unit for transmitting the target file in a second transmission form when the size of the target file exceeds a predetermined threshold; including,
the target file includes a video file;
the first transmission unit performs format conversion processing on the video file to obtain a multimedia file of a specified format that can be directly played back by instant communication software;
and the second transmitting unit directly transmits the video file in the form of transmitting the file.
컴퓨터 프로그램이 저장되는 컴퓨터 판독 가능 저장 매체에 있어서,
상기 프로그램이 프로세서에 의해 실행될 때, 제1항, 제3항 내지 제5항 및 제7항 중 임의의 한 항에 따른 데이터 전송 방법이 구현되는 것을 특징으로 하는 컴퓨터 판독 가능 저장 매체.
A computer-readable storage medium storing a computer program, comprising:
A computer-readable storage medium, characterized in that when the program is executed by a processor, the data transfer method according to any one of claims 1, 3 to 5 and 7 is implemented.
전자 기기에 있어서,
하나 또는 그 이상의 프로세서;
하나 또는 그 이상의 프로그램이 저장되는 저장 장치를 포함하며,
상기 하나 또는 그 이상의 프로그램이 상기 하나 또는 그 이상의 프로세서에 의해 실행될 때, 상기 하나 또는 그 이상의 프로세서에 의해 제1항, 제3항 내지 제5항 및 제7항 중 임의의 한 항에 따른 데이터 전송 방법이 구현되는 것을 특징으로 하는 전자 기기.
In an electronic device,
one or more processors;
a storage device in which one or more programs are stored;
8. Data transfer according to any one of claims 1, 3 to 5 and 7 by said one or more processors when said one or more programs are executed by said one or more processors. An electronic device, characterized in that the method is implemented.
KR1020207023720A 2018-01-18 2018-10-19 data transfer KR102445154B1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201810048591.8 2018-01-18
CN201810048591.8A CN108566328B (en) 2018-01-18 2018-01-18 Data transmission method, device, medium and electronic equipment
PCT/CN2018/111093 WO2019140963A1 (en) 2018-01-18 2018-10-19 Data transmission

Publications (2)

Publication Number Publication Date
KR20200108348A KR20200108348A (en) 2020-09-17
KR102445154B1 true KR102445154B1 (en) 2022-09-19

Family

ID=63529850

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020207023720A KR102445154B1 (en) 2018-01-18 2018-10-19 data transfer

Country Status (4)

Country Link
KR (1) KR102445154B1 (en)
CN (1) CN108566328B (en)
AU (1) AU2018403361B2 (en)
WO (1) WO2019140963A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108566328B (en) * 2018-01-18 2021-03-02 北京三快在线科技有限公司 Data transmission method, device, medium and electronic equipment
CN116233805B (en) * 2021-12-06 2024-04-05 荣耀终端有限公司 File sharing method and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161633A (en) * 2016-07-20 2016-11-23 柏科数据技术(深圳)股份有限公司 A kind of based on the transmission method of packaging file under cloud computing environment and system
KR101731425B1 (en) * 2014-08-13 2017-04-28 에스프린팅솔루션 주식회사 Cloud system and method for displaying contents thereof

Family Cites Families (14)

* Cited by examiner, † Cited by third party
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 (en) * 2003-08-27 2008-07-30 腾讯科技(深圳)有限公司 Voice frequency/video frequency share method and system in instantaneous communication
CN101547161B (en) * 2008-03-28 2012-09-26 阿里巴巴集团控股有限公司 Folder transmission system, folder transmission device and folder transmission method
CN101599986B (en) * 2008-06-02 2012-08-08 宏碁股份有限公司 Method for increasing transmission speed of files and computer system
CN102685159B (en) * 2011-03-10 2016-08-17 腾讯科技(深圳)有限公司 Document transmission method and device
US20140359431A1 (en) * 2011-12-12 2014-12-04 Motorola Solutions, Inc. Effectively communicating large presence documents within high latency and lossy network environments
US20160234494A1 (en) * 2015-02-10 2016-08-11 Qualcomm Incorporated Restriction on palette block size in video coding
RU2634224C2 (en) * 2015-06-30 2017-10-24 Общество С Ограниченной Ответственностью "Яндекс" System and method and persistent computer-readable medium for file replication on client device for cloud storage
KR20170036300A (en) * 2015-09-24 2017-04-03 삼성전자주식회사 Method and electronic device for providing video
WO2017128069A1 (en) * 2016-01-26 2017-08-03 陈学良 Information pushing method in file transmission and transmission system
WO2017128070A1 (en) * 2016-01-26 2017-08-03 陈学良 File transmission method and transmission system
WO2017128068A1 (en) * 2016-01-26 2017-08-03 陈学良 Method for sending technical data when mobile phone transmits file and transmitting system
CN106657269B (en) * 2016-11-16 2020-05-15 西安诺瓦星云科技股份有限公司 File transmission method
CN108566328B (en) * 2018-01-18 2021-03-02 北京三快在线科技有限公司 Data transmission method, device, medium and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101731425B1 (en) * 2014-08-13 2017-04-28 에스프린팅솔루션 주식회사 Cloud system and method for displaying contents thereof
CN106161633A (en) * 2016-07-20 2016-11-23 柏科数据技术(深圳)股份有限公司 A kind of based on the transmission method of packaging file under cloud computing environment and system

Also Published As

Publication number Publication date
WO2019140963A1 (en) 2019-07-25
CN108566328B (en) 2021-03-02
CN108566328A (en) 2018-09-21
KR20200108348A (en) 2020-09-17
AU2018403361A1 (en) 2020-09-10
AU2018403361B2 (en) 2021-07-08

Similar Documents

Publication Publication Date Title
CN109194647B (en) Data transmission method and device, electronic equipment and storage medium
US10448082B2 (en) Information exchanging method and device, audio terminal and computer-readable storage medium
WO2021179882A1 (en) Image drawing method and apparatus, readable medium, and electronic device
CN107273083B (en) Interaction method, device, equipment and storage medium between terminal equipment
WO2020233142A1 (en) Multimedia file playback method and apparatus, electronic device, and storage medium
CN106888236B (en) Session management method and session management device
WO2020151599A1 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
WO2020207085A1 (en) Method and device for information sharing, electronic device, and storage medium
CN110365973B (en) Video detection method and device, electronic equipment and computer readable storage medium
CN103166941A (en) Data sharing method and device
CN110489440B (en) Data query method and device
CN112272226B (en) Picture loading method and device and readable storage medium
CN111367687A (en) Inter-process data communication method and device
CN111314433B (en) Message transmission method and device and electronic equipment
CN111291292A (en) Page rendering method and device, terminal equipment and storage medium
CN111093094A (en) Video transcoding method, device and system, electronic equipment and readable storage medium
KR102445154B1 (en) data transfer
CN112311720B (en) Data transmission method and device
CN110188782B (en) Image similarity determining method and device, electronic equipment and readable storage medium
CN110083768B (en) Information sharing method, device, equipment and medium
CN110673886B (en) Method and device for generating thermodynamic diagrams
CN110147283B (en) Display content switching display method, device, equipment and medium
CN111596864A (en) Method, device, server and storage medium for data delayed deletion
CN110889880A (en) Map processing method, device, equipment and storage medium
CN112732457A (en) Image transmission method, image transmission device, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
E902 Notification of reason for refusal
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant