US 12,229,547 B2
Miniprogram classification method, apparatus, and device, and computer-readable storage medium
Xuanxuan Gao, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by Tencent Technology (Shenzhen) Company Limited, Shenzhen (CN)
Filed on Apr. 28, 2022, as Appl. No. 17/732,382.
Application 17/732,382 is a continuation of application No. PCT/CN2021/096021, filed on May 26, 2021.
Claims priority of application No. 202010583738.0 (CN), filed on Jun. 23, 2020.
Prior Publication US 2022/0253307 A1, Aug. 11, 2022
Int. Cl. G06F 8/70 (2018.01); G06N 5/022 (2023.01)
CPC G06F 8/70 (2013.01) [G06N 5/022 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A mini-program classification method performed at a computing device, the method comprising:
obtaining mini-program code of a to-be-classified mini-program;
obtaining a first mini-program interface image by running the mini-program code;
sequentially triggering preset events for a plurality of controls of the to-be-classified mini-program and obtaining a target event that is successfully triggered for each of the plurality of controls:
obtaining a second mini-program interface image after the preset events are triggered;
determining image difference information between the first mini-program interface image and the second mini-program interface image; and
determining the dynamic features of the to-be-classified mini-program based on a plurality of successfully triggered target events and the plurality of controls of the to-be-classified mini-program and the image difference information between the first mini-program interface image and the second mini-program interface image;
using the dynamic features as inputs for a trained classifier model and obtaining classification information of the to-be-classified mini-program; and
storing the classification information of the to-be-classified mini-program.