WO2017177820A1 - 一种即时通讯中的文件发送方法及装置 - Google Patents

一种即时通讯中的文件发送方法及装置 Download PDF

Info

Publication number
WO2017177820A1
WO2017177820A1 PCT/CN2017/078500 CN2017078500W WO2017177820A1 WO 2017177820 A1 WO2017177820 A1 WO 2017177820A1 CN 2017078500 W CN2017078500 W CN 2017078500W WO 2017177820 A1 WO2017177820 A1 WO 2017177820A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
order
user
sending
files
Prior art date
Application number
PCT/CN2017/078500
Other languages
English (en)
French (fr)
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 WO2017177820A1 publication Critical patent/WO2017177820A1/zh

Links

Images

Classifications

    • 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/21Monitoring or handling of messages
    • H04L51/226Delivery according to priorities

Definitions

  • the present application relates to the field of information technology, and in particular, to a file sending method and apparatus in instant messaging.
  • the instant messaging application is a kind of application that is frequently used by users.
  • the user can instantly communicate with other users who use the instant messaging application (called the peer user), not only that.
  • Most instant messaging applications can also support users to send files to end users in instant messaging, such as images, documents, videos, and so on.
  • a user can send multiple files to a peer user at one time in instant messaging.
  • the user may select multiple files in the file selection interface, and then click the file sending button provided by the instant messaging application on the terminal, and the terminal may sequentially send the multiple files to the opposite user in a certain sending order, correspondingly
  • the terminal of the peer user generally receives and displays the plurality of files in sequence according to the sending order.
  • the peer user does not affect the plurality of files received by the peer user separately; however, if the plurality of files have a logical order with each other, Then, when the sending order of the multiple files is inconsistent with the logical order, the order of receiving and displaying the multiple files by the terminal of the peer user is generally also inconsistent with the logical order, thereby making it difficult for the peer user to view the same. Multiple files. Therefore, for a scenario in which the plurality of files have a logical order with each other, the user has control and knows the order in which the plurality of files are sent, so that the order of transmission is consistent with the logical order.
  • the embodiment of the present invention provides a file sending method and device in instant messaging, which is used to solve the problem that in the instant messaging, when multiple files are sent by using the multi-file sending method in the prior art, it is difficult for the user to control the sending order of multiple files. It is also difficult to know the order in which multiple files are transmitted, and thus the convenience is poor.
  • the files are sequentially sent to the peer user according to the sending order indicated by the sending sequence information of each file.
  • An interface display module configured to display a file selection interface that includes one or more files, where the file selection interface is used by the user to select a file to be sent to the peer user;
  • a mark display module configured to mark and display a sending sequence information of each file selected by the user according to a file selection operation performed by the user in the file selection interface
  • the file sending module is configured to send the files to the peer user in sequence according to the sending order indicated by the sending sequence information of each file.
  • the user may specify the sending order of the selected files in part or in whole by performing a file selection operation in the file selection interface, and the execution terminal of the solution may mark and display the corresponding Sending sequence information so that the user can know the current sending order in time, and confirm or modify the current sending order, so that the control order and the knowledge of the sending order of each file can be realized, and thus, compared with the above existing
  • the multi-file transmission method in the technology has high convenience, and the problems in the prior art described above can be partially or completely solved.
  • FIG. 2 is an implementation process of the solution of the present application in an actual application scenario according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of a smart phone interface showing a sending file frame in the process of FIG. 2 according to an embodiment of the present application;
  • FIG. 4 is a schematic diagram of a sending file frame after marking and displaying sending sequence information in the process of FIG. 2 according to an embodiment of the present application;
  • FIG. 5 is a schematic diagram of a sending file frame after adjusting the display position sequence of each file in the process of FIG. 2 according to an embodiment of the present application;
  • FIG. 6 is a schematic structural diagram of a file sending apparatus in instant messaging according to an embodiment of the present application.
  • the solution of the present application is very suitable for an application scenario in which multiple files are simultaneously transmitted, and the multiple files need to be sent in a specific logical order (for example, time logic order or name logic order, etc.). For example, scenes that need to be sent in multiple long screenshots in page order, scenes in which continuous page files are sent in the work, and so on.
  • the user can actively control the sending order of the multiple files, and intuitively preview the sending order of the multiple files, which is convenient, and also facilitates the user to find out in time whether the preview sending order is in error or not.
  • the user can also adjust and modify in time, and the reliability is high.
  • the application scenario is generally included in various communication scenarios, such as an instant messaging scenario, a mail communication scenario, and the like.
  • the originating user can send multiple files to the peer user in the process of instant communication with the peer user.
  • the order of the files received by the peer user in the instant messaging interface is generally the originating user.
  • the order of sending each file the peer user will generally view the received files directly in the instant messaging interface, and rarely download the files separately and sort them according to their corresponding specific logical order, so The peer user can conveniently view each file according to the logical order of each file, and the originating user is very required to send each file according to the logical order of each file.
  • the peer user For non-immediate communication scenarios such as mail communication, the peer user often downloads each file separately and sorts it according to its corresponding specific logical order, in which case even if the originating user does not send according to the logical order of each file. For each file, the degree to which the peer user views each file in the logical order of each file is also small.
  • the instant messaging scenario is more demanding for the solution of the present application than the non-immediate communication scenario. Therefore, the scheme of the present application will be described below mainly based on an instant messaging scenario.
  • FIG. 1 is a flowchart of a method for sending a file in an instant messaging according to an embodiment of the present disclosure, where an execution subject of the process may be a terminal or a server.
  • the terminal includes, but is not limited to, a mobile phone, a tablet computer, a personal computer, a smart watch, a car mobile station, etc., which are used as a terminal;
  • the server includes but is not limited to: a personal computer used as a server, a large and medium-sized computer, a computer cluster, etc. .
  • the executor of the present invention is not limited to the present application.
  • the embodiment of the present application is described by taking the execution subject as a terminal as an example. More specifically, the execution subject may be an instant messaging application carried on the terminal.
  • the process in Figure 1 can include the following steps:
  • S101 Display a file selection interface that includes one or more files, and the file selection interface is used by the user to select a file to be sent to the peer user.
  • there may be only one peer user for example, an instant messaging scenario in which two users chat alone), or multiple simultaneous (for example, an instant messaging scenario in which two or more user groups chat).
  • the user and the peer user can respectively open the instant messaging application on the terminal, and perform instant messaging through the instant messaging interface provided by the instant messaging application (for example, a chat panel, a dialog box, etc.).
  • the file selection interface may be displayed in the instant messaging interface.
  • the file selection interface may be an integral part of the instant messaging interface; the file selection interface may also be performed by the user during the instant messaging process.
  • the specific operation performed for example, clicking the "to-be-sent file selection" button provided by the instant messaging interface, etc. is triggered to be displayed in the instant messaging interface, or the overlay is displayed on the instant messaging interface.
  • the file included in the file selection interface may refer to all the contents of the file, and may also refer to a part of the file that can be used to identify the file, such as a file icon, a file name, a file type information, and the like.
  • the files contained in the file selection interface should be visual for the user.
  • S102 Mark and display the sending sequence information of each file selected by the user according to the file selection operation performed by the user in the file selection interface.
  • step S102 is actually a sequence in which the user actively controls the transmission of each file to be transmitted.
  • each file may be sent by default in the order in which the user selects each file.
  • these instant messaging applications only prompt the user whether the file is selected, and do not display any sending order information, so that even if the user already knows that these instant messaging applications can send each file in the order in which they select each file, the user can only Remember by yourself how to select each file in the order, when the number of files When there are many, it is difficult for the user to completely and accurately control and know the order in which the files are sent, which is easy to make mistakes. Therefore, the convenience of the multi-file transmission order control method provided by these instant messaging applications is still poor.
  • the sending sequence information is used to indicate in advance the order in which the corresponding files are sent.
  • the solution of the present application can solve the above problems in the instant messaging application by visually identifying and displaying the sending sequence information. Specifically, the user does not have to remember how to select each file in the order, but can The transmission order information displayed can know the current tentative transmission order in real time, is not easy to make mistakes, and has good convenience.
  • the sending sequence information may be uniformly displayed in a certain area in the file selection interface, or may be displayed in a display area where the corresponding file is located or in the vicinity of the display area, and the like.
  • the sending sequence information may be information in the form of text (for example, a numerical serial number or a letter serial number, etc.), or may be information in a graphical form (for example, a graphic of a different shape or a different color, etc.), and the like.
  • S103 Send the files to the peer user in sequence according to the sending order indicated by the sending sequence information of each file.
  • the factors that trigger the execution of step S103 are not limited.
  • the user can actively perform the confirmation operation (for example, clicking a button for confirmation provided by the file selection interface, etc.), and the action of “user confirmation” may trigger step S103 to start execution.
  • the user does not need to actively perform the confirmation operation. For example, if the user does not continue the file selection operation for more than the predetermined time in the process of performing step S102, it can be considered that the step S102 has been executed, and then the step S103 is automatically triggered to start. carried out.
  • the user may also mis-select the file and timely find the error according to the displayed sending order information, and may also allow the user to perform the selected file operation again before being triggered to execute in step S103.
  • the current transmission order is manually adjusted, so that the reliability of the solution of the present application can be improved, and the ease of use and convenience for the user can be improved.
  • the communication mechanism of the instant messaging application can ensure that each file is correspondingly transmitted according to the corresponding transmission order to the terminal of the opposite user.
  • the sending order arrives at the end user's terminal, that is, each file received and displayed by the peer user's terminal is also arranged in the order in which they are sent.
  • the user can specify the sending order of the selected files in part or in whole by performing a file selection operation in the file selection interface, and the execution terminal of the solution can mark and display the corresponding sending order information, so as to facilitate the user.
  • the embodiments of the present application further provide some specific implementation manners of the foregoing methods, and an extended solution, which will be described below.
  • displaying the file selection interface including one or more files may specifically include: activating the file selection interface arousing operation performed by the user in the instant messaging interface, evoking And displaying the file selection interface that includes one or more files, where the file selection interface is used by the user to select a file to be sent to the peer user, and the user and the peer end through the instant messaging interface The user performs the instant messaging; wherein the displayed file selection interface is included in the instant messaging interface or overlaid on the instant messaging interface.
  • the advantage of this embodiment of step S101 is that the display file selection interface is evoked only when the file is to be sent to the peer user, and the file selection interface may be invisible at other times, so that the instant communication interface is not occupied. The display area does not prevent the user from performing instant messaging behavior other than sending a file.
  • the file selection interface may belong to only the instant messaging application and is only used by the instant messaging application, or may be an operating system and/or a file system belonging to the terminal, and is shared by multiple applications including the instant messaging application.
  • step S102 there are various specific implementation manners in step S102, and two of them are described below as an example.
  • the sending order can be specified according to the user's file selection operation sequence.
  • marking and displaying the sending sequence information of each file selected by the user may include: according to the user a file selection operation performed in the file selection interface, determining each file selected by the user, and marking and displaying the transmission order information of each file according to the file selection operation sequence, and the sending order indication It is consistent with the file selection operation sequence.
  • the sending order information may be marked and displayed according to the specified sending order.
  • the transmission order indicated by the transmission order information is identical to the file selection operation sequence.
  • An advantage of the first embodiment is that the user can specify the text in real time while the file is selected.
  • the order of transmission of the pieces, and the transmission order information of the terminal mark and the display can be seen in real time, and therefore, the intuitiveness and controllability are good for the user.
  • the information of each selected file itself may be selected according to the file selection of the user, and the appropriate sending order is automatically determined.
  • marking and displaying the sending sequence information of each file selected by the user may include: according to the user Determining, by the file selection operation in the file selection interface, each file selected by the user; marking and displaying the sending sequence information of each file according to the attribute information of each file and a predetermined attribute information sorting rule, The order in which the transmission order information is indicated is the same as the order in which the attribute information is sorted.
  • the attribute information may include a file name, a file type, and the like.
  • an attribute information or a plurality of attribute information may reflect a logical sequence between files.
  • a more common case is: naming a file is based on a logical sequence between files, for example, may be used An ordered set of strings is named in turn, and the sorting of file names of each file reflects the logical order between the files.
  • each image file sequentially taken from a long page can be named: "IMG2016XXXX0001", "IMG2016XXXX0002", "IMG2016XXXX0003", and the like. It can be seen that if the file names of the picture files are arranged in ascending order, the order of the files is consistent with the logical order between the picture files.
  • the attribute information sorting rule may be the file name. Sort in ascending order.
  • the second specific embodiment is applicable to a scenario in which attribute information of each file can reflect a logical sequence between files.
  • An advantage of the second embodiment is that the user can see the terminal marking and the sending sequence information in real time during the process of selecting each file, and the sending order corresponding to the sending sequence is more likely to be between each file.
  • the logical order is the same, which can reduce the user's thinking, so the convenience and ease of use are better for the user.
  • the order of displaying the files selected by the user in the file selection interface may be inconsistent with the file selection order of the user. In this case, it is inconvenient for the user to preview the file selection status and the current sending order. In response to such a problem, the order of display position of each file can be adjusted accordingly after marking and displaying the transmission order information, so that the convenience and ease of use of the solution of the present application can be further improved.
  • the files may be determined: Whether the display position order in the file selection interface is consistent with the transmission order indicated by the transmission order information of each file; if not, the display position order is adjusted according to the transmission order information of each file, So that the adjusted display position order is consistent with the transmission order. Further, the display position of each file may be adjusted to an adjacent position, for example, the display position of each file on the file selection interface is sequentially adjacent, and the display position is The order is the same as the order of sending.
  • the user before sending each file, the user may also be allowed to adjust and modify the sending order of the current sending sequence information indication, which may improve the reliability of the solution of the present application.
  • step S102 after the sending order information of each file selected by the user is marked and displayed, if the display position order of each file in the file selection interface is determined and the sending order information of each file is indicated
  • the sending order is the same, and before the sending of the files to the peer user, the following operations may be performed: when the display position sequence adjusting operation performed by the user for the files is detected, the operation is adjusted according to the display position order Re-adjusting the display position order of the files in the file selection interface; and re-marking and displaying the sending order information of each file according to the re-adjusted display position order, so as to re-mark and display
  • the transmission order indicated by the transmission order information is in the same order as the re-adjusted display position.
  • the display position sequence adjustment operation may specifically include, but is not limited to, the following two types of operations:
  • the first type is a file drag operation for realizing the display position order adjustment.
  • the user can click on the file and drag it to the desired display position, and the files originally located at the display position and after the display position can be moved backward by one unit of display position, so that the display position order adjustment for the file can be realized.
  • touch screen terminals such as most smart phones
  • users can drag and drop files with their fingers.
  • non-touch screen terminals such as most personal computers
  • users can drag and drop files with the mouse.
  • the second type based on a predetermined file display position moving control (for example, a button control for moving left, right, up, or down the file display position, etc.), realizes the file display position movement of the display position order adjustment operating.
  • a predetermined file display position moving control for example, a button control for moving left, right, up, or down the file display position, etc.
  • the transmission order information may be information in the form of text or information in the form of graphics.
  • the information in the form of text, especially the numerical serial number is more intuitive. Therefore, in practical applications, the transmission order information can be represented by a numerical serial number.
  • a specific embodiment of "marking and displaying transmission order information" in step S102 will be described by taking a numerical serial number as an example.
  • marking and displaying the sending sequence information of each file selected by the user may specifically include: marking and displaying a different numerical serial number on each file selected by the user as the respective files. Transmitting order information, wherein the order of each of the digital serial numbers is indicative of a sending order of the files corresponding to each of the digital serial numbers.
  • the foregoing terminal may be a smart phone using a touch screen
  • the foregoing The file selection interface can be a "send file box”.
  • the process in Figure 2 can include the following steps:
  • S201 evoke and display a send file box, so that the user performs a file selection operation by clicking a touch screen with a finger for the file displayed in the send file box.
  • the smart phone interface corresponding to step S201 is as shown in FIG. 3, and five files are currently displayed in the send file box in FIG. 3, wherein the second file is selected by the user. It should be noted that more files besides these 5 files can be viewed forward or backward by sending button controls provided on both sides of the file box.
  • each file selected by the user is sequentially marked and displayed with a corresponding digital serial number as the sending sequence information, and the numerical sequence order is consistent with the selection order of the user selected file.
  • the order of the number sequence corresponding to each file selected by the user is characterized by the sending order indicated by the sending sequence information.
  • the sending file box corresponding to step S202 is as shown in FIG. 4, and five files are currently displayed in the sending file box in FIG. 4, and the first, second, and fourth files are selected by the user.
  • the user selects the three files in the order of selection: first select the second file, then select the fourth file, and finally select the first file.
  • the digital number "1" is marked and displayed on the second file (indicating the first order of the second file), and the number "2" is marked and displayed on the fourth file (indicating the first The order of the four files is sent in the second place.
  • the first file is marked with the number "3" (indicating that the second file is sent in the third order).
  • S203 When it is determined that the user's finger leaves the touch screen for more than N seconds, according to the user selection file selection order, the files selected by the user are reordered, and the display positions of the files are adjusted accordingly, and the reordering order and the user selection file are reordered.
  • the order of selection is the same, and N is the default value.
  • the transmission file frame after the execution of step S203 is as shown in FIG. 5.
  • the file display position sequence in FIG. 5 has been adjusted.
  • the display positions of the three files selected by the user are in the same order as the transmission order. Thereby, it is possible to facilitate the user to intuitively know the order in which the files are transmitted.
  • step S204 may not be performed.
  • each file may be sent to the opposite user in the order in which the confirmation is performed.
  • the embodiment of the present application further provides a file sending device in the instant messaging, as shown in FIG. 6 .
  • FIG. 6 is a schematic structural diagram of a file sending apparatus in instant messaging according to an embodiment of the present disclosure, which specifically includes:
  • the interface display module 601 is configured to display a file selection interface that includes one or more files, where the file selection interface is used by the user to select a file to be sent to the peer user;
  • the mark display module 602 is configured to mark and display the sending sequence information of each file selected by the user according to a file selection operation performed by the user in the file selection interface;
  • the file sending module 603 is configured to send the files to the peer user in sequence according to the sending order indicated by the sending sequence information of each file.
  • the interface display module 601 is specifically configured to: when detecting a file selection interface arousing operation performed by the user in the instant messaging interface, evoking and displaying the file selection interface including one or more files,
  • the file selection interface is used by the user to select a file to be sent to the peer user, and the user performs the instant communication with the peer user through the instant messaging interface; wherein the file selection interface is displayed Included in the instant messaging interface or overlaid on the instant messaging interface.
  • the mark display module 602 is specifically configured to: determine, according to a file selection operation performed by the user in the file selection interface, each file selected by the user, and mark and display according to the file selection operation sequence
  • the transmission order information of each file, the transmission order indicated by the transmission order information is consistent with the file selection operation sequence.
  • the mark display module 602 is specifically configured to: determine, according to a file selection operation performed by the user in the file selection interface, each file selected by the user, and according to attribute information of the files and a predetermined
  • the attribute information sorting rule marks and displays the sending order information of each file, and the sending order indicated by the sending order information is consistent with the sorting order of the attribute information.
  • the device further includes:
  • the display position sequence adjustment module 604 is configured to determine whether the display position order of the files in the file selection interface is consistent with the sending order indicated by the sending sequence information of each file; if not, according to the files
  • the transmission order information is adjusted in order of the display position so that the adjusted display position order is consistent with the transmission order.
  • the device further includes:
  • the sending sequence adjustment module 605 is configured to: if the display position order adjusting module 604 determines that the display position order of each file in the file selection interface is consistent with the sending order indicated by the sending sequence information of each file, Before the file sending module sends the files to the peer user, when detecting the display position sequence adjustment operation performed by the user on the files, adjust the operation according to the display position order, and re-adjust a display position order of the files in the file selection interface; and correspondingly re-marking and displaying the sending order information of the files according to the re-adjusted display position order, so that the sending order of re-marking and displaying is performed
  • the order of transmission of the information indication is in the same order as the re-adjusted display position.
  • the display position sequence adjustment operation specifically includes: a file drag operation for implementing the display position order adjustment.
  • the mark display module 602 is specifically configured to: mark and display a different numerical serial number on each file selected by the user as the sending sequence information of each file, wherein each of the digital serial numbers Sequence characterization: the order in which the respective files corresponding to each of the digital serial numbers are transmitted.
  • the device provided by the present application is in one-to-one correspondence with the method provided by the present application. Therefore, the device also has similar beneficial technical effects as the method, since the beneficial technical effects of the method have been described in detail above. Therefore, the beneficial technical effects of the device will not be described again here.
  • the specific device shown in FIG. 6 above may be located on a terminal or a server.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.

Abstract

本申请公开了一种即时通讯中的文件发送方法及装置,用以解决在即时通讯中,当采用现有技术中的多文件发送方式发送多文件时,用户难以控制多文件的发送顺序,也难以知晓多文件的发送顺序,因此便利性较差的问题。该方法包括:显示包含有一个或多个文件的文件选择界面,所述文件选择界面用于用户选择待发送给对端用户的文件;根据所述用户在所述文件选择界面中进行的文件选择操作,标记并显示所述用户选中的各文件的发送顺序信息;按照所述各文件的发送顺序信息指示的发送顺序,将所述各文件依次发送给所述对端用户。

Description

一种即时通讯中的文件发送方法及装置
本申请要求2016年04月11日递交的申请号为201610220557.5、发明名称为“一种即时通讯中的文件发送方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及信息技术领域,尤其涉及一种即时通讯中的文件发送方法及装置。
背景技术
随着信息技术的迅速发展,网络上的各类应用也大量增加,为用户的生活和工作带来了很大的便利。即时通讯应用是用户使用频率很高的一类应用,用户通过使用终端上搭载的即时通讯应用,可以与同样使用该即时通讯应用的其他用户(称为:对端用户)进行即时通讯,不仅如此,大多数即时通讯应用还可以支持用户在即时通讯中向对端用户发送文件,比如,图片、文档、视频等。
在现有技术中,用户在即时通讯中,可以一次性向对端用户发送多个文件。具体地,用户可以在文件选择界面中选中多个文件,然后点击终端上的即时通讯应用提供的文件发送按钮,则终端可以这多个文件按照某种发送顺序依次发送给对端用户,相应地,对端用户的终端一般会按照该发送顺序依次接收并显示这多个文件。
但是,对于上述现有技术中的多文件发送方式,用户在即时通讯中,难以控制这多个文件的发送顺序,也难以知晓这多个文件的发送顺序,而在某些场景下,用户是有控制以及知晓这多个文件的发送顺序的需求的,该多文件发送方式难以满足该需求,因此,便利性较差。
例如,若这多个文件相互之间没有逻辑顺序,则无论发送顺序怎样,也不影响对端用户分别观看接收到的这多个文件;但是,若这多个文件相互之间有逻辑顺序,则当这多个文件的发送顺序与逻辑顺序不一致时,相应地,对端用户的终端对接收和显示这多个文件的顺序一般也与该逻辑顺序不一致,从而也不便于对端用户观看这多个文件。因此,针对这多个文件相互之间有逻辑顺序的场景,用户有控制以及知晓这多个文件的发送顺序,使发送顺序与该逻辑顺序一致的需求。
发明内容
本申请实施例提供一种即时通讯中的文件发送方法及装置,用以解决在即时通讯中,当采用现有技术中的多文件发送方式发送多文件时,用户难以控制多文件的发送顺序,也难以知晓多文件的发送顺序,因此便利性较差的问题。
本申请实施例提供的一种即时通讯中的文件发送方法,包括:
显示包含有一个或多个文件的文件选择界面,所述文件选择界面用于用户选择待发送给对端用户的文件;
根据所述用户在所述文件选择界面中进行的文件选择操作,标记并显示所述用户选中的各文件的发送顺序信息;
按照所述各文件的发送顺序信息指示的发送顺序,将所述各文件依次发送给所述对端用户。
本申请实施例提供的一种即时通讯中的文件发送装置,包括:
界面显示模块,用于显示包含有一个或多个文件的文件选择界面,所述文件选择界面用于用户选择待发送给对端用户的文件;
标记显示模块,用于根据所述用户在所述文件选择界面中进行的文件选择操作,标记并显示所述用户选中的各文件的发送顺序信息;
文件发送模块,用于按照所述各文件的发送顺序信息指示的发送顺序,将所述各文件依次发送给所述对端用户。
本申请实施例通过上述至少一种技术方案,用户可以通过在文件选择界面中进行文件选择操作,部分或全部地指定选中的各文件的发送顺序,进而该方案的执行终端可以标记并显示出对应的发送顺序信息,以便于用户可以及时地知晓当前的发送顺序,以及对当前的发送顺序进行确认或修改,从而可以实现对各文件的发送顺序的控制以及知晓,因此,相比于上述现有技术中的多文件发送方式,便利性较高,可以部分或全部地解决上述现有技术中的问题。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1为本申请实施例提供的即时通讯中的文件发送方法的过程;
图2为本申请实施例提供的在一种实际应用场景下,本申请的方案的一种实施过程;
图3为本申请实施例提供的,在图2过程中显示发送文件框的智能手机界面示意图;
图4为本申请实施例提供的,在图2过程中标记并显示发送顺序信息后的发送文件框示意图;
图5为本申请实施例提供的,在图2过程中调整各文件的显示位置顺序后的发送文件框示意图;
图6为本申请实施例提供的即时通讯中的文件发送装置结构示意图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的方案很适用于同时发送多个文件,且对这多个文件需要按照特定逻辑顺序(比如,时间逻辑顺序或名称逻辑顺序等)进行发送的应用场景。例如,需按照页面顺序的多个长截图发送的场景,作品介绍的连续页面文件发送的场景,等等。通过本申请的方案,用户可以主动控制这多个文件的发送顺序,以及直观地预览这多个文件的发送顺序,便利性较高,而且还便于用户及时发现预览的发送顺序是否出错,若是出错,用户也可以及时调整修改,可靠性较高。
在本申请实施例中,上述应用场景一般包含在各类通讯场景中,比如,即时通讯场景、邮件通讯场景等。
对于即时通讯场景,发端用户可以在与对端用户进行即时通讯的过程中,向对端用户一次性发送多个文件,对端用户在即时通讯界面中接收到的各文件的顺序一般就是发端用户发送各文件的顺序,对端用户一般会直接在即时通讯界面中查看接收到的各文件,而很少会将各文件分别下载并按照其对应的特定逻辑顺序排序后再查看,因此,为了使对端用户可以便利地按照各文件的逻辑顺序查看各文件,发端用户很有需求按照各文件的逻辑顺序,发送各文件。
对于诸如邮件通讯等非即时通讯场景,对端用户经常会将各文件分别下载并按照其对应的特定逻辑顺序排序后再查看,在这种情况下,即使发端用户不按照各文件的逻辑顺序发送各文件,到对端用户按照各文件的逻辑顺序查看各文件的影响程度也较小。
综上所述,相比于非即时通讯场景,即时通讯场景对于本申请的方案的需求程度大一些。因此,下面主要基于即时通讯场景,对本申请的方案进行说明。
图1为本申请实施例提供的即时通讯中的文件发送方法的过程,该过程的执行主体可以是终端或服务器。所述终端包括但不限于:用作终端的手机、平板电脑、个人计算机、智能手表、车载移动台等;所述服务器包括但不限于:用作服务器的个人计算机、大中型计算机、计算机集群等。执行主体并不构成对本申请的限定,为了便于描述,本申请实施例均以执行主体是终端为例进行说明,更具体地,执行主体可以是终端上搭载的即时通讯应用。
图1中的过程可以包括以下步骤:
S101:显示包含有一个或多个文件的文件选择界面,所述文件选择界面用于用户选择待发送给对端用户的文件。
在本申请实施例中,对端用户可以只有一个(比如,双方用户单独聊天的即时通讯场景),也可以同时有多个(比如,两个以上的用户群聊天的即时通讯场景)。用户与对端用户可以分别开启自己终端上的即时通讯应用,通过即时通讯应用提供的即时通讯界面(比如,聊天面板、对话框等),进行即时通讯。
所述文件选择界面可以是一直显示在即时通讯界面内的,在这种情况下,文件选择界面可以是即时通讯界面的组成部分;所述文件选择界面也可以是由用户在即时通讯过程中,执行的特定操作(比如,点击即时通讯界面提供的“待发送文件选择”按钮等)触发后再显示在即时通讯界面内,或者,覆盖显示在即时通讯界面上的。
在本申请实施例中,文件选择界面中包含的文件可以指文件的所有内容,也可以指可以用于标识该文件的、文件的部分内容,比如,文件图标、文件名称、文件类型信息等。为了便于用户选择,文件选择界面中包含的文件对于用户而言,应该是可视化的。
S102:根据所述用户在所述文件选择界面中进行的文件选择操作,标记并显示所述用户选中的各文件的发送顺序信息。
在本申请实施例中,用户进行的文件选择操作不仅是为了选中待发送的各文件,而是同时还可以是为了部分或全部地指定选中的各文件的发送顺序,比如,用户越早选中的文件其对应的发送顺序也越靠前等。因此,步骤S102实际上是用户在主动控制待发送的各文件的发送顺序。
进一步地,对于某些即时通讯应用,可能会默认地按照用户选中各文件的顺序发送各文件。但是,这些即时通讯应用仅会提示用户文件是否选中,而不会显示任何发送顺序信息,这样的话,即使用户已知晓这些即时通讯应用可以按照自己选中各文件的顺序发送各文件,用户也只能自行记忆自己是按照怎样的顺序选中各文件的,当各文件数量 较多时,用户难以完全准确地控制以及知晓各文件的发送顺序,很容易出错,因此,这些即时通讯应用提供的多文件发送顺序控制方式的便利性仍然较差。其中,所述的发送顺序信息用于预先指示对应的各文件的发送顺序。
而本申请的方案则可以通过直观地标识及显示出的发送顺序信息,解决这些即时通讯应用存在的上述问题,具体地,用户不用自行记忆自己是按照怎样的顺序选中各文件的,而是可以显示的发送顺序信息就可以实时地知晓当前暂定的发送顺序,不容易出错,便利性较好。
在本申请实施例中,所述发送顺序信息可以统一显示在文件选择界面中的某个区域,也可以分别显示在对应的文件所处的显示区域内或显示区域附近,等等。所述发送顺序信息可以是文字形式的信息(比如,数字序号或字母序号等),也可以是图形形式的信息(比如,不同形状或不同颜色的图形等),等等。
S103:按照所述各文件的发送顺序信息指示的发送顺序,将所述各文件依次发送给所述对端用户。
在本申请实施例中,对于触发步骤S103开始执行的因素并不做限定。一般地,在步骤S102执行完毕后,用户可以主动地进行确认操作(比如,点击文件选择界面提供的用于确认的按钮等),则“用户确认”这个动作可以触发步骤S103开始执行。当然,也可以无需用户主动地进行确认操作,比如,若在执行步骤S102的过程中,用户超过预定时间没有继续进行文件选择操作,则可以认为步骤S102已执行完毕,进而自动地触发步骤S103开始执行。
进一步地,用户在进行选择文件操作的过程,也可能会错选文件,并根据显示的发送顺序信息及时地发现错误,则在步骤S103被触发执行之前,也可以允许用户重新进行选择文件操作,或者,手动地调整当前的发送顺序,从而可以提高本申请的方案的可靠性,以及提高对于用户的易用性和便利性。
在本申请实施例中,可以由即时通讯应用的通讯机制(比如传输控制协议等)确保:在各文件按照对应发送顺序向对端用户的终端发送的前提下,各文件相应地也会按照对应的发送顺序到达对端用户的终端,也即,对端用户的终端接收到并显示的各文件也是按照它们的发送顺序排列的。
通过上述方法,用户可以通过在文件选择界面中进行文件选择操作,部分或全部地指定选中的各文件的发送顺序,进而该方案的执行终端可以标记并显示出对应的发送顺序信息,以便于用户可以及时地知晓当前的发送顺序,以及对当前的发送顺序进行确认 或修改,从而可以实现对各文件的发送顺序的控制以及知晓,因此,相比于上述现有技术中的多文件发送方式,便利性较高,可以部分或全部地解决上述现有技术中的问题。
基于上述方法,本申请实施例还提供了上述方法的一些具体实施方案,以及扩展方案,下面进行说明。
在本申请实施例中,对于步骤S101,显示包含有一个或多个文件的文件选择界面,具体可以包括:当检测到用户在所述即时通讯界面中进行的、文件选择界面唤起操作时,唤起并显示包含有一个或多个文件的所述文件选择界面,所述文件选择界面用于所述用户选择待发送给对端用户的文件,所述用户通过所述即时通讯界面与所述对端用户进行所述即时通讯;其中,显示的所述文件选择界面包含在所述即时通讯界面中,或者,覆盖在所述即时通讯界面上。步骤S101的这种具体实施方式的优点是:只有在要向对端用户发送文件时,才唤起显示文件选择界面,而在其他时候文件选择界面可以是不可见的,从而不会占据即时通讯界面的显示区域,不会妨碍到用户进行除发送文件以外即时通讯行为。
其中,文件选择界面可以仅属于即时通讯应用,并仅由该即时通讯应用使用,也可以是属于终端的操作系统和/或文件系统,并由包括该即时通讯应用在内的多个应用公用。
在本申请实施例中,步骤S102可以有多种具体实施方式,下面以其中两种作为示例进行说明。
第一种具体实施方式,可以根据用户的文件选择操作顺序指定发送顺序。具体地,对于步骤S102,根据所述用户在所述文件选择界面中进行的文件选择操作,标记并显示所述用户选中的所述各文件的发送顺序信息,可以包括:根据所述用户在所述文件选择界面中进行的文件选择操作,确定所述用户选中的各文件,以及根据所述文件选择操作顺序,标记并显示所述各文件的发送顺序信息,所述发送顺序信息指示的发送顺序与所述文件选择操作顺序一致。
例如,假定用户在文件选择界面中依次选中了“文件1”、“文件2”、“文件3”这三个文件作为待发送文件,相当于同时指定了这三个文件的发送顺序为:首先发送“文件1”,其次发送“文件2”,最后发送“文件3”。在用户选择文件的过程中,可以相应地根据指定的发送顺序,标记及显示发送顺序信息。在这种情况下,发送顺序信息指示的发送顺序与文件选择操作顺序是一致的。
第一种具体实施方式的优点是:用户可以在选中文件的同时即已实时地指定了该文 件的发送顺序,并且可以实时地看到终端标记及显示的发送顺序信息,因此,对于用户而言,直观性和可控性较好。
第二种具体实施方式,可以根据用户的文件选择操作选中的各文件本身的信息,自动地确定合适的发送顺序。具体地,对于步骤S102,根据所述用户在所述文件选择界面中进行的文件选择操作,标记并显示所述用户选中的所述各文件的发送顺序信息,可以包括:根据所述用户在所述文件选择界面中进行的文件选择操作,确定所述用户选中的各文件;根据所述各文件的属性信息和预定的属性信息排序规则,标记并显示所述各文件的发送顺序信息,所述发送顺序信息指示的发送顺序与所述属性信息排序顺序一致。
所述属性信息可以包括文件名、文件类型等。一般地,一种属性信息或多种属性信息可以反映各文件之间的逻辑顺序,比较常见的一种情况是:给文件命名时是基于各文件之间的逻辑顺序进行的,比如,可以用一组有序的字符串依次命名,各文件的文件名的排序即反映各文件之间的逻辑顺序。比如,从一个长页面依次截取的各图片文件可以命名为:“IMG2016XXXX0001”、“IMG2016XXXX0002”、“IMG2016XXXX0003”等等。可以看到,若对各图片文件的文件名按照升序方式排列,其排列顺序与各图片文件之间的逻辑顺序是一致的,在这种情况下,所述的属性信息排序规则可以是文件名升序排列方式。
第二种具体实施方式适用于各文件的属性信息可以反映各文件之间的逻辑顺序的场景。第二种具体实施方式的优点是:用户可以在选择各文件的过程中,实时地看到终端标记及显示的发送顺序信息,且该发送顺序对应的发送顺序有较大可能与各文件之间的逻辑顺序一致,可以减少用户的思考,因此,对于用户而言,便利性和易用性较好。
在本申请实施例中,用户选中的各文件在文件选择界面中的显示位置顺序可能与用户的文件选择顺序不一致,这样的话,不便于用户从整体上预览文件选中情况及当前的发送顺序情况。针对这种问题,可以在标记及显示发送顺序信息后对各文件的显示位置顺序也进行相应的调整,从而可以进一步地提高本申请的方案的便利性和易用性。
具体地,对于步骤102和S103,标记并显示所述用户选中的所述各文件的发送顺序信息后,将所述各文件发送给所述对端用户前,还可以执行:确定所述各文件在所述文件选择界面中的显示位置顺序与所述各文件的发送顺序信息指示的发送顺序是否一致;若否,则根据所述各文件的发送顺序信息,对所述显示位置顺序进行调整,以使调整后的显示位置顺序与所述发送顺序一致。进一步地,还可以将所述各文件的显示位置调整到邻近的位置,比如,调整使各文件在文件选择界面上的显示位置依次相邻,且显示位 置顺序与发送顺序一致。
在本申请实施例中,前面已经提到,发送各文件之前,还可以允许用户对当前的发送顺序信息指示的发送顺序进行调整修改,这样可以提高本申请的方案的可靠性。
具体地,对于步骤S102,在标记并显示用户选中的各文件的发送顺序信息后,若确定所述各文件在所述文件选择界面中的显示位置顺序与所述各文件的发送顺序信息指示的发送顺序一致,将所述各文件发送给所述对端用户前,还可以执行:当检测到所述用户针对所述各文件进行的显示位置顺序调整操作时,根据所述显示位置顺序调整操作,重新调整所述各文件在所述文件选择界面中的显示位置顺序;以及根据重新调整后的显示位置顺序,相应地重新标记并显示所述各文件的发送顺序信息,以使重新标记并显示的发送顺序信息指示的发送顺序与所述重新调整后的显示位置顺序一致。
进一步地,所述的显示位置顺序调整操作具体可以包括但不限于以下两类操作:
第一类,用于实现所述显示位置顺序调整的文件拖拽操作。用户可以点击文件并拖拽至期望的显示位置处放置,原来位于该显示位置以及该显示位置之后的各文件可以向后移动一个单位的显示位置,从而可以实现针对文件的显示位置顺序调整。其中,对于触摸屏终端(如大多数智能手机),用户可以用手指拖拽文件,对于非触摸屏终端(如大多数个人计算机),用户可以用鼠标拖拽文件。
第二类,基于预定的文件显示位置移动控件(比如,用于左移、右移、上移、或下移文件显示位置的按钮控件等),实现所述显示位置顺序调整的文件显示位置移动操作。
在本申请实施例中,前面已经提到,发送顺序信息可以是文字形式的信息,也可以是图形形式的信息。考虑到对于表现顺序这种用途而言,文字形式的信息,尤其是数字序号更为直观,因此,在实际应用中,可以将发送顺序信息用数字序号进行表示。下面以数字序号为例,对步骤S102中“标记并显示发送顺序信息”的一种具体实施方式进行说明。
对于步骤S102,标记并显示所述用户选中的各文件的发送顺序信息,具体可以包括:分别在所述用户选中的各文件上标记并显示一个互不相同的数字序号,作为所述各文件的发送顺序信息,其中,各所述数字序号的顺序表征:各所述数字序号对应的所述各文件的发送顺序。
以上对本申请的方案进行了详细说明。为了便于理解,本申请实施例还提供了在一种实际应用场景下,本申请的方案的一种实施过程,如图2所示。
在图2对应的实际应用场景下,上述的终端可以为使用触摸屏的智能手机,上述的 文件选择界面可以为“发送文件框”。
图2中的过程可以包括以下步骤:
S201:唤起并显示发送文件框,以便于用户针对发送文件框内显示的文件,以手指点击触摸屏的方式进行文件选择操作。
步骤S201对应的智能手机界面如图3所示,图3中的发送文件框中当前显示有5个文件,其中,第2个文件被用户选中。需要说明的是,可以通过发送文件框两侧提供的按钮控件,向前或向后查看除这5个文件以外的更多文件。
S202:根据用户选择文件的选择顺序,对用户选中的各文件依次标记并显示相应的数字序号,作为发送顺序信息,数字序号顺序与用户选择文件的选择顺序一致。
其中,用户选中的各文件对应的数字序号顺序即表征:发送顺序信息指示的发送顺序。
步骤S202对应的发送文件框如图4所示,图4中的发送文件框中当前显示有5个文件,第1、2、4个文件被用户选中。用户选择这3个文件的选择顺序为:先选中第2个文件、再选中第4个文件,最后选中第1个文件。
因此,相应地在第2个文件上标记并显示数字序号“1”(表示第2个文件的发送顺序排第1位),在第4个文件上标记并显示数字序号“2”(表示第4个文件的发送顺序排第2位),在第1个文件上标记并显示数字序号“3”(表示第2个文件的发送顺序排第3位)。
S203:当确定用户的手指离开触摸屏的时间超过N秒时,根据用户选择文件的选择顺序,对用户选中的各文件重新排序,并相应地调整各文件的显示位置,重新排序顺序与用户选择文件的选择顺序一致,N为预设值。
步骤S203执行后的发送文件框如图5所示。相比于图4,图5中的文件显示位置顺序已经发生了调整,在图5中,用户选中的3个文件的显示位置顺序与发送顺序是一致的。由此,可以便于用户直观地知晓各文件的发送顺序。
S204:在发送各文件前,当用户发现各文件的发送顺序有错,则可以通过手动拖拽文件对各文件的发送顺序进行调整。
调整后,可以相应地重新标记并显示发送顺序信息。显然,若发送顺序无错,也可以不执行步骤S204。
进一步地,在用户对选中的各文件进行确认后,可以将各文件按照所述确认时的发送顺序发送向对端用户。
以上为本申请实施例提供的即时通讯中的文件发送方法,基于同样的思路,本申请实施例还提供相应的即时通讯中的文件发送装置,如图6所示。
图6为本申请实施例提供的即时通讯中的文件发送装置结构示意图,具体包括:
界面显示模块601,用于显示包含有一个或多个文件的文件选择界面,所述文件选择界面用于用户选择待发送给对端用户的文件;
标记显示模块602,用于根据所述用户在所述文件选择界面中进行的文件选择操作,标记并显示所述用户选中的各文件的发送顺序信息;
文件发送模块603,用于按照所述各文件的发送顺序信息指示的发送顺序,将所述各文件依次发送给所述对端用户。
可选地,界面显示模块601具体用于:当检测到用户在所述即时通讯界面中进行的、文件选择界面唤起操作时,唤起并显示包含有一个或多个文件的所述文件选择界面,所述文件选择界面用于所述用户选择待发送给对端用户的文件,所述用户通过所述即时通讯界面与所述对端用户进行所述即时通讯;其中,显示的所述文件选择界面包含在所述即时通讯界面中,或者,覆盖在所述即时通讯界面上。
可选地,标记显示模块602具体用于:根据所述用户在所述文件选择界面中进行的文件选择操作,确定所述用户选中的各文件,以及根据所述文件选择操作顺序,标记并显示所述各文件的发送顺序信息,所述发送顺序信息指示的发送顺序与所述文件选择操作顺序一致。
可选地,标记显示模块602具体用于:根据所述用户在所述文件选择界面中进行的文件选择操作,确定所述用户选中的各文件,以及根据所述各文件的属性信息和预定的属性信息排序规则,标记并显示所述各文件的发送顺序信息,所述发送顺序信息指示的发送顺序与所述属性信息排序顺序一致。
可选地,所述装置还包括:
显示位置顺序调整模块604,用于确定所述各文件在所述文件选择界面中的显示位置顺序与所述各文件的发送顺序信息指示的发送顺序是否一致;若否,则根据所述各文件的发送顺序信息,对所述显示位置顺序进行调整,以使调整后的显示位置顺序与所述发送顺序一致。
可选地,所述装置还包括:
发送顺序调整模块605,用于若显示位置顺序调整模块604确定所述各文件在所述文件选择界面中的显示位置顺序与所述各文件的发送顺序信息指示的发送顺序一致,在 所述文件发送模块将所述各文件发送给所述对端用户前,当检测到所述用户针对所述各文件进行的显示位置顺序调整操作时,根据所述显示位置顺序调整操作,重新调整所述各文件在所述文件选择界面中的显示位置顺序;以及根据重新调整后的显示位置顺序,相应地重新标记并显示所述各文件的发送顺序信息,以使重新标记并显示的发送顺序信息指示的发送顺序与所述重新调整后的显示位置顺序一致。
可选地,所述显示位置顺序调整操作具体包括:用于实现所述显示位置顺序调整的文件拖拽操作。
可选地,标记显示模块602具体用于:分别在所述用户选中的各文件上标记并显示一个互不相同的数字序号,作为所述各文件的发送顺序信息,其中,各所述数字序号的顺序表征:各所述数字序号对应的所述各文件的发送顺序。
本申请提供的装置是与本申请提供的方法一一对应的,因此,所述装置也具有与所述方法类似的有益技术效果,由于上面已经对所述方法的有益技术效果进行了详细说明,因此,这里不再赘述所述装置的有益技术效果。
具体的上述如图6所示的装置可以位于终端或服务器上。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。

Claims (16)

  1. 一种即时通讯中的文件发送方法,其特征在于,包括:
    显示包含有一个或多个文件的文件选择界面,所述文件选择界面用于用户选择待发送给对端用户的文件;
    根据所述用户在所述文件选择界面中进行的文件选择操作,标记并显示所述用户选中的各文件的发送顺序信息;
    按照所述各文件的发送顺序信息指示的发送顺序,将所述各文件依次发送给所述对端用户。
  2. 如权利要求1所述的方法,其特征在于,显示包含有一个或多个文件的文件选择界面,具体包括:
    当检测到用户在所述即时通讯界面中进行的、文件选择界面唤起操作时,唤起并显示包含有一个或多个文件的所述文件选择界面,所述文件选择界面用于所述用户选择待发送给对端用户的文件,所述用户通过所述即时通讯界面与所述对端用户进行所述即时通讯;
    其中,显示的所述文件选择界面包含在所述即时通讯界面中,或者,覆盖在所述即时通讯界面上。
  3. 如权利要求1所述的方法,其特征在于,根据所述用户在所述文件选择界面中进行的文件选择操作,标记并显示所述用户选中的所述各文件的发送顺序信息,具体包括:
    根据所述用户在所述文件选择界面中进行的文件选择操作,确定所述用户选中的各文件,以及根据所述文件选择操作顺序,标记并显示所述各文件的发送顺序信息,所述发送顺序信息指示的发送顺序与所述文件选择操作顺序一致。
  4. 如权利要求1所述的方法,其特征在于,根据所述用户在所述文件选择界面中进行的文件选择操作,标记并显示所述用户选中的所述各文件的发送顺序信息,具体包括:
    根据所述用户在所述文件选择界面中进行的文件选择操作,确定所述用户选中的各文件,以及根据所述各文件的属性信息和预定的属性信息排序规则,标记并显示所述各文件的发送顺序信息,所述发送顺序信息指示的发送顺序与所述属性信息排序顺序一致。
  5. 如权利要求1所述的方法,其特征在于,标记并显示所述用户选中的所述各文件的发送顺序信息后,将所述各文件发送给所述对端用户前,所述方法还包括:
    确定所述各文件在所述文件选择界面中的显示位置顺序与所述各文件的发送顺序 信息指示的发送顺序是否一致;
    若否,则根据所述各文件的发送顺序信息,对所述显示位置顺序进行调整,以使调整后的显示位置顺序与所述发送顺序一致。
  6. 如权利要求5所述的方法,其特征在于,若确定所述各文件在所述文件选择界面中的显示位置顺序与所述各文件的发送顺序信息指示的发送顺序一致,将所述各文件发送给所述对端用户前,所述方法还包括:
    当检测到所述用户针对所述各文件进行的显示位置顺序调整操作时,根据所述显示位置顺序调整操作,重新调整所述各文件在所述文件选择界面中的显示位置顺序;以及
    根据重新调整后的显示位置顺序,相应地重新标记并显示所述各文件的发送顺序信息,以使重新标记并显示的发送顺序信息指示的发送顺序与所述重新调整后的显示位置顺序一致。
  7. 如权利要求6所述的方法,其特征在于,所述显示位置顺序调整操作具体包括:用于实现所述显示位置顺序调整的文件拖拽操作。
  8. 如权利要求1~7任一项所述的方法,其特征在于,标记并显示所述用户选中的各文件的发送顺序信息,具体包括:
    分别在所述用户选中的各文件上标记并显示一个互不相同的数字序号,作为所述各文件的发送顺序信息,其中,各所述数字序号的顺序表征:各所述数字序号对应的所述各文件的发送顺序。
  9. 一种即时通讯中的文件发送装置,其特征在于,包括:
    界面显示模块,用于显示包含有一个或多个文件的文件选择界面,所述文件选择界面用于用户选择待发送给对端用户的文件;
    标记显示模块,用于根据所述用户在所述文件选择界面中进行的文件选择操作,标记并显示所述用户选中的各文件的发送顺序信息;
    文件发送模块,用于按照所述各文件的发送顺序信息指示的发送顺序,将所述各文件依次发送给所述对端用户。
  10. 如权利要求9所述的装置,其特征在于,所述界面显示模块具体用于:当检测到用户在所述即时通讯界面中进行的、文件选择界面唤起操作时,唤起并显示包含有一个或多个文件的所述文件选择界面,所述文件选择界面用于所述用户选择待发送给对端用户的文件,所述用户通过所述即时通讯界面与所述对端用户进行所述即时通讯;其中,显示的所述文件选择界面包含在所述即时通讯界面中,或者,覆盖在所述即时通讯界面 上。
  11. 如权利要求9所述的装置,其特征在于,所述标记显示模块具体用于:根据所述用户在所述文件选择界面中进行的文件选择操作,确定所述用户选中的各文件,以及根据所述文件选择操作顺序,标记并显示所述各文件的发送顺序信息,所述发送顺序信息指示的发送顺序与所述文件选择操作顺序一致。
  12. 如权利要求9所述的装置,其特征在于,所述标记显示模块具体用于:根据所述用户在所述文件选择界面中进行的文件选择操作,确定所述用户选中的各文件,以及根据所述各文件的属性信息和预定的属性信息排序规则,标记并显示所述各文件的发送顺序信息,所述发送顺序信息指示的发送顺序与所述属性信息排序顺序一致。
  13. 如权利要求9所述的装置,其特征在于,所述装置还包括:
    显示位置顺序调整模块,用于确定所述各文件在所述文件选择界面中的显示位置顺序与所述各文件的发送顺序信息指示的发送顺序是否一致;若否,则根据所述各文件的发送顺序信息,对所述显示位置顺序进行调整,以使调整后的显示位置顺序与所述发送顺序一致。
  14. 如权利要求13所述的装置,其特征在于,所述装置还包括:
    发送顺序调整模块,用于若所述显示位置顺序调整模块确定所述各文件在所述文件选择界面中的显示位置顺序与所述各文件的发送顺序信息指示的发送顺序一致,在所述文件发送模块将所述各文件发送给所述对端用户前,当检测到所述用户针对所述各文件进行的显示位置顺序调整操作时,根据所述显示位置顺序调整操作,重新调整所述各文件在所述文件选择界面中的显示位置顺序;以及根据重新调整后的显示位置顺序,相应地重新标记并显示所述各文件的发送顺序信息,以使重新标记并显示的发送顺序信息指示的发送顺序与所述重新调整后的显示位置顺序一致。
  15. 如权利要求14所述的装置,其特征在于,所述显示位置顺序调整操作具体包括:用于实现所述显示位置顺序调整的文件拖拽操作。
  16. 如权利要求9~15任一项所述的装置,其特征在于,所述标记显示模块具体用于:分别在所述用户选中的各文件上标记并显示一个互不相同的数字序号,作为所述各文件的发送顺序信息,其中,各所述数字序号的顺序表征:各所述数字序号对应的所述各文件的发送顺序。
PCT/CN2017/078500 2016-04-11 2017-03-29 一种即时通讯中的文件发送方法及装置 WO2017177820A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610220557.5 2016-04-11
CN201610220557.5A CN107294835A (zh) 2016-04-11 2016-04-11 一种即时通讯中的文件发送方法及装置

Publications (1)

Publication Number Publication Date
WO2017177820A1 true WO2017177820A1 (zh) 2017-10-19

Family

ID=60042315

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/078500 WO2017177820A1 (zh) 2016-04-11 2017-03-29 一种即时通讯中的文件发送方法及装置

Country Status (3)

Country Link
CN (1) CN107294835A (zh)
TW (1) TW201738745A (zh)
WO (1) WO2017177820A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228107A (zh) * 2018-01-02 2018-06-29 联想(北京)有限公司 一种数据传输方法、数据传输装置及电子设备
CN108334265B (zh) * 2018-01-18 2019-08-16 维沃移动通信有限公司 一种文件处理方法及移动终端
CN111131360B (zh) * 2018-10-31 2023-02-21 北京国双科技有限公司 多文件上传方法及装置
CN111400254B (zh) * 2019-01-02 2023-08-15 中国移动通信有限公司研究院 一种文件显示方法及设备
CN111131651A (zh) * 2019-12-26 2020-05-08 北大方正集团有限公司 图片上传方法、图片上传装置和计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286952A (zh) * 2008-05-27 2008-10-15 腾讯科技(深圳)有限公司 一种文件信息显示方法及系统
US20090327448A1 (en) * 2008-06-27 2009-12-31 Microsoft Corporation Peer-to-peer synchronous content selection
CN103475572A (zh) * 2013-04-27 2013-12-25 腾讯科技(深圳)有限公司 在即时通信应用中发送多张图片的方法、装置及系统
CN104881206A (zh) * 2015-05-15 2015-09-02 百度在线网络技术(北京)有限公司 一种文件选择处理方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286952A (zh) * 2008-05-27 2008-10-15 腾讯科技(深圳)有限公司 一种文件信息显示方法及系统
US20090327448A1 (en) * 2008-06-27 2009-12-31 Microsoft Corporation Peer-to-peer synchronous content selection
CN103475572A (zh) * 2013-04-27 2013-12-25 腾讯科技(深圳)有限公司 在即时通信应用中发送多张图片的方法、装置及系统
CN104881206A (zh) * 2015-05-15 2015-09-02 百度在线网络技术(北京)有限公司 一种文件选择处理方法和装置

Also Published As

Publication number Publication date
TW201738745A (zh) 2017-11-01
CN107294835A (zh) 2017-10-24

Similar Documents

Publication Publication Date Title
US10496267B2 (en) Operation method and terminal device
WO2017177820A1 (zh) 一种即时通讯中的文件发送方法及装置
US10248305B2 (en) Manipulating documents in touch screen file management applications
US20130191785A1 (en) Confident item selection using direct manipulation
AU2012312073B2 (en) User interface for editing a value in place
CN105373326B (zh) 数据处理系统及方法
US20150215245A1 (en) User interface for graphical representation of and interaction with electronic messages
JP2017097892A (ja) デジタルコンテンツ項目を管理するシステム及び方法
US20140372932A1 (en) Filtering Data with Slicer-Style Filtering User Interface
US10282219B2 (en) Consolidated orthogonal guide creation
EP2856300A2 (en) Optimization schemes for controlling user interfaces through gesture or touch
US11036792B2 (en) Method for designating and tagging album of stored photographs in touchscreen terminal, computer-readable recording medium, and terminal
US20160342449A1 (en) Data exchange across multiple computing devices through a proactive intelligent clipboard
CN109074372B (zh) 使用拖放来应用元数据
US10331327B2 (en) Message display method, apparatus and terminal
WO2018040547A1 (zh) 一种创建群组的方法及装置
US20230306192A1 (en) Comment adding method, electronic device, and related apparatus
US20160231876A1 (en) Graphical interaction in a touch screen user interface
WO2017008646A1 (zh) 一种在触控终端上选择多个目标的方法和设备
WO2016173307A1 (zh) 一种消息复制方法和装置、以及智能终端
US11112938B2 (en) Method and apparatus for filtering object by using pressure
CN107016013A (zh) 信息分享方法、装置和系统
WO2018149288A1 (zh) 一种Office文件发送方法、终端及系统
CN110308843A (zh) 一种对象处理方法及装置
US20160350273A1 (en) Data processing method

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17781796

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17781796

Country of ref document: EP

Kind code of ref document: A1