A message detection method, device, electronic device and storage medium
A technology of message detection and detection method, which is applied in the direction of safety communication devices, electrical components, digital transmission systems, etc., can solve problems such as link disconnection of established link applications, increased CPU usage, long time, etc., and achieve accurate matching in the processing process , ensuring stability and reducing complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] figure 2 This is a flow chart of a method for detecting a packet provided in Embodiment 1 of the present invention. This embodiment can be applied to the situation where packets are detected and filtered on the iptables / netfilter framework. The method can be executed by a packet detection device. The apparatus may be implemented in software and / or hardware. The device can be configured in an electronic device, and the method specifically includes:
[0035] S210. Acquire the first packet initiated by the first user at the current moment.
[0036] The first user may be a natural person. For example, the natural person accesses the Internet on any computer through the account he has, and the message carries the logo data matching the account of the natural person. The first user may also be a computer, etc. Any host device that can deploy an iptables firewall, and the packet carries flag data matching the host device.
[0037] In fact, iptables is not a real firewall. ...
Embodiment 2
[0054] image 3 This is a flowchart of a method for detecting a packet according to Embodiment 2 of the present invention. This embodiment is an optional solution proposed on the basis of the foregoing embodiment. The technical solution in this embodiment may be different from one or more of the above The various alternatives in each embodiment are combined. see image 3 , the packet detection method provided by this embodiment includes:
[0055] S310. Acquire the first packet initiated by the first user at the current moment.
[0056] S320. Determine the current source IP of the current packet. For example, the packet header of the first packet is parsed, and the source IP of the first packet is obtained as the current source IP of the current packet.
[0057] S330. Use the packet detection rule list associated with the legitimate source IP as the first packet detection rule list associated with the first user.
[0058] The legal source IP may be the source IP of a legal...
Embodiment 3
[0076] Image 6 It is a schematic structural diagram of an apparatus for detecting a message according to Embodiment 3 of the present invention. The apparatus 600 specifically includes: a first message acquisition module 610 , an auxiliary message detection module 620 and a first rule detection module 630 . in,
[0077] The first message obtaining module is configured to obtain the first message initiated by the first user at the current moment;
[0078] The auxiliary message detection module is configured to use the auxiliary message list of the current time period to detect the first message, and obtain a first detection result of the first message; wherein, the auxiliary message list in the auxiliary message list. The auxiliary message is selected from the second message initiated in the current time period according to the matching condition of the detection rule;
[0079] The first rule detection module is configured to determine the first packet detection rule list ass...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com