Patent ID: 11936605
Assignee: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC G  H

Claim 10:
11. A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, the computer instruction is used to enable a computer to:
obtain a comment message sent by a sending terminal;
perform a preset type of detection on the comment message;
if the comment message passes the detection, send the comment message to a receiving terminal, so that the receiving terminal displays the comment message;
if the comment message fails the detection, not send the comment message to the receiving terminal;
wherein the preset type of detection comprises vocabulary detection and model detection; and
wherein to perform the preset type of detection on the comment message, the computer instruction is further used to enable the computer to:
judge whether there is at least one keyword in a first vocabulary set in the comment message;
if there is the at least one keyword in the first vocabulary set in the comment message, determine that the comment message fails the vocabulary detection;
when the comment message passes the vocabulary detection, perform a word segmentation processing on the comment message to obtain a preset number of adjacent phrases, and judge whether intermittently arranged characters contained in the preset number of adjacent phrases are capable of forming at least one keyword in a preset second vocabulary set;
if the intermittently arranged characters contained in the preset number of adjacent phrases are capable of forming the at least one keyword in the second vocabulary set, determine that the comment message contains the at least one keyword that cannot be displayed in the comment message and fails the model detection.