[go: up one dir, main page]

CN104484144A - Image transmission method and device - Google Patents

Image transmission method and device Download PDF

Info

Publication number
CN104484144A
CN104484144A CN201410757896.8A CN201410757896A CN104484144A CN 104484144 A CN104484144 A CN 104484144A CN 201410757896 A CN201410757896 A CN 201410757896A CN 104484144 A CN104484144 A CN 104484144A
Authority
CN
China
Prior art keywords
terminal
picture
screen
coordinate data
transmission method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410757896.8A
Other languages
Chinese (zh)
Inventor
吴鸿儒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410757896.8A priority Critical patent/CN104484144A/en
Publication of CN104484144A publication Critical patent/CN104484144A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1446Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开了一种图片传输方法,包括:将图片从第一终端传输至第二终端;在传输图片的过程中或者传输完成后,在第一终端中将所述图片显示为由屏幕内经屏幕边缘向屏幕外移动;并将图片中移动到屏幕边缘处的坐标数据实时发送至第二终端;第二终端根据接收的坐标数据,对图片中已移出第一终端屏幕的部分进行实时显示;在第二终端中将图片显示为由屏幕外向屏幕内移动,直至显示为图片整体移入第二终端的屏幕。此外,还公开了一种图片传输装置。本发明不仅为用户提供一种更加便捷的交互方式,能够更好地适应当前快速的传输速度,而且图片接收端可以具象地看到图片的传输过程,不需要等到整张图片传输完毕即可进行观察和浏览。

The present invention discloses a method for transmitting an image, comprising: transmitting an image from a first terminal to a second terminal; during or after the image is transmitted, displaying the image in the first terminal as moving from the inside of the screen to the outside of the screen via the edge of the screen; and sending the coordinate data of the image moved to the edge of the screen to the second terminal in real time; the second terminal displays the portion of the image that has moved out of the screen of the first terminal in real time according to the received coordinate data; and displaying the image in the second terminal as moving from the outside of the screen to the inside of the screen until the image is displayed as being moved into the screen of the second terminal as a whole. In addition, a device for transmitting an image is also disclosed. The present invention not only provides a more convenient interactive method for users, which can better adapt to the current fast transmission speed, but also the image receiving end can concretely see the transmission process of the image, and can observe and browse the image without waiting for the entire image to be transmitted.

Description

图片传输方法及装置Image transmission method and device

技术领域technical field

本发明涉及图片传输技术领域,尤其涉及一种图片传输方法和一种图片传输装置。The present invention relates to the technical field of picture transmission, in particular to a picture transmission method and a picture transmission device.

背景技术Background technique

由于无线网络的出现,智能终端之间的数据传输变得更加便捷。例如,两部智能手机利用WIFI建立连接,当从一部手机向另一部手机传递数据时,一张图片的传递速度可以在1s以内。传统的图片传输交互模式如下:发送端选中图片后点击传输按钮,接收端在收到图片传输请求后选择是否接收,如果接收则在接收端的通知栏进行提示。Due to the emergence of wireless networks, data transmission between smart terminals has become more convenient. For example, two smartphones use WIFI to establish a connection. When transferring data from one mobile phone to another, the transmission speed of a picture can be within 1s. The traditional picture transmission interaction mode is as follows: the sender selects the picture and clicks the transfer button, and the receiver chooses whether to accept it after receiving the picture transmission request, and prompts in the notification bar of the receiver if it is received.

请参阅图1至图4,为传统的图片传输交互模式示意图。传统的交互模式的时序流一般为:图片发送端向图片接收端发送图片数据;图片接收端提示是否接收;图片接收端同意接收后在通知栏显示传输进度;图片传输完毕后图片接收端以广播提示的形式显示图片接收完成界面。Please refer to FIG. 1 to FIG. 4 , which are schematic diagrams of traditional image transmission interaction modes. The timing flow of the traditional interactive mode is generally as follows: the picture sender sends picture data to the picture receiver; the picture receiver prompts whether to receive; the picture receiver agrees to receive and displays the transmission progress in the notification bar; after the picture transmission is completed, the picture receiver sends a broadcast In the form of a prompt, the picture receiving completion interface is displayed.

上述图片传输方法在通知栏显示图片传输进度,避免打扰用户的其他使用情况。但其缺点是在图片传输过程中图片接收端无法获知图片的具体情况,需要在整张图片传输完毕后,才能打开图片进行观察和浏览。由于技术的突破,目前的传输速度大幅提升,传输一张图片的时间通常很短,用户对传输过程基本是感知不到的。因此,上述传统的图片传输方法正在失去原有的意义,与此同时,随着用户对交互速度的要求越来越高,传统方法所带来的问题也变得日益突出。The above picture transmission method displays the progress of the picture transmission in the notification bar, so as to avoid disturbing other usage situations of the user. But its disadvantage is that the picture receiving end cannot know the specific situation of the picture during the picture transmission process, and it needs to open the picture for observation and browsing after the whole picture transmission is completed. Due to technological breakthroughs, the current transmission speed has been greatly improved, and the time to transmit a picture is usually very short, and users basically cannot perceive the transmission process. Therefore, the above-mentioned traditional image transmission method is losing its original meaning. At the same time, as users have higher and higher requirements for interaction speed, the problems caused by the traditional method have become increasingly prominent.

发明内容Contents of the invention

基于此,本发明提供了一种图片传输方法和一种图片传输装置。Based on this, the present invention provides a picture transmission method and a picture transmission device.

一种图片传输方法,包括以下步骤:A picture transmission method, comprising the following steps:

将图片从第一终端传输至第二终端;transmitting the picture from the first terminal to the second terminal;

