Chat interaction method, electronic device, and server

US12580877B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12580877-B2
Application numberUS-202118257847-A
CountryUS
Kind codeB2
Filing dateDec 9, 2021
Priority dateDec 16, 2020
Publication dateMar 17, 2026
Grant dateMar 17, 2026

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Example chat interaction methods, electronic devices and servers are disclosed. In one example chat interaction method, a first electronic device sends a video request message of a chat text to a server, where the video request message is used to request at least one target video clip, the target video clip includes a target dialog text that appears in a form of a subtitle, and the target dialog text and the chat text have same or similar semantics. The first electronic device displays the at least one target video clip according to a response message sent by the server, and the first electronic device receives a confirmation instruction from a user, where the confirmation instruction is used to indicate a first video clip. The first electronic device sends a video playback message to the server, where the video playback message is used to indicate the server to send the first video clip to a second electronic device.

First claim

Opening claim text (preview).

What is claimed is: 1 . A chat interaction method, comprising: sending, by a first electronic device, a video request message of a chat text to a server, wherein the video request message is used to request at least one target video clip, the target video clip comprises a target dialog text that appears in a form of a subtitle, and the target dialog text and the chat text have same or similar semantics, and wherein the target video clip is determined by: converting the chat text into a chat text vector; calculating a relative distance between the chat text vector and dialog text vectors in a dialog text index library, wherein the dialog text vectors correspond to dialog texts that appear as subtitles in video clips; and determining a video clip corresponding to a dialog text vector whose relative distance from the chat text vector is less than a preset threshold as the target video clip; displaying, by the first electronic device, the at least one target video clip according to a response message sent by the server, wherein the response message comprises a preview poster link corresponding to each target video clip, wherein the preview poster link comprises a download address of a preview poster, and displaying, by the first electronic device, the at least one target video clip according to the response message sent by the server comprises: downloading and displaying, by the first electronic device, the preview poster of each target video clip according to the preview poster link; receiving, by the first electronic device, a confirmation instruction from a user, wherein the confirmation instruction is used to indicate a first video clip, and the first video clip is one of the at least one target video clip; and sending, by the first electronic device, a video playback message to the server, wherein the video playback message is used to indicate to the server to send the first video clip to a second electronic device. 2 . The chat interaction method according to claim 1 , wherein: the response message comprises the target dialog text of each of the at least one target video clip; and the displaying, by the first electronic device, the at least one target video clip according to a response message sent by the server comprises: displaying, by the first electronic device, the target dialog text of each target video clip. 3 . The chat interaction method according to claim 1 , wherein: the response message further comprises information about a download address of a complete video corresponding to the first video clip, and information about a time segment location of the first video clip in the complete video; and the displaying, by the first electronic device, the at least one target video clip according to a response message sent by the server comprises: downloading and playing, by the first electronic device, the first video clip according to the download address of the complete video and the time segment location. 4 . The chat interaction method according to claim 1 , wherein before the sending, by a first electronic device, a video request message of a chat text to a server, the method further comprises: determining, by the first electronic device, that no other input operation is performed within a preset duration after the user enters the chat text in a text input box. 5 . The chat interaction method according to claim 1 , wherein: there are a plurality of target video clips; the response message further comprises information about matching degrees; and the displaying, by the first electronic device, the at least one target video clip according to a response message sent by the server comprises: displaying, by the first electronic device, each of the target video clips in a form of a list according to the matching degrees in descending order. 6 . An electronic device, comprising: one or more processors; and one or more memories, wherein the one or more memories store one or more computer programs, the one or more computer programs comprise instructions that, when executed by the one or more processors, cause the electronic device to perform operations including: sending a video request message of a chat text to a server, wherein the video request message is used to request at least one target video clip, the target video clip comprises a target dialog text that appears in a form of a subtitle, and the target dialog text and the chat text have same or similar semantics, and wherein the target video clip is determined by: converting the chat text into a chat text vector; calculating a relative distance between the chat text vector and dialog text vectors in a dialog text index library, wherein the dialog text vectors correspond to dialog texts that appear as subtitles in video clips; and determining a video clip corresponding to a dialog text vector whose relative distance from the chat text vector is less than a preset threshold as the target video clip; displaying the at least one target video clip according to a response message sent by the server, wherein the response message comprises a preview poster link corresponding to each target video clip, wherein the preview poster link comprises a download address of a preview poster, and displaying, by the electronic device, the at least one target video clip according to the response message sent by the server comprises: downloading and displaying, by the electronic device, the preview poster of each target video clip according to the preview poster link; receiving a confirmation instruction from a user, wherein the confirmation instruction is used to indicate a first video clip, and the first video clip is one of the at least one target video clip; and sending a video playback message to the server, wherein the video playback message is used to indicate the server to send the first video clip to a second electronic device. 7 . The electronic device according to claim 6 , wherein the response message comprises the target dialog text of each of the at least one target video clip, the one or more computer programs further including instructions that, when executed by the one or more processors, cause the electronic device to perform operations including: displaying the target dialog text of each target video clip. 8 . The electronic device according to claim 6 , wherein the response message further comprises information about a download address of a complete video corresponding to the first video clip, and information about a time segment location of the first video clip in the complete video, the one or more computer programs further including instructions that, when executed by the one or more processors, cause the electronic device to perform operations including: downloading and playing the first video clip according to the download address of the complete video and the time segment location. 9 . The electronic device according to claim 6 , the one or more computer programs further including instructions that, when executed by the one or more processors, cause the electronic device to perform operations including: before sending the video request message of the chat text to the server, determining that no other input operation is performed within a preset duration after the user enters the chat text in a text input box. 10 . The electronic device according to claim 6 , wherein there are a plurality of target video clips, the response message further comprises information about matching degrees, the one or more computer programs further including instructions that, when executed by the one or more processors, cause the electronic device to perform operations including: displaying each of the target vid

Assignees

Inventors

Classifications

  • Commands or executable codes · CPC title

  • H04L51/10Primary

    Multimedia information · CPC title

  • Real-time or near real-time messaging, e.g. instant messaging [IM] · CPC title

  • Content adaptation, e.g. replacement of unsuitable content · CPC title

  • using selective forwarding · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12580877B2 cover?
Example chat interaction methods, electronic devices and servers are disclosed. In one example chat interaction method, a first electronic device sends a video request message of a chat text to a server, where the video request message is used to request at least one target video clip, the target video clip includes a target dialog text that appears in a form of a subtitle, and the target dialo…
Who is the assignee on this patent?
Petal Cloud Technology Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L51/10. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Mar 17 2026 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).