Abnormal flow interception method and device, equipment, medium and product
By determining the account type when making an account login request and determining the interception device according to the usage stage, the problem of being unable to intercept abnormal traffic in a timely manner in the existing technology is solved, achieving timely interception of abnormal account traffic and reducing security risks.
Patent Information
- Application Number
- CN202410775329.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-06-17
AI Technical Summary
Existing technologies cannot intercept abnormal traffic in a timely manner when abnormal behavior in an account is detected, resulting in potential security risks during account use.
By determining the account type when receiving an account login request, and determining the corresponding traffic interception stage and target processing equipment according to the different usage stages of the account, using equipment such as simulated service gateways or simulated mobile management units to simulate communication network functions to achieve Abnormal traffic interception.
It realizes the timely interception of abnormal traffic when an account abnormality is detected, reduces the security risks during account use, and improves the ability to intercept abnormal traffic in a targeted manner.
Smart Images

Figure CN118748601A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet security prevention technology, and in particular to an abnormal traffic interception method, device, equipment, medium and product. Background Art
[0002] As the scale of Internet usage grows, Internet security prevention and control becomes more and more severe.
[0003] At present, network security event monitoring or early warning methods are usually adopted to deal with abnormal behaviors of users during account use. However, such account security protection measures lack practical and effective management methods for users with low security awareness, and cannot effectively intercept abnormal account traffic.
[0004] In order to solve the above problems, it is necessary to improve the interception method of abnormal traffic. Summary of the invention
[0005] The present invention provides a method, device, equipment, medium and product for intercepting abnormal traffic to solve the problem in the prior art that when abnormal behavior of an account is detected, the abnormal traffic of the account cannot be intercepted in time, resulting in potential security risks during the use of the account.
[0006] In a first aspect, an embodiment of the present invention provides a method for intercepting abnormal traffic, comprising:
[0007] Upon receiving an account login request, determining an account type of the account to be authenticated in the account login request; wherein the account type is a normal account or an abnormal account;
[0008] If the account to be authenticated corresponds to the abnormal account type, determining the traffic interception stage corresponding to the account to be authenticated and the target processing device corresponding to the account to be authenticated; wherein the target processing device is a simulated service gateway corresponding to a service gateway, a simulated packet data gateway corresponding to a packet data gateway, or a simulated mobile management unit corresponding to a mobile management unit, and the service gateway and the mobile gateway are gateway devices in a communication system;
[0009] Based on the target processing device, abnormal traffic is intercepted for the account to be authenticated during the traffic interception phase.
[0010] In a second aspect, an embodiment of the present invention further provides an abnormal traffic interception device, including:
[0011] A type determination module, configured to determine, upon receiving an account login request, the account type of the account to be authenticated in the account login request; wherein the account type is a normal account or an abnormal account;
[0012] a device determination module, configured to determine, if the account to be authenticated corresponds to the abnormal account type, a traffic interception phase corresponding to the account to be authenticated, and a target processing device corresponding to the account to be authenticated; wherein the target processing device is a simulated service gateway corresponding to a service gateway, a simulated packet data gateway corresponding to a packet data gateway, or a simulated mobile management unit corresponding to a mobile management unit, and the service gateway and the mobile gateway are gateway devices in a communication system;
[0013] An interception module is used to intercept abnormal traffic of the account to be authenticated during the traffic interception phase based on the target processing device.
[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, including:
[0015] at least one processor; and
[0016] a memory communicatively connected to the at least one processor; wherein,
[0017] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for intercepting abnormal traffic described in any embodiment of the present invention.
[0018] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for intercepting abnormal traffic described in any embodiment of the present invention when executed.
[0019] In a fifth aspect, an embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the method for intercepting abnormal traffic as described in any one of the embodiments of the present invention.
[0020] The technical solution of the embodiment of the present invention is to determine the account type of the account to be authenticated in the account login request when receiving the account login request; if the account to be authenticated corresponds to an abnormal account type, determine the traffic interception stage corresponding to the account to be authenticated, and the target processing device corresponding to the account to be authenticated; based on the target processing device, perform abnormal traffic interception on the account to be authenticated in the traffic interception stage. In this technical solution, after determining that the account to be authenticated is an abnormal account, the traffic interception stage corresponding to the account to be authenticated is determined by the route allocation state corresponding to the account to be authenticated, so as to determine the target processing device used in the traffic interception stage, and then simulate the corresponding device function in the communication network through the target processing device to achieve traffic interception of the account to be authenticated. For example, in the route allocation state, if the account to be authenticated has not yet been routed, the route allocation failure information can be fed back to the mobile management unit based on the simulated service gateway, so that the mobile management unit feeds back the corresponding login failure message to the device to which the account to be authenticated belongs, and the abnormal traffic of the account to be authenticated is intercepted; when the route has been allocated, the route interruption instruction can be sent to the service gateway based on the simulated mobile management unit to interrupt the route of the account to be authenticated so as to achieve the blocking of abnormal traffic of the account to be authenticated. The invention solves the problem in the prior art that when abnormal behavior of an account is detected, abnormal traffic of the account cannot be intercepted in time, which may lead to security risks in the use of the account. Different traffic interception stages are determined according to the different use stages of the account, so as to intercept abnormal traffic of the account in a more targeted manner, and the abnormal traffic of the account can be intercepted in time when the account abnormality is detected, thereby reducing the security risks in the use of the account.
[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 This is a flow chart of a method for intercepting abnormal traffic provided according to Embodiment 1 of the present invention;
[0024] Figure 2 is a schematic diagram of account type identification provided according to Embodiment 1 of the present invention;
[0025] Figure 3 This is a schematic diagram of routing allocation for accounts to be authenticated according to the first embodiment of the present invention;
[0026] Figure 4 is a flow chart of a method for intercepting abnormal traffic provided according to Embodiment 2 of the present invention;
[0027] Figure 5 is a schematic diagram of the structure of an abnormal traffic interception device provided according to Embodiment 3 of the present invention;
[0028] Figure 6 It is a structural schematic diagram of an electronic device for implementing the method for intercepting abnormal traffic according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only an embodiment of a part of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention. The acquisition, transmission, storage, use, and processing of data in the technical scheme of this application are in compliance with the relevant provisions of national laws and regulations. It should be noted that in the embodiments of this application, certain software, components, or models that already exist in the industry may be mentioned. They should be considered as exemplary. Their purpose is only to illustrate the feasibility of the implementation of the technical scheme of this application, but it does not mean that the applicant has or will necessarily use the scheme.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein.
[0031] Embodiment 1
[0032] Figure 1A flowchart of an abnormal traffic interception method is provided for the first embodiment of the present invention. This embodiment can be applied to the situation where, when abnormal behavior of an account is detected, the traffic interception stage corresponding to the account is determined, and the target processing device corresponding to the traffic interception stage is used to intercept abnormal traffic for the account, wherein the target processing device is a simulated service gateway corresponding to the service gateway, a simulated packet data gateway corresponding to the packet data gateway, or a simulated mobile management unit corresponding to the mobile management unit, and the service gateway and the mobile gateway are gateway devices in the communication system. The method can be executed by an abnormal traffic interception device, which can be implemented in the form of hardware and / or software, and can be configured in a computing device that can execute the abnormal traffic interception method.
[0033] like Figure 1 As shown, the method includes:
[0034] S110. When receiving an account login request, determine the account type of the account to be authenticated in the account login request.
[0035] Among them, the account type is a normal account or an abnormal account. The account to be authenticated can be understood as an account for potential security risks detection. For example, if the account to be authenticated is a normal call or Internet behavior during use, it can be determined that the account type corresponding to the account to be authenticated is a normal account. If the account to be authenticated logs in to an abnormal website, abnormal link, or communicates with an account with potential risks during use, the account type corresponding to the account to be authenticated is determined to be an abnormal type.
[0036] In actual applications, in order to ensure the security of users in network communications and Internet surfing, it is necessary to always pay attention to the account type of the account to be authenticated, especially for users with poor risk prevention awareness, who need to take stricter risk prevention measures in the process of risk detection of accounts. Specifically, each time a user logs in to an account, he needs to log in to the account through a communication base station. Therefore, it is possible to obtain at least one account to be authenticated of the communication base station within a period of time on a regular or real-time basis, and identify the account type of each account to be authenticated.
[0037] Optionally, determining the account type of the account to be authenticated in the account registration request includes: if the account to be authenticated is included in a preset abnormal account table, determining that the account type corresponding to the account to be authenticated is an abnormal account type.
[0038] The abnormal account table can be understood as a pre-built information table for recording abnormal accounts. The abnormal account table can not only record the account code of the abnormal account, but also record the user associated with the abnormal account and the device code of the terminal device used by the abnormal account.
[0039] In practical applications, in order to quickly determine whether the account to be authenticated is an abnormal account, after receiving at least one account to be authenticated, the account to be authenticated can be detected based on the abnormal account table. Generally speaking, abnormal accounts with potential risks can be obtained based on the account behaviors corresponding to a large number of accounts collected historically, and an abnormal account table is generated based on at least one abnormal account, and the abnormal account table is updated with the statistical summary of abnormal accounts. Furthermore, after receiving at least one account to be authenticated, an account detection is performed on the account to be authenticated based on the abnormal account table. If the abnormal account table contains the account to be authenticated, or account information associated with the account to be authenticated, it can be determined that the account type corresponding to the account to be authenticated is an abnormal type; otherwise, it can be determined that the account type of the account to be authenticated is a normal type.
[0040] In a specific example, Figure 2 As shown, when at least one account to be authenticated is received, the account to be authenticated is detected based on the preset user identification feature (i.e., the abnormal account table), such as the mobile phone number corresponding to the account to be authenticated, or the imsi (i.e., mobile user identification code) or imei (i.e., mobile device identification code) associated with the account to be authenticated. After the account to be authenticated enters the network service range, the account to be authenticated used by the user needs to apply for account login. In this technical solution, it is possible to periodically obtain the account login request corresponding to each account to be authenticated, and when each account login request is received, a registration failure request is sent to the user who hits the preset user feature, or an offline notification is sent to the user who hits the preset user feature (i.e., if the account to be authenticated is included in the abnormal account table, the account type of the account to be authenticated is determined to be an abnormal account type.)
[0041] S120: If the account to be authenticated corresponds to an abnormal account type, determine a traffic interception phase corresponding to the account to be authenticated and a target processing device corresponding to the account to be authenticated.
[0042] The traffic interception stage includes the route allocation stage and the account use stage. The target processing device refers to the device used to intercept abnormal traffic of the account to be authenticated. It should be noted that in the network connection architecture, such as Figure 3As shown, the communication system includes a serving gateway (SGW), a packet data gateway (PGW) and a mobility management entity (MME). The eNodeB represents a communication base station in the communication system, which is used to receive an account login request from a user device. Among them, SGW is a key element in the mobile communication network, responsible for processing the transmission of user data, such as the user's data traffic; PGW is another key element in the mobile communication network, responsible for connecting the mobile network and the external data network, such as the Internet; MME is a device for receiving an account login request sent by an account to be authenticated. The target processing device is a simulated serving gateway corresponding to the serving gateway, a simulated packet data gateway corresponding to the packet data gateway, or a simulated mobility management unit corresponding to the mobility management unit. The serving gateway and the mobile gateway are gateway devices in the communication system. In other words, the target processing device is a device used for the device function of a gateway device or a mobility management unit in a communication system.
[0043] Generally speaking, the account to be authenticated needs to be authenticated before it can perform normal network or communication services, and each time the account is turned on or re-enters the network communication coverage area, it is necessary to re-assign a route for the account to be authenticated so that it can access the communication network for network or communication services after the route assignment is successful. Therefore, if it is determined that the account to be authenticated is an abnormal account, the traffic of the account to be authenticated can be intercepted during the route assignment stage, and the process of assigning routes to the account to be authenticated can be blocked, so that the account to be authenticated cannot perform normal network services. It should be noted that there are usually many accounts registered or logged in in the communication base station. If the account to be authenticated is obtained in the periodic mode, the route has been assigned to the abnormal account when it is determined that the account to be authenticated is an abnormal account. At this time, it is necessary to intercept the traffic of the account to be authenticated as soon as possible, and the traffic interception stage corresponding to this stage is the account use stage.
[0044] Correspondingly, the target processing device used when intercepting abnormal traffic for abnormal accounts in different traffic interception stages is different. Optionally, determining the traffic interception stage corresponding to the account to be authenticated and the target processing device corresponding to the account to be authenticated includes: after receiving the session creation request sent by the mobile management unit, determining the route allocation state of the account to be authenticated; if the route allocation state is unallocated, determining the traffic interception stage as the route allocation stage, and determining the target processing device corresponding to the account to be authenticated as the simulated service gateway.
[0045] In actual applications, after receiving the account login request of the account to be authenticated, MME will send a session creation request to SGW, and then SGW will forward the session creation request to PGW, so that PGW can allocate routes for the account to be authenticated. Further, if the route is successfully allocated for the account to be authenticated, PGW will feedback the route allocation success information to SGW, and SGW will feedback the route allocation success information to MME, and MME will send the corresponding authentication success message to the device used by the account to be authenticated, so that the user can communicate or use network services normally through the account to be authenticated.
[0046] If the account to be authenticated is an abnormal account, it is necessary to further determine whether PGW has allocated corresponding routing information for the account to be authenticated. If so, the routing allocation status corresponding to the account to be authenticated is allocated; if not, the routing allocation status is unallocated. Then, the routing allocation stage corresponding to the account to be authenticated is determined according to the routing allocation status, and the target processing device corresponding to the account to be authenticated is determined to be the simulated service gateway.
[0047] S130: Based on the target processing device, abnormal traffic is intercepted for the account to be authenticated during the traffic interception phase.
[0048] In actual applications, if the route allocation state is unallocated, based on the target processing device, abnormal traffic interception is performed on the authentication account during the traffic interception phase, including: based on the simulated service gateway, sending route allocation failure information to the mobile management unit in the communication system, so that in the route allocation phase, the mobile management unit intercepts abnormal traffic for the authentication account according to the first feedback information.
[0049] The first feedback information may be understood as route allocation failure information, and the first feedback information is sent from the analog service gateway to the mobility management unit.
[0050] Based on the above example, the target processing device is a simulated service gateway. In this technical solution, the simulated service gateway can be used to simulate the service gateway to feedback routing allocation status information to the mobile management unit. If the routing allocation status information is routing allocation failure information, the mobile management unit will feedback login failure information to the communication device to which the account to be authenticated belongs. For example, the message fed back by the mobile management unit to the communication device is "The current network status is not good and cannot be logged in normally. Please log in later."
[0051] That is to say, when it is determined that the account to be authenticated is an abnormal account and the corresponding routing information has not yet been assigned to the account to be authenticated, the abnormal traffic interception of the account to be authenticated can be completed at the routing allocation stage, blocking the normal login of the account to be authenticated, thereby preventing the account to be authenticated from performing abnormal network behavior, such as abnormal network behavior including abnormal website login, abnormal link login, abnormal transaction, and abnormal network communication.
[0052] The technical solution of the embodiment of the present invention is to determine the account type of the account to be authenticated in the account login request when receiving the account login request; if the account to be authenticated corresponds to an abnormal account type, determine the traffic interception stage corresponding to the account to be authenticated, and the target processing device corresponding to the account to be authenticated; based on the target processing device, perform abnormal traffic interception on the account to be authenticated in the traffic interception stage. In this technical solution, after determining that the account to be authenticated is an abnormal account, the traffic interception stage corresponding to the account to be authenticated is determined by the route allocation state corresponding to the account to be authenticated, so as to determine the target processing device used in the traffic interception stage, and then simulate the corresponding device function in the communication network through the target processing device to achieve traffic interception of the account to be authenticated. For example, in the route allocation state, if the account to be authenticated has not yet been routed, the route allocation failure information can be fed back to the mobile management unit based on the simulated service gateway, so that the mobile management unit feeds back the corresponding login failure message to the device to which the account to be authenticated belongs, and the abnormal traffic of the account to be authenticated is intercepted; when the route has been allocated, the route interruption instruction can be sent to the service gateway based on the simulated mobile management unit to interrupt the route of the account to be authenticated so as to achieve the blocking of abnormal traffic of the account to be authenticated. The invention solves the problem in the prior art that when abnormal behavior of an account is detected, abnormal traffic of the account cannot be intercepted in time, which may lead to security risks in the use of the account. Different traffic interception stages are determined according to the different use stages of the account, so as to intercept abnormal traffic of the account in a more targeted manner, and the abnormal traffic of the account can be intercepted in time when the account abnormality is detected, thereby reducing the security risks in the use of the account.
[0053] Embodiment 2
[0054] Figure 4 A flowchart of an abnormal traffic interception method provided in Embodiment 2 of the present invention. Optionally, if the route allocation state is an allocated state, based on the target processing device, abnormal traffic is intercepted for the account to be authenticated during the traffic interception phase, including: sending a route interruption instruction to the service gateway based on the simulated mobile management unit, so that the service gateway forwards the route interruption instruction to the packet data gateway, and the packet data gateway interrupts the current allocated route of the account to be authenticated, so as to intercept abnormal traffic for the account to be authenticated during the account usage phase.
[0055] like Figure 4 As shown, the method includes:
[0056] S210: When receiving an account login request, determine the account type of the account to be authenticated in the account login request.
[0057] S220: If the route allocation state is the allocated state, determine that the traffic interception stage is the account use stage, and determine that the target processing device is the simulated mobile management unit.
[0058] In this technical solution, if the route allocation status of the account to be authenticated is the allocated status, it means that the account to be authenticated has been connected to the communication system and can perform network services normally. At this time, if you want to intercept the traffic of the account to be authenticated, you can only intercept it during the account use phase, and determine that the target processing device for intercepting the traffic of the account to be authenticated is the simulated mobile management unit. The simulated mobile management unit is used for the mobile management unit in the communication system to send a route revocation instruction to the service gateway, so that the service gateway sends the route revocation instruction to the packet data gateway to interrupt the allocated route corresponding to the account to be authenticated.
[0059] S230: Based on the target processing device, abnormal traffic is intercepted for the account to be authenticated during the traffic interception phase.
[0060] In the present technical solution, if the route allocation state is the allocated state, based on the target processing device, abnormal traffic is intercepted for the account to be authenticated during the traffic interception phase, including: sending a route interruption instruction to the service gateway based on the simulated mobile management unit, so that the service gateway forwards the route interruption instruction to the packet data gateway, and the packet data gateway interrupts the current allocated route of the account to be authenticated, so as to intercept abnormal traffic for the account to be authenticated during the account usage phase.
[0061] In addition, the present technical solution also includes: if the account to be authenticated moves from the first administrative region to the second administrative region, and the account to be authenticated is an abnormal account, then based on the simulated packet data gateway, the routing allocation failure information is fed back to the simulated service gateway; based on the simulated service gateway, the allocation failure information is sent to the mobile management unit, so that the mobile management unit feeds back the account login failure information to the device to which the account to be authenticated belongs.
[0062] In actual applications, when a user uses an account to be authenticated, there may be cross-region behaviors, for example, moving from a first administrative region to a second administrative region. Accordingly, the administrative region to which the account to be authenticated belongs will also be moved from the first administrative region to the second administrative region. Since existing communication systems usually adopt a separate management method in different administrative regions, when the account to be authenticated moves from the first administrative region to the second administrative region, it is necessary to re-allocate the corresponding routing information for the account to be authenticated.
[0063] In this process, it is possible that the account type corresponding to the to-be-authenticated account in the first administrative region is a normal account type, but in the second administrative region it is an abnormal account type. At this time, if the to-be-authenticated account is determined to be an abnormal account, it is necessary to re-determine the traffic interception stage corresponding to the to-be-authenticated account according to the routing allocation state corresponding to the to-be-authenticated account, and use the corresponding target processing device to intercept abnormal traffic of the to-be-authenticated account in the corresponding traffic interception stage.
[0064] The technical solution of the embodiment of the present invention is to determine the account type of the account to be authenticated in the account login request when receiving the account login request; if the account to be authenticated corresponds to an abnormal account type, determine the traffic interception stage corresponding to the account to be authenticated, and the target processing device corresponding to the account to be authenticated; based on the target processing device, perform abnormal traffic interception on the account to be authenticated in the traffic interception stage. In this technical solution, after determining that the account to be authenticated is an abnormal account, the traffic interception stage corresponding to the account to be authenticated is determined by the route allocation state corresponding to the account to be authenticated, so as to determine the target processing device used in the traffic interception stage, and then simulate the corresponding device function in the communication network through the target processing device to achieve traffic interception of the account to be authenticated. For example, in the route allocation state, if the account to be authenticated has not yet been routed, the route allocation failure information can be fed back to the mobile management unit based on the simulated service gateway, so that the mobile management unit feeds back the corresponding login failure message to the device to which the account to be authenticated belongs, and the abnormal traffic of the account to be authenticated is intercepted; when the route has been allocated, the route interruption instruction can be sent to the service gateway based on the simulated mobile management unit to interrupt the route of the account to be authenticated so as to achieve the blocking of abnormal traffic of the account to be authenticated. The invention solves the problem in the prior art that when abnormal behavior of an account is detected, abnormal traffic of the account cannot be intercepted in time, which may lead to security risks in the use of the account. Different traffic interception stages are determined according to the different use stages of the account, so as to intercept abnormal traffic of the account in a more targeted manner, and the abnormal traffic of the account can be intercepted in time when the account abnormality is detected, thereby reducing the security risks in the use of the account.
[0065] Embodiment 3
[0066] Figure 5 This is a schematic diagram of the structure of an abnormal traffic interception device provided in Embodiment 3 of the present invention. Figure 5 As shown, the apparatus includes: a type determination module 310 , a device determination module 320 and an interception module 330 .
[0067] The type determination module 310 is used to determine the account type of the account to be authenticated in the account login request when receiving the account login request; wherein the account type is a normal account or an abnormal account;
[0068] The device determination module 320 is used to determine the traffic interception stage corresponding to the account to be authenticated and the target processing device corresponding to the account to be authenticated if the account to be authenticated corresponds to an abnormal account type; wherein the target processing device is a simulated service gateway corresponding to the service gateway, a simulated packet data gateway corresponding to the packet data gateway, or a simulated mobile management unit corresponding to the mobile management unit, and the service gateway and the mobile gateway are gateway devices in the communication system;
[0069] The interception module 330 is used to intercept abnormal traffic of the account to be authenticated in the traffic interception phase based on the target processing device.
[0070] The technical solution of the embodiment of the present invention is to determine the account type of the account to be authenticated in the account login request when receiving the account login request; if the account to be authenticated corresponds to an abnormal account type, determine the traffic interception stage corresponding to the account to be authenticated, and the target processing device corresponding to the account to be authenticated; based on the target processing device, perform abnormal traffic interception on the account to be authenticated in the traffic interception stage. In this technical solution, after determining that the account to be authenticated is an abnormal account, the traffic interception stage corresponding to the account to be authenticated is determined by the route allocation state corresponding to the account to be authenticated, so as to determine the target processing device used in the traffic interception stage, and then simulate the corresponding device function in the communication network through the target processing device to achieve traffic interception of the account to be authenticated. For example, in the route allocation state, if the account to be authenticated has not yet been routed, the route allocation failure information can be fed back to the mobile management unit based on the simulated service gateway, so that the mobile management unit feeds back the corresponding login failure message to the device to which the account to be authenticated belongs, and the abnormal traffic of the account to be authenticated is intercepted; when the route has been allocated, the route interruption instruction can be sent to the service gateway based on the simulated mobile management unit to interrupt the route of the account to be authenticated so as to achieve the blocking of abnormal traffic of the account to be authenticated. The invention solves the problem in the prior art that when abnormal behavior of an account is detected, abnormal traffic of the account cannot be intercepted in time, which may lead to security risks in the use of the account. Different traffic interception stages are determined according to the different use stages of the account, so as to intercept abnormal traffic of the account in a more targeted manner, and the abnormal traffic of the account can be intercepted in time when the account abnormality is detected, thereby reducing the security risks in the use of the account.
[0071] Optionally, the type determination module is used to determine that the account type corresponding to the account to be authenticated is an abnormal account type if the preset abnormal account table includes the account to be authenticated.
[0072] Optionally, the device determination module includes: a routing allocation state determination unit, configured to determine the routing allocation state of the account to be authenticated after receiving the session creation request sent by the mobility management unit;
[0073] A first target device determination module, configured to determine, if the route allocation state is an unallocated state, that the traffic interception phase is a route allocation phase, and to determine that the target processing device corresponding to the account to be authenticated is a simulated service gateway;
[0074] The second target device determination module is used to determine that the traffic interception stage is the account use stage if the route allocation state is the allocated state, and determine that the target processing device is the simulated packet data gateway.
[0075] Optionally, the interception module includes: a first interception unit, which is used to send route allocation failure information to the mobile management unit in the communication system based on the simulated service gateway if the route allocation state is an unallocated state, so that in the route allocation stage, the mobile management unit intercepts abnormal traffic for the authenticated account according to the first feedback information.
[0076] Optionally, the interception module includes: a first interception unit, which is used to send a route interruption instruction to the service gateway based on the simulated mobile management unit if the route allocation state is an allocated state, so that the service gateway forwards the route interruption instruction to the packet data gateway, and the packet data gateway interrupts the current allocated route of the account to be authenticated, so as to intercept abnormal traffic of the account to be authenticated during the account usage stage.
[0077] Optionally, the abnormal traffic interception device further includes: an information feedback module, which is used to feedback routing allocation failure information to the simulated service gateway based on the simulated packet data gateway if the account to be authenticated moves from the first administrative area to the second administrative area and the account to be authenticated is an abnormal account;
[0078] The traffic interception module is used to send allocation failure information to the mobile management unit based on the simulated service gateway, so that the mobile management unit can feedback account login failure information to the device to which the account to be authenticated belongs, and intercept abnormal traffic for the account to be authenticated.
[0079] The abnormal traffic interception device provided in the embodiment of the present invention can execute the abnormal traffic interception method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0080] Embodiment 4
[0081] Figure 6A schematic diagram of the structure of an electronic device 10 of an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0082] like Figure 6 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0083] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0084] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as an interception method for abnormal traffic.
[0085] In some embodiments, the method for intercepting abnormal traffic may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for intercepting abnormal traffic described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the method for intercepting abnormal traffic in any other appropriate manner (e.g., by means of firmware).
[0086] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0087] The computer program for implementing the method for intercepting abnormal traffic of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0088] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0089] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0090] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0091] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0092] Embodiment 5
[0093] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the method for intercepting abnormal traffic provided in any embodiment of the present application.
[0094] In the process of implementation, the computer program product can be written in one or more programming languages or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0095] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0096] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for intercepting abnormal traffic. It is characterized in that include: Upon receiving an account login request, determining an account type of the account to be authenticated in the account login request; wherein the account type is a normal account or an abnormal account; If the account to be authenticated corresponds to the abnormal account type, determining the traffic interception stage corresponding to the account to be authenticated and the target processing device corresponding to the account to be authenticated; wherein the target processing device is a simulated service gateway corresponding to a service gateway, a simulated packet data gateway corresponding to a packet data gateway, or a simulated mobile management unit corresponding to a mobile management unit, and the service gateway and the mobile gateway are gateway devices in a communication system; Based on the target processing device, abnormal traffic is intercepted for the account to be authenticated during the traffic interception phase.
2. The method according to claim 1, It is characterized in that The determining the account type of the account to be authenticated in the account registration request includes: If the preset abnormal account table includes the account to be authenticated, it is determined that the account type corresponding to the account to be authenticated is an abnormal account type.
3. The method according to claim 1, It is characterized in that The step of determining the traffic interception phase corresponding to the account to be authenticated and the target processing device corresponding to the account to be authenticated includes: After receiving the session creation request sent by the mobility management unit, determining the routing allocation state of the account to be authenticated; If the route allocation state is an unallocated state, determining the traffic interception stage to be a route allocation stage, and determining the target processing device corresponding to the account to be authenticated to be the simulated service gateway; If the route allocation state is an allocated state, the traffic interception stage is determined to be an account use stage, and the target processing device is determined to be the simulated mobile management unit.
4. The method according to claim 3, It is characterized in that If the route allocation state is an unallocated state, intercepting abnormal traffic of the account to be authenticated in the traffic interception phase based on the target processing device includes: Based on the simulated service gateway, route allocation failure information is sent to a mobile management unit in the communication system, so that during the route allocation stage, the mobile management unit intercepts abnormal traffic of the account to be authenticated according to the first feedback information.
5. The method according to claim 3, It is characterized in that If the route allocation state is an allocated state, intercepting abnormal traffic of the account to be authenticated in the traffic interception phase based on the target processing device includes: Based on the simulated mobile management unit, a route interruption instruction is sent to the service gateway, so that the service gateway forwards the route interruption instruction to the packet data gateway, and the packet data gateway interrupts the current allocated route of the account to be authenticated, so as to intercept abnormal traffic of the account to be authenticated during the account usage stage.
6. The method according to claim 1, It is characterized in that Also includes: If the account to be authenticated moves from the first administrative region to the second administrative region, and the account to be authenticated is an abnormal account, feeding back routing allocation failure information to the simulated service gateway based on the simulated packet data gateway; The allocation failure information is sent to the mobile management unit based on the simulated service gateway, so that the mobile management unit feeds back the account login failure information to the device to which the account to be authenticated belongs, and intercepts abnormal traffic of the account to be authenticated.
7. An abnormal traffic interception device, It is characterized in that include: A type determination module, configured to determine, upon receiving an account login request, the account type of the account to be authenticated in the account login request; wherein the account type is a normal account or an abnormal account; a device determination module, configured to determine, if the account to be authenticated corresponds to the abnormal account type, a traffic interception phase corresponding to the account to be authenticated, and a target processing device corresponding to the account to be authenticated; wherein the target processing device is a simulated service gateway corresponding to a service gateway, a simulated packet data gateway corresponding to a packet data gateway, or a simulated mobile management unit corresponding to a mobile management unit, and the service gateway and the mobile gateway are gateway devices in a communication system; An interception module is used to intercept abnormal traffic of the account to be authenticated during the traffic interception phase based on the target processing device.
8. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for intercepting abnormal traffic according to any one of claims 1 to 6.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for intercepting abnormal traffic according to any one of claims 1 to 6 when executed.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the computer program implements the method for intercepting abnormal traffic according to any one of claims 1 to 6.
Citation Information
Patent Citations
Routing control method and device in DHCPV6 PD scene
CN111954102A
Abnormal call interception system and method and storage medium
CN113543138A
Abnormal internet traffic monitoring method, device and system and storage medium
CN114978640A
Account interception method and device, electronic equipment and computer storage medium
CN115033874A
Secure interaction method for network access and user authentication based on zero-trust system
CN116192497A
