IP Library Granted Patent US 12,705,346
Granted Patent B2
US 12,705,346 · App. 19/106,588 · Granted Aug 11, 2026

Method, device, and storage medium for detecting intrusion of container environment

Inventors: Chen Zhang (Beijing, CN); Jianxin Guo (Beijing, CN)
Assignee: BEIJING VOLCANO ENGINE TECHNOLOGY CO., LTD.
G06F21/554G06F9/45558G06F18/24323G06F2009/45587
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,705,346
App. No.
19/106,588
Filed
Feb 25, 2025
Granted
Aug 11, 2026
Kind
B2
Art Unit
2493
USPC
726/23
Abstract

A method, a device and a storage medium for detecting intrusion of a container environment. The method includes: performing event recognition on a real-time system event by calling an event recognition model corresponding to the target container, where the event recognition model is constructed based on a historical normal system event of the target container; in response to determining that the real-time system event is an abnormal system event, calling a predetermined intrusion detection rule to perform intrusion detection on the real-time system event, to determine whether the real-time system event is an intrusion event. Thus, a real-time system event that belongs to a normal system event may be filtered out, and a complete intrusion detection may be performed on the abnormal system event, thereby reducing the amount of data for intrusion detection, reducing resource occupation, and improving the performance and efficiency of the intrusion detection.

Claims (96)

1 . A method for detecting intrusion of a container environment, comprising:

for a real-time system event of a target container, performing, by calling an event recognition model corresponding to the target container, event recognition on the real-time system event, wherein the event recognition model is constructed based on a historical normal system event of the target container, and is configured to recognize whether the real-time system event in the target container belongs to a normal system event; and

in response to determining that the real-time system event is an abnormal system event, calling a predetermined intrusion detection rule to perform intrusion detection on the real-time system event, and determining whether the real-time system event is an intrusion event;

wherein calling the event recognition model corresponding to the target container to perform the event recognition on the real-time system event comprises:

performing feature extraction on the real-time system event to obtain target feature information; and

calling the event recognition model corresponding to the target container to determine whether a parameter length of the real-time system event and the target feature information deviate from the normal system event of the target container; and

performing the event recognition on the real-time system event based on a determination result,

wherein the event recognition model comprises a first event recognition model and a second event recognition model, and

wherein calling the event recognition model corresponding to the target container to determine whether the parameter length of the real-time system event and the target feature information deviate from the normal system event of the target container, and performing the event recognition on the real-time system event based on the determination result comprises:

inputting the target feature information and the parameter length of the real-time system event into the first event recognition model, and determining whether the parameter length of the real-time system event does not meet a parameter length of the normal system event; and

inputting the target feature information into the second event recognition model; and

determining whether the target feature information deviates from feature information of the normal system event.

2 . The method according to claim 1 ,

wherein the first event recognition model is constructed based on a parameter length of the historical normal system event of the target container, and the second event recognition model is constructed based on feature information of the historical normal system event of the target container.

3 . The method according to claim 2 , wherein the first event recognition model is configured with a predetermined mapping relationship, the predetermined mapping relationship is a mapping between a keyword corresponding to the normal system event of the target container and corresponding parameter length information, and the keyword corresponding to the normal system event is constructed from the feature information of the normal system event,

calling the event recognition model corresponding to the target container to determine whether the parameter length of the real-time system event and the target feature information deviate from the normal system event of the target container comprises:

constructing a target keyword based on the target feature information;

retrieving in the predetermined mapping relationship based on the target keyword;

in response to retrieving a keyword that is identical to the target keyword in the predetermined mapping relationship, acquiring parameter length information of a normal system event corresponding to the keyword;

determining whether the parameter length of the real-time system event does not meet the parameter length of the normal system event based on the parameter length of the real-time system event and the parameter length information of the normal system event; and

in response to not retrieving the keyword that is identical to the target keyword in the predetermined mapping relationship, determining that the target feature information deviates from the normal system event.

4 . The method according to claim 1 , wherein the second event recognition model is an outlier determination model;

wherein inputting the target feature information into the second event recognition model and determining whether the target feature information deviates from the feature information of the normal system event comprises:

inputting the target feature information into the second event recognition model, and determining whether the target feature information is an outlier relative to the feature information corresponding to the normal system event; and

in response to determining that the target feature information is the outlier, determining that the target feature information deviates from the feature information of the normal system event.

5 . The method according to claim 4 , wherein the second event recognition model is an isolation forest model constructed based on the historical normal system event;

wherein inputting the target feature information into the second event recognition model, and determining whether the target feature information is the outlier relative to the feature information corresponding to the historical normal system event comprises:

constructing a matrix based on the target feature information to obtain a target feature matrix; and

matching the target feature matrix and the isolation forest model to determine whether the target feature matrix is an outlier.

6 . The method according to claim 1 , wherein performing the feature extraction on the real-time system event of the target container to obtain the target feature information comprises:

acquiring first type of attribute information and second type of attribute information from data of the real-time system event; wherein the first type of attribute information is attribute information having a fixed amount of information and a fixed pattern, and the second type of attribute information is attribute information having an unfixed amount of information or pattern;

converting the second type of attribute information to obtain derived attribute information; and

combining the first type of attribute information and the derived attribute information to obtain the target feature information.

7 . An electronic device, comprising:

at least one processor; and

a memory;

the memory storing computer-executable instructions;

the at least one processor executing the computer-executable instructions stored in the memory, to execute acts comprising:

for a real-time system event of a target container, performing, by calling an event recognition model corresponding to the target container, event recognition on the real-time system event, wherein the event recognition model is constructed based on a historical normal system event of the target container, and is configured to recognize whether the real-time system event in the target container belongs to a normal system event; and

in response to determining that the real-time system event is an abnormal system event, calling a predetermined intrusion detection rule to perform intrusion detection on the real-time system event, and determining whether the real-time system event is an intrusion event

wherein calling the event recognition model corresponding to the target container to perform the event recognition on the real-time system event comprises:

performing feature extraction on the real-time system event to obtain target feature information; and

calling the event recognition model corresponding to the target container to determine whether a parameter length of the real-time system event and the target feature information deviate from the normal system event of the target container; and

performing the event recognition on the real-time system event based on a determination result,

wherein the event recognition model comprises a first event recognition model and a second event recognition model, and

wherein calling the event recognition model corresponding to the target container to determine whether the parameter length of the real-time system event and the target feature information deviate from the normal system event of the target container, and performing the event recognition on the real-time system event based on the determination result comprises:

inputting the target feature information and the parameter length of the real-time system event into the first event recognition model, and determining whether the parameter length of the real-time system event does not meet a parameter length of the normal system event; and

inputting the target feature information into the second event recognition model; and

determining whether the target feature information deviates from feature information of the normal system event.

8 . The electronic device according to claim 7 ,

wherein the first event recognition model is constructed based on a parameter length of the historical normal system event of the target container, and the second event recognition model is constructed based on feature information of the historical normal system event of the target container.

9 . The electronic device according to claim 8 , wherein the first event recognition model is configured with a predetermined mapping relationship, the predetermined mapping relationship is a mapping between a keyword corresponding to the normal system event of the target container and corresponding parameter length information, and the keyword corresponding to the normal system event is constructed from the feature information of the normal system event,

calling the event recognition model corresponding to the target container to determine whether the parameter length of the real-time system event and the target feature information deviate from the normal system event of the target container comprises:

constructing a target keyword based on the target feature information;

retrieving in the predetermined mapping relationship based on the target keyword;

in response to retrieving a keyword that is identical to the target keyword in the predetermined mapping relationship, acquiring parameter length information of a normal system event corresponding to the keyword;

determining whether the parameter length of the real-time system event does not meet the parameter length of the normal system event based on the parameter length of the real-time system event and the parameter length information of the normal system event; and

in response to not retrieving the keyword that is identical to the target keyword in the predetermined mapping relationship, determining that the target feature information deviates from the normal system event.

10 . The electronic device according to claim 7 , wherein the second event recognition model is an outlier determination model;

wherein inputting the target feature information into the second event recognition model and determining whether the target feature information deviates from the feature information of the normal system event comprises:

inputting the target feature information into the second event recognition model, and determining whether the target feature information is an outlier relative to the feature information corresponding to the normal system event; and

in response to determining that the target feature information is the outlier, determining that the target feature information deviates from the feature information of the normal system event.

11 . The electronic device according to claim 10 , wherein the second event recognition model is an isolation forest model constructed based on the historical normal system event;

wherein inputting the target feature information into the second event recognition model, and determining whether the target feature information is the outlier relative to the feature information corresponding to the historical normal system event comprises:

constructing a matrix based on the target feature information to obtain a target feature matrix; and

matching the target feature matrix and the isolation forest model to determine whether the target feature matrix is an outlier.

12 . The electronic device according to claim 7 , wherein performing the feature extraction on the real-time system event of the target container to obtain the target feature information comprises:

acquiring first type of attribute information and second type of attribute information from data of the real-time system event; wherein the first type of attribute information is attribute information having a fixed amount of information and a fixed pattern, and the second type of attribute information is attribute information having an unfixed amount of information or pattern;

converting the second type of attribute information to obtain derived attribute information; and

combining the first type of attribute information and the derived attribute information to obtain the target feature information.

13 . A non-transitory computer readable storage medium having computer-executable instructions stored thereon, when executing the computer-executable instructions, a processor implements acts comprising:

for a real-time system event of a target container, performing, by calling an event recognition model corresponding to the target container, event recognition on the real-time system event, wherein the event recognition model is constructed based on a historical normal system event of the target container, and is configured to recognize whether the real-time system event in the target container belongs to a normal system event; and

in response to determining that the real-time system event is an abnormal system event, calling a predetermined intrusion detection rule to perform intrusion detection on the real-time system event, and determining whether the real-time system event is an intrusion event;

wherein calling the event recognition model corresponding to the target container to perform the event recognition on the real-time system event comprises:

performing feature extraction on the real-time system event to obtain target feature information; and

calling the event recognition model corresponding to the target container to determine whether a parameter length of the real-time system event and the target feature information deviate from the normal system event of the target container, and performing the event recognition on the real-time system event based on a determination result,

wherein the event recognition model comprises a first event recognition model and a second event recognition model, and

wherein calling the event recognition model corresponding to the target container to determine whether the parameter length of the real-time system event and the target feature information deviate from the normal system event of the target container, and performing the event recognition on the real-time system event based on the determination result comprises:

inputting the target feature information and the parameter length of the real-time system event into the first event recognition model, and determining whether the parameter length of the real-time system event does not meet a parameter length of the normal system event; and

inputting the target feature information into the second event recognition model; and

determining whether the target feature information deviates from feature information of the normal system event.

14 . The non-transitory computer readable storage medium according to claim 13 ,

wherein the first event recognition model is constructed based on a parameter length of the historical normal system event of the target container, and the second event recognition model is constructed based on feature information of the historical normal system event of the target container.

15 . The non-transitory computer readable storage medium according to claim 14 , wherein the first event recognition model is configured with a predetermined mapping relationship, the predetermined mapping relationship is a mapping between a keyword corresponding to the normal system event of the target container and corresponding parameter length information, and the keyword corresponding to the normal system event is constructed from the feature information of the normal system event,

calling the event recognition model corresponding to the target container to determine whether the parameter length of the real-time system event and the target feature information deviate from the normal system event of the target container comprises:

constructing a target keyword based on the target feature information;

retrieving in the predetermined mapping relationship based on the target keyword;

in response to retrieving a keyword that is identical to the target keyword in the predetermined mapping relationship, acquiring parameter length information of a normal system event corresponding to the keyword;

determining whether the parameter length of the real-time system event does not meet the parameter length of the normal system event based on the parameter length of the real-time system event and the parameter length information of the normal system event; and

in response to not retrieving the keyword that is identical to the target keyword in the predetermined mapping relationship, determining that the target feature information deviates from the normal system event.

16 . The non-transitory computer readable storage medium according to claim 13 , wherein the second event recognition model is an outlier determination model, wherein inputting the target feature information into the second event recognition model and determining whether the target feature information deviates from the feature information of the normal system event comprises:

inputting the target feature information into the second event recognition model, and determining whether the target feature information is an outlier relative to the feature information corresponding to the normal system event; and

in response to determining that the target feature information is the outlier, determining that the target feature information deviates from the feature information of the normal system event.

17 . The non-transitory computer readable storage medium according to claim 16 , wherein the second event recognition model is an isolation forest model constructed based on the historical normal system event, wherein inputting the target feature information into the second event recognition model, and determining whether the target feature information is the outlier relative to the feature information corresponding to the historical normal system event comprises:

constructing a matrix based on the target feature information to obtain a target feature matrix; and

matching the target feature matrix and the isolation forest model to determine whether the target feature matrix is the outlier.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 14, 2026
From: ZHANG, CHEN; GUO, JIANXIN
To: BYTEDANCE(NANJING) TECHNOLOGY RESEARCH AND DEVELOPMENT CO., LTD.
Reel/Frame 075270/0425 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 14, 2026
From: BYTEDANCE(NANJING) TECHNOLOGY RESEARCH AND DEVELOPMENT CO., LTD.
To: BEIJING VOLCANO ENGINE TECHNOLOGY CO., LTD.
Reel/Frame 075270/0433 →
Priority Claims (1)
CN 202310798807.3 · Jun 30, 2023 · national
Continuity (1)
Related Publication 20260003959A1 · Jan 1, 2026
References Cited (54)
US 11379345B2 · Weis · 2022 [cited by examiner]
US 20080320594A1 · Jiang · 2008 [cited by examiner]
US 20150248815A1 · Pawloski · 2015 [cited by examiner]
US 20180176244A1 · Gervais · 2018 [cited by examiner]
US 20180203934A1 · Hampson · 2018 [cited by examiner]
US 20190081960A1 · Kupfer et al. · 2019 [cited by applicant]
US 20190163901A1 · Tien et al. · 2019 [cited by applicant]
US 20190197239A1 · Govardhan · 2019 [cited by examiner]
US 20190228154A1 · Agrawal · 2019 [cited by examiner]
US 20200042700A1 · Li · 2020 [cited by examiner]
US 20210112090A1 · Rivera et al. · 2021 [cited by applicant]
US 20220272093A1 · Sims et al. · 2022 [cited by applicant]
US 20230095966A1 · Yang et al. · 2023 [cited by applicant]
US 20230096108A1 · Malanov · 2023 [cited by examiner]
CN 102546638A · 2012 [cited by applicant]
CN 105072115B · 2018 [cited by applicant]
CN 109495439A · 2019 [cited by applicant]
CN 107689953B · 2020 [cited by applicant]
CN 112905421A · 2021 [cited by applicant]
CN 112989330A · 2021 [cited by applicant]
CN 113051552A · 2021 [cited by applicant]
CN 113726810A · 2021 [cited by applicant]
CN 114117428A · 2022 [cited by applicant]
CN 114168951A · 2022 [cited by applicant]
CN 114205150A · 2022 [cited by applicant]
CN 114254304A · 2022 [cited by applicant]
CN 114257386A · 2022 [cited by applicant]
CN 114326676A · 2022 [cited by applicant]
CN 114666162A · 2022 [cited by applicant]
CN 115484048A · 2022 [cited by applicant]
CN 115496109A · 2022 [cited by applicant]
CN 115514558A · 2022 [cited by applicant]
CN 115766235A · 2023 [cited by applicant]
CN 115834183A · 2023 [cited by applicant]
CN 115906064A · 2023 [cited by applicant]
CN 116015932A · 2023 [cited by applicant]
CN 116167010A · 2023 [cited by applicant]
CN 116821898A · 2023 [cited by applicant]
JP 2019145107A · 2019 [cited by applicant]
JP 2020529093A · 2020 [cited by applicant]
JP 2021060987A · 2021 [cited by applicant]
WO 2022195887A1 · 2022 [cited by applicant]
“Web application attacks detection using machine learning techniques” G Betarte, Á Pardo, R Martínez—2018 17th IEEE International . . . , 2018—ieeexplore.ieee.org; 8 pages. [cited by examiner]
Safety risk monitoring of cyber-physical power systems based on ensemble learning algorithm Qianmu Li, Shunmei Meng, Sainan Zhang , Ming Wu, Jing Zhang, 2019—ieeexplore.ieee.org; 18 pages. [cited by examiner]
Gao et al., “Research on real-time early warning of network attack behavior based on the characteristics of alarm events”, Telecommunications Engineering Technology and Standardization, Dec. 15, 2018, 15 pages. [cited by applicant]
International Search Report and Written Opinion for PCT/CN2024/101086, mailed on Sep. 21, 2024, 13 pages. [cited by applicant]
Li et al., “Review of Intrusion Detection System”, Journal of Jilin University (Information Science Edition), vol. 34, No. 5, Sep. 15, 2016, 6 pages, with English Abstract. [cited by applicant]
Li et al., “Study of an Intrusion Event Correlation Method Based on Interactive Knowledge Discovery”, Journal of Computer Research and Development, vol. 41, No. 11, 2004, 8 pages, with English Abstract. [cited by applicant]
Liu et al., “Selective Ensemble of KELM-Based Complex Network Intrusion Detection”, Journal of Electronic Science, vol. 47, No. 5, May 2019, 9 pages, with English Abstract. [cited by applicant]
Notification of Granting Patent Right for Chinese Patent Application No. 202310798807.3, mailed on Jun. 10, 2024, 11 pages. [cited by applicant]
Office Action for Chinese Patent Application No. 202310798807.3, mailed on Apr. 3, 2024, 20 pages. [cited by applicant]
Shi, “Research on Hybrid Intrusion Detection System”, Energy Research and Information, vol. 19, Issue 1, Mar. 2003, 15 pages. [cited by applicant]
Sicilia et al., “Querying Streams of Alerts for Knowledge-Based Detection of Long-Lived Network Intrusions”, Lecture Notes In Artificial Intelligence, Dec. 2012, 12 pages. [cited by applicant]
Office Action for Japanese Patent Application No. 2025-510382, mailed on Oct. 7, 2025, 4 pages. [cited by applicant]