CN110391969B - Multimedia-based chatting method and device, storage medium and electronic device - Google Patents
Multimedia-based chatting method and device, storage medium and electronic device Download PDFInfo
- Publication number
- CN110391969B CN110391969B CN201910488934.7A CN201910488934A CN110391969B CN 110391969 B CN110391969 B CN 110391969B CN 201910488934 A CN201910488934 A CN 201910488934A CN 110391969 B CN110391969 B CN 110391969B
- Authority
- CN
- China
- Prior art keywords
- information
- chat
- multimedia
- target multimedia
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 74
- 238000004590 computer program Methods 0.000 claims description 18
- 238000007667 floating Methods 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 15
- 230000005540 biological transmission Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 230000003993 interaction Effects 0.000 description 6
- 235000013305 food Nutrition 0.000 description 3
- 235000011888 snacks Nutrition 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003340 mental effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-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/10—Multimedia information
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a multimedia-based chatting method and device, a storage medium and an electronic device, wherein the method comprises the following steps: inputting chat information aiming at a target multimedia, wherein the target multimedia is one of a plurality of multimedia in a client display page; acquiring identification information of the target multimedia; and after the chat information is associated with the identification information, sending the chat information and the identification information to a server. By the method and the device, the technical problem that chatting cannot be performed based on the pictures in the related technology is solved, and the more refined chatting requirement of the user is met.
Description
Technical Field
The invention relates to the field of computers, in particular to a multimedia-based chatting method and device, a storage medium and an electronic device.
Background
In the related art, online chat is a common remote interaction mode, such as interaction through instant messaging software, reply in a blog comment area, and the like.
In the related technology, when chatting is only performed on a specific picture in a certain friend circle or blog, a reply is performed based on a whole picture and text content sent by an author, and the reply Chinese character particularly indicates which picture is the picture, for example, in a scene, a user sees a group of new clothes published on a merchant line and wants to consult a certain clothes or a certain sample, the scheme in the related technology is that the link is sent and then the picture is indicated, or the picture is stored and then sent to the merchant for inquiry, the link is long, the operation is complicated, and the scheme in the related technology has low efficiency.
In view of the above problems in the related art, no effective solution has been found at present.
Disclosure of Invention
The embodiment of the invention provides a multimedia-based chatting method and device, a storage medium and an electronic device.
According to an embodiment of the present invention, there is provided a multimedia-based chatting method including: inputting chat information aiming at a target multimedia, wherein the target multimedia is one of a plurality of multimedia in a client display page; acquiring identification information of the target multimedia; and after the chat information is associated with the identification information, sending the chat information and the identification information to a server.
Optionally, after the chat information for the target multimedia is input, the method further includes: acquiring first account information of a first user publishing the chat information; and after the first account information is associated with the chat information, sending the first account information to the server.
Optionally, before the chat information for the target multimedia is input, the method further includes: and selecting the target multimedia.
Optionally, selecting the target multimedia includes one of: selecting the target multimedia on a content display interface of content sharing software; selecting the target multimedia on a comment display interface of comment software; selecting the target multimedia on a commodity display interface of an online platform; and selecting the target multimedia in a session window of social software.
Optionally, after sending the chat information and the identification information to the server, the method further includes: receiving reply information of the chat information, or acquiring a chat record of the target multimedia, wherein the chat record is a session list issued by a second user except a first user issuing the chat information; and displaying the reply information and/or the chat record in a designated area of the target multimedia.
Optionally, the displaying the reply information and/or the chat record in the designated area of the target multimedia includes: and displaying the reply information and/or the chat record on a floating interface of the target multimedia.
According to an embodiment of the present invention, there is provided another multimedia-based chat method, including: receiving chat information and identification information of a target multimedia sent by a server; selecting the target multimedia according to the identification information, wherein the target multimedia is one of a plurality of multimedia in a client display page; and displaying the chat information in the appointed area of the target multimedia.
Optionally, after the chat information is displayed in the designated area of the target multimedia, the method further includes: inputting reply information aiming at the chat information; and after the reply information is associated with the chat information, sending the reply information to the server.
Optionally, after the reply message for the chat message is input, the method further includes: acquiring second account information of a second user who issues the reply information; and after the second account information is associated with the reply information, sending the second account information to the server.
Optionally, the chat information is multiple pieces, and displaying the chat information in the designated area of the target multimedia includes: selecting target session records from a plurality of session records displayed in a first designated area of the target multimedia, wherein each session record corresponds to a user account; and displaying the chat information in a session window displayed in a second designated area of the target multimedia.
According to an embodiment of the present invention, there is provided another multimedia-based chat method, including: receiving chat information aiming at a target multimedia and identification information of the target multimedia sent by a first client, wherein the target multimedia is one of a plurality of multimedia in a display page of the first client;
and sending the chat information and the identification information to a second client so that the chat information is displayed in a designated area of the target multimedia in the second client.
Optionally, before sending the chat information to the second client, the method further includes: determining a publishing account number of the target multimedia; and determining the login terminal of the issued account as the second client.
Optionally, before sending the chat information to the second client, the method further includes: searching a target terminal currently displaying the target multimedia according to the identification information; and determining the target terminal as the second client.
Optionally, after sending the chat information to the second client, the method further includes: receiving reply information aiming at the chat information sent by the second client; and sending the reply information to the first client.
Optionally, the method further includes: receiving first account information and second account information sent by a first client, wherein the first account information is a user account for publishing the chat information, and the second account information is a user account for publishing the target multimedia.
According to another embodiment of the present invention, there is provided a multimedia-based chat apparatus including: the application is applied to a first client side and comprises: the system comprises an input module, a chat module and a chat module, wherein the input module is used for inputting chat information aiming at target multimedia, and the target multimedia is one of a plurality of multimedia in a client display page; the acquisition module is used for acquiring the identification information of the target multimedia; and the sending module is used for sending the chat information and the identification information to a server after the chat information and the identification information are associated.
Optionally, the apparatus further comprises: a receiving module, configured to receive reply information of the chat information after the sending module sends the chat information and the identification information to a server, or obtain a chat record of the target multimedia, where the chat record is a session list issued by a second user other than a first user who issued the chat information; and the display module is used for displaying the reply information and/or the chat record in the designated area of the target multimedia.
According to another embodiment of the present invention, there is provided another multimedia-based chat apparatus, applied to a second client, including: the receiving module is used for receiving the chat information sent by the server and the identification information of the target multimedia; the selecting module is used for selecting the target multimedia according to the identification information, wherein the target multimedia is one of a plurality of multimedia in the client display page; and the display module is used for displaying the chat information in the appointed area of the target multimedia.
Optionally, the apparatus further comprises: the input module is used for inputting reply information aiming at the chat information after the chat information is displayed in the designated area of the target multimedia by the display module; and the sending module is used for sending the reply information to the server after the reply information is associated with the chat information.
According to another embodiment of the present invention, there is provided a multimedia-based chat apparatus, applied to a server, including: the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving chat information aiming at a target multimedia and identification information of the target multimedia, which are sent by a first client, and the target multimedia is one of a plurality of multimedia in a display page of the first client; and the first sending module is used for sending the chat information and the identification information to a second client so as to enable the chat information to be displayed in the designated area of the target multimedia in the second client.
Optionally, the apparatus further comprises: the second receiving module is used for receiving reply information aiming at the chat information sent by the second client after the first sending module sends the chat information to the second client; and the second sending module is used for sending the reply information to the first client.
According to still another embodiment of the present invention, there is provided a multimedia-based chat system including: the system comprises a first client, a second client and a server, wherein the first client comprises: the system comprises an input module, a chat module and a chat module, wherein the input module is used for inputting chat information aiming at target multimedia, and the target multimedia is one of a plurality of multimedia in a client display page; the acquisition module is used for acquiring the identification information of the target multimedia; the sending module is used for sending the chat information and the identification information to the server after the chat information and the identification information are associated; the second client includes: the receiving module is used for receiving the chat information sent by the server and the identification information of the target multimedia; the selecting module is used for selecting the target multimedia according to the identification information; the display module is used for displaying the chat information in the designated area of the target multimedia; the server includes: a first receiving module, configured to receive the chat information and the identification information sent by the first client; and the first sending module is used for sending the chat information and the identification information to the second client.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the chat information aiming at one target multimedia in a plurality of multimedia is input, the identification information of the target multimedia is obtained, the chat information and the identification information are sent to the server after being associated, the identification information of the managed target multimedia can be sent when the chat information is sent, and the chat and the like can be independently carried out aiming at the multimedia when one multimedia in a certain group of multimedia is checked, so that a lighter and more convenient communication mode is provided, the technical problem that the chat can not be carried out based on pictures in the related technology is solved, and the more refined chat requirement of a user is realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a multimedia-based chat mobile terminal according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for multimedia-based chat in accordance with an embodiment of the present invention;
FIG. 3 is a schematic diagram of a sample presentation area selection target video for an online item of merchandise in accordance with an embodiment of the present invention;
FIG. 4 is a flow diagram of another multimedia-based chat method in accordance with embodiments of the present invention;
FIG. 5 is a flow chart of yet another multimedia-based chat method in accordance with embodiments of the present invention;
FIG. 6 is a schematic diagram of a scenario of an embodiment of the present invention;
FIG. 7 is a diagram illustrating an exemplary layout for displaying chat messages on a target picture in accordance with an embodiment of the invention;
FIG. 8 is a flow interaction diagram of an embodiment of the present invention;
fig. 9 is a block diagram of a multimedia-based chat apparatus according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a connection of a multimedia-based chat system according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, a server, or a similar computing device. Taking an example of the embodiment running on a mobile terminal, fig. 1 is a structural block diagram of a multimedia-based chat mobile terminal according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal 10 may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of an application software, such as a computer program corresponding to a multimedia-based chat method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a multimedia-based chat method is provided, and fig. 2 is a flowchart of a multimedia-based chat method according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, chat information aiming at target multimedia is input, wherein the target multimedia is one of a plurality of multimedia in a client display page;
the target multimedia in this embodiment may be, but is not limited to, a picture, a video, an audio, a text, a motion picture, and other types of files, the display page of the client software includes a plurality of multimedia, for example, a friend circle issues a plurality of pictures at the same time, and an introduction area of a certain product online platform includes a plurality of sample pictures, videos, and the like.
The chat message in this embodiment may be a text, an expression, a picture, and the like.
Step S204, acquiring identification information of the target multimedia;
step S206, after the chat information and the identification information are associated, the chat information and the identification information are sent to the server.
In this embodiment, the associating of the chat information and the identification information includes: binding the chat information and the identification information, setting the chat information and the identification information in the same data packet for transmission, and the like.
Through the steps, the chat information aiming at one target multimedia in the multiple multimedia is input, the identification information of the target multimedia is obtained, the chat information and the identification information are sent to the server after being associated, the identification information of the managed target multimedia can be sent when the chat information is sent, and the chat and the like can be independently carried out aiming at the multimedia when one multimedia in a certain group of multimedia is checked, so that a lighter and more convenient communication mode is provided, the technical problem that the chat can not be carried out based on pictures in the related technology is solved, and the more refined chat requirement of a user is met.
The scheme of the embodiment can be applied to various chat session scenes, such as comment consultation based on a certain picture (the embodiment takes target multimedia as a picture file for illustration), comment based on a certain picture, chat based on a certain picture, and the like.
In this embodiment, before the chat information for the target multimedia is input, the method further includes: the target multimedia is selected. The selection target multimedia can be, but is not limited to: selecting target multimedia on a content display interface of content sharing software, for example, selecting a picture on an article or record published on a WeChat friend circle and instagram software; selecting target multimedia on a comment display interface of comment software, such as selecting a picture in a shopping comment area or a mental sharing area of an online commodity; selecting a target multimedia on a commodity display interface of an online platform, for example, selecting a picture in a sample display area of a certain commodity on the online platform, and fig. 3 is a schematic diagram of selecting a target video in the sample display area of the online commodity according to the embodiment of the present invention; and selecting target multimedia in a conversation window of social software, such as selecting a picture uploaded by a conversation object in chat software.
In this embodiment, after the target multimedia is selected, a chat interface may be generated according to the target multimedia trigger, and the chat interface is identified by the target multimedia, for example, the chat interface with the target multimedia as a background may directly display the chat information on the target multimedia, or jump to the chat software, and display the chat information through a session window of the chat software.
In an embodiment of this embodiment, in addition to acquiring the identification information (e.g. picture ID) of the target multimedia, it is further required to acquire the publisher ID of the target multimedia, and after inputting the chat information for the target multimedia, the method further includes: acquiring first account Information (ID) of a first user publishing chat information; and after the first account information is associated with the chat information, the first account information is sent to the server. However, in some scenarios, the field of the identification information of the target multimedia includes a plurality of identification contents, such as time, source, creator information, current publisher information, etc., in which case, the publisher ID of the target multimedia may not be obtained.
In this embodiment, the identification information and the publisher ID of the target multimedia are used by the server to search for a publishing account or a terminal of the target multimedia, and in one example, the identification information of the target multimedia simultaneously carries the first account information, so the server can search for the publishing account of the target multimedia without separately acquiring the first account information, but the identification information of the multimedia uploaded in some scenes or some software does not carry the first account information, so the identification information of the multimedia needs to be separately acquired. In one example, the identification information of the target multimedia carries: a publication account number, a content identification (e.g., which friend circle is marked among a plurality of friend circles of the publisher, which article is marked among a plurality of articles of the publisher), a picture identification (e.g., which picture is marked among a plurality of pictures of a friend circle).
Optionally, after sending the chat information and the identification information to the server, the method further includes:
s11, receiving reply information of the chat information, or obtaining chat records of the target multimedia, wherein the chat records are conversation lists published by second users except the first user publishing the chat information;
for example, account a (user a) publishes a comment on a food sharing platform, the comment includes 5 pictures, the 3 rd picture is a popular snack, and many people comment on the comment, where account B (user B) sends chat information and gets a reply to the 3 rd picture, account C (user C) also chats with account a (or other accounts) for the picture, and at this time, reply information of account a to chat information of account B and a session list of account B can be displayed at the same time.
And S12, displaying the reply information and/or the chat record in the designated area of the target multimedia.
Specifically, the displaying of the reply information and/or the chat record in the designated area of the target multimedia includes: and displaying the reply information and/or the chat records on the floating interface of the target multimedia.
In this embodiment, in addition to the floating interface of the target multimedia, the reply message may also be displayed in the peripheral area (e.g., the lower side, the right side, etc.) of the target multimedia. In one example, the target picture is displayed in the comment of the account a in a thumbnail form, after the user of the account B clicks the thumbnail for selection, the picture is normally displayed, an input box pops up, the target picture is used as a background picture, chat information is input on a suspension interface, and the chat information and the reply information are displayed.
In this embodiment, another multimedia-based chat method is provided, fig. 4 is a flowchart of another multimedia-based chat method according to an embodiment of the present invention, as shown in fig. 4, corresponding to the method shown in fig. 2, as shown in fig. 2, the method is applied to a terminal for commenting target multimedia, and fig. 4 is applied to a terminal for publishing target multimedia, and the flowchart includes the following steps:
step S402, receiving chat information and identification information of target multimedia sent by a server;
step S404, selecting a target multimedia according to the identification information, wherein the target multimedia is one of a plurality of multimedia in the client display page;
step S406, chat information is displayed in the designated area of the target multimedia.
In an implementation manner of this embodiment, after presenting the chat information in the designated area of the target multimedia, the method further includes: inputting reply information aiming at the chat information; and after the reply information is associated with the chat information, the reply information is sent back to the server.
Optionally, after the reply message for the chat message is input, the scheme further includes:
s21, acquiring second account information of a second user who issues the reply information;
and S22, after the second account information is associated with the reply information, sending the second account information to the server. When the second user replies anonymously or invisibly, the second account information does not need to be acquired.
In one example, the chat message is a plurality of pieces, and presenting the chat message in a designated area of the target multimedia includes: selecting target session records from a plurality of session records displayed in a first designated area of a target multimedia, wherein each session record corresponds to a user account; and displaying the chat information in a session window displayed in a second designated area of the target multimedia.
For example, account a (user a) makes a comment on the food sharing platform, which includes 5 pictures, wherein the 3 rd picture is a popular snack and many people have commented on, wherein the account B (user B) sends chat information aiming at the 3 rd picture and replies and generates a conversation record, the account C (user C) also chats with the account A (or other account) aiming at the picture and generates a conversation record, because more conversation records are generated, a plurality of conversation records can be displayed in a folding way (each conversation record can be identified by a head portrait or an account number of a user), when the user A views the chat information, one of the displayed conversation records can be folded in the first designated area, and the chat information in the selected conversation record can be displayed after the selected conversation record is unfolded in the second designated area.
In this embodiment, a further multimedia-based chat method is provided, fig. 5 is a flowchart of a further multimedia-based chat method according to an embodiment of the present invention, and as shown in fig. 5, corresponding to a terminal to which the method shown in fig. 2 and the method shown in fig. 4 are applied, the method shown in fig. 5 is applied to a server, and the flowchart includes the following steps:
step S502, receiving chat information aiming at a target multimedia and identification information of the target multimedia sent by a first client, wherein the target multimedia is one of a plurality of multimedia in a display page of the first client;
step S504, chat information and identification information are sent to the second client, so that the chat information is displayed in the designated area of the target multimedia in the second client.
The second client in this embodiment may be multiple types of clients, such as a client issuing an account login of the target multimedia, a client displaying the target multimedia, and the like.
In an implementation manner of this embodiment, before sending the chat information to the second client, the method further includes: determining a release account number of the target multimedia; and determining the login terminal issuing the account as a second client.
In another implementation manner of this embodiment, before sending the chat information to the second client, the method further includes: searching a target terminal for currently displaying the target multimedia according to the identification information; and determining the target terminal as a second client.
For example, an account a (user a) issues a comment on a food sharing platform, the comment includes 5 pictures, the 3 rd picture is a popular snack, and many people make comments, wherein an account B (user B) sends chat information for the 3 rd picture, an account C (user C) also chats with the account a (or other accounts) for the picture, and an account D (user D) can see the comment issued by the user a.
In this embodiment, after sending the chat information to the second client, the method further includes: receiving reply information aiming at the chat information sent by the second client; and sending the reply information back to the first client.
In an implementation of this embodiment, the scheme further includes: receiving first account information and second account information sent by a first client, wherein the first account information is a user account for publishing chat information, and the second account information is a user account for publishing a target multimedia. The first account information is used for identifying a second user (a publisher of chat information) at a second client, such as displaying a nickname, a head portrait, an account number and the like; the second account information is used for the server to find the second client (in case the identification information of the target multimedia cannot find the second client).
Fig. 6 is a scene diagram illustrating two scenes, wherein the scene one is the content of the friend circle of the content sharing software, and the scene two is the comment content of the comment software, wherein the picture consultant/reviewer is used for inquiring and evaluating a single picture when viewing one of a group of pictures of a merchant. The picture publisher replies on the picture to be consulted aiming at the problem of the consultant, and when a plurality of users consult the picture, the different users can be answered by selecting the user head portrait.
Fig. 7 is a schematic layout diagram of displaying chat information on a target picture according to an embodiment of the present invention, where the page layout has a two-layer structure. 1. The full-screen picture layer is used for displaying a target picture in a full screen mode and is arranged at the bottom layer to serve as a background picture; 2. the chat information layer is transparent in background, covers the target picture, and comprises 3 blocks from top to bottom, wherein the 3 blocks are respectively a 2.1 chat information area, are laid from bottom to top, and are 2.2 chat object switching areas for displaying all chat objects; the current chat object displays the selected state; displaying a prompt on the head portrait with the new message; clicking to switch the chat records of the consultants; 2.3 text entry area, click on input box evokes keyboard, and chat message layer moves up as a whole.
In an optional example, fig. 8 is a flowchart of interaction of the embodiment of the present invention, where a is an interaction between a picture commentator and a server, and b is an interaction between a picture publisher and the server. The scheme of the server side comprises the following steps:
1. the user comments the picture published by the picture publisher, the client sends the picture publisher ID, the picture ID and the picture commentator ID to the server, and the server updates the database and sends the comment information to the picture publisher.
2. And after the picture publisher replies the information, the server side updates the database and pushes the reply information to the client side of the picture commentator.
The scheme of the client comprises the following steps:
the picture commentator side: selecting pictures, entering a chat page to establish a new chat record or pull a history record; after inputting text/expression, transmitting input content, picture id, user id and reply user id to a server, displaying on a page after a request is successful, and displaying a failure prompt if the request is failed;
the picture is published on the human side: and after receiving new chat information of the server, if the chat record page of the sender is currently displayed, displaying the current page, otherwise, prompting on the image of the corresponding user.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
In this embodiment, a multimedia-based chat device and system are further provided, which are used to implement the foregoing embodiments and preferred embodiments, and are not described again after being described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 9 is a block diagram of a multimedia-based chat apparatus according to an embodiment of the present invention, applied to a first client, where the apparatus includes: an input module 90, an acquisition module 92, and a transmission module 94.
An input module 90, configured to input chat information for a target multimedia, where the target multimedia is one of multiple multimedia in a client display page;
an obtaining module 92, configured to obtain identification information of the target multimedia;
a sending module 94, configured to send the chat information and the identification information to a server after associating the chat information with the identification information.
Optionally, the apparatus further comprises: a receiving module, configured to receive reply information of the chat information after the sending module sends the chat information and the identification information to a server, or obtain a chat record of the target multimedia, where the chat record is a session list issued by a second user other than a first user who issued the chat information; and the display module is used for displaying the reply information and/or the chat record in the designated area of the target multimedia.
The embodiment also provides another multimedia-based chat device, which is applied to a second client and comprises:
the receiving module is used for receiving the chat information sent by the server and the identification information of the target multimedia;
the selecting module is used for selecting the target multimedia according to the identification information, wherein the target multimedia is one of a plurality of multimedia in the client display page;
and the display module is used for displaying the chat information in the appointed area of the target multimedia.
Optionally, the apparatus further comprises: the input module is used for inputting reply information aiming at the chat information after the chat information is displayed in the designated area of the target multimedia by the display module; and the sending module is used for sending the reply information to the server after the reply information is associated with the chat information.
The embodiment also provides another multimedia-based chat device, which is applied to a server and includes:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving chat information aiming at a target multimedia and identification information of the target multimedia, which are sent by a first client, and the target multimedia is one of a plurality of multimedia in a display page of the first client;
and the first sending module is used for sending the chat information and the identification information to a second client so as to enable the chat information to be displayed in the designated area of the target multimedia in the second client.
Optionally, the apparatus further comprises: the second receiving module is used for receiving reply information aiming at the chat information sent by the second client after the first sending module sends the chat information to the second client; and the second sending module is used for sending the reply information to the first client.
The embodiment provides a multimedia-based chat system, and fig. 10 is a schematic connection diagram of a multimedia-based chat system according to an embodiment of the present invention, where the schematic connection diagram includes: a first client 102, a second client 104, a server 106, wherein,
the first client 102 includes: the system comprises an input module, a chat module and a chat module, wherein the input module is used for inputting chat information aiming at target multimedia, and the target multimedia is one of a plurality of multimedia in a client display page; the acquisition module is used for acquiring the identification information of the target multimedia; the sending module is used for sending the chat information and the identification information to the server after the chat information and the identification information are associated;
the second client 104 includes: the receiving module is used for receiving the chat information sent by the server and the identification information of the target multimedia; the selecting module is used for selecting the target multimedia according to the identification information; the display module is used for displaying the chat information in the designated area of the target multimedia;
the server 106, connected between the first client 102 and the second client 104, includes: a first receiving module, configured to receive the chat information and the identification information sent by the first client; and the first sending module is used for sending the chat information and the identification information to the second client.
In a communication scenario, when a first client and a second client interact through a peer-to-peer (D2D) communication mode, the chat system does not need a server.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in an aspect of the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, chat information aiming at target multimedia is input, wherein the target multimedia is one of a plurality of multimedia in a client display page;
s2, acquiring the identification information of the target multimedia;
s3, after the chat information is associated with the identification information, the chat information and the identification information are sent to a server.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in an aspect of this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, chat information aiming at target multimedia is input, wherein the target multimedia is one of a plurality of multimedia in a client display page;
s2, acquiring the identification information of the target multimedia;
s3, after the chat information is associated with the identification information, the chat information and the identification information are sent to a server.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.
Claims (24)
1. A multimedia-based chat method, comprising:
generating a chat interface with a target multimedia identifier according to the selected target multimedia trigger;
inputting chat information aiming at the target multimedia and displaying the chat information on the chat interface, wherein the target multimedia is one of a plurality of multimedia in a multimedia display page of a client;
acquiring identification information of the target multimedia;
and after the chat information is associated with the identification information, sending the chat information and the identification information to a server.
2. The method of claim 1, wherein after entering chat information for the target multimedia, the method further comprises:
acquiring first account information of a first user publishing the chat information;
and after the first account information is associated with the chat information, sending the first account information to the server.
3. The method of claim 1, wherein prior to entering chat information for the target multimedia, the method further comprises:
and selecting the target multimedia.
4. The method of claim 3, wherein the multimedia presentation page comprises at least one of a content presentation interface of content sharing software, a comment presentation interface of comment software, and a merchandise presentation interface of an online platform; selecting the target multimedia includes one of:
selecting the target multimedia on a content display interface of content sharing software;
selecting the target multimedia on a comment display interface of comment software;
and selecting the target multimedia through a commodity display interface of the online platform.
5. The method of claim 1, wherein after sending the chat information and the identification information to a server, the method further comprises:
receiving reply information of the chat information, or acquiring a chat record of the target multimedia, wherein the chat record is a session list issued by a second user except a first user issuing the chat information;
and displaying the reply information and/or the chat record in a designated area of the target multimedia.
6. The method of claim 5, wherein presenting the reply message and/or the chat log in a designated area of the target multimedia comprises:
and displaying the reply information and/or the chat record on a floating interface of the target multimedia.
7. A multimedia-based chat method, comprising:
receiving chat information and identification information of a target multimedia sent by a server;
selecting the target multimedia according to the identification information, wherein the target multimedia is one of a plurality of multimedia in a multimedia display page of the client;
and displaying the chat information in a designated area of the target multimedia, wherein the designated area comprises a chat interface with a target multimedia identifier.
8. The method of claim 7, wherein after presenting the chat information in the designated area of the target multimedia, the method further comprises:
inputting reply information aiming at the chat information;
and after the reply information is associated with the chat information, sending the reply information to the server.
9. The method of claim 8, wherein after entering reply information for the chat message, the method further comprises:
acquiring second account information of a second user who issues the reply information;
and after the second account information is associated with the reply information, sending the second account information to the server.
10. The method of claim 9, wherein the chat message is a plurality of chat messages, and wherein presenting the chat message in a designated area of the target multimedia comprises:
selecting target session records from a plurality of session records displayed in a first designated area of the target multimedia, wherein each session record corresponds to a user account;
and displaying the chat information in a session window displayed in a second designated area of the target multimedia.
11. A multimedia-based chat method, comprising:
receiving chat information aiming at a target multimedia and identification information of the target multimedia sent by a first client, wherein the target multimedia is one of a plurality of multimedia in a multimedia display page of the first client;
and sending the chat information and the identification information to a second client so that the chat information is displayed in a designated area of the target multimedia in the second client, wherein the designated area comprises a chat interface with a target multimedia identification.
12. The method of claim 11, wherein prior to sending the chat information to the second client, the method further comprises:
determining a publishing account number of the target multimedia;
and determining the login terminal of the issued account as the second client.
13. The method of claim 11, wherein prior to sending the chat information to the second client, the method further comprises:
searching a target terminal currently displaying the target multimedia according to the identification information;
and determining the target terminal as the second client.
14. The method of claim 11, wherein after sending the chat information to the second client, the method further comprises:
receiving reply information aiming at the chat information sent by the second client;
and sending the reply information to the first client.
15. The method of claim 11, further comprising:
receiving first account information and second account information sent by a first client, wherein the first account information is a user account for publishing the chat information, and the second account information is a user account for publishing the target multimedia.
16. A multimedia-based chat apparatus, applied to a first client, comprising:
the input module is used for generating a chat interface with a target multimedia identifier according to the selected target multimedia trigger; inputting chat information aiming at the target multimedia and displaying the chat information on the chat interface, wherein the target multimedia is one of a plurality of multimedia in a multimedia display page of a client;
the acquisition module is used for acquiring the identification information of the target multimedia;
and the sending module is used for sending the chat information and the identification information to a server after the chat information and the identification information are associated.
17. The apparatus of claim 16, further comprising:
a receiving module, configured to receive reply information of the chat information after the sending module sends the chat information and the identification information to a server, or obtain a chat record of the target multimedia, where the chat record is a session list issued by a second user other than a first user who issued the chat information;
and the display module is used for displaying the reply information and/or the chat record in the designated area of the target multimedia.
18. A multimedia-based chat apparatus, applied to a second client, comprising:
the receiving module is used for receiving the chat information sent by the server and the identification information of the target multimedia;
the selecting module is used for selecting the target multimedia according to the identification information, wherein the target multimedia is one of a plurality of multimedia in the client display page;
and the display module is used for displaying the chat information in a designated area of the target multimedia, and the designated area comprises a chat interface with a target multimedia identifier.
19. The apparatus of claim 18, further comprising:
the input module is used for inputting reply information aiming at the chat information after the chat information is displayed in the designated area of the target multimedia by the display module;
and the sending module is used for sending the reply information to the server after the reply information is associated with the chat information.
20. A multimedia-based chat apparatus, applied to a server, comprising:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving chat information aiming at a target multimedia and identification information of the target multimedia, which are sent by a first client, and the target multimedia is one of a plurality of multimedia in a multimedia display page of the first client;
the first sending module is used for sending the chat information and the identification information to a second client so that the chat information is displayed in a designated area of the target multimedia in the second client, and the designated area comprises a chat interface with a target multimedia identification.
21. The apparatus of claim 20, further comprising:
the second receiving module is used for receiving reply information aiming at the chat information sent by the second client after the first sending module sends the chat information to the second client;
and the second sending module is used for sending the reply information to the first client.
22. A multimedia-based chat system, comprising: a first client, a second client, a server, wherein,
the first client includes:
the system comprises an input module, a chat module and a chat module, wherein the input module is used for inputting chat information aiming at target multimedia, and the target multimedia is one of a plurality of multimedia in a multimedia display page of a client;
the acquisition module is used for acquiring the identification information of the target multimedia;
the sending module is used for sending the chat information and the identification information to the server after the chat information and the identification information are associated;
the second client includes:
the receiving module is used for receiving the chat information sent by the server and the identification information of the target multimedia;
the selecting module is used for selecting the target multimedia according to the identification information;
the display module is used for displaying the chat information in the designated area of the target multimedia;
the server includes:
a first receiving module, configured to receive the chat information and the identification information sent by the first client;
and the first sending module is used for sending the chat information and the identification information to the second client.
23. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 15 when executed.
24. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 15.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910488934.7A CN110391969B (en) | 2019-06-06 | 2019-06-06 | Multimedia-based chatting method and device, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910488934.7A CN110391969B (en) | 2019-06-06 | 2019-06-06 | Multimedia-based chatting method and device, storage medium and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110391969A CN110391969A (en) | 2019-10-29 |
CN110391969B true CN110391969B (en) | 2022-03-25 |
Family
ID=68285242
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910488934.7A Active CN110391969B (en) | 2019-06-06 | 2019-06-06 | Multimedia-based chatting method and device, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110391969B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111260098A (en) * | 2020-02-24 | 2020-06-09 | 深圳市宝寓科技有限公司 | Consultation processing method for online accommodation reservation platform, accommodation product management terminal and storage medium |
CN112312223A (en) * | 2020-04-30 | 2021-02-02 | 北京字节跳动网络技术有限公司 | Information display method and device and electronic equipment |
CN111897474A (en) * | 2020-07-29 | 2020-11-06 | 维沃移动通信有限公司 | Document processing method and electronic device |
CN115190321B (en) * | 2022-05-13 | 2024-06-04 | 广州博冠信息科技有限公司 | Live broadcast room switching method and device and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1897727A (en) * | 2005-07-14 | 2007-01-17 | 启碁科技股份有限公司 | Method and related system for displaying real-time information by using mobile phone |
CN104956357A (en) * | 2012-12-31 | 2015-09-30 | 谷歌公司 | Creating and sharing inline media commentary within a network |
CN104978326A (en) * | 2014-04-03 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Comment information processing method and device |
US20160112360A1 (en) * | 2014-10-21 | 2016-04-21 | International Business Machines Corporation | Understanding of the relationship between the comments being made to the containers and the comments being made to the elements of the containers |
CN105612472A (en) * | 2012-06-10 | 2016-05-25 | 苹果公司 | Sharing images and comments across different devices |
CN107765938A (en) * | 2016-08-23 | 2018-03-06 | 腾讯科技(深圳)有限公司 | A kind of picture exchange method and device |
CN108174023A (en) * | 2017-12-19 | 2018-06-15 | 珠海市魅族科技有限公司 | Information displaying method and device, computer installation and computer readable storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000054145A (en) * | 2000-05-24 | 2000-09-05 | 정주성 | realtime auction and chatting method using a multimedia |
CN109391850B (en) * | 2017-08-02 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Method, device and storage medium for interacting messages in video page |
WO2019046137A1 (en) * | 2017-08-27 | 2019-03-07 | Pedroso Filipe | Ecommerce systems and methods for purchasing gifts and parts of gifts using crowdfunding methodologies and social media platforms |
-
2019
- 2019-06-06 CN CN201910488934.7A patent/CN110391969B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1897727A (en) * | 2005-07-14 | 2007-01-17 | 启碁科技股份有限公司 | Method and related system for displaying real-time information by using mobile phone |
CN105612472A (en) * | 2012-06-10 | 2016-05-25 | 苹果公司 | Sharing images and comments across different devices |
CN104956357A (en) * | 2012-12-31 | 2015-09-30 | 谷歌公司 | Creating and sharing inline media commentary within a network |
CN104978326A (en) * | 2014-04-03 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Comment information processing method and device |
US20160112360A1 (en) * | 2014-10-21 | 2016-04-21 | International Business Machines Corporation | Understanding of the relationship between the comments being made to the containers and the comments being made to the elements of the containers |
CN107765938A (en) * | 2016-08-23 | 2018-03-06 | 腾讯科技(深圳)有限公司 | A kind of picture exchange method and device |
CN108174023A (en) * | 2017-12-19 | 2018-06-15 | 珠海市魅族科技有限公司 | Information displaying method and device, computer installation and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110391969A (en) | 2019-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110391969B (en) | Multimedia-based chatting method and device, storage medium and electronic device | |
US9489353B2 (en) | System and method for sharable browsing experience | |
US8996654B2 (en) | Aggregator with managed content | |
US8959156B2 (en) | Peer-to-peer aggregation system | |
US8527591B2 (en) | Method and apparatus for the implementation of a real-time, sharable browsing experience on a guest device | |
US9122758B1 (en) | Collaborative browsing and chat sessions | |
US10845949B2 (en) | Continuity of experience card for index | |
JP6685911B2 (en) | Apparatus and method for peer-assisted electronic commerce shopping | |
US20120158935A1 (en) | Method and systems for managing social networks | |
US20110289155A1 (en) | Method and Apparatus for the Implementation of a Real-Time, Sharable Browsing Experience | |
CN106953935B (en) | Media information pushing method and device and storage medium | |
US20150154304A1 (en) | System and method for providing knowledge sharing service based on user relationship information of social network service | |
US20130086699A1 (en) | Aggregation system | |
CN107734031B (en) | Information interaction method and system based on electronic book | |
KR101834188B1 (en) | Method for sharing contents data, computing device and computer-readable medium | |
CN110598103B (en) | Content aggregation method and device, computer equipment and storage medium | |
WO2019192352A1 (en) | Video-based interactive discussion method and apparatus, and terminal device | |
CN106649830A (en) | A method and device for displaying information | |
CN108197210B (en) | User interactive reading method based on friend relationship and computing equipment | |
CN104618420A (en) | Information display method and device | |
CN113297474A (en) | Information providing method and device and electronic equipment | |
CN104050204A (en) | Method for merging network data and mobile device | |
CN114430506B (en) | Virtual action processing method and device, storage medium and electronic equipment | |
CN104717121B (en) | Name card exchanging method and system | |
CN115348228B (en) | Group joining method, group information display method and related devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |