CN114710457B - Method and storage medium for transmitting file to multiple chat objects in chat tool - Google Patents

Method and storage medium for transmitting file to multiple chat objects in chat tool Download PDF

Info

Publication number
CN114710457B
CN114710457B CN202210357930.7A CN202210357930A CN114710457B CN 114710457 B CN114710457 B CN 114710457B CN 202210357930 A CN202210357930 A CN 202210357930A CN 114710457 B CN114710457 B CN 114710457B
Authority
CN
China
Prior art keywords
file
chat
target
receiving window
objects
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210357930.7A
Other languages
Chinese (zh)
Other versions
CN114710457A (en
Inventor
马志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ecarx Hubei Tech Co Ltd
Original Assignee
Ecarx Hubei Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ecarx Hubei Tech Co Ltd filed Critical Ecarx Hubei Tech Co Ltd
Priority to CN202210357930.7A priority Critical patent/CN114710457B/en
Publication of CN114710457A publication Critical patent/CN114710457A/en
Application granted granted Critical
Publication of CN114710457B publication Critical patent/CN114710457B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The present invention provides a method and storage medium for transmitting a file to a plurality of chat objects in a chat tool. The method comprises the steps of obtaining a starting instruction of a chat tool for sending a file to a plurality of chat objects; generating a first file receiving window in the chat tool according to the starting instruction; sequentially acquiring target chat objects which need to receive files in the chat tool, and adding the target chat objects into a first file receiving window; after all the target chat objects are added, displaying a group sending file interface; the group sending file interface is displayed with a second file receiving window, and each target chat object is displayed in the second file receiving window; acquiring a selected final chat object in the target chat objects of the second file receiving window; the target file to be sent is obtained through the group file sending interface, and the target file is sent to the final chat object, so that the target file is simultaneously sent to a plurality of final chat objects, the operation of a user is reduced, and the experience of the user is improved.

Description

Method and storage medium for transmitting file to multiple chat objects in chat tool
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method and a storage medium for transmitting a file to a plurality of chat objects in a chat tool.
Background
Currently, users often need to send files to chat objects during chat through chat tools and other chat objects. When a user needs to send files to a plurality of chat objects, the conversation windows of the chat objects are required to be opened respectively, and the corresponding files are selected to be sent through the conversation windows respectively, so that the file sending process is very complicated, and the user experience is reduced.
Disclosure of Invention
In view of the above, a method and storage medium for transmitting a file to a plurality of chat objects in a chat tool have been proposed that overcomes or at least partially solves the above-mentioned problems.
It is an object of the present invention to send a file to multiple chat objects of a chat tool simultaneously.
According to one aspect of the present invention, there is provided a method of transmitting a file to a plurality of chat objects in a chat tool, comprising:
acquiring a starting instruction of a chat tool for transmitting a file to a plurality of chat objects;
generating a first file receiving window in the chat tool according to the starting instruction;
sequentially acquiring target chat objects which need to receive files in the chat tool, and adding the target chat objects into the first file receiving window;
after all the target chat objects are added, displaying a group sending file interface; the group sending file interface is displayed with a second file receiving window, and each target chat object is displayed in the second file receiving window;
acquiring a selected final chat object in the target chat objects of the second file receiving window;
and acquiring a target file to be transmitted through the group transmission file interface, and transmitting the target file to the final chat object.
Optionally, after obtaining the selected final chat object in the target chat objects in the second file receiving window, the method further includes:
judging whether the number of the final chat objects is 1;
if yes, the final chat object is used as a unique chat object, and session content of the unique chat object is displayed in the second file receiving window.
Optionally, after the final chat object is the unique chat object, the method includes:
acquiring a dialogue starting instruction of the unique chat object;
and displaying a dialogue interface of the unique chat object, and sending information to the unique chat through the dialogue interface.
Optionally, obtaining, through the group sending file interface, a target file to be sent includes:
acquiring appointed operation performed on the group sending file interface;
searching whether a file transmitted to the final chat object and/or a received history record of the file transmitted by the final chat object exist or not according to the appointed operation;
if so, displaying the transmitted file and/or the received file history list;
and acquiring the selected target file in the history list.
Optionally, a file adding button is generated on the group file interface;
the method for acquiring the target file to be transmitted through the group transmission file interface comprises the following steps:
acquiring clicking operation of the file adding button;
and acquiring the target file to be sent according to clicking operation performed on the file adding button.
Optionally, acquiring an initiation instruction that the chat tool sends the file to the plurality of chat objects includes:
acquiring a selected chat object in a designated display interface of a chat tool;
calculating the dragging displacement of the selected chat object along the designated direction;
judging whether the dragging displacement is larger than or equal to a preset threshold value;
if yes, judging whether the selected chat object is the first chat object with the dragging displacement larger than or equal to the preset threshold value;
if yes, acquiring a starting instruction of the chat tool for sending the file to a plurality of chat objects.
Optionally, if the dragging displacement of the selected chat object along the designated direction is greater than or equal to the preset threshold, the selected chat object is used as the target chat object.
Optionally, a completed button is also generated in the first file receiving window;
after all the target chat objects are added, displaying a group transmission file interface, wherein the group transmission file interface comprises the following steps:
acquiring clicking operation of the completed button to obtain an addition ending instruction of all the target chat objects;
and displaying the group sending file interface.
Optionally, a cancel button is also generated in the first file receiving window;
and acquiring clicking operation on the cancel button, and canceling the first file receiving window.
Optionally, an exit button is also generated in the second file receiving window;
and acquiring clicking operation on the exit button, and returning to the appointed display interface.
Optionally, a dismissal button is also generated in the second file receiving window;
and acquiring clicking operation on the dismissal button, and stopping the starting instruction.
Optionally, an add button with a target chat object is also generated in the second file receiving window;
acquiring clicking operation on the adding button, and displaying an address book interface in the chat tool;
and acquiring the selected target chat object in the address book interface and adding the selected target chat object into the second file receiving window.
Optionally, a full selection button is also generated in the second file receiving window;
acquiring clicking operation on the all-selected button, and judging whether the target chat object of the second file receiving window is in all selected states;
if not, all the target chat objects of the second file receiving window are selected;
if yes, all the target chat objects of the second file receiving window are deselected.
Optionally, after obtaining the target file to be sent through the group sending file interface, the method further includes:
and displaying the total number of the target files and the labels of the target files in the group sending file display interface.
According to another aspect of the present invention there is also provided a computer storage medium storing computer program code which, when run on a computing device, causes the computing device to perform a method of sending a file to a plurality of chat objects in a chat tool according to any of the preceding claims.
In the method for transmitting the file to the plurality of chat objects in the chat tool, the starting instruction of transmitting the file to the plurality of chat objects by the chat tool is acquired, the first file receiving window is generated in the chat tool according to the starting instruction, the target chat objects which need to receive the file in the chat tool are sequentially acquired, the target chat objects are added into the first file receiving window, after all the target chat objects are added, the group transmission file interface is displayed, wherein the group transmission file interface is displayed with the second file receiving window, each target chat object is displayed in the second file receiving window, the selected final chat object in the target chat object of the second file receiving window is acquired, the target file which needs to be transmitted is acquired through the group transmission file interface, and the target file is transmitted to the final chat object.
The above, as well as additional objectives, advantages, and features of the present invention will become apparent to those skilled in the art from the following detailed description of a specific embodiment of the present invention when read in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 is a flow chart of a method of sending a file to a plurality of chat objects in a chat tool in accordance with an embodiment of the invention;
FIG. 2 is a schematic diagram of sending a file to a plurality of chat objects in a chat tool in accordance with another embodiment of the invention;
FIG. 3 is a schematic diagram of sending a file to a plurality of chat objects in a chat tool in accordance with another embodiment of the invention;
FIG. 4 is a schematic diagram of sending a file to a plurality of chat objects in a chat tool in accordance with another embodiment of the invention;
FIG. 5 is a schematic diagram of sending a file to a plurality of chat objects in a chat tool in accordance with another embodiment of the invention;
FIG. 6 is a schematic diagram of sending a file to a plurality of chat objects in a chat tool in accordance with another embodiment of the invention;
FIG. 7 is a schematic diagram of sending a file to a plurality of chat objects in a chat tool in accordance with another embodiment of the invention;
FIG. 8 is a schematic diagram of sending a file to a plurality of chat objects in a chat tool in accordance with another embodiment of the invention;
FIG. 9 is a schematic diagram of sending a file to a plurality of chat objects in a chat tool in accordance with another embodiment of the invention;
fig. 10 is a flow chart of a method of sending a file to a plurality of chat objects in a chat tool in accordance with an embodiment of the invention.
Detailed Description
Fig. 1 is a flow chart of a method of sending a file to a plurality of chat objects in a chat tool in accordance with an embodiment of the invention. Referring to fig. 1, a method of transmitting a file to a plurality of chat objects in a chat tool may include the following steps S102 to S112.
Step S102: and acquiring a starting instruction of the chat tool for transmitting the file to a plurality of chat objects. In this step, the chat tool may be a chat tool developed by the enterprise itself or may be some existing chat tools. Chat tools may be installed in electronic devices such as cell phones, tablet computers, and wearable devices.
Step S104: and generating a first file receiving window in the chat tool according to the starting instruction. The size of the first file receiving window may be adjusted, for example, dragging the border of the first file receiving window may adjust the size of the first file receiving window. The first file receiving window may be referred to as a first file receiving window marked by a dotted line frame in fig. 2.
Step S106: and sequentially acquiring target chat objects which need to receive the files in the chat tool, and adding the target chat objects into the first file receiving window. When there are more target chat objects, the first file receiving window may scroll the target chat objects, for example, may scroll the respective target chat objects left and right. In addition, the first file receiving window may display an avatar, a name, and the like of each of the target chat objects.
Step S108: and after all the target chat objects are added, displaying a group sending file interface. The group sending file interface is displayed with a second file receiving window, and each target chat object is displayed in the second file receiving window. The second file receiving window may display an avatar, a name, etc. of each of the target chat objects. The second file receiving window may be referred to as a second file receiving window marked in a dotted line box in fig. 3, 4, 5, 7, and 9.
Step S110: and acquiring the selected final chat object in the target chat objects of the second file receiving window.
Step S112: and acquiring the target file to be transmitted through the group file transmitting interface, and transmitting the target file to the final chat object.
In this embodiment, a start instruction that a chat tool sends a file to a plurality of chat objects is acquired, a first file receiving window is generated in the chat tool according to the start instruction, target chat objects that need to receive the file in the chat tool are sequentially acquired, the target chat objects are added to the first file receiving window, after all the target chat objects are added, a group sending file interface is displayed, wherein a second file receiving window is displayed on the group sending file interface, all the target chat objects are displayed in the second file receiving window, a final chat object selected in the target chat objects of the second file receiving window is acquired, the target file to be sent is acquired through the group sending file interface, and the target file is sent to the final chat object, so that the target file is simultaneously and rapidly sent to a plurality of final chat objects, the operation of a user is reduced, and the experience of the user is improved.
In one embodiment of the present invention, obtaining an initiation instruction that a chat tool sends a file to a plurality of chat objects may include:
acquiring a selected chat object in a designated display interface of a chat tool;
calculating the dragging displacement of the selected chat object along the designated direction;
judging whether the dragging displacement is larger than or equal to a preset threshold value;
if yes, judging whether the selected chat object is the first chat object with the dragging displacement larger than or equal to a preset threshold value;
if yes, acquiring a starting instruction of the chat tool for sending the file to a plurality of chat objects.
In this embodiment, the designated display interface may be a home page interface of the chat tool, that is, an interface for displaying chat information, or may be an address book interface. The user can select the chat object by pressing for a long time. In general, chat objects are displayed on the left side of the designated display interface in a habitual manner, and the designated direction may be a right direction in general, but may be other directions such as upward or downward. The preset threshold value can be set according to actual needs. The method comprises the steps of obtaining a selected chat object in a designated display interface of a chat tool, calculating the dragging displacement of the selected chat object dragged along a designated direction, judging whether the dragging displacement is larger than or equal to a preset threshold, if yes, judging whether the selected chat object is a first chat object with the dragging displacement larger than or equal to the preset threshold, and if yes, obtaining a starting instruction of the chat tool for sending files to a plurality of chat objects, wherein the method for obtaining the starting instruction is very simple, is easy to operate and control, and improves user experience. Specifically, for example, referring to fig. 2, fig. 2 is a schematic diagram of sending a file to a plurality of chat objects in a chat tool according to another embodiment of the present invention, and the front page interface in fig. 2 is a designated display interface, in which chat information of chat objects such as "running maple", "alau" and the like are displayed.
In one embodiment of the present invention, if the dragging displacement of the selected chat object in the designated direction is greater than or equal to the preset threshold, the selected chat object is used as the target chat object.
In this embodiment, the manner of acquiring the target chat object and the manner of acquiring the start instruction may be the same, and the start instruction may be acquired simultaneously when the first target chat object is acquired, so that not only the operation steps of the user may be reduced, but also the operation manner that the user needs to grasp may be reduced, and the user experience is greatly improved. And the original chat object arrangement sequence of the appointed display interface is not changed by adding the target chat object into the first file receiving window. Specifically, with continued reference to fig. 2, the first file receiving window includes the target chat objects such as "running maple", "alamu", "Liu Li", and the chat objects such as "running maple" and "alamu" that are original in the designated display interface are still displayed in the designated display interface according to the original order.
In one embodiment of the present invention, a completed button may also be generated in the first file receiving window;
after all the target chat objects are added, displaying a group sending file interface, which can comprise:
acquiring clicking operation on the completed button to obtain an adding ending instruction of all the target chat objects;
and displaying the group sending file interface.
In this embodiment, with continued reference to FIG. 2, the completed button is the "selected" button. And acquiring clicking operation on the completed button to obtain an adding ending instruction of all the target chat objects, namely indicating that the adding of all the target chat objects is ended. Specifically, the group sending file interface may be displayed in a skip manner, that is, only the group sending file interface is displayed on the screen of the electronic device, and of course, a parallel display manner may also be adopted, that is, the group sending file interface and the first file receiving window are displayed on the screen at the same time.
In one embodiment of the present invention, a cancel button may be further generated in the first file receiving window;
and acquiring clicking operation on the cancel button, and canceling the first file receiving window.
In this embodiment, the clicking operation performed on the cancel button is obtained, and the first file receiving window is cancelled, that is, the start instruction for ending the file to be sent to the plurality of chat objects is indicated, and the mode of ending the start instruction is very simple and easy to operate.
In one embodiment of the present invention, after obtaining the selected final chat object in the target chat objects in the second file receiving window, the method further includes:
judging whether the number of the final chat objects is 1;
if yes, the final chat object is taken as a unique chat object, and the session content of the unique chat object is displayed in the second file receiving window.
In this embodiment, when the group sending file interface is displayed, each target chat object displayed in the second file receiving window may default to a selected state, that is, all the target chat objects are final chat objects. But the user may reselect the target chat object of the second file receiving window to obtain the final chat object, taking into account that the user may modify the final chat object. For example, the user may click on the target chat object of the second file receiving window to select or deselect. If the number of the final chat objects is 1, the session content of the unique chat object is displayed in the second file receiving window, so that the user can more conveniently know the session information of the final chat object, and the user experience is improved. Specifically, referring to fig. 3, the display state of "running maple" is different from the display state of other target chat objects such as "alamu", "Jiang Hui", and the second file receiving window only has one final chat object of "running maple", and displays dialogue information "fast-sending me file, tweed". And, the size of the second file receiving window may be adjusted, for example, dragging the border of the second file receiving window may adjust the size of the second file receiving window. When there are more target chat objects, the second file receiving window can scroll left and right to display the target chat objects. Typically, a sub-area may be further divided in the second file receiving window as an area for displaying session contents of the unique chat object. Referring to fig. 4, the target file is transmitted to a unique chat object "fipronil" in fig. 4. If the number of final chat objects is greater than 1, the target file may be sent to a plurality of final chat objects, for example, referring to fig. 5, where the final chat objects in fig. 5 include "running maple", "alamu" and "Jiang Hui". And the number of the final chat object objects can be displayed in the second file receiving window.
In one embodiment of the present invention, after the final chat object is the only chat object, it may include:
acquiring a dialogue starting instruction of a unique chat object;
and displaying a dialogue interface of the unique chat object, and sending information to the unique chat through the dialogue interface.
In this embodiment, the manner of obtaining the session initiation instruction of the unique chat object may include obtaining a click operation performed on the unique chat object or obtaining a click operation performed on an area where the session content is displayed. The method has the advantages that the dialogue starting instruction of the unique chat object is obtained, the dialogue interface of the unique chat object is displayed, the information is sent to the unique chat through the dialogue interface, so that a user can more conveniently conduct dialogue, the user is prevented from switching to the address book to search the chat object, the operation of the user is reduced, and the experience of the user is improved. Specifically, referring to FIG. 6, a dialog interface is shown in FIG. 6. And, the conversation interface can be assigned, whether the history record of the file sent to the final chat object and/or the file sent by the received final chat object exists or not is searched according to the assigned operation, if so, a history record list of the sent and/or received file is displayed, and the selected target file in the history record list is obtained. For example, the selected target file may be dragged into a dialog box for transmission by long-press selection of the target file. The files in the history list may be clicked on to view the content of the file.
In one embodiment of the present invention, obtaining, through a group file interface, a target file to be sent may include:
acquiring appointed operation on a group file interface;
searching whether a history record of the file sent to the final chat object and/or the file sent by the received final chat object exists or not according to the appointed operation;
if so, displaying the transmitted file and/or the received file history list;
the selected target file in the history list is obtained.
In this embodiment, the designating operation performed on the group sending file interface may generally refer to a designating operation performed on an area other than the second file receiving window of the group sending file interface, for example, a sliding operation on the left side, or a sliding operation on the right or other directions, and may be a clicking operation. The files sent to the final chat object and/or the files sent by the received final chat object may belong to important files, and the probability of needing to be retransmitted is high. The user can select the target file in the history list in a long-time mode, and can open and view the content of the file in the history list in a click mode. And then, clicking operation on a sending button of the group sending file interface is acquired, and the selected target file can be sent.
In one embodiment of the invention, a file adding button is generated on a group file interface;
the obtaining, through the group file sending interface, the target file to be sent may include:
acquiring clicking operation on a file adding button;
and acquiring the target file to be sent according to clicking operation on the file adding button.
In this embodiment, the clicking operation performed on the file adding button is obtained, and the specified position of the stored file may be displayed, so that the clicking operation performed on the specified position may be obtained, the stored file may be displayed, and the long-press operation performed on the displayed file may be obtained, thereby obtaining the target file. The group send file interface is generated with a send button. When a click operation on the file sending button is obtained, if a plurality of target files are obtained, a reminding information interface can be displayed, wherein the reminding information interface comprises a sending button and a cancelling button, referring to fig. 7 specifically, if a click operation on the sending button of the reminding information interface is obtained, the target file is sent again, and if a click operation on the cancelling button is obtained, the sending of the target file is cancelled.
In one embodiment of the present invention, an exit button is also generated in the second file receiving window;
and acquiring clicking operation on the exit button, and returning to the appointed display interface.
In this embodiment, referring to fig. 3, the clicking operation performed on the exit button is acquired, and the designated display interface is returned, so that flexible switching between display interfaces is realized, the operation of the user is reduced, and the experience of the user is improved.
In one embodiment of the present invention, a dismissal button is also generated in the second file receiving window;
and acquiring clicking operation on the dismissal button, and stopping the starting instruction.
In the embodiment, the clicking operation on the dismissal button is acquired, the starting instruction is stopped, the starting instruction is flexibly stopped and started, and the user experience is improved.
In one embodiment of the present invention, an add button of the target chat object is also generated in the second file receiving window;
acquiring clicking operation on the adding button, and displaying an address book interface in the chat tool;
and acquiring the selected target chat object in the address book interface and adding the selected target chat object into the second file receiving window.
In this embodiment, the add button of the target chat object may be referred to as the "+" button of the second file receiving window in fig. 3. The clicking operation on the adding button is obtained, an address book interface in the chat tool is displayed, as shown in fig. 8, the selected target chat object in the address book interface is obtained, the clicking operation on the button is completed in the address book interface, and the selected target chat object in the address book interface is added into the second file receiving window, so that the target chat object is added in various modes, the target chat object is added more conveniently by the user, and the user experience is improved.
In one embodiment of the present invention, a full selection button is also generated in the second file receiving window;
acquiring clicking operation on the full selection button, and judging whether the target chat object of the second file receiving window is in a full selected state;
if not, all target chat objects of the second file receiving window are selected;
if yes, all the target chat objects of the second file receiving window are deselected.
In this embodiment, when the number of target chat objects is greater, if the user needs to select or cancel one by one, the operation is very complicated, so that a full selection button is further generated in the second file receiving window, a clicking operation performed on the full selection button is obtained, whether the target chat objects in the second file receiving window are in a fully selected state is determined, if not, the target chat objects in the second file receiving window are fully selected, and if yes, the target chat objects in the second file receiving window are fully cancelled, so that the quick and complete selection or cancellation of the target chat objects is realized, and user experience is improved. All the target chat objects of the second file receiving window are deselected, see fig. 9, and all the target chat objects in fig. 9 are not selected, and the states of "running maple" in fig. 9 and "running maple" in fig. 3 can be found to be changed. The user can click on the target chat object of the second file receiving window to select, or can click on the deselected target chat object again.
In one embodiment of the present invention, after obtaining the target file to be sent through the group file interface, the method may further include:
and displaying the total number of the target files and the labels of the target files in the group file display interface.
In this embodiment, the tag of the target file may refer to an icon or name of the target file, or the like. The total number of the target files and the labels of the target files are displayed in the group file display interface, so that when more target files are displayed, a user can know the target files which the user wants to send more clearly, and the user experience is improved.
In some other embodiments of the present invention, obtaining a chat object selected in a designated display interface of a chat tool may include: judging whether the selected chat object in the appointed display interface is a chat group, if so, ignoring the chat group.
In this embodiment, since a plurality of chat objects may be included in the chat group, it cannot be determined which chat object is the first chat object whose dragging displacement is greater than or equal to the preset threshold, and therefore if the selected chat object is the chat group, the chat group is ignored, that is, the chat group is prohibited from being dragged, so that erroneous judgment can be avoided. And, it is also possible to avoid adding a plurality of chat objects in the chat group to the first file receiving window.
In some other embodiments of the present invention, the target chat object of the first file receiving window may be stored in the server, so that after logging in the chat tool in a different electronic device, the selected target chat object may be found, thereby avoiding the re-user from re-selecting the target chat object and reducing the operation of the user.
In some other embodiments of the present invention, generating the first file receiving window in the chat tool according to the initiation instruction may include generating the first file receiving window in a designated location of a designated display interface of the chat tool according to the initiation instruction, and in particular, for example, with continued reference to fig. 2, the first file receiving window may be generated above the designated display interface. And the original display information of the appointed display interface can be adaptively adjusted, so that the first file receiving window is prevented from being covered. For example, the original display information of the designated display interface may be moved downward to avoid being covered by the first file receiving window.
Fig. 10 is a flowchart of a method of transmitting a file to a plurality of chat objects in a chat tool, see fig. 10, that can include steps S1002 through S1028, in accordance with an embodiment of the invention.
Step S1002: and acquiring the selected chat object in the designated display interface of the chat tool.
Step S1004: and calculating the dragging displacement of the selected chat object in the designated direction.
Step S1006: and judging whether the dragging displacement is larger than or equal to a preset threshold value.
If yes, go to step S1008, if no, go to step S1026.
Step S1008: and judging whether the selected chat object is the first chat object with the dragging displacement larger than or equal to a preset threshold value.
If yes, go to step S1010, otherwise, go to step S1028.
Step S1010: and acquiring a starting instruction of the chat tool for transmitting the file to a plurality of chat objects.
Step S1012: and generating a first file receiving window in the chat tool according to the starting instruction.
Step S1014: and sequentially acquiring the chat objects with dragging displacement larger than or equal to a preset threshold value as target chat objects needing to receive files in the chat tool, and adding the target chat objects into the first file receiving window.
Step S1016: and after all the target chat objects are added, displaying a group sending file interface. The group sending file interface is displayed with a second file receiving window, and each target chat object is displayed in the second file receiving window.
Step S1018: and acquiring the selected final chat object in the target chat objects of the second file receiving window.
Step S1020: and if the number of the final chat objects is 1, taking the final chat objects as unique chat objects, and displaying the session content of the unique chat objects in the second file receiving window.
Step S1022: and displaying the total number of the target files and the labels of the target files in the group file display interface.
Step S1024: and acquiring the target file to be transmitted through the group file transmitting interface, and transmitting the target file to the final chat object.
Step S1026: ignoring the selected chat object.
Step S1028: the start instruction is no longer acquired.
Based on the same conception, the invention also provides a computer storage medium. The computer storage medium stores computer program code which, when run on a computing device, causes the computing device to perform a method of sending a file to a plurality of chat objects in a chat tool according to any of the embodiments described above.
The above embodiments may be combined arbitrarily, and according to any one of the above preferred embodiments or a combination of a plurality of preferred embodiments, the following beneficial effects can be achieved according to the embodiments of the present invention:
in the method for transmitting the file to the plurality of chat objects in the chat tool, the starting instruction of transmitting the file to the plurality of chat objects by the chat tool is acquired, the first file receiving window is generated in the chat tool according to the starting instruction, the target chat objects which need to receive the file in the chat tool are sequentially acquired, the target chat objects are added into the first file receiving window, after all the target chat objects are added, the group transmission file interface is displayed, wherein the group transmission file interface is displayed with the second file receiving window, each target chat object is displayed in the second file receiving window, the selected final chat object in the target chat object of the second file receiving window is acquired, the target file which needs to be transmitted is acquired through the group transmission file interface, and the target file is transmitted to the final chat object.
By now it should be appreciated by those skilled in the art that while a number of exemplary embodiments of the invention have been shown and described herein in detail, many other variations or modifications of the invention consistent with the principles of the invention may be directly ascertained or inferred from the present disclosure without departing from the spirit and scope of the invention. Accordingly, the scope of the present invention should be understood and deemed to cover all such other variations or modifications.

Claims (14)

1. A method for transmitting a file to a plurality of chat objects in a chat tool, comprising:
acquiring a starting instruction of a chat tool for transmitting a file to a plurality of chat objects;
generating a first file receiving window in the chat tool according to the starting instruction;
sequentially acquiring target chat objects which need to receive files in the chat tool, and adding the target chat objects into the first file receiving window;
after all the target chat objects are added, displaying a group sending file interface; the group sending file interface is displayed with a second file receiving window, and each target chat object is displayed in the second file receiving window;
acquiring a selected final chat object in the target chat objects of the second file receiving window;
acquiring a target file to be transmitted through the group transmission file interface, and transmitting the target file to the final chat object;
the method for obtaining the starting instruction of the chat tool for sending the file to the plurality of chat objects comprises the following steps:
acquiring a selected chat object in a designated display interface of a chat tool;
calculating the dragging displacement of the selected chat object along the designated direction;
judging whether the dragging displacement is larger than or equal to a preset threshold value;
if yes, judging whether the selected chat object is the first chat object with the dragging displacement larger than or equal to the preset threshold value;
if yes, acquiring a starting instruction of the chat tool for sending the file to a plurality of chat objects.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
after obtaining the selected final chat object in the target chat objects of the second file receiving window, the method further includes:
judging whether the number of the final chat objects is 1;
if yes, the final chat object is used as a unique chat object, and session content of the unique chat object is displayed in the second file receiving window.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
after the final chat object is taken as the unique chat object, the method comprises the following steps:
acquiring a dialogue starting instruction of the unique chat object;
and displaying a dialogue interface of the unique chat object, and sending information to the unique chat through the dialogue interface.
4. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the method for acquiring the target file to be transmitted through the group transmission file interface comprises the following steps:
acquiring appointed operation performed on the group sending file interface;
searching whether a file transmitted to the final chat object and/or a received history record of the file transmitted by the final chat object exist or not according to the appointed operation;
if so, displaying the transmitted file and/or the received file history list;
and acquiring the selected target file in the history list.
5. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the group file interface is provided with a file adding button;
the method for acquiring the target file to be transmitted through the group transmission file interface comprises the following steps:
acquiring clicking operation of the file adding button;
and acquiring the target file to be sent according to clicking operation performed on the file adding button.
6. The method of claim 1, wherein the step of determining the position of the substrate comprises,
and if the dragging displacement of the selected chat object along the designated direction is greater than or equal to the preset threshold, taking the selected chat object as the target chat object.
7. The method of claim 1, wherein the step of determining the position of the substrate comprises,
a completed button is also generated in the first file receiving window;
after all the target chat objects are added, displaying a group transmission file interface, wherein the group transmission file interface comprises the following steps:
acquiring clicking operation of the completed button to obtain an addition ending instruction of all the target chat objects;
and displaying the group sending file interface.
8. The method of claim 1, wherein the step of determining the position of the substrate comprises,
a cancel button is also generated in the first file receiving window;
and acquiring clicking operation on the cancel button, and canceling the first file receiving window.
9. The method of claim 1, wherein the step of determining the position of the substrate comprises,
an exit button is also generated in the second file receiving window;
and acquiring clicking operation on the exit button, and returning to the appointed display interface.
10. The method of claim 1, wherein the step of determining the position of the substrate comprises,
a dismissal button is also generated in the second file receiving window;
and acquiring clicking operation on the dismissal button, and stopping the starting instruction.
11. The method of claim 1, wherein the step of determining the position of the substrate comprises,
an adding button of the target chat object is also generated in the second file receiving window;
acquiring clicking operation on the adding button, and displaying an address book interface in the chat tool;
and acquiring the selected target chat object in the address book interface and adding the selected target chat object into the second file receiving window.
12. The method of claim 1, wherein the step of determining the position of the substrate comprises,
a full selection button is also generated in the second file receiving window;
acquiring clicking operation on the all-selected button, and judging whether the target chat object of the second file receiving window is in all selected states;
if not, all the target chat objects of the second file receiving window are selected;
if yes, all the target chat objects of the second file receiving window are deselected.
13. The method of claim 1, wherein the step of determining the position of the substrate comprises,
after the target file to be sent is obtained through the group sending file interface, the method further comprises the following steps:
and displaying the total number of the target files and the labels of the target files in the group sending file display interface.
14. A computer storage medium storing computer program code which, when run on a computing device, causes the computing device to perform a method of sending a file to a plurality of chat objects in a chat tool according to any of claims 1-13.
CN202210357930.7A 2022-04-06 2022-04-06 Method and storage medium for transmitting file to multiple chat objects in chat tool Active CN114710457B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210357930.7A CN114710457B (en) 2022-04-06 2022-04-06 Method and storage medium for transmitting file to multiple chat objects in chat tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210357930.7A CN114710457B (en) 2022-04-06 2022-04-06 Method and storage medium for transmitting file to multiple chat objects in chat tool

Publications (2)

Publication Number Publication Date
CN114710457A CN114710457A (en) 2022-07-05
CN114710457B true CN114710457B (en) 2023-08-11

Family

ID=82173392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210357930.7A Active CN114710457B (en) 2022-04-06 2022-04-06 Method and storage medium for transmitting file to multiple chat objects in chat tool

Country Status (1)

Country Link
CN (1) CN114710457B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7970850B1 (en) * 2009-12-29 2011-06-28 International Business Machines Corporation Instant messaging based virtual file system
CN102541409A (en) * 2010-12-26 2012-07-04 上海量明科技发展有限公司 Method and system for carrying out multi-objective data sending by using IM (instant messaging) tool
CN102595335A (en) * 2012-02-22 2012-07-18 深圳市普联技术有限公司 Processing method and system of sending file or folder to multiple persons
CN103036962A (en) * 2012-12-06 2013-04-10 惠州Tcl移动通信有限公司 File sharing method and handheld device
CN107220344A (en) * 2017-05-27 2017-09-29 广东欧珀移动通信有限公司 Document handling method and Related product
WO2019072198A1 (en) * 2017-10-11 2019-04-18 上海掌门科技有限公司 Document sharing method, apparatus, and computer readable medium
CN111353053A (en) * 2020-03-02 2020-06-30 南京究极网络技术服务有限责任公司 Information display method for aggregating chat contents of user and multiple objects into single list
CN111984115A (en) * 2020-07-31 2020-11-24 维沃移动通信有限公司 Message sending method and device and electronic equipment
CN112286887A (en) * 2020-10-30 2021-01-29 维沃移动通信有限公司 File sharing method and device and electronic equipment
WO2021077897A1 (en) * 2019-10-25 2021-04-29 维沃移动通信有限公司 File sending method and apparatus, and electronic device
WO2022028185A1 (en) * 2020-08-06 2022-02-10 Oppo广东移动通信有限公司 File sharing method and apparatus, and terminal and storage medium
CN114296844A (en) * 2021-11-24 2022-04-08 亿咖通(湖北)技术有限公司 Information synchronous interaction method, device, equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7970850B1 (en) * 2009-12-29 2011-06-28 International Business Machines Corporation Instant messaging based virtual file system
CN102541409A (en) * 2010-12-26 2012-07-04 上海量明科技发展有限公司 Method and system for carrying out multi-objective data sending by using IM (instant messaging) tool
CN102595335A (en) * 2012-02-22 2012-07-18 深圳市普联技术有限公司 Processing method and system of sending file or folder to multiple persons
CN103036962A (en) * 2012-12-06 2013-04-10 惠州Tcl移动通信有限公司 File sharing method and handheld device
CN107220344A (en) * 2017-05-27 2017-09-29 广东欧珀移动通信有限公司 Document handling method and Related product
WO2019072198A1 (en) * 2017-10-11 2019-04-18 上海掌门科技有限公司 Document sharing method, apparatus, and computer readable medium
WO2021077897A1 (en) * 2019-10-25 2021-04-29 维沃移动通信有限公司 File sending method and apparatus, and electronic device
CN111353053A (en) * 2020-03-02 2020-06-30 南京究极网络技术服务有限责任公司 Information display method for aggregating chat contents of user and multiple objects into single list
CN111984115A (en) * 2020-07-31 2020-11-24 维沃移动通信有限公司 Message sending method and device and electronic equipment
WO2022028185A1 (en) * 2020-08-06 2022-02-10 Oppo广东移动通信有限公司 File sharing method and apparatus, and terminal and storage medium
CN112286887A (en) * 2020-10-30 2021-01-29 维沃移动通信有限公司 File sharing method and device and electronic equipment
CN114296844A (en) * 2021-11-24 2022-04-08 亿咖通(湖北)技术有限公司 Information synchronous interaction method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN114710457A (en) 2022-07-05

Similar Documents

Publication Publication Date Title
US10437418B2 (en) Overloading app icon touchscreen interaction to provide action accessibility
CA2731772C (en) Graphical context short menu
US8001470B1 (en) Help functionality and graphical user interface applications
US9436753B2 (en) Method and apparatus for managing update information in channel
EP1643426A2 (en) Method and computer-readable medium for navigating between attachments to electronic mail messages
US20070136268A1 (en) Just in time loading list
KR20160021267A (en) Filtering data with slicer-style filtering user interface
MX2008000577A (en) Rich drag drop user interface.
CN102929926A (en) Word-taking search method and device based on browsed contents
US8352878B2 (en) Scrollable context menu for multiple element selection
EP2341454A1 (en) Document information transmission method and apparatus
CN101960483A (en) Service preview and access from an application page
US20070045961A1 (en) Method and system providing for navigation of a multi-resource user interface
CN102945243A (en) Contact information identification method based on browsing contents
US11782581B2 (en) Display control method and device, electronic device and storage medium
CN103019710B (en) Audio control method and device for browser
US20220357822A1 (en) Information processing method and apparatus
CN113986083A (en) File processing method and electronic equipment
CN114710457B (en) Method and storage medium for transmitting file to multiple chat objects in chat tool
CN112286340B (en) User content interaction method, system and device
CN103905614A (en) Contact information processing method and device thereof
CN114416248A (en) Conversation method and device thereof
CN108563485B (en) Input panel display method and device
CN113315691A (en) Video processing method and device and electronic equipment
CN113037618B (en) Image sharing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant