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

Claim 5:
6. A message processing apparatus, comprising:
at least one processor; and
a memory communicatively connected with the at least one processor;
the at least one processor executes computer-executable instructions stored in the memory to cause the at least one processor 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 at least one processor is further configured 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; and
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.