在传输所述图片的过程中或者传输完成后,在所述第一终端中将所述图片显示为由屏幕内经屏幕边缘向屏幕外移动,直至显示为所述图片整体移出所述第一终端的屏幕;并将所述图片中移动到所述屏幕边缘处的坐标数据实时发送至所述第二终端;During the process of transmitting the picture or after the transmission is completed, the picture is displayed on the first terminal as moving from the inside of the screen through the edge of the screen to the outside of the screen, until it is displayed that the picture moves out of the screen of the first terminal as a whole screen; and sending the coordinate data moved to the edge of the screen in the picture to the second terminal in real time;

所述第二终端根据接收的所述坐标数据,对所述图片中已移出所述第一终端屏幕的部分进行实时显示;在所述第二终端中将所述图片显示为由屏幕外向屏幕内移动,直至显示为所述图片整体移入所述第二终端的屏幕。The second terminal displays in real time the part of the picture that has been moved out of the screen of the first terminal according to the received coordinate data; in the second terminal, the picture is displayed from outside the screen to inside the screen moving until the picture is displayed as a whole moving into the screen of the second terminal.

与一般技术相比,本发明图片传输方法在传输图片的过程中或者传输完成后,所述图片在第一终端中为由屏幕内经屏幕边缘向屏幕外移动,在第二终端中为由屏幕外向屏幕内移动,直至所述图片整体移出第一终端的屏幕,也即所述图片整体移入第二终端的屏幕。本发明不仅为用户提供一种更加便捷的交互方式,能够更好地适应当前快速的传输速度,而且图片接收端可以具象地看到图片的传输过程,不需要等到整张图片传输完毕即可进行观察和浏览。Compared with the general technology, in the picture transmission method of the present invention, during the process of picture transmission or after the transmission is completed, the picture moves from the inside of the screen to the outside of the screen through the edge of the screen in the first terminal, and moves from the outside of the screen to the outside of the screen in the second terminal. Moving within the screen until the whole of the picture is moved out of the screen of the first terminal, that is, the whole of the picture is moved into the screen of the second terminal. The present invention not only provides users with a more convenient interactive mode, which can better adapt to the current fast transmission speed, but also the picture receiving end can see the picture transmission process concretely, without waiting for the whole picture to be transmitted. Observe and browse.

一种图片传输装置,包括设于第一终端上的图片发送模块、第一控制模块和坐标发送模块,以及设于第二终端上的图片接收模块、坐标接收模块和第二控制模块;A picture transmission device, comprising a picture sending module, a first control module and a coordinate sending module arranged on a first terminal, and a picture receiving module, a coordinate receiving module and a second control module arranged on a second terminal;

所述图片发送模块,用于在所述第一终端上将图片传输至所述第二终端;The picture sending module is configured to transmit pictures on the first terminal to the second terminal;

所述图片接收模块,用于在所述第二终端上接收所述图片;The picture receiving module is configured to receive the picture on the second terminal;

所述第一控制模块,用于在传输所述图片的过程中或者传输完成后,在所述第一终端中将所述图片显示为由屏幕内经屏幕边缘向屏幕外移动,直至显示为所述图片整体移出所述第一终端的屏幕;The first control module is configured to display the picture in the first terminal as moving from the inside of the screen through the edge of the screen to the outside of the screen during the process of transmitting the picture or after the transmission is completed, until the picture is displayed as the moving the picture out of the screen of the first terminal as a whole;

所述坐标发送模块,用于将所述图片中移动到所述第一终端的屏幕边缘处的坐标数据实时发送至所述第二终端;The coordinate sending module is configured to send the coordinate data in the picture moved to the edge of the screen of the first terminal to the second terminal in real time;

所述坐标接收模块,用于在所述第二终端上接收所述坐标数据;The coordinate receiving module is configured to receive the coordinate data on the second terminal;

所述第二控制模块,用于根据接收的所述坐标数据,在所述第二终端上对所述图片中已移出所述第一终端屏幕的部分进行实时显示;在所述第二终端中将所述图片显示为由屏幕外向屏幕内移动,直至显示为所述图片整体移入所述第二终端的屏幕。The second control module is configured to display, on the second terminal, the part of the picture that has been moved out of the screen of the first terminal in real time according to the received coordinate data; in the second terminal displaying the picture as moving from outside the screen to inside the screen until the picture is displayed as a whole moving into the screen of the second terminal.

与一般技术相比,本发明图片传输装置在传输图片的过程中或者传输完成后,所述图片在第一终端中为由屏幕内经屏幕边缘向屏幕外移动,在第二终端中为由屏幕外向屏幕内移动,直至所述图片整体移出第一终端的屏幕,也即所述图片整体移入第二终端的屏幕。本发明不仅为用户提供一种更加便捷的交互方式,能够更好地适应当前快速的传输速度,而且图片接收端可以具象地看到图片的传输过程,不需要等到整张图片传输完毕即可进行观察和浏览。Compared with the general technology, the picture transmission device of the present invention moves from the inside of the screen to the outside of the screen through the edge of the screen in the first terminal during the process of transmitting pictures or after the transmission is completed, and moves from the outside of the screen to Moving within the screen until the whole of the picture is moved out of the screen of the first terminal, that is, the whole of the picture is moved into the screen of the second terminal. The present invention not only provides users with a more convenient interactive mode, which can better adapt to the current fast transmission speed, but also the picture receiving end can see the picture transmission process concretely, without waiting for the whole picture to be transmitted. Observe and browse.

附图说明Description of drawings

图1为传统的图片传输交互模式示意图之一;FIG. 1 is one of the schematic diagrams of traditional image transmission interaction modes;

图2为传统的图片传输交互模式示意图之二;Fig. 2 is the second schematic diagram of the traditional picture transmission interaction mode;

图3为传统的图片传输交互模式示意图之三;Fig. 3 is the third schematic diagram of the traditional picture transmission interaction mode;

图4为传统的图片传输交互模式示意图之四;Fig. 4 is the fourth schematic diagram of the traditional picture transmission interaction mode;

图5为本发明图片传输方法的流程示意图;Fig. 5 is a schematic flow chart of the picture transmission method of the present invention;

图6为本发明图片传输方法一个优选实施例中的第一终端示意图;FIG. 6 is a schematic diagram of a first terminal in a preferred embodiment of the picture transmission method of the present invention;

图7为本发明图片传输方法一个优选实施例中的第二终端示意图。Fig. 7 is a schematic diagram of a second terminal in a preferred embodiment of the picture transmission method of the present invention.

具体实施方式detailed description

为更进一步阐述本发明所采取的技术手段及取得的效果,下面结合附图及较佳实施例,对本发明的技术方案,进行清楚和完整的描述。In order to further illustrate the technical means adopted by the present invention and the achieved effects, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings and preferred embodiments.

请参阅图5,为本发明图片传输方法的流程示意图。Please refer to FIG. 5 , which is a schematic flowchart of the image transmission method of the present invention.

本发明图片传输方法,包括以下步骤:The picture transmission method of the present invention comprises the following steps:

S101将图片从第一终端传输至第二终端;S101 transmit the picture from the first terminal to the second terminal;

S102在传输所述图片的过程中或者传输完成后,在所述第一终端中将所述图片显示为由屏幕内经屏幕边缘向屏幕外移动,直至显示为所述图片整体移出所述第一终端的屏幕;并将所述图片中移动到所述屏幕边缘处的坐标数据实时发送至所述第二终端;S102 During the process of transmitting the picture or after the transmission is completed, display the picture on the first terminal as moving from the inside of the screen through the edge of the screen to the outside of the screen until the picture is displayed as a whole moving out of the first terminal screen; and sending the coordinate data moved to the edge of the screen in the picture to the second terminal in real time;

S103所述第二终端根据接收的所述坐标数据,对所述图片中已移出所述第一终端屏幕的部分进行实时显示;在所述第二终端中将所述图片显示为由屏幕外向屏幕内移动,直至显示为所述图片整体移入所述第二终端的屏幕。S103 The second terminal displays in real time the part of the picture that has been moved out of the screen of the first terminal according to the received coordinate data; in the second terminal, the picture is displayed from outside the screen to the screen until the picture is displayed as a whole moving into the screen of the second terminal.

在步骤S101中,可以采用各种手段将图片从第一终端传输至第二终端。所述第一终端为图片发送端,所述第二终端为图片接收端。在传输之前,所述第一终端的用户选择待传输的图片,与图片接收端建立连接并传送图片。In step S101, various means may be used to transmit the picture from the first terminal to the second terminal. The first terminal is a picture sending end, and the second terminal is a picture receiving end. Before the transmission, the user of the first terminal selects the picture to be transmitted, establishes a connection with the picture receiving end and transmits the picture.

作为一种优选的具体实施方式,所述将图片从第一终端传输至第二终端的步骤,包括以下步骤:As a preferred specific implementation manner, the step of transmitting pictures from the first terminal to the second terminal includes the following steps:

所述第一终端和所述第二终端通过WiFi Direct建立无线网络连接;The first terminal and the second terminal establish a wireless network connection through WiFi Direct;

通过所述WiFi Direct建立的无线网络连接将图片从所述第一终端传输至所述第二终端。The picture is transmitted from the first terminal to the second terminal through the wireless network connection established by the WiFi Direct.

通过WiFi Direct建立所述第一终端和所述第二终端的连接,然后所述第一终端将选定的所述图片分享给所述第二终端。除WiFi Direct之外,也可采用红外技术或蓝牙技术等其他技术建立连接,实现图片的传输。但相较之下,WiFiDirect的传输速率较高,兼容性也较好。Establishing a connection between the first terminal and the second terminal through WiFi Direct, and then the first terminal shares the selected picture with the second terminal. In addition to WiFi Direct, other technologies such as infrared technology or Bluetooth technology can also be used to establish a connection to realize the transmission of pictures. But in comparison, WiFiDirect has a higher transmission rate and better compatibility.

作为一种优选的具体实施方式,所述将图片从第一终端传输至第二终端的步骤之前,包括以下步骤:As a preferred specific implementation manner, before the step of transmitting the picture from the first terminal to the second terminal, the following steps are included:

在所述第二终端中生成是否接收所述图片的提示。A prompt indicating whether to receive the picture is generated in the second terminal.

当所述第一终端向所述第二终端发送图片时,在两者已经建立连接时,在作为图片接收端的第二终端中提示用户是否同意接收图片,如果用户同意接收则第二终端开始接收图片文件。用户可以通过点击按钮的方式实现对图片传输的接受。通常在采用WiFi Direct建立无线网络连接时,由于传输速率较快,在用户点击按钮表示同意接收的操作完成之后,图片已经在第二终端的后台传送完毕。When the first terminal sends a picture to the second terminal, when the two have established a connection, the second terminal as the picture receiving end prompts the user whether to agree to receive the picture, and if the user agrees to receive the picture, the second terminal starts to receive the picture. picture file. The user can accept the picture transmission by clicking the button. Usually, when WiFi Direct is used to establish a wireless network connection, due to the faster transmission rate, after the user clicks the button to agree to receive the operation, the picture has been transmitted in the background of the second terminal.

请参阅图6,为本发明图片传输方法一个优选实施例中的第一终端示意图。Please refer to FIG. 6 , which is a schematic diagram of the first terminal in a preferred embodiment of the picture transmission method of the present invention.

请参阅图7,为本发明图片传输方法一个优选实施例中的第二终端示意图。Please refer to FIG. 7 , which is a schematic diagram of the second terminal in a preferred embodiment of the picture transmission method of the present invention.

作为一种优选的具体实施方式,所述在所述第一终端中将所述图片显示为由屏幕内经屏幕边缘向屏幕外移动的步骤,包括以下步骤:As a preferred specific implementation manner, the step of displaying the picture in the first terminal as moving from the inside of the screen through the edge of the screen to the outside of the screen includes the following steps:

在所述第一终端中将所述图片显示为由屏幕的右侧边缘移出。The picture is displayed in the first terminal as moving out from the right edge of the screen.

由图6中可知,在所述第一终端中将所述图片显示为由屏幕内经屏幕的右侧边缘向屏幕外移动,直至显示为所述图片整体移出所述第一终端的屏幕。上述显示过程可以在传输所述图片的过程中进行,也可以在图片传输完成后进行。由于在采用WiFi Direct建立无线网络连接时传输速率较快,在用户点击按钮表示同意接收的操作完成之后,图片已经在第二终端的后台传送完毕,用户来不及觉察整个传输过程。当传输速率没有很快时,图片传输可能会花费一定时间,这时可以采用传输与显示同时进行的方式。As can be seen from FIG. 6 , in the first terminal, the picture is displayed as moving from the inside of the screen through the right edge of the screen to the outside of the screen until the picture is displayed as a whole moving out of the screen of the first terminal. The above display process may be performed during the transmission of the picture, or after the transmission of the picture is completed. Since the transmission rate is faster when using WiFi Direct to establish a wireless network connection, after the user clicks the button to agree to receive the operation, the picture has already been transmitted in the background of the second terminal, and the user has no time to notice the entire transmission process. When the transmission rate is not very fast, the image transmission may take a certain amount of time. At this time, the method of simultaneous transmission and display can be adopted.

优选的,在所述第一终端中将所述图片显示为由屏幕的右侧边缘匀速移出。匀速移出能够使得对过程的显示更加稳定。Preferably, the picture is displayed in the first terminal as moving out from the right edge of the screen at a constant speed. Moving out at a constant speed can make the display of the process more stable.

作为一种优选的具体实施方式,所述在所述第二终端中将所述图片显示为由屏幕外向屏幕内移动的步骤,包括以下步骤:As a preferred specific implementation manner, the step of displaying the picture in the second terminal as moving from outside the screen to inside the screen includes the following steps:

在所述第二终端中将所述图片显示为由屏幕的左侧边缘移入。The picture is displayed in the second terminal as moving in from the left edge of the screen.

由图7中可知,所述第二终端根据接收的所述坐标数据,对所述图片中已移出所述第一终端屏幕的部分进行实时显示;在所述第二终端中将所述图片显示为从屏幕外由屏幕的左侧边缘向屏幕内移动,直至显示为所述图片整体移入所述第二终端的屏幕。As can be seen from FIG. 7, the second terminal displays in real time the part of the picture that has been moved out of the screen of the first terminal according to the received coordinate data; the picture is displayed in the second terminal To move from outside the screen to the inside of the screen from the left edge of the screen until the picture is displayed as a whole moving into the screen of the second terminal.

当所述第一终端和所述第二终端并排放置时(可通过将图6和图7并排放置以求直观效果),图片的传输过程从视觉效果上等同于从第一终端的屏幕逐渐滑出,然后逐渐滑入第二终端。When the first terminal and the second terminal are placed side by side (you can place Fig. 6 and Fig. 7 side by side for an intuitive effect), the transmission process of the picture is visually equivalent to gradually sliding from the screen of the first terminal out, and then gradually slide into the second terminal.

作为一种优选的具体实施方式,所述将所述图片中移动到所述屏幕边缘处的坐标数据实时发送至所述第二终端的步骤,包括以下步骤:As a preferred specific implementation manner, the step of sending the coordinate data moved to the edge of the screen in the picture to the second terminal in real time includes the following steps:

以所述图片的左上角端点为原点建立坐标系,实时获取所述图片中移动到所述第一终端屏幕的右侧边缘的坐标数据;Establishing a coordinate system with the endpoint of the upper left corner of the picture as the origin, and obtaining coordinate data in the picture moved to the right edge of the first terminal screen in real time;

将获取的所述坐标数据实时发送至所述第二终端。and sending the acquired coordinate data to the second terminal in real time.

仍以图6所示的实施例为例,以图片的左上角端点为原点建立坐标系,第一终端中的图片已向右滑动,并实时传送图片移动到屏幕左侧边缘的坐标数据给第二终端;Still taking the embodiment shown in Figure 6 as an example, a coordinate system is established with the endpoint of the upper left corner of the picture as the origin, the picture in the first terminal has been slid to the right, and the coordinate data of moving the picture to the left edge of the screen is transmitted to the second terminal in real time. two terminals;

第二终端根据第一终端传送过来的坐标数据来展示坐标数据以右的图片部分并以相同的速度移动。直至显示为所述图片整体移入所述第二终端的屏幕,两个终端的图片数据无缝传输完成。其中,坐标数据以右的图片部分,指的是所述图片中已移出所述第一终端屏幕的部分。由于图片移动是个动态过程,因此在不同的时刻第一终端的屏幕中所显示的图片是不同的,只是所述图片的一个部分。在视觉效果上表现为一部分图片已经移出所述第一终端的屏幕,另一部分还没有移出。而已经移出第一终端屏幕的图片部分,在视觉效果上呈现在所述第二终端的屏幕上,也即第一终端和第二终端的屏幕上所显示的均为图片的一部分,两部分共同组成完整的图片。以相同的速度移动,指的是在视觉效果上图片从第一终端屏幕上移出的速度与从第二终端屏幕上移入的速度是相同的。According to the coordinate data sent by the first terminal, the second terminal displays the part of the picture to the right of the coordinate data and moves at the same speed. Until it is displayed that the picture as a whole moves into the screen of the second terminal, the seamless transmission of the picture data of the two terminals is completed. Wherein, the part of the picture to the right of the coordinate data refers to the part of the picture that has been moved out of the screen of the first terminal. Since picture movement is a dynamic process, the pictures displayed on the screen of the first terminal are different at different times and are only a part of the picture. Visually, it appears that a part of the picture has been moved out of the screen of the first terminal, while another part has not been moved out. The part of the picture that has been removed from the screen of the first terminal is visually presented on the screen of the second terminal, that is, what is displayed on the screens of the first terminal and the second terminal are both part of the picture, and the two parts share to form a complete picture. Moving at the same speed means that in terms of visual effect, the speed at which the picture moves out of the screen of the first terminal is the same as the speed at which it moves in from the screen of the second terminal.

另外,对于如下显示过程:在所述第一终端中将所述图片显示为由屏幕内经屏幕边缘向屏幕外移动,在所述第二终端中将所述图片显示为由屏幕外向屏幕内移动;该显示过程可以通过用户的手指触发或者自动触发。当为自动触发时,在所述第一终端向第二终端传输图片时,上述显示过程就自动进行,无需用户手动执行额外操作。当为手指触发时,例如当第一终端向第二终端发送图片完毕时,用户可以通过手指进行触摸点击操作,在第一终端中将所述图片拖动以实现由屏幕内经屏幕边缘向屏幕外移动,与此同时在第二终端中显示为由屏幕外向屏幕内移动。当通过触摸拖动图片时,图片移动的速度、节奏等整个过程均可以根据用户的拖动速度决定。In addition, for the following display process: displaying the picture in the first terminal as moving from the inside of the screen through the edge of the screen to outside the screen, and displaying the picture in the second terminal as moving from outside the screen to inside the screen; The display process can be triggered by the user's finger or automatically. When the trigger is automatic, when the first terminal transmits the picture to the second terminal, the above display process is automatically performed, without requiring the user to manually perform additional operations. When it is triggered by a finger, for example, when the first terminal finishes sending the picture to the second terminal, the user can touch and click with the finger, and drag the picture on the first terminal to move from the inside of the screen to the outside of the screen through the edge of the screen. At the same time, it is displayed on the second terminal as moving from outside the screen to inside the screen. When the picture is dragged by touching, the whole process such as the moving speed and rhythm of the picture can be determined according to the user's dragging speed.

作为一种优选的具体实施方式,所述图片为照片。As a preferred specific implementation manner, the picture is a photo.

随着目前智能终端拍照功能的完善,在智能终端中存储的图片很大比例为照片。本发明可适用于照片的传输,以满足用户对照片共享的需求。With the improvement of the camera function of the smart terminal at present, a large proportion of pictures stored in the smart terminal are photos. The present invention is applicable to the transmission of photos, so as to meet users' demands on photo sharing.

作为一种优选的具体实施方式,所述第一终端和所述第二终端为智能手机。As a preferred specific implementation manner, the first terminal and the second terminal are smart phones.

智能手机作为一种应用广泛的智能终端,可以使得本发明取得更大范围的应用,为用户带来便利。As a widely used intelligent terminal, the smart phone can make the present invention have a wider range of applications and bring convenience to users.

与一般技术相比,本发明图片传输方法在传输图片的过程中或者传输完成后,所述图片在第一终端中为由屏幕内经屏幕边缘向屏幕外移动,在第二终端中为由屏幕外向屏幕内移动,直至所述图片整体移出第一终端的屏幕,也即所述图片整体移入第二终端的屏幕。本发明不仅为用户提供一种更加便捷的交互方式,能够更好地适应当前快速的传输速度,而且图片接收端可以具象地看到图片的传输过程,不需要等到整张图片传输完毕即可进行观察和浏览。Compared with the general technology, in the picture transmission method of the present invention, during the process of picture transmission or after the transmission is completed, the picture moves from the inside of the screen to the outside of the screen through the edge of the screen in the first terminal, and moves from the outside of the screen to the outside of the screen in the second terminal. Moving within the screen until the whole of the picture is moved out of the screen of the first terminal, that is, the whole of the picture is moved into the screen of the second terminal. The present invention not only provides users with a more convenient interactive mode, which can better adapt to the current fast transmission speed, but also the picture receiving end can see the picture transmission process concretely, without waiting for the whole picture to be transmitted. Observe and browse.

此外,本发明还公开了一种图片传输装置,包括设于第一终端上的图片发送模块、第一控制模块和坐标发送模块,以及设于第二终端上的图片接收模块、坐标接收模块和第二控制模块;In addition, the present invention also discloses a picture transmission device, which includes a picture sending module, a first control module and a coordinate sending module arranged on the first terminal, and a picture receiving module, a coordinate receiving module and a coordinate sending module arranged on the second terminal. a second control module;

所述图片发送模块,用于在所述第一终端上将图片传输至所述第二终端;The picture sending module is configured to transmit pictures on the first terminal to the second terminal;

所述图片接收模块,用于在所述第二终端上接收所述图片;The picture receiving module is configured to receive the picture on the second terminal;

所述第一控制模块,用于在传输所述图片的过程中或者传输完成后,在所述第一终端中将所述图片显示为由屏幕内经屏幕边缘向屏幕外移动,直至显示为所述图片整体移出所述第一终端的屏幕;The first control module is configured to display the picture in the first terminal as moving from the inside of the screen through the edge of the screen to the outside of the screen during the process of transmitting the picture or after the transmission is completed, until the picture is displayed as the moving the picture out of the screen of the first terminal as a whole;

所述坐标发送模块,用于将所述图片中移动到所述第一终端的屏幕边缘处的坐标数据实时发送至所述第二终端;The coordinate sending module is configured to send the coordinate data in the picture moved to the edge of the screen of the first terminal to the second terminal in real time;

