WO2021159998A1 - 信息显示方法、装置及电子设备 - Google Patents

信息显示方法、装置及电子设备 Download PDF

Info

Publication number
WO2021159998A1
WO2021159998A1 PCT/CN2021/074917 CN2021074917W WO2021159998A1 WO 2021159998 A1 WO2021159998 A1 WO 2021159998A1 CN 2021074917 W CN2021074917 W CN 2021074917W WO 2021159998 A1 WO2021159998 A1 WO 2021159998A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
information
electronic device
target file
window
Prior art date
Application number
PCT/CN2021/074917
Other languages
English (en)
French (fr)
Inventor
李新
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021159998A1 publication Critical patent/WO2021159998A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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/06Message adaptation to terminal or network requirements
    • 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
    • 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/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Definitions

  • This application relates to the field of communication technology, and in particular to an information display method, device and electronic equipment.
  • communication software applications
  • users can not only use communication software for social chat, but also share information such as pictures, files, and videos.
  • the sending speed of large-volume information will be much slower than that of textual information.
  • the receiving end has the problem of display inconsistency when displaying the received text information and large-volume information.
  • display inconsistency when there are multiple large-volume information to be displayed, once the large-volume information and text information are displayed The inconsistency will cause the user to carefully read through multiple session messages in the group session to understand other related information such as the reason for the transmission of large-volume information, resulting in a poor user experience.
  • the embodiments of the present invention provide an information display method, device, and electronic equipment, which can solve the problem of scattered display of associated information in a group conversation.
  • the present invention is implemented as follows:
  • an embodiment of the present application provides an information display method, which is applied to an electronic device, and the method includes:
  • a file selection interface is displayed.
  • the file selection interface includes a file selection window and an information editing window.
  • the file selection window is used to select a target file, and the information editing window is used to Adding file description information to the target file;
  • the file description information and the identification information of the target file are associated and displayed on the chat interface.
  • an embodiment of the present application also provides an information display method, which is applied to a server, and the method includes:
  • the target file carries identification information and file description information of the target file, and the target file, the file description information, and the identification information are those of the first electronic device Obtained according to the input operation on the chat interface;
  • the identification information of the target file and the file description information are sent to the second electronic device that has the chat interface opened, so that the second electronic device is displayed on the chat interface
  • the file description information and the identification information of the target file are displayed in association.
  • an embodiment of the present application also provides an information display device, which is applied to electronic equipment, and the device includes:
  • the interface display module is used to display a file selection interface based on file sharing events occurring in the chat interface.
  • the file selection interface includes a file selection window and an information editing window.
  • the file selection window is used to select a target file.
  • the information editing window is used to add file description information to the target file;
  • An information input module for receiving a first input for the file selection window and a second input for the information editing window
  • the information display module is configured to display the file description information and the identification information of the target file in the chat interface in association with the first input and the second input.
  • an embodiment of the present application also provides an information display device, which is applied to a server, and the device includes:
  • the file receiving module is configured to receive a target file sent by the first electronic device, and the target file carries identification information and file description information of the target file, and the target file, the file description information, and the identification information are Obtained by the first electronic device according to an input operation on the chat interface;
  • the file forwarding module is configured to send the identification information of the target file and the file description information to the second electronic device with the chat interface opened when the transfer of the target file is not completed, so that the second electronic device The device associates and displays the file description information and the identification information of the target file on the chat interface.
  • an embodiment of the present application also provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor When realizing the steps of the above-mentioned information display method.
  • the embodiments of the present application also provide a computer-readable storage medium, and the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the information display method described above are implemented.
  • the identification information and file description information of the target file can be displayed on the chat interface through the first message display window, so that the large-volume file and other information
  • the display is consistent with the display of text information, so that the user can quickly and conveniently understand the relevant content of the target file according to the file description information and the identification information of the target file displayed in the first message display window, and improve the user experience.
  • Fig. 1 is a schematic flowchart of an information display method provided according to an exemplary embodiment
  • Fig. 2 is a schematic diagram of an interface of a chat interface displaying an information editing tab provided according to an exemplary embodiment
  • Fig. 3 is a schematic diagram of a file selection interface provided according to an exemplary embodiment
  • Fig. 4(a) is a schematic diagram of a first message display window provided according to an exemplary embodiment
  • Fig. 4(b) is a schematic diagram of a first message display window provided according to another exemplary embodiment
  • Fig. 5(a) is a schematic diagram of an interface of a chat interface displaying a first message display window provided according to an exemplary embodiment
  • Fig. 5(b) is a schematic diagram of a chat interface showing a first message display window provided according to another exemplary embodiment
  • Fig. 6(a) is a schematic diagram of an interface of a chat interface displaying a second message display window provided according to an exemplary embodiment
  • FIG. 6(b) is a schematic diagram of an interface of a chat interface displaying a second message display window provided according to another exemplary embodiment
  • FIG. 7 is a schematic flowchart of an information display method provided according to another exemplary embodiment.
  • Fig. 8 is a schematic diagram of an application scenario of an information display method provided according to an exemplary embodiment
  • Fig. 9 is a schematic diagram of an interaction flow of an information display method provided according to an exemplary embodiment
  • FIG. 10 is a schematic diagram of an interface of a chat interface displaying a first message display window provided according to an exemplary embodiment
  • Fig. 11 is a block diagram of an information display device provided according to an exemplary embodiment
  • Fig. 12 is a block diagram of an information display device according to another exemplary embodiment.
  • Fig. 13 is a block diagram of an electronic device provided according to an exemplary embodiment.
  • the information display method can be applied to electronic devices, such as computers, mobile phones, IPADs, etc., which can be specifically, but not limited to, the hardware or software in the electronic devices implement.
  • the aforementioned electronic device to which the information display method given in the embodiment of this application is applied can be a file sending client involved in a communication session, or a file receiving client involved in a communication session, which can be flexible according to actual communication scenarios. It is determined that this embodiment does not limit this.
  • the information display method may include the following steps.
  • the file selection interface may include a file selection window and an information editing window
  • the file selection window is used to select the target file
  • the information editing window is used to add the target file File description information.
  • the file sharing event may be, but not limited to, a user initiated based on a conversation message in a chat interface (such as an information display interface during a communication session).
  • a chat interface such as an information display interface during a communication session.
  • S11 can be implemented through S110 and S111.
  • S110 In response to the information editing operation initiated by the user based on the conversation message in the chat interface, display an information editing tab, and the information editing tab may include a file sharing option.
  • the information editing tab as shown in Figure 2 will pop up.
  • the information can be displayed in the edit tab, but it is not limited to the file sharing option of "attach large files" for users to operate.
  • the file selection interface may include, but is not limited to, the file selection window shown in Figure 3 (B2 shown in Figure 3) and the information editing window (B1 shown in Figure 3).
  • the file selection window is used for the file to be shared. Selection of target files, such as file 1, file 2, etc.
  • the information editing window is used to add file description information to the selected target file to be shared, and the file description information is used to describe the file details of the target file.
  • the file description information can be the conversation message shown in Figure 3 (such as "Okay, I will send you now"), or it can be the information manually edited by the user according to actual needs, such as the actual content of the target file and the information of the target file.
  • the introduction, the motivation for sending the target file, and the sending time, etc. are not limited in this embodiment.
  • S13 Receive a first input for the file selection window and a second input for the information editing window.
  • the first input can be one or more target files selected by the user based on the file selection window (see Figure 3) and the identification information of each target file.
  • the target files can include picture files, audio and video files, and application files. At least one of a program and a project file, and the identification information may include at least one of a file name and a file thumbnail.
  • the second input can be the file description information that the user adds to the target file based on the information editing window, such as the conversation message: "Ok, I will send you now", another example, the user manually according to the actual information of the target file to be shared Edited information, etc., such as the actual content of the target file, the introduction of the target file, the motivation for sending the target file, and the sending time.
  • the process of associated display described in S15 can be implemented through S151 and S152, and the content is as follows.
  • S151 Generate a first message display window based on the identification information of the target file and the file description information.
  • the window display form of the first message display window is not limited in this embodiment.
  • the first message display window may include a first area for displaying identification information and a second area for displaying file description information.
  • the first message display window can be as shown in Figure 4(a), A1 represents the first area, the text in A1 is the identification information, A2 represents the second area, and the text in A2 is the file description information.
  • the first message display window can also be as shown in Figure 4(b), where A1 represents the first area, the text in A1 is identification information, A2 represents the second area, and the text in A2 is File description information.
  • the actual window form of the first message display window may be, but is not limited to those shown in FIG. 4(a) and FIG. 4(b).
  • the electronic device when the electronic device generates the first message display window, it may be generated according to a preset window generation rule, or may be generated according to a window real-time generation rule issued by the server, which is not limited in this embodiment.
  • S152 Display the first message display window on the chat interface in the form of a floating frame or a conversation.
  • the first message display window can be displayed on the chat interface in the form of a floating frame as shown in Figure 5(a), and the first message display window can also be displayed in the form of a conversation message as shown in Figure 5(b) In the chat interface.
  • multiple first message display windows can be displayed in a chat interface at the same time.
  • each first message display window can be arranged in chronological order. For example, the one with the earliest receiving time is displayed on the top layer, and the one with the latest receiving time is displayed on the bottom layer, etc., this embodiment does not impose limitations here.
  • the user information of the sending target file may be further displayed in the first message display window, such as the user's nickname, account information, remark information, etc.
  • the first message display window may further include a third area for displaying the file transfer status of the target file.
  • A3 in the first message display window represents the third area
  • the length of the solid line on the dashed circle represents the file transfer progress
  • the third area A3 can be used as the outer boundary of the first area A1.
  • the file transfer progress is indicated by the percentage displayed in A3.
  • the file transmission status displayed in the third area can be detected by the electronic device itself at a preset time interval, or can be obtained according to the file transmission progress of the target file fed back by the server, where the file transmission progress can also be the server During the transmission of the target file, it is detected and issued to the electronic device at a preset time interval.
  • the preset time interval may be 1 ms, 0.1 ms, and so on.
  • the information display method further includes: sending the target file carrying identification information and file description information to the server according to the first input and the second input, This allows the server to forward the received target file carrying identification information and file description information to other electronic devices serving as file receiving clients for associated display.
  • the electronic device serving as the file receiving client terminal performs the associated display of the target file, refer to the foregoing process, which is not limited in this embodiment.
  • the information display method may further include: if the file transfer status displayed in the first message display window is that the file transfer is not completed, the identification information or/and the first area are inoperable Status (for example, the first area or/and the identification information are grayed out, etc.). Conversely, if the file transfer status displayed in the first message display window is that the file transfer is complete, the identification information or/and the first area are in an operable state (such as a clickable state) to be used when the identification information or/ When operating with the user in the first area, execute the file download operation/file preview operation.
  • the information display method given in this embodiment can also Including S17 to S21, the content is as follows.
  • the second message display window described in S17 and S19 can be displayed in the chat interface in the form of a conversation message.
  • the second message display window can display the identification information of the target file and the file download button (such as 6(a ) In the "download") and the file-related information view button (such as "view original text” in 6(a)).
  • the second message about "File 1" can be displayed in the chat interface in the form of a conversation message Show window. Then, when the user needs to download the file 1, the file download button “download” can be clicked, so that the file receiving client sends a file download request to the server 20 to download the file according to the file download operation in response.
  • the second message display window may be as shown in Figure 6(a), still displaying the identification information of the file 1 and the file 2 and the file transmission status information.
  • FIG. 6(b) the display of the target file that has been transferred is cancelled, and this embodiment does not impose a limitation here.
  • the information display method given in the embodiment may further include: when the first message display window or/and the second message display window is displayed on the chat interface in the form of a floating frame, the electronic device may cancel the operation by responding to the window initiated by the user. Display of the first message display window or/and the second message display window.
  • the window cancel operation can be realized by sliding the first message display window or the second message display window to the left/up/down/right, or by clicking on the chat interface except the first message display window or the second message display window
  • the area outside the display area is implemented to cancel the cancellation of the first message display window or the second message display window, which is not limited in this embodiment.
  • the electronic device can also determine whether to cancel the display of the corresponding display window according to whether the window display time reaches a preset value, for example, when the display time of the first message display window exceeds a preset value (such as 1 minute, 5 minutes, etc.) To cancel its display.
  • the electronic device can also automatically cancel the display of the corresponding target file and/or the second message display window.
  • the electronic device can display the identification information and file description information of the target file on the chat interface in association through the first message display window, so that large-volume files, etc.
  • the display of the information is consistent with the display of the text information, so that the user can quickly and conveniently understand the relevant content of the target file according to the file description information and the identification information of the target file displayed in the first message display window, and improve the user experience.
  • FIG. 7 it is a schematic flowchart of the information display method given in the second embodiment.
  • the information display method can be executed by, but is not limited to, a server.
  • the information display method includes the following steps.
  • the target file carries identification information and file description information of the target file.
  • the target file, file description information, and identification information are obtained by the first electronic device according to an input operation on the chat interface. of.
  • the server serves as a transfer station for the transmission and reception of file information between the first electronic device (as a file sending client) and the second electronic device (as a file receiving client) in a communication session, and can communicate with the first electronic device
  • the sent target file that needs to be shared with the second electronic device is cached, and when the second electronic device needs to download or view the target file, the corresponding target file is sent to the second electronic device.
  • the transmission speed of the target file shared by the first electronic device to the second electronic device is slower than the text information (such as file identification information, etc.)
  • the text information such as file identification information, etc.
  • the server can first transfer the file transfer status,
  • the identification information and file description information are sent to the second electronic device as the file receiving client, so that the second electronic device associates and displays the received information through the first message display window or/and the second message display window, etc., so as to avoid
  • the second electronic device receives the target file, the user cannot quickly understand the file information due to the inconsistency between the large-volume file and the text information, thereby improving the poor user experience.
  • the information display method given in this embodiment may further include S35 and S37, and the content is as follows.
  • S35 Detect file transmission progress information of the target file sent by the first electronic device according to a preset time interval.
  • S37 Feed back the transmission progress information to the first electronic device and the second electronic device, so that the first electronic device and the second electronic device update the file transmission status of the target file according to the file transmission progress information.
  • the server detects the transmission progress of the target file in real time (that is, the upload progress of the target file from the first electronic device to the server), and synchronizes the detection result to the first electronic device as the file sending client.
  • the device and the second electronic device as the file receiving client ensure the consistency of the session message between the clients in the communication session and the accuracy of the file transmission state.
  • a possible application scenario of the information display method given in this embodiment may at least include the file sending client 10 and the server 20. And at least one file receiving client 30, the file sending client 10, server 20, and at least one file receiving client 30 can establish a communication session, so that users corresponding to each client can perform daily social interactions in the communication session, Sharing of conversational messages such as text, pictures, files, and videos.
  • the foregoing file sending client 10 and file receiving client 30 are the electronic devices in the foregoing embodiment, and the file sending client 10 and file receiving client 30 involved in FIG. 8 are in different conversation scenarios. Roles can be exchanged.
  • the file sending client 10 can serve as a client for sending shared files (ie, the target file given in this embodiment) or as a client for receiving shared files in a communication session.
  • the communication session involved in the following embodiment may be a group session or a personal session, etc., which is not limited in this embodiment.
  • the file sending client 10 displays the file selection interface based on the file sharing event occurred in the chat interface (as shown in 2 and Fig. 3).
  • the file sending client 10 is based on the target file selected in the file selection window, the identification information of the target file, and the file description information edited in the information editing window, and displays the identification information and file description information in the form of the first message display window. Perform the associated display (as shown in Figure 10). At the same time, the file sending client 10 sends the target file carrying identification information and file description information to the server 20.
  • the server 20 sends the identification information and file description information of the target file to the file receiving client 30 in the communication session. At the same time, the server 20 detects the file transmission progress of the target file at a preset time interval, and synchronously sends it to the file sending client 10 and the file receiving client 30.
  • the server 20 receives the target file, the file transmission progress can be detected, which is not limited to the execution sequence given in this embodiment.
  • the file receiving client 30 associates and displays the file transmission status, identification information, and file description information through the first message display window.
  • the file sending client 10 and the file receiving client 30 synchronously update the file transfer status displayed in the first message display window according to the file transfer progress received from the server 20.
  • the file sending client 10 and/or the file receiving client 30 displays the second message display window in the chat interface in the form of a conversation message.
  • the file receiving client 30 sends a file download request to the server 20 in response to the file download operation initiated by the user based on the file download button in the second message display window;
  • the file receiving client 30 responds to the information viewing operation initiated by the user based on the file associated information viewing button in the second message display window, and jumps from the current position of the chat interface to the position where the first message display window is displayed.
  • the server 20 When the server 20 receives the file download request sent by the file receiving client 30, it sends the target file corresponding to the file download request to the file receiving client 30.
  • the file sending client 10 and the file receiving client 30 synchronously display the information.
  • the target file is large, it needs to be uploaded for a period of time when uploading to the server 20. Therefore, the file transmission status (progress) can be displayed on the file sending client 10 and the file receiving client 30 in real time.
  • the identification information (such as the file thumbnail) on the file sending client 10 and the file receiving client 30 is displayed in an inoperable state (such as grayed out), indicating that the file is being uploaded and cannot be downloaded.
  • the dotted line shown in Figure 6(a) represents the progress that has not been uploaded
  • the solid line represents the progress that has been successfully uploaded.
  • the identification information displayed on the file sending client 10 and the file receiving client 30 can be changed into an operable state (such as a clickable state) for the user to perform Click.
  • Fig. 11 is a block diagram showing an information display device 40 applied to electronic equipment according to an exemplary embodiment.
  • the information display device 40 is applied to electronic equipment.
  • the device 40 includes an interface display module 401, an information input module 402, and an information display module 403.
  • the interface display module 401 is used to display a file selection interface based on file sharing events occurring in the chat interface.
  • the file selection interface includes a file selection window and an information editing window.
  • the file selection window is used to select the target file, and the information editing window is used to select the target file. Add file description information to the target file;
  • the information input module 402 is configured to receive the first input for the file selection window and the second input for the information editing window.
  • the information display module 403 is configured to display the file description information and the identification information of the target file in the chat interface according to the first input and the second input.
  • the target file includes at least one of a picture file, an audio and video file, an application program, and a project file
  • the identification information includes at least one of a file name and a file thumbnail.
  • the information display module 403 may include:
  • the window generating unit is configured to generate a first message display window based on the identification information of the target file and the file description information, wherein the first message display window includes a first area for displaying the identification of the target file and a display for displaying the file description information Second area
  • the window display unit is used to display the first message display window on the chat interface in the form of a floating frame or a conversation.
  • the device 40 may further include:
  • the file sending module is used to send the target file carrying identification information and file description information to the server according to the first input and the second input.
  • the first message display window also includes a third area for displaying the file transfer status of the target file, where the transfer status is obtained according to the file transfer progress information of the target file fed back by the server;
  • the device 40 may further include:
  • the second window display module is used to display a second message display window on the chat interface when the file transfer status indicates that the file transfer is complete.
  • the second message display window displays the identification information of the target file, the file download button and the file associated information view Button
  • the file download module is used to send a file download request to the server when a file download operation initiated based on the file download button is detected;
  • the information viewing module is used to jump from the current position of the chat interface to the position where the first message display window is displayed when the information viewing operation initiated based on the file-related information viewing button is detected.
  • the identification information or/and the third area are in an inoperable state; or, when the file transfer status is that the file transfer is complete, the identification information or/and the first area are in an inoperable state.
  • the operating state is used to perform a file download operation/file preview operation when the user operation for the identification information or/and the third area is obtained.
  • the electronic device can display the identification information and file description information of the target file on the chat interface in association through the first message display window, so that large-volume files, etc.
  • the display of the information is consistent with the display of the text information, so that the user can quickly and conveniently understand the relevant content of the target file according to the file description information and the identification information of the target file displayed in the first message display window, and improve the user experience.
  • Fig. 12 is a block diagram showing an information display device 50 applied to a server according to an exemplary embodiment. 12, the device 50 includes a file receiving module 501 and a file forwarding module 502.
  • the file receiving module 501 is configured to receive a target file sent by the first electronic device.
  • the target file carries identification information and file description information of the target file. Obtained by the input operation on the.
  • the file forwarding module 502 is configured to send the identification information and file description information of the target file to the second electronic device with the chat interface opened when the target file is not transferred, so that the second electronic device displays the file description information in the chat interface in association And the identification information of the target file.
  • the device 50 may further include:
  • the transmission progress detection module is configured to detect the file transmission progress information of the target file sent by the first electronic device according to a preset time interval when the target file is not completed.
  • the progress information forwarding module is configured to feed back the transmission progress information to the first electronic device and the second electronic device, so that the first electronic device and the second electronic device display the file transmission status of the target file according to the file transmission progress information.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, Processor 110 and power supply 111 and other components.
  • a radio frequency unit 101 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, Processor 110 and power supply 111 and other components.
  • 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 110 can be used to record the historical device identifier before the change when the device identifier of the electronic device is changed; send the historical device identifier and the current device identifier to the application server corresponding to the specified application, so that the application server can respond to the historical device
  • the identification and the current device identification are associated with each other.
  • the electronic device records the historical device identifier before the change, and then sends the historical device identifier and the current device identifier to the application server corresponding to the specified application, so that the application server associates the historical device identifier and the current device identifier, which can then be based on the association
  • the subsequent device identification accurately identifies the electronic device to obtain historical data of the application on the electronic device.
  • the radio frequency unit 101 may be used to send and receive information or receive and send signals during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 110; in addition, the uplink data is sent to the base station.
  • the radio frequency unit 101 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 101 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 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used to receive audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042.
  • the graphics processing unit 1041 is used to capture images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 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 101 for output in the case of a telephone call mode.
  • the electronic device 100 further includes at least one sensor 105, 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 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 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, tap), etc.; the sensor 105 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 106 is used to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 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 107 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 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 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 1071 or near the touch panel 1071. operate).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and 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 To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 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 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the electronic device, but in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device with the electronic device 100.
  • 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 108 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 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 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 109 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.
  • the processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 100 includes some functional modules not shown, which will not be repeated here.
  • the electronic device 100 given in this embodiment may be the structure of the electronic device involved in the first and fourth embodiments, or the server involved in the second and fifth embodiments. The structure of this embodiment is not limited here.
  • non-transitory computer-readable storage medium including instructions, such as a memory including instructions, which can be executed by a processor in an electronic device to complete the information display method described above.
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
  • a computer program product including at least one non-transitory computer-readable medium, storing instructions translatable by at least one processor for implementing the information display in the foregoing embodiment Device.

