CN114745441A - Identify task scheduling methods and scheduling components - Google Patents
Identify task scheduling methods and scheduling components Download PDFInfo
- Publication number
- CN114745441A CN114745441A CN202011542279.8A CN202011542279A CN114745441A CN 114745441 A CN114745441 A CN 114745441A CN 202011542279 A CN202011542279 A CN 202011542279A CN 114745441 A CN114745441 A CN 114745441A
- Authority
- CN
- China
- Prior art keywords
- task
- authentication
- appraiser
- authenticator
- appraisal
- 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
Images
Classifications
-
- 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/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Storage Device Security (AREA)
Abstract
本公开提供了一种鉴定任务调度方法,应用于调度组件,包括:接收来自至少一个鉴定器的任务领取请求;根据所述至少一个鉴定器的任务领取请求,从服务器中获取至少一个鉴定任务,以及获取与各所述鉴定任务关联的待鉴定对象;针对每一所述鉴定器,根据所述鉴定器的任务领取请求,向所述鉴定器分配鉴定任务,以使所述鉴定器基于被分配的鉴定任务,从所述调度组件中获取与所述被分配的鉴定任务关联的待鉴定对象。本公开还提供了一种鉴定任务调度组件、一种电子设备以及一种计算机可读存储介质。
The present disclosure provides an authentication task scheduling method, applied to a scheduling component, comprising: receiving a task acquisition request from at least one authenticator; acquiring at least one authentication task from a server according to the task acquisition request of the at least one authenticator, and obtaining the object to be authenticated associated with each of the authentication tasks; for each of the authenticators, according to a task claim request of the authenticator, assigning an authentication task to the authenticator, so that the authenticator is assigned an authentication task based on the The identification task is obtained, and the object to be identified associated with the assigned identification task is obtained from the scheduling component. The present disclosure also provides an authentication task scheduling component, an electronic device, and a computer-readable storage medium.
Description
技术领域technical field
本公开涉及网络安全领域,特别是涉及一种鉴定任务调度方法、一种鉴定任务调度组件、一种电子设备、一种计算机可读存储介质以及一种计算机程序产品。The present disclosure relates to the field of network security, and in particular, to an authentication task scheduling method, an authentication task scheduling component, an electronic device, a computer-readable storage medium, and a computer program product.
背景技术Background technique
随着计算机技术的迅速发展,网络安全问题得以日益广泛的关注。利用鉴定器对网络数据进行鉴定,是甄别网络数据是否存在安全风险的重要手段。With the rapid development of computer technology, network security issues have been paid more and more attention. Using an authenticator to authenticate network data is an important means to identify whether there is a security risk in network data.
在实现本公开发明构思的过程中,发明人发现相关技术中在利用鉴定器执行鉴定任务时,由同一机器中的多个鉴定器向服务器获取鉴定任务,和获取与鉴定任务关联的待鉴定对象,该种鉴定任务执行方法存在带宽资源消耗大、鉴定效率低的问题。In the process of realizing the inventive concept of the present disclosure, the inventor found that in the related art, when using an authenticator to perform an authentication task, multiple authenticators in the same machine obtain the authentication task from the server, and obtain the object to be authenticated associated with the authentication task. However, this identification task execution method has the problems of large consumption of bandwidth resources and low identification efficiency.
发明内容SUMMARY OF THE INVENTION
本公开的一个方面提供了一种鉴定任务调度方法,应用于调度组件,包括:接收来自至少一个鉴定器的任务领取请求;根据所述至少一个鉴定器的任务领取请求,从服务器中获取至少一个鉴定任务,以及获取与各所述鉴定任务关联的待鉴定对象;针对每一所述鉴定器,根据所述鉴定器的任务领取请求,向所述鉴定器分配鉴定任务,以使所述鉴定器基于被分配的鉴定任务,从所述调度组件中获取与所述被分配的鉴定任务关联的待鉴定对象。One aspect of the present disclosure provides an authentication task scheduling method, applied to a scheduling component, comprising: receiving a task acquisition request from at least one authenticator; and obtaining at least one task acquisition request from a server according to the task acquisition request of the at least one authenticator Identifying tasks, and obtaining the objects to be identified associated with each of the identifying tasks; for each of the identifying devices, assigning an identifying task to the identifying device according to the identifying device's task receiving request, so that the identifying device Based on the assigned authentication task, the to-be-authenticated object associated with the assigned authentication task is obtained from the scheduling component.
可选地,在获取与各所述鉴定任务关联的待鉴定对象时,包括:确定本地是否缓存有与待获取的待鉴定对象相同的对象;若有,则将本地缓存的所述对象作为所述待鉴定对象。Optionally, when acquiring the object to be authenticated associated with each of the authentication tasks, it includes: determining whether there is an object that is the same as the object to be authenticated to be acquired in the local cache; if so, using the locally cached object as the Describe the object to be identified.
可选地,所述根据所述至少一个鉴定器的任务领取请求,从服务器中获取至少一个鉴定任务,包括:根据自前一次从所述服务器中获取所述鉴定任务起的预设时长内接收的所述至少一个鉴定器的任务领取请求,从所述服务器中获取至少一个鉴定任务。Optionally, the obtaining at least one appraisal task from the server according to the task claim request of the at least one appraiser includes: according to the data received within a preset time period since the previous obtaining of the appraisal task from the server. For the task acquisition request of the at least one authenticator, at least one authentication task is obtained from the server.
可选地,所述根据自前一次从所述服务器中获取所述鉴定任务起的预设时长内接收的所述至少一个鉴定器的任务领取请求,从所述服务器中获取至少一个鉴定任务,包括:根据所述预设时长内接收的各所述鉴定器的任务领取请求,确定各所述鉴定器请求领取的鉴定任务数量和鉴定任务类型;根据各所述鉴定器请求领取的鉴定任务数量和鉴定任务类型,从所述服务器中获取至少一个鉴定任务。Optionally, obtaining at least one appraisal task from the server according to a task claim request of the at least one appraiser received within a preset time period since the appraisal task was obtained from the server last time, comprising: : Determine the number of appraisal tasks and the type of appraisal tasks requested by each of the appraisers according to the task claim requests of the appraisers received within the preset duration; The authentication task type is obtained, and at least one authentication task is obtained from the server.
可选地,所述根据所述预设时长内接收的各所述鉴定器的任务领取请求,确定各所述鉴定器请求领取的鉴定任务数量,包括:在所述预设时长内当接收到同一鉴定器的多个任务领取请求时,将所述多个任务领取请求中指示的最大鉴定任务数量,作为所述鉴定器请求领取的鉴定任务数量。Optionally, determining the number of appraisal tasks requested by each of the appraisers according to the task claim requests of the appraisers received within the preset time period includes: when receiving the request within the preset time period In the case of multiple task claim requests from the same appraiser, the maximum number of appraisal tasks indicated in the multiple task claim requests is taken as the number of appraisal tasks requested by the appraiser.
可选地,本方法还包括:建立与各所述鉴定器关联的内存实例;所述根据所述鉴定器的任务领取请求,向所述鉴定器分配鉴定任务,包括:根据所述鉴定器的任务领取请求,确定针对所述鉴定器的待分配的鉴定任务;将所述待分配的鉴定任务存入与所述鉴定器关联的内存实例中。Optionally, the method further includes: establishing a memory instance associated with each of the appraisers; and assigning an appraisal task to the appraiser according to a task acquisition request of the appraiser, comprising: according to the appraiser's In the task acquisition request, the identification task to be allocated to the authenticator is determined; and the authentication task to be allocated is stored in a memory instance associated with the authenticator.
可选地,本方法还包括:接收所述鉴定器以预设频次发送的心跳信息;以及,当在预设时长内未接收到某一所述鉴定器的心跳信息时,确定所述鉴定器异常;删除与异常鉴定器关联的内存实例。Optionally, the method further includes: receiving heartbeat information sent by the identifier at a preset frequency; and, when the heartbeat information of a certain identifier is not received within a preset time period, determining the identifier Exception; deletes the memory instance associated with the exception identifier.
可选地,本方法还包括:建立与各所述待鉴定对象关联的内存实例;以及当确定所述待鉴定对象被关联的所有鉴定器扫描完成,或者确定所述待鉴定对象在所述调度组件中的缓存时间超过预设阈值时,删除与所述待鉴定对象关联的内存实例。Optionally, the method further includes: establishing a memory instance associated with each object to be authenticated; and when it is determined that the object to be authenticated has been scanned by all associated authenticators, or it is determined that the object to be authenticated is in the scheduler When the cache time in the component exceeds a preset threshold, the memory instance associated with the object to be authenticated is deleted.
可选地,本方法还包括:接收各所述鉴定器返回的鉴定结果;汇总各所述鉴定器针对相同鉴定任务的鉴定结果;将汇总后的针对各所述鉴定任务的鉴定结果返回给所述服务器。Optionally, the method further includes: receiving the appraisal results returned by each of the appraisers; summarizing the appraisal results of each of the appraisers for the same appraisal task; returning the summarized appraisal results for each of the appraisal tasks to the all appraisal tasks. mentioned server.
可选地,所述鉴定器与所述调度组件位于同一运行环境中。Optionally, the authenticator and the scheduling component are located in the same operating environment.
本公开的另一方面提供了一种鉴定任务调度方法,应用于鉴定器,包括:向所述调度组件发送任务领取请求;从所述调度组件中获取基于所述任务领取请求被分配的鉴定任务,以及获取与所述被分配的鉴定任务关联的待鉴定对象;进行针对所述待鉴定对象的鉴定操作,以及将得到的鉴定结果返回所述调度组件。Another aspect of the present disclosure provides an appraisal task scheduling method, applied to an appraiser, comprising: sending a task claim request to the scheduling component; acquiring from the scheduling component an appraisal task assigned based on the task claim request , and obtain the object to be authenticated associated with the assigned authentication task; perform an authentication operation on the object to be authenticated, and return the obtained authentication result to the scheduling component.
可选地,所述调度组件建立有与所述鉴定器关联的内存实例;所述从所述调度组件中获取基于所述任务领取请求被分配的鉴定任务,包括:从与所述鉴定器关联的内存实例中获取所述被分配的鉴定任务。Optionally, the scheduling component establishes a memory instance associated with the authenticator; the obtaining, from the scheduling component, the authentication task assigned based on the task claim request includes: obtaining from the scheduling component associating with the authenticator The memory instance of the assigned authentication task is obtained.
可选地,所述调度组件建立有与所述待鉴定对象关联的内存实例;所述获取与所述被分配的鉴定任务关联的待鉴定对象,包括:从与所述待鉴定对象关联的内存实例中获取所述待鉴定对象。Optionally, the scheduling component establishes a memory instance associated with the object to be authenticated; the acquiring the object to be authenticated associated with the assigned authentication task includes: from the memory associated with the object to be authenticated The object to be authenticated is obtained in an instance.
可选地,以预设频次向所述调度组件发送心跳信息。Optionally, heartbeat information is sent to the scheduling component at a preset frequency.
本公开的另一方面提供了一种鉴定任务调度组件,包括:鉴定器管理模块、鉴定任务管理模块和待鉴定对象管理模块,每两个所述管理模块之间通信连接,其中,所述鉴定器管理模块用于接收来自至少一个鉴定器的任务领取请求;所述鉴定任务管理模块用于根据所述至少一个鉴定器的任务领取请求,从服务器中获取至少一个鉴定任务,以及针对每一所述鉴定器,根据所述鉴定器的任务领取请求,向所述鉴定器分配鉴定任务;所述待鉴定对象管理模块用于获取与各所述鉴定任务关联的待鉴定对象,以使所述鉴定器基于被分配的鉴定任务,从所述待鉴定对象管理模块中获取与所述被分配的鉴定任务关联的待鉴定对象。Another aspect of the present disclosure provides an authentication task scheduling component, comprising: an authenticator management module, an authentication task management module and an object to be authenticated management module, each of which is communicatively connected, wherein the authentication The appraiser management module is used for receiving the task claim request from at least one appraiser; the appraisal task management module is used for obtaining at least one appraisal task from the server according to the task claim request of the at least one appraiser, and for each appraiser The appraiser assigns an appraisal task to the appraiser according to the task receiving request of the appraiser; Based on the assigned identification task, the controller acquires the object to be authenticated associated with the assigned identification task from the object management module to be authenticated.
可选地,所述获取与各所述鉴定任务关联的待鉴定对象,包括:所述待鉴定对象管理模块确定本地是否缓存有与待获取的待鉴定对象相同的对象;若有,则将本地缓存的所述对象作为所述待鉴定对象。Optionally, the acquiring the object to be authenticated associated with each of the authentication tasks includes: the object to be authenticated management module determines whether there is a local cache of the same object as the to-be-authenticated object to be acquired; The cached object is used as the object to be authenticated.
可选地,所述根据所述至少一个鉴定器的任务领取请求,从服务器中获取至少一个鉴定任务,包括:所述鉴定任务管理模块根据自前一次从所述服务器中获取所述鉴定任务起的预设时长内所述鉴定器管理模块接收的所述至少一个鉴定器的任务领取请求,从所述服务器中获取至少一个鉴定任务。Optionally, the obtaining at least one appraisal task from the server according to the task claim request of the at least one appraiser includes: the appraisal task management module according to the previous acquisition of the appraisal task from the server. The at least one authentication task is acquired from the server according to the task acquisition request of the at least one authenticator received by the authenticator management module within a preset time period.
可选地,所述鉴定器管理模块根据所述预设时长内接收的各所述鉴定器的任务领取请求,确定各所述鉴定器请求领取的鉴定任务数量和鉴定任务类型;所述鉴定任务管理模块根据所述鉴定器管理模块确定的各所述鉴定器请求领取的鉴定任务数量和鉴定任务类型,从所述服务器中获取至少一个鉴定任务。Optionally, the appraiser management module determines the number of appraisal tasks and the appraisal task type requested by each appraiser according to the task claim request of each appraiser received within the preset duration; the appraisal task The management module acquires at least one authentication task from the server according to the number of authentication tasks and the type of authentication tasks requested by each authenticator determined by the authenticator management module.
可选地,所述根据所述预设时长内接收的各所述鉴定器的任务领取请求,确定各所述鉴定器请求领取的鉴定任务数量,包括:所述鉴定器管理模块在所述预设时长内当接收到同一鉴定器的多个任务领取请求时,将所述多个任务领取请求中指示的最大鉴定任务数量,作为所述鉴定器请求领取的鉴定任务数量。Optionally, the determining the number of appraisal tasks requested by each of the appraisers according to the task claim request of each of the appraisers received within the preset time period includes: the appraiser management module is in the preset time period. When multiple task claim requests from the same appraiser are received within the set time period, the maximum number of appraisal tasks indicated in the multiple task claim requests is taken as the number of appraisal tasks requested by the appraiser.
可选地,所述鉴定器管理模块还用于建立与各所述鉴定器关联的内存实例;所述根据所述鉴定器的任务领取请求,向所述鉴定器分配鉴定任务,包括:所述鉴定任务管理模块根据所述鉴定器的任务领取请求,确定针对所述鉴定器的待分配的鉴定任务,以及将所述待分配的鉴定任务存入与所述鉴定器关联的内存实例中。Optionally, the authenticator management module is further configured to establish a memory instance associated with each of the authenticators; the assigning an authentication task to the authenticator according to a task claim request of the authenticator, including: the The appraisal task management module determines the appraisal task to be allocated to the appraiser according to the task claim request of the appraiser, and stores the appraisal task to be allocated in a memory instance associated with the appraiser.
可选地,所述鉴定器管理模块还用于:接收所述鉴定器以预设频次发送的心跳信息;以及,当在预设时长内未接收到某一所述鉴定器的心跳信息时,确定所述鉴定器异常,并删除与异常鉴定器关联的内存实例。Optionally, the identifier management module is further configured to: receive the heartbeat information sent by the identifier at a preset frequency; and, when the heartbeat information of a certain identifier is not received within a preset duration, The identifier is determined to be anomalous, and the memory instance associated with the anomaly identifier is deleted.
可选地,所述待鉴定对象管理模块还用于:建立与各所述待鉴定对象关联的内存实例;以及,当确定所述待鉴定对象被关联的所有鉴定器扫描完成,或者确定所述待鉴定对象的缓存时间超过预设阈值时,删除与所述待鉴定对象关联的内存实例。Optionally, the to-be-authenticated object management module is further configured to: establish a memory instance associated with each of the to-be-authenticated objects; When the cache time of the object to be authenticated exceeds a preset threshold, the memory instance associated with the object to be authenticated is deleted.
可选地,所述鉴定器管理模块还用于:接收各所述鉴定器返回的鉴定结果;汇总各所述鉴定器针对相同鉴定任务的鉴定结果;将汇总后的针对各所述鉴定任务的鉴定结果返回给所述服务器。Optionally, the appraiser management module is further configured to: receive the appraisal results returned by the appraisers; summarize the appraisal results of the appraisers for the same appraisal task; The authentication result is returned to the server.
可选地,所述鉴定器与所述调度组件位于同一运行环境中。Optionally, the authenticator and the scheduling component are located in the same operating environment.
本公开的另一方面提供了一种鉴定任务处理系统,包括:服务器、鉴定器和本公开实施例的调度组件,其中,所述鉴定器与所述调度组件位于同一运行环境中。Another aspect of the present disclosure provides an authentication task processing system, including: a server, an authenticator, and a scheduling component of an embodiment of the present disclosure, wherein the authenticator and the scheduling component are located in the same operating environment.
本公开的另一方面提供了一种电子设备,包括:一个或多个处理器;存储器,用于存储一个或多个程序,其中,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现本公开实施例的方法。Another aspect of the present disclosure provides an electronic device, comprising: one or more processors; a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more programs When executed by the processor, the one or more processors are caused to implement the methods of the embodiments of the present disclosure.
本公开的另一方面提供了一种计算机可读存储介质,存储有计算机可执行指令,所述指令在被执行时用于实现本公开实施例的的方法。Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions that, when executed, are used to implement methods of embodiments of the present disclosure.
本公开的另一方面提供了一种计算机程序产品,包括计算机可读指令,其中,所述计算机可读指令被执行时用于执行本公开实施例的的方法。Another aspect of the present disclosure provides a computer program product comprising computer-readable instructions, wherein the computer-readable instructions, when executed, are used to perform a method of an embodiment of the present disclosure.
附图说明Description of drawings
为了更完整地理解本公开及其优势,现在将参考结合附图的以下描述,其中:For a more complete understanding of the present disclosure and its advantages, reference will now be made to the following description taken in conjunction with the accompanying drawings, in which:
图1示意性示出了根据本公开实施例的鉴定任务调度方法和装置的系统架构;FIG. 1 schematically shows the system architecture of the method and apparatus for scheduling an authentication task according to an embodiment of the present disclosure;
图2示意性示出了根据本公开实施例的一种鉴定任务调度方法的流程图;FIG. 2 schematically shows a flowchart of a method for scheduling identification tasks according to an embodiment of the present disclosure;
图3示意性示出了根据本公开实施例的鉴定任务调度过程的示意图;FIG. 3 schematically shows a schematic diagram of an authentication task scheduling process according to an embodiment of the present disclosure;
图4示意性示出了根据本公开实施例的获取鉴定任务方法的流程图;FIG. 4 schematically shows a flowchart of a method for obtaining an authentication task according to an embodiment of the present disclosure;
图5示意性示出了根据本公开实施例的另一鉴定任务调度方法的流程图;FIG. 5 schematically shows a flowchart of another authentication task scheduling method according to an embodiment of the present disclosure;
图6A示意性示出了相关技术中的鉴定任务处理系统的结构示意图;6A schematically shows a schematic structural diagram of an identification task processing system in the related art;
图6B示意性示出了本公开实施例的鉴定任务处理系统的结构示意图;FIG. 6B schematically shows a schematic structural diagram of an authentication task processing system according to an embodiment of the present disclosure;
图7示意性示出了根据本公开实施例的鉴定任务调度组件的框图;以及FIG. 7 schematically illustrates a block diagram of an authentication task scheduling component according to an embodiment of the present disclosure; and
图8示意性示出了根据本公开实施例的电子设备的框图。FIG. 8 schematically shows a block diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式Detailed ways
以下,将参照附图来描述本公开的实施例。但是应该理解,这些描述只是示例性地,而并非要限制本公开的范围。在下面的详细描述中,为便于解释,阐述了许多具体的细节以提供对本公开实施例的全面理解。然而,明显地,一个或多个实施例在没有这些具体细节的情况下也可以被实施。此外,在以下说明中,省略了对公知结构和技术的描述,以避免不必要地混淆本公开的概念。Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood, however, that these descriptions are exemplary only, and are not intended to limit the scope of the present disclosure. In the following detailed description, for convenience of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It will be apparent, however, that one or more embodiments may be practiced without these specific details. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concepts of the present disclosure.
在此使用的术语仅仅是为了描述具体实施例,而并非意在限制本公开。在此使用的术语“包括”、“包含”等表明了特征、步骤、操作和/或部件的存在,但是并不排除存在或添加一个或多个其他特征、步骤、操作或部件。The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the present disclosure. The terms "comprising", "comprising" and the like used herein indicate the presence of features, steps, operations and/or components, but do not preclude the presence or addition of one or more other features, steps, operations or components.
在此使用的所有术语(包括技术和科学术语)具有本领域技术人员通常所理解的含义,除非另外定义。应注意,这里使用的术语应解释为具有与本说明书的上下文相一致的含义,而不应以理想化或过于刻板的方式来解释。All terms (including technical and scientific terms) used herein have the meaning as commonly understood by one of ordinary skill in the art, unless otherwise defined. It should be noted that terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly rigid manner.
在使用类似于“A、B和C等中至少一个”这样的表述的情况下,一般来说应该按照本领域技术人员通常理解该表述的含义来予以解释(例如,“具有A、B和C中至少一个的系统”应包括但不限于单独具有A、单独具有B、单独具有C、具有A和B、具有A和C、具有B和C、和/或具有A、B、C的系统等)。Where expressions like "at least one of A, B, and C, etc.," are used, they should generally be interpreted in accordance with the meaning of the expression as commonly understood by those skilled in the art (eg, "has A, B, and C") At least one of the "systems" shall include, but not be limited to, systems with A alone, B alone, C alone, A and B, A and C, B and C, and/or A, B, C, etc. ).
附图中示出了一些方框图和/或流程图。应理解,方框图和/或流程图中的一些方框或其组合可以由计算机程序指令来实现。这些计算机程序指令可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器,从而这些指令在由该处理器执行时可以创建用于实现这些方框图和/或流程图中所说明的功能/操作的装置。本公开的技术可以硬件和/或软件(包括固件、微代码等)的形式来实现。另外,本公开的技术可以采取存储有指令的计算机可读存储介质上的计算机程序产品的形式,该计算机程序产品可供指令执行系统使用或者结合指令执行系统使用。Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some of the blocks in the block diagrams and/or flowcharts, or combinations thereof, can be implemented by computer program instructions. The computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, when executed by the processor, may be created to implement the functions illustrated in the block diagrams and/or flow diagrams /Operating the device. The techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). Additionally, the techniques of the present disclosure may take the form of a computer program product on a computer-readable storage medium having stored instructions for use by or in conjunction with an instruction execution system.
本公开的实施例提供了一种鉴定任务调度方法以及能够应用该方法的操作装置,该方法例如可以包括如下操作。首先,接收来自至少一个鉴定器的任务领取请求,以及,根据至少一个鉴定器的任务领取请求,从服务器中获取至少一个鉴定任务,以及获取与各鉴定任务关联的待鉴定对象,然后,针对每一鉴定器,根据鉴定器的任务领取请求,向鉴定器分配鉴定任务,以使鉴定器基于被分配的鉴定任务,从调度组件中获取与被分配的鉴定任务关联的待鉴定对象。Embodiments of the present disclosure provide a method for scheduling an authentication task and an operating device capable of applying the method. For example, the method may include the following operations. First, receive a task acquisition request from at least one authenticator, and, according to the task acquisition request from at least one authenticator, acquire at least one authentication task from the server, and acquire the object to be authenticated associated with each authentication task, and then, for each authentication task An appraiser assigns an appraisal task to the appraiser according to the appraiser's task receiving request, so that the appraiser obtains the object to be appraised associated with the assigned appraisal task from the scheduling component based on the assigned appraisal task.
图1示意性示出了根据本公开实施例的鉴定任务调度方法和装置的系统架构。需要注意的是,图1所示仅为可以应用本公开实施例的系统架构的示例,以帮助本领域技术人员理解本公开的技术内容,但并不意味着本公开实施例不可以用于其他设备、系统、环境或场景。FIG. 1 schematically shows a system architecture of an authentication task scheduling method and apparatus according to an embodiment of the present disclosure. It should be noted that FIG. 1 is only an example of a system architecture to which the embodiments of the present disclosure can be applied, so as to help those skilled in the art to understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used for other A device, system, environment or scene.
如图1所示,该系统架构100包括:至少一个终端(图中示出了多个,如终端101、102、103)、网络104和服务器105。网络104用于在终端(如终端101、102、103)和服务器105之间提供通信链路,网络104可以包括各种连接类型,例如包括无线通信链路、有线通信链路、光纤电缆等。服务器105响应于用户的服务请求而提供鉴定服务,一个服务器可以提供一种或多种鉴定服务,同一鉴定服务也可以由多个服务器完成。示例性地,服务器105为云端服务器,其可以提供的鉴定服务至少包括云检测服务、恶意代码鉴定服务、文件信誉判定服务等。As shown in FIG. 1 , the
在该系统架构100中,终端(如终端101、102、103)中设置有调度组件(如调度组件101A)和鉴定器(如鉴定器101B、101C、101D)。调度组件(如调度组件101A)接收来自同一终端中的至少一个鉴定器(如鉴定器101B、101C、101D)的任务领取请求,根据至少一个鉴定器的任务领取请求,从服务器105中获取至少一个鉴定任务,以及获取与各鉴定任务关联的待鉴定对象,然后针对每一鉴定器,调度组件根据鉴定器的任务领取请求,向鉴定器分配鉴定任务,以使鉴定器基于被分配的鉴定任务,从调度组件中获取与被分配的鉴定任务关联的待鉴定对象。In the
需要注意的是,图1所示仅为可以应用本公开实施例的系统架构的示例,以帮助本领域技术人员理解本公开的技术内容,但并不意味着本公开实施例不可以用于其他系统架构。It should be noted that FIG. 1 is only an example of a system architecture to which the embodiments of the present disclosure can be applied, so as to help those skilled in the art to understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used for other system structure.
以下将结合附图和具体实施例详细阐述本公开。The present disclosure will be described in detail below with reference to the accompanying drawings and specific embodiments.
图2示意性示出了根据本公开实施例的一种鉴定任务调度方法的流程图,该方法应用于调度组件。FIG. 2 schematically shows a flow chart of a method for scheduling an identification task according to an embodiment of the present disclosure, where the method is applied to a scheduling component.
如图2所示,该方法200可以包括操作S210~S230。As shown in FIG. 2, the
在操作S210,接收来自至少一个鉴定器的任务领取请求。In operation S210, a task claim request from at least one authenticator is received.
在本公开实施例中,具体地,调度组件与鉴定器位于同一运行环境中,更具体地,调度组件与鉴定器位于同一终端中。根据鉴定方法所基于的特征不同,鉴定器可以包括基于静态特征的鉴定器、基于动态特征的鉴定器和综合鉴定器,综合鉴定器可以同时基于静态特征和动态特征进行鉴定。静态特征例如可以包括文件名称、文件版本、文件长度、文件类型、程序版本、程序形态、API(应用程序接口)数量等信息。动态特征例如可以包括自启动行为、进程隐藏行为、通信隐藏行为、注册表白动加载行为、注册表修改行为、系统文件修改行为、记录键盘操作的行为、修改浏览器中网页内容的行为、修改执行应用文件的行为等。In the embodiment of the present disclosure, specifically, the scheduling component and the authenticator are located in the same operating environment, and more specifically, the scheduling component and the authenticator are located in the same terminal. According to the different features based on the identification method, the identifiers can include static feature-based identifiers, dynamic feature-based identifiers, and comprehensive identifiers. The static features may include, for example, information such as file name, file version, file length, file type, program version, program form, and number of APIs (application programming interfaces). Dynamic features may include, for example, self-starting behavior, process hiding behavior, communication hiding behavior, registry automatic loading behavior, registry modification behavior, system file modification behavior, recording keyboard operation behavior, behavior of modifying web page content in the browser, modification of Execute the behavior of the application file, etc.
调度组件接收各鉴定器以预设频率发送的心跳信息,例如接收各鉴定器以预设频率发送的ping请求。当调度组件首次接收到某个鉴定器的ping请求时,调度组件建立针对该鉴定器的内存实例,内存实例包括与该鉴定器的实际运行信息相同的信息。当在预设时长内没有接收到某一鉴定器的心跳信息时,调度组件确定该鉴定器异常。为保证调度组件中的内存实例与鉴定器的实际运行情况一致,调度组件删除与异常鉴定器关联的内存实例。The scheduling component receives heartbeat information sent by each authenticator at a preset frequency, for example, receiving a ping request sent by each authenticator at a preset frequency. When the scheduling component receives a ping request from an authenticator for the first time, the scheduling component creates a memory instance for the authenticator, and the memory instance includes the same information as the actual operation information of the authenticator. When the heartbeat information of a certain authenticator is not received within a preset time period, the scheduling component determines that the authenticator is abnormal. In order to ensure that the memory instance in the scheduling component is consistent with the actual operation of the identifier, the scheduling component deletes the memory instance associated with the exception identifier.
可选地,可采用Relay-Job组件实现本实施例中的调度组件。Optionally, a Relay-Job component may be used to implement the scheduling component in this embodiment.
接下来,在操作S220,根据至少一个鉴定器的任务领取请求,从服务器中获取至少一个鉴定任务,以及获取与各鉴定任务关联的待鉴定对象。Next, in operation S220, at least one authentication task is acquired from the server according to the task acquisition request of the at least one authenticator, and the to-be-authenticated object associated with each authentication task is acquired.
在本实施例中,具体地,鉴定器的任务领取请求指示鉴定器请求领取的鉴定任务数量和鉴定任务类型。鉴定器可以基于自身硬件参数、运行参数和当前工作状态生成任务领取请求,运行参数例如可以包括运行速率、处理鉴定任务所占用的资源消耗等信息,当前工作状态例如可以包括未鉴定、正在鉴定的鉴定任务数量等信息。In this embodiment, specifically, the task claim request of the appraiser indicates the number of appraisal tasks and the appraisal task type requested by the appraiser. The evaluator can generate a task claim request based on its own hardware parameters, operating parameters and current working status. The operating parameters can include, for example, information such as the running rate and the resource consumption occupied by the appraisal task. Information such as the number of identification tasks.
服务器响应于用户的鉴定服务请求而提供鉴定服务,鉴定服务例如可以包括云检测服务、恶意代码鉴定服务、文件信誉判定服务等。服务器的数据库汇总存储动态的鉴定任务信息,以及存储与鉴定任务关联的待鉴定对象,待鉴定对象为需要利用终端中的鉴定器进行鉴定的对象,例如可以包括待鉴定的样本文件、日志数据、软件代码、程序脚本等。The server provides an authentication service in response to a user's request for an authentication service, and the authentication service may include, for example, a cloud detection service, a malicious code authentication service, a file reputation determination service, and the like. The database of the server aggregates and stores the dynamic identification task information, and stores the objects to be identified associated with the identification tasks. The objects to be identified are the objects that need to be identified by the identification device in the terminal, such as sample files to be identified, log data, Software code, program script, etc.
示例性地,用户请求对某恶意代码进行鉴定,具体需要利用鉴定器鉴定恶意代码的类型,恶意代码的类型例如可以包括病毒、木马、广告软件、后门等。鉴定器可以对恶意代码的命名字段进行鉴定,判断恶意代码执行所需的操作系统环境、恶意代码的家族信息、恶意代码家族的变种信息、文件感染型病毒的感染长度等信息,以此实现判断恶意代码类型。Exemplarily, when a user requests to authenticate a certain malicious code, an authenticator specifically needs to be used to identify the type of malicious code, and the type of malicious code may include, for example, viruses, Trojans, adware, and backdoors. The identifier can identify the named fields of the malicious code, and determine the operating system environment required for the execution of the malicious code, the family information of the malicious code, the variant information of the malicious code family, the infection length of the file-infecting virus, etc., so as to realize the judgment. Malicious code type.
调度组件响应于接收的至少一个鉴定器的任务领取请求,从服务器中获取至少一个鉴定任务,以及获取与各鉴定任务关联的待鉴定对象。具体地,调度组件根据各鉴定器请求领取的鉴定任务数量和鉴定任务类型,从服务器中获取至少一个鉴定任务。除此之外,还可以根据各鉴定任务的任务标识,进行针对至少一个鉴定任务的获取操作,其中,任务标识指示鉴定任务类型和鉴定执行要求,鉴定执行要求例如包括用户指示的执行鉴定任务所需的鉴定器类型和鉴定器数量等信息。The scheduling component acquires at least one authentication task from the server in response to the received task claim request of the at least one authenticator, and acquires the to-be-authenticated object associated with each authentication task. Specifically, the scheduling component acquires at least one authentication task from the server according to the number of authentication tasks and the type of authentication tasks requested by each authenticator. In addition, the acquisition operation for at least one authentication task can also be performed according to the task identifier of each authentication task, wherein the task identifier indicates the type of the authentication task and the authentication execution requirement, and the authentication execution requirement includes, for example, the execution of the authentication task instructed by the user. Information such as the type of authenticator required and the number of authenticators.
调度组件建立与待鉴定对象关联的内存实例,内存实例包括待鉴定对象的数据结构、下载地址、报文标识、IP地址、存储位置等属性信息集合。建立与待鉴定对象关联的内存实例的同时,调度组件启动下载逻辑从服务器中获取待鉴定对象,并将待鉴定对象缓存在与待鉴定对象关联的内存实例中。可选地,在获取与各鉴定任务关联的待鉴定对象时,调度组件确定本地是否缓存有与待获取的待鉴定对象相同的对象,若有,则将本地缓存的对象作为待鉴定对象。具体地,调度组件确定本地是否存在针对待获取的待鉴定对象的内存实例,若存在则不重复建立内存实例,而是直接通知待鉴定对象下载完成。The scheduling component establishes a memory instance associated with the object to be authenticated, and the memory instance includes a set of attribute information such as the data structure, download address, message identifier, IP address, and storage location of the object to be authenticated. While establishing the memory instance associated with the object to be authenticated, the scheduling component starts the download logic to obtain the object to be authenticated from the server, and caches the object to be authenticated in the memory instance associated with the object to be authenticated. Optionally, when acquiring the to-be-authenticated object associated with each authentication task, the scheduling component determines whether the same object as the to-be-authenticated object to be acquired is cached locally, and if so, the locally cached object is used as the to-be-authenticated object. Specifically, the scheduling component determines whether there is a local memory instance for the to-be-authenticated object to be acquired, and if so, does not repeat the establishment of the memory instance, but directly informs the to-be-authenticated object that the download is complete.
利用调度组件从服务器中获取与鉴定任务关联的待鉴定对象,并且针对同一鉴定任务,调度组件只需从服务器中获取一次待鉴定对象。相较于相关技术中的同一终端的多个鉴定器分别从服务器中获取相同的待鉴定对象,本实施例通过优化待鉴定对象的下载次数,能够有效实现减少执行鉴定任务的网络资源耗费、节省终端带宽消耗达到资源利用最大化的目的。并且,对于已经建立的针对待鉴定对象的内存实例不再重复建立,通过避免重复下载待鉴定对象,有利于进一步减少终端带宽消耗,有利于进一步提高网络资源利用率和鉴定任务执行效率。The scheduling component is used to acquire the object to be authenticated associated with the authentication task from the server, and for the same authentication task, the scheduling component only needs to acquire the object to be authenticated from the server once. Compared with the multiple authenticators of the same terminal in the related art respectively obtaining the same object to be authenticated from the server, the present embodiment can effectively reduce the network resource consumption and save the cost of performing the authentication task by optimizing the number of downloads of the object to be authenticated. The terminal bandwidth consumption achieves the purpose of maximizing resource utilization. In addition, the established memory instance for the object to be authenticated is not repeatedly established. By avoiding repeated downloading of the object to be authenticated, it is beneficial to further reduce the bandwidth consumption of the terminal and further improve the utilization rate of network resources and the execution efficiency of the authentication task.
接下来,在操作S230,针对每一鉴定器,根据鉴定器的任务领取请求,向鉴定器分配鉴定任务,以使鉴定器基于被分配的鉴定任务,从调度组件中获取与被分配的鉴定任务关联的待鉴定对象。Next, in operation S230, for each appraiser, according to the task pick-up request of the appraiser, assign the appraiser task to the appraiser, so that the appraiser obtains and assigns the appraiser task from the scheduling component based on the assigned appraisal task. The associated object to be authenticated.
在本实施例中,具体地,鉴定器与调度组件位于同一运行环境中,该运行环境内可能设置有多个鉴定器。针对每一鉴定器,调度组件根据鉴定器的任务领取请求,向鉴定器分配鉴定任务。具体地,调度组件根据鉴定器的任务领取请求,将待分配给鉴定器的鉴定任务,存放于针对鉴定器的内存实例中,更具体地,将鉴定任务存放于内存实例的待领取缓存中,以等待鉴定器从待领取缓存中领取被分配的鉴定任务。在从调度组件领取到被分配的鉴定任务后,鉴定器基于被分配的鉴定任务,从调度组件中下载与被分配的鉴定任务关联的待鉴定对象。In this embodiment, specifically, the authenticator and the scheduling component are located in the same operating environment, and multiple authenticators may be set in the operating environment. For each appraiser, the scheduling component assigns an appraisal task to the appraiser according to the appraiser's task pickup request. Specifically, the scheduling component stores the appraisal task to be allocated to the appraiser in the memory instance for the appraiser according to the task claim request of the appraiser, and more specifically, stores the appraisal task in the to-be-claimed cache of the memory instance, To wait for the appraiser to pick up the assigned appraisal task from the buffer to be picked up. After receiving the assigned authentication task from the scheduling component, the authenticator downloads the to-be-authenticated object associated with the assigned authentication task from the scheduling component based on the assigned authentication task.
调度组件中的待鉴定对象不会被无限分配,在待鉴定对象被关联的所有鉴定器扫描完成,或者确定待鉴定对象在调度组件中的缓存时间超过预设阈值时,删除与待鉴定对象关联的内存实例。示例性地,待鉴定对象为待鉴定的样本文件,确定与样本文件关联的鉴定器包括鉴定器A1、鉴定器A2和鉴定器A3,当确定样本文件被鉴定器A1、鉴定器A2和鉴定器A3扫描完成,则删除与样本文件关联的内存实例;或者,当样本文件在调度组件中的缓存时间超过一个小时,即与样本文件关联的内存实例在调度组件中的存留时间超过一个小时,则删除与样本文件关联的内存实例。通过对调度组件中的内存实例进行优化,有利于提升调度组件的资源利用率。The objects to be authenticated in the scheduling component will not be allocated infinitely. When the objects to be authenticated are scanned by all associated authenticators, or the cache time of the objects to be authenticated in the scheduling component is determined to exceed the preset threshold, the association with the objects to be authenticated will be deleted. instance of memory. Exemplarily, the object to be authenticated is the sample file to be authenticated, and it is determined that the authenticators associated with the sample file include authenticator A1, authenticator A2 and authenticator A3, when it is determined that the sample file is identified by authenticator A1, authenticator A2 and authenticator A3 After the A3 scan is completed, the memory instance associated with the sample file is deleted; or, when the sample file is cached in the scheduling component for more than one hour, that is, the memory instance associated with the sample file remains in the scheduling component for more than one hour, then Delete the memory instance associated with the sample file. By optimizing the memory instance in the scheduling component, it is beneficial to improve the resource utilization of the scheduling component.
在鉴定器执行针对待鉴定对象的鉴定操作时,各鉴定器生成针对待鉴定对象的鉴定结果。鉴定结果例如可以包括待鉴定对象的可信度和信誉值,可信度例如包括以下任一:黑、白、灰、疑黑和疑白。黑表征待鉴定对象具有恶意性,白表征待鉴定对象具有安全性,灰表征不确定,疑黑表征待鉴定对象可能具有恶意性,疑白表征待鉴定对象可能具有安全性。信誉值可以采用数值特征进行表示,例如当某待鉴定对象的可信度为黑时,其信誉值为100,当某待鉴定对象的可信度为灰时,其信誉值为5,信誉值表征针对待鉴定对象的鉴定结果的可靠程度。When an authenticator performs an authentication operation for an object to be authenticated, each authenticator generates an authentication result for the object to be authenticated. The identification result may include, for example, the credibility and reputation value of the object to be identified, and the credibility includes, for example, any of the following: black, white, gray, suspected black, and suspected white. Black indicates that the object to be identified is malicious, white indicates that the object to be identified is safe, gray indicates uncertainty, suspected black indicates that the object to be identified may be malicious, and white indicates that the object to be identified may be safe. The reputation value can be represented by numerical features. For example, when the credibility of an object to be identified is black, its credibility value is 100, and when the credibility of an object to be identified is gray, its credibility value is 5, and the credibility value Characterizes the reliability of the identification results for the object to be identified.
鉴定器在生成针对待鉴定对象的鉴定结果后,区别于相关技术中鉴定器将所得的鉴定结果发送给服务器,本实施例中鉴定器将所得的鉴定结果发送给调度组件。调度组件接收各鉴定器返回的鉴定结果,并对各鉴定器针对相同鉴定任务的鉴定结果进行汇总,即对各鉴定器针对同一待鉴定对象的鉴定结果进行汇总,并将汇总后的针对各鉴定任务的鉴定结果返回给服务器。After the authenticator generates the authentication result for the object to be authenticated, different from the authenticator in the related art, the authenticator sends the obtained authentication result to the server. In this embodiment, the authenticator sends the obtained authentication result to the scheduling component. The scheduling component receives the appraisal results returned by each appraiser, and summarizes the appraisal results of each appraiser for the same appraisal task, that is, summarizes the appraisal results of each appraiser for the same object to be appraised, and summarizes the summarized appraisal results for each appraisal task. The authentication result of the task is returned to the server.
示例性地,上游用户请求对某日志数据进行鉴定,其要求使用A、B、C类型各5个鉴定器进行鉴定。调度组件对A、B、C类型各5个鉴定器的鉴定结果进行汇总,并将汇总后的鉴定结果返回服务器。在针对该日志数据的15个鉴定结果中,13个鉴定结果指示日志数据为白,2个鉴定结果指示日志数据为疑白,服务器确定该日志数据的最终鉴定结果为白,并将最终鉴定结果返回给上游用户。Exemplarily, an upstream user requests to authenticate a certain log data, which requires the use of 5 authenticators of type A, B, and C for authentication. The scheduling component aggregates the authentication results of the five authenticators of type A, B, and C, and returns the aggregated authentication results to the server. Among the 15 identification results for the log data, 13 identification results indicate that the log data is white, and 2 identification results indicate that the log data is suspected to be white. The server determines that the final identification result of the log data is white, and the final identification result Return to the upstream user.
通过本实施例,利用调度组件接收来自至少一个鉴定器的任务领取请求,和根据至少一个鉴定器的任务领取请求,从服务器中获取至少一个鉴定任务,以及获取与各鉴定任务关联的待鉴定对象,然后针对每一鉴定器,根据鉴定器的任务领取请求,向鉴定器分配鉴定任务,以使鉴定器基于被分配的鉴定任务,从调度组件中获取与被分配的鉴定任务关联的待鉴定对象。利用调度组件从服务器中获取与鉴定任务关联的待鉴定对象,由至少一个鉴定器从调度组件中获取待鉴定对象,相比于相关技术中由至少一个鉴定器直接从服务器中获取相同待鉴定对象,本实施例通过优化从服务器中下载待鉴定对象的次数,有效减少了获取待鉴定对象的网络资源消耗,通过节省终端带宽消耗达到了资源利用最大化的目的。With this embodiment, the scheduling component is used to receive a task acquisition request from at least one authenticator, and according to the task acquisition request from the at least one authenticator, at least one authentication task is acquired from the server, and the to-be-authenticated object associated with each authentication task is acquired , and then for each appraiser, according to the appraiser's task acquisition request, assign an appraisal task to the appraiser, so that the appraiser obtains the object to be appraised associated with the assigned appraisal task from the scheduling component based on the assigned appraisal task . Using the scheduling component to obtain the object to be authenticated associated with the authentication task from the server, and obtaining the object to be authenticated from the scheduling component by at least one authenticator, compared with the related art, at least one authenticator directly obtains the same object to be authenticated from the server In this embodiment, by optimizing the number of times of downloading the object to be authenticated from the server, network resource consumption for acquiring the object to be authenticated is effectively reduced, and the purpose of maximizing resource utilization is achieved by saving terminal bandwidth consumption.
图3示意性示出了根据本公开实施例的鉴定任务调度过程的示意图,如图3所示,在鉴定任务调度过程300中,用户通过用户终端301向服务器302发送鉴定请求,用于请求对待鉴定对象进行鉴定,服务器302在接收到用户的鉴定请求后,生成鉴定任务并获取与鉴定任务关联的待鉴定对象,待鉴定对象具体可由用户通过用户终端301发送至服务器302,也可由服务器302通过其他途径获得。鉴定终端303(鉴定系统可能存在多个鉴定终端,图3示意性示出了鉴定终端303)包括调度组件和n个鉴定器,n为大于3的整数。调度组件接收n个鉴定器中的至少部分鉴定器的任务领取请求,基于接收到的至少部分鉴定器的任务领取请求,调度组件从服务器302中获取鉴定任务,以及获取与鉴定任务关联的待鉴定对象。调度组件根据各鉴定器的任务领取请求,向各鉴定器分配鉴定任务,以使各鉴定器基于被分配的鉴定任务,从调度组件中获取与被分配的鉴定任务关联的待鉴定对象并进行鉴定,各鉴定器将鉴定得到的鉴定结果返回给调度组件,调度组件对针对相同鉴定任务的鉴定结果进行汇总,并将汇总后的鉴定结果返回服务器302,以供服务器302将汇总后的鉴定结果返回用户终端301。FIG. 3 schematically shows a schematic diagram of an authentication task scheduling process according to an embodiment of the present disclosure. As shown in FIG. 3 , in the authentication
图4示意性示出了根据本公开实施例的获取鉴定任务方法的流程图。FIG. 4 schematically shows a flowchart of a method for acquiring an authentication task according to an embodiment of the present disclosure.
如图4所示,操作S220例如可以包括操作S410~S420。As shown in FIG. 4 , operation S220 may include, for example, operations S410 to S420.
在操作S410,根据自前一次从服务器中获取鉴定任务起的预设时长内接收的至少一个鉴定器的任务领取请求,确定各鉴定器请求领取的鉴定任务数量和鉴定任务类型。In operation S410, according to the task claim request of at least one appraiser received within a preset time period since the last time the appraisal task was obtained from the server, determine the number of appraisal tasks and the appraisal task type requested by each appraiser.
在本实施例中,具体地,调度组件可以以预设频率从服务器中获取鉴定任务,以及获取与鉴定任务关联的待鉴定对象,示例性地,调度组件每隔1s从服务器中获取一次鉴定任务。鉴定器可以以预设频率向调度组件发送任务领取请求,也可以根据需要随时向调度组件发送任务领取请求。示例性地,鉴定器每隔100ms向调度组件发送一次任务领取请求。In this embodiment, specifically, the scheduling component may acquire the authentication task from the server at a preset frequency, and acquire the object to be authenticated associated with the authentication task, for example, the scheduling component acquires the authentication task from the server every 1s . The evaluator can send a task acquisition request to the scheduling component at a preset frequency, or can send a task acquisition request to the scheduling component at any time as needed. Exemplarily, the evaluator sends a task acquisition request to the scheduling component every 100ms.
调度组件根据自前一次从服务器中获取鉴定任务起的预设时长内接收的至少一个鉴定器的任务领取请求,确定各鉴定器请求领取的鉴定任务数量和鉴定任务类型,其中,预设时长由调度组件从服务器中获取鉴定任务的频次决定。示例性地,调度组件根据每1s内接收的鉴定器的任务领取请求,确定各鉴定器请求领取的鉴定任务数量和鉴定任务类型。The scheduling component determines the number of appraisal tasks and the type of appraisal tasks requested by each appraiser according to the task claim request of at least one appraiser received within the preset time period since the appraisal task was obtained from the server last time, wherein the preset time period is determined by the scheduler Determines how often the component gets authentication tasks from the server. Exemplarily, the scheduling component determines the number of authentication tasks and the type of authentication tasks requested by each authenticator according to the task acquisition request of the authenticator received in every 1 s.
调度组件对预设时长内接收到的至少一个鉴定器的任务领取请求进行汇总,汇总原则包括当在预设时长内接收到同一鉴定器的多个任务领取请求时,将多个任务领取请求中指示的最大鉴定任务数量,作为鉴定器请求领取的鉴定任务数量;当在预设时长内接收到鉴定器的一个任务领取请求时,将该任务领取请求指示的鉴定任务数量,直接作为鉴定器请求领取的鉴定任务数量。The scheduling component summarizes the task acquisition requests of at least one appraiser received within the preset time period. The summary principle includes that when multiple task acquisition requests of the same authenticator are received within the preset time period, the multiple task acquisition requests are included in the The indicated maximum number of appraisal tasks, as the number of appraisal tasks requested by the appraiser; when a task claim request from the appraiser is received within the preset time period, the number of appraisal tasks indicated by the task claim request is directly used as the appraiser request The number of identification tasks received.
示例性地,调度组件在某1s内接收到鉴定器A1的3个任务领取请求,3个任务领取请求分别请求领取5、10、5个鉴定任务,此时,将3个任务领取请求中指示的最大鉴定任务数量,作为鉴定器A1请求领取的鉴定任务数量,即确定鉴定器A1请求领取的鉴定任务数量为10个。同时,调度组件在该1s内还接收到鉴定器A2、A3、B1、B2各发送的一个任务领取请求,将各任务领取请求指示的鉴定任务数量,直接作为对应的鉴定器请求领取的鉴定任务数量。Exemplarily, the scheduling component receives 3 task claim requests from the appraiser A1 within a certain 1s, and the 3 task claim requests request to claim 5, 10, and 5 appraisal tasks respectively. At this time, the three task claim requests are indicated in the The maximum number of identification tasks of , as the number of identification tasks requested by the appraiser A1, that is, it is determined that the number of identification tasks requested by the appraiser A1 is 10. At the same time, the scheduling component also receives a task pick-up request sent by the appraisers A2, A3, B1, and B2 within the 1s, and the number of appraisal tasks indicated by each task pick-up request is directly used as the appraisal task requested by the corresponding appraiser. quantity.
可选地,可以对调度组件从服务器中获取鉴定任务的频次进行调整,即对上述预设时长进行调整,以实现调度组件在预设时长内接收到终端中所有鉴定器的任务领取请求。调度组件对预设时长内接收的任务领取请求进行汇总,汇总后的任务领取请求包尽量对应于同一鉴定任务,即汇总后的任务领取请求包尽量对应于同一待鉴定对象,该种设计可以最大程度减少待鉴定对象的下载次数,有利于实现网络资源优化程度的最大化。Optionally, the frequency at which the scheduling component obtains the appraisal tasks from the server may be adjusted, that is, the above-mentioned preset duration is adjusted, so that the scheduling component receives the task acquisition requests from all the appraisers in the terminal within the preset duration. The scheduling component summarizes the task acquisition requests received within the preset time period, and the aggregated task acquisition request package corresponds to the same identification task as much as possible, that is, the aggregated task acquisition request package corresponds to the same object to be identified as much as possible. This design can maximize the The number of downloads of the object to be identified is reduced to a certain extent, which is conducive to maximizing the optimization degree of network resources.
鉴定器的任务领取请求还指示鉴定器请求领取的鉴定任务类型,不同鉴定任务类型对应于不同待鉴定对象类型。调度组件可以根据接收到的鉴定器的任务领取请求,确定适于鉴定器的待鉴定对象类型,待鉴定对象类型例如可以包括样本文件、日志数据、软件代码、程序脚本等。The task claim request of the appraiser also indicates the appraisal task type requested by the appraiser, and different appraisal task types correspond to different object types to be appraised. The scheduling component can determine the type of the object to be authenticated suitable for the authenticator according to the received request of the authenticator. The type of the to-be-authenticated object may include, for example, sample files, log data, software codes, program scripts, and the like.
接下来,在操作S420,根据各鉴定器请求领取的鉴定任务数量和鉴定任务类型,从服务器中获取至少一个鉴定任务。Next, in operation S420, at least one authentication task is acquired from the server according to the number of authentication tasks and the type of authentication tasks requested by each authenticator.
在本实施例中,具体地,调度组件根据各鉴定器请求领取的鉴定任务数量和鉴定任务类型,从服务器中获取至少一个鉴定任务。在从服务器中获取到至少一个鉴定任务后,调度组件将与各鉴定器关联的鉴定任务,放入针对各鉴定器的内存实例的下载缓存中。在下载完成与鉴定任务关联的待鉴定对象后,调度组件将鉴定任务由下载缓存放入领取缓存,以等待鉴定器领取鉴定任务。In this embodiment, specifically, the scheduling component acquires at least one authentication task from the server according to the number of authentication tasks and the type of authentication tasks requested by each authenticator. After acquiring at least one authentication task from the server, the scheduling component puts the authentication task associated with each authenticator into the download cache for the memory instance of each authenticator. After downloading the object to be authenticated associated with the authentication task, the scheduling component puts the authentication task from the download cache into the receiving cache, waiting for the authenticator to receive the authentication task.
图5示意性示出了根据本公开实施例的另一鉴定任务调度方法的流程图,该方法应用于鉴定器。FIG. 5 schematically shows a flow chart of another authentication task scheduling method according to an embodiment of the present disclosure, and the method is applied to an authenticator.
如图5所示,该方法500可以包括操作S510~S530As shown in FIG. 5, the
在操作S510,向调度组件发送任务领取请求。In operation S510, a task claim request is sent to the scheduling component.
在操作S520,从调度组件中获取基于任务领取请求被分配的鉴定任务,以及获取与被分配的鉴定任务关联的待鉴定对象。In operation S520, the authentication task assigned based on the task claim request is obtained from the scheduling component, and the to-be-authenticated object associated with the assigned authentication task is obtained.
在操作S530,进行针对待鉴定对象的鉴定操作,以及将得到的鉴定结果返回调度组件。In operation S530, an authentication operation for the object to be authenticated is performed, and the obtained authentication result is returned to the scheduling component.
调度组件建立有与鉴定器关联的内存实例,在从调度组件中获取被分配的鉴定任务时,具体从与鉴定器关联的内存实例中获取被分配的鉴定任务。同时,调度组件还建立有与待鉴定对象关联的内存实例,在从调度组件中获取与被分配的鉴定任务关联的待鉴定对象时,从与待鉴定对象关联的内存实例中获取待鉴定对象。可选地,鉴定器以预设频次向调度组件发送心跳信息,以表征鉴定器处于运行正常状态。The scheduling component establishes a memory instance associated with the authenticator, and when acquiring the assigned authentication task from the scheduling component, the assigned authentication task is specifically obtained from the memory instance associated with the authenticator. At the same time, the scheduling component also establishes a memory instance associated with the object to be authenticated. When acquiring the object to be authenticated associated with the assigned authentication task from the scheduling component, the object to be authenticated is obtained from the memory instance associated with the object to be authenticated. Optionally, the authenticator sends heartbeat information to the scheduling component at a preset frequency to indicate that the authenticator is in a normal running state.
本公开实施例提供一种鉴定任务处理系统,包括服务器、鉴定器和调度组件,其中,调度组件可用于执行本实施例方法,鉴定器与调度组件位于同一运行环境中。An embodiment of the present disclosure provides an authentication task processing system, including a server, an authenticator, and a scheduling component, wherein the scheduling component can be used to execute the method of this embodiment, and the authenticator and the scheduling component are located in the same operating environment.
图6A示意性示出了相关技术中的鉴定任务处理系统的结构示意图,如图6A所示,该处理系统种包括服务器、位于机器1中的鉴定器1、鉴定器2和位于机器2中的鉴定器3、鉴定器4。在执行鉴定任务时,鉴定器1、鉴定器2、鉴定器3、鉴定器4从服务器中获取鉴定任务,以及获取与鉴定任务关联的待鉴定对象。同一机器中的不同鉴定器从服务器中获取的待鉴定对象可能相同,待鉴定对象的重复获取会造成网络带宽额外消耗,影响鉴定任务处理效率,甚至影响机器正常工作。FIG. 6A schematically shows a schematic structural diagram of an authentication task processing system in the related art. As shown in FIG. 6A , the processing system includes a server, an authenticator 1 located in machine 1 , an authenticator 2 and an authentication device located in machine 2 Authenticator 3, Authenticator 4. When performing the authentication task, the authenticator 1 , the authenticator 2 , the authenticator 3 , and the authenticator 4 obtain the authentication task from the server, and obtain the object to be authenticated associated with the authentication task. Different authenticators in the same machine may acquire the same object to be authenticated from the server. Repeated acquisition of the object to be authenticated will cause additional consumption of network bandwidth, affect the processing efficiency of the authentication task, and even affect the normal operation of the machine.
图6B示意性示出了本公开实施例的鉴定任务处理系统的结构示意图,如图6B所示,该处理系统种包括服务器、位于机器1中的调度组件1、鉴定器1、鉴定器2和位于机器2中的调度组件2、鉴定器3、鉴定器4。在执行鉴定任务时,调度组件1、调度组件2从服务器中获取鉴定任务,以及获取与鉴定任务关联的待鉴定对象。各机器中的鉴定器从位于同一机器内的调度组件中获取鉴定任务,以及获取与鉴定任务关联的待鉴定对象,由于调度组件与鉴定器位于同一机器内,不同鉴定器从调度组件中获取待鉴定对象不会造成网络带宽额外消耗。通过在各机器中设置调度组件,利用调度组件从服务器中获取待鉴定对象,通过优化从服务器中下载待鉴定对象的次数,有利于减少网络带宽消耗,有利于通过节省终端带宽消耗达到资源利用最大化的目的。FIG. 6B schematically shows a schematic structural diagram of an authentication task processing system according to an embodiment of the present disclosure. As shown in FIG. 6B , the processing system includes a server, a scheduling component 1 located in a machine 1 , an authenticator 1 , an authenticator 2 and Scheduling component 2, evaluator 3, evaluator 4 located in machine 2. When performing the authentication task, the scheduling component 1 and the scheduling component 2 acquire the authentication task from the server, and acquire the object to be authenticated associated with the authentication task. The evaluator in each machine obtains the identification task from the scheduling component located in the same machine, and obtains the object to be identified associated with the identification task. Since the scheduling component and the evaluator are located in the same machine, different evaluators obtain the object to be identified from the scheduling component. Authenticating objects does not cause additional consumption of network bandwidth. By setting the scheduling component in each machine, using the scheduling component to obtain the object to be authenticated from the server, and optimizing the number of times to download the object to be authenticated from the server, it is beneficial to reduce network bandwidth consumption, and it is beneficial to maximize resource utilization by saving terminal bandwidth consumption. purpose of transformation.
图7示意性示出了根据本公开实施例的鉴定任务调度组件的框图。7 schematically illustrates a block diagram of an authentication task scheduling component according to an embodiment of the present disclosure.
如图7所示,该调度组件700可以包括鉴定器管理模块701、鉴定任务管理模块702和待鉴定对象管理模块703,每两个管理模块之间通信连接。As shown in FIG. 7 , the
其中,鉴定器管理模块701用于接收来自至少一个鉴定器的任务领取请求;鉴定任务管理模块702用于根据至少一个鉴定器的任务领取请求,从服务器中获取至少一个鉴定任务,以及针对每一鉴定器,根据鉴定器的任务领取请求,向鉴定器分配鉴定任务;待鉴定对象管理模块703用于获取与各鉴定任务关联的待鉴定对象,以使鉴定器基于被分配的鉴定任务,从待鉴定对象管理模块中获取与被分配的鉴定任务关联的待鉴定对象。Wherein, the
通过本实施例,利用调度组件接收来自至少一个鉴定器的任务领取请求,和根据至少一个鉴定器的任务领取请求,从服务器中获取至少一个鉴定任务,以及获取与各鉴定任务关联的待鉴定对象,然后针对每一鉴定器,根据鉴定器的任务领取请求,向鉴定器分配鉴定任务,以使鉴定器基于被分配的鉴定任务,从调度组件中获取与被分配的鉴定任务关联的待鉴定对象。利用调度组件从服务器中获取与鉴定任务关联的待鉴定对象,由至少一个鉴定器从调度组件中获取待鉴定对象,相比于相关技术中由至少一个鉴定器直接从服务器中获取相同待鉴定对象,本实施例通过优化从服务器中下载待鉴定对象的次数,有效减少了获取待鉴定对象的网络资源消耗,通过节省终端带宽消耗达到了资源利用最大化的目的。With this embodiment, the scheduling component is used to receive a task acquisition request from at least one authenticator, and according to the task acquisition request from the at least one authenticator, at least one authentication task is acquired from the server, and the to-be-authenticated object associated with each authentication task is acquired , and then for each appraiser, according to the appraiser's task acquisition request, assign an appraisal task to the appraiser, so that the appraiser obtains the object to be appraised associated with the assigned appraisal task from the scheduling component based on the assigned appraisal task . Using the scheduling component to obtain the object to be authenticated associated with the authentication task from the server, and obtaining the object to be authenticated from the scheduling component by at least one authenticator, compared with the related art, at least one authenticator directly obtains the same object to be authenticated from the server In this embodiment, by optimizing the number of times of downloading the object to be authenticated from the server, network resource consumption for acquiring the object to be authenticated is effectively reduced, and the purpose of maximizing resource utilization is achieved by saving terminal bandwidth consumption.
作为一种可选的实施例,获取与各鉴定任务关联的待鉴定对象,包括:待鉴定对象管理模块确定本地是否缓存有与待获取的待鉴定对象相同的对象;若有,则将本地缓存的对象作为待鉴定对象。As an optional embodiment, acquiring the to-be-identified object associated with each authentication task includes: the to-be-authenticated object management module determines whether there is a local cache of the same object as the to-be-authenticated object to be acquired; object as the object to be identified.
作为一种可选的实施例,根据至少一个鉴定器的任务领取请求,从服务器中获取至少一个鉴定任务,包括:鉴定任务管理模块根据自前一次从服务器中获取鉴定任务起的预设时长内鉴定器管理模块接收的至少一个鉴定器的任务领取请求,从服务器中获取至少一个鉴定任务。As an optional embodiment, acquiring at least one authentication task from the server according to a task acquisition request of at least one authenticator includes: the authentication task management module authenticates the authentication task according to a preset time period since the previous acquisition of the authentication task from the server The at least one authentication task is obtained from the server according to the task acquisition request of at least one authenticator received by the authenticator management module.
作为一种可选的实施例,鉴定器管理模块根据预设时长内接收的各鉴定器的任务领取请求,确定各鉴定器请求领取的鉴定任务数量和鉴定任务类型;鉴定任务管理模块根据鉴定器管理模块确定的各鉴定器请求领取的鉴定任务数量和鉴定任务类型,从服务器中获取至少一个鉴定任务。As an optional embodiment, the appraiser management module determines the number of appraisal tasks and the appraisal task type requested by each appraiser according to the task claim request of each appraiser received within a preset duration; The management module determines the number of authentication tasks and the type of authentication tasks requested by each authenticator, and obtains at least one authentication task from the server.
作为一种可选的实施例,根据预设时长内接收的各鉴定器的任务领取请求,确定各鉴定器请求领取的鉴定任务数量,包括:鉴定器管理模块在预设时长内当接收到同一鉴定器的多个任务领取请求时,将多个任务领取请求中指示的最大鉴定任务数量,作为鉴定器请求领取的鉴定任务数量。As an optional embodiment, determining the number of appraisal tasks requested by each appraiser according to the task claim request of each appraiser received within a preset time period, including: when the appraiser management module receives the same When multiple tasks are requested by the appraiser, the maximum number of identification tasks indicated in the multiple task request requests is taken as the number of identification tasks requested by the appraiser.
作为一种可选的实施例,鉴定器管理模块还用于建立与各鉴定器关联的内存实例;根据鉴定器的任务领取请求,向鉴定器分配鉴定任务,包括:鉴定任务管理模块根据鉴定器的任务领取请求,确定针对鉴定器的待分配的鉴定任务,以及将待分配的鉴定任务存入与鉴定器关联的内存实例中。As an optional embodiment, the authenticator management module is further configured to establish a memory instance associated with each authenticator; according to a task acquisition request of the authenticator, assigning an authentication task to the authenticator includes: the authentication task management module according to the authenticator , determine the authentication task to be assigned to the authenticator, and store the authentication task to be assigned in the memory instance associated with the authenticator.
作为一种可选的实施例,鉴定器管理模块还用于:接收鉴定器以预设频次发送的心跳信息;以及,当在预设时长内未接收到某一鉴定器的心跳信息时,确定鉴定器异常,并删除与异常鉴定器关联的内存实例。As an optional embodiment, the authenticator management module is further configured to: receive heartbeat information sent by the authenticator at a preset frequency; Qualifier exception, and deletes the memory instance associated with the exception qualifier.
作为一种可选的实施例,待鉴定对象管理模块还用于:建立与各待鉴定对象关联的内存实例;以及,当确定待鉴定对象被关联的所有鉴定器扫描完成,或者确定待鉴定对象的缓存时间超过预设阈值时,删除与待鉴定对象关联的内存实例。As an optional embodiment, the to-be-authenticated object management module is further configured to: establish a memory instance associated with each to-be-authenticated object; When the cache time exceeds the preset threshold, delete the memory instance associated with the object to be authenticated.
作为一种可选的实施例,鉴定器管理模块还用于:接收各鉴定器返回的鉴定结果;汇总各鉴定器针对相同鉴定任务的鉴定结果;将汇总后的针对各鉴定任务的鉴定结果返回给服务器。As an optional embodiment, the appraiser management module is further configured to: receive the appraisal results returned by each appraiser; summarize the appraisal results of the appraisers for the same appraisal task; return the summarized appraisal results for each appraisal task to the server.
作为一种可选的实施例,鉴定器与调度组件位于同一运行环境中。As an optional embodiment, the authenticator and the scheduling component are located in the same operating environment.
需要说明的是,在本公开实施例中,装置部分的实施例方式与方法部分的实施例方式对应类似,并且所达到的技术效果也对应类似,在此不再赘述。It should be noted that, in the embodiments of the present disclosure, the embodiments of the apparatus part are similar to the embodiments of the method part, and the technical effects achieved are also correspondingly similar, which will not be repeated here.
根据本公开的实施例的模块中的任意多个、或其中任意多个的至少部分功能可以在一个模块中实现。根据本公开实施例的模块中的任意一个或多个可以被拆分成多个模块来实现。根据本公开实施例的模块中的任意一个或多个可以至少被部分地实现为硬件电路,例如现场可编程门阵列(FPGA)、可编程逻辑阵列(PLA)、片上系统、基板上的系统、封装上的系统、专用集成电路(ASIC),或可以通过对电路进行集成或封装的任何其他的合理方式的硬件或固件来实现,或以软件、硬件以及固件三种实现方式中任意一种或以其中任意几种的适当组合来实现。或者根据本公开实施例的模块中的一个或多个可以至少被部分地实现为计算机程序模块,当该计算机程序模块被运行时,可以执行相应的功能。Any of the modules according to the embodiments of the present disclosure, or at least part of the functions of any of the modules, may be implemented in one module. Any one or more of the modules according to the embodiments of the present disclosure may be split into multiple modules for implementation. Any one or more of the modules according to embodiments of the present disclosure may be implemented, at least in part, as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems on chips, systems on substrates, A system-on-package, an application specific integrated circuit (ASIC), or any other reasonable hardware or firmware implementation that integrates or encapsulates a circuit, or in any one of software, hardware, and firmware implementations or It can be realized by any suitable combination of any of them. Alternatively, one or more of the modules according to embodiments of the present disclosure may be implemented at least in part as computer program modules that, when executed, may perform corresponding functions.
例如,鉴定器管理模块701、鉴定任务管理模块702和待鉴定对象管理模块703中的任意多个可以合并在一个模块中实现,或者其中的任意一个模块可以被拆分成多个模块。或者,这些模块中的一个或多个模块的至少部分功能可以与其他模块的至少部分功能相结合,并在一个模块中实现。根据本公开的实施例,鉴定器管理模块701、鉴定任务管理模块702和待鉴定对象管理模块703中的至少一个可以至少被部分地实现为硬件电路,例如现场可编程门阵列(FPGA)、可编程逻辑阵列(PLA)、片上系统、基板上的系统、封装上的系统、专用集成电路(ASIC),或可以通过对电路进行集成或封装的任何其他的合理方式等硬件或固件来实现,或以软件、硬件以及固件三种实现方式中任意一种或以其中任意几种的适当组合来实现。或者,鉴定器管理模块701、鉴定任务管理模块702和待鉴定对象管理模块703中的至少一个可以至少被部分地实现为计算机程序模块,当该计算机程序模块被运行时,可以执行相应的功能。For example, any one of the
图8示意性示出了根据本公开实施例的电子设备的框图。图8示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。FIG. 8 schematically shows a block diagram of an electronic device according to an embodiment of the present disclosure. The electronic device shown in FIG. 8 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
如图8所示,电子设备800包括处理器810、计算机可读存储介质820。该电子设备800可以执行根据本公开实施例的方法。As shown in FIG. 8 , the
具体地,处理器810例如可以包括通用微处理器、指令集处理器和/或相关芯片组和/或专用微处理器(例如,专用集成电路(ASIC)),等等。处理器810还可以包括用于缓存用途的板载存储器。处理器810可以是用于执行根据本公开实施例的方法流程的不同动作的单一处理模块或者是多个处理模块。Specifically, the
计算机可读存储介质820,例如可以是非易失性的计算机可读存储介质,具体示例包括但不限于:磁存储装置,如磁带或硬盘(HDD);光存储装置,如光盘(CD-ROM);存储器,如随机存取存储器(RAM)或闪存;等等。The computer-
计算机可读存储介质820可以包括计算机程序821,该计算机程序821可以包括代码/计算机可执行指令,其在由处理器810执行时使得处理器810执行根据本公开实施例的方法或其任何变形。The computer-
计算机程序821可被配置为具有例如包括计算机程序模块的计算机程序代码。例如,在示例实施例中,计算机程序821中的代码可以包括一个或多个程序模块,例如包括821A、模块821B、......。应当注意,模块的划分方式和个数并不是固定的,本领域技术人员可以根据实际情况使用合适的程序模块或程序模块组合,当这些程序模块组合被处理器810执行时,使得处理器810可以执行根据本公开实施例的方法或其任何变形。The
根据本公开的实施例,鉴定器管理模块701、鉴定任务管理模块702和待鉴定对象管理模块703中的至少一个可以实现为参考图8描述的计算机程序模块,其在被处理器810执行时,可以实现上面描述的相应操作。According to an embodiment of the present disclosure, at least one of the
本公开还提供了一种计算机可读存储介质,该计算机可读存储介质可以是上述实施例中描述的设备/装置/系统中所包含的;也可以是单独存在,而未装配入该设备/装置/系统中。上述计算机可读存储介质承载有一个或者多个程序,当上述一个或者多个程序被执行时,实现根据本公开实施例的方法。The present disclosure also provides a computer-readable storage medium. The computer-readable storage medium may be included in the device/apparatus/system described in the above embodiments; it may also exist alone without being assembled into the device/system. device/system. The above-mentioned computer-readable storage medium carries one or more programs, and when the above-mentioned one or more programs are executed, implement the method according to the embodiment of the present disclosure.
本公开还提供了一种计算机程序产品,其包括计算机程序,该计算机程序包含用于执行本公开实施例所提供的方法的程序代码,当计算机程序产品在电子设备上运行时,该程序代码用于使电子设备实现本公开实施例所提供的鉴定任务调度方法。The present disclosure also provides a computer program product, which includes a computer program, and the computer program includes program codes for executing the methods provided by the embodiments of the present disclosure. When the computer program product runs on an electronic device, the program code uses The method for scheduling the authentication task provided by the embodiment of the present disclosure is used for the electronic device.
根据本公开的实施例,可以以一种或多种程序设计语言的任意组合来编写用于执行本公开实施例提供的计算机程序的程序代码,具体地,可以利用高级过程和/或面向对象的编程语言、和/或汇编/机器语言来实施这些计算程序。程序设计语言包括但不限于诸如Java,C++,python,“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。According to the embodiments of the present disclosure, the program code for executing the computer program provided by the embodiments of the present disclosure may be written in any combination of one or more programming languages, and specifically, high-level procedures and/or object-oriented programming may be used. programming language, and/or assembly/machine language to implement these computational programs. Programming languages include, but are not limited to, languages such as Java, C++, python, "C" or similar programming languages. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service provider business via an Internet connection).
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented in special purpose hardware-based systems that perform the specified functions or operations, or can be implemented using A combination of dedicated hardware and computer instructions is implemented.
本领域技术人员可以理解,尽管已经参照本公开的特定示例性实施例示出并描述了本公开,但是本领域技术人员应该理解,在不背离所附权利要求及其等同物限定的本公开的精神和范围的情况下,可以对本公开进行形式和细节上的多种改变。因此,本公开的范围不应该限于上述实施例,而是应该不仅由所附权利要求来进行确定,还由所附权利要求的等同物来进行限定。It will be appreciated by those skilled in the art that although the present disclosure has been shown and described with reference to specific exemplary embodiments of the present disclosure, those skilled in the art will appreciate that the present disclosure is not deviated from the spirit of the present disclosure as defined by the appended claims and their equivalents. Various changes in form and detail may be made within the scope and scope of the present disclosure. Therefore, the scope of the present disclosure should not be limited to the above-described embodiments, but should be determined not only by the appended claims, but also by their equivalents.
Claims (24)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011542279.8A CN114745441A (en) | 2020-12-23 | 2020-12-23 | Identify task scheduling methods and scheduling components |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011542279.8A CN114745441A (en) | 2020-12-23 | 2020-12-23 | Identify task scheduling methods and scheduling components |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114745441A true CN114745441A (en) | 2022-07-12 |
Family
ID=82274160
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011542279.8A Pending CN114745441A (en) | 2020-12-23 | 2020-12-23 | Identify task scheduling methods and scheduling components |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114745441A (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102685100A (en) * | 2012-03-08 | 2012-09-19 | 珠海市君天电子科技有限公司 | Distribution document security identification system and distribution document security identification method |
| US9043894B1 (en) * | 2014-11-06 | 2015-05-26 | Palantir Technologies Inc. | Malicious software detection in a computing system |
| CN108881150A (en) * | 2017-12-29 | 2018-11-23 | 北京安天网络安全技术有限公司 | A kind of processing method of Detection task, device, electronic equipment and storage medium |
| CN111159520A (en) * | 2019-12-31 | 2020-05-15 | 奇安信科技集团股份有限公司 | Sample identification method, device and safety emergency response system |
| CN111259451A (en) * | 2020-01-23 | 2020-06-09 | 奇安信科技集团股份有限公司 | File security level identification method and device |
-
2020
- 2020-12-23 CN CN202011542279.8A patent/CN114745441A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102685100A (en) * | 2012-03-08 | 2012-09-19 | 珠海市君天电子科技有限公司 | Distribution document security identification system and distribution document security identification method |
| US9043894B1 (en) * | 2014-11-06 | 2015-05-26 | Palantir Technologies Inc. | Malicious software detection in a computing system |
| CN108881150A (en) * | 2017-12-29 | 2018-11-23 | 北京安天网络安全技术有限公司 | A kind of processing method of Detection task, device, electronic equipment and storage medium |
| CN111159520A (en) * | 2019-12-31 | 2020-05-15 | 奇安信科技集团股份有限公司 | Sample identification method, device and safety emergency response system |
| CN111259451A (en) * | 2020-01-23 | 2020-06-09 | 奇安信科技集团股份有限公司 | File security level identification method and device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11062022B1 (en) | Container packaging device | |
| US10320623B2 (en) | Techniques for tracking resource usage statistics per transaction across multiple layers of protocols | |
| CN112424746B (en) | In-situ triggered functions as a service within a service mesh | |
| CN102982121B (en) | A kind of file scanning method, file scanning device and file detection system | |
| CN104219316A (en) | Method and device for processing call request in distributed system | |
| CN111026982A (en) | Intelligent contract processing method, computer equipment and storage medium | |
| CN112596932B (en) | Service registration and interception method, device, electronic device and readable storage medium | |
| CN113535419B (en) | A service arrangement method and device | |
| CN111198751A (en) | Service processing method and device | |
| CN110276202B (en) | Method and device for detecting reverse-serialization loopholes | |
| CN110968400B (en) | Application program execution method and device, computer equipment and storage medium | |
| CN111367693B (en) | Method, system, device and medium for scheduling plug-in tasks based on message queue | |
| CN113158195B (en) | Distributed vulnerability scanning method and system based on POC script | |
| CN109254804A (en) | A kind of static resource loading method, device, equipment and readable storage medium storing program for executing | |
| CN112511565A (en) | Request response method and device, computer readable storage medium and electronic equipment | |
| US20210274017A1 (en) | Request processing method and apparatus, electronic device, and computer storage medium | |
| CN115630033A (en) | Log information processing method and device, electronic equipment and medium | |
| CN102999722B (en) | File detection system | |
| CN116561013B (en) | Test methods, devices, electronic equipment and media based on the target service framework | |
| CN114745441A (en) | Identify task scheduling methods and scheduling components | |
| WO2024208097A1 (en) | Webpage authentication method and apparatus, and medium and electronic device | |
| US11941446B1 (en) | Reducing extraneous messages in a distributed lock system | |
| US10469558B2 (en) | Website server request rerouting | |
| CN116662430A (en) | Data query method, device, equipment, medium and product applied to multi-system interaction | |
| CN106648770B (en) | Generation method, loading method and device of application program installation package |
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 | ||
| CB02 | Change of applicant information |
Country or region after: China Address after: 100097 No. 202, 203, 205, 206, 207, 208, 2nd floor, block D, No. 51, Kunming Hunan Road, Haidian District, Beijing Applicant after: Qianxin Wangshen information technology (Beijing) Co.,Ltd. Applicant after: QAX Technology Group Inc. Address before: 100097 No. 202, 203, 205, 206, 207, 208, 2nd floor, block D, No. 51, Kunming Hunan Road, Haidian District, Beijing Applicant before: LEGENDSEC INFORMATION TECHNOLOGY (BEIJING) Inc. Country or region before: China Applicant before: QAX Technology Group Inc. |
|
| CB02 | Change of applicant information | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220712 |
|
| RJ01 | Rejection of invention patent application after publication |