CN118642929A - Login abnormality alarm method and device based on online small batch framework - Google Patents
Login abnormality alarm method and device based on online small batch framework Download PDFInfo
- Publication number
- CN118642929A CN118642929A CN202410682748.8A CN202410682748A CN118642929A CN 118642929 A CN118642929 A CN 118642929A CN 202410682748 A CN202410682748 A CN 202410682748A CN 118642929 A CN118642929 A CN 118642929A
- Authority
- CN
- China
- Prior art keywords
- monitoring
- task
- project
- thread
- login
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/14—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
- H04L63/1408—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3438—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24568—Data stream processing; Continuous queries
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/14—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
- H04L63/1408—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
- H04L63/1425—Traffic logging, e.g. anomaly detection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/14—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
- H04L63/1441—Countermeasures against malicious traffic
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/4557—Distribution of virtual machine instances; Migration and load balancing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45591—Monitoring or debugging support
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5018—Thread allocation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Quality & Reliability (AREA)
- Computational Linguistics (AREA)
- Debugging And Monitoring (AREA)
Abstract
本发明公开了一种基于联机小批量框架的登录异常报警方法及装置,涉及信息安全技术领域、金融科技领域或其他相关领域,其中,该方法包括:创建异常监控项目,其中,异常监控项目设置为对目标金融系统的客户登录行为进行监控及报警,异常监控项目中已预先加入联机小批量框架,联机小批量框架用于处理连续流数据形式的客户登录行为数据;基于异常监控项目的间隔等待时长和联机小批量框架,在应用容器中启动异常监控项目,得到监控结果;在监控结果指示客户登录行为存在异常的情况下,进行登录行为报警。本发明解决了相关技术中客户登录信息反馈不及时,无法及时排查隐患的技术问题。
The present invention discloses a login abnormality alarm method and device based on an online small batch framework, which relates to the field of information security technology, financial technology or other related fields, wherein the method comprises: creating an abnormal monitoring project, wherein the abnormal monitoring project is set to monitor and alarm the customer login behavior of the target financial system, and the online small batch framework has been pre-added in the abnormal monitoring project, and the online small batch framework is used to process the customer login behavior data in the form of continuous stream data; based on the interval waiting time of the abnormal monitoring project and the online small batch framework, the abnormal monitoring project is started in the application container to obtain the monitoring result; when the monitoring result indicates that the customer login behavior is abnormal, the login behavior alarm is performed. The present invention solves the technical problem that the customer login information feedback is not timely and the hidden danger cannot be timely checked in the related technology.
Description
技术领域Technical Field
本发明涉及信息安全技术领域、金融科技领域或其他相关领域,具体而言,涉及一种基于联机小批量框架的登录异常报警方法及装置。The present invention relates to the field of information security technology, financial technology or other related fields, and in particular to a login abnormality alarm method and device based on an online small batch framework.
背景技术Background Art
在金融机构的运营中,保障客户账户安全和资金流动至关重要,因此,实时监控客户在移动端金融APP上的登录状态和及时处理异常问题至关重要。In the operation of financial institutions, it is crucial to ensure the security of customer accounts and the flow of funds. Therefore, it is crucial to monitor the customer's login status on the mobile financial app in real time and handle abnormal problems in a timely manner.
相关技术中,金融服务虽然能够每隔15分钟批量检索客户的登录信息,但对于更短的时间间隔,监控功能尚未达到要求,导致客户的登录信息反馈不及时,无法及时排查潜在的安全隐患,并且,现有技术中的定时监控线程在高并发环境下容易出现对客户数据进行重复检索,可能导致反复通知客户或线程死锁等问题,从而影响系统的稳定性和可靠性。In the related technology, although financial services can retrieve customer login information in batches every 15 minutes, the monitoring function has not yet met the requirements for shorter time intervals, resulting in untimely feedback of customer login information and failure to promptly detect potential security risks. In addition, the timed monitoring thread in the prior art is prone to repeated retrieval of customer data in a high-concurrency environment, which may lead to repeated notifications to customers or thread deadlocks, thereby affecting the stability and reliability of the system.
针对上述的问题,目前尚未提出有效的解决方案。To address the above-mentioned problems, no effective solution has been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种基于联机小批量框架的登录异常报警方法及装置,以至少解决相关技术中客户登录信息反馈不及时,无法及时排查隐患的技术问题。The embodiment of the present invention provides a login abnormality alarm method and device based on an online small batch framework, so as to at least solve the technical problem in the related technology that customer login information feedback is not timely and hidden dangers cannot be timely checked.
根据本发明实施例的一个方面,提供了一种基于联机小批量框架的登录异常报警方法,包括:创建异常监控项目,其中,所述异常监控项目设置为对目标金融系统的客户登录行为进行监控及报警,所述异常监控项目中已预先加入联机小批量框架,所述联机小批量框架用于处理连续流数据形式的客户登录行为数据;基于所述异常监控项目的间隔等待时长和所述联机小批量框架,在应用容器中启动所述异常监控项目,得到监控结果;在所述监控结果指示客户登录行为存在异常的情况下,进行登录行为报警。According to one aspect of an embodiment of the present invention, there is provided a method for alarming login anomalies based on an online small batch framework, comprising: creating an abnormal monitoring project, wherein the abnormal monitoring project is configured to monitor and alarm customer login behaviors of a target financial system, an online small batch framework has been pre-added to the abnormal monitoring project, and the online small batch framework is used to process customer login behavior data in the form of continuous stream data; based on an interval waiting time of the abnormal monitoring project and the online small batch framework, the abnormal monitoring project is started in an application container to obtain monitoring results; and when the monitoring results indicate that the customer login behavior is abnormal, a login behavior alarm is performed.
进一步地,在将联机小批量框架预先加入至所述异常监控项目时,包括:分析所述异常监控项目在所述联机小批量框架下所需的依赖项,并生成所述异常监控项目的配置信息,其中,所述配置信息用于记录所有所述依赖项和依赖关系;基于所述配置信息将所有所述依赖项添加至所述异常监控项目的项目对象模型,并基于所述依赖关系在所述项目对象模型中添加项目结构描述。Furthermore, when the online small batch framework is pre-added to the exception monitoring project, it includes: analyzing the dependencies required by the exception monitoring project under the online small batch framework, and generating configuration information of the exception monitoring project, wherein the configuration information is used to record all the dependencies and dependency relationships; based on the configuration information, all the dependencies are added to the project object model of the exception monitoring project, and based on the dependency relationships, a project structure description is added to the project object model.
进一步地,在基于所述依赖关系在所述项目对象模型中添加项目结构描述之后,包括:基于所述项目结构描述确定所述异常监控项目在项目运行过程中的任务调度方法;基于所述任务调度方法生成任务调度构建包,其中,所述任务调度构建包用于指示所述应用容器按照所述任务调度方法调度所述异常监控项目对应的监控任务和执行所述监控任务对应的批量作业。Furthermore, after adding the project structure description in the project object model based on the dependency relationship, it includes: determining the task scheduling method of the abnormal monitoring project during the project operation process based on the project structure description; generating a task scheduling construction package based on the task scheduling method, wherein the task scheduling construction package is used to instruct the application container to schedule the monitoring tasks corresponding to the abnormal monitoring project and execute the batch jobs corresponding to the monitoring tasks according to the task scheduling method.
进一步地,在将联机小批量框架预先加入至所述异常监控项目时,包括:在所述异常监控项目的项目启动类中添加启动注解,其中,所述启动注解用于在项目运行过程中向所述应用容器请求联机小批量数据处理方式。Furthermore, when the online small batch framework is pre-added to the exception monitoring project, it includes: adding a startup annotation in the project startup class of the exception monitoring project, wherein the startup annotation is used to request the online small batch data processing method from the application container during the project operation.
进一步地,在预先设置所述异常监控项目的间隔等待时长时,包括:基于所述联机小批量框架在金融系统数据库中创建项目参数表,其中,所述项目参数表用于存储所述联机小批量框架所需参数;在所述项目参数表中配置批量作业参数,其中,所述批量作业参数用于生成批量作业的执行环境,所述批量作业参数至少包括:上一批量作业与下一批量作业之间的所述间隔等待时长。Furthermore, when presetting the interval waiting time of the abnormal monitoring project, it includes: creating a project parameter table in the financial system database based on the online small batch framework, wherein the project parameter table is used to store the parameters required by the online small batch framework; configuring batch job parameters in the project parameter table, wherein the batch job parameters are used to generate an execution environment for batch jobs, and the batch job parameters include at least: the interval waiting time between the previous batch job and the next batch job.
进一步地,所述批量作业参数还包括:监控任务对应的批量作业路径、监控任务命名、任务延迟时长、数据库连接参数和联机小批量线程参数。Furthermore, the batch job parameters also include: a batch job path corresponding to the monitoring task, a monitoring task name, a task delay time, a database connection parameter, and an online small batch thread parameter.
进一步地,在将联机小批量框架预先加入至所述异常监控项目之后,还包括:在所述应用容器中配置线程串行机制,并配置串行间隔时长;在应用容器中启动所述异常监控项目之后,还包括:将所述异常监控项目转化为N个监控任务,并基于N个所述监控任务生成N个批量作业,其中,每个所述监控任务对应一个所述批量作业,N为正整数;基于所述线程串行机制建立N个任务线程,为所述批量作业分配所述任务线程,其中,分配原则为:每个所述批量作业占用一个所述任务线程。Furthermore, after the online small batch framework is pre-added to the exception monitoring project, it also includes: configuring a thread serial mechanism in the application container and configuring the serial interval duration; after starting the exception monitoring project in the application container, it also includes: converting the exception monitoring project into N monitoring tasks, and generating N batch jobs based on the N monitoring tasks, wherein each of the monitoring tasks corresponds to one batch job, and N is a positive integer; establishing N task threads based on the thread serial mechanism, and allocating the task threads to the batch jobs, wherein the allocation principle is: each of the batch jobs occupies one task thread.
进一步地,在将联机小批量框架预先加入至所述异常监控项目之后,还包括:在所述应用容器中配置场景触发机制,并配置R条场景触发规则,其中,R为正整数;在应用容器中启动所述异常监控项目之后,还包括:对于所述异常监控项目对应的每个所述任务线程,在所述任务线程的运行过程中,获取所述任务线程的实时运行信息;基于所述场景触发规则和所述实时运行信息调整所有所述任务线程的运行状况。Furthermore, after the online small batch framework is pre-added to the exception monitoring project, it also includes: configuring a scenario trigger mechanism in the application container, and configuring R scenario trigger rules, where R is a positive integer; after starting the exception monitoring project in the application container, it also includes: for each task thread corresponding to the exception monitoring project, during the running process of the task thread, obtaining the real-time running information of the task thread; adjusting the running status of all the task threads based on the scenario trigger rules and the real-time running information.
进一步地,所述实时运行信息至少包括:运行状态和当前累计运行时长,基于所述场景触发规则和所述实时运行信息调整所有所述任务线程的运行状况的步骤,包括:基于第一场景触发规则,在第一任务线程的线程运行时长小于等于第一预设时长的情况下,在该第一任务线程结束且间隔所述串行间隔时长后,触发第二任务线程,其中,所述第一任务线程是所述第二任务线程的上一线程;基于第二场景触发规则,在所述第一任务线程的所述线程运行时长大于所述第一预设时长且小于等于第二预设时长的情况下,在该第一任务线程结束后触发所述第二任务线程;基于第三场景触发规则,在所述第一任务线程的所述线程运行时长大于所述第二预设时长的情况下,结束所述第一任务线程,并触发所述第二任务线程。Furthermore, the real-time operation information includes at least: the operation status and the current accumulated operation time. The step of adjusting the operation status of all the task threads based on the scenario triggering rules and the real-time operation information includes: based on the first scenario triggering rule, when the thread operation time of the first task thread is less than or equal to the first preset time, after the first task thread ends and the serial interval time is separated, triggering the second task thread, wherein the first task thread is the previous thread of the second task thread; based on the second scenario triggering rule, when the thread operation time of the first task thread is greater than the first preset time and less than or equal to the second preset time, triggering the second task thread after the first task thread ends; based on the third scenario triggering rule, when the thread operation time of the first task thread is greater than the second preset time, ending the first task thread and triggering the second task thread.
根据本发明实施例的另一方面,还提供了一种基于联机小批量框架的登录异常报警装置,包括:创建单元,用于创建异常监控项目,其中,所述异常监控项目设置为对目标金融系统的客户登录行为进行监控及报警,所述异常监控项目中已预先加入联机小批量框架,所述联机小批量框架用于处理连续流数据形式的客户登录行为数据;启动单元,用于基于所述异常监控项目的间隔等待时长和所述联机小批量框架,在应用容器中启动所述异常监控项目,得到监控结果;报警单元,用于在所述监控结果指示客户登录行为存在异常的情况下,进行登录行为报警。According to another aspect of an embodiment of the present invention, there is also provided a login anomaly alarm device based on an online small batch framework, including: a creation unit, used to create an abnormal monitoring project, wherein the abnormal monitoring project is configured to monitor and alarm the customer login behavior of the target financial system, and the online small batch framework has been pre-added to the abnormal monitoring project, and the online small batch framework is used to process customer login behavior data in the form of continuous stream data; a starting unit, used to start the abnormal monitoring project in an application container based on the interval waiting time of the abnormal monitoring project and the online small batch framework to obtain a monitoring result; an alarm unit, used to issue a login behavior alarm when the monitoring result indicates that the customer login behavior is abnormal.
进一步地,所述基于联机小批量框架的登录异常报警装置在将联机小批量框架预先加入至所述异常监控项目时用到的模块包括:分析模块,用于分析所述异常监控项目在所述联机小批量框架下所需的依赖项,并生成所述异常监控项目的配置信息,其中,所述配置信息用于记录所有所述依赖项和依赖关系;第一添加模块,用于基于所述配置信息将所有所述依赖项添加至所述异常监控项目的项目对象模型,并基于所述依赖关系在所述项目对象模型中添加项目结构描述。Furthermore, the modules used by the login exception alarm device based on the online small batch framework when pre-adding the online small batch framework to the exception monitoring project include: an analysis module, used to analyze the dependencies required by the exception monitoring project under the online small batch framework, and generate configuration information of the exception monitoring project, wherein the configuration information is used to record all the dependencies and dependency relationships; a first adding module, used to add all the dependencies to the project object model of the exception monitoring project based on the configuration information, and add a project structure description in the project object model based on the dependency relationship.
进一步地,所述基于联机小批量框架的登录异常报警装置还包括:确定模块,用于基于所述项目结构描述确定所述异常监控项目在项目运行过程中的任务调度方法;生成模块,用于基于所述任务调度方法生成任务调度构建包,其中,所述任务调度构建包用于指示所述应用容器按照所述任务调度方法调度所述异常监控项目对应的监控任务和执行所述监控任务对应的批量作业。Furthermore, the login anomaly alarm device based on the online small batch framework also includes: a determination module, used to determine the task scheduling method of the abnormal monitoring project during the project operation process based on the project structure description; a generation module, used to generate a task scheduling construction package based on the task scheduling method, wherein the task scheduling construction package is used to instruct the application container to schedule the monitoring tasks corresponding to the abnormal monitoring project and execute the batch jobs corresponding to the monitoring tasks according to the task scheduling method.
进一步地,所述基于联机小批量框架的登录异常报警装置还包括:第二添加模块,用于在所述异常监控项目的项目启动类中添加启动注解,其中,所述启动注解用于在项目运行过程中向所述应用容器请求联机小批量数据处理方式。Furthermore, the login anomaly alarm device based on the online small batch framework also includes: a second adding module, used to add a startup annotation in the project startup class of the abnormal monitoring project, wherein the startup annotation is used to request an online small batch data processing method from the application container during the project operation.
进一步地,所述基于联机小批量框架的登录异常报警装置在预先设置所述异常监控项目的间隔等待时长时用到的模块包括:创建模块,用于基于所述联机小批量框架在金融系统数据库中创建项目参数表,其中,所述项目参数表用于存储所述联机小批量框架所需参数;第一配置模块,用于在所述项目参数表中配置批量作业参数,其中,所述批量作业参数用于生成批量作业的执行环境,所述批量作业参数至少包括:上一批量作业与下一批量作业之间的所述间隔等待时长。Furthermore, the modules used by the login abnormality alarm device based on the online small batch framework when pre-setting the interval waiting time of the abnormal monitoring project include: a creation module, used to create a project parameter table in the financial system database based on the online small batch framework, wherein the project parameter table is used to store the parameters required for the online small batch framework; a first configuration module, used to configure batch job parameters in the project parameter table, wherein the batch job parameters are used to generate an execution environment for batch jobs, and the batch job parameters at least include: the interval waiting time between the previous batch job and the next batch job.
进一步地,所述批量作业参数还包括:监控任务对应的批量作业路径、监控任务命名、任务延迟时长、数据库连接参数和联机小批量线程参数。Furthermore, the batch job parameters also include: a batch job path corresponding to the monitoring task, a monitoring task name, a task delay time, a database connection parameter, and an online small batch thread parameter.
进一步地,所述基于联机小批量框架的登录异常报警装置还包括:第二配置模块,用于在所述应用容器中配置线程串行机制,并配置串行间隔时长;转化模块,用于在应用容器中启动所述异常监控项目之后,将所述异常监控项目转化为N个监控任务,并基于N个所述监控任务生成N个批量作业,其中,每个所述监控任务对应一个所述批量作业,N为正整数;建立模块,用于基于所述线程串行机制建立N个任务线程,为所述批量作业分配所述任务线程,其中,分配原则为:每个所述批量作业占用一个所述任务线程。Furthermore, the login anomaly alarm device based on the online small batch framework also includes: a second configuration module, used to configure a thread serial mechanism in the application container and configure the serial interval duration; a conversion module, used to convert the anomaly monitoring project into N monitoring tasks after starting the anomaly monitoring project in the application container, and generate N batch jobs based on the N monitoring tasks, wherein each of the monitoring tasks corresponds to one batch job, and N is a positive integer; an establishment module, used to establish N task threads based on the thread serial mechanism, and allocate the task threads to the batch jobs, wherein the allocation principle is: each of the batch jobs occupies one task thread.
进一步地,所述基于联机小批量框架的登录异常报警装置还包括:第三配置模块,用于在所述应用容器中配置场景触发机制,并配置R条场景触发规则,其中,R为正整数;获取模块,与在应用容器中启动所述异常监控项目之后,对于所述异常监控项目对应的每个所述任务线程,在所述任务线程的运行过程中,获取所述任务线程的实时运行信息;调整模块,用于基于所述场景触发规则和所述实时运行信息调整所有所述任务线程的运行状况。Furthermore, the login anomaly alarm device based on the online small batch framework also includes: a third configuration module, used to configure a scenario trigger mechanism in the application container, and configure R scenario trigger rules, where R is a positive integer; an acquisition module, after starting the abnormal monitoring project in the application container, for each task thread corresponding to the abnormal monitoring project, during the running process of the task thread, obtains the real-time running information of the task thread; an adjustment module, used to adjust the running status of all the task threads based on the scenario trigger rules and the real-time running information.
进一步地,所述实时运行信息至少包括:运行状态和当前累计运行时长,所述调整模块包括:第一触发子模块,用于基于第一场景触发规则,在第一任务线程的线程运行时长小于等于第一预设时长的情况下,在该第一任务线程结束且间隔所述串行间隔时长后,触发第二任务线程,其中,所述第一任务线程是所述第二任务线程的上一线程;第二触发子模块,用于基于第二场景触发规则,在所述第一任务线程的所述线程运行时长大于所述第一预设时长且小于等于第二预设时长的情况下,在该第一任务线程结束后触发所述第二任务线程;第三触发子模块,用于基于第三场景触发规则,在所述第一任务线程的所述线程运行时长大于所述第二预设时长的情况下,结束所述第一任务线程,并触发所述第二任务线程。Furthermore, the real-time operation information includes at least: an operation status and a current accumulated operation time, and the adjustment module includes: a first trigger submodule, for triggering the second task thread based on a first scenario trigger rule, when the thread operation time of the first task thread is less than or equal to a first preset time, after the first task thread ends and after the serial interval time, wherein the first task thread is the previous thread of the second task thread; a second trigger submodule, for triggering the second task thread based on a second scenario trigger rule, when the thread operation time of the first task thread is greater than the first preset time and less than or equal to the second preset time, after the first task thread ends; a third trigger submodule, for ending the first task thread and triggering the second task thread based on a third scenario trigger rule, when the thread operation time of the first task thread is greater than the second preset time.
根据本发明实施例的另一方面,还提供了一种计算机可读存储介质,所述计算机可读存储介质包括存储的计算机程序,其中,在所述计算机程序运行时控制所述计算机可读存储介质所在设备执行上述任意一项所述的基于联机小批量框架的登录异常报警方法。According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned login abnormality alarm methods based on the online small batch framework.
根据本发明实施例的另一方面,还提供了一种电子设备,包括一个或多个处理器和存储器,所述存储器用于存储一个或多个程序,其中,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现上述任意一项所述的基于联机小批量框架的登录异常报警方法。According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned login abnormality alarm methods based on an online small batch framework.
本发明中,提出一种基于联机小批量框架的登录异常报警方法,先创建异常监控项目,其中,异常监控项目设置为对目标金融系统的客户登录行为进行监控及报警,异常监控项目中已预先加入联机小批量框架,联机小批量框架用于处理连续流数据形式的客户登录行为数据,再基于异常监控项目的间隔等待时长和联机小批量框架,在应用容器中启动异常监控项目,得到监控结果,最后在监控结果指示客户登录行为存在异常的情况下,进行登录行为报警。In the present invention, a login anomaly alarm method based on an online small batch framework is proposed. First, an abnormal monitoring project is created, wherein the abnormal monitoring project is set to monitor and alarm the customer login behavior of the target financial system. The online small batch framework has been pre-added to the abnormal monitoring project. The online small batch framework is used to process the customer login behavior data in the form of continuous stream data. Then, based on the interval waiting time of the abnormal monitoring project and the online small batch framework, the abnormal monitoring project is started in the application container to obtain the monitoring result. Finally, when the monitoring result indicates that the customer login behavior is abnormal, a login behavior alarm is performed.
本发明中,在对客户登录情况进行监控的异常监控项目中引入联机小批量框架,便于对连续流数据形式的客户登录行为数据进行处理,在此基础上预设合适的间隔等待时长,并在应用容器中启动异常监控项目,即可按照这个时间间隔定时获取目标金融系统的客户登录情况并排查异常登录情况,进而进行登录行为报警,本发明实施例中引入联机小批量框架,利用联机小批量框架的数据流处理功能来实现自定义间隔等待时长,定义较短的间隔等待时长即可实现短时间内最大限度的提升监控频率,有效反馈异常登录行为,实现即时排查隐患的技术效果,进而解决了相关技术中客户登录信息反馈不及时,无法及时排查隐患的技术问题。In the present invention, an online small batch framework is introduced in the abnormal monitoring project for monitoring customer login status, so as to facilitate the processing of customer login behavior data in the form of continuous stream data. On this basis, a suitable interval waiting time is preset, and the abnormal monitoring project is started in the application container. The customer login status of the target financial system can be obtained regularly according to this time interval and abnormal login status can be checked, and then login behavior alarm can be performed. In the embodiment of the present invention, an online small batch framework is introduced, and the data stream processing function of the online small batch framework is used to realize the customized interval waiting time. By defining a shorter interval waiting time, the monitoring frequency can be maximized in a short time, abnormal login behavior can be effectively fed back, and the technical effect of real-time troubleshooting of hidden dangers can be achieved, thereby solving the technical problem of untimely feedback of customer login information and inability to timely troubleshoot hidden dangers in related technologies.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
图1是根据本发明实施例的一种可选的基于联机小批量框架的登录异常报警方法的流程图;FIG1 is a flow chart of an optional login abnormality alarm method based on an online small batch framework according to an embodiment of the present invention;
图2是根据本发明实施方式的客户异常登录反馈方法的流程图;2 is a flow chart of a method for providing feedback on abnormal login by a customer according to an embodiment of the present invention;
图3是根据本发明实施例的一种可选的线程触发场景流程的示意图;FIG3 is a schematic diagram of an optional thread triggering scenario process according to an embodiment of the present invention;
图4是根据本发明实施例的一种可选的基于联机小批量框架的登录异常报警装置的示意图;4 is a schematic diagram of an optional login abnormality alarm device based on an online small batch framework according to an embodiment of the present invention;
图5是根据本发明实施例的一种用于基于联机小批量框架的登录异常报警方法的电子设备(或移动设备)的硬件结构框图。FIG5 is a hardware structure block diagram of an electronic device (or mobile device) for a login abnormality alarm method based on an online small batch framework according to an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of 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.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。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 data 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. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
为便于本领域技术人员理解本发明,下面对本发明各实施例中涉及的部分术语或名词做出解释:To facilitate those skilled in the art to understand the present invention, some terms or nouns involved in the embodiments of the present invention are explained below:
Online Mini-Batch Framework,联机小批量框架,一种用于机器学习和深度学习的框架,旨在处理来自连续流数据的在线学习任务。Online Mini-Batch Framework, a framework for machine learning and deep learning, designed to handle online learning tasks from continuous streaming data.
需要说明的是,本发明中的基于联机小批量框架的登录异常报警方法及其装置可用于信息安全技术领域在对客户异常登录行为进行监控排查的情况下,也可用于除信息安全领域之外的任何领域在对客户异常登录行为进行监控排查的情况下,本发明中对基于联机小批量框架的登录异常报警方法及其装置的应用领域不做限定。It should be noted that the abnormal login alarm method and device based on the online small batch framework in the present invention can be used in the field of information security technology when monitoring and investigating abnormal customer login behaviors, and can also be used in any field except the information security field when monitoring and investigating abnormal customer login behaviors. The present invention does not limit the application field of the abnormal login alarm method and device based on the online small batch framework.
需要说明的是,本发明所涉及的相关信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等),均为经用户授权或者经过各方充分授权的信息和数据,并且相关数据的收集、存储、加工、传输、提供、公开、使用和处理需要遵守相关地区的法律法规和标准,采取了必要保密措施,不违背公序良俗,并提供有相应的操作入口,供用户选择授权或者拒绝。例如,本系统和相关用户或机构间设置有接口,在获取相关信息之前,需要通过接口向前述的用户或机构发送获取请求,并在接收到前述的用户或机构反馈的同意信息后,获取相关信息。It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the present invention are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, processing, transmission, provision, disclosure, use and processing of relevant data need to comply with the laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse. For example, an interface is set between this system and relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
本发明所涉及的信息采集(例如,用户语音、视频、文字采集)以及分析操作在执行时已经为用户提供相应的操作入口,供用户选择同意或者拒绝自动化决策结果;若用户选择拒绝,则进入专家决策流程。The information collection (for example, user voice, video, and text collection) and analysis operations involved in the present invention have provided users with corresponding operation entrances when they are executed, allowing users to choose to agree or reject the automated decision results; if the user chooses to reject, the expert decision-making process will be entered.
本发明下述各实施例可应用于各种需要进行客户登录行为监控以及异常行为报警的系统/应用/设备中,能够实现基于联机小批量框架进行客户登录异常监控和报警。本发明引入联机小批量框架,利用数据流处理功能来实现自定义较短的间隔等待时长,即可实现短时间内最大限度的提升监控频率,有效反馈异常登录行为,实现即时排查隐患的技术效果。The following embodiments of the present invention can be applied to various systems/applications/devices that need to monitor customer login behaviors and alarm abnormal behaviors, and can realize abnormal customer login monitoring and alarm based on an online small batch framework. The present invention introduces an online small batch framework and uses data stream processing functions to realize customized shorter interval waiting time, which can maximize the monitoring frequency in a short time, effectively feedback abnormal login behaviors, and achieve the technical effect of real-time troubleshooting of hidden dangers.
下面结合各个实施例来详细说明本发明。The present invention is described in detail below in conjunction with various embodiments.
实施例一Embodiment 1
根据本发明实施例,提供了一种基于联机小批量框架的登录异常报警方法的实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。According to an embodiment of the present invention, an embodiment of a login abnormality alarm method based on an online small batch framework is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
图1是根据本发明实施例的一种可选的基于联机小批量框架的登录异常报警方法的流程图,如图1所示,该方法包括如下步骤:FIG. 1 is a flow chart of an optional login abnormality alarm method based on an online small batch framework according to an embodiment of the present invention. As shown in FIG. 1 , the method includes the following steps:
步骤S101,创建异常监控项目。Step S101, creating an abnormal monitoring project.
步骤S102,基于异常监控项目的间隔等待时长和联机小批量框架,在应用容器中启动异常监控项目,得到监控结果。Step S102: based on the interval waiting time of the abnormal monitoring project and the online small batch framework, the abnormal monitoring project is started in the application container to obtain the monitoring result.
步骤S103,在监控结果指示客户登录行为存在异常的情况下,进行登录行为报警。Step S103: When the monitoring result indicates that the customer login behavior is abnormal, a login behavior alarm is issued.
通过上述步骤,可以先创建异常监控项目,其中,异常监控项目设置为对目标金融系统的客户登录行为进行监控及报警,异常监控项目中已预先加入联机小批量框架,联机小批量框架用于处理连续流数据形式的客户登录行为数据,再基于异常监控项目的间隔等待时长和联机小批量框架,在应用容器中启动异常监控项目,得到监控结果,最后在监控结果指示客户登录行为存在异常的情况下,进行登录行为报警。Through the above steps, an exception monitoring project can be created first, wherein the exception monitoring project is set to monitor and alarm the customer login behavior of the target financial system. An online small batch framework has been pre-added to the exception monitoring project, and the online small batch framework is used to process customer login behavior data in the form of continuous stream data. Then, based on the interval waiting time of the exception monitoring project and the online small batch framework, the exception monitoring project is started in the application container to obtain the monitoring results. Finally, when the monitoring results indicate that the customer login behavior is abnormal, a login behavior alarm is issued.
本发明实施例中,在对客户登录情况进行监控的异常监控项目中引入联机小批量框架,便于对连续流数据形式的客户登录行为数据进行处理,在此基础上预设合适的间隔等待时长,并在应用容器中启动异常监控项目,即可按照这个时间间隔定时获取目标金融系统的客户登录情况并排查异常登录情况,进而进行登录行为报警,本发明实施例中引入联机小批量框架,利用联机小批量框架的数据流处理功能来实现自定义间隔等待时长,定义较短的间隔等待时长即可实现短时间内最大限度的提升监控频率,有效反馈异常登录行为,实现即时排查隐患的技术效果,进而解决了相关技术中客户登录信息反馈不及时,无法及时排查隐患的技术问题。In an embodiment of the present invention, an online small batch framework is introduced in the abnormal monitoring project for monitoring customer login status, so as to facilitate the processing of customer login behavior data in the form of continuous stream data. On this basis, a suitable interval waiting time is preset, and the abnormal monitoring project is started in the application container. The customer login status of the target financial system can be obtained regularly according to this time interval and abnormal login status can be checked, and then login behavior alarm can be issued. In an embodiment of the present invention, an online small batch framework is introduced, and the data stream processing function of the online small batch framework is used to realize the custom interval waiting time. By defining a shorter interval waiting time, the monitoring frequency can be maximized in a short time, abnormal login behavior can be effectively fed back, and the technical effect of real-time troubleshooting of hidden dangers can be achieved, thereby solving the technical problem of untimely feedback of customer login information and inability to timely troubleshoot hidden dangers in related technologies.
下面结合上述各步骤对本发明实施例进行详细说明。The embodiment of the present invention is described in detail below in combination with the above steps.
本发明实施例的实施主体可以是金融系统,或者与金融系统相连的移动端金融APP,结合联机小批量框架构建数据流处理系统,提高流式数据处理速度进而提升监控频率和监控效率,及时反馈异常登录信息。The implementing entity of the embodiment of the present invention can be a financial system, or a mobile financial APP connected to the financial system. The data stream processing system is constructed in combination with an online small batch framework to improve the streaming data processing speed and thus improve the monitoring frequency and efficiency, and timely feedback abnormal login information.
需要说明的是,联机小批量框架作为能处理来自连续流数据的在线学习框架,结合机器学习技术和深度学习技术,对连续不断涌入的流式数据(本发明中指客户登录行为数据)以小批量的形式输入数据流处理系统,对客户登录行为信息进行判断和筛查,进而实现对异常登录情况的实时告警。It should be noted that the online small batch framework, as an online learning framework that can process data from continuous streams, combines machine learning technology and deep learning technology to input the continuously influx of streaming data (customer login behavior data in this invention) into the data stream processing system in the form of small batches, judge and screen the customer login behavior information, and then realize real-time alarm for abnormal login situations.
步骤S101,创建异常监控项目。Step S101, creating an abnormal monitoring project.
需要说明的是,异常监控项目设置为对目标金融系统的客户登录行为进行监控及报警,异常监控项目中已预先加入联机小批量框架,联机小批量框架用于处理连续流数据形式的客户登录行为数据。It should be noted that the abnormal monitoring project is set to monitor and alarm the customer login behavior of the target financial system. An online small batch framework has been pre-added to the abnormal monitoring project. The online small batch framework is used to process customer login behavior data in the form of continuous stream data.
具体地,在执行步骤S101之前,还包括:确定异常监控项目的目标和需求,包括:监控对象(例如用户登录行为)、监控指标(例如异常登录次数、登录地点、设备等)、预期响应和处理方式等。Specifically, before executing step S101, it also includes: determining the goals and requirements of the abnormal monitoring project, including: monitoring objects (such as user login behavior), monitoring indicators (such as the number of abnormal logins, login locations, devices, etc.), expected responses and processing methods, etc.
基于目标与需求对异常监控项目进行架构设计,包括数据采集、实时处理、规则引擎和通知机制等流程模块,以及各流程模块之间的交互关系,再选择合适的技术工具,例如流处理引擎、消息队列、数据库、安全加密算法等,然后基于技术工具编写数据采集模块、实时处理逻辑、规则引擎、通知服务等系统流程模块,最后根据交互关系对流程模块进行连接,得到异常监控项目。The architecture of the exception monitoring project is designed based on the goals and needs, including process modules such as data collection, real-time processing, rule engine and notification mechanism, as well as the interaction between each process module. Then, appropriate technical tools are selected, such as stream processing engine, message queue, database, security encryption algorithm, etc., and then based on the technical tools, system process modules such as data collection module, real-time processing logic, rule engine, notification service, etc. are written. Finally, the process modules are connected according to the interaction relationship to obtain the exception monitoring project.
将联机小批量框架引入至异常监控项目中时,包括:集成框架,根据异常监控项目的需求和架构设计将联机小批量框架集成到项目系统中,包括数据接收、处理、分析等环节;配置参数,根据项目需求配置联机小批量框架的参数,至少包括数据流处理的间隔等待时长。When the online small batch framework is introduced into the exception monitoring project, it includes: integrating the framework, integrating the online small batch framework into the project system according to the requirements and architecture design of the exception monitoring project, including data reception, processing, analysis and other links; configuring parameters, configuring the parameters of the online small batch framework according to project requirements, at least including the interval waiting time for data stream processing.
步骤S102,基于异常监控项目的间隔等待时长和联机小批量框架,在应用容器中启动异常监控项目,得到监控结果。Step S102: based on the interval waiting time of the abnormal monitoring project and the online small batch framework, the abnormal monitoring project is started in the application container to obtain the monitoring result.
具体地,在应用容器中部署和启动异常监控项目时,通常会将异常监控项目的镜像文件(包含了项目的代码、依赖和配置)上传到容器注册中心,然后通过容器编排工具进行部署和启动。部署完成后,异常监控项目会在容器中运行并开始接收和处理数据。Specifically, when deploying and starting an exception monitoring project in an application container, the image file of the exception monitoring project (including the project code, dependencies, and configuration) is usually uploaded to the container registry, and then deployed and started through the container orchestration tool. After deployment, the exception monitoring project will run in the container and start receiving and processing data.
应用容器会返回监控结果,通常是通过日志、API接口或者消息队列等方式返回,监控结果中可以包括异常登录的详细信息(如用户ID、登录时间、登录地点、登录设备等)、异常检测的结果(如是否触发了异常规则)、处理的状态(如是否已通知运维终端)等。The application container will return monitoring results, usually through logs, API interfaces or message queues. The monitoring results may include detailed information about abnormal logins (such as user ID, login time, login location, login device, etc.), anomaly detection results (such as whether abnormal rules are triggered), and processing status (such as whether the operation and maintenance terminal has been notified).
步骤S103,在监控结果指示客户登录行为存在异常的情况下,进行登录行为报警。Step S103: When the monitoring result indicates that the customer login behavior is abnormal, a login behavior alarm is issued.
通过执行上述步骤,可以引入联机小批量框架优化异常监控系统的数据处理能力,实现更高效的数据流处理,进而提升监控系统的实时性,进一步地,异常监控项目的部署和自动化运维可以提高运维人员的效率,帮助运维人员及时发现和处理异常情况,降低系统故障对业务的影响,减少人工干预和处理时间,提升金融系统的稳定性和可靠性。By executing the above steps, an online small batch framework can be introduced to optimize the data processing capabilities of the exception monitoring system, achieve more efficient data stream processing, and thus improve the real-time performance of the monitoring system. Furthermore, the deployment and automated operation and maintenance of the exception monitoring project can improve the efficiency of the operation and maintenance personnel, help them to promptly discover and handle abnormal situations, reduce the impact of system failures on the business, reduce manual intervention and processing time, and improve the stability and reliability of the financial system.
本发明实施例中,为了减少部署和配置错误的可能性,可以通过明确分析所需依赖项来生成配置信息,还可以实现降低项目维护复杂度的效果,可选地,在将联机小批量框架预先加入至异常监控项目时,包括:分析异常监控项目在联机小批量框架下所需的依赖项,并生成异常监控项目的配置信息,其中,配置信息用于记录所有依赖项和依赖关系;基于配置信息将所有依赖项添加至异常监控项目的项目对象模型,并基于依赖关系在项目对象模型中添加项目结构描述。In an embodiment of the present invention, in order to reduce the possibility of deployment and configuration errors, configuration information can be generated by explicitly analyzing the required dependencies, and the effect of reducing the complexity of project maintenance can also be achieved. Optionally, when the online small batch framework is pre-added to the exception monitoring project, it includes: analyzing the dependencies required for the exception monitoring project under the online small batch framework, and generating configuration information of the exception monitoring project, wherein the configuration information is used to record all dependencies and dependency relationships; based on the configuration information, all dependencies are added to the project object model of the exception monitoring project, and based on the dependency relationships, a project structure description is added to the project object model.
具体地,依赖项是指在项目开发和运行过程中所需的外部组件、库和模块,通常包括:第三方库、框架、数据库、消息队列以及运行环境,基于所有的依赖项建立原来关系模型来明确各个组件之间的依赖关系,包括但不限于依赖项的调用关系和初始化顺序,整合所有依赖项和依赖关系可以得到配置信息,该配置信息可以指导生成项目对象模型,需要说明的是,项目对象模型用于管理和描述项目的整体结构和各个组件之间的关系。Specifically, dependencies refer to external components, libraries, and modules required during project development and operation, usually including: third-party libraries, frameworks, databases, message queues, and operating environments. Based on all dependencies, the original relationship model is established to clarify the dependencies between components, including but not limited to the calling relationship and initialization order of dependencies. By integrating all dependencies and dependency relationships, configuration information can be obtained, and the configuration information can guide the generation of the project object model. It should be noted that the project object model is used to manage and describe the overall structure of the project and the relationship between various components.
为了确保在项目运行过程中,监控任务能够按照指定的调度方法进行执行,还可以使用任务调度构建包为应用容器提供调度指示,可选地,在基于依赖关系在项目对象模型中添加项目结构描述之后,包括:基于项目结构描述确定异常监控项目在项目运行过程中的任务调度方法;基于任务调度方法生成任务调度构建包,其中,任务调度构建包用于指示应用容器按照任务调度方法调度异常监控项目对应的监控任务和执行监控任务对应的批量作业。In order to ensure that the monitoring tasks can be executed according to the specified scheduling method during the project operation, a task scheduling construction package can also be used to provide scheduling instructions for the application container. Optionally, after adding the project structure description in the project object model based on the dependency relationship, it includes: determining the task scheduling method of the abnormal monitoring project during the project operation based on the project structure description; generating a task scheduling construction package based on the task scheduling method, wherein the task scheduling construction package is used to instruct the application container to schedule the monitoring tasks corresponding to the abnormal monitoring project and execute the batch jobs corresponding to the monitoring tasks according to the task scheduling method.
具体地,本发明实施例中的任务调度方法是指确定监控任务执行的时间和频率,还可以包括监控任务执行的策略或规则,包括但不限于:定时调度、事件触发、条件触发等,以确保监控任务在适当的时候被执行,以最有效的方式来管理资源和处理监控数据。Specifically, the task scheduling method in the embodiment of the present invention refers to determining the time and frequency of execution of the monitoring task, and may also include strategies or rules for the execution of the monitoring task, including but not limited to: timed scheduling, event triggering, conditional triggering, etc., to ensure that the monitoring task is executed at the appropriate time, and to manage resources and process monitoring data in the most efficient way.
本发明实施例可以通过注解的方式便于应用容器识别到异常监控项目应该使用联机小批量数据处理方式进行数据处理,可选地,在将联机小批量框架预先加入至异常监控项目时,包括:在异常监控项目的项目启动类中添加启动注解,其中,启动注解用于在项目运行过程中向应用容器请求联机小批量数据处理方式。The embodiment of the present invention can facilitate the application container to recognize that the exception monitoring project should use the online small batch data processing method for data processing through annotations. Optionally, when the online small batch framework is pre-added to the exception monitoring project, it includes: adding a startup annotation to the project startup class of the exception monitoring project, wherein the startup annotation is used to request the online small batch data processing method to the application container during the project operation.
具体地,添加启动注解的步骤包括:在异常监控项目的项目启动类文件中导入注解类;在项目启动类的类定义之前,使用注解类在项目启动类的声明行之间添加注解。如果项目中没有现成的注解类可用,可以自定义一个注解类。将注解添加到项目的启动类中,使得启动类在运行时能够被应用容器识别,并执行相应的操作,例如请求联机小批量数据处理方式。Specifically, the step of adding the startup annotation includes: importing the annotation class in the project startup class file of the exception monitoring project; before the class definition of the project startup class, using the annotation class to add annotations between the declaration lines of the project startup class. If there is no ready-made annotation class available in the project, you can customize an annotation class. Adding the annotation to the startup class of the project enables the startup class to be recognized by the application container at runtime and perform corresponding operations, such as requesting an online small batch data processing method.
为了实现对批量作业执行环境的管理和控制,可以在金融系统数据库中创建项目参数表并配置批量作业参数,可选地,在预先设置异常监控项目的间隔等待时长时,包括:基于联机小批量框架在金融系统数据库中创建项目参数表,其中,项目参数表用于存储联机小批量框架所需参数;在项目参数表中配置批量作业参数,其中,批量作业参数用于生成批量作业的执行环境,批量作业参数至少包括:上一批量作业与下一批量作业之间的间隔等待时长。预设间隔等待参数可以确保批量作业在执行过程中能够按照指定的时间间隔进行调度,从而合理的分配系统资源并保证监控任务的连续性,有利于维护系统的稳定性与可靠性以及提高异常监控系统的运行效率。In order to achieve the management and control of the batch job execution environment, a project parameter table can be created in the financial system database and batch job parameters can be configured. Optionally, when presetting the interval waiting time of the abnormal monitoring project, it includes: creating a project parameter table in the financial system database based on the online small batch framework, wherein the project parameter table is used to store the parameters required by the online small batch framework; configuring batch job parameters in the project parameter table, wherein the batch job parameters are used to generate the execution environment of the batch job, and the batch job parameters at least include: the interval waiting time between the previous batch job and the next batch job. The preset interval waiting parameters can ensure that the batch job can be scheduled according to the specified time interval during the execution process, thereby reasonably allocating system resources and ensuring the continuity of the monitoring task, which is conducive to maintaining the stability and reliability of the system and improving the operating efficiency of the abnormal monitoring system.
进一步地,批量作业参数还包括:监控任务对应的批量作业路径、监控任务命名、任务延迟时长、数据库连接参数和联机小批量线程参数。Furthermore, the batch job parameters also include: the batch job path corresponding to the monitoring task, the monitoring task name, the task delay time, the database connection parameters and the online small batch thread parameters.
需要说明的是,监控任务对应的批量作业路径是指在联机小批量应用(是指启动异常监控任务之后的应用容器实例)中指定一个特定的包路径用于存放批量任务的代码文件。系统能够通过配置这个包路径自动地扫描该路径下的监控任务,并将其加入到批量任务的调度中,从而实现对这些监控任务的自动管理和调度。It should be noted that the batch job path corresponding to the monitoring task refers to a specific package path specified in the online small batch application (referring to the application container instance after the abnormal monitoring task is started) for storing the code files of the batch task. By configuring this package path, the system can automatically scan the monitoring tasks under the path and add them to the scheduling of batch tasks, thereby realizing the automatic management and scheduling of these monitoring tasks.
监控任务命名是指为联机小批量应用指定一个名称或标识符,用于唯一标识一个联机小批量应用,可以在系统中区分不同的联机小批量应用,方便管理和监控,通常是在配置文件或启动参数中指定的。Monitoring task naming refers to assigning a name or identifier to an online small batch application, which is used to uniquely identify an online small batch application. Different online small batch applications can be distinguished in the system to facilitate management and monitoring. It is usually specified in a configuration file or startup parameters.
任务延迟时长是指在联机小批量应用中设置一个延迟启动时间,即在系统启动后等待一段时间再开始执行批量任务调度,用于确保系统的其他组件已经完全启动和准备就绪,避免因为系统启动阶段的不稳定性而导致批量任务的执行问题。Task delay time refers to setting a delayed start time in online small batch applications, that is, waiting for a period of time after the system starts before starting batch task scheduling, which is used to ensure that other components of the system have been fully started and are ready, and to avoid batch task execution problems caused by instability in the system startup phase.
数据库连接参数,是指在联机小批量应用中配置连接到数据库所需的参数,包括数据库的主机地址、端口号、用户名、库名、密码等。通过配置数据库连接信息,联机小批量应用可以与数据库建立连接并进行数据的读取、写入和管理操作等。Database connection parameters refer to the parameters required to configure a connection to a database in an online small batch application, including the database host address, port number, user name, database name, password, etc. By configuring database connection information, an online small batch application can establish a connection with the database and perform operations such as reading, writing, and managing data.
联机小批量线程参数是指在联机小批量应用中配置线程池相关的参数,如线程池大小、线程池的工作模式(如固定大小线程池、缓存线程池等)、线程池的超时设置等,可以优化联机小批量应用的性能和资源利用率,确保批量任务能够以高效稳定的方式执行。Online small batch thread parameters refer to the parameters related to configuring thread pools in online small batch applications, such as thread pool size, thread pool working mode (such as fixed size thread pool, cache thread pool, etc.), thread pool timeout settings, etc., which can optimize the performance and resource utilization of online small batch applications and ensure that batch tasks can be executed in an efficient and stable manner.
本发明实施例中的登录实时监控防重机制还依赖于预先设定在联机小批量框架中的串行机制,可选地,在将联机小批量框架预先加入至异常监控项目之后,还包括:在应用容器中配置线程串行机制,并配置串行间隔时长;在应用容器中启动异常监控项目之后,还包括:将异常监控项目转化为N个监控任务,并基于N个监控任务生成N个批量作业,其中,每个监控任务对应一个批量作业,N为正整数;基于线程串行机制建立N个任务线程,为批量作业分配任务线程,其中,分配原则为:每个批量作业占用一个任务线程。The login real-time monitoring and anti-duplicate mechanism in the embodiment of the present invention also relies on the serial mechanism pre-set in the online small batch framework. Optionally, after the online small batch framework is pre-added to the abnormal monitoring project, it also includes: configuring the thread serial mechanism in the application container, and configuring the serial interval duration; after starting the abnormal monitoring project in the application container, it also includes: converting the abnormal monitoring project into N monitoring tasks, and generating N batch jobs based on the N monitoring tasks, wherein each monitoring task corresponds to a batch job, and N is a positive integer; establishing N task threads based on the thread serial mechanism, and assigning task threads to batch jobs, wherein the allocation principle is: each batch job occupies one task thread.
例如,当联机小批量框架装载好后,客户登录实时监控线程需要被设置为每隔一分钟触发一次的机制,在此基础上还需要实现在上一个线程未完成前,下一个线程只能等待的串行机制。For example, after the online small batch framework is loaded, the customer login real-time monitoring thread needs to be set to a mechanism that is triggered every minute. On this basis, a serial mechanism needs to be implemented in which the next thread can only wait before the previous thread is completed.
需要说明的是,由于无法保证每个时刻的数据量完全均匀,也许在某个高并发登录场景下会出现在该时刻监控线程处理数据量骤然过大,此时如果下个线程准时开始,可能会导致两个线程同时处理还未修改监控状态的数据,导致死锁等问题。It should be noted that since it is impossible to ensure that the amount of data at each moment is completely uniform, perhaps in a high-concurrency login scenario, the amount of data processed by the monitoring thread at that moment may suddenly become too large. At this time, if the next thread starts on time, the two threads may simultaneously process data whose monitoring status has not been modified, resulting in deadlock and other problems.
本发明实施例可以通过配置场景触发机制来避免上述特殊场景导致的系统问题,可选地,在将联机小批量框架预先加入至异常监控项目之后,还包括:在应用容器中配置场景触发机制,并配置R条场景触发规则,其中,R为正整数;在应用容器中启动异常监控项目之后,还包括:对于异常监控项目对应的每个任务线程,在任务线程的运行过程中,获取任务线程的实时运行信息;基于场景触发规则和实时运行信息调整所有任务线程的运行状况。The embodiment of the present invention can avoid the system problems caused by the above-mentioned special scenarios by configuring a scenario trigger mechanism. Optionally, after the online small batch framework is pre-added to the abnormal monitoring project, it also includes: configuring the scenario trigger mechanism in the application container, and configuring R scenario trigger rules, where R is a positive integer; after starting the abnormal monitoring project in the application container, it also includes: for each task thread corresponding to the abnormal monitoring project, during the running process of the task thread, obtaining the real-time running information of the task thread; adjusting the running status of all task threads based on the scenario trigger rules and the real-time running information.
需要说明的是,实时运行信息至少包括:运行状态和当前累计运行时长,还可以包括:任务执行情况、资源占用情况、异常信息、任务依赖关系和历史运行数据等。It should be noted that the real-time operation information includes at least: the operation status and the current cumulative operation time, and may also include: task execution status, resource usage, exception information, task dependency and historical operation data.
可选地,基于场景触发规则和实时运行信息调整所有任务线程的运行状况的步骤,包括:基于第一场景触发规则,在第一任务线程的线程运行时长小于等于第一预设时长的情况下,在该第一任务线程结束且间隔串行间隔时长后,触发第二任务线程,其中,第一任务线程是第二任务线程的上一线程;基于第二场景触发规则,在第一任务线程的线程运行时长大于第一预设时长且小于等于第二预设时长的情况下,在该第一任务线程结束后触发第二任务线程;基于第三场景触发规则,在第一任务线程的线程运行时长大于第二预设时长的情况下,结束第一任务线程,并触发第二任务线程。Optionally, the step of adjusting the running status of all task threads based on scenario triggering rules and real-time running information includes: based on the first scenario triggering rule, when the thread running time of the first task thread is less than or equal to the first preset time, triggering the second task thread after the first task thread ends and the serial interval time is exceeded, wherein the first task thread is the previous thread of the second task thread; based on the second scenario triggering rule, when the thread running time of the first task thread is greater than the first preset time and less than or equal to the second preset time, triggering the second task thread after the first task thread ends; based on the third scenario triggering rule, when the thread running time of the first task thread is greater than the second preset time, ending the first task thread and triggering the second task thread.
例如,将线程触发场景分类为:For example, thread triggering scenarios are classified as:
1,如果上一线程在1分钟内跑完,则下一线程等到1分钟间隔后准时开始;1. If the previous thread finishes within 1 minute, the next thread will start on time after a 1-minute interval;
2,如果上一线程在1分钟内未能跑完,则下一线程需要等到上一线程跑完再开始;2. If the previous thread fails to finish within 1 minute, the next thread needs to wait until the previous thread finishes before starting;
3,如果一个线程运行时间超过3分钟,则立即结束进程并开始下一线程。3. If a thread runs for more than 3 minutes, the process is terminated immediately and the next thread is started.
一种可选的,本发明实施例还可以通过注解机制为所有任务线程添加串行注解,实现每个监控进程串行进行,避免进程并发占用资源,造成死锁等问题。Optionally, the embodiment of the present invention can also add serial annotations to all task threads through an annotation mechanism to implement serial execution of each monitoring process, thereby avoiding concurrent processes occupying resources and causing deadlock and other problems.
本发明实施例提供一种登录实时报警联机小批量数据处理的方法,主要应用于金融分布式服务架构下,针对金融APP客户登录信息进行实时监控,对异常登录行为进行报警。The embodiment of the present invention provides a method for online small batch data processing with real-time login alarm, which is mainly used in a financial distributed service architecture to monitor the login information of financial APP customers in real time and to alarm abnormal login behavior.
本发明实施例可以实现高频次实时监控客户登录情况,区别于低频次监控,可以有效监控异常行为,尽早发出报警,保护客户信息。The embodiment of the present invention can realize high-frequency real-time monitoring of customer login status. Different from low-frequency monitoring, it can effectively monitor abnormal behavior, issue an alarm as early as possible, and protect customer information.
本发明实施例的防高并发机制可以大大增加线程运行成功率,提高整个监控效率。The anti-high concurrency mechanism of the embodiment of the present invention can greatly increase the success rate of thread operation and improve the overall monitoring efficiency.
下面结合另一种具体的实施方式来说明本发明。The present invention is described below in conjunction with another specific implementation manner.
为解决金融系统中移动端金融APP无法及时反馈客户登录信息、无法及时排查客户登录隐患的问题,本发明实施方式结合联机小批量框架提出一种客户异常登录反馈方法,图2是根据本发明实施方式的客户异常登录反馈方法的流程图,如图2所示,该方法包括如下步骤:In order to solve the problem that the mobile financial APP in the financial system cannot timely feedback the customer login information and cannot timely check the customer login hidden dangers, the embodiment of the present invention combines the online small batch framework to propose a customer abnormal login feedback method. FIG2 is a flow chart of the customer abnormal login feedback method according to the embodiment of the present invention. As shown in FIG2, the method includes the following steps:
步骤S201,在目标项目中引入联机小批量的依赖配置,目标项目被配置为定时获取金融APP的客户登录信息并进行异常判别。Step S201, introducing an online small batch dependency configuration into the target project, the target project is configured to periodically obtain the customer login information of the financial APP and perform abnormality identification.
此处目标项目即为实施例一中提到的异常监控项目,依赖配置是指在目标项目中管理外部库或框架所需的配置信息。本发明实施方式可以通过项目管理构建工具使用项目对象模型(Project Object Model,POM)来描述目标项目的结构、依赖关系和构建过程。在目标项目中可以通过在POM文件中添加依赖项来指定所需的外部库或框架。构建项目时项目管理构建工具会自动下载这些依赖项并添加到项目类路径中。Here, the target project is the abnormal monitoring project mentioned in Example 1, and the dependency configuration refers to the configuration information required to manage the external library or framework in the target project. The embodiment of the present invention can use the Project Object Model (POM) to describe the structure, dependency relationship and construction process of the target project through the project management construction tool. In the target project, the required external library or framework can be specified by adding dependencies in the POM file. When building the project, the project management construction tool will automatically download these dependencies and add them to the project class path.
步骤S202,在目标项目的项目启动类中添加联机小批量应用注解。Step S202: adding an online small batch application annotation to the project startup class of the target project.
需要说明的是,项目启动类通常是一个JAVA类,包含了main方法,在类的声明行之前添加启动注解类,用于标识该目标项目是一个联机小批量应用,使得应用容器和应用程序框架能识别该目标项目需要使用联机小批量方式进行数据处理。It should be noted that the project startup class is usually a JAVA class that includes a main method. A startup annotation class is added before the class declaration line to identify that the target project is an online small batch application, so that the application container and application framework can recognize that the target project needs to use an online small batch method for data processing.
步骤S203,在金融数据库中配置联机小批量参数表。Step S203, configuring an online small batch parameter table in the financial database.
需要说明的是,在金融数据库中创建一个用于存储联机小批量框架所需参数的表,例如每个批量的数据量、处理数据的频率、数据来源等信息,便于动态地调整和管理联机小批量应用的行为,而不需要修改代码,在目标项目中启用并配置联机小批量框架,使得目标项目能够实现对流式数据的实时处理和更新。It should be noted that a table is created in the financial database to store the parameters required by the online small batch framework, such as the amount of data in each batch, the frequency of data processing, the source of data, and other information, so as to facilitate the dynamic adjustment and management of the behavior of the online small batch application without modifying the code. The online small batch framework is enabled and configured in the target project, so that the target project can realize real-time processing and updating of streaming data.
步骤S204,基于联机小批量参数表配置小批量文件参数。Step S204, configuring small batch file parameters based on the online small batch parameter table.
需要说明的是,小批量文件参数包括但不限于:上一批量作业与下一批量作业之间的间隔等待时长、监控任务对应的批量作业路径、监控任务命名、任务延迟时长、数据库连接参数和联机小批量线程参数。It should be noted that the small batch file parameters include but are not limited to: the waiting time between the previous batch job and the next batch job, the batch job path corresponding to the monitoring task, the monitoring task name, the task delay time, the database connection parameters and the online small batch thread parameters.
预设间隔等待参数可以确保批量作业在执行过程中能够按照指定的时间间隔进行调度,从而合理的分配系统资源并保证监控任务的连续性,有利于维护系统的稳定性与可靠性以及提高异常监控系统的运行效率。The preset interval waiting parameters can ensure that batch jobs can be scheduled according to the specified time interval during execution, thereby reasonably allocating system resources and ensuring the continuity of monitoring tasks, which is conducive to maintaining the stability and reliability of the system and improving the operating efficiency of the abnormal monitoring system.
监控任务对应的批量作业路径是指在联机小批量应用(是指启动目标任务之后的应用容器实例)中指定一个特定的包路径用于存放批量任务的代码文件。系统能够通过配置这个包路径自动地扫描该路径下的监控任务,并将其加入到批量任务的调度中,从而实现对这些监控任务的自动管理和调度。The batch job path corresponding to the monitoring task refers to a specific package path specified in the online small batch application (the application container instance after starting the target task) to store the code files of the batch task. By configuring this package path, the system can automatically scan the monitoring tasks under the path and add them to the scheduling of batch tasks, thereby realizing automatic management and scheduling of these monitoring tasks.
监控任务命名是指为联机小批量应用指定一个名称或标识符,用于唯一标识一个联机小批量应用,可以在系统中区分不同的联机小批量应用,方便管理和监控,通常是在配置文件或启动参数中指定的。Monitoring task naming refers to assigning a name or identifier to an online small batch application, which is used to uniquely identify an online small batch application. Different online small batch applications can be distinguished in the system to facilitate management and monitoring. It is usually specified in a configuration file or startup parameters.
任务延迟时长是指在联机小批量应用中设置一个延迟启动时间,即在系统启动后等待一段时间再开始执行批量任务调度,用于确保系统的其他组件已经完全启动和准备就绪,避免因为系统启动阶段的不稳定性而导致批量任务的执行问题。Task delay time refers to setting a delayed start time in online small batch applications, that is, waiting for a period of time after the system starts before starting batch task scheduling, which is used to ensure that other components of the system have been fully started and are ready, and to avoid batch task execution problems caused by instability in the system startup phase.
数据库连接参数,是指在联机小批量应用中配置连接到数据库所需的参数,包括数据库的主机地址、端口号、用户名、库名、密码等。通过配置数据库连接信息,联机小批量应用可以与数据库建立连接并进行数据的读取、写入和管理操作等。Database connection parameters refer to the parameters required to configure a connection to a database in an online small batch application, including the database host address, port number, user name, database name, password, etc. By configuring database connection information, an online small batch application can establish a connection with the database and perform operations such as reading, writing, and managing data.
联机小批量线程参数是指在联机小批量应用中配置线程池相关的参数,如线程池大小、线程池的工作模式(如固定大小线程池、缓存线程池等)、线程池的超时设置等,可以优化联机小批量应用的性能和资源利用率,确保批量任务能够以高效稳定的方式执行。Online small batch thread parameters refer to the parameters related to configuring thread pools in online small batch applications, such as thread pool size, thread pool working mode (such as fixed size thread pool, cache thread pool, etc.), thread pool timeout settings, etc., which can optimize the performance and resource utilization of online small batch applications and ensure that batch tasks can be executed in an efficient and stable manner.
步骤S205,在应用容器中启动目标项目,得到被判别为异常登录的客户登录行为。Step S205, starting the target project in the application container, and obtaining the customer login behavior that is determined to be an abnormal login.
步骤S206,针对被判别为异常登录的客户登录行为进行异常告警。Step S206: issuing an abnormal alarm for the customer login behavior that is determined to be an abnormal login.
一种可选的,针对上述登录实时监控机制还可以添加防重机制,例如,利用串行机制,当联机小批量框架装载好后,客户登录实时监控线程需要被设置为每隔一分钟触发一次的机制,在此基础上还需要实现上一个线程在未完成前,下一个线程禁止开始的串行机制,因为无法保证每个时刻的数据量完全均匀,可能在某个高并发登录场景下会导致在该时刻监控线程处理数据量过大,此时如果下个线程准时开始,可能会导致两个线程同时处理还未修改监控状态的数据,导致死锁等问题。Optionally, an anti-duplication mechanism can be added to the above-mentioned real-time login monitoring mechanism. For example, using the serial mechanism, after the online small batch framework is loaded, the customer login real-time monitoring thread needs to be set to be triggered every one minute. On this basis, it is also necessary to implement a serial mechanism that prohibits the next thread from starting before the previous thread is completed. Because it is impossible to guarantee that the amount of data at each moment is completely uniform, it may cause the monitoring thread to process too much data at that moment in a high-concurrency login scenario. At this time, if the next thread starts on time, it may cause the two threads to process data whose monitoring status has not been modified at the same time, resulting in deadlock and other problems.
另一种可选的,图3是根据本发明实施例的一种可选的线程触发场景流程的示意图,如图3所示,该场景流程包括:1,如果上一线程在1分钟内跑完,则下一线程等到1分钟间隔后准时开始;2,如果上一线程在1分钟内没跑完,则下一线程需要等到上一线程跑完再开始。Another optional embodiment, Figure 3 is a schematic diagram of an optional thread-triggered scenario process according to an embodiment of the present invention. As shown in Figure 3, the scenario process includes: 1. If the previous thread is completed within 1 minute, the next thread will wait until the 1-minute interval and start on time; 2. If the previous thread is not completed within 1 minute, the next thread needs to wait until the previous thread is completed before starting.
另外,本发明实施方式还可以设置线程触发场景为:如果一个线程运行时间超过设定超时值,则结束进程,下一线程开始;整个实时监控线程需要设置为串行,并添加注解机制,通过注解实现每个监控进程串行进行,避免进程并发占用资源,造成死锁等问题。In addition, the implementation mode of the present invention can also set the thread trigger scenario as follows: if the running time of a thread exceeds the set timeout value, the process is terminated and the next thread starts; the entire real-time monitoring thread needs to be set to serial, and an annotation mechanism is added to implement the serial execution of each monitoring process through annotation, so as to avoid concurrent processes occupying resources and causing deadlock and other problems.
下面结合另一种可选的实施例来说明本发明。The present invention is described below in conjunction with another optional embodiment.
实施例二Embodiment 2
本实施例中提供的一种基于联机小批量框架的登录异常报警装置包含了多个实施单元,每个实施单元对应于上述实施例一中的各个实施步骤。The login abnormality alarm device based on the online small batch framework provided in this embodiment includes multiple implementation units, and each implementation unit corresponds to each implementation step in the above-mentioned embodiment one.
图4是根据本发明实施例的一种可选的基于联机小批量框架的登录异常报警装置的示意图,如图4所示,该装置可以包括:创建单元41,启动单元42,报警单元43。FIG4 is a schematic diagram of an optional login abnormality alarm device based on an online small batch framework according to an embodiment of the present invention. As shown in FIG4 , the device may include: a creation unit 41 , a startup unit 42 , and an alarm unit 43 .
其中,创建单元41,用于创建异常监控项目,其中,所述异常监控项目设置为对目标金融系统的客户登录行为进行监控及报警,所述异常监控项目中已预先加入联机小批量框架,所述联机小批量框架用于处理连续流数据形式的客户登录行为数据;The creation unit 41 is used to create an abnormal monitoring project, wherein the abnormal monitoring project is set to monitor and alarm the customer login behavior of the target financial system, and an online small batch framework has been pre-added in the abnormal monitoring project, and the online small batch framework is used to process the customer login behavior data in the form of continuous stream data;
启动单元42,用于基于所述异常监控项目的间隔等待时长和所述联机小批量框架,在应用容器中启动所述异常监控项目,得到监控结果;A starting unit 42, configured to start the abnormal monitoring project in an application container based on the interval waiting time of the abnormal monitoring project and the online small batch framework, and obtain a monitoring result;
报警单元43,用于在所述监控结果指示客户登录行为存在异常的情况下,进行登录行为报警。The alarm unit 43 is used to issue a login behavior alarm when the monitoring result indicates that the client login behavior is abnormal.
上述基于联机小批量框架的登录异常报警装置,可以先通过创建单元41创建异常监控项目,其中,异常监控项目设置为对目标金融系统的客户登录行为进行监控及报警,异常监控项目中已预先加入联机小批量框架,联机小批量框架用于处理连续流数据形式的客户登录行为数据,再通过启动单元42基于异常监控项目的间隔等待时长和联机小批量框架,在应用容器中启动异常监控项目,得到监控结果,最后通过报警单元43在监控结果指示客户登录行为存在异常的情况下,进行登录行为报警。The above-mentioned login anomaly alarm device based on the online small batch framework can first create an anomaly monitoring project through the creation unit 41, wherein the anomaly monitoring project is set to monitor and alarm the customer login behavior of the target financial system, and the online small batch framework has been pre-added to the anomaly monitoring project. The online small batch framework is used to process customer login behavior data in the form of continuous stream data, and then the startup unit 42 is used to start the anomaly monitoring project in the application container based on the interval waiting time of the anomaly monitoring project and the online small batch framework to obtain the monitoring result. Finally, the alarm unit 43 performs a login behavior alarm when the monitoring result indicates that the customer login behavior is abnormal.
在本发明实施例中,在对客户登录情况进行监控的异常监控项目中引入联机小批量框架,便于对连续流数据形式的客户登录行为数据进行处理,在此基础上预设合适的间隔等待时长,并在应用容器中启动异常监控项目,即可按照这个时间间隔定时获取目标金融系统的客户登录情况并排查异常登录情况,进而进行登录行为报警,本发明实施例中引入联机小批量框架,利用联机小批量框架的数据流处理功能来实现自定义间隔等待时长,定义较短的间隔等待时长即可实现短时间内最大限度的提升监控频率,有效反馈异常登录行为,实现即时排查隐患的技术效果,进而解决了相关技术中客户登录信息反馈不及时,无法及时排查隐患的技术问题。In an embodiment of the present invention, an online small batch framework is introduced in the abnormal monitoring project for monitoring customer login status, so as to facilitate the processing of customer login behavior data in the form of continuous stream data. On this basis, a suitable interval waiting time is preset, and the abnormal monitoring project is started in the application container. The customer login status of the target financial system can be obtained regularly according to this time interval and abnormal login status can be checked, and then login behavior alarm can be issued. In an embodiment of the present invention, an online small batch framework is introduced, and the data stream processing function of the online small batch framework is used to realize custom interval waiting time. By defining a shorter interval waiting time, the monitoring frequency can be maximized in a short time, abnormal login behavior can be effectively fed back, and the technical effect of real-time troubleshooting of hidden dangers can be achieved, thereby solving the technical problem of untimely feedback of customer login information and inability to timely troubleshoot hidden dangers in related technologies.
可选地,基于联机小批量框架的登录异常报警装置在将联机小批量框架预先加入至异常监控项目时用到的模块包括:分析模块,用于分析异常监控项目在联机小批量框架下所需的依赖项,并生成异常监控项目的配置信息,其中,配置信息用于记录所有依赖项和依赖关系;第一添加模块,用于基于配置信息将所有依赖项添加至异常监控项目的项目对象模型,并基于依赖关系在项目对象模型中添加项目结构描述。Optionally, the modules used by the login exception alarm device based on the online small batch framework when pre-adding the online small batch framework to the exception monitoring project include: an analysis module, used to analyze the dependencies required by the exception monitoring project under the online small batch framework, and generate configuration information of the exception monitoring project, wherein the configuration information is used to record all dependencies and dependency relationships; a first adding module, used to add all dependencies to the project object model of the exception monitoring project based on the configuration information, and add a project structure description in the project object model based on the dependency relationship.
可选地,基于联机小批量框架的登录异常报警装置还包括:确定模块,用于基于项目结构描述确定异常监控项目在项目运行过程中的任务调度方法;生成模块,用于基于任务调度方法生成任务调度构建包,其中,任务调度构建包用于指示应用容器按照任务调度方法调度异常监控项目对应的监控任务和执行监控任务对应的批量作业。Optionally, the login anomaly alarm device based on the online small batch framework also includes: a determination module, which is used to determine the task scheduling method of the abnormal monitoring project during the project operation process based on the project structure description; a generation module, which is used to generate a task scheduling construction package based on the task scheduling method, wherein the task scheduling construction package is used to instruct the application container to schedule the monitoring tasks corresponding to the abnormal monitoring project and execute the batch jobs corresponding to the monitoring tasks according to the task scheduling method.
可选地,基于联机小批量框架的登录异常报警装置还包括:第二添加模块,用于在异常监控项目的项目启动类中添加启动注解,其中,启动注解用于在项目运行过程中向应用容器请求联机小批量数据处理方式。Optionally, the login anomaly alarm device based on the online small batch framework also includes: a second adding module, used to add a startup annotation in the project startup class of the abnormal monitoring project, wherein the startup annotation is used to request an online small batch data processing method from the application container during the project operation.
可选地,基于联机小批量框架的登录异常报警装置在预先设置异常监控项目的间隔等待时长时用到的模块包括:创建模块,用于基于联机小批量框架在金融系统数据库中创建项目参数表,其中,项目参数表用于存储联机小批量框架所需参数;第一配置模块,用于在项目参数表中配置批量作业参数,其中,批量作业参数用于生成批量作业的执行环境,批量作业参数至少包括:上一批量作业与下一批量作业之间的间隔等待时长。Optionally, the modules used by the login exception alarm device based on the online small batch framework when pre-setting the interval waiting time of the exception monitoring project include: a creation module, used to create a project parameter table in the financial system database based on the online small batch framework, wherein the project parameter table is used to store the parameters required for the online small batch framework; a first configuration module, used to configure batch job parameters in the project parameter table, wherein the batch job parameters are used to generate the execution environment of the batch job, and the batch job parameters include at least: the interval waiting time between the previous batch job and the next batch job.
可选地,批量作业参数还包括:监控任务对应的批量作业路径、监控任务命名、任务延迟时长、数据库连接参数和联机小批量线程参数。Optionally, the batch job parameters also include: a batch job path corresponding to the monitoring task, a monitoring task name, a task delay duration, database connection parameters, and online small batch thread parameters.
可选地,基于联机小批量框架的登录异常报警装置还包括:第二配置模块,用于在应用容器中配置线程串行机制,并配置串行间隔时长;转化模块,用于在应用容器中启动异常监控项目之后,将异常监控项目转化为N个监控任务,并基于N个监控任务生成N个批量作业,其中,每个监控任务对应一个批量作业,N为正整数;建立模块,用于基于线程串行机制建立N个任务线程,为批量作业分配任务线程,其中,分配原则为:每个批量作业占用一个任务线程。Optionally, the login anomaly alarm device based on the online small batch framework also includes: a second configuration module, used to configure a thread serial mechanism in the application container, and configure the serial interval duration; a conversion module, used to convert the anomaly monitoring project into N monitoring tasks after starting the anomaly monitoring project in the application container, and generate N batch jobs based on the N monitoring tasks, wherein each monitoring task corresponds to a batch job, and N is a positive integer; an establishment module, used to establish N task threads based on the thread serial mechanism, and allocate task threads to batch jobs, wherein the allocation principle is: each batch job occupies one task thread.
可选地,基于联机小批量框架的登录异常报警装置还包括:第三配置模块,用于在应用容器中配置场景触发机制,并配置R条场景触发规则,其中,R为正整数;获取模块,与在应用容器中启动异常监控项目之后,对于异常监控项目对应的每个任务线程,在任务线程的运行过程中,获取任务线程的实时运行信息;调整模块,用于基于场景触发规则和实时运行信息调整所有任务线程的运行状况。Optionally, the login anomaly alarm device based on the online small batch framework also includes: a third configuration module, used to configure a scenario trigger mechanism in the application container, and configure R scenario trigger rules, where R is a positive integer; an acquisition module, after starting the anomaly monitoring project in the application container, for each task thread corresponding to the anomaly monitoring project, during the running process of the task thread, acquires the real-time running information of the task thread; an adjustment module, used to adjust the running status of all task threads based on the scenario trigger rules and the real-time running information.
可选地,实时运行信息至少包括:运行状态和当前累计运行时长,调整模块包括:第一触发子模块,用于基于第一场景触发规则,在第一任务线程的线程运行时长小于等于第一预设时长的情况下,在该第一任务线程结束且间隔串行间隔时长后,触发第二任务线程,其中,第一任务线程是第二任务线程的上一线程;第二触发子模块,用于基于第二场景触发规则,在第一任务线程的线程运行时长大于第一预设时长且小于等于第二预设时长的情况下,在该第一任务线程结束后触发第二任务线程;第三触发子模块,用于基于第三场景触发规则,在第一任务线程的线程运行时长大于第二预设时长的情况下,结束第一任务线程,并触发第二任务线程。Optionally, the real-time operation information includes at least: the operation status and the current accumulated operation time, and the adjustment module includes: a first trigger submodule, which is used to trigger the second task thread based on the first scenario trigger rule, when the thread operation time of the first task thread is less than or equal to the first preset time, after the first task thread ends and the serial interval time is exceeded, wherein the first task thread is the previous thread of the second task thread; a second trigger submodule, which is used to trigger the second task thread based on the second scenario trigger rule, when the thread operation time of the first task thread is greater than the first preset time and less than or equal to the second preset time, after the first task thread ends; a third trigger submodule, which is used to end the first task thread and trigger the second task thread based on the third scenario trigger rule, when the thread operation time of the first task thread is greater than the second preset time.
上述的基于联机小批量框架的登录异常报警装置还可以包括处理器和存储器,上述创建单元41,启动单元42,报警单元43等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。The above-mentioned login abnormality alarm device based on the online small batch framework can also include a processor and a memory. The above-mentioned creation unit 41, startup unit 42, alarm unit 43, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize the corresponding functions.
上述处理器中包含内核,由内核去存储器中调取相应的程序单元。内核可以设置一个或以上,通过调整内核参数来基于异常监控项目的间隔等待时长和联机小批量框架,在应用容器中启动异常监控项目,得到监控结果,并在监控结果指示客户登录行为存在异常的情况下,进行登录行为报警。The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters are adjusted to start the abnormal monitoring project in the application container based on the interval waiting time of the abnormal monitoring project and the online small batch framework, and the monitoring results are obtained. When the monitoring results indicate that the customer login behavior is abnormal, a login behavior alarm is issued.
上述存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少一个存储芯片。The above-mentioned memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.
本申请还提供了一种计算机程序产品,当在数据处理设备上执行时,适于执行初始化有如下方法步骤的程序:创建异常监控项目,其中,异常监控项目设置为对目标金融系统的客户登录行为进行监控及报警,异常监控项目中已预先加入联机小批量框架,联机小批量框架用于处理连续流数据形式的客户登录行为数据;基于异常监控项目的间隔等待时长和联机小批量框架,在应用容器中启动异常监控项目,得到监控结果;在监控结果指示客户登录行为存在异常的情况下,进行登录行为报警。The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the following method steps: creating an abnormal monitoring project, wherein the abnormal monitoring project is configured to monitor and alarm customer login behaviors of a target financial system, an online small batch framework has been pre-added to the abnormal monitoring project, and the online small batch framework is used to process customer login behavior data in the form of continuous stream data; based on the interval waiting time of the abnormal monitoring project and the online small batch framework, the abnormal monitoring project is started in an application container to obtain monitoring results; and when the monitoring results indicate that the customer login behavior is abnormal, a login behavior alarm is issued.
根据本发明实施例的另一方面,还提供了一种计算机可读存储介质,计算机可读存储介质包括存储的计算机程序,其中,在计算机程序运行时控制计算机可读存储介质所在设备执行上述实施例一中任意一项的基于联机小批量框架的登录异常报警方法。According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned embodiments of the first embodiment, a login abnormality alarm method based on an online small batch framework.
根据本发明实施例的另一方面,还提供了一种电子设备,包括一个或多个处理器和存储器,存储器用于存储一个或多个程序,其中,当一个或多个程序被一个或多个处理器执行时,使得一个或多个处理器实现上述实施例一中任意一项的基于联机小批量框架的登录异常报警方法。According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement the login abnormality alarm method based on an online small batch framework of any one of the above-mentioned embodiments one.
图5是根据本发明实施例的一种用于基于联机小批量框架的登录异常报警方法的电子设备(或移动设备)的硬件结构框图。如图5所示,电子设备可以包括一个或多个(图5中采用502a、502b,……,502n来示出)处理器502(处理器502可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器504。除此以外,还可以包括:显示器、输入/输出接口(I/O接口)、通用串行总线(USB)端口(可以作为I/O接口的端口中的一个端口被包括)、网络接口、键盘、电源和/或相机。本领域普通技术人员可以理解,图5所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,电子设备还可包括比图5中所示更多或者更少的组件,或者具有与图5所示不同的配置。FIG. 5 is a hardware structure block diagram of an electronic device (or mobile device) for a login abnormality alarm method based on an online small batch framework according to an embodiment of the present invention. As shown in FIG. 5 , the electronic device may include one or more (502a, 502b, ..., 502n are used in FIG. 5 to illustrate) processors 502 (the processor 502 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 504 for storing data. In addition, it may also include: a display, an input/output interface (I/O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a keyboard, a power supply and/or a camera. It can be understood by a person skilled in the art that the structure shown in FIG. 5 is only for illustration, and it does not limit the structure of the above-mentioned electronic device. For example, the electronic device may also include more or fewer components than those shown in FIG. 5 , or have a configuration different from that shown in FIG. 5 .
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如单元的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410682748.8A CN118642929A (en) | 2024-05-29 | 2024-05-29 | Login abnormality alarm method and device based on online small batch framework |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410682748.8A CN118642929A (en) | 2024-05-29 | 2024-05-29 | Login abnormality alarm method and device based on online small batch framework |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118642929A true CN118642929A (en) | 2024-09-13 |
Family
ID=92666587
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410682748.8A Pending CN118642929A (en) | 2024-05-29 | 2024-05-29 | Login abnormality alarm method and device based on online small batch framework |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118642929A (en) |
-
2024
- 2024-05-29 CN CN202410682748.8A patent/CN118642929A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111831420B (en) | Method for task scheduling, related device and computer program product | |
US11876817B2 (en) | Modeling queue-based message-oriented middleware relationships in a security system | |
US11238036B2 (en) | System performance logging of complex remote query processor query operations | |
US10348809B2 (en) | Naming of distributed business transactions | |
US9530110B2 (en) | Autonomic management of autonomous management systems | |
JP7254975B2 (en) | Key-based logging for processing structured data items with executable logic | |
US10216527B2 (en) | Automated software configuration management | |
CN110928655A (en) | A task processing method and device | |
US8538793B2 (en) | System and method for managing real-time batch workflows | |
US20220201024A1 (en) | Modeling Topic-Based Message-Oriented Middleware within a Security System | |
WO2018223123A1 (en) | Methods and apparatus for parameter tuning using a cloud service | |
US20130227577A1 (en) | Automated Administration Using Composites of Atomic Operations | |
CN112307046A (en) | Data acquisition method and device, computer readable storage medium and electronic equipment | |
US20090089772A1 (en) | Arrangement for scheduling jobs with rules and events | |
KR102411131B1 (en) | Data backup reporting method and system | |
CN118963923B (en) | Method, device and medium for dynamically scheduling value stream process plug-ins using K8S technology | |
US11330068B2 (en) | Methods and systems for recording user operations on a cloud management platform | |
CN118642929A (en) | Login abnormality alarm method and device based on online small batch framework | |
US20240220237A1 (en) | Smart grouping of code packages | |
US9691038B2 (en) | Method and apparatus for examining workflow processes | |
CN115061892A (en) | Log generation method and device and computer readable storage medium | |
CN114328070A (en) | Data tilt detection method, device and related equipment | |
CN111538491A (en) | Data event processing method, device, equipment and storage medium | |
US20240069961A1 (en) | Batch functions framework | |
US10185577B2 (en) | Run-time adaption of external properties controlling operation of applications |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |