WO2021077897A1 - File sending method and apparatus, and electronic device - Google Patents

File sending method and apparatus, and electronic device Download PDF

Info

Publication number
WO2021077897A1
WO2021077897A1 PCT/CN2020/112246 CN2020112246W WO2021077897A1 WO 2021077897 A1 WO2021077897 A1 WO 2021077897A1 CN 2020112246 W CN2020112246 W CN 2020112246W WO 2021077897 A1 WO2021077897 A1 WO 2021077897A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
floating window
chat
sending
display
Prior art date
Application number
PCT/CN2020/112246
Other languages
French (fr)
Chinese (zh)
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 WO2021077897A1 publication Critical patent/WO2021077897A1/en

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/08Annexed information, e.g. attachments
    • 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/0485Scrolling or panning
    • 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
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Definitions

  • the present invention relates to the field of communications, and in particular to a file sending method, device and electronic equipment.
  • the purpose of the embodiments of the present invention is to provide a file sending method, device and electronic device to simplify the operation steps of sending files and make sending files on the electronic device faster.
  • an embodiment of the present invention provides a file sending method applied to an electronic device.
  • the method includes: determining whether a file needs to be sent to the chat partner according to the chat information on the chat interface; if the file needs to be sent, according to the chat information Determine and display at least one file to be selected; according to the user's selection operation, send the target file in the at least one file to be selected.
  • an embodiment of the present invention provides a file sending device applied to an electronic device.
  • the device includes: a sending determination module for determining whether a file needs to be sent to a chat partner according to the chat information on the chat interface; and the file to be selected
  • the determining module is configured to determine and display at least one file to be selected according to the chat information if a file needs to be sent; the file sending module is configured to send the target file in the at least one file to be selected according to the user's selection operation.
  • an embodiment of the present invention provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and running on the processor, the computer program being used by the processor When executed, the file sending method described in the first aspect is realized.
  • an embodiment of the present invention provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the file as described in the first aspect is realized. Delivery method.
  • the chat information on the chat interface it is determined whether a file needs to be sent to the chat partner; then, if a file needs to be sent, at least one file to be selected is determined and displayed according to the chat information; finally, according to The user's selection operation sends the target file among the at least one file to be selected.
  • Fig. 1 shows a schematic flowchart of a file sending method according to some embodiments of the present invention
  • FIG. 2 shows a schematic flowchart of a file sending method according to other embodiments of the present invention
  • Fig. 3 shows a schematic diagram of an example of an application scenario of a file sending method provided according to some embodiments of the present invention
  • FIG. 4 shows a schematic diagram of an example of an application scenario of a floating window provided according to some embodiments of the present invention
  • Fig. 5 shows a schematic diagram of an example of an application scenario of clicking a file identifier to send a file according to some embodiments of the present invention
  • Fig. 6 shows a schematic diagram of an example of an application scenario of dragging a file identifier to send a file according to some embodiments of the present invention
  • Fig. 7 shows a schematic diagram of an example of an application scenario of a multi-selection mode provided according to some embodiments of the present invention
  • FIG. 8 shows a schematic diagram of an example of an application scenario of sliding to display more file identifiers according to some embodiments of the present invention
  • FIG. 9 shows a schematic block diagram of a file sending apparatus according to some embodiments of the present invention.
  • Fig. 10 shows a schematic diagram of the hardware structure of an example of an electronic device according to some embodiments of the present invention.
  • Fig. 1 shows a schematic flowchart of a file sending method according to some embodiments of the present invention.
  • the file sending method includes step S110, step S120, and step S130.
  • the file sending method can be applied to electronic devices.
  • the electronic devices mentioned in the embodiments of the present invention include, but are not limited to, electronic devices such as mobile phones, tablet computers, computers, and wearable devices.
  • the file sending method in the exemplary embodiment of FIG. 1 will be described in detail below.
  • step S110 it is determined whether a file needs to be sent to the chat partner according to the chat information on the chat interface.
  • the chat information on the chat interface of the electronic device is monitored and collected in real time.
  • the chat information includes but is not limited to voice information and/or text information, and the chat information may also be video and/or pictures. If the chat information includes voice information, the voice information is converted into text information, and then the text information is semantically recognized. For example, it is monitored and collected that user A sends a text message "send XXX file" on the chat interface.
  • semantic analysis is performed on the chat information.
  • the semantic analysis methods include but are not limited to intention recognition and semantic role labeling. This application does not specifically limit the semantic analysis methods.
  • the tool for semantic analysis can be an artificial intelligence engine or other tools.
  • the chat content is passed to the artificial intelligence engine, and the artificial intelligence engine performs semantic analysis on it, and then determines whether to send a file based on the result of the semantic analysis.
  • intent identification is performed on the chat information to determine the user's intent corresponding to the chat information; according to the user's intent, it is determined whether a file needs to be sent.
  • user A and user B are chatting, and user A sends a text message "Send XXX file" on the chat interface.
  • the chat message is transmitted to the artificial intelligence engine, and the artificial intelligence engine performs semantic analysis on the chat information.
  • the semantic analysis includes Intention recognition, the user A's intention is to want user B to send a file to himself, so the result of judging and predicting the chat information is that user B needs to send a file to user A.
  • step S120 if a file needs to be sent, at least one file to be selected is determined and displayed according to the chat information.
  • determining and displaying at least one file to be selected according to the chat information includes: determining a file search keyword based on the chat information; and searching for at least one file to be selected based on the file search keyword.
  • searching for a file to be selected the mobile terminal starts the background to search for the file search keyword in the local file, obtains one or more files to be selected, and records the uniform resource identifier of the file to be selected.
  • searching for files to be selected you can also search and download files to be selected online.
  • the present invention does not specifically limit the source of the file to be selected.
  • the file search keyword can be a part of the file name or the complete file name such as "XXX report", or the file type such as music, or the location of the file such as C drive. There are no special restrictions.
  • one or more files to be selected are classified according to file types; based on the file type of the file to be selected, a corresponding file type tag is added to the header information of the uniform resource identifier of the file to be selected.
  • a floating window is created on the chat interface; the file identifier of the file to be selected is displayed on the floating window.
  • Displaying the file identifier of the file to be selected on the floating window includes: determining the preview mode of the file to be selected in the floating window based on the file type mark of the file to be selected; displaying the file identifier of the file to be selected on the floating window based on the preview mode.
  • the files to be selected include document files XXX, picture files, and video files.
  • a file to be selected is a picture file
  • the thumbnail of the picture is displayed
  • a file to be selected is a video file
  • a short video of the video file is captured for playback preview
  • a file to be selected is a document file, Display the document file name.
  • step S130 according to the user's selection operation, the target file among the at least one file to be selected is sent.
  • the user selects one or more candidate files from at least one candidate file as the target file, and sends it to the chat partner.
  • the file sending method in the exemplary embodiment of FIG. 1 firstly, according to the chat information on the chat interface, it is determined whether a file needs to be sent to the chat partner; then, if the file needs to be sent, at least one file to be selected is determined and displayed according to the chat information ; Finally, according to the user's selection operation, send the target file in the at least one to-be-selected file.
  • the operation steps for sending files can be simplified, and the sending of files on the electronic device is faster.
  • the file identifier of the file to be selected displayed in the floating box is selected, and the file to be selected is sent out as the target file.
  • the selection instruction can be combined with the sending instruction. For example, click the file identifier of the selected file to be selected, or drag the file identifier of the selected file to be selected to the non-floating window area on the chat interface, and the target file is Can be sent by users to chat partners.
  • the multi-selection mode can be entered.
  • Fig. 2 shows a schematic flowchart of a file sending method according to other embodiments of the present invention.
  • step S201 voice information and text information on the chat interface are recognized.
  • the chat information on the chat interface of the electronic device is monitored and collected in real time, and the chat information includes voice information and/or text information. If the chat information includes voice information, the voice information is converted into text information, and then the text information is semantically recognized.
  • step S202 the artificial intelligence engine determines whether a file needs to be sent.
  • intent identification is performed on the chat information to determine the user's intent corresponding to the chat information; according to the user's intent, it is determined whether a file needs to be sent.
  • user A and user B are chatting, and user A sends a text message "Send XXX file" on the chat interface.
  • the chat message is transmitted to the artificial intelligence engine, and the artificial intelligence engine performs semantic analysis on the chat information.
  • the semantic analysis includes Intention recognition, the user A's intention is to want the "XXX" file to be sent to him by the user B, so the result of the judgment and prediction of the chat content is that the user B needs to send the file to the user A.
  • the artificial intelligence engine is one of the tools for performing semantic analysis including intent recognition, and is only an example embodiment. This application may also use other tools to perform semantic analysis, and this is not particularly limited.
  • step S203 a file is searched in the background.
  • the search keywords of the target file are determined according to the chat content. For example, user A sends out the text message "Send XXX file" on the chat interface, and the artificial intelligence engine performs semantic recognition on the text information and determines that "XXX" is File search keywords. Then, start the background to search for one or more files to be selected in the local files, and record the uniform resource identifier of the files to be selected.
  • step S204 the search results are marked according to file types.
  • the searched file or files to be selected are classified according to the file type, and different file types are marked, that is, the file type mark corresponding to the file to be selected is stored in the unified file of the file to be selected.
  • the header information of the resource identifier for example, when a file to be selected is a picture type, add a picture tag to the header information of the uniform resource identifier of the file to be selected; when a file to be selected is a video type , Add a video tag to the header information of the uniform resource identifier of the file to be selected.
  • step S205 a floating window is created, files are added to the floating window, and displayed on the chat interface.
  • a floating window is created, which can be arc-shaped or other shapes. Add the file identifiers of the files to be selected based on the file search keywords to the floating window, and display the floating window on the chat interface, for example, a circular arc containing three file identifiers is displayed at the bottom right of the chat interface Floating window. According to the file type mark stored in the header information of the uniform resource identifier of the file to be selected, different types of files are previewed and displayed in different ways.
  • a file to be selected is a picture file
  • the thumbnail of the picture is displayed
  • a file to be selected is a video file
  • a short video of the video file is captured for playback and preview
  • when a file to be selected is a document file
  • the document file name is displayed.
  • step S206 10 seconds are counted.
  • step S205 when the floating window displayed in step S205 is timed for 10 seconds, if the user does not perform any operation on the file identifier of the file to be selected displayed in the floating window, for example, select a file identifier of the file to be selected, Then, after 10 seconds, go to step S210.
  • timing is to automatically exit the floating window when the user has not operated the floating window for a long time, so as to reduce the influence of the floating window on the user's chat communication. 10 seconds is only an example, and the timing time can be set by yourself, for example, set the timeout time timeout to 20 seconds.
  • step S207 the user selects a file.
  • the user can select from one or more file identifications of the file to be selected displayed in the floating window can be diversified, for example, click on the file identification of a certain file to be selected in the floating window, Then, according to the user's selection operation, the file to be selected is determined as the target file, and the target file is directly sent; the file identifier of the target file can also be dragged out from the floating window to the non-floating window area in the chat interface.
  • the user wants to send multiple files, they can send them one by one, or enter the multi-select mode, select the file identifiers of several files to be selected, and click the send button control to send multiple files at once.
  • the method to enter the multi-selection mode can be long-pressing the file logo, or other preset methods, which are not specifically limited in this application.
  • the floating window can preset a display quantity , For example, 3, that is, the floating window displays the file identifiers of three files to be selected at the same time.
  • the user can slide the finger on the floating window, and the previews of the file IDs of the 3 files to be selected are updated with each swipe.
  • the method of switching the file identification of the file to be selected for display can be customized, which is not specifically limited in this application.
  • step S208 the non-floating window area is touched.
  • a floating window containing file identifications of one or more files to be selected is displayed on the chat interface, and the user does not operate the floating window, but touches a non-floating window area, such as an input box, and enters Step S210, automatically exit the floating window, reduce the impact on the user's chat communication, and keep a record of the files to be selected.
  • a non-floating window area such as an input box
  • step S209 the file is sent to the chat window.
  • the file to be selected by the user is determined as the target file, and the target file is sent to the user's chat partner.
  • the file can be seen in the current chat interface send record.
  • step S210 exit the floating window.
  • step S201 is returned to continue to recognize voice and text.
  • the floating box if no file to be selected is selected and sent, the floating box is exited, and the record of the file to be selected is retained.
  • Fig. 3 shows a schematic diagram of an example of an application scenario of a file sending method provided according to some embodiments of the present invention.
  • user A and user B are chatting, and user A sends a text message "send XXX file" to the chat interface.
  • Fig. 4 shows a schematic diagram of an example of an application scenario of a floating window provided according to some embodiments of the present invention.
  • the floating box in the chat interface in FIG. 4 displays the file identifiers of three different files to be selected, namely a document file 410, a video file 420, and a picture file 430, and the file types are different.
  • the document file 410 displays the document file name in the floating window
  • the video file 420 displays a short video playback preview in the floating window
  • the picture file 430 displays the preview image in the floating window.
  • the User Interface (UI) of the floating window in Fig. 4 takes the lower right corner as the center and draws an arc to display files in columns.
  • the position of the floating window is in the operation area that the user is accustomed to, which is convenient for the user to operate with one hand.
  • Fig. 5 shows a schematic diagram of an example of an application scenario of clicking a file identifier to send a file according to some embodiments of the present invention.
  • the UI interface of the floating window in the chat interface in the left picture of Fig. 5 is centered on the lower right corner, and an arc is drawn to display files in columns.
  • the file identifiers of three different files to be selected are displayed in the floating window, which are a document file 510, a video file 520, and a picture file 530, respectively.
  • the document file 510 displays the document file name in the floating window
  • the video file 520 displays a short video playback preview in the floating window
  • the picture file 530 displays the preview image in the floating window.
  • Fig. 6 shows a schematic diagram of an example of an application scenario of dragging a file identifier to send a file according to some embodiments of the present invention.
  • the UI interface of the floating window in the chat interface in the left picture of Fig. 6 is centered on the lower right corner, and an arc is drawn to display file identifiers in columns.
  • the file identifiers of two different files to be selected are displayed in the floating window, which are the document file 610 and the video file 620, respectively.
  • the document file 610 displays the document file name in the floating window
  • the video file 620 displays a short video playback preview in the floating window.
  • the finger drags the video file 620 from the floating window area to the non-floating window area on the chat interface.
  • Fig. 7 shows a schematic diagram of an example of an application scenario of a multi-selection mode provided according to some embodiments of the present invention.
  • the user can enter the multi-selection mode by long pressing the file identifier, or other preset methods.
  • the floating window in the chat interface in the left picture of Fig. 7 is in a multi-selection mode.
  • the UI interface of the floating window is centered on the lower right corner, and an arc is drawn to display files in columns.
  • the file identifiers of three different files to be selected are displayed in the floating window, which are a document file 710, a video file 720, and a picture file 730, respectively.
  • the document file 710 displays the document file name in the floating window
  • the video file 720 displays a short video playback preview in the floating window
  • the picture file 730 displays the preview image in the floating window.
  • the document file 710 and the video file 720 are selected, and the finger clicks the send button control 740 in the lower right corner.
  • the document file 710 and the video file 720 are successfully sent, and the sending file records of the two files are displayed on the chat interface.
  • FIG. 8 shows a schematic diagram of an example of an application scenario of sliding to display more file identifiers according to some embodiments of the present invention.
  • the UI interface of the floating window in the chat interface in the left picture of FIG. 8 takes the lower right corner as the center of the circle, and draws an arc to display the file identifiers in columns.
  • the floating window displays the file identifiers of three different files to be selected, which are the XXX document file 810, the video file 820, and the picture file 830, respectively.
  • the XXX document file 810 shows the document file name in the floating window
  • the video file 820 shows a short video playback preview in the floating window
  • the picture file 830 shows the preview image in the floating window.
  • the finger slides down in the floating window area.
  • the three file identifiers displayed in the floating window in the chat interface become the YYY document file 840, the butterfly picture file 850 and the person Face picture file 860.
  • the YYY document file 840 shows the document file name in the floating window
  • the butterfly picture file 850 shows the butterfly preview in the floating window
  • the face picture file 860 shows the face preview in the floating window.
  • Fig. 9 shows a schematic block diagram of a file sending apparatus according to some embodiments of the present invention.
  • the file sending apparatus 900 is applied to an electronic device and includes: a sending determining module 910, a to-be-selected file determining module 920, and a file sending module 930.
  • the sending determining module 910 is used to determine whether a file needs to be sent to the chat partner according to the chat information on the chat interface;
  • the to-be-selected file determining module 920 is used to determine at least one file to be selected according to the chat information if a file needs to be sent and display it ;
  • the file sending module 930 is configured to send the target file in the at least one file to be selected according to the user's selection operation.
  • the candidate file determination module includes: a keyword determination unit for determining file search keywords based on chat information; and a candidate file determination unit for searching based on file search keywords And display at least one file to be selected.
  • the file sending device further includes: a file classification module, which is used to classify files to be selected according to file types; and a mark addition module, which is used to classify files based on the file types of the files to be selected.
  • the header information of the uniform resource identifier of the file to be selected is added to the corresponding file type mark.
  • the file sending device further includes: a floating window creation module, used to create a floating window on the chat interface; a file display module, used to display files of a file to be selected on the floating window Logo.
  • the file display module includes: a preview mode determining unit, configured to determine the preview mode of the file to be selected in the floating window based on the file type mark of the file to be selected; click the file to display The unit is used to display the file identification of the file to be selected on the floating window based on the preview mode.
  • the embodiments of the present disclosure also provide an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor.
  • a computer program stored in the memory and capable of running on the processor.
  • Fig. 10 shows a schematic diagram of the hardware structure of an example of an electronic device according to some embodiments of the present invention.
  • the electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, and a memory 1009 , The processor 1010, and the power supply 1011.
  • the structure of the electronic device shown in FIG. 10 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
  • the processor 1010 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs and/or modules stored in the memory 1009, and calls data stored in the memory 1009. , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 1010 may include one or more processing units; optionally, the processor 1010 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1010.
  • the memory 1009 can be used to store software programs and various data.
  • the memory 1009 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 1009 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • a computer program is stored in the memory 1009.
  • the following process can be realized: determine whether a file needs to be sent to the chat partner according to the chat information on the chat interface; if the file needs to be sent, then Determine and display at least one file to be selected according to the chat information; and send the target file in the at least one file to be selected according to the user's selection operation.
  • determining and displaying at least one file to be selected according to the chat information includes: determining file search keywords based on the chat information; searching and displaying at least one file to be selected based on the file search keywords .
  • the file to be selected is classified according to the file type; based on the file type of the file to be selected, the corresponding file type is added to the header information of the uniform resource identifier of the file to be selected mark.
  • a floating window is created on the chat interface; the file identifier of the file to be selected is displayed on the floating window.
  • displaying the file identifier of the file to be selected on the floating window includes: determining the preview mode of the file to be selected in the floating window based on the file type mark of the file to be selected; The preview mode displays the file identification of the file to be selected on the floating window.
  • the radio frequency unit 1001 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving the downlink data from the base station, it is processed by the processor 1010; Uplink data is sent to the base station.
  • the radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like.
  • the radio frequency unit 1001 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 1002, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 1003 can convert the audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into audio signals and output them as sounds. Moreover, the audio output unit 1003 may also provide audio output related to a specific function performed by the electronic device 1000 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 1004 is used to receive audio or video signals.
  • the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042, and the graphics processor 10041 is configured to respond to still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the data is processed.
  • the processed image frame can be displayed on the display unit 1006.
  • the image frame processed by the graphics processor 10041 may be stored in the memory 1009 (or other storage medium) or sent via the radio frequency unit 1001 or the network module 1002.
  • the microphone 10042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 1001 in the case of a telephone call mode for output.
  • the electronic device 1000 further includes at least one sensor 1005, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 10061 according to the brightness of the ambient light
  • the proximity sensor can close the display panel 10061 and 10061 when the electronic device 1000 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 1005 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 1006 is used to display information input by the user or information provided to the user.
  • the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 1007 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 1007 includes a touch panel 10071 and other input devices 10072.
  • the touch panel 10071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 10071 or near the touch panel 10071. operating).
  • the touch panel 10071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it
  • the processor 1010 receives and executes the command sent by the processor 1010.
  • the touch panel 10071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 1007 may also include other input devices 10072.
  • other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 10071 can cover the display panel 10061.
  • the touch panel 10071 detects a touch operation on or near it, it transmits it to the processor 1010 to determine the type of the touch event, and then the processor 1010 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 10061.
  • the touch panel 10071 and the display panel 10061 are used as two independent components to realize the input and output functions of the electronic device, in some embodiments, the touch panel 10071 and the display panel 10061 can be integrated to realize the electronic device The input and output functions of the device are not limited here.
  • the interface unit 1008 is an interface for connecting an external device and the electronic device 1000.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 1008 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 1000 or can be used to connect to the electronic device 1000 and the external device. Transfer data between devices.
  • the electronic device 1000 may also include a power supply 1011 (such as a battery) for supplying power to various components.
  • a power supply 1011 (such as a battery) for supplying power to various components.
  • the power supply 1011 may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 1000 includes some functional modules not shown, which will not be repeated here.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned file sending method embodiment is realized, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium include non-transitory computer-readable storage media, such as read-only memory (Read-Only Memory, ROM for short), Random Access Memory (RAM for short), and magnetic CD or CD, etc.
  • Such a processor can be, but is not limited to, a general-purpose processor, a dedicated processor, a special application processor, or a field programmable logic circuit. It can also be understood that each block in the block diagram and/or flowchart and the combination of the blocks in the block diagram and/or flowchart can also be implemented by dedicated hardware that performs specified functions or actions, or can be implemented by dedicated hardware and A combination of computer instructions.

