TW201441931A - Method and apparatus for sending multiple images in instant communication application - Google Patents
Method and apparatus for sending multiple images in instant communication application Download PDFInfo
- Publication number
- TW201441931A TW201441931A TW102148546A TW102148546A TW201441931A TW 201441931 A TW201441931 A TW 201441931A TW 102148546 A TW102148546 A TW 102148546A TW 102148546 A TW102148546 A TW 102148546A TW 201441931 A TW201441931 A TW 201441931A
- Authority
- TW
- Taiwan
- Prior art keywords
- pictures
- picture
- terminal
- order
- user
- Prior art date
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
Description
本發明是有關於資料處理領域,且特別是有關於一種一種在即時通訊應用中發送多張圖片的方法和裝置。 The present invention relates to the field of data processing, and more particularly to a method and apparatus for transmitting multiple pictures in an instant messaging application.
通訊軟體是一種人與人之間互相發送消息的軟體,通過通訊軟體人與人之間可以互相傳遞消息,其中所述消息包括:文字、圖片、影音等。 The communication software is a software for sending messages to each other. The communication software can communicate messages to each other, including: text, pictures, audio and video.
現有技術中使用者一次只能選擇一張圖片發送,這樣當使用者需要發送多張圖片時,需要重複多次相同的操作,不僅麻煩費時,而且給使用者帶了不好的使用者體驗。 In the prior art, the user can only select one picture to send at a time, so that when the user needs to send multiple pictures, the same operation needs to be repeated multiple times, which is not only troublesome, but also brings a bad user experience to the user.
本發明實施例的目的在於提供一種在通訊應用中發送多張圖片的方法和裝置,以解決現有技術無法發送多張圖片的問題。 An object of the embodiments of the present invention is to provide a method and an apparatus for transmitting multiple pictures in a communication application, so as to solve the problem that the prior art cannot transmit multiple pictures.
本發明提供的一種在即時通訊應用中發送多張圖片的方法,包括:接收使用者在會話任務中輸入的在消息中插入複數個圖片的指令並根據指令打開圖片選擇介面;接收使用者在圖片選擇介面對多張圖片的選取操作並記錄多張圖片的選取順序;將多張被選取的圖片添加到第一終端的發送程序;以及將多張被 選取的圖片發送到伺服器,以使伺服器根據選取順序依次將顯示多張被選取的圖片發送到第二終端,其中每一圖片對應至一則消息。 The invention provides a method for transmitting a plurality of pictures in an instant messaging application, comprising: receiving an instruction for inserting a plurality of pictures in a message input by a user in a session task, and opening a picture selection interface according to the instruction; receiving the user in the picture Selecting a selection operation for multiple pictures and recording the order in which multiple pictures are selected; adding a plurality of selected pictures to the first terminal's sending program; and placing multiple pictures The selected picture is sent to the server, so that the server sequentially displays the plurality of selected pictures to the second terminal according to the selected order, wherein each picture corresponds to a message.
在本發明的較佳實施例中,在使用者在圖片選擇介面對多張圖片執行選取操作並記錄多張圖片的選取順序之後與將多張被選取的圖片添加到第一終端的發送程序的步驟之前,上述之方法更包括:在消息發送介面按照選取順序顯示多張被選取的圖片的縮略圖。 In a preferred embodiment of the present invention, after the user performs a selection operation on the plurality of pictures in the picture selection interface and records the selection order of the plurality of pictures, the user adds the plurality of selected pictures to the sending program of the first terminal. Before the step, the method further includes: displaying the thumbnails of the plurality of selected pictures in the order of selection in the message sending interface.
在本發明的較佳實施例中,上述之將多張被選取的圖片添加到第一終端的發送程序的步驟包括:接收使用者選擇的添加順序;以及根據接收的添加順序,將多張被選取的圖片圖片添加到第一終端的發送程序。 In a preferred embodiment of the present invention, the step of adding a plurality of selected pictures to the sending program of the first terminal includes: receiving an order of addition selected by the user; and adding a plurality of pictures according to the added order of receiving The selected picture picture is added to the sender of the first terminal.
在本發明的較佳實施例中,在使用者在圖片選擇介面對多張圖片執行選取操作並記錄多張圖片的選取順序之後與將多張被選取的圖片添加到第一終端的發送程序的步驟之前,上述之方法更包括:按比例對多張被選取的圖片的長寬尺寸進行壓縮處理。 In a preferred embodiment of the present invention, after the user performs a selection operation on the plurality of pictures in the picture selection interface and records the selection order of the plurality of pictures, the user adds the plurality of selected pictures to the sending program of the first terminal. Before the step, the above method further comprises: compressing the length and width dimensions of the plurality of selected pictures in proportion.
在本發明的較佳實施例中,上述之指令為語音指令、按鈕指令或手勢指令。 In a preferred embodiment of the invention, the above instructions are voice commands, button commands or gesture commands.
在本發明的較佳實施例中,上述之圖片選擇介面為本地圖片選擇介面或網路圖片選擇介面。 In a preferred embodiment of the present invention, the picture selection interface is a local picture selection interface or a network picture selection interface.
本發明另提供的一種在即時通訊應用中發送多張圖片的裝置,包括:圖片選擇介面打開單元,圖片選取單元,圖片添加單元以及圖片發送單元。圖片選擇介面打開單元用於接收使用者在會話任務中輸入的在消息中插入多張圖片的指令並根據指令打開圖片選擇介面。圖片選取單元用於接收使用者在圖片選擇 介面對多張圖片的選取操作並記錄多張圖片的選取順序。圖片添加單元用於將多張被選取的圖片添加到第一終端的發送程序。圖片發送單元用於將多張被選取的圖片發送到伺服器,以使伺服器根據選取順序依次將多張被選取的圖片發送到第二終端,其中每一圖片對應至一則消息。 The invention further provides an apparatus for transmitting a plurality of pictures in an instant messaging application, comprising: a picture selection interface opening unit, a picture selection unit, a picture adding unit and a picture sending unit. The picture selection interface opening unit is configured to receive an instruction that the user inputs a plurality of pictures in the message input in the session task and opens the picture selection interface according to the instruction. The picture selection unit is used to receive the user's selection in the picture. Facing the selection of multiple images and recording the order in which multiple images are selected. The picture adding unit is for adding a plurality of selected pictures to the transmitting program of the first terminal. The picture sending unit is configured to send the plurality of selected pictures to the server, so that the server sequentially sends the plurality of selected pictures to the second terminal according to the selected order, wherein each picture corresponds to one message.
在本發明的較佳實施例中,上述之裝置更包括:縮略圖顯示單元,用於在圖片選取單元對多張圖片執行選取操作並記錄多張圖片的選取順序之後與圖片添加單元添加多張被選取的圖片到第一終端的發送程序前,在消息發送介面按照選取順序顯示多張被選取的圖片的縮略圖。 In a preferred embodiment of the present invention, the apparatus further includes: a thumbnail display unit, configured to add a plurality of pictures and a picture adding unit after the picture selecting unit performs a selecting operation on the plurality of pictures and records the selecting order of the plurality of pictures Before the selected picture is sent to the first terminal's sending program, the thumbnails of the plurality of selected pictures are displayed in the order in which the message is sent.
在本發明的較佳實施例中,上述之圖片添加單元包括:添加順序接收子單元以及圖片添加子單元。添加順序接收子單元用於接收使用者選擇的添加順序。圖片添加子單元用於根據添加順序接收子單元接收的添加順序,將多張被選取的圖片添加到第一終端的發送程序。 In a preferred embodiment of the present invention, the picture adding unit includes: an adding sequence receiving subunit and a picture adding subunit. The Add Order Receive subunit is used to receive the order of addition selected by the user. The picture adding subunit is configured to add a plurality of selected pictures to the sending program of the first terminal according to the adding order of the receiving subunits received in the order of addition.
在本發明的較佳實施例中,上述之裝置更包括:壓縮單元,用於在圖片選取單元對多張圖片執行選取操作並記錄多張圖片的選取順序之後與圖片添加單元添加多張被選取的圖片到第一終端的發送程序前,按比例對多張被選取的圖片的長寬尺寸進行壓縮處理。 In a preferred embodiment of the present invention, the apparatus further includes: a compression unit, configured to: after the picture selection unit performs a selection operation on the plurality of pictures and records the selection order of the plurality of pictures, adding a plurality of pictures to the picture adding unit is selected Before the picture is sent to the first terminal, the length and width dimensions of the plurality of selected pictures are compressed proportionally.
在本發明的較佳實施例中,上述之指令為語音指令、按鈕指令或手勢指令。 In a preferred embodiment of the invention, the above instructions are voice commands, button commands or gesture commands.
在本發明的較佳實施例中,上述之指令為語音指令、按鈕指令或手勢指令。 In a preferred embodiment of the invention, the above instructions are voice commands, button commands or gesture commands.
在本發明實施例中,第一終端接收使用者在圖片選擇介面對多張圖片的點擊操作指令,將所述多張圖片添加到系統 的發送程序中,根據添加順序逐張將所述多張圖片發送到伺服器,伺服器接收所述多張圖片,並將所述多張圖片發送到第二終端。使得使用者通過一次操作即可發送多張圖片,解決了現有技術無法在一次操作中發送多張圖片的問題。 In the embodiment of the present invention, the first terminal receives a click operation instruction of the user in the picture selection interface to face multiple pictures, and adds the multiple pictures to the system. In the sending program, the plurality of pictures are sent to the server one by one according to the adding order, and the server receives the plurality of pictures and transmits the plurality of pictures to the second terminal. The problem that the user can send multiple pictures in one operation solves the problem that the prior art cannot send multiple pictures in one operation.
1‧‧‧第一終端 1‧‧‧ first terminal
2‧‧‧伺服器 2‧‧‧Server
3‧‧‧第二終端 3‧‧‧second terminal
401‧‧‧圖片選擇介面打開單元 401‧‧‧Image selection interface open unit
402‧‧‧圖片選取單元 402‧‧‧Image Selection Unit
403‧‧‧圖片添加單元 403‧‧‧Image Addition Unit
404‧‧‧圖片發送單元 404‧‧‧Image sending unit
4021‧‧‧添加順序接收子單元 4021‧‧‧Add sequence receiving subunit
4022‧‧‧圖片添加子單元 4022‧‧‧Image Add Subunit
S201、S202、S203、S204、S205、S301、S302、S303、S304‧‧‧步驟 Steps S201, S202, S203, S204, S205, S301, S302, S303, S304‧‧
圖1是本發明一實施例之一種在即時通訊應用中發送多張圖片系統的示意圖。 1 is a schematic diagram of transmitting a plurality of picture systems in an instant messaging application according to an embodiment of the invention.
圖2是本發明一實施例之一種在即時通訊應用中發送多張圖片方法的流程圖。 2 is a flow chart of a method for transmitting multiple pictures in an instant messaging application according to an embodiment of the invention.
圖3是本發明另一實施例之一種在即時通訊應用中發送多張圖片方法的流程圖。 3 is a flow chart of a method for transmitting multiple pictures in an instant messaging application according to another embodiment of the present invention.
如圖4是本發明一實施例之一種在即時通訊應用中發送多張圖片裝置的結構圖。 FIG. 4 is a structural diagram of transmitting a plurality of picture devices in an instant messaging application according to an embodiment of the present invention.
本發明為一種在即時通訊應用中發送多張圖片的方法和裝置。第一終端接收使用者在圖片選擇介面對多張圖片的點擊操作指令,將所述多張圖片添加到系統的發送程序中,根據添加順序逐張將所述多張圖片發送到伺服器,伺服器接收所述多張圖片,並將所述多張圖片發送到第二終端。使得使用者通過一次操作即可發送多張圖片,解決了現有技術無法在一次操作中發送多張圖片的問題。 The present invention is a method and apparatus for transmitting multiple pictures in an instant messaging application. The first terminal receives a click operation instruction of the user in the picture selection interface to face multiple pictures, adds the multiple pictures to the sending program of the system, and sends the multiple pictures to the server one by one according to the adding order, and the servo Receiving the plurality of pictures and transmitting the plurality of pictures to the second terminal. The problem that the user can send multiple pictures in one operation solves the problem that the prior art cannot send multiple pictures in one operation.
為了說明本發明所述的技術方案,下面通過具體實施例來進行說明。 In order to explain the technical solution described in the present invention, the following description will be made by way of specific embodiments.
實施例一 Embodiment 1
圖1是本發明一實施例之一種在即時通訊應用中發送多張圖片系統的示意圖,此系統包括:第一終端1,伺服器2以及第二終端3。第一終端1接收使用者在圖片選擇介面對多張圖片的點擊操作指令,將所述多張圖片添加到系統的發送程序中,並根據添加順序將所述多張圖片發送到伺服器2。伺服器2接收所述多張圖片,並將所述多張圖片發送到第二終端3。因此,使用者通過一次操作即可發送多張圖片,解決了現有技術無法在一次操作中發送多張圖片的問題。 1 is a schematic diagram of a method for transmitting multiple picture systems in an instant messaging application according to an embodiment of the present invention. The system includes: a first terminal 1, a server 2, and a second terminal 3. The first terminal 1 receives a click operation instruction of the user in the picture selection interface to face a plurality of pictures, adds the plurality of pictures to the sending program of the system, and sends the plurality of pictures to the server 2 according to the adding order. The server 2 receives the plurality of pictures and transmits the plurality of pictures to the second terminal 3. Therefore, the user can send multiple pictures in one operation, which solves the problem that the prior art cannot send multiple pictures in one operation.
實施例二 Embodiment 2
圖2是本發明一實施例之一種在即時通訊應用中發送多張圖片方法的流程圖,所述方法包括以下步驟:如步驟S201所示,第一終端接收使用者在會話任務中輸入的在消息中插入圖片的指令,根據所述指令打開圖片選擇介面。在本實施例中,使用者在即時通訊應用的會話任務中輸入在消息中插入圖片的指令,即時通訊應用則根據所述指令打開圖片選擇介面,所述圖片選擇介面包括但不限於:本地圖片選擇介面、網路圖片選擇介面,所述插入圖片的指令包括但不限於:語音指令、按鈕指令、手勢指令。 2 is a flowchart of a method for transmitting multiple pictures in an instant messaging application according to an embodiment of the present invention. The method includes the following steps: as shown in step S201, the first terminal receives a user input in a session task. An instruction to insert a picture in the message, according to the instruction to open the picture selection interface. In this embodiment, the user inputs an instruction to insert a picture in the message in the session task of the instant messaging application, and the instant messaging application opens the picture selection interface according to the instruction, where the picture selection interface includes but is not limited to: a local picture. The interface and the network picture selection interface are selected, and the instructions for inserting the picture include, but are not limited to, a voice instruction, a button instruction, and a gesture instruction.
接著,如步驟S202所示,第一終端接收使用者在所述圖片選擇介面對多張圖片的選取操作,並記錄每張圖片的選取順序。在本實施例中,第一終端接收使用者在所述圖片選擇介面對多張圖片的選取操作之後,記錄每張圖片的選取順序。其中,所述記錄每張圖片的選取順序的步驟,包括:1、第一終端接收使用者選擇的添加順序;2、第一終端根據接收的所述添加順序將所述多張圖片添加到所述第一終端的發送程序。在本發明實施例 中,第一終端可以預設圖片的添加順序,所述添加順序包括但不限於:a、根據使用者的點擊順序添加圖片。即將使用者點擊的第一張首先添加到系統的發送程序,將使用者點擊的第二張第二個添加到系統的發送程序,以此類推;b、根據圖片的大小順序添加圖片。即使用者點擊完所有的圖片,第一終端對該圖片進行大小排序,按照從小到大或從大到小的順序將圖片添加到系統的發送程序。使用者從預設的多種添加順序中選擇一種,第一終端接收使用者選擇的添加順序。 Then, as shown in step S202, the first terminal receives a selection operation of the user in the picture selection interface, and records the selection order of each picture. In this embodiment, the first terminal receives a selection order of each picture after the user selects a plurality of pictures in the picture selection interface. The step of recording the order of selecting each picture includes: 1. the first terminal receives the added order selected by the user; and the first terminal adds the multiple pictures to the received order according to the received order of addition. The transmitting procedure of the first terminal is described. In the embodiment of the invention The first terminal may preset an order of adding pictures, where the order of adding includes but not limited to: a, adding a picture according to a user's click order. The first page that the user clicks is first added to the system's sending program, the second and second clicks that the user clicks are added to the system's sending program, and so on; b. The pictures are added according to the size of the pictures. That is, the user clicks on all the pictures, and the first terminal sorts the pictures, and adds the pictures to the system's sending program in order from small to large or large to small. The user selects one of a plurality of preset addition orders, and the first terminal receives the order of addition selected by the user.
接著,如步驟S203所示,第一終端將被選取的多張圖片添加到第一終端的發送程序。 Next, as shown in step S203, the first terminal adds the selected plurality of pictures to the sending program of the first terminal.
接著,如步驟S204所示,第一終端將所述多張圖片發送到伺服器。在本實施例中,雖然對於使用者來說是一次性選擇多張圖片,但是對於終端來說,現有技術還是必須一張一張的發送,因此第一終端將添加到發送程序中的多張圖片逐張發送到伺服器。 Next, as shown in step S204, the first terminal sends the multiple pictures to the server. In this embodiment, although the user selects multiple pictures at a time, for the terminal, the prior art still needs to send one by one, so the first terminal will add multiple pieces to the sending program. The pictures are sent to the server one by one.
接著,如步驟S205所示,伺服器接收所述多張圖片,並將所述圖片發送到第二終端。在本發明實施例中,伺服器接收到第一終端發送的多張圖片之後,將所述多張圖片發送到第二終端,在該發送過程中伺服器只起到傳遞的作用。 Next, as shown in step S205, the server receives the plurality of pictures and transmits the pictures to the second terminal. In the embodiment of the present invention, after receiving the multiple pictures sent by the first terminal, the server sends the multiple pictures to the second terminal, and the server only plays the role of transmission during the sending process.
綜上所述,第一終端接收使用者在圖片選擇介面對多張圖片的點擊操作指令,將所述多張圖片添加到系統的發送程序中,根據添加順序逐張將所述多張圖片發送到伺服器,伺服器接收所述多張圖片,並將所述多張圖片發送到第二終端。因此在本發明實施例中,使用者通過一次操作即可發送多張圖片,解決了現有技術無法在一次操作中發送多張圖片的問題。 In summary, the first terminal receives a click operation instruction of the user in the picture selection interface, and adds the multiple pictures to the sending program of the system, and sends the multiple pictures one by one according to the adding order. To the server, the server receives the plurality of pictures and transmits the plurality of pictures to the second terminal. Therefore, in the embodiment of the present invention, the user can send multiple pictures in one operation, which solves the problem that the prior art cannot send multiple pictures in one operation.
在本發明另一實施例中,在所述接收使用者在所述 圖片選擇介面對多張圖片的選取操作,並記錄每張圖片的選取順序的步驟之後,將被選取的多張圖片添加到第一終端的發送程序的步驟之前,本發明之一種在即時通訊應用中發送多張圖片方法還包括:在消息發送介面按照所述選取順序顯示所述多張圖片的縮略圖。此外,在本發明實施例中,使用者在選擇多張圖片之後,第一終端可以生成該多張圖片的縮略圖,並將該縮略圖提供給使用者,以使使用者對該縮略圖進行添加、去除等操作,實現對多張圖片的再次選擇。 In another embodiment of the present invention, the receiving user is in the After the step of selecting a plurality of pictures, and recording the order of selecting each picture, before the step of adding the selected plurality of pictures to the sending process of the first terminal, the present invention is an instant messaging application. The method of sending a plurality of pictures in the method further includes: displaying a thumbnail of the plurality of pictures in the selected order in the message sending interface. In addition, in the embodiment of the present invention, after the user selects multiple pictures, the first terminal may generate a thumbnail of the multiple pictures, and provide the thumbnail to the user, so that the user performs the thumbnail. Add, remove, etc. to achieve re-selection of multiple images.
在本發明另一實施例中,在所述接收使用者在所述圖片選擇介面對多張圖片的選取操作,並記錄每張圖片的選取順序的步驟之後,所述將被選取的多張圖片添加到第一終端的發送程序的步驟之前,本發明之一種在即時通訊應用中發送多張圖片方法還包括以下步驟:按比例對所述多張圖片的長寬尺寸進行壓縮處理。在本發明實施例中,考慮到多張圖片的大小,可能在向伺服器發送的過程中,對頻寬造成壓力。因此在使用者選擇了多張圖片之後,第一終端可以對該多張圖片逐張進行壓縮處理,所述壓縮處理包括但不限於:按比例對所述多張圖片的長寬尺寸進行壓縮。即如果按照50%的尺寸進行壓縮,則將圖片的長寬都壓縮到原尺寸的50%。 In another embodiment of the present invention, after the step of receiving the user selecting a plurality of pictures in the picture selection interface and recording the order of selecting each picture, the plurality of pictures to be selected Before the step of adding the sending program to the first terminal, the method for transmitting a plurality of pictures in the instant messaging application of the present invention further comprises the step of compressing the length and width dimensions of the plurality of pictures in proportion. In the embodiment of the present invention, considering the size of a plurality of pictures, it is possible to put pressure on the bandwidth during transmission to the server. Therefore, after the user selects multiple pictures, the first terminal may perform compression processing on the multiple pictures one by one, and the compression processing includes, but is not limited to, proportionally compressing the length and width dimensions of the multiple pictures. That is, if the compression is performed at 50% of the size, the length and width of the picture are compressed to 50% of the original size.
實施例三 Embodiment 3
圖3是本發明另一實施例之一種在即時通訊應用中發送多張圖片方法的流程圖,所述方法包括以下步驟:如步驟S301所示,接收使用者在會話任務中輸入的在消息中插入圖片的指令,並根據所述指令打開圖片選擇介面。在本發明實施例中,使用者在即時通訊應用的會話任務中輸入在消息中插入圖片的指令,即時通訊應用則根據所述指令打開圖片選擇介面,所述圖片 選擇介面包括但不限於:本地圖片選擇介面、網路圖片選擇介面,所述插入圖片的指令包括但不限於:語音指令、按鈕指令、手勢指令。 3 is a flowchart of a method for transmitting multiple pictures in an instant messaging application according to another embodiment of the present invention. The method includes the following steps: receiving, as shown in step S301, a message input by a user in a session task. Insert an instruction for the picture and open the picture selection interface according to the instruction. In the embodiment of the present invention, the user inputs an instruction to insert a picture in the message in the session task of the instant messaging application, and the instant messaging application opens the picture selection interface according to the instruction, where the picture is The selection interface includes, but is not limited to, a local picture selection interface and a network picture selection interface, and the instructions for inserting pictures include, but are not limited to, a voice instruction, a button instruction, and a gesture instruction.
接著,如步驟S302所示,接收使用者在所述圖片選擇介面對多張圖片的選取操作,並記錄每張圖片的選取順序。在本發明實施例中,第一終端接收使用者在所述圖片選擇介面對多張圖片的選取操作之後,記錄每張圖片的選取順序。其中,所述記錄每張圖片的選取順序的步驟,包括:1、第一終端接收使用者選擇的添加順序;2、第一終端根據接收的所述添加順序將所述多張圖片添加到所述第一終端的發送程序。在本發明實施例中,第一終端可以預設圖片的添加順序,所述添加順序包括但不限於:a、根據使用者的點擊順序添加圖片。即將使用者點擊的第一張首先添加到系統的發送程序,將使用者點擊的第二張第二個添加到系統的發送程序,以此類推;b、根據圖片的大小順序添加圖片。即使用者點擊完所有的圖片,第一終端對該圖片進行大小排序,按照從小到大或從大到小的順序將圖片添加到系統的發送程序。使用者從預設的多種添加順序中選擇一種,第一終端接收使用者選擇的添加順序。 Next, as shown in step S302, the receiving user selects a plurality of pictures in the picture selection interface, and records the order in which each picture is selected. In the embodiment of the present invention, the first terminal receives the selection order of each picture after the user selects a plurality of pictures in the picture selection interface. The step of recording the order of selecting each picture includes: 1. the first terminal receives the added order selected by the user; and the first terminal adds the multiple pictures to the received order according to the received order of addition. The transmitting procedure of the first terminal is described. In the embodiment of the present invention, the first terminal may preset an order of adding the pictures, where the order of adding includes, but not limited to: a, adding a picture according to a user's click order. The first page that the user clicks is first added to the system's sending program, the second and second clicks that the user clicks are added to the system's sending program, and so on; b. The pictures are added according to the size of the pictures. That is, the user clicks on all the pictures, and the first terminal sorts the pictures, and adds the pictures to the system's sending program in order from small to large or large to small. The user selects one of a plurality of preset addition orders, and the first terminal receives the order of addition selected by the user.
接著,如步驟S303所示,將被選取的多張圖片添加到第一終端的發送程序。 Next, as shown in step S303, the selected plurality of pictures are added to the transmission program of the first terminal.
接著,如步驟S304所示,將所述多張圖片發送到伺服器,以使所述伺服器根據所述選取順序依次將所述多張圖片發送到第二終端,且每張圖片對應一則消息。在本發明實施例中,雖然對於使用者來說是一次性選擇多張圖片,但是對於終端來說,現有技術還是必須一張一張的發送,因此第一終端將添加到發送程序中的多張圖片逐張發送到伺服器。 Then, as shown in step S304, the multiple pictures are sent to the server, so that the server sequentially sends the multiple pictures to the second terminal according to the selection order, and each picture corresponds to a message. . In the embodiment of the present invention, although a plurality of pictures are selected for the user at one time, for the terminal, the prior art still needs to send one by one, so the first terminal will be added to the sending program. The pictures are sent to the server one by one.
綜上所述,第一終端接收使用者在圖片選擇介面對多張圖片的點擊操作指令,將所述多張圖片添加到系統的發送程序中,根據添加順序逐張將所述多張圖片發送到伺服器,伺服器接收所述多張圖片,並將所述多張圖片發送到第二終端。因此在本實施例中,使用者通過一次操作即可發送多張圖片,解決了現有技術無法在一次操作中發送多張圖片的問題。 In summary, the first terminal receives a click operation instruction of the user in the picture selection interface, and adds the multiple pictures to the sending program of the system, and sends the multiple pictures one by one according to the adding order. To the server, the server receives the plurality of pictures and transmits the plurality of pictures to the second terminal. Therefore, in this embodiment, the user can send multiple pictures in one operation, which solves the problem that the prior art cannot send multiple pictures in one operation.
在本發明另一實施例中,在所述接收使用者在所述圖片選擇介面對多張圖片的選取操作,並記錄每張圖片的選取順序的步驟之後,將被選取的多張圖片添加到第一終端的發送程序的步驟之前,所述方法還包括:在消息發送介面按照所述選取順序顯示所述多張圖片的縮略圖。此外,在本發明實施例中,使用者在選擇多張圖片之後,第一終端可以生成該多張圖片的縮略圖,並將該縮略圖提供給使用者,以使使用者對該縮略圖進行添加、去除等操作,實現對多張圖片的再次選擇。 In another embodiment of the present invention, after the receiving user selects a plurality of pictures in the picture selection interface, and records the order of selecting each picture, the selected multiple pictures are added to Before the step of transmitting the program by the first terminal, the method further comprises: displaying the thumbnails of the plurality of pictures in the selected order in the message sending interface. In addition, in the embodiment of the present invention, after the user selects multiple pictures, the first terminal may generate a thumbnail of the multiple pictures, and provide the thumbnail to the user, so that the user performs the thumbnail. Add, remove, etc. to achieve re-selection of multiple images.
在本發明另一實施例中,在所述接收使用者在所述圖片選擇介面對多張圖片的選取操作,並記錄每張圖片的選取順序的步驟之後,所述將被選取的多張圖片添加到第一終端的發送程序的步驟之前,本發明之一種在即時通訊應用中發送多張圖片方法還包括以下步驟:按比例對所述多張圖片的長寬尺寸進行壓縮處理。在本發明實施例中,考慮到多張圖片的大小,可能在向伺服器發送的過程中,對頻寬造成壓力。因此在使用者選擇了多張圖片之後,第一終端可以對該多張圖片逐張進行壓縮處理,所述壓縮處理包括但不限於:按比例對所述多張圖片的長寬尺寸進行壓縮。即如果按照50%的尺寸進行壓縮,則將圖片的長寬都壓縮到原尺寸的50%。 In another embodiment of the present invention, after the step of receiving the user selecting a plurality of pictures in the picture selection interface and recording the order of selecting each picture, the plurality of pictures to be selected Before the step of adding the sending program to the first terminal, the method for transmitting a plurality of pictures in the instant messaging application of the present invention further comprises the step of compressing the length and width dimensions of the plurality of pictures in proportion. In the embodiment of the present invention, considering the size of a plurality of pictures, it is possible to put pressure on the bandwidth during transmission to the server. Therefore, after the user selects multiple pictures, the first terminal may perform compression processing on the multiple pictures one by one, and the compression processing includes, but is not limited to, proportionally compressing the length and width dimensions of the multiple pictures. That is, if the compression is performed at 50% of the size, the length and width of the picture are compressed to 50% of the original size.
實施例四 Embodiment 4
如圖4是本發明一實施例之一種在即時通訊應用中發送多張圖片裝置的結構圖,所述裝置包括:圖片選擇介面打開單元401、圖片選取單元402、圖片添加單元403以及圖片發送單元404。 4 is a structural diagram of transmitting multiple picture devices in an instant messaging application according to an embodiment of the present invention. The device includes: a picture selection interface opening unit 401, a picture selection unit 402, a picture adding unit 403, and a picture sending unit. 404.
圖片選擇介面打開單元401,用於接收使用者在會話任務中輸入的在消息中插入圖片的指令,根據所述指令打開圖片選擇介面。在本發明實施例中,使用者在即時通訊應用的會話任務中輸入在消息中插入圖片的指令,即時通訊應用則根據所述指令打開圖片選擇介面,所述圖片選擇介面包括但不限於:本地圖片選擇介面、網路圖片選擇介面,所述插入圖片的指令包括但不限於:語音指令、按鈕指令、手勢指令。 The picture selection interface opening unit 401 is configured to receive an instruction for inserting a picture into the message input by the user in the session task, and open the picture selection interface according to the instruction. In the embodiment of the present invention, the user inputs an instruction to insert a picture in the message in the session task of the instant messaging application, and the instant messaging application opens the picture selection interface according to the instruction, where the picture selection interface includes but is not limited to: local The picture selection interface and the network picture selection interface include, but are not limited to, a voice instruction, a button instruction, and a gesture instruction.
圖片選取單元402,用於接收用於在所述圖片選擇介面打開單元401打開的圖片選擇介面對多張圖片的選取指令,並記錄每張圖片的選取順序。在本發明實施例中,第一終端接收使用者在所述圖片選擇介面對多張圖片的選取操作之後,記錄每張圖片的選取順序。其中,所述圖片選取單元402,包括:添加順序接收子單元4021以及圖片添加子單元4022。添加順序接收子單元4021,用於接收使用者選擇的添加順序。在本發明實施例中,第一終端可以預設圖片的添加順序,所述添加順序包括但不限於:a、根據使用者的點擊順序添加圖片。即將使用者點擊的第一張首先添加到系統的發送程序,將使用者點擊的第二張第二個添加到系統的發送程序,以此類推;b、根據圖片的大小順序添加圖片。即使用者點擊完所有的圖片,第一終端對該圖片進行大小排序,按照從小到大或從大到小的順序將圖片添加到系統的發送程序。使用者從預設的多種添加順序中選擇一種,第一終端接收使用者選擇的添加順序。圖片添加子單元4022,用於根據添加順序接收 子單元接收的添加順序,將所述多張圖片添加到所述第一終端的發送程序。 The picture selection unit 402 is configured to receive a selection instruction for the picture selection interface opened by the picture selection interface opening unit 401 to face multiple pictures, and record the order of selection of each picture. In the embodiment of the present invention, the first terminal receives the selection order of each picture after the user selects a plurality of pictures in the picture selection interface. The picture selecting unit 402 includes: an adding sequence receiving subunit 4021 and a picture adding subunit 4022. The order receiving subunit 4021 is added for receiving the order of addition selected by the user. In the embodiment of the present invention, the first terminal may preset an order of adding the pictures, where the order of adding includes, but not limited to: a, adding a picture according to a user's click order. The first page that the user clicks is first added to the system's sending program, the second and second clicks that the user clicks are added to the system's sending program, and so on; b. The pictures are added according to the size of the pictures. That is, the user clicks on all the pictures, and the first terminal sorts the pictures, and adds the pictures to the system's sending program in order from small to large or large to small. The user selects one of a plurality of preset addition orders, and the first terminal receives the order of addition selected by the user. Picture adding sub-unit 4022 for receiving according to the order of addition The adding order received by the subunit adds the plurality of pictures to the sending program of the first terminal.
圖片添加單元403,用於將所述圖片選取單元402選取的多張圖片添加到第一終端的發送程序。 The picture adding unit 403 is configured to add a plurality of pictures selected by the picture selecting unit 402 to a sending program of the first terminal.
圖片發送單元404,用於將所述圖片添加單元403添加的多張圖片發送到伺服器,以使所述伺服器根據所述選取順序依次將所述多張圖片發送到第二終端,且每張圖片對應一條消息。在本發明實施例中,雖然對於使用者來說是一次性選擇多張圖片,但是對於終端來說,現有技術還是必須一張一張的發送,因此第一終端將添加到發送程序中的多張圖片逐張發送到伺服器。 a picture sending unit 404, configured to send the multiple pictures added by the picture adding unit 403 to the server, so that the server sequentially sends the multiple pictures to the second terminal according to the selecting order, and each The picture corresponds to a message. In the embodiment of the present invention, although a plurality of pictures are selected for the user at one time, for the terminal, the prior art still needs to send one by one, so the first terminal will be added to the sending program. The pictures are sent to the server one by one.
綜上所述,第一終端接收使用者在圖片選擇介面對多張圖片的點擊操作指令,將所述多張圖片添加到系統的發送程序中,根據添加順序逐張將所述多張圖片發送到伺服器,伺服器接收所述多張圖片,並將所述多張圖片發送到第二終端。使得使用者通過一次操作即可發送多張圖片,解決了現有技術無法在一次操作中發送多張圖片的問題。 In summary, the first terminal receives a click operation instruction of the user in the picture selection interface, and adds the multiple pictures to the sending program of the system, and sends the multiple pictures one by one according to the adding order. To the server, the server receives the plurality of pictures and transmits the plurality of pictures to the second terminal. The problem that the user can send multiple pictures in one operation solves the problem that the prior art cannot send multiple pictures in one operation.
在本發明另一實施例中,所述一種在即時通訊應用中發送多張圖片裝置還包括:縮略圖顯示單元(未示出),用於在所述圖片選取單元402執行選取之後及圖片添加單元403執行添加之前,使得消息發送介面按照所述選取順序顯示所述多張圖片的縮略圖。在本發明實施例中,使用者在選擇多張圖片之後,第一終端可以生成該多張圖片的縮略圖,並將該縮略圖提供給使用者,以使使用者對該縮略圖進行添加、去除等操作,實現對多張圖片的再次選擇。 In another embodiment of the present invention, the transmitting a plurality of picture devices in an instant messaging application further includes: a thumbnail display unit (not shown), configured to perform after the picture selection unit 402 performs the selection and add the picture Before the unit 403 performs the addition, the message sending interface is caused to display the thumbnails of the plurality of pictures in the selected order. In the embodiment of the present invention, after selecting a plurality of pictures, the first terminal may generate a thumbnail of the plurality of pictures, and provide the thumbnail to the user, so that the user adds the thumbnail, Remove and other operations to achieve re-selection of multiple images.
在本發明另一實施例中,所述一種在即時通訊應用 中發送多張圖片裝置還包括:壓縮單元(未示出),用於在所述圖片選取單元402執行選取之後及圖片添加單元403執行添加之前,按比例對所述多張圖片的長寬尺寸進行壓縮處理。在本發明實施例中,考慮到多張圖片的大小,可能在向伺服器發送的過程中,對頻寬造成壓力。因此在使用者選擇了多張圖片之後,第一終端可以對該多張圖片逐張進行壓縮處理,所述壓縮處理包括但不限於:按比例對所述多張圖片的長寬尺寸進行壓縮。即如果按照50%的尺寸進行壓縮,則將圖片的長寬都壓縮到原尺寸的50%。 In another embodiment of the present invention, the one of the instant messaging applications The transmitting the plurality of picture devices further includes: a compression unit (not shown) for scaling the length and width of the plurality of pictures after the picture selection unit 402 performs the selection and before the picture adding unit 403 performs the addition. Perform compression processing. In the embodiment of the present invention, considering the size of a plurality of pictures, it is possible to put pressure on the bandwidth during transmission to the server. Therefore, after the user selects multiple pictures, the first terminal may perform compression processing on the multiple pictures one by one, and the compression processing includes, but is not limited to, proportionally compressing the length and width dimensions of the multiple pictures. That is, if the compression is performed at 50% of the size, the length and width of the picture are compressed to 50% of the original size.
本領域普通技術人員可以理解為上述實施例所包括的各個單元只是按照功能邏輯進行劃分的,但並不局限於上述的劃分,只要能夠實現相應的功能即可;另外,各功能單元的具體名稱也只是為了便於相互區分,並不用於限制本發明的保護範圍。 A person skilled in the art can understand that each unit included in the foregoing embodiment is only divided according to functional logic, but is not limited to the above division, as long as the corresponding function can be implemented; in addition, the specific name of each functional unit It is also for convenience of distinguishing from each other and is not intended to limit the scope of protection of the present invention.
本領域普通技術人員還可以理解,實現上述實施例方法中的全部或部分步驟是可以通過程式來指令相關的硬體來完成,所述的程式可以在存儲於一電腦可讀取存儲介質中,所述的存儲介質,包括ROM/RAM、磁片、光碟等。 It will be understood by those skilled in the art that all or part of the steps in the method of the foregoing embodiments may be implemented by a program to instruct related hardware, and the program may be stored in a computer readable storage medium. The storage medium includes a ROM/RAM, a magnetic sheet, a compact disc, and the like.
雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 While the present invention has been described in its preferred embodiments, the present invention is not intended to limit the invention, and the present invention may be modified and modified without departing from the spirit and scope of the invention. The scope of protection is subject to the definition of the scope of the patent application.
1‧‧‧第一終端 1‧‧‧ first terminal
2‧‧‧伺服器 2‧‧‧Server
3‧‧‧第二終端 3‧‧‧second terminal
Claims (12)
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310152959 | 2013-04-27 |
Publications (1)
Publication Number | Publication Date |
---|---|
TW201441931A true TW201441931A (en) | 2014-11-01 |
Family
ID=49800279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW102148546A TW201441931A (en) | 2013-04-27 | 2013-12-26 | Method and apparatus for sending multiple images in instant communication application |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103475572B (en) |
TW (1) | TW201441931A (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105320509B (en) * | 2014-07-24 | 2020-03-17 | 腾讯科技(深圳)有限公司 | Picture processing method and picture processing device |
CN105447006B (en) | 2014-08-08 | 2019-08-16 | 阿里巴巴集团控股有限公司 | A kind of picture selection method and its device |
US10063510B2 (en) * | 2015-03-24 | 2018-08-28 | Facebook, Inc. | Techniques to share and remix media through a messaging system |
CN104954876A (en) * | 2015-06-16 | 2015-09-30 | 四川长虹电器股份有限公司 | Method and system for realizing quick screenshot of smart television |
CN105407273B (en) * | 2015-10-30 | 2019-05-07 | 小米科技有限责任公司 | Image pickup method, device and the terminal of image |
US10223400B2 (en) | 2015-12-17 | 2019-03-05 | Facebook, Inc. | Techniques to configure media packages |
CN107294835A (en) * | 2016-04-11 | 2017-10-24 | 阿里巴巴集团控股有限公司 | Document sending method and device in a kind of instant messaging |
WO2018027869A1 (en) * | 2016-08-11 | 2018-02-15 | 张焰焰 | Ownership information presentation method used during compression of picture according to software, and sharing system |
WO2018027868A1 (en) * | 2016-08-11 | 2018-02-15 | 张焰焰 | Chatting software emoticons sharing method and sharing system |
WO2018027870A1 (en) * | 2016-08-11 | 2018-02-15 | 张焰焰 | Method for collecting usage data of picture sharing technology, and sharing system |
CN107797717B (en) * | 2016-09-02 | 2021-08-20 | 阿里巴巴集团控股有限公司 | Push method, display method, client device and data processing system |
CN106776990B (en) * | 2016-12-06 | 2020-04-14 | 北京搜狗科技发展有限公司 | Information processing method and device and electronic equipment |
CN107070770B (en) * | 2016-12-19 | 2020-12-08 | 创新先进技术有限公司 | Resource transmission method and device |
CN108363781B (en) * | 2018-02-11 | 2021-06-08 | 维沃移动通信有限公司 | Picture sending method, terminal and computer readable storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101699911A (en) * | 2007-07-03 | 2010-04-28 | 卢苇 | Mobile instant messaging image compression method |
CN101420389A (en) * | 2007-10-25 | 2009-04-29 | 中兴通讯股份有限公司 | File transferring system and method |
CN101232501A (en) * | 2007-12-10 | 2008-07-30 | 腾讯科技(深圳)有限公司 | System and method for improving multi-file dispatch |
CN101286952B (en) * | 2008-05-27 | 2012-09-26 | 腾讯科技(深圳)有限公司 | Method and system for displaying information of file |
-
2013
- 2013-09-29 CN CN201310455053.8A patent/CN103475572B/en active Active
- 2013-12-26 TW TW102148546A patent/TW201441931A/en unknown
Also Published As
Publication number | Publication date |
---|---|
CN103475572B (en) | 2014-12-10 |
CN103475572A (en) | 2013-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TW201441931A (en) | Method and apparatus for sending multiple images in instant communication application | |
US20190342241A1 (en) | Systems and methods for manipulating and/or concatenating videos | |
US8701020B1 (en) | Text chat overlay for video chat | |
US10638082B2 (en) | Systems and methods for picture-in-picture video conference functionality | |
US20200267195A1 (en) | Closed network video presentation | |
CN104602133A (en) | Multimedia file shearing method and terminal as well as server | |
US20150117513A1 (en) | Bandwidth reduction system and method | |
EP2953055A1 (en) | Two-dimensional code processing method and terminal | |
US10685642B2 (en) | Information processing method | |
WO2022242280A1 (en) | Content collaboration method and apparatus, electronic device, and storage medium | |
US9060033B2 (en) | Generation and caching of content in anticipation of presenting content in web conferences | |
EP3024223B1 (en) | Videoconference terminal, secondary-stream data accessing method, and computer storage medium | |
US20170187653A1 (en) | Information processing device, control method for information processing device, and program | |
US20130332832A1 (en) | Interactive multimedia systems and methods | |
CN110019058B (en) | Sharing method and device for file operation | |
CN103929607A (en) | Communication method based on screen recording, and application client-side | |
US20150007054A1 (en) | Capture, Store and Transmit Snapshots of Online Collaborative Sessions | |
US20160301736A1 (en) | Systems and methods for providing remote access to an application | |
CN111835988B (en) | Subtitle generation method, server, terminal equipment and system | |
CN109413340B (en) | Processing method and device for generating album | |
JP2018151533A5 (en) | ||
CN108882004B (en) | Video recording method, device, equipment and storage medium | |
TW202006572A (en) | Method for collecting data related to dialog, computer-readable storage medium, computer device and server system | |
US8583150B2 (en) | Personalized channel service providing system, real-time channel service providing method, and personalized channel service providing system method | |
WO2019024387A1 (en) | Method and apparatus for transmitting image during file transmission, terminal, and storage medium |