Abstract

本申请公开了一种信息显示方法、装置及电子设备,电子设备能够基于聊天界面中发生的文件分享事件,显示文件选取界面,该文件选取界面包括用于选取目标文件的文件选取窗口和用于对所述目标文件添加文件描述信息的信息编辑窗口;进而接收针对文件选取窗口的第一输入,以及针对信息编辑窗口的第二输入;根据第一输入和第二输入;最后,在聊天界面关联显示文件描述信息和目标文件的标识信息,以在信息显示过程中实现目标文件与文件描述信息之间的关联显示。

Description

信息显示方法、装置及电子设备
相关申请的交叉引用
本申请主张在2020年02月11日提交国家知识产权局、申请号为202010087776.7申请名称为“信息显示方法、装置及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种信息显示方法、装置及电子设备。
背景技术
随着互联网技术的发展,通信软件(应用)的使用越来越广泛,其中,用户不仅可以通过通信软件进行社交聊天,还可以进行图片、文件、视频等信息的分享。
但在相关技术中,由于网络或者通信软件自身原因的影响,用户在通过通信软件进行图片、文件、视频等大体积信息分享时,大体积信息的发送速度会比文字信息的发送速度慢很多,导致接收端在对接收到的文字信息和大体积信息进行显示时存在显示不一致的问题,尤其对于通讯会话中的群会话,当存在多份大体积信息需要显示时,一旦大体积信息与文字信息不一致,会使得用户需要仔细翻阅群会话中的多个会话消息,以了解大体积信息的传送原因等其他相关信息,导致用户体验差。
发明内容
本发明实施例提供了一种信息显示方法、装置及电子设备,能够解决群会话中相关联的信息分散显示的问题。
为了解决上述问题,本发明是这样实现的:
第一方面,本申请实施例提供一种信息显示方法,应用于电子设备,所述方法包括:
基于聊天界面中发生的文件分享事件,显示文件选取界面,其中,所述文件选取界面包括文件选取窗口和信息编辑窗口,所述文件选取窗口用于选取目标文件,所述信息编辑窗口用于对所述目标文件添加文件描述信息;
接收针对所述文件选取窗口的第一输入,以及针对所述信息编辑窗口的第二输入;
根据所述第一输入和所述第二输入,在所述聊天界面关联显示所述文件描述信息和所述目标文件的标识信息。
第二方面,本申请实施例还提供一种信息显示方法,应用于服务器,所述方法包括:
接收第一电子设备发送的目标文件,该目标文件中携带有所述目标文件的标识信息以及文件描述信息,所述目标文件、所述文件描述信息、所述标识信息是所述第一电子设备根据聊天界面上的输入操作获取的;
在所述目标文件未传输完成时,向开启有所述聊天界面的第二电子设备发送所述目标文件的标识信息以及所述文件描述信息,以使所述第二电子设备在所述聊天界面关联显示所述文件描述信息和所述目标文件的标识信息。
第三方面,本申请实施例还提供一种信息显示装置,应用于电子设备,所述装置包括:
界面显示模块,用于基于聊天界面中发生的文件分享事件,显示文件选取界面,其中,所述文件选取界面包括文件选取窗口和信息编辑窗口,所述文件选取窗口用于选取目标文件,所述信息编辑窗口用于对所述目标文件添加文件描述信息;
信息输入模块,用于接收针对所述文件选取窗口的第一输入,以及针对所述信息编辑窗口的第二输入;
信息显示模块,用于根据所述第一输入和所述第二输入,在所述聊天界面关联显示所述文件描述信息和所述目标文件的标识信息。
第四方面,本申请实施例还提供一种信息显示装置,应用于服务器,所述装置包括:
文件接收模块,用于接收第一电子设备发送的目标文件,该目标文件中携带有所述目标文件的标识信息以及文件描述信息,所述目标文件、所述文件描述信息、所述标识信息是所述第一电子设备根据聊天界面上的输入操作获取的;
文件转发模块,用于在所述目标文件未传输完成时,向开启有所述聊天界面的第二电子设备发送所述目标文件的标识信息以及所述文件描述信息,以使所述第二电子设备在所述聊天界面关联显示所述文件描述信息和所述目标文件的标识信息。
第五方面,本申请实施例还提供一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上述的信息显示方法的步骤。
第六方面,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如上所述的信息显示方法的步骤。
本申请实施例采用的上述至少一个技术方案能够达到以下有益效果:
在进行信息显示时,尤其是在对分享的大体积文件进行信息显示时,可通过第一消息展示窗口将目标文件的标识信息以及文件描述信息关联展示在聊天界面上,使得大体积文件等信息的显示与文字信息的显示保持一致,从而方便用户根据显示在第一消息展示窗口中的文件描述信息和目标文件的标识信息快速、方便的了解到目标文件的相关内容,改善用户体验。
附图说明
图1为根据一示例性实施例提供的信息显示方法的流程示意图;
图2为根据一示例性实施例提供的展示有信息编辑选项卡的聊天界面的界面示意图;
图3为根据一示例性实施例提供的文件选取界面示意图;
图4(a)为根据一示例性实施例提供的第一消息展示窗口的示意图;
图4(b)为根据另一示例性实施例提供的第一消息展示窗口的示意图;
图5(a)为根据一示例性实施例提供的展示有第一消息展示窗口的聊天界面的界面示意图;
图5(b)为根据另一示例性实施例提供的展示有第一消息展示窗口的聊天界的界 面示意图;
图6(a)为根据一示例性实施例提供的展示有第二消息展示窗口的聊天界面的界面示意图;
图6(b)为根据另一示例性实施例提供的展示有第二消息展示窗口的聊天界面的界面示意图;
图7为根据又一示例性实施例提供的信息显示方法的流程示意图;
图8为根据一示例性实施例提供的信息显示方法的应用场景示意图;
图9为根据一示例性实施例提供的信息显示方法的交互流程示意图;
图10为根据一示例性实施例提供的展示有第一消息展示窗口的聊天界面的界面示意图;
图11为根据一示例性实施例提供的信息显示装置的框图;
图12为根据另一示例性实施例提供的信息显示装置的框图;
图13为根据一示例性实施例提供的电子设备的框图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
以下结合附图,详细说明本申请各实施例提供的技术方案。
实施例一
如图1所示,为本申请实施例提供的信息显示方法的流程示意图,该信息显示方法可应用电子设备,如电脑、手机、IPAD等,具体可由,但不限于电子设备中的硬件或软件执行。此外,前述的应用本申请实施例给出的信息显示方法的电子设备可以是通讯会话中涉及的文件发送客户端,也可以是通讯会话中涉及的文件接收客户端,具体可根据实际通讯场景灵活确定,本实施例对此不做限制。请参照图1,信息显示方法可以包括如下步骤。
S11,基于聊天界面中发生的文件分享事件,显示文件选取界面,其中,文件选取界面可以包括文件选取窗口和信息编辑窗口,文件选取窗口用于选取目标文件,信息编辑窗口用于对目标文件添加文件描述信息。
可选地,文件分享事件可以是,但不限于用户基于聊天界面(如通讯会话过程中的信息显示界面)中的会话消息发起的。例如,作为一种可能的实现方式,S11可以通过S110和S111实现。
S110,在响应到用户基于聊天界面中的会话消息发起的信息编辑操作时,展示信息编辑选项卡,该信息编辑选项卡中可包括文件分享选项。
例如,当用户基于图2所示的“好的,我现在发你”这一会话消息发起信息编辑操作(如长按或者右击等)时,可弹出如图2所示的信息编辑选项卡,该信息编辑选项卡中可显示,但不限于“附加大文件”这一文件分享选项供用户操作。
S111,在响应到用户基于文件分享选项发起的文件分享操作时,展示文件选取界面。
其中,文件选取界面可以包括,但不限于图3所示的文件选取窗口(图3中所示的B2)和信息编辑窗口(图3中所示的B1),文件选取窗口用于待分享的目标文件的选取,如文件1、文件2等。信息编辑窗口用于向选中的待分享的目标文件添加文件描述信息,该文件描述信息用于对目标文件进行文件详情说明。其中,文件描述信息可以是图3中所示的会话消息(如“好的,我现在发你”),也可以是用户根据实际需求手动编辑的信息,如目标文件的实际内容、目标文件的简介、发送目标文件的动机及发送时间等,本实施例对此不做限制。
需要注意的是,图2和图3中给出的信息编辑选项卡以及文件选取界面仅是一种可能的实现方式,实际实施时,可根据需求进行灵活设定。
S13,接收针对文件选取窗口的第一输入,以及针对信息编辑窗口的第二输入。
可以理解的是,第一输入可以为用户基于文件选取窗口选取的一个或多个目标文件(参阅图3)以及各目标文件的标识信息,其中,目标文件可以包括图片文件、音视频文件、应用程序、工程文件中的至少一种,标识信息可以包括文件名称、文件缩略图中的至少一个。
另外,第二输入可以为用户基于信息编辑窗口为目标文件添加的文件描述信息,如会话消息:“好的,我现在发你”,又如,用户根据待分享的目标文件的实际信息进行手动编辑得到信息等,如目标文件的实际内容、目标文件的简介、发送目标文件的动机及发送时间等。
S15,根据第一输入和第二输入,在聊天界面关联显示文件描述信息和目标文件的标识信息。
其中,在聊天界面中关联显示文件描述信息和目标文件的标识信息的方式可以有多种。例如,在一些实现方式中,S15中所述的关联显示的过程可通过S151和S152实现,内容如下。
S151,基于目标文件的标识信息以及文件描述信息生成第一消息展示窗口。
其中,由于第一消息展示窗口用于对目标文件的相关信息进行关联展示,以改善用户体验,因此,只要能够实现关联展示,第一消息展示窗口的窗口展示形式本实施例不做限制。例如,第一消息展示窗口可以包括用于展示标识信息的第一区域以及用于展示文件描述信息的第二区域。
作为一种可能的实现方式,第一消息展示窗口可以如图4(a)所示,A1代表第一区域,A1中的文字为标识信息,A2代表第二区域,A2中的文字为文件描述信息。
作为另一种可能的实现方式,第一消息展示窗口还可以如图4(b)所示,A1代表第一区域,A1中的文字为标识信息,A2代表第二区域,A2中的文字为文件描述信息。
应注意,第一消息展示窗口的实际窗口形式可以为,但不限于图4(a)、图4(b)所示。另外,电子设备在生成第一消息展示窗口时,可以根据预设的窗口生成规则生成,也可以根据服务器下发的窗口实时生成规则生成,本实施例在此不做限制。
S152,将第一消息展示窗口以悬浮框形式或者会话形式展示在聊天界面。
其中,可以如图5(a)所示将第一消息展示窗口以悬浮框的形式展示在聊天界面,也还可以如图5(b)所示将第一消息展示窗口以会话消息的形式展示在聊天界面。实际实施时,一个聊天界面中可同时展示有多个第一消息展示窗口,当多个第一消息展示窗口均是以悬浮框的形式展示时,各个第一消息展示窗口可按时间顺序排列,如接收时间最早的展示在最顶层、接收时间最晚的展示在最底层等,本实施例在此不做限制。
此外,如果以悬浮框的形式对第一消息展示窗口进行展示,那么,由于第一消息展示窗口与发送该第一消息展示窗口的用户之间并无对应关系,因此,为了其他用户快速了解发送该第一消息展示窗口的用户是谁,在一些实现方式中,可在第一消息展示窗口中进一步展示发送目标文件的用户信息,如用户的昵称、账号信息、备注信息等。
进一步,由于文件传输状态作为文件显示过程中的相关信息,以用于指示目标文件的文件传输进度,(如目标文件由文件发送客户端上传至服务器的传输进度等),因此,为了使得用户能够准确了解文件传输状态,以对目标文件执行预览、下载等操作。请再次参阅图4(a)和图4(b),第一消息展示窗口还可包括用于展示目标文件的文件传输状态的第三区域。例如,图4(a)中,第一消息展示窗口中的A3表示第三区域,以虚线圈上的实线长短代表文件传输进度,且第三区域A3可作为第一区域A1的外围边界。又例如,图4(b)中,是通过展示在A3中的百分比指示文件传输进度。可以理解的是,前述给出的两种方式仅为示意,实际实施时可灵活设计。
实际实施时,第三区域中展示的文件传输状态可以是电子设备自身按照预设时间间隔检测得到,也可以是根据服务器反馈的目标文件的文件传输进度得到,其中,文件传输进度也可以是服务器在目标文件传输过程中,按照预设时间间隔检测并下发给电子设备的。可选地,预设时间间隔可以是1ms、0.1ms等。
应注意,当文件传输状态是根据服务器反馈的目标文件的文件传输进度得到时,信息显示方法还包括:根据第一输入和第二输入发送携带有标识信息和文件描述信息的目标文件给服务器,以使得服务器将接收到携带有标识信息和文件描述信息的目标文件转发给其他作为文件接收客户端的电子设备进行关联展示。其中,关于作为文件接收客户端端的电子设备在进行目标文件的关联显示时的信息显示过程可参照前述过程,本实施例在此不做限制。
进一步,在一些实现方式中,为了改善用户体验,信息显示方法还可以包括:如果第一消息展示窗口中展示的文件传输状态为文件传输未完成时,标识信息或/和第一区域处于不可操作状态(如第一区域或/和标识信息均置灰等)。反之,如果第一消息展示窗口中展示的文件传输状态为文件传输完成时,标识信息或/和第一区域处于可操作状态(如可点击状态),以用于在获取到针对标识信息或/和第一区域的用户操作时,执行文件下载操作/文件预览操作。
基于前述描述,在目标文件传输完成后,为了提示用户文件已发送完成,并可进行文件下载、文件信息查看等操作,作为一种可能的实现方式,本实施例给出的信息显示方法还可包括S17至S21,内容如下。
S17,在文件传输状态表征文件传输完成时,在聊天界面展示第二消息展示窗口,第二消息展示窗口中展示有目标文件的标识信息、文件下载按钮以及文件关联信息查看按钮。
S19,在检测到基于文件下载按钮发起的文件下载操作时,向服务器发送文件下载请求。
其中,前述S17和S19中所述的第二消息展示窗口可以以会话消息的形式在聊天界面中展示,第二消息展示窗口中可展示有目标文件的标识信息、文件下载按钮(如6(a)中的“下载”)以及文件关联信息查看按钮(如6(a)中的“查看原文”)。
S21,在检测基于文件关联信息查看按钮的发起的信息查看操作时,由聊天界面的当前位置跳转至显示有第一消息展示窗口的位置。
其中,请再次结合参阅图6(a),假设标识信息为“文件1”的目标文件的传输状态为传输完成,可以以会话消息的形式在聊天界面中展示关于“文件1”的第二消息展示窗口。那么,当用户需要下载文件1时,可通过点击“下载”这一文件下载按钮,使得文件接收客户端根据响应到的文件下载操作向服务器20发送文件下载请求进行文件下载。
或者,当用户需要查看“文件1”的文件描述信息时,可通过点击“查看原文”这一文件关联信息查看按钮,使得文件接收客户端根据响应到的信息查看操作从聊天界面的当前位置跳转至显示有第一消息展示窗口的位置,或者如图6(a)所示在当前位置显示文件描述信息等。
应注意的是,当目标文件的传输状态为传输完成时,第二消息展示窗口可以如图6(a)所示,仍然显示有文件1和文件2的标识信息和文件传输状态信息,还可以如图6(b)所示,取消对已完成传输的目标文件的显示,本实施例在此不做限制。
进一步,为了在信息显示过程中,避免第一消息展示窗口和/或第二消息窗口的悬浮展示对聊天界面上的其他信息造成遮挡等影响,对此,作为又一种可能的实现方式,本实施例中给出的信息显示方法还可包括:在第一消息展示窗口或/和第二消息展示窗口以悬浮框形式展示在聊天界面时,电子设备可通过响应用户发起的窗口取消操作,取消对第一消息展示窗口或/和第二消息展示窗口的展示。
其中,窗口取消操作可以是将第一消息展示窗口或第二消息展示窗口向左/上/下/右滑动实现,还可以是通过点击聊天界面中除第一消息展示窗口或第二消息展示窗口的展示区域之外的区域实现,以取消对第一消息展示窗口或第二消息展示窗口的取消,本实施例在此不做限制。此外,电子设备还可以根据窗口展示时长是否达到预设值来确定是否取消对应展示窗口的展示,例如,当第一消息展示窗口的展示时长超过预设值(如1分钟、5分钟等)时,取消对其展示。
应注意,在一些实现方式中,当用户发起第一消息展示窗口取消操作时,可判定用户不再接收与该第一消息展示窗口对应的目标文件,那么在取消对第一消息展示窗口的展示的同时,电子设备还可自动取消对对应的目标文件和/或第二消息展示窗口的展示等。
进一步,通过对上述信息显示方法的描述可以看出,本实施例至少具有以下技术效果:
在进行信息显示时,尤其是对分享的大体积文件的信息显示时,电子设备可通过第一消息展示窗口将目标文件的标识信息以及文件描述信息关联展示在聊天界面上,使得大体积文件等信息的显示与文字信息的显示保持一致,从而方便用户根据显示在第一消息展示窗口中的文件描述信息和目标文件的标识信息快速、方便的了解到目标文件的相关内容, 改善用户体验。
实施例二
如图7所示,为本实施例二给出的信息显示方法的流程示意图,该信息显示方法可以由,但不限于服务器执行。参照图7,信息显示方法包括以下步骤。
S31,接收第一电子设备发送的目标文件,该目标文件中携带有目标文件的标识信息以及文件描述信息,目标文件、文件描述信息、标识信息是第一电子设备根据聊天界面上的输入操作获取的。
S33,在目标文件未传输完成时,向开启有聊天界面的第二电子设备发送目标文件的标识信息以及文件描述信息,以使第二电子设备在聊天界面关联显示文件描述信息和目标文件的标识信息。
可以理解的是,服务器作为通讯会话中的第一电子设备(作为文件发送客户端)与第二电子设备(作为文件接收客户端)之间进行文件信息收发的中转站,可对第一电子设备发送的需要分享给第二电子设备的目标文件进行缓存,并在第二电子设备需要下载或查看目标文件时,再将对应的目标文件发送给第二电子设备。
实际实施时,由于网络或者通信软件自身的原因的影响,在大体积信息分享时,由第一电子设备分享给第二电子设备的目标文件的传输速度慢于文字信息(如文件标识信息等)的传输速度,导致大体积文件在进行传输时,可能存在目标文件与对应的文字信息之间传输、显示不同步的问题发生,因此,在文件上传未完成时,服务器可先将文件传输状态、标识信息以及文件描述信息发送给作为文件接收客户端的第二电子设备,使得第二电子设备将接收到的信息通过第一消息展示窗口或/和第二消息展示窗口等方式进行关联展示,以避免第二电子设备在接收到目标文件时,由于大体积文件与文字信息不一致而出现的用户无法快速了解文件信息的问题,进而改善了用户体验差。
进一步,作为一种可能的实现方式,在目标文件未传输完成时,本实施例给出的信息显示方法还可包括S35和S37,内容如下。
S35,按照预设时间间隔检测由第一电子设备发送的目标文件的文件传输进度信息。
S37,将传输进度信息反馈给第一电子设备和第二电子设备,使得第一电子设备和第二电子设备根据文件传输进度信息对目标文件的文件传输状态进行更新。
在S35和S37给出的方法中,通过服务器实时检测目标文件的传输进度(即目标文件由第一电子设备上传至服务器的上传进度),并将检测结果同步给作为文件发送客户端的第一电子设备以及作为文件接收客户端的第二电子设备,确保了通讯会话中的各客户端之间的会话消息的一致性和文件传输状态的准确性。
实施例三
基于前述实施例一和实施例二的描述,如图8所示,为本实施例给出的信息显示方法的一种可能的应用场景,该应用场景至少可以包括文件发送客户端10、服务器20和至少一个文件接收客户端30,该文件发送客户端10、服务器20和至少一个文件接收客户端30之间可以建立通讯会话,以使得各客户端对应的用户能在通讯会话中进行日常社交,如文 字、图片、文件、视频等会话消息的分享。
应注意的是,前述的文件发送客户端10和文件接收客户端30即前述实施例中的电子设备,且图8中涉及的文件发送客户端10和文件接收客户端30在不同的会话场景下可以进行角色互换,如文件发送客户端10在通讯会话中既可以作为进行分享文件(即本实施例中所给出的目标文件)发送的客户端,也可以作为接收分享文件的客户端。另外,下述实施例中涉及的通讯会话可以是群会话,也可以是个人会话等,本实施例在此不做限制。
下面结合图9,对应用于图8所示的应用场景中的信息显示方法的交互过程进行简要说明,内容如下。
(1)文件发送客户端10基于聊天界面中发生的文件分享事件,展示文件选取界面(如2、图3所示)。
(2)文件发送客户端10基于文件选取窗口中选中的目标文件、目标文件的标识信息以及信息编辑窗口中编辑的文件描述信息,并以第一消息展示窗口的形式对标识信息、文件描述信息进行关联显示(如图10所示)。同时,文件发送客户端10发送携带标识信息、文件描述信息的目标文件给服务器20。
(3)在目标文件未上传完成时,服务器20向通讯会话中的文件接收客户端30发送目标文件的标识信息以及文件描述信息。同时,服务器20按照预设时间间隔检测目标文件的文件传输进度,并同步发送给文件发送客户端10和文件接收客户端30。
应注意,在服务器20接收到目标文件时,便可进行文件传输进度的检测,不限于本实施例给出的执行顺序。
(4)文件接收客户端30通过第一消息展示窗口的方式对文件传输状态、标识信息以及文件描述信息进行关联展示。
(5)在目标文件上传过程中,文件发送客户端10和文件接收客户端30根据接收到服务器20发送的文件传输进度对展示于第一消息展示窗口中的文件传输状态进行同步更新。
(6)在第一消息展示窗口中的文件传输状态为文件传输完成时,文件发送客户端10和/或文件接收客户端30以会话消息的形式在聊天界面中展示第二消息展示窗口。
(7)文件接收客户端30响应用户基于第二消息展示窗口中的文件下载按钮发起的文件下载操作,向服务器20发送文件下载请求;或者
文件接收客户端30响应用户基于第二消息展示窗口中的文件关联信息查看按钮的发起的信息查看操作,由聊天界面的当前位置跳转至显示有第一消息展示窗口的位置。
(8)服务器20在接收到文件接收客户端30发送的文件下载请求时,发送与该文件下载请求对应的目标文件给文件接收客户端30。
其中,在上述(1)至(8)中,目标文件以及标识信息、文件描述信息被发送后,文件发送客户端10及文件接收客户端30同步进行信息显示。但由于目标文件较大使得在上传至服务器20时需要上传一段时间,因此,可在文件发送客户端10及文件接收客户端30上实时显示文件传输状态(进度)。
当目标文件未成功上传至服务器20时,文件发送客户端10及文件接收客户端30上的标识信息(如文件缩略图)以不可操作状态(如置灰)显示,表示文件正在上传不可下载,例如,图6(a)中所示的虚线表示未上传的进度,实线表示已经上传成功的进度。
当目标文件成功上传至服务器20后,文件发送客户端10及文件接收客户端30上的显示的标识信息(如文件缩略图)可变为可操作状态(如可点击状态),以供用户进行点击。
应注意,关于上述(1)至(8)给出的交互流程的详细内容可参照前述实施例一或/和实施例二中的详细描述,本实施例在此不再赘述。另外,上述(1)至(8)为本实施例给出的信息显示方法的一种可能的实现方式,实际实施时,可根据需求增加、减少或调整前述流程中的部分步骤。
实施例四
图11是根据一示例性实施例示出的一种应用于电子设备的信息显示装置40框图。该信息显示装置40应用于电子设备,参照图11,装置40包括界面显示模块401、信息输入模块402和信息显示模块403。
界面显示模块401,用于基于聊天界面中发生的文件分享事件,显示文件选取界面,其中,文件选取界面包括文件选取窗口和信息编辑窗口,文件选取窗口用于选取目标文件,信息编辑窗口用于对目标文件添加文件描述信息;
信息输入模块402,用于接收针对文件选取窗口的第一输入,以及针对信息编辑窗口的第二输入。
信息显示模块403,用于根据第一输入和第二输入,在聊天界面关联显示文件描述信息和目标文件的标识信息。可选地,目标文件包括图片文件、音视频文件、应用程序、工程文件中的至少一种,标识信息包括文件名称、文件缩略图中的至少一个。
作为一种可能的实现方式,信息显示模块403可以包括:
窗口生成单元,用于基于目标文件的标识信息以及文件描述信息生成第一消息展示窗口,其中,第一消息展示窗口包括用于展示目标文件的标识的第一区域以及用于展示文件描述信息的第二区域;
窗口展示单元,用于将第一消息展示窗口以悬浮框形式或者会话形式展示在聊天界面。
进一步,装置40还可包括:
文件发送模块,用于根据第一输入和第二输入发送携带有标识信息和文件描述信息的目标文件给服务器。
第一消息展示窗口还包括用于展示目标文件的文件传输状态的第三区域,其中,传输状态是根据服务器反馈的目标文件的文件传输进度信息得到;
进一步,装置40还可包括:
第二窗口展示模块,用于在文件传输状态表征文件传输完成时,在聊天界面展示第二消息展示窗口,第二消息展示窗口中展示有目标文件的标识信息、文件下载按钮以及文件关联信息查看按钮;
文件下载模块,用于在检测到基于文件下载按钮发起的文件下载操作时,向服务器发送文件下载请求;
信息查看模块,用于在检测基于文件关联信息查看按钮的发起的信息查看操作时,由聊天界面的当前位置跳转至显示有第一消息展示窗口的位置。
可选地,在文件传输状态为文件传输未完成时,标识信息或/和第三区域处于不可操作状态;或者,在文件传输状态为文件传输完成时,标识信息或/和第一区域处于可操作状态,以用于在获取到针对标识信息或/和第三区域的用户操作时,执行文件下载操作/文件预览操作。
关于上述实施例中的装置40,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
通过对本实施例给出的信息显示装置40的描述可以看出,本实施例给出的技术方案至少具有以下技术效果:
在进行信息显示时,尤其是对分享的大体积文件的信息显示时,电子设备可通过第一消息展示窗口将目标文件的标识信息以及文件描述信息关联展示在聊天界面上,使得大体积文件等信息的显示与文字信息的显示保持一致,从而方便用户根据显示在第一消息展示窗口中的文件描述信息和目标文件的标识信息快速、方便的了解到目标文件的相关内容,改善用户体验。
实施例五
图12是根据一示例性实施例示出的一种应用于服务器的信息显示装置50框图。参照图12,装置50包括文件接收模块501和文件转发模块502。
文件接收模块501,用于接收第一电子设备发送的目标文件,该目标文件中携带有目标文件的标识信息以及文件描述信息,目标文件、文件描述信息、标识信息是第一电子设备根据聊天界面上的输入操作获取的。
文件转发模块502,用于在目标文件未传输完成时,向开启有聊天界面的第二电子设备发送目标文件的标识信息以及文件描述信息,以使第二电子设备在聊天界面关联显示文件描述信息和目标文件的标识信息。
进一步,装置50还可包括:
传输进度检测模块,用于在目标文件未传输完成时,按照预设时间间隔检测由第一电子设备发送的目标文件的文件传输进度信息。
进度信息转发模块,用于将传输进度信息反馈给第一电子设备和第二电子设备,使得第一电子设备和第二电子设备根据文件传输进度信息对目标文件的文件传输状态进行展示。
关于上述实施例中的装置50,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
实施例六
请参阅图13,该电子设备100包括但不限于:射频单元101、网络模块102、音频输 出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110以及电源111等部件。本领域技术人员可以理解,图13中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本申请实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,处理器110,可用于在电子设备的设备标识发生变更时,记录变更前的历史设备标识;将历史设备标识以及当前设备标识发送给指定应用程序对应的应用服务器,使得应用服务器对历史设备标识以及当前设备标识进行关联处理。
处理器通过实施前述过程,能够达到以下技术效果:
电子设备对变更前的历史设备标识进行记录,进而将历史设备标识与当前设备标识发送给指定应用程序对应的应用服务器,使得应用服务器对历史设备标识以及当前设备标识进行关联处理,进而可基于关联后的设备标识准确识别电子设备,以获取电子设备上的应用历史数据。
应理解的是,本申请实施例中,射频单元101可用于收发信息或通话过程中信号的接收和发送。具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。
电子设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(graphics processing unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、 敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板1061。
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图13中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备的输入和输出功能,具体此处不做限定。
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器110是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器 主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
电子设备100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。此外,应注意的是,本实施例中给出的电子设备100可以是前述实施例一、实施例四中涉及的电子设备的结构,也可以是前述实施例二、实施例五中涉及的服务器的结构,本实施例在此不做限制。
实施例七
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器,上述指令可由电子设备中的处理器执行以完成上述信息显示方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
实施例八
在示例性实施例中,还提供了一种计算机程序产品,包括至少一种非临时性的计算机可读介质,存储由至少一个处理器可翻译的指令,用于实施前述实施例中的信息显示装置。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (18)

  1. 一种信息显示方法,所述方法包括:
    基于聊天界面中发生的文件分享事件,电子设备显示文件选取界面,其中,所述文件选取界面包括文件选取窗口和信息编辑窗口,所述文件选取窗口用于选取目标文件,所述信息编辑窗口用于对所述目标文件添加文件描述信息;
    接收针对所述文件选取窗口的第一输入,以及针对所述信息编辑窗口的第二输入;
    根据所述第一输入和所述第二输入,在所述聊天界面关联显示所述文件描述信息和所述目标文件的标识信息。
  2. 根据权利要求1所述的方法,其中,所述根据所述第一输入和所述第二输入,在所述聊天界面关联显示所述文件描述信息和所述目标文件的标识信息的步骤,包括:
    基于所述目标文件的标识信息以及所述文件描述信息生成第一消息展示窗口,其中,所述第一消息展示窗口包括用于展示所述目标文件的标识的第一区域以及用于展示所述文件描述信息的第二区域;
    将所述第一消息展示窗口以悬浮框形式或者会话形式展示在所述聊天界面。
  3. 根据权利要求2所述的方法,其中,所述根据所述第一输入和所述第二输入,在所述聊天界面关联显示所述文件描述信息和所述目标文件的标识信息的步骤之前,所述方法还包括:
    根据所述第一输入和所述第二输入发送携带有所述标识信息和所述文件描述信息的目标文件给服务器。
  4. 根据权利要求3所述的方法,其中,所述第一消息展示窗口还包括用于展示所述目标文件的文件传输状态的第三区域,其中,所述文件传输状态是根据所述服务器反馈的所述目标文件的文件传输进度信息得到;
    所述方法还包括:
    在所述文件传输状态表征文件传输完成时,在所述聊天界面展示第二消息展示窗口,所述第二消息展示窗口中展示有所述目标文件的标识信息、文件下载按钮以及文件关联信息查看按钮;
    在检测到基于所述文件下载按钮发起的文件下载操作时,向所述服务器发送文件下载请求;
    在检测基于所述文件关联信息查看按钮的发起的信息查看操作时,由所述聊天界面的当前位置跳转至显示有所述第一消息展示窗口的位置。
  5. 根据权利要求4所述的方法,其中,在所述文件传输状态为文件传输未完成时,所述标识信息或/和所述第三区域处于不可操作状态;
    在所述文件传输状态为文件传输完成时,所述标识信息或/和所述第一区域处于可操作状态,以用于在获取到针对所述标识信息或/和所述第三区域的用户操作时,执行文件下载操作/文件预览操作。
  6. 一种信息显示方法,所述方法包括:
    接收第一电子设备发送的目标文件,该目标文件中携带有所述目标文件的标识信息以及文件描述信息,所述目标文件、所述文件描述信息、所述标识信息是所述第一电子设备根据聊天界面上的输入操作获取的;
    在所述目标文件未传输完成时,服务器向开启有所述聊天界面的第二电子设备发送所述目标文件的标识信息以及所述文件描述信息,以使所述第二电子设备在所述聊天界面关联显示所述文件描述信息和所述目标文件的标识信息。
  7. 根据权利要求6所述的方法,其中,在所述目标文件未传输完成时,所述方法还包括:
    按照预设时间间隔检测由所述第一电子设备发送的所述目标文件的文件传输进度信息;
    将所述传输进度信息反馈给所述第一电子设备和所述第二电子设备,使得所述第一电子设备和所述第二电子设备根据所述文件传输进度信息对所述目标文件的文件传输状态进行更新。
  8. 一种信息显示装置,其中,应用于电子设备,所述装置包括:
    界面显示模块,用于基于聊天界面中发生的文件分享事件,显示文件选取界面,其中,所述文件选取界面包括文件选取窗口和信息编辑窗口,所述文件选取窗口用于选取目标文件,所述信息编辑窗口用于对所述目标文件添加文件描述信息;
    信息输入模块,用于接收针对所述文件选取窗口的第一输入,以及针对所述信息编辑窗口的第二输入;
    信息显示模块,用于根据所述第一输入和所述第二输入,在所述聊天界面关联显示所述文件描述信息和所述目标文件的标识信息。
  9. 根据权利要求8所述的装置,其中,所述信息显示模块包括:
    窗口生成单元,用于基于所述目标文件的标识信息以及所述文件描述信息生成第一消息展示窗口,其中,所述第一消息展示窗口包括用于展示所述目标文件的标识的第一区域以及用于展示所述文件描述信息的第二区域;
    窗口展示单元,用于将所述第一消息展示窗口以悬浮框形式或者会话形式展示在所述聊天界面。
  10. 根据权利要求9所述的装置,其中,所述装置还包括:
    文件发送模块,用于根据所述第一输入和所述第二输入发送携带有所述标识信息和所述文件描述信息的目标文件给服务器。
  11. 根据权利要求10所述的装置,其中,所述第一消息展示窗口还包括用于展示所述目标文件的文件传输状态的第三区域,其中,所述文件传输状态是根据所述服务器反馈的所述目标文件的文件传输进度信息得到;
    所述装置还包括:
    第二窗口展示模块,用于在所述文件传输状态表征文件传输完成时,在所述聊天界面展示第二消息展示窗口,所述第二消息展示窗口中展示有所述目标文件的标识信息、文件下载按钮以及文件关联信息查看按钮;
    文件下载模块,用于在检测到基于所述文件下载按钮发起的文件下载操作时,向所述服务器发送文件下载请求;
    信息查看模块,用于在检测基于所述文件关联信息查看按钮的发起的信息查看操作时,由所述聊天界面的当前位置跳转至显示有所述第一消息展示窗口的位置。
  12. 根据权利要求11所述的装置,其中,在所述文件传输状态为文件传输未完成 时,所述标识信息或/和所述第三区域处于不可操作状态;
    在所述文件传输状态为文件传输完成时,所述标识信息或/和所述第一区域处于可操作状态,以用于在获取到针对所述标识信息或/和所述第三区域的用户操作时,执行文件下载操作/文件预览操作。
  13. 一种信息显示装置,应用于服务器,所述装置包括:
    文件接收模块,用于接收第一电子设备发送的目标文件,该目标文件中携带有所述目标文件的标识信息以及文件描述信息,所述目标文件、所述文件描述信息、所述标识信息是所述第一电子设备根据聊天界面上的输入操作获取的;
    文件转发模块,用于在所述目标文件未传输完成时,向开启有所述聊天界面的第二电子设备发送所述目标文件的标识信息以及所述文件描述信息,以使所述第二电子设备在所述聊天界面关联显示所述文件描述信息和所述目标文件的标识信息。
  14. 根据权利要求13所述的装置,其中,所述装置还包括:
    传输进度检测模块,用于在所述目标文件未传输完成时,按照预设时间间隔检测由所述第一电子设备发送的所述目标文件的文件传输进度信息;
    进度信息转发模块,用于将所述传输进度信息反馈给所述第一电子设备和所述第二电子设备,使得所述第一电子设备和所述第二电子设备根据所述文件传输进度信息对所述目标文件的文件传输状态进行更新。
  15. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至7中任一项所述的信息显示方法的步骤。
  16. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述的信息显示方法的步骤。
  17. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至7中任一项所述的信息显示方法。
  18. 一种电子设备,包括所述电子设备被配置成用于执行如权利要求1至7中任一项所述的信息显示方法。
PCT/CN2021/074917 2020-02-11 2021-02-02 信息显示方法、装置及电子设备 WO2021159998A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010087776.7A CN111309218A (zh) 2020-02-11 2020-02-11 信息显示方法、装置及电子设备
CN202010087776.7 2020-02-11

Publications (1)

Publication Number Publication Date
WO2021159998A1 true WO2021159998A1 (zh) 2021-08-19

Family

ID=71159221

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/074917 WO2021159998A1 (zh) 2020-02-11 2021-02-02 信息显示方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN111309218A (zh)
WO (1) WO2021159998A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721809A (zh) * 2021-09-08 2021-11-30 遨博(江苏)机器人有限公司 一种窗口展示方法及系统
CN113852540A (zh) * 2021-09-24 2021-12-28 维沃移动通信有限公司 信息发送方法、信息发送装置和电子设备
CN114089892A (zh) * 2021-11-25 2022-02-25 上海豪承信息技术有限公司 设备调试方法、装置及电子设备
CN114500431A (zh) * 2022-02-18 2022-05-13 武汉夜莺科技有限公司 项目处理方法、装置和电子设备
CN114928583A (zh) * 2022-04-13 2022-08-19 广西宏廷智能科技有限公司 一种数据信息的通讯方法及系统
CN114500431B (zh) * 2022-02-18 2024-04-26 武汉夜莺科技有限公司 项目处理方法、装置和电子设备

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309218A (zh) * 2020-02-11 2020-06-19 维沃移动通信有限公司 信息显示方法、装置及电子设备
CN111930278B (zh) * 2020-07-08 2022-06-10 京东方科技集团股份有限公司 智能交互设备、智能交互方法和存储介质
CN112187626B (zh) * 2020-09-30 2023-04-07 维沃移动通信(杭州)有限公司 文件处理方法、装置及电子设备
CN112333084B (zh) * 2020-10-30 2022-02-08 维沃移动通信有限公司 文件发送方法、装置及电子设备
CN114844851A (zh) * 2022-05-07 2022-08-02 广东有线广播电视网络有限公司 信息显示方法、装置、计算机设备和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348701A (zh) * 2013-07-31 2015-02-11 腾讯科技(深圳)有限公司 一种在即时通信工具中进行文件传输的方法及装置
CN109815200A (zh) * 2019-01-14 2019-05-28 腾讯科技(深圳)有限公司 一种文件分享方法、装置及存储介质
US20200026783A1 (en) * 2018-07-20 2020-01-23 Slack Technologies, Inc. Group-based communication interface with subsidiary file communications
CN111309218A (zh) * 2020-02-11 2020-06-19 维沃移动通信有限公司 信息显示方法、装置及电子设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8849819B2 (en) * 2011-08-05 2014-09-30 Deacon Johnson System and method for controlling and organizing metadata associated with on-line content
CN103259913B (zh) * 2012-02-17 2016-04-13 百度在线网络技术(北京)有限公司 用于移动终端的彩信编辑方法、装置及移动终端
CN102929483B (zh) * 2012-10-25 2017-07-14 东莞宇龙通信科技有限公司 终端和资源分享方法
CN105991398A (zh) * 2015-02-04 2016-10-05 阿里巴巴集团控股有限公司 一种即时通信im聊天记录的保存方法及装置
CN106021398A (zh) * 2016-05-12 2016-10-12 网易(杭州)网络有限公司 一种发布信息的方法和装置
CN110321044A (zh) * 2019-04-25 2019-10-11 维沃移动通信有限公司 文件分享方法及终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348701A (zh) * 2013-07-31 2015-02-11 腾讯科技(深圳)有限公司 一种在即时通信工具中进行文件传输的方法及装置
US20200026783A1 (en) * 2018-07-20 2020-01-23 Slack Technologies, Inc. Group-based communication interface with subsidiary file communications
CN109815200A (zh) * 2019-01-14 2019-05-28 腾讯科技(深圳)有限公司 一种文件分享方法、装置及存储介质
CN111309218A (zh) * 2020-02-11 2020-06-19 维沃移动通信有限公司 信息显示方法、装置及电子设备

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721809A (zh) * 2021-09-08 2021-11-30 遨博(江苏)机器人有限公司 一种窗口展示方法及系统
CN113721809B (zh) * 2021-09-08 2023-07-04 遨博(江苏)机器人有限公司 一种窗口展示方法及系统
CN113852540A (zh) * 2021-09-24 2021-12-28 维沃移动通信有限公司 信息发送方法、信息发送装置和电子设备
CN113852540B (zh) * 2021-09-24 2023-07-28 维沃移动通信有限公司 信息发送方法、信息发送装置和电子设备
CN114089892A (zh) * 2021-11-25 2022-02-25 上海豪承信息技术有限公司 设备调试方法、装置及电子设备
CN114089892B (zh) * 2021-11-25 2024-02-23 上海豪承信息技术有限公司 设备调试方法、装置及电子设备
CN114500431A (zh) * 2022-02-18 2022-05-13 武汉夜莺科技有限公司 项目处理方法、装置和电子设备
CN114500431B (zh) * 2022-02-18 2024-04-26 武汉夜莺科技有限公司 项目处理方法、装置和电子设备
CN114928583A (zh) * 2022-04-13 2022-08-19 广西宏廷智能科技有限公司 一种数据信息的通讯方法及系统

Also Published As

Publication number Publication date
CN111309218A (zh) 2020-06-19

Similar Documents

Publication Publication Date Title
WO2021159998A1 (zh) 信息显示方法、装置及电子设备
WO2021098678A1 (zh) 投屏控制方法及电子设备
WO2023274144A1 (zh) 消息处理方法、装置、电子设备和存储介质
WO2021109926A1 (zh) 应用分享方法、电子设备及计算机可读存储介质
WO2021036536A1 (zh) 视频拍摄方法及电子设备
WO2018040823A1 (zh) 直播间互动方法、装置及系统
WO2018184488A1 (zh) 视频配音方法及装置
WO2018059352A1 (zh) 直播视频流远程控制方法及装置
WO2021109907A1 (zh) 应用分享方法、第一电子设备及计算机可读存储介质
WO2019223494A1 (zh) 截屏方法及移动终端
WO2021083087A1 (zh) 截屏方法及终端设备
WO2019196691A1 (zh) 一种键盘界面显示方法和移动终端
WO2021104230A1 (zh) 同步方法及电子设备
WO2019196929A1 (zh) 一种视频数据处理方法及移动终端
WO2020238449A1 (zh) 通知消息的处理方法及终端
WO2020020126A1 (zh) 信息处理方法及终端
WO2021109925A1 (zh) 应用分享方法、电子设备及计算机可读存储介质
WO2021083168A1 (zh) 视频分享方法及电子设备
WO2021093844A1 (zh) 共享控制方法及电子设备
WO2021109959A1 (zh) 应用程序分享方法及电子设备
WO2020134904A1 (zh) 多媒体的播放控制方法、装置及终端设备
WO2020151513A1 (zh) 信息处理方法及终端设备
WO2020042892A1 (zh) 通话模式切换方法及终端设备
WO2019223569A1 (zh) 信息处理方法及移动终端
WO2021036659A1 (zh) 视频录制方法及电子设备

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: 21753455

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: 21753455

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 20.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21753455

Country of ref document: EP

Kind code of ref document: A1