Landscapes

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

Abstract

Embodiments of the present invention provide a file sending method and apparatus, an electronic device, and a storage medium. The method is applied to the electronic device, and comprises: determining, according to chat information on a chat interface, whether a file needs to be sent to a chat object; if the file needs to be sent, determining and displaying at least one file to be selected according to the chat information; and sending a target file in the at least one file to be selected according to a selection operation of a user.

Description

文件发送方法、装置和电子设备File sending method, device and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2019年10月25日在中国提交的中国专利申请号201911021923.4的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201911021923.4 filed in China on October 25, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明涉及通信领域,尤其涉及一种文件发送方法、装置和电子设备。The present invention relates to the field of communications, and in particular to a file sending method, device and electronic equipment.
背景技术Background technique
目前,用户在使用电子设备聊天的过程中经常出现需要发送文件的情况。Currently, users often need to send files when using electronic devices to chat.
在现有的技术方案中,发送文件的过程中,需要离开聊天界面并寻找文件的存储路径,该过程操作步骤繁琐、效率低下,降低了用户的使用体验。In the existing technical solution, in the process of sending a file, it is necessary to leave the chat interface and find the storage path of the file. This process has cumbersome operation steps and low efficiency, which reduces the user experience.
发明内容Summary of the invention
本发明实施例的目的是提供一种文件发送方法、装置和电子设备,以简化发送文件的操作步骤,使在电子设备上发送文件更加快捷。The purpose of the embodiments of the present invention is to provide a file sending method, device and electronic device to simplify the operation steps of sending files and make sending files on the electronic device faster.
第一方面,本发明实施例提供了一种文件发送方法,应用于电子设备,该方法包括:根据聊天界面上的聊天信息确定是否需要向聊天对象发送文件;若需要发送文件,则根据聊天信息确定并显示至少一个待选文件;根据用户的选择操作,发送所述至少一个待选文件中的目标文件。In the first aspect, an embodiment of the present invention provides a file sending method applied to an electronic device. The method includes: determining whether a file needs to be sent to the chat partner according to the chat information on the chat interface; if the file needs to be sent, according to the chat information Determine and display at least one file to be selected; according to the user's selection operation, send the target file in the at least one file to be selected.
第二方面,本发明实施例提供了一种文件发送装置,应用于电子设备,该装置包括:发送确定模块,用于根据聊天界面上的聊天信息确定是否需要向聊天对象发送文件;待选文件确定模块,用于若需要发送文件, 则根据聊天信息确定并显示至少一个待选文件;文件发送模块,用于根据用户的选择操作,发送所述至少一个待选文件中的目标文件。In the second aspect, an embodiment of the present invention provides a file sending device applied to an electronic device. The device includes: a sending determination module for determining whether a file needs to be sent to a chat partner according to the chat information on the chat interface; and the file to be selected The determining module is configured to determine and display at least one file to be selected according to the chat information if a file needs to be sent; the file sending module is configured to send the target file in the at least one file to be selected according to the user's selection operation.
第三方面,本发明实施例提供了一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上述第一方面所述的文件发送方法。In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and running on the processor, the computer program being used by the processor When executed, the file sending method described in the first aspect is realized.
第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上述第一方面所述的文件发送方法。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the file as described in the first aspect is realized. Delivery method.
根据本发明实施例的技术方案,首先,根据聊天界面上的聊天信息确定是否需要向聊天对象发送文件;然后,若需要发送文件,则根据聊天信息确定并显示至少一个待选文件;最后,根据用户的选择操作,发送所述至少一个待选文件中的目标文件。通过本发明实施例,能够简化发送文件的操作步骤,使在电子设备上发送文件更加快捷。According to the technical solution of the embodiment of the present invention, firstly, according to the chat information on the chat interface, it is determined whether a file needs to be sent to the chat partner; then, if a file needs to be sent, at least one file to be selected is determined and displayed according to the chat information; finally, according to The user's selection operation sends the target file among the at least one file to be selected. Through the embodiments of the present invention, the operation steps for sending files can be simplified, and the sending of files on the electronic device is faster.
附图说明Description of the drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments described in the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1示出了根据本发明的一些实施例提供的文件发送方法的流程示意图;Fig. 1 shows a schematic flowchart of a file sending method according to some embodiments of the present invention;
图2示出了根据本发明的另一些实施例提供的文件发送方法的流程示意图;FIG. 2 shows a schematic flowchart of a file sending method according to other embodiments of the present invention;
图3示出了根据本发明的一些实施例提供的文件发送方法的应用场景的示例的示意图;Fig. 3 shows a schematic diagram of an example of an application scenario of a file sending method provided according to some embodiments of the present invention;
图4示出了根据本发明的一些实施例提供的悬浮窗的应用场景的示例的示意图;FIG. 4 shows a schematic diagram of an example of an application scenario of a floating window provided according to some embodiments of the present invention;
图5示出了根据本发明的一些实施例提供的点击文件标识以发送文件 的应用场景的示例的示意图;Fig. 5 shows a schematic diagram of an example of an application scenario of clicking a file identifier to send a file according to some embodiments of the present invention;
图6示出了根据本发明的一些实施例提供的拖动文件标识以发送文件的应用场景的示例的示意图;Fig. 6 shows a schematic diagram of an example of an application scenario of dragging a file identifier to send a file according to some embodiments of the present invention;
图7示出了根据本发明的一些实施例提供的多选模式的应用场景的示例的示意图;Fig. 7 shows a schematic diagram of an example of an application scenario of a multi-selection mode provided according to some embodiments of the present invention;
图8示出了根据本发明的一些实施例提供的滑动显示更多文件标识的应用场景的示例的示意图;FIG. 8 shows a schematic diagram of an example of an application scenario of sliding to display more file identifiers according to some embodiments of the present invention;
图9示出了根据本发明的一些实施例提供的文件发送装置的示意框图;FIG. 9 shows a schematic block diagram of a file sending apparatus according to some embodiments of the present invention;
图10示出了根据本发明的一些实施例提供的一种电子设备的示例的硬件结构示意图。Fig. 10 shows a schematic diagram of the hardware structure of an example of an electronic device according to some embodiments of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the technical solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
图1示出了根据本发明的一些实施例提供的文件发送方法的流程示意图。Fig. 1 shows a schematic flowchart of a file sending method according to some embodiments of the present invention.
参照图1所示,该文件发送方法包括步骤S110、步骤S120以及步骤S130。该文件发送方法可以应用于电子设备。本发明实施例提及的电子设备包括但不限于手机、平板电脑、电脑、可穿戴设备等电子设备。下面对图1的示例实施例中的文件发送方法进行详细的说明。Referring to FIG. 1, the file sending method includes step S110, step S120, and step S130. The file sending method can be applied to electronic devices. The electronic devices mentioned in the embodiments of the present invention include, but are not limited to, electronic devices such as mobile phones, tablet computers, computers, and wearable devices. The file sending method in the exemplary embodiment of FIG. 1 will be described in detail below.
参照图1所示,在步骤S110中,根据聊天界面上的聊天信息确定是否需要向聊天对象发送文件。Referring to FIG. 1, in step S110, it is determined whether a file needs to be sent to the chat partner according to the chat information on the chat interface.
在示例实施例中,实时监测并收集电子设备的聊天界面上的聊天信息,聊天信息包括且不限于语音信息和/或文字信息,聊天信息还可以为视频和/或图片。若聊天信息包括语音信息,则将语音信息转换为文字信息, 再对文字信息进行语义识别。例如,监测并收集到用户A在聊天界面发出文字信息“把XXX文件发过来”。In an exemplary embodiment, the chat information on the chat interface of the electronic device is monitored and collected in real time. The chat information includes but is not limited to voice information and/or text information, and the chat information may also be video and/or pictures. If the chat information includes voice information, the voice information is converted into text information, and then the text information is semantically recognized. For example, it is monitored and collected that user A sends a text message "send XXX file" on the chat interface.
在示例实施例中,对聊天信息进行语义分析,语义分析的方法包括且不限于意图识别,语义角色标注,本申请并不对语义分析的方法进行特殊限定。进行语义分析的工具可以是人工智能引擎,也可以是其他工具。例如,将聊天内容传入人工智能引擎,人工智能引擎对其进行语义分析,再基于语义分析的结果判断是否需要发送文件。In the exemplary embodiment, semantic analysis is performed on the chat information. The semantic analysis methods include but are not limited to intention recognition and semantic role labeling. This application does not specifically limit the semantic analysis methods. The tool for semantic analysis can be an artificial intelligence engine or other tools. For example, the chat content is passed to the artificial intelligence engine, and the artificial intelligence engine performs semantic analysis on it, and then determines whether to send a file based on the result of the semantic analysis.
在示例实施例中,对聊天信息进行意图识别,确定与聊天信息对应的用户意图;根据用户意图,判断是否需要发送文件。例如用户A与用户B在聊天,用户A在聊天界面发出文字信息“把XXX文件发过来”,该聊天信息被传送到人工智能引擎,人工智能引擎对该聊天信息进行语义分析,该语义分析包括意图识别,得到用户A的意图是希望用户B发送文件给自己,故对聊天信息进行判断预测的结果是用户B需要向用户A发送文件。In an exemplary embodiment, intent identification is performed on the chat information to determine the user's intent corresponding to the chat information; according to the user's intent, it is determined whether a file needs to be sent. For example, user A and user B are chatting, and user A sends a text message "Send XXX file" on the chat interface. The chat message is transmitted to the artificial intelligence engine, and the artificial intelligence engine performs semantic analysis on the chat information. The semantic analysis includes Intention recognition, the user A's intention is to want user B to send a file to himself, so the result of judging and predicting the chat information is that user B needs to send a file to user A.
在步骤S120中,若需要发送文件,则根据聊天信息确定并显示至少一个待选文件。In step S120, if a file needs to be sent, at least one file to be selected is determined and displayed according to the chat information.
在示例实施例中,根据聊天信息确定并显示至少一个待选文件,包括:基于聊天信息确定文件搜索关键词;基于该文件搜索关键词搜索至少一个待选文件。在搜索待选文件时,移动终端启动后台在本机文件中搜索该文件搜索关键词,得到一个或多个待选文件,记录该待选文件的统一资源标识符。在搜索待选文件时,还可以联网搜索并下载待选文件。本发明对待选文件的来源并不做特殊限定。In an exemplary embodiment, determining and displaying at least one file to be selected according to the chat information includes: determining a file search keyword based on the chat information; and searching for at least one file to be selected based on the file search keyword. When searching for a file to be selected, the mobile terminal starts the background to search for the file search keyword in the local file, obtains one or more files to be selected, and records the uniform resource identifier of the file to be selected. When searching for files to be selected, you can also search and download files to be selected online. The present invention does not specifically limit the source of the file to be selected.
在示例实施例中,文件搜索关键词可以是文件名中的一部分或完整文件名例如“XXX报告”,也可以是文件类型例如音乐,还可以是文件所处的位置例如C盘,本发明对此不做特殊限定。In an exemplary embodiment, the file search keyword can be a part of the file name or the complete file name such as "XXX report", or the file type such as music, or the location of the file such as C drive. There are no special restrictions.
在示例实施例中,将一个或多个待选文件根据文件类型进行分类;基于待选文件的文件类型,在待选文件的统一资源标识符的头部信息加入对应的文件类型标记。In an exemplary embodiment, one or more files to be selected are classified according to file types; based on the file type of the file to be selected, a corresponding file type tag is added to the header information of the uniform resource identifier of the file to be selected.
在示例实施例中,在聊天界面上创建悬浮窗;在悬浮窗上显示待选文 件的文件标识。在悬浮窗上显示待选文件的文件标识,包括:基于待选文件的文件类型标记,确定待选文件在悬浮窗中的预览方式;基于预览方式在悬浮窗上显示待选文件的文件标识。例如,待选文件包括文档文件XXX、图片文件以及视频文件。当某一待选文件为图片文件时,显示图片缩略图;当某一待选文件为视频文件时,截取该视频文件的其中一小段视频播放预览;当某一待选文件为文档文件时,显示文档文件名。In the exemplary embodiment, a floating window is created on the chat interface; the file identifier of the file to be selected is displayed on the floating window. Displaying the file identifier of the file to be selected on the floating window includes: determining the preview mode of the file to be selected in the floating window based on the file type mark of the file to be selected; displaying the file identifier of the file to be selected on the floating window based on the preview mode. For example, the files to be selected include document files XXX, picture files, and video files. When a file to be selected is a picture file, the thumbnail of the picture is displayed; when a file to be selected is a video file, a short video of the video file is captured for playback preview; when a file to be selected is a document file, Display the document file name.
在步骤S130中,根据用户的选择操作,发送所述至少一个待选文件中的目标文件。In step S130, according to the user's selection operation, the target file among the at least one file to be selected is sent.
在示例实施例中,用户从至少一个待选文件中选中一个或多个待选文件作为目标文件,发送给聊天对象。In an exemplary embodiment, the user selects one or more candidate files from at least one candidate file as the target file, and sends it to the chat partner.
根据图1的示例实施例中的文件发送方法,首先,根据聊天界面上的聊天信息确定是否需要向聊天对象发送文件;然后,若需要发送文件,则根据聊天信息确定并显示至少一个待选文件;最后,根据用户的选择操作,发送所述至少一个待选文件中的目标文件。通过本发明实施例,能够简化发送文件的操作步骤,使在电子设备上发送文件更加快捷。According to the file sending method in the exemplary embodiment of FIG. 1, firstly, according to the chat information on the chat interface, it is determined whether a file needs to be sent to the chat partner; then, if the file needs to be sent, at least one file to be selected is determined and displayed according to the chat information ; Finally, according to the user's selection operation, send the target file in the at least one to-be-selected file. Through the embodiments of the present invention, the operation steps for sending files can be simplified, and the sending of files on the electronic device is faster.
进一步地,在示例实施例中,基于选择指令,展示在悬浮框中的待选文件的文件标识被选中,进而该待选文件作为目标文件被发送出去。选择指令可以和发送指令合二为一,例如单击被选中的待选文件的文件标识,或拖动被选中的待选文件的文件标识到聊天界面上的非悬浮窗区域,该目标文件即可被用户发送给聊天对象。另外,参照图7所示,可进入多选模式。Further, in the exemplary embodiment, based on the selection instruction, the file identifier of the file to be selected displayed in the floating box is selected, and the file to be selected is sent out as the target file. The selection instruction can be combined with the sending instruction. For example, click the file identifier of the selected file to be selected, or drag the file identifier of the selected file to be selected to the non-floating window area on the chat interface, and the target file is Can be sent by users to chat partners. In addition, referring to FIG. 7, the multi-selection mode can be entered.
图2示出了根据本发明的另一些实施例提供的文件发送方法的流程示意图。Fig. 2 shows a schematic flowchart of a file sending method according to other embodiments of the present invention.
参照图2所示,在步骤S201中,识别聊天界面上的语音信息、文字信息。Referring to FIG. 2, in step S201, voice information and text information on the chat interface are recognized.
在示例实施例中,实时监测并收集电子设备的聊天界面上的聊天信息,聊天信息包括语音信息和/或文字信息。若聊天信息包括语音信息,则将语音信息转换为文字信息,再对文字信息进行语义识别。In an exemplary embodiment, the chat information on the chat interface of the electronic device is monitored and collected in real time, and the chat information includes voice information and/or text information. If the chat information includes voice information, the voice information is converted into text information, and then the text information is semantically recognized.
在步骤S202中,人工智能引擎判断是否需要发送文件。In step S202, the artificial intelligence engine determines whether a file needs to be sent.
在示例实施例中,对聊天信息进行意图识别,确定与聊天信息对应的用户意图;根据用户意图,判断是否需要发送文件。例如用户A与用户B在聊天,用户A在聊天界面发出文字信息“把XXX文件发过来”,该聊天信息被传送到人工智能引擎,人工智能引擎对该聊天信息进行语义分析,该语义分析包括意图识别,得到用户A的意图是希望“XXX”文件被用户B发送给自己,故对聊天内容进行判断预测的结果是用户B需要发送文件给用户A。人工智能引擎是进行包括意图识别在内的语义分析的工具中的一种,仅为一种示例实施例,本申请也可以使用其他工具来就进行语义分析,并不对此进行特殊限定。In an exemplary embodiment, intent identification is performed on the chat information to determine the user's intent corresponding to the chat information; according to the user's intent, it is determined whether a file needs to be sent. For example, user A and user B are chatting, and user A sends a text message "Send XXX file" on the chat interface. The chat message is transmitted to the artificial intelligence engine, and the artificial intelligence engine performs semantic analysis on the chat information. The semantic analysis includes Intention recognition, the user A's intention is to want the "XXX" file to be sent to him by the user B, so the result of the judgment and prediction of the chat content is that the user B needs to send the file to the user A. The artificial intelligence engine is one of the tools for performing semantic analysis including intent recognition, and is only an example embodiment. This application may also use other tools to perform semantic analysis, and this is not particularly limited.
在步骤S203中,后台搜索文件。In step S203, a file is searched in the background.
在示例实施例中,根据聊天内容确定目标文件的搜索关键词,例如用户A在聊天界面发出文字信息“把XXX文件发过来”,人工智能引擎对该文字信息进行语义识别,确定“XXX”为文件搜索关键词。接着,启动后台在本机文件中搜索一个或多个待选文件,记录待选文件的统一资源标识符。In an exemplary embodiment, the search keywords of the target file are determined according to the chat content. For example, user A sends out the text message "Send XXX file" on the chat interface, and the artificial intelligence engine performs semantic recognition on the text information and determines that "XXX" is File search keywords. Then, start the background to search for one or more files to be selected in the local files, and record the uniform resource identifier of the files to be selected.
在步骤S204中,将搜索结果按文件类型进行标记。In step S204, the search results are marked according to file types.
在示例实施例中,把搜索到的一个或多个待选文件根据文件类型进行分类,对不同的文件类型进行标记,即把与待选文件对应的文件类型标记存入该待选文件的统一资源标识符的头部信息,例如,当某一待选文件为图片类型时,在该待选文件的统一资源标识符的头部信息中加入图片标记;当某一待选文件为视频类型时,在该待选文件的统一资源标识符的头部信息中加入视频标记。In an exemplary embodiment, the searched file or files to be selected are classified according to the file type, and different file types are marked, that is, the file type mark corresponding to the file to be selected is stored in the unified file of the file to be selected. The header information of the resource identifier, for example, when a file to be selected is a picture type, add a picture tag to the header information of the uniform resource identifier of the file to be selected; when a file to be selected is a video type , Add a video tag to the header information of the uniform resource identifier of the file to be selected.
在步骤S205中,创建悬浮窗,把文件添加到悬浮窗,显示在聊天界面上。In step S205, a floating window is created, files are added to the floating window, and displayed on the chat interface.
在示例实施例中,创建一个悬浮窗,可以是圆弧形,也可以是其他形状。将根据文件搜索关键词搜索到的待选文件的文件标识添加到悬浮窗内,并把悬浮窗展示在聊天界面上,例如,聊天界面的右下方展示了一个包含三个文件标识的圆弧形悬浮窗。根据待选文件的统一资源标识符的头部信息中存储的文件类型标记,将不同类型的文件以不同的方式预览显 示。例如,当某一待选文件为图片文件时,显示图片缩略图;当某一待选文件为视频文件时,截取该视频文件的其中一小段视频播放预览;当某一待选文件为文档文件时,显示文档文件名。In the exemplary embodiment, a floating window is created, which can be arc-shaped or other shapes. Add the file identifiers of the files to be selected based on the file search keywords to the floating window, and display the floating window on the chat interface, for example, a circular arc containing three file identifiers is displayed at the bottom right of the chat interface Floating window. According to the file type mark stored in the header information of the uniform resource identifier of the file to be selected, different types of files are previewed and displayed in different ways. For example, when a file to be selected is a picture file, the thumbnail of the picture is displayed; when a file to be selected is a video file, a short video of the video file is captured for playback and preview; when a file to be selected is a document file When the document file name is displayed.
在步骤S206中,计时10秒。In step S206, 10 seconds are counted.
在示例实施例中,当步骤S205中展示的悬浮窗在计时10秒期间,若用户对悬浮窗内展示的待选文件的文件标识没有做出任何操作,例如选择一个待选文件的文件标识,则在10秒后转向步骤S210。In an exemplary embodiment, when the floating window displayed in step S205 is timed for 10 seconds, if the user does not perform any operation on the file identifier of the file to be selected displayed in the floating window, for example, select a file identifier of the file to be selected, Then, after 10 seconds, go to step S210.
需要注意的是,在示例实施例中,计时的目的在于当用户长期没有对该悬浮窗进行操作时,自动退出悬浮窗,减少悬浮窗对用户聊天交流的影响。10秒仅为一种示例,计时的时间可以自行设置,例如设置超时时间timeout为20秒。It should be noted that, in the exemplary embodiment, the purpose of timing is to automatically exit the floating window when the user has not operated the floating window for a long time, so as to reduce the influence of the floating window on the user's chat communication. 10 seconds is only an example, and the timing time can be set by yourself, for example, set the timeout time timeout to 20 seconds.
在步骤S207中,用户选择文件。In step S207, the user selects a file.
在示例实施例中,用户从悬浮窗中展示的一个或多个待选文件的文件标识中进行选择的方式可以是多样化的,例如,点击悬浮窗中的某一待选文件的文件标识,则根据用户的选择操作,将该待选文件确定为目标文件,直接发送该目标文件;还可以目标文件的文件标识从悬浮窗中拖出到聊天界面中的非悬浮窗区域。In an exemplary embodiment, the user can select from one or more file identifications of the file to be selected displayed in the floating window can be diversified, for example, click on the file identification of a certain file to be selected in the floating window, Then, according to the user's selection operation, the file to be selected is determined as the target file, and the target file is directly sent; the file identifier of the target file can also be dragged out from the floating window to the non-floating window area in the chat interface.
在示例实施例中,由于根据文件搜索关键词搜索出的待选文件有一个或多个。当用户想要发送多个文件时,可以一个一个发送,也可以进入多选模式,选择若干待选文件的文件标识,点击发送按钮控件,一次性发送多个文件。进入多选模式的方法可以是长按文件标识,也可以是其他预设的方式,本申请并不对此做特殊限定。In the exemplary embodiment, because there are one or more files to be selected based on the file search keywords. When the user wants to send multiple files, they can send them one by one, or enter the multi-select mode, select the file identifiers of several files to be selected, and click the send button control to send multiple files at once. The method to enter the multi-selection mode can be long-pressing the file logo, or other preset methods, which are not specifically limited in this application.
在示例实施例中,根据文件搜索关键词搜索出的待选文件有一个或多个,当待选文件的文件标识数量过多无法全部展示在悬浮窗中时,悬浮窗可以预设一个展示数量,例如3个,即悬浮窗同时展示三个待选文件的文件标识。当想要切换到其他没有被展示出来的待选文件的文件标识时,用户可通过在悬浮窗进行手指滑动的操作,每滑动一次更新3个待选文件的文件标识的预览。切换展示的待选文件的文件标识的方式可以自定义设置,本申请并不对此做特殊限定。In an exemplary embodiment, there are one or more files to be selected based on the file search keywords. When the number of file identifiers of the files to be selected is too large to be displayed in the floating window, the floating window can preset a display quantity , For example, 3, that is, the floating window displays the file identifiers of three files to be selected at the same time. When you want to switch to the file IDs of other files to be selected that are not displayed, the user can slide the finger on the floating window, and the previews of the file IDs of the 3 files to be selected are updated with each swipe. The method of switching the file identification of the file to be selected for display can be customized, which is not specifically limited in this application.
在步骤S208中,触摸非悬浮窗区域。In step S208, the non-floating window area is touched.
在示例实施例中,在聊天界面上显示着包含一个或多个待选文件的文件标识的悬浮窗,而用户并没有操作悬浮窗,而是触摸非悬浮窗区域,例如输入框等,则进入步骤S210,自动退出悬浮窗,减少对用户聊天交流的影响,并保留待选文件的记录。In an exemplary embodiment, a floating window containing file identifications of one or more files to be selected is displayed on the chat interface, and the user does not operate the floating window, but touches a non-floating window area, such as an input box, and enters Step S210, automatically exit the floating window, reduce the impact on the user's chat communication, and keep a record of the files to be selected.
在步骤S209中,发送文件到聊天窗口。In step S209, the file is sent to the chat window.
在示例实施例中,根据用户对待选文件的文件标识的选择操作,将被用户选中的待选文件确定为目标文件,发送该目标文件给用户的聊天对象,当前的聊天界面中可以看到文件发送记录。In an exemplary embodiment, according to the user's selection operation of the file identification of the file to be selected, the file to be selected by the user is determined as the target file, and the target file is sent to the user's chat partner. The file can be seen in the current chat interface send record.
在步骤S210中,退出悬浮窗。In step S210, exit the floating window.
在示例实施例中,退出悬浮框,聊天界面回复原本的状态,返回步骤S201,继续识别语音、文字。In the exemplary embodiment, the floating frame is exited, the chat interface returns to the original state, and step S201 is returned to continue to recognize voice and text.
在示例实施例中,若没有任何一个待选文件被选择并发送,就退出了悬浮框,则保留待选文件的记录。当想要再次发送该待选文件时,可以利用记录快速提供该待选文件的文件标识,例如,点击加号时再次弹出悬浮框,悬浮框中展示尚未被选择并发送的待选文件的文件标识。In an exemplary embodiment, if no file to be selected is selected and sent, the floating box is exited, and the record of the file to be selected is retained. When you want to send the candidate file again, you can use the record to quickly provide the file identification of the candidate file. For example, when you click the plus sign, the floating box will pop up again, and the floating box will display the file of the candidate file that has not been selected and sent. Logo.
图3示出了根据本发明的一些实施例提供的文件发送方法的应用场景的示例的示意图。Fig. 3 shows a schematic diagram of an example of an application scenario of a file sending method provided according to some embodiments of the present invention.
参照图3所示,用户A与用户B在聊天,用户A发出文字信息“把XXX文件发过来”到聊天界面。As shown in Figure 3, user A and user B are chatting, and user A sends a text message "send XXX file" to the chat interface.
图4示出了根据本发明的一些实施例提供的悬浮窗的应用场景的示例的示意图。Fig. 4 shows a schematic diagram of an example of an application scenario of a floating window provided according to some embodiments of the present invention.
参照图4所示,图4中的聊天界面中的悬浮框中展示了三个不同的待选文件的文件标识,分别为文档文件410、视频文件420、图片文件430,文件类型各不相同。文档文件410显示了文档文件名在悬浮窗中,视频文件420显示了一小段视频播放预览在悬浮窗中,图片文件430显示了预览图在悬浮窗中。Referring to FIG. 4, the floating box in the chat interface in FIG. 4 displays the file identifiers of three different files to be selected, namely a document file 410, a video file 420, and a picture file 430, and the file types are different. The document file 410 displays the document file name in the floating window, the video file 420 displays a short video playback preview in the floating window, and the picture file 430 displays the preview image in the floating window.
图4中的悬浮窗的用户界面(User Interface,UI)界面以右下角为圆心,画圆弧来分列显示文件。该悬浮窗的位置处在用户习惯的操作区域, 便于用户单手操作。The User Interface (UI) of the floating window in Fig. 4 takes the lower right corner as the center and draws an arc to display files in columns. The position of the floating window is in the operation area that the user is accustomed to, which is convenient for the user to operate with one hand.
图5示出了根据本发明的一些实施例提供的点击文件标识以发送文件的应用场景的示例的示意图。Fig. 5 shows a schematic diagram of an example of an application scenario of clicking a file identifier to send a file according to some embodiments of the present invention.
参照图5所示,图5左图中的聊天界面中的悬浮窗的UI界面以右下角为圆心,画圆弧来分列显示文件。该悬浮窗中展示了三种不同的待选文件的文件标识,分别为文档文件510、视频文件520以及图片文件530。文档文件510显示了文档文件名在悬浮窗中,视频文件520显示了一小段视频播放预览在悬浮窗中,图片文件530显示了预览图在悬浮窗中。在图5左图中,手指点击视频文件520。As shown in Fig. 5, the UI interface of the floating window in the chat interface in the left picture of Fig. 5 is centered on the lower right corner, and an arc is drawn to display files in columns. The file identifiers of three different files to be selected are displayed in the floating window, which are a document file 510, a video file 520, and a picture file 530, respectively. The document file 510 displays the document file name in the floating window, the video file 520 displays a short video playback preview in the floating window, and the picture file 530 displays the preview image in the floating window. In the left image of FIG. 5, the finger clicks on the video file 520.
参照图5右图所示,当上述点击操作被完成后,视频文件520在聊天界面被成功发送,聊天界面上显示了发送文件记录。Referring to the right diagram of FIG. 5, when the above-mentioned click operation is completed, the video file 520 is successfully sent on the chat interface, and the sending file record is displayed on the chat interface.
图6示出了根据本发明的一些实施例提供的拖动文件标识以发送文件的应用场景的示例的示意图。Fig. 6 shows a schematic diagram of an example of an application scenario of dragging a file identifier to send a file according to some embodiments of the present invention.
参照图6所示,图6左图中的聊天界面中的悬浮窗的UI界面以右下角为圆心,画圆弧来分列显示文件标识。该悬浮窗中展示了两种不同的待选文件的文件标识,分别为文档文件610与视频文件620。文档文件610显示了文档文件名在悬浮窗中,视频文件620显示了一小段视频播放预览在悬浮窗中。如图6左图所示,手指将视频文件620从悬浮窗区域拖动到聊天界面上的非悬浮窗区域。As shown in Fig. 6, the UI interface of the floating window in the chat interface in the left picture of Fig. 6 is centered on the lower right corner, and an arc is drawn to display file identifiers in columns. The file identifiers of two different files to be selected are displayed in the floating window, which are the document file 610 and the video file 620, respectively. The document file 610 displays the document file name in the floating window, and the video file 620 displays a short video playback preview in the floating window. As shown in the left image of FIG. 6, the finger drags the video file 620 from the floating window area to the non-floating window area on the chat interface.
参照图6右图所示,当上述拖动操作被完成后,视频文件620在聊天界面被成功发送,聊天界面上显示了发送文件记录。As shown in the right figure of FIG. 6, when the above-mentioned drag operation is completed, the video file 620 is successfully sent on the chat interface, and the sending file record is displayed on the chat interface.
图7示出了根据本发明的一些实施例提供的多选模式的应用场景的示例的示意图。Fig. 7 shows a schematic diagram of an example of an application scenario of a multi-selection mode provided according to some embodiments of the present invention.
参照图7所示,用户可通过长按文件标识的方式进入多选模式,也可以用其他预设的方式。图7左图中的聊天界面中的悬浮窗处于多选模式,该悬浮窗的UI界面以右下角为圆心,画圆弧来分列显示文件。该悬浮窗中展示了三种不同的待选文件的文件标识,分别为文档文件710、视频文件720以及图片文件730。文档文件710显示了文档文件名在悬浮窗中,视频文件720显示了一小段视频播放预览在悬浮窗中,图片文件730显示 了预览图在悬浮窗中。在多选模式下,文档文件710与视频文件720被选中,手指点击右下角的发送按钮控件740。Referring to Figure 7, the user can enter the multi-selection mode by long pressing the file identifier, or other preset methods. The floating window in the chat interface in the left picture of Fig. 7 is in a multi-selection mode. The UI interface of the floating window is centered on the lower right corner, and an arc is drawn to display files in columns. The file identifiers of three different files to be selected are displayed in the floating window, which are a document file 710, a video file 720, and a picture file 730, respectively. The document file 710 displays the document file name in the floating window, the video file 720 displays a short video playback preview in the floating window, and the picture file 730 displays the preview image in the floating window. In the multi-selection mode, the document file 710 and the video file 720 are selected, and the finger clicks the send button control 740 in the lower right corner.
参照图7右图所示,在完成上述点击操作后,文档文件710与视频文件720被成功发送,聊天界面上显示了两个文件的发送文件记录。As shown in the right figure of FIG. 7, after the above-mentioned click operation is completed, the document file 710 and the video file 720 are successfully sent, and the sending file records of the two files are displayed on the chat interface.
图8示出了根据本发明的一些实施例提供的滑动显示更多文件标识的应用场景的示例的示意图。FIG. 8 shows a schematic diagram of an example of an application scenario of sliding to display more file identifiers according to some embodiments of the present invention.
参照图8所示,图8左图中的聊天界面中的悬浮窗的UI界面以右下角为圆心,画圆弧来分列显示文件标识。该悬浮窗中展示了中展示了三种不同的待选文件的文件标识,分别为XXX文档文件810,视频文件820以及图片文件830。XXX文档文件810显示了文档文件名在悬浮窗中,视频文件820显示了一小段视频播放预览在悬浮窗中,图片文件830显示了预览图在悬浮窗中。如图8左图所示,手指在悬浮窗区域内向下滑动。Referring to FIG. 8, the UI interface of the floating window in the chat interface in the left picture of FIG. 8 takes the lower right corner as the center of the circle, and draws an arc to display the file identifiers in columns. The floating window displays the file identifiers of three different files to be selected, which are the XXX document file 810, the video file 820, and the picture file 830, respectively. The XXX document file 810 shows the document file name in the floating window, the video file 820 shows a short video playback preview in the floating window, and the picture file 830 shows the preview image in the floating window. As shown in the left image of Figure 8, the finger slides down in the floating window area.
参照图8右图所示,当用户如图8左图所示进行了滑动操作后,聊天界面中的悬浮窗中展示的三个文件标识变成了YYY文档文件840,蝴蝶图片文件850以及人脸图片文件860。YYY文档文件840显示了文档文件名在悬浮窗中,蝴蝶图片文件850显示了蝴蝶预览图在悬浮窗中,人脸图片文件860显示了人脸预览图在悬浮窗中。Referring to the right figure of Figure 8, when the user performs a sliding operation as shown in the left figure of Figure 8, the three file identifiers displayed in the floating window in the chat interface become the YYY document file 840, the butterfly picture file 850 and the person Face picture file 860. The YYY document file 840 shows the document file name in the floating window, the butterfly picture file 850 shows the butterfly preview in the floating window, and the face picture file 860 shows the face preview in the floating window.
图9示出了根据本发明的一些实施例提供的文件发送装置的示意框图。参照图9所示,该文件发送装置900应用于电子设备,包括:发送确定模块910、待选文件确定模块920以及文件发送模块930。其中,发送确定模块910用于根据聊天界面上的聊天信息确定是否需要向聊天对象发送文件;待选文件确定模块920用于若需要发送文件,则根据聊天信息确定至少一个待选文件并展示出来;文件发送模块930用于根据用户的选择操作,发送所述至少一个待选文件中的目标文件。Fig. 9 shows a schematic block diagram of a file sending apparatus according to some embodiments of the present invention. As shown in FIG. 9, the file sending apparatus 900 is applied to an electronic device and includes: a sending determining module 910, a to-be-selected file determining module 920, and a file sending module 930. Wherein, the sending determining module 910 is used to determine whether a file needs to be sent to the chat partner according to the chat information on the chat interface; the to-be-selected file determining module 920 is used to determine at least one file to be selected according to the chat information if a file needs to be sent and display it ; The file sending module 930 is configured to send the target file in the at least one file to be selected according to the user's selection operation.
在本发明的一些实施例中,基于上述方案,待选文件确定模块包括:关键词确定单元,用于基于聊天信息确定文件搜索关键词;待选文件确定单元,用于基于文件搜索关键词搜索并显示至少一个待选文件。In some embodiments of the present invention, based on the above solution, the candidate file determination module includes: a keyword determination unit for determining file search keywords based on chat information; and a candidate file determination unit for searching based on file search keywords And display at least one file to be selected.
在本发明的一些实施例中,基于上述方案,文件发送装置还包括:文件分类模块,用于将待选文件根据文件类型进行分类;标记加入模块,用 于基于待选文件的文件类型,在待选文件的统一资源标识符的头部信息加入对应的文件类型标记。In some embodiments of the present invention, based on the above solution, the file sending device further includes: a file classification module, which is used to classify files to be selected according to file types; and a mark addition module, which is used to classify files based on the file types of the files to be selected. The header information of the uniform resource identifier of the file to be selected is added to the corresponding file type mark.
在本发明的一些实施例中,基于上述方案,文件发送装置还包括:悬浮窗创建模块,用于在聊天界面上创建悬浮窗;文件显示模块,用于在悬浮窗上显示待选文件的文件标识。In some embodiments of the present invention, based on the above solution, the file sending device further includes: a floating window creation module, used to create a floating window on the chat interface; a file display module, used to display files of a file to be selected on the floating window Logo.
在本发明的一些实施例中,基于上述方案,文件显示模块包括:预览方式确定单元,用于基于待选文件的文件类型标记,确定待选文件在悬浮窗中的预览方式;点选文件显示单元,用于基于预览方式在悬浮窗上显示待选文件的文件标识。In some embodiments of the present invention, based on the above solution, the file display module includes: a preview mode determining unit, configured to determine the preview mode of the file to be selected in the floating window based on the file type mark of the file to be selected; click the file to display The unit is used to display the file identification of the file to be selected on the floating window based on the preview mode.
本公开实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在处理器上运行的计算机程序,该计算机程序被处理器执行时能够实现前述文件发送方法的任一实施例的各个过程,并达到相同的效果和功能,这里不再重复。The embodiments of the present disclosure also provide an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, any implementation of the aforementioned file sending method can be implemented. Each process of the example, and achieve the same effect and function, will not be repeated here.
图10示出了根据本发明的一些实施例提供的一种电子设备的示例的硬件结构示意图。如图10所示,该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、处理器1010、以及电源1011等部件。本领域技术人员可以理解,图10中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Fig. 10 shows a schematic diagram of the hardware structure of an example of an electronic device according to some embodiments of the present invention. As shown in FIG. 10, the electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, and a memory 1009 , The processor 1010, and the power supply 1011. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 10 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
处理器1010是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器1009内的软件程序和/或模块,以及调用存储在存储器1009内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器1010可包括一个或多个处理单元;可选地,处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器 也可以不集成到处理器1010中。The processor 1010 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs and/or modules stored in the memory 1009, and calls data stored in the memory 1009. , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 1010 may include one or more processing units; optionally, the processor 1010 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc. The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1010.
存储器1009可用于存储软件程序以及各种数据。存储器1009可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1009可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 1009 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
根据本实施例,存储器1009内存储有计算机程序,该计算机程序被处理器1010执行时,能够实现以下流程:根据聊天界面上的聊天信息确定是否需要向聊天对象发送文件;若需要发送文件,则根据聊天信息确定并显示至少一个待选文件;根据用户的选择操作,发送至少一个待选文件中的目标文件。According to this embodiment, a computer program is stored in the memory 1009. When the computer program is executed by the processor 1010, the following process can be realized: determine whether a file needs to be sent to the chat partner according to the chat information on the chat interface; if the file needs to be sent, then Determine and display at least one file to be selected according to the chat information; and send the target file in the at least one file to be selected according to the user's selection operation.
可选地,该计算机程序被处理器1010执行时,根据聊天信息确定并显示至少一个待选文件,包括:基于聊天信息确定文件搜索关键词;基于文件搜索关键词搜索并显示至少一个待选文件。Optionally, when the computer program is executed by the processor 1010, determining and displaying at least one file to be selected according to the chat information includes: determining file search keywords based on the chat information; searching and displaying at least one file to be selected based on the file search keywords .
可选地,该计算机程序被处理器1010执行时,将待选文件根据文件类型进行分类;基于待选文件的文件类型,在待选文件的统一资源标识符的头部信息加入对应的文件类型标记。Optionally, when the computer program is executed by the processor 1010, the file to be selected is classified according to the file type; based on the file type of the file to be selected, the corresponding file type is added to the header information of the uniform resource identifier of the file to be selected mark.
可选地,该计算机程序被处理器1010执行时,在聊天界面上创建悬浮窗;在悬浮窗上显示待选文件的文件标识。Optionally, when the computer program is executed by the processor 1010, a floating window is created on the chat interface; the file identifier of the file to be selected is displayed on the floating window.
可选地,该计算机程序被处理器1010执行时,在悬浮窗上显示待选文件的文件标识,包括:基于待选文件的文件类型标记,确定待选文件在悬浮窗中的预览方式;基于预览方式在悬浮窗上显示待选文件的文件标识。Optionally, when the computer program is executed by the processor 1010, displaying the file identifier of the file to be selected on the floating window includes: determining the preview mode of the file to be selected in the floating window based on the file type mark of the file to be selected; The preview mode displays the file identification of the file to be selected on the floating window.
应理解的是,本发明实施例中,射频单元1001可用于收发信息或通话过程中,信号的接收和发送,具体地,将来自基站的下行数据接收后,给处理器1010处理;另外,将上行的数据发送给基站。通常,射频单元1001包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放 大器、双工器等。此外,射频单元1001还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 1001 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving the downlink data from the base station, it is processed by the processor 1010; Uplink data is sent to the base station. Generally, the radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1001 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块1002为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 1002, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元1003可以将射频单元1001或网络模块1002接收的或者在存储器1009中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1003还可以提供与电子设备1000执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1003包括扬声器、蜂鸣器以及受话器等。The audio output unit 1003 can convert the audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into audio signals and output them as sounds. Moreover, the audio output unit 1003 may also provide audio output related to a specific function performed by the electronic device 1000 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
输入单元1004用于接收音频或视频信号。输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1006上。经图形处理器10041处理后的图像帧可以存储在存储器1009(或其它存储介质)中或者经由射频单元1001或网络模块1002进行发送。麦克风10042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1001发送到移动通信基站的格式输出。The input unit 1004 is used to receive audio or video signals. The input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042, and the graphics processor 10041 is configured to respond to still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frame can be displayed on the display unit 1006. The image frame processed by the graphics processor 10041 may be stored in the memory 1009 (or other storage medium) or sent via the radio frequency unit 1001 or the network module 1002. The microphone 10042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 1001 in the case of a telephone call mode for output.
电子设备1000还包括至少一种传感器1005,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板10061的亮度,接近传感器可在电子设备1000移动到耳边时,关闭显示面板10061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1005还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 1000 further includes at least one sensor 1005, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 10061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 10061 and 10061 when the electronic device 1000 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 1005 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元1006用于显示由用户输入的信息或提供给用户的信息。显 示单元1006可包括显示面板10061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板10061。The display unit 1006 is used to display information input by the user or information provided to the user. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
用户输入单元1007可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板10071上或在触控面板10071附近的操作)。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1010,接收处理器1010发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板10071。除了触控面板10071,用户输入单元1007还可以包括其他输入设备10072。具体地,其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 1007 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 10071 or near the touch panel 10071. operating). The touch panel 10071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it The processor 1010 receives and executes the command sent by the processor 1010. In addition, the touch panel 10071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 10071, the user input unit 1007 may also include other input devices 10072. Specifically, other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板10071可覆盖在显示面板10061上,当触控面板10071检测到在其上或附近的触摸操作后,传送给处理器1010以确定触摸事件的类型,随后处理器1010根据触摸事件的类型在显示面板10061上提供相应的视觉输出。虽然,触控面板10071与显示面板10061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板10071与显示面板10061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 10071 can cover the display panel 10061. When the touch panel 10071 detects a touch operation on or near it, it transmits it to the processor 1010 to determine the type of the touch event, and then the processor 1010 determines the type of the touch event according to the touch. The type of event provides corresponding visual output on the display panel 10061. Although the touch panel 10071 and the display panel 10061 are used as two independent components to realize the input and output functions of the electronic device, in some embodiments, the touch panel 10071 and the display panel 10061 can be integrated to realize the electronic device The input and output functions of the device are not limited here.
接口单元1008为外部装置与电子设备1000连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1008可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且 将接收到的输入传输到电子设备1000内的一个或多个元件或者可以用于在电子设备1000和外部装置之间传输数据。The interface unit 1008 is an interface for connecting an external device and the electronic device 1000. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 1008 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 1000 or can be used to connect to the electronic device 1000 and the external device. Transfer data between devices.
电子设备1000还可以包括给各个部件供电的电源1011(比如电池),可选地,电源1011可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 1000 may also include a power supply 1011 (such as a battery) for supplying power to various components. Optionally, the power supply 1011 may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,电子设备1000包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 1000 includes some functional modules not shown, which will not be repeated here.
进一步地,本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述文件发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质的示例包括非暂态计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Further, the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned file sending method embodiment is realized, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here. Wherein, examples of the computer-readable storage medium include non-transitory computer-readable storage media, such as read-only memory (Read-Only Memory, ROM for short), Random Access Memory (RAM for short), and magnetic CD or CD, etc.
上面参考根据本公开的实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开的各方面。应当理解,流程图和/或框图中的每个方框以及流程图和/或框图中各方框的组合可以由计算机程序指令实现。这些计算机程序指令可被提供给通用计算机、专用计算机、或其它可编程数据处理装置的处理器,以产生一种机器,使得经由计算机或其它可编程数据处理装置的处理器执行的这些指令使能对流程图和/或框图的一个或多个方框中指定的功能/动作的实现。这种处理器可以是但不限于是通用处理器、专用处理器、特殊应用处理器或者现场可编程逻辑电路。还可理解,框图和/或流程图中的每个方框以及框图和/或流程图中的方框的组合,也可以由执行指定的功能或动作的专用硬件来实现,或可由专用硬件和计算机指令的组合来实现。The various aspects of the present disclosure have been described above with reference to the flowcharts and/or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each block in the flowcharts and/or block diagrams and combinations of blocks in the flowcharts and/or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine that enables the execution of these instructions via the processor of the computer or other programmable data processing device Implementation of the functions/actions specified in one or more blocks of the flowcharts and/or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a dedicated processor, a special application processor, or a field programmable logic circuit. It can also be understood that each block in the block diagram and/or flowchart and the combination of the blocks in the block diagram and/or flowchart can also be implemented by dedicated hardware that performs specified functions or actions, or can be implemented by dedicated hardware and A combination of computer instructions.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括 该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. Without more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention are described above with reference to the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present invention, many forms can be made without departing from the purpose of the present invention and the scope of protection of the claims, all of which fall within the protection of the present invention.

Claims (12)

  1. 一种文件发送方法,应用于电子设备,包括:A file sending method, applied to electronic equipment, includes:
    根据聊天界面上的聊天信息确定是否需要向聊天对象发送文件;Determine whether you need to send a file to the chat partner according to the chat information on the chat interface;
    若需要发送文件,则根据所述聊天信息确定并显示至少一个待选文件;If a file needs to be sent, at least one file to be selected is determined and displayed according to the chat information;
    根据用户的选择操作,发送所述至少一个待选文件中的目标文件。According to the user's selection operation, the target file among the at least one file to be selected is sent.
  2. 根据权利要求1所述的文件发送方法,其中,所述根据所述聊天信息确定并显示至少一个待选文件,包括:The file sending method according to claim 1, wherein the determining and displaying at least one file to be selected according to the chat information comprises:
    基于所述聊天信息确定文件搜索关键词;Determining file search keywords based on the chat information;
    基于所述文件搜索关键词搜索并显示至少一个待选文件。At least one file to be selected is searched and displayed based on the file search keywords.
  3. 根据权利要求1所述的文件发送方法,其中,所述方法还包括:The file sending method according to claim 1, wherein the method further comprises:
    将所述待选文件根据文件类型进行分类;Classify the candidate files according to file types;
    基于所述待选文件的文件类型,在所述待选文件的统一资源标识符的头部信息加入对应的文件类型标记。Based on the file type of the file to be selected, a corresponding file type tag is added to the header information of the uniform resource identifier of the file to be selected.
  4. 根据权利要求1所述的文件发送方法,其中,所述方法还包括:The file sending method according to claim 1, wherein the method further comprises:
    在所述聊天界面上创建悬浮窗;Creating a floating window on the chat interface;
    在所述悬浮窗上显示所述待选文件的文件标识。The file identifier of the file to be selected is displayed on the floating window.
  5. 根据权利要求4所述的文件发送方法,其中,所述在所述悬浮窗上显示所述待选文件的文件标识,包括:4. The file sending method according to claim 4, wherein the displaying the file identifier of the file to be selected on the floating window comprises:
    基于所述待选文件的文件类型标记,确定所述待选文件在所述悬浮窗中的预览方式;Determine the preview mode of the to-be-selected file in the floating window based on the file type mark of the to-be-selected file;
    基于所述预览方式在所述悬浮窗上显示所述待选文件的文件标识。The file identifier of the file to be selected is displayed on the floating window based on the preview mode.
  6. 一种文件发送装置,应用于电子设备,包括:A file sending device applied to electronic equipment, including:
    发送确定模块,用于根据聊天界面上的聊天信息确定是否需要向聊天对象发送文件;The sending determination module is used to determine whether a file needs to be sent to the chat partner according to the chat information on the chat interface;
    待选文件确定模块,用于若需要发送文件,则根据所述聊天信息确定并显示至少一个待选文件;A to-be-selected file determining module is configured to determine and display at least one to-be-selected file according to the chat information if a file needs to be sent;
    文件发送模块,用于根据用户的选择操作,发送所述至少一个待选文件中的目标文件。The file sending module is used to send the target file in the at least one file to be selected according to the user's selection operation.
  7. 根据权利要求6所述的文件发送装置,其中,所述待选文件确定模块,包括:7. The file sending device according to claim 6, wherein the candidate file determination module comprises:
    关键词确定单元,用于基于所述聊天信息确定文件搜索关键词;The keyword determining unit is configured to determine a file search keyword based on the chat information;
    待选文件确定单元,用于基于所述文件搜索关键词搜索并显示至少一个待选文件。The to-be-selected file determining unit is configured to search for and display at least one to-be-selected file based on the file search keywords.
  8. 根据权利要求6所述的文件发送装置,其中,所述文件发送装置还包括:The file sending device according to claim 6, wherein the file sending device further comprises:
    文件分类模块,用于将所述待选文件根据文件类型进行分类;The file classification module is used to classify the to-be-selected files according to file types;
    标记加入模块,用于基于所述待选文件的文件类型,在所述待选文件的统一资源标识符的头部信息加入对应的文件类型标记。The mark adding module is configured to add a corresponding file type mark to the header information of the uniform resource identifier of the file to be selected based on the file type of the file to be selected.
  9. 根据权利要求6所述的文件发送装置,其中,所述文件发送装置还包括:The file sending device according to claim 6, wherein the file sending device further comprises:
    悬浮窗创建模块,用于在所述聊天界面上创建悬浮窗;A floating window creation module, which is used to create a floating window on the chat interface;
    文件显示模块,用于在所述悬浮窗上显示所述待选文件的文件标识。The file display module is used to display the file identifier of the file to be selected on the floating window.
  10. 根据权利要求9所述的文件发送装置,其中,所述文件显示模块,包括:The file sending device according to claim 9, wherein the file display module comprises:
    预览方式确定单元,用于基于所述待选文件的文件类型标记,确定所述待选文件在所述悬浮窗中的预览方式;A preview mode determining unit, configured to determine a preview mode of the file to be selected in the floating window based on the file type mark of the file to be selected;
    待选文件显示单元,用于基于所述预览方式在所述悬浮窗上显示所述待选文件的文件标识。The to-be-selected file display unit is configured to display the file identifier of the to-be-selected file on the floating window based on the preview mode.
  11. 一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的文件发送方法。An electronic device, comprising: a memory, a processor, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor is implemented as in claims 1 to 5 Any one of the file sending methods.
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的文件发送方法。A computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the file sending method according to any one of claims 1 to 5 is realized.
PCT/CN2020/112246 2019-10-25 2020-08-28 File sending method and apparatus, and electronic device WO2021077897A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911021923.4 2019-10-25
CN201911021923.4A CN110798397B (en) 2019-10-25 2019-10-25 File sending method and device and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021077897A1 true WO2021077897A1 (en) 2021-04-29

Family

ID=69441253

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/112246 WO2021077897A1 (en) 2019-10-25 2020-08-28 File sending method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN110798397B (en)
WO (1) WO2021077897A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568874A (en) * 2021-07-14 2021-10-29 上海分木信息科技有限公司 File selection uploading method and equipment
CN114710457A (en) * 2022-04-06 2022-07-05 亿咖通(湖北)技术有限公司 Method and storage medium for transmitting file to multiple chat objects in chat tool

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798397B (en) * 2019-10-25 2022-11-04 维沃移动通信有限公司 File sending method and device and electronic equipment
CN111638843A (en) * 2020-05-22 2020-09-08 维沃移动通信(杭州)有限公司 Information processing method and device and electronic equipment
CN111857468A (en) * 2020-07-01 2020-10-30 Oppo广东移动通信有限公司 Content sharing method and device, equipment and storage medium
CN112181351A (en) * 2020-09-30 2021-01-05 维沃移动通信(杭州)有限公司 Voice input method and device and electronic equipment
CN112286887A (en) * 2020-10-30 2021-01-29 维沃移动通信有限公司 File sharing method and device and electronic equipment
CN114675760A (en) * 2020-12-24 2022-06-28 华为技术有限公司 File sending method and electronic equipment
CN113127653B (en) * 2021-04-20 2024-01-26 维沃移动通信(杭州)有限公司 Information display method and device
CN113992663B (en) * 2021-12-29 2022-06-21 荣耀终端有限公司 Method for sending file, electronic device and readable storage medium
CN117319755B (en) * 2023-11-28 2024-05-17 深圳大智软件技术有限公司 Short video communication information sharing method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8566712B1 (en) * 2006-01-04 2013-10-22 Google Inc. Image management
CN103810285A (en) * 2014-02-24 2014-05-21 联想(北京)有限公司 Method and device for obtaining information
CN104580534A (en) * 2015-02-06 2015-04-29 联想(北京)有限公司 Information processing method, information processing device and electronic equipment
CN107086953A (en) * 2017-05-08 2017-08-22 北京三快在线科技有限公司 Document sending method and device, electronic equipment in a kind of instant messaging application
CN107657022A (en) * 2017-09-27 2018-02-02 努比亚技术有限公司 A kind of document retrieval method, mobile terminal and computer-readable recording medium
CN108241464A (en) * 2017-12-13 2018-07-03 深圳市金立通信设备有限公司 A kind of method, terminal and computer readable storage medium for showing chat message
CN110798397A (en) * 2019-10-25 2020-02-14 维沃移动通信有限公司 File sending method and device and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1286304C (en) * 2004-01-09 2006-11-22 北京讯通佳网网络技术有限公司 Method of realizing scene chat between customers in instant communication
CN101827317A (en) * 2009-09-07 2010-09-08 上海银贵网络科技服务有限公司 Control method and controller for searching target objects via mobile terminals
CN104639420B (en) * 2013-11-15 2019-06-07 腾讯科技(深圳)有限公司 The information processing method and system of instant messaging
CN106446096A (en) * 2016-09-12 2017-02-22 努比亚技术有限公司 File sharing method and device and terminal
CN107609056B (en) * 2017-08-25 2021-08-03 百度在线网络技术(北京)有限公司 Question and answer processing method and device based on picture recognition
CN107784090B (en) * 2017-10-11 2020-03-27 上海掌门科技有限公司 File sharing method and device and computer readable medium
CN109151200A (en) * 2018-08-27 2019-01-04 维沃移动通信有限公司 A kind of means of communication and mobile terminal
CN110119871A (en) * 2019-03-26 2019-08-13 上海蔚来汽车有限公司 Information exchange platform and method
CN110297928A (en) * 2019-07-02 2019-10-01 百度在线网络技术(北京)有限公司 Recommended method, device, equipment and the storage medium of expression picture

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8566712B1 (en) * 2006-01-04 2013-10-22 Google Inc. Image management
CN103810285A (en) * 2014-02-24 2014-05-21 联想(北京)有限公司 Method and device for obtaining information
CN104580534A (en) * 2015-02-06 2015-04-29 联想(北京)有限公司 Information processing method, information processing device and electronic equipment
CN107086953A (en) * 2017-05-08 2017-08-22 北京三快在线科技有限公司 Document sending method and device, electronic equipment in a kind of instant messaging application
CN107657022A (en) * 2017-09-27 2018-02-02 努比亚技术有限公司 A kind of document retrieval method, mobile terminal and computer-readable recording medium
CN108241464A (en) * 2017-12-13 2018-07-03 深圳市金立通信设备有限公司 A kind of method, terminal and computer readable storage medium for showing chat message
CN110798397A (en) * 2019-10-25 2020-02-14 维沃移动通信有限公司 File sending method and device and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568874A (en) * 2021-07-14 2021-10-29 上海分木信息科技有限公司 File selection uploading method and equipment
CN114710457A (en) * 2022-04-06 2022-07-05 亿咖通(湖北)技术有限公司 Method and storage medium for transmitting file to multiple chat objects in chat tool
CN114710457B (en) * 2022-04-06 2023-08-11 亿咖通(湖北)技术有限公司 Method and storage medium for transmitting file to multiple chat objects in chat tool