所述坐标接收模块,用于在所述第二终端上接收所述坐标数据;The coordinate receiving module is configured to receive the coordinate data on the second terminal;

所述第二控制模块,用于根据接收的所述坐标数据,在所述第二终端上对所述图片中已移出所述第一终端屏幕的部分进行实时显示;在所述第二终端中将所述图片显示为由屏幕外向屏幕内移动,直至显示为所述图片整体移入所述第二终端的屏幕。The second control module is configured to display, on the second terminal, the part of the picture that has been moved out of the screen of the first terminal in real time according to the received coordinate data; in the second terminal displaying the picture as moving from outside the screen to inside the screen until the picture is displayed as a whole moving into the screen of the second terminal.

优选的,所述第一终端和所述第二终端通过WiFi Direct建立无线网络连接;通过所述WiFi Direct建立的无线网络连接将图片从所述第一终端传输至所述第二终端。Preferably, the first terminal and the second terminal establish a wireless network connection through WiFi Direct; the wireless network connection established through the WiFi Direct transmits pictures from the first terminal to the second terminal.

通过WiFi Direct建立所述第一终端和所述第二终端的连接,然后所述第一终端将选定的所述图片分享给所述第二终端。除WiFi Direct之外,也可采用红外技术或蓝牙技术等其他技术建立连接,实现图片的传输。但相较之下,WiFiDirect的传输速率较高,兼容性也较好。Establishing a connection between the first terminal and the second terminal through WiFi Direct, and then the first terminal shares the selected picture with the second terminal. In addition to WiFi Direct, other technologies such as infrared technology or Bluetooth technology can also be used to establish a connection to realize the transmission of pictures. But in comparison, WiFiDirect has a higher transmission rate and better compatibility.

优选的,在所述第一终端中将所述图片显示为由屏幕的右侧边缘移出。Preferably, the picture is displayed in the first terminal as moving out from the right edge of the screen.

由图6中可知,在所述第一终端中将所述图片显示为由屏幕内经屏幕的右侧边缘向屏幕外移动,直至显示为所述图片整体移出所述第一终端的屏幕。上述显示过程可以在传输所述图片的过程中进行,也可以在图片传输完成后进行。由于在采用WiFi Direct建立无线网络连接时传输速率较快,在用户点击按钮表示同意接收的操作完成之后,图片已经在第二终端的后台传送完毕,用户来不及觉察整个传输过程。当传输速率没有很快时,图片传输可能会花费一定时间,这时可以采用传输与显示同时进行的方式。As can be seen from FIG. 6 , in the first terminal, the picture is displayed as moving from the inside of the screen through the right edge of the screen to the outside of the screen until the picture is displayed as a whole moving out of the screen of the first terminal. The above display process may be performed during the transmission of the picture, or after the transmission of the picture is completed. Since the transmission rate is faster when using WiFi Direct to establish a wireless network connection, after the user clicks the button to agree to receive the operation, the picture has already been transmitted in the background of the second terminal, and the user has no time to notice the entire transmission process. When the transmission rate is not very fast, the image transmission may take a certain amount of time. At this time, the method of simultaneous transmission and display can be adopted.

优选的,在所述第二终端中将所述图片显示为由屏幕的左侧边缘移入。Preferably, the picture is displayed in the second terminal as moving in from the left edge of the screen.

由图7中可知,所述第二终端根据接收的所述坐标数据,对所述图片中已移出所述第一终端屏幕的部分进行实时显示;在所述第二终端中将所述图片显示为从屏幕外由屏幕的左侧边缘向屏幕内移动,直至显示为所述图片整体移入所述第二终端的屏幕。As can be seen from FIG. 7, the second terminal displays in real time the part of the picture that has been moved out of the screen of the first terminal according to the received coordinate data; the picture is displayed in the second terminal To move from outside the screen to the inside of the screen from the left edge of the screen until the picture is displayed as a whole moving into the screen of the second terminal.

当所述第一终端和所述第二终端并排放置时(可通过将图6和图7并排放置以求直观效果),图片的传输过程从视觉效果上等同于从第一终端的屏幕逐渐滑出,然后逐渐滑入第二终端。When the first terminal and the second terminal are placed side by side (you can place Fig. 6 and Fig. 7 side by side for an intuitive effect), the transmission process of the picture is visually equivalent to gradually sliding from the screen of the first terminal out, and then gradually slide into the second terminal.

优选的,以所述图片的左上角端点为原点建立坐标系,实时获取所述图片中移动到所述第一终端屏幕的右侧边缘的坐标数据;将获取的所述坐标数据实时发送至所述第二终端。Preferably, a coordinate system is established with the endpoint of the upper left corner of the picture as the origin, and the coordinate data moved to the right edge of the first terminal screen in the picture is obtained in real time; the obtained coordinate data is sent to the second terminal.

仍以图6所示的实施例为例,以图片的左上角端点为原点建立坐标系,第一终端中的图片已向右滑动,并实时传送图片移动到屏幕左侧边缘的坐标数据给第二终端;Still taking the embodiment shown in Figure 6 as an example, a coordinate system is established with the endpoint of the upper left corner of the picture as the origin, the picture in the first terminal has been slid to the right, and the coordinate data of moving the picture to the left edge of the screen is transmitted to the second terminal in real time. two terminals;

第二终端根据第一终端传送过来的坐标数据来展示坐标数据以右的图片部分并以相同的速度移动。直至显示为所述图片整体移入所述第二终端的屏幕,两个终端的图片数据无缝传输完成。According to the coordinate data sent by the first terminal, the second terminal displays the part of the picture to the right of the coordinate data and moves at the same speed. Until it is displayed that the picture as a whole moves into the screen of the second terminal, the seamless transmission of the picture data of the two terminals is completed.