Also Published As

Publication number Publication date
CN110798397A (en) 2020-02-14
CN110798397B (en) 2022-11-04

Similar Documents

Publication Publication Date Title
WO2021077897A1 (en) File sending method and apparatus, and electronic device
CN108762954B (en) Object sharing method and mobile terminal
WO2021213496A1 (en) Message display method and electronic device
WO2020258929A1 (en) Folder interface switching method and terminal device
WO2020011076A1 (en) Method for displaying background application and mobile terminal
CN109917979B (en) Searching method and mobile terminal
WO2021136159A1 (en) Screenshot method and electronic device
WO2021012931A1 (en) Icon management method and terminal
WO2019184666A1 (en) Method for displaying content and terminal
WO2020215949A1 (en) Object processing method and terminal device
WO2020259024A1 (en) Icon classification method, mobile terminal, and computer-readable storage medium
WO2020238938A1 (en) Information input method and mobile terminal
WO2020156118A1 (en) Management method and terminal apparatus
WO2020151512A1 (en) Image storage method and terminal apparatus
WO2019196691A1 (en) Keyboard interface display method and mobile terminal
WO2020238463A1 (en) Message processing method and terminal
WO2020182035A1 (en) Image processing method and terminal device
WO2021004426A1 (en) Content selection method, and terminal
WO2019120192A1 (en) Method for editing text, and mobile device
WO2020156123A1 (en) Information processing method and terminal device
WO2021073478A1 (en) Bullet screen information recognition method, display method, server and electronic device
WO2017012423A1 (en) Method and terminal for displaying instant message
WO2020173405A1 (en) Content sharing method and mobile terminal
WO2021104160A1 (en) Editing method and electronic device
WO2021036553A1 (en) Icon display method and electronic device

Legal Events

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

Ref document number: 20878542

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20878542

Country of ref document: EP

Kind code of ref document: A1