与一般技术相比,本发明图片传输装置在传输图片的过程中或者传输完成后,所述图片在第一终端中为由屏幕内经屏幕边缘向屏幕外移动,在第二终端中为由屏幕外向屏幕内移动,直至所述图片整体移出第一终端的屏幕,也即所述图片整体移入第二终端的屏幕。本发明不仅为用户提供一种更加便捷的交互方式,能够更好地适应当前快速的传输速度,而且图片接收端可以具象地看到图片的传输过程,不需要等到整张图片传输完毕即可进行观察和浏览。Compared with the general technology, the picture transmission device of the present invention moves from the inside of the screen to the outside of the screen through the edge of the screen in the first terminal during the process of transmitting pictures or after the transmission is completed, and moves from the outside of the screen to Moving within the screen until the whole of the picture is moved out of the screen of the first terminal, that is, the whole of the picture is moved into the screen of the second terminal. The present invention not only provides users with a more convenient interactive mode, which can better adapt to the current fast transmission speed, but also the picture receiving end can see the picture transmission process concretely, without waiting for the whole picture to be transmitted. Observe and browse.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present invention. It should be pointed out that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.

Claims (10)

1. a picture transmission method, is characterized in that, comprises the following steps:
Picture is transferred to the second terminal from first terminal;
In the process of the described picture of transmission or after being transmitted, in described first terminal, described picture is shown as and moves outside screen through screen edge by screen, until be shown as the screen that described picture entirety shifts out described first terminal; And the coordinate data moving to described screen edge place in described picture is sent to described second terminal in real time;
Described second terminal, according to the described coordinate data received, shows in real time to the part having shifted out described first terminal screen in described picture; In the second terminal described picture is shown as and moves by the export-oriented screen of screen, until be shown as the screen that described picture entirety moves into described second terminal.
2. picture transmission method according to claim 1, is characterized in that, described step picture being transferred to the second terminal from first terminal, comprises the following steps:
Described first terminal is set up wireless network with described second terminal by WiFi Direct and is connected;
Picture is transferred to described second terminal from described first terminal by the wireless network connection of being set up by described WiFi Direct.
3. picture transmission method according to claim 1, is characterized in that, described picture is transferred to the step of the second terminal from first terminal before, comprise the following steps:
Generate the prompting whether receiving described picture in the second terminal.
4. picture transmission method according to claim 1, is characterized in that, described in described first terminal, described picture is shown as by screen through the step of screen edge to movement outside screen, comprise the following steps:
In described first terminal, described picture is shown as and is shifted out by the right side edge of screen.
5. picture transmission method according to claim 4, is characterized in that, describedly described picture is shown as the step skidded off by the right side edge of screen in described first terminal, comprises the following steps:
In described first terminal, described picture is shown as and is at the uniform velocity shifted out by the right side edge of screen.
6. picture transmission method according to claim 1, is characterized in that, is describedly shown as by described picture in the second terminal by the step of movement in the export-oriented screen of screen, comprises the following steps:
In the second terminal described picture is shown as and is moved into by the left side edge of screen.
7. picture transmission method according to claim 4, is characterized in that, the described step coordinate data moving to described screen edge place in described picture being sent in real time described second terminal, comprises the following steps:
With the upper left corner end points of described picture for initial point sets up coordinate system, in picture described in Real-time Obtaining, move to the coordinate data of the right side edge of described first terminal screen;
The described coordinate data obtained is sent to described second terminal in real time.
8. picture transmission method according to any one of claim 1 to 7, is characterized in that, described picture is photo.
9. picture transmission method according to any one of claim 1 to 7, is characterized in that, described first terminal and described second terminal are smart mobile phone.
10. a picture transfer device, is characterized in that, comprises the picture sending module be located on first terminal, the first control module and coordinate sending module, and is located at picture receiver module, coordinate receiver module and the second control module in the second terminal;
Described picture sending module, on described first terminal by picture transfer to described second terminal;
Described picture receiver module, for receiving described picture in described second terminal;
Described first control module, for in the process of the described picture of transmission or after being transmitted, in described first terminal, described picture is shown as and moves outside screen through screen edge by screen, until be shown as the screen that described picture entirety shifts out described first terminal;
Described coordinate sending module, for being sent to described second terminal in real time by the coordinate data at the screen edge place moving to described first terminal in described picture;
Described coordinate receiver module, for receiving described coordinate data in described second terminal;
Described second control module, for according to the described coordinate data received, in described second terminal to described picture in shifted out described first terminal screen part show in real time; In the second terminal described picture is shown as and moves by the export-oriented screen of screen, until be shown as the screen that described picture entirety moves into described second terminal.
CN201410757896.8A 2014-12-10 2014-12-10 Image transmission method and device Pending CN104484144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410757896.8A CN104484144A (en) 2014-12-10 2014-12-10 Image transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410757896.8A CN104484144A (en) 2014-12-10 2014-12-10 Image transmission method and device

Publications (1)

Publication Number Publication Date
CN104484144A true CN104484144A (en) 2015-04-01

Family

ID=52758692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410757896.8A Pending CN104484144A (en) 2014-12-10 2014-12-10 Image transmission method and device

Country Status (1)

Country Link
CN (1) CN104484144A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227771A (en) * 2015-09-28 2016-01-06 努比亚技术有限公司 Picture transmission method and device
CN105681441A (en) * 2016-01-29 2016-06-15 腾讯科技(深圳)有限公司 Data transmission method and apparatus
CN105867779A (en) * 2016-03-29 2016-08-17 北京金山安全软件有限公司 Picture transmission method and device and electronic equipment
CN105892851A (en) * 2016-03-29 2016-08-24 北京金山安全软件有限公司 Visual resource transmission method and device and electronic equipment
CN105931081A (en) * 2016-05-10 2016-09-07 腾讯科技(深圳)有限公司 Method and apparatus for processing events
CN107580039A (en) * 2017-08-29 2018-01-12 广东欧珀移动通信有限公司 Transmission progress display method, device and terminal
US12073071B2 (en) 2020-07-29 2024-08-27 Huawei Technologies Co., Ltd. Cross-device object drag method and device
US12197693B2 (en) 2020-08-26 2025-01-14 Huawei Technologies Co., Ltd. Method and device for displaying a projection interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008039000A1 (en) * 2006-09-25 2008-04-03 Lg Electronics Inc. Image signal receiver and method of displaying progress bars
CN101888440A (en) * 2010-03-22 2010-11-17 宇龙计算机通信科技(深圳)有限公司 Method and system for displaying information transmission progress of mobile terminal, and mobile terminal
CN102624873A (en) * 2012-02-16 2012-08-01 上海华勤通讯技术有限公司 Image sharing method, image sharing system and electronic equipment
CN103873637A (en) * 2012-12-10 2014-06-18 腾讯科技(深圳)有限公司 Cross-device transmission method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008039000A1 (en) * 2006-09-25 2008-04-03 Lg Electronics Inc. Image signal receiver and method of displaying progress bars
CN101888440A (en) * 2010-03-22 2010-11-17 宇龙计算机通信科技(深圳)有限公司 Method and system for displaying information transmission progress of mobile terminal, and mobile terminal
CN102624873A (en) * 2012-02-16 2012-08-01 上海华勤通讯技术有限公司 Image sharing method, image sharing system and electronic equipment
CN103873637A (en) * 2012-12-10 2014-06-18 腾讯科技(深圳)有限公司 Cross-device transmission method and device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227771A (en) * 2015-09-28 2016-01-06 努比亚技术有限公司 Picture transmission method and device
CN105227771B (en) * 2015-09-28 2020-07-10 珠海大横琴科技发展有限公司 Picture transmission method and device
CN105681441B (en) * 2016-01-29 2019-06-28 腾讯科技(深圳)有限公司 Data transmission method and device
CN105681441A (en) * 2016-01-29 2016-06-15 腾讯科技(深圳)有限公司 Data transmission method and apparatus
US11048403B2 (en) 2016-01-29 2021-06-29 Tencent Technology (Shenzhen) Company Limited Method and device for animating graphic symbol for indication of data transmission
WO2017129053A1 (en) * 2016-01-29 2017-08-03 腾讯科技(深圳)有限公司 Data transmission method and device
CN105892851A (en) * 2016-03-29 2016-08-24 北京金山安全软件有限公司 Visual resource transmission method and device and electronic equipment
CN105867779A (en) * 2016-03-29 2016-08-17 北京金山安全软件有限公司 Picture transmission method and device and electronic equipment
CN105931081A (en) * 2016-05-10 2016-09-07 腾讯科技(深圳)有限公司 Method and apparatus for processing events
US10931605B2 (en) 2016-05-10 2021-02-23 Tencent Technology (Shenzhen) Company Limited Event processing method and apparatus
CN107580039A (en) * 2017-08-29 2018-01-12 广东欧珀移动通信有限公司 Transmission progress display method, device and terminal
CN107580039B (en) * 2017-08-29 2020-04-14 Oppo广东移动通信有限公司 Transmission progress display method, device and terminal
US12073071B2 (en) 2020-07-29 2024-08-27 Huawei Technologies Co., Ltd. Cross-device object drag method and device
US12393328B2 (en) 2020-07-29 2025-08-19 Huawei Technologies Co., Ltd. Cross-device object drag method and device
US12197693B2 (en) 2020-08-26 2025-01-14 Huawei Technologies Co., Ltd. Method and device for displaying a projection interface

Similar Documents

Publication Publication Date Title
CN104484144A (en) Image transmission method and device
CN108228031B (en) A picture sharing method, picture display method and mobile terminal
CN102707880B (en) File transmission method and terminal
EP3567838B1 (en) Method and electronic device for transmitting images during a messaging session
CN104793838B (en) A kind of method and device for realizing the display that suspends
KR102049789B1 (en) Apparatus and method for trasnsmitting an information in portable device
CN104320586A (en) Photographing method, system and terminal
WO2017028577A1 (en) Method and apparatus for displaying group chat content
CN104104588B (en) Instant message display methods and device
JP7328900B2 (en) FILE TRANSMISSION METHOD, APPARATUS, AND COMPUTER-READABLE STORAGE MEDIUM
JP2017539101A (en) Image acquisition method and apparatus
CN106850719A (en) A kind of data transmission method and device
CN104320753A (en) Pairing method and system for terminal
CN102215041A (en) Data sending smart tool and data receiving smart tool associated with touch screen
CN104639975A (en) WIHD (wireless high-definition) connection building method and device
JP2017513416A (en) Data transmission method, apparatus, facility, program, and recording medium
CN110543273A (en) A split-screen display method and device for a terminal
EP2899986B1 (en) Display apparatus, mobile apparatus, system and setting controlling method for connection thereof
US10038750B2 (en) Method and system of sharing data and server apparatus thereof
CN105320433A (en) Short-range data transmission method for mobile terminal and mobile terminal thereof
CN104598023B (en) A kind of method and device by gesture identification select file
WO2018010469A1 (en) Data transmission method, device and storage medium
CN103475788B (en) A kind of method and system of mobile device fast sharing file
EP2660680A1 (en) System and method for enabling collaborative gesture-based sharing of ressources between devices
KR20160046593A (en) Mobile terminal and method for controlling the same

Legal Events

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

Application publication date: 20150401

RJ01 Rejection of invention patent application after publication