KR102542247B1 - Task calculation amount determining method and apparatus, computer readable storage medium and computer program - Google Patents

Task calculation amount determining method and apparatus, computer readable storage medium and computer program Download PDF

Info

Publication number
KR102542247B1
KR102542247B1 KR1020210034378A KR20210034378A KR102542247B1 KR 102542247 B1 KR102542247 B1 KR 102542247B1 KR 1020210034378 A KR1020210034378 A KR 1020210034378A KR 20210034378 A KR20210034378 A KR 20210034378A KR 102542247 B1 KR102542247 B1 KR 102542247B1
Authority
KR
South Korea
Prior art keywords
task
target
amount
cpu
time slice
Prior art date
Application number
KR1020210034378A
Other languages
Korean (ko)
Other versions
KR20210038455A (en
Inventor
얀 왕
Original Assignee
아폴로 인텔리전트 커넥티비티 (베이징) 테크놀로지 씨오., 엘티디.
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 아폴로 인텔리전트 커넥티비티 (베이징) 테크놀로지 씨오., 엘티디. filed Critical 아폴로 인텔리전트 커넥티비티 (베이징) 테크놀로지 씨오., 엘티디.
Publication of KR20210038455A publication Critical patent/KR20210038455A/en
Application granted granted Critical
Publication of KR102542247B1 publication Critical patent/KR102542247B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording 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/3409Recording 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 for performance assessment
    • G06F11/3419Recording 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 for performance assessment by assessing time
    • G06F11/3423Recording 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 for performance assessment by assessing time where the assessed time is active or idle time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording 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/3409Recording 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 for performance assessment
    • G06F11/3433Recording 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 for performance assessment for load management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Debugging And Monitoring (AREA)
  • Image Processing (AREA)

Abstract

본 개시에서는 태스크 연산량 확정 방법, 장치 및 전자 기기를 제공하였고, 연산량 측정 측정 평가 기술 분야에 관련된다. 그중 방법은: 타겟 태스크가 타겟 CPU 코어에서 운행하도록 제어하는 단계; 상기 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 획득하는 단계로서, 상기 태스크 운행 기간은 상기 타겟 태스크가 운행을 시작해서부터 상기 타겟 태스크가 운행을 종료할 때까지의 기간인 것인, 획득하는 단계; 및 상기 타겟 CPU 코어의 DMIPS 및 상기 CPU 타임 슬라이스 점유율에 따라, 상기 타겟 태스크의 연산량을 확정하는 단계; 를 포함한다. 상술한 기술 수단을 사용하였기에, 본 개시에서 확정한 태스크 연산량은 더욱 진실되고, 더욱 정확하게 태스크가 점유해야 할 CPU 연산력을 특성화할 수 있다. 따라서, 태스크에 대하여 분배할 때, 본 개시에서 확정한 태스크 연산량을 기반으로 하여, 기기의 하드웨어 타입 선택에 더욱 가치있는 참고를 제공할 수 있다.In the present disclosure, a task calculation amount determination method, apparatus, and electronic device are provided, and relate to the field of calculation measurement evaluation technology. Methods include: controlling the target task to run in the target CPU core; Acquiring, by the target task, a CPU time slice occupancy rate in a task running period, wherein the task running period is a period from the start of running of the target task to the end of running of the target task. doing; and determining an operation amount of the target task according to the DMIPS of the target CPU core and the CPU time slice occupancy rate. includes Because of the use of the above technical means, the task calculation amount determined in the present disclosure is more true, and more accurately characterizes the CPU calculation power to be occupied by the task. Therefore, when distributing to tasks, based on the task calculation amount determined in the present disclosure, a more valuable reference can be provided for selecting the hardware type of the device.

Description

태스크 연산량 확정 방법, 장치, 컴퓨터 판독 가능 저장 매체 및 컴퓨터 프로그램{TASK CALCULATION AMOUNT DETERMINING METHOD AND APPARATUS, COMPUTER READABLE STORAGE MEDIUM AND COMPUTER PROGRAM}Task operation amount determination method, device, computer readable storage medium and computer program

본 개시는 컴퓨터 기술 분야에 관한 것으로, 특히 연산량 측정 평가 기술 분야에 관한 것이며, 구체적으로 태스크 연산량 확정 방법, 장치 및 전자 기기에 관한 것이다.TECHNICAL FIELD The present disclosure relates to the field of computer technology, particularly to the field of calculation and evaluation technology, and specifically to a method, apparatus, and electronic device for determining a task calculation amount.

컴퓨터 기술의 발전에 따라, 태스크의 깊이는 점차 증가되고, 태스크의 연산 복잡도 및 연산량도 따라서 상승된다. 기기에서 태스크를 분배하기 전에, 기기의 CPU(Central Processing Unit, 중앙 프로세서) 연산 능력(즉 연산력)이 태스크의 연산량을 만족하는지 여부를 고려해야 하기에, 따라서, 태스크를 분배하기 전에, 태스크에 대하여 연산량 측정 평가를 진행해야 된다. 현재, 통상적으로 MACCs(multiply-accumulate operations, 승법 누산 횟수) 및 FLOPS(floating-point operations per second, 매초 플로팅 포인트 연산 횟수)를 사용하여 태스크의 연산량을 특성화하고, 이들은 태스크가 점유해야 할 CPU 연산력을 전부 특성화할 수 없다.As computer technology develops, the depth of a task gradually increases, and the computational complexity and amount of computation of the task also increase accordingly. Before distributing tasks in the device, it is necessary to consider whether or not the CPU (Central Processing Unit, central processor) computing power (i.e., computing power) of the device satisfies the computing power of the task. Therefore, before distributing tasks, the computing power for the task measurement evaluation must be performed. Currently, MACCs (multiply-accumulate operations per second) and FLOPS (floating-point operations per second) are used to characterize the amount of operation of a task, and they determine the amount of CPU computing power that a task must occupy. Not all can be characterized.

본 개시에서 태스크 연산량 확정 방법, 장치 및 전자 기기를 제공하여, 기존의 태스크 연산량 특성화 방식이 태스크가 점유해야 할 CPU 연산력을 특성화할 수 없는 기술 문제를 해결한다.The present disclosure provides a method, apparatus, and electronic device for determining a task computation amount, and solves the technical problem that existing methods for characterizing a task computation amount cannot characterize CPU computation power to be occupied by a task.

상술한 기술 문제를 해결하기 위하여, 본 개시에서는 다음과 같이 구현한다. In order to solve the above technical problem, the present disclosure is implemented as follows.

제1 측면에 있어서, 본 개시는 태스크 연산량 확정 방법을 제공하며, 상기 방법은: In a first aspect, the present disclosure provides a method for determining a task computation amount, the method comprising:

타겟 태스크가 타겟 CPU 코어에서 운행하도록 제어하는 단계; controlling the target task to run in the target CPU core;

상기 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 획득하는 단계로서, 상기 태스크 운행 기간은 상기 타겟 태스크가 운행을 시작해서부터 상기 타겟 태스크가 운행을 종료할 때까지의 기간인 것인, 획득하는 단계; 및 Acquiring, by the target task, a CPU time slice occupancy rate in a task running period, wherein the task running period is a period from the start of running of the target task to the end of running of the target task. doing; and

상기 타겟 CPU 코어의 DMIPS 및 상기 CPU 타임 슬라이스 점유율에 따라, 상기 타겟 태스크의 연산량을 확정하는 단계; 를 포함한다. determining an operation amount of the target task according to the DMIPS of the target CPU core and the CPU time slice occupancy rate; includes

상술한 기술 수단을 사용하였기에, 본 개시에서 확정한 태스크 연산량은 더욱 진실되고, 더욱 정확하게 태스크가 점유해야 할 CPU 연산력을 특성화할 수 있다. 따라서, 태스크에 대하여 분배할 때, 본 개시에서 확정한 태스크 연산량을 기반으로 하여, 기기의 하드웨어 타입 선택에 더욱 가치있는 참고를 제공할 수 있다.Because of the use of the above technical means, the task calculation amount determined in the present disclosure is more true, and more accurately characterizes the CPU calculation power to be occupied by the task. Therefore, when distributing to tasks, based on the task calculation amount determined in the present disclosure, a more valuable reference can be provided for selecting the hardware type of the device.

선택적으로, 상기 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 획득하는 단계는: Optionally, the step of obtaining, by the target task, a CPU time slice occupancy in a task running period:

상기 타겟 CPU 코어가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스를 획득하는 단계; obtaining, by the target CPU core, a CPU time slice in the task running period;

상기 타겟 태스크가 점유한 CPU 타임 슬라이스를 획득하는 단계; 및 obtaining a CPU time slice occupied by the target task; and

상기 타겟 CPU 코어가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스 및 상기 타겟 태스크가 점유한 CPU 타임 슬라이스에 따라, 상기 타겟 태스크가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 확정하는 단계; 를 포함한다. determining, by the target CPU core, a CPU time slice occupied by the target task in the task running period according to the CPU time slice in the task running period and the CPU time slice occupied by the target task; includes

상기 실시 방식에서 있어서, 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 확정하는 것을 통하여, 타겟 태스크의 연산량 측정 평가를 정확하게 진행할 수 있다. In the above implementation, the computational amount measurement and evaluation of the target task can be accurately evaluated by determining the CPU time slice occupancy of the target task in the task running period.

선택적으로, 상기 타겟 태스크의 연산량은 이미지 검측 알고리즘의 연산량, 음성 인식 알고리즘의 연산량 또는 계획 및 제어 알고리즘의 연산량을 포함한다. Optionally, the amount of calculation of the target task includes the amount of calculation of an image detection algorithm, the amount of calculation of a voice recognition algorithm, or the amount of calculation of a planning and control algorithm.

본 개시에서 제공한 DMIPS 및 CPU 타임 슬라이스 점유율을 기반으로 하여 태스크 연산량을 확정하는 방안에서, CPU 타임 슬라이스 점유율이 비교적 진실되고 또한 정확하게 태스크 운행에 필요한 CPU 연산력 점유율을 특성화할 수 있기에, 연속적인 태스크에 적용될뿐만 아니라, 비연속적인 태스크에도 적용될 수 있어, 통용성을 구비하고 있다. In the method of determining the task computation amount based on DMIPS and CPU time slice occupancy provided in the present disclosure, the CPU time slice occupancy rate can relatively truthfully and accurately characterize the CPU computing power occupancy required for task operation, so that continuous tasks Not only can it be applied, but it can also be applied to non-continuous tasks, and has universality.

선택적으로, 상기 타겟 태스크의 연산량은 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량이고; Optionally, the amount of computation of the target task is the amount of computation of the image detection algorithm at a target frame rate;

상기 타겟 CPU 코어의 DMIPS 및 CPU 타임 슬라이스 점유율에 따라, 상기 타겟 태스크의 연산량을 확정하는 단계는: The step of determining the operation amount of the target task according to the DMIPS and CPU time slice occupancy of the target CPU core:

상기 이미지 검측 알고리즘이 상기 태스크 운행 기간내에 처리한 이미지 프레임수를 획득하는 단계; obtaining the number of image frames processed by the image detection algorithm within the task operation period;

상기 타겟 CPU 코어의 DMIPS, 상기 CPU 타임 슬라이스 점유율, 상기 태스크 운행 기간 및 상기 이미지 프레임수에 따라, 상기 이미지 검측 알고리즘의 싱글 프레임 연산량을 확정하는 단계; 및 determining a single frame operation amount of the image detection algorithm according to the DMIPS of the target CPU core, the CPU time slice occupancy rate, the task running period, and the number of image frames; and

상기 싱글 프레임 연산량 및 상기 타겟 프레임율에 따라, 상기 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량을 확정하는 단계; 를 포함한다. determining, by the image detection algorithm, an operation amount at the target frame rate according to the single frame operation amount and the target frame rate; includes

상기 실시 방식에서, 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량을 확정하는 것을 통하여, 이미지 검측 알고리즘의 성능을 정확하게 측정 평가하는데 유리하고, 따라서, 이미지 검측 알고리즘에 대하여 분배를 진행할 때, 상기 확정한 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량을 기반으로 하여, 기기 하드웨어 타입 선택에 더욱 가치있는 참고를 제공할 수 있으며, 따라서 이미지 검측 알고리즘의 애플리케이션을 촉진할 수 있다. In the above implementation, it is advantageous to accurately measure and evaluate the performance of the image detection algorithm through determining the amount of computation at the target frame rate of the image detection algorithm, and therefore, when distributing the image detection algorithm, the determined image Based on the amount of computation at the target frame rate, the detection algorithm can provide a more valuable reference for device hardware type selection, thus facilitating the application of the image detection algorithm.

선택적으로 상기 방법은: Optionally, the method:

상기 타겟 태스크가 상기 타겟 CPU 코어에서 운행하는 과정중에서, 상기 타겟 CPU 코어의 운행 주파수가 기설정 주파수에 있도록 제어하는 단계를 더 포함한다. The method may further include controlling an operating frequency of the target CPU core to be at a preset frequency while the target task is running in the target CPU core.

상기 실기 방식에 있어서, 타겟 태스크의 운행 과정에서 타겟 CPU 코어의 운행 주파수를 제어하는 것을 통하여, 타겟 태스크의 운행에 비교적 안정적인 운행 환경을 제공하여, 본 개시에서 확정한 태스크 연산량이 더욱 정확하도록 확보할 수 있다. In the above practical method, by controlling the operating frequency of the target CPU core during the operation of the target task, a relatively stable operating environment is provided for the operation of the target task, thereby ensuring that the task operation amount determined in the present disclosure is more accurate. can

선택적으로, 상기 타겟 태스크가 타겟 CPU 코어에서 운행하도록 제어하는 단계는: Optionally, controlling the target task to run in the target CPU core comprises:

상기 타겟 태스크가 기설정 우선급으로 상기 타겟 CPU 코어중에서 운행하도록 제어하는 단계를 포함한다. and controlling the target task to run among the target CPU cores with a preset priority.

상기 실시 방식에 있어서, 타겟 태스크의 운행 과정에서 타겟 CPU 코어의 운행 주파수를 제어하는 것을 통하여, 타겟 태스크의 운행에 비교적 안정적인 운행 환경을 제공하여, 본 개시에서 확정한 태스크 연산량이 더욱 정확하도록 확보할 수 있다. In the implementation method, by controlling the operating frequency of the target CPU core during the operation of the target task, a relatively stable operating environment is provided for the operation of the target task, thereby ensuring that the task calculation amount determined in the present disclosure is more accurate. can

선택적으로, 상기 타겟 태스크가 타겟 CPU 코어중에서 운행하도록 제어하기 전, 상기 방법은: Optionally, before controlling the target task to run in a target CPU core, the method comprises:

클라우드 서버에서 송신한 상기 타겟 태스크를 수신하고, 상기 타겟 태스크를 사용자가 미리 상기 클라우드 서버로 업로드하는 단계를 더 포함한다. The method further includes receiving the target task transmitted from the cloud server and uploading the target task to the cloud server in advance by a user.

선택적으로, 상기 타겟 태스크의 연산량을 연산한 후, 상기 방법은: Optionally, after computing the amount of operations of the target task, the method:

상기 클라우드 서버로 상기 타겟 태스크의 연산량을 리포팅하는 단계를 더 포함한다. The method may further include reporting the amount of computation of the target task to the cloud server.

상기 실시 방식에 있어서, 개방적인 측정 평가 환경을 개설하는 것을 통하여, 태스크 설계, 태스크 트레이닝, 태스크 반포 및 태스크 연산량 측정 평가가 폐쇄 루프를 형성하도록 한다. 이에 따라, 태스크 설계 인원이 태스크 설계 및 태스크 트레이닝을 완성한 후, 제때에 태스크 연산량 측정 평가 결과를 획득할 수 있어, 태스크에 대하여 맞춤형의 최적화를 쉽게 진행하도록, 태스크 설계 인원이 태스크 연산량의 소모 상태를 제때에 장악하는 것에 유리하다. In the implementation mode, by opening an open measurement evaluation environment, task design, task training, task distribution, and task calculation evaluation are made to form a closed loop. Accordingly, after the task design personnel complete the task design and task training, it is possible to obtain the evaluation result of measuring the amount of task operation in time, so that the task design personnel can easily proceed with the customized optimization for the task, so that the task design person can determine the consumption state of the task operation amount. It is advantageous to take control in time.

제2 측면에 있어서, 본 개시에서 태스크 연산량 확정 장치를 제공하며, 상기 장치는: In a second aspect, the present disclosure provides an apparatus for determining a task computation amount, the apparatus comprising:

타겟 태스크가 타겟 CPU 코어에서 운행하도록 제어하기 위한 제1 제어 모듈; A first control module for controlling the target task to run in the target CPU core;

상기 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 획득하기 위한 획득 모듈로서, 상기 태스크 운행 기간은 상기 타겟 태스크가 운행을 시작해서부터 상기 타겟 태스크가 운행을 종료할 때까지의 기간인 것인, 획득 모듈; 및 An acquisition module for obtaining a CPU time slice occupancy rate of the target task in a task running period, wherein the task running period is a period from when the target task starts running until the target task ends running , acquisition module; and

상기 타겟 CPU 코어의 DMIPS 및 상기 CPU 타임 슬라이스 점유율에 따라, 상기 타겟 태스크의 연산량을 확정하기 위한 확정 모듈; 을 포함한다. a determining module configured to determine an amount of operation of the target task according to the DMIPS of the target CPU core and the CPU time slice occupancy rate; includes

선택적으로, 상기 획득 모듈은: Optionally, the acquisition module:

상기 타겟 CPU 코어가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스를 획득하기 위한 제1 획득 서브 모듈; a first obtaining submodule configured for the target CPU core to obtain a CPU time slice in the task running period;

상기 타겟 태스크가 점유한 CPU 타임 슬라이스를 획득하기 위한 제2 획득 서브 모듈; 및 a second acquiring submodule configured to acquire a CPU time slice occupied by the target task; and

상기 타겟 CPU 코어가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스 및 상기 타겟 태스크가 점유한 CPU 타임 슬라이스에 따라, 상기 타겟 태스크가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 확정하기 위한 제1 확정 서브 모듈; 을 포함한다. A first determination submodule configured to determine, according to the CPU time slice of the target CPU core in the task running period and the CPU time slice occupied by the target task, the CPU time slice occupancy of the target task in the task running period ; includes

선택적으로, 상기 타겟 태스크의 연산량은 이미지 검측 알고리즘의 연산량, 음성 인식 알고리즘의 연산량 또는 계획 및 제어 알고리즘의 연산량을 포함한다. Optionally, the amount of calculation of the target task includes the amount of calculation of an image detection algorithm, the amount of calculation of a voice recognition algorithm, or the amount of calculation of a planning and control algorithm.

선택적으로, 상기 타겟 태스크의 연산량은 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량이고; Optionally, the amount of computation of the target task is the amount of computation of the image detection algorithm at a target frame rate;

상기 확정 모듈은: The confirmation module:

상기 이미지 검측 알고리즘이 상기 태스크 운행 기간내에 처리한 이미지 프레임수를 획득하기 위한 제2 획득 서브 모듈; a second acquiring submodule configured to acquire the number of image frames processed by the image detecting algorithm within the task running period;

상기 타겟 CPU 코어의 DMIPS, 상기 CPU 타임 슬라이스 점유율, 상기 태스크 운행 기간 및 상기 이미지 프레임수에 따라, 상기 이미지 검측 알고리즘의 싱글 프레임 연산량을 확정하기 위한 제2 확정 서브 모듈; 및a second determination submodule configured to determine a single frame operation amount of the image detection algorithm according to the DMIPS of the target CPU core, the CPU time slice occupancy rate, the task running period and the number of image frames; and

상기 싱글 프레임 연산량 및 상기 타겟 프레임율에 따라, 상기 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량을 확정하기 위한 제3 확정 서브 모듈; 을 포함한다. a third determining submodule configured to determine, according to the single frame operation amount and the target frame rate, an operation amount at the target frame rate of the image detecting algorithm; includes

선택적으로, 상기 장치는: Optionally, the device:

상기 타겟 태스크가 상기 타겟 CPU 코어에서 운행하는 과정에서, 상기 타겟 CPU 코어의 운행 주파수가 기설정 주파수에 있도록 제어하기 위한 제2 제어 모듈을 더 포함한다. A second control module configured to control an operating frequency of the target CPU core to be at a predetermined frequency while the target task is running in the target CPU core is included.

선택적으로, 상기 제1 제어 모듈은 구체적으로: Optionally, the first control module specifically:

상기 타겟 태스크가 기설정 우선급으로 상기 타겟 CPU 코어중에서 운행하도록 제어하기 위한 것이다. This is to control the target task to run among the target CPU cores with a preset priority.

선택적으로, 상기 장치는: Optionally, the device:

클라우드 서버에서 송신한 상기 타겟 태스크를 수신하기 위한 수신 모듈로서, 상기 타겟 태스크를 사용자가 미리 상기 클라우드 서버로 업로드한 것인, 수신 모듈을 포함한다. A receiving module for receiving the target task transmitted from the cloud server, wherein the target task has been previously uploaded to the cloud server by a user.

선택적으로, 상기 장치는: Optionally, the device:

상기 클라우드 서버로 상기 타겟 태스크의 연산량을 리포팅하기 위한 리포팅 모듈을 포함한다. and a reporting module for reporting the amount of computation of the target task to the cloud server.

제3 측면에 있어서, 본 개시에서 전자 기기를 제공하며, 상기 전자 기기는: In a third aspect, the present disclosure provides an electronic device, wherein the electronic device:

적어도 하나의 프로세서; 및 at least one processor; and

상기 적어도 하나의 프로세서와 통신 연결된 메모리;를 포함하며, 그 중, a memory communicatively coupled to the at least one processor, including, among them,

상기 메모리에는 상기 적어도 하나의 프로세서에 의하여 실행 가능한 명령이 저장되어 있고, 상기 명령은 상기 적어도 하나의 프로세서에 의하여 실행되여, 상기 적어도 하나의 프로세서로 하여금 제1 측면에 따른 임의의 어느 한 방법을 수행하도록 한다. Instructions executable by the at least one processor are stored in the memory, and the instructions are executed by the at least one processor to cause the at least one processor to perform any one method according to the first aspect. let it do

제4 측면에 있어서, 본 개시에서 컴퓨터 명령이 저장되어 있는 비일시적 컴퓨터 판독 가능 저장 매체를 제공하며, 상기 컴퓨터 명령은 상기 컴퓨터로 하여금 제1 측면에 따른 임의의 어느 한 방법을 실행하기 위한 것이다. In a fourth aspect, the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, the computer instructions for causing the computer to execute any one method according to the first aspect.

상술한 개시중의 실시예는 하기 장점 또는 유익한 효과를 구비한다. The embodiments in the above disclosure have the following advantages or advantageous effects.

본 개시에서, 타겟 태스크에 대하여 연산량 측정 평가를 진행해야 되는 경우, 타겟 태스크가 타겟 CPU 코어중에서 운행하도록 제어하는 것을 통하여, 또한 타겟 태스크가 운행 과정중에서 점유한 CPU 타임 슬라이스 점유율을 획득하고, 즉 타겟 CPU 코어의 DMIPS 및 타겟 태스크가 점유한 CPU 타임 슬라이스 점유율에 따라, 타겟 태스크의 연산량을 확정한다. 상술한 기술 수단을 사용하였기에, 본 개시에서 확정한 태스크 연산량은 더욱 진실되고, 더욱 정확하게 태스크가 점유해야 할 CPU 연산력을 특성화할 수 있다. 따라서, 태스크에 대하여 분배할 때, 본 개시에서 확정한 태스크 연산량을 기반으로 하여, 기기의 하드웨어 타입 선택에 더욱 가치있는 참고를 제공할 수 있다.In the present disclosure, when it is necessary to evaluate the amount of computation for a target task, the CPU time slice occupied by the target task during the running process is obtained by controlling the target task to run in the target CPU core, that is, the target task The amount of computation of the target task is determined according to the DMIPS of the CPU core and the CPU time slice occupied by the target task. Because of the use of the above technical means, the task calculation amount determined in the present disclosure is more true, and more accurately characterizes the CPU calculation power to be occupied by the task. Therefore, when distributing to tasks, based on the task calculation amount determined in the present disclosure, a more valuable reference can be provided for selecting the hardware type of the device.

상술한 선택적인 방식이 구비한 기타 효과는 하기 명세서중의 구체적인 실시예를 결합하여 추가 설명을 진행한다. Other effects provided by the above-described optional method will be further described by combining specific examples in the following specification.

첨부 도면은 본 방안을 더욱 잘 이해하기 위한 것이고, 본 개시에 대한 제한을 구성하지 않는다. 그 중:
도 1은 본 개시의 실시예에서 제공하는 태스크 연산량 확정 방법의 플로우차트이다.
도 2는 본 개시의 실시예에서 제공하는 태스크 연산량 확정 방법의 처리 플로우차트 예시도이다.
도 3은 본 개시의 실시예에서 제공하는 태스크 연산량 측정 평가 시스템 분배 예시도이다.
도 4는 본 개시의 실시예에서 제공하는 태스크 측정 평가 폐쇄 루프 예시도이다.
도 5는 본 개시의 실시예에서 제공하는 태스크 연산량 확정 장치의 구조 예시도이다.
도 6은 본 개시의 실시예의 태스크 연산량 확정 방법을 구현하는 전자 기기의 블록도이다.
The accompanying drawings are for a better understanding of the present solution and do not constitute limitations on the present disclosure. among them:
1 is a flowchart of a method for determining a task computation amount provided in an embodiment of the present disclosure.
2 is an exemplary processing flow chart of a method for determining a task computation amount provided by an embodiment of the present disclosure.
3 is an exemplary distribution diagram of a system for measuring and evaluating a task calculation amount provided by an embodiment of the present disclosure.
4 is an exemplary view of a task measurement evaluation closed loop provided by an embodiment of the present disclosure.
5 is an exemplary structural diagram of an apparatus for determining a task calculation amount provided in an embodiment of the present disclosure.
6 is a block diagram of an electronic device implementing a method for determining a task computation amount according to an embodiment of the present disclosure.

이하 도면을 결부시켜 본 개시의 예시적인 실시예에 대하여 설명을 진행하고, 그 중 이해를 돕기 위하여 본 개시의 실시예의 각종 디테일도 포함되며, 이는 오직 예시적인 것임을 이해해야 된다. 이로써, 해당 기술분야에서 통상의 지식을 가진 자들은 여기서 설명한 실시예에 대하여 각종 변화 및 수정을 진행할 수 있고, 본 개시의 범위 및 정신을 벗어나지 않음을 이해해야 한다. 동일하게, 명확하고 또한 간단명료하기 위하여, 하기 설명에서는 공지된 기능 및 구조에 대한 설명을 생략한다. It should be understood that exemplary embodiments of the present disclosure are described below in connection with the drawings, and various details of the embodiments of the present disclosure are included for better understanding, which are only exemplary. Accordingly, it should be understood that those skilled in the art may make various changes and modifications to the embodiments described herein without departing from the scope and spirit of the present disclosure. Equally, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

현재, 태스크 연산량은 통상적으로 MACCs 및 FLOPS를 사용하여 특성화를 하고, MACCs는 이론의 승법 누산 횟수를 특성화하기 위한 것이고, FLOPS는 GPU(Graphics Processing Unit, 그래픽 프로세서) 측의 플로팅 포인트 연산 횟수를 특성화하기 위한 것이다. Currently, the amount of task operations is usually characterized using MACCs and FLOPS, MACCs are for characterizing the number of theoretical multiplication accumulations, and FLOPS is for characterizing the number of floating point operations on the GPU (Graphics Processing Unit, graphics processor) side. it is for

태스크의 깊이가 점차 증가되는 것에 따라, 태스크의 연산 복잡도 및 연산량도 따라서 상승되며, 태스크가 운행 과정에서 점유해야 할 CPU 연산력도 점차 높아진다. 예컨대, 인공지능(Artificial Intelligence, AI로 약칭)의 발전에 따라, 깊이 학습도 점차 각 분야에서의 메인스트림 방법으로 되어가고, 레지듀얼 네트워크(Residual Networks, ResNets로 약칭)의 이젝터에 따라, 신경 네트워크의 깊이도 점차 증가되며, 연산 복잡도 및 연산량도 따라서 상승된다. 따라서, 태스크가 기기중에서 정상적으로 운행할 수 있도록 확보하기 위하여, 기기중에서 태스크를 분배하기 전, 기기의 CPU 연산력이 태스크의 연산력 부하를 부담할 수 있을지 여부에 대하여 측정 평가를 해야 하고, 또는, 기기의 CPU 연산력이 태스크의 연산량을 만족할지 여부에 대하여 측정 평가를 해야 한다.As the depth of the task gradually increases, the computational complexity and amount of computation of the task also increase accordingly, and the CPU computational power to be occupied by the task in the course of driving also gradually increases. For example, with the development of artificial intelligence (Artificial Intelligence, abbreviated as AI), depth learning is gradually becoming a mainstream method in each field, and along with ejectors of residual networks (abbreviated as Residual Networks, ResNets), neural networks The depth of is gradually increased, and the computational complexity and amount of computation are also increased accordingly. Therefore, in order to ensure that the task can run normally in the device, before distributing the task among the devices, it is necessary to measure and evaluate whether the CPU computing power of the device can bear the load of the task's computing power, or It is necessary to measure and evaluate whether the CPU processing power satisfies the processing amount of the task.

그러나, 상술한 두가지 태스크 연산량의 특성화 방식은 전부 태스크가 CPU중에서 운행할 때 점유해야 할 연산량을 특성화할 수 없어, 이는 현재로서 태스크가 CPU중에서 운행할 때 점유해야 할 연산량을 진실하고 또한 정확하게 확정할 수 없으며, 따라서 기기의 하드웨어 타입 선택, 태스크의 적합화 등 방면에서 지도를 제공할 수 없게 된다. However, none of the above-mentioned methods for characterizing the amount of computation of a task can characterize the amount of computation to be occupied when a task runs in the CPU, and it is currently impossible to truly and accurately determine the amount of computation to be occupied when a task runs in the CPU. Therefore, it is not possible to provide guidance in terms of selection of the hardware type of the device, suitability of the task, and the like.

이를 기반으로, 본 개시에서 타겟 태스크가 CPU중에서 운행할 때 점유해야 할 연산량을 확정하기 위한, 또는, 타겟 태스크가 운행 과정중에서 점유해야 할 CPU 연산력을 확정하기 위한 태스크 연산량 확정 방법을 제공한다. 본 개시에서 측정 평가 기기(예컨대 컴퓨터, 핸드폰, 차량 탑재 컴퓨터 등 단말 기기)를 통하여 태스크 연산량의 확정을 진행할 수 있다. Based on this, the present disclosure provides a task operation amount determination method for determining the amount of computation to be occupied by the target task while running in the CPU or determining the amount of computational power of the CPU to be occupied by the target task during the running process. In the present disclosure, the task calculation amount may be determined through a measurement evaluation device (eg, a terminal device such as a computer, a mobile phone, and a vehicle-mounted computer).

본 개시에서, 타겟 태스크는 측정 평가 기기의 CPU중에서 운행할 수 있는 태스크를 의미하고, 타겟 태스크가 CPU중에서 운행할 때 스레드 또는 프로세스일 수 있다. 타겟 태스크의 연산량은 타겟 태스크가 운행 과정중에서 점유해야 할 CPU 연산력을 의미한다. In the present disclosure, a target task means a task that can run in the CPU of the measurement and evaluation device, and can be a thread or a process when the target task runs in the CPU. The amount of computation of the target task means CPU computational power to be occupied by the target task during the running process.

도 1에서 도시된 바와같이, 상기 태스크 연산량 확정 방법은 하기의 단계를 포함한다.As shown in Fig. 1, the method for determining the amount of operation of a task includes the following steps.

단계 101: 타겟 태스크가 타겟 CPU 코어에서 운행하도록 제어한다. Step 101: Control the target task to run in the target CPU core.

현재, CPU는 일반적으로 다중 코어(즉 물리 코어) 아키텍처를 사용하고, 일부 CPU에는 대코어 및 소코어가 배치되어 있다. 상기 단계에서, 타겟 태스크가 타겟 CPU 코어에서 운행하도록 제어하는 것을 통하여, 이에 따라, 타겟 태스크의 연산량은 오직 타겟 CPU 코어의 연산력을 고려하면 되기에, 타겟 태스크의 연산량을 더욱 간단하고 또한 더욱 정확하게 확정할 수 있다. Currently, CPUs generally use a multi-core (ie, physical core) architecture, and some CPUs have large and small cores. In the above step, the target task is controlled to run in the target CPU core, and therefore, the calculation amount of the target task only needs to consider the calculation power of the target CPU core, so that the calculation amount of the target task is more simply and more accurately determined. can do.

본 개시에서, 타겟 태스크가 운행하기 전, 타겟 태스크가 기타 CPU 코어에서 운행하지 않고, 오직 타겟 CPU 코어에서 운행하도록, 미리 타겟 태스크를 위하여 CPU 코어를 바인딩할 수 있다. 타겟 태스크를 위하여 CPU 코어를 바인딩하는 방법은 예컨대, 안드로이드(Android) 시스템에서 명령 "echo "0" > /sys/devices/system/cpu/cpuN/ online"을 통하여 CPU 코어의 바인딩을 구현할 수 있고, 그 중, N는 금지해야 할 CPU 코어를 의미한다. In the present disclosure, before the target task runs, the CPU core may be bound to the target task in advance so that the target task runs only on the target CPU core and not on other CPU cores. A method of binding a CPU core for a target task may implement binding of a CPU core through, for example, an Android system through the command “echo “0” > /sys/devices/system/cpu/cpuN/ online”, Among them, N denotes a CPU core to be prohibited.

본 개시에서, 타겟 태스크는 이미지 검측 알고리즘을 이용하는 이미지 검측 태스크일 수 있고, 타겟 태스크의 연산량은 이미지 검측 알고리즘의 연산량일 수 있으며, 더욱 구체적으로 말하자면, 타겟 태스크의 연산량은 이미지 검측 알고리즘을 이용하여 이미지 검측을 진행하는 연산량일 수 있다. 구체적인 애플리케이션에서, 이미지 검측 태스크는 예컨대, 얼굴 검측, 얼굴 인식, 제스처 인식, 차선 검측, 보행자 차량 검측, 텍스트 인식, 물체 분류, 물체 분할 등 태스크를 포함할 수 있다. In the present disclosure, the target task may be an image detection task using an image detection algorithm, and the calculation amount of the target task may be the calculation amount of the image detection algorithm. More specifically, the calculation amount of the target task may be an image detection task using an image detection algorithm. It may be an amount of computation that proceeds with detection. In a specific application, the image detection task may include, for example, face detection, face recognition, gesture recognition, lane detection, pedestrian vehicle detection, text recognition, object classification, object segmentation, and the like.

타겟 태스크는 음성 인식 알고리즘을 이용한 음성 인식 태스크일 수 있고, 타겟 태스크의 연산량은 음성 인식 알고리즘의 연산량일 수 있으며, 더욱 구체적으로 말하자면, 타겟 태스크의 연산량은 음성 인식 알고리즘을 이용하여 음성 인식을 진행하는 연산량일 수 있다. 구체적인 애플리케이션에서, 음성 인식 태스크는 예컨대, 음성 웨이크업, 서맨틱 이해, 언어 번역, 음성 합성 등 태스크를 포함할 수 있다. The target task may be a voice recognition task using a voice recognition algorithm, and the amount of calculation of the target task may be the amount of calculation of the voice recognition algorithm. More specifically, the amount of calculation of the target task is to perform voice recognition using a voice recognition algorithm. It may be an amount of operation. In specific applications, speech recognition tasks may include, for example, speech wake-up, semantic understanding, language translation, speech synthesis, and the like.

타겟 태스크는 계획과 제어 알고리즘을 이용한 태스크일 수 있고, 타겟 태스크의 연산량은 계획과 제어 알고리즘의 연산량일 수 있다. 구체적인 애플리케이션에서, 계획과 제어 알고리즘의 태스크는 예컨대 경로 계획, 궤적 예측, 학습 강화, MPC(Model Predictive Control, 모델 예측 제어) 등 태스크를 포함할 수 있다. The target task may be a task using a planning and control algorithm, and the amount of computation of the target task may be the amount of calculation of the planning and control algorithm. In a specific application, the tasks of the planning and control algorithms may include, for example, path planning, trajectory prediction, learning enhancement, MPC (Model Predictive Control), etc. tasks.

단계 102: 상기 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 획득하고, 상기 태스크 운행 기간은 상기 타겟 태스크가 운행을 시작해서부터 상기 타겟 태스크가 운행을 종료할 때까지의 기간이다. Step 102: The target task acquires a CPU time slice occupancy rate in a task running period, and the task running period is a period from when the target task starts running to when the target task ends running.

현재 작업 시스템(예컨대 Windows、Linux、Mac OS X 등)은 동시에 복수 개의 프로세스가 운행하는 것을 허용하고, 따라서, 태스크가 운행하는 기간에서, 타겟 태스크가 타겟 CPU 코어중에서 운행하는 것 이외, 타겟 CPU코 어중에는 가능하게 기타 프로세스가 운행할 수 있다. 또한, 타겟 태스크가 운행하는 과정에서, 가능하게 지속적으로 운행하는 것이 아니라, 기타 프로세스와 교차적으로 운행하는 것일 수 있다. 따라서, 태스크가 운행하는 기간에서, 타겟 CPU 코어의 연산력은 타겟 태스크가 전부 점유하는 것은 아니다. The current working system (such as Windows, Linux, Mac OS X, etc.) allows multiple processes to run at the same time, and therefore, during the running period of the task, the target CPU core other than the target task running among the target CPU cores. During this time, other processes may possibly be running. Also, while the target task is running, it may not be running continuously, but may be running intersectively with other processes. Therefore, in the period during which the task runs, the target CPU core's computing power is not entirely occupied by the target task.

CPU 타임 슬라이스(timeslice)는 또한 "양자(quantum)" 또는 "프로세서 슬라이스(processor slice)"로 칭하며, 시분할 작업 시스템이 각각의 운행중인 프로세스 마이크로뷰로 분배하는 한 기간의 CPU 타임이다. 보다시피, CPU 타임 슬라이스는 비교적 진실되게 프로세스(또는 태스크) 운행이 점유하는 CPU 타임을 나타낼 수 있다. A CPU timeslice, also referred to as a "quantum" or "processor slice", is a period of CPU time that a time-slicing task system distributes to each running process microview. As you can see, a CPU time slice can relatively truthfully represent the CPU time occupied by a process (or task) running.

이로써, 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율은 비교적 진실되게 타겟 태스크 운행이 점유하는 CPU 타임 슬라이스의 비율을 나타낼 수 있고, 따라서 타겟 태스크 운행에 필요한 CPU 연산력 점유율을 측정하는데 적합하다. Thus, the CPU time slice occupancy of the target task in the task running period can relatively truthfully represent the ratio of the CPU time slice occupied by the target task running, and thus is suitable for measuring the CPU computing power occupation required for the target task running.

이를 기반으로 하여, 상기 단계에서, 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 획득하는 것을 통하여, 타겟 태스크 운행에 필요한 CPU 연산력 점유율을 비교적 진실되게 또한 정확하게 특성화할 수 있고, 따라서 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율은 타겟 태스크의 연산량의 확정을 위하여 근거를 제공해줄 수 있다. Based on this, in the above step, through the target task acquiring the CPU time slice occupancy in the task running period, the CPU computing power occupancy required for the target task running can be characterized relatively truthfully and accurately, so that the target task The CPU time slice occupancy rate in the task operation period may provide a basis for determining the amount of operation of the target task.

여기서, 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율은, 타겟 태스크가 태스크 운행 기간에서의 타겟 CPU 코어의 타임 슬라이스 점유율로 이해할 수 도 있다. Here, the CPU time slice occupancy of the target task during the task operation period may be understood as the time slice occupancy of the target CPU core during the task operation period of the target task.

단계 103: 상기 타겟 CPU 코어의 DMIPS 및 상기 CPU 타임 슬라이스 점유율에 따라, 상기 타겟 태스크의 연산량을 확정한다. Step 103: Determine the amount of computation of the target task according to the DMIPS of the target CPU core and the CPU time slice occupancy rate.

그 중, DMIPS(Dhrystone Million Instructions executed Per Second)는 컴퓨터 칩을 측정하는 단위이고, DMIPS 수치가 클 수록, CPU의 데이터 처리 능력은 강하다. MIPS(Million Instructions executed Per Second, 매초 백만건 명령)는 동일한 1초 내에서 시스템의 처리 능력을 연산하기 위한 것이고, 즉 매초에 얼만큼한 백만건 명령을 실행한 것이다. 보다시피, DMIPS는 비교적 진실되게 CPU의 연산 능력을 측정하고, DMIPS는 기기의 CPU 연산력의 측정 단위로 볼 수 있다. 따라서, 타겟 CPU 코어의 DMIPS는 비교적 진실되게 타겟 CPU 코어의 총 연산력을 측정할 수 있다. Among them, DMIPS (Dhrystone Million Instructions executed Per Second) is a unit for measuring computer chips, and the larger the DMIPS value, the stronger the data processing capability of the CPU. MIPS (Million Instructions executed Per Second) is for calculating the processing power of the system within the same 1 second, that is, how many million instructions are executed every second. As you can see, DMIPS is a relatively truthful measure of a CPU's computational power, and DMIPS can be viewed as a unit of measure for a device's CPU's computational power. Thus, the DMIPS of the target CPU core can relatively truthfully measure the total computing power of the target CPU core.

본 개시에서, 타겟 태스크가 타겟 CPU 코어중에서 운행하도록 제어하는 것을 통하여, 타겟 CPU 코어의 DMIPS를 타겟 태스크 연산량의 확정 근거로 할 수 있고, 따라서 확정한 타겟 태스크의 연산량은 타겟 태스크 운행시 점유해야 할 CPU 연산력을 더욱 진실되고, 더욱 정확하게 특성화할 수 있다. In the present disclosure, through controlling the target task to run in the target CPU core, the DMIPS of the target CPU core can be used as the basis for determining the amount of computation of the target task, and thus the determined amount of computation of the target task is to be occupied during running of the target task. CPU computing power can be more truthfully and accurately characterized.

타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율이 트겟 태스크 운행에 필요한 CPU 연산력 점유율을 측정하는데 적합하기에, 타겟 CPU 코어의 DMIPS는 비교적 진실되게 타겟 CPU 코어의 총 연산력을 측정할 수 있고, 따라서, 상기 단계에서, 타겟 CPU 코어의 DMIPS 및 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율에 따라, 타겟 태스크의 연산량을 확정할 수 있다. 또한, 이에 따라 확정해낸 타겟 태스크의 연산량은 더욱 진실되고, 더욱 정확하게 태스크가 점유해야 할 CPU 연산력을 특성화할 수 있다. Since the target task's CPU time slice occupancy in the task running period is suitable for measuring the CPU computing power share required for target task running, the DMIPS of the target CPU core can relatively truthfully measure the total computing power of the target CPU core, and thus , In the above step, the amount of operation of the target task may be determined according to the DMIPS of the target CPU core and the CPU time slice occupancy of the target task in the task running period. In addition, the calculation amount of the target task thus determined can characterize the CPU calculation power to be occupied by the task more truthfully and more accurately.

예컨대, 타겟 CPU 코어의 DMIPS가 A이고, 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율이 B이며, 타겟 태스크의 연산량이 C일 때, C=a·A×b·B이고, 그 중, a 및 b는 전부 0보다 큰 계수이다. For example, when the DMIPS of the target CPU core is A, the CPU time slice share of the target task in the task running period is B, and the amount of computation of the target task is C, then C = a A × b B, of which: a and b are both coefficients greater than zero.

본 개시에서, 타겟 태스크에 대하여 연산량 측정 평가를 진행해야 되는 경우, 타겟 태스크가 타겟 CPU 코어에서 운행하도록 제어하는 것을 통하여, 또한 상기 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 획득하며, 즉 상기 타겟 CPU 코어의 DMIPS 및 상기 CPU 타임 슬라이스 점유율에 따라, 상기 타겟 태스크의 연산량을 확정할 수 있다. 상술한 기술 수단을 사용하였기에, 본 개시에서 확정한 태스크 연산량은 더욱 진실되고, 더욱 정확하게 태스크가 점유해야 할 CPU 연산력을 특성화할 수 있다. 따라서, 태스크에 대하여 분배할 때, 본 개시에서 확정한 태스크 연산량을 기반으로 하여, 기기의 하드웨어 타입 선택에 더욱 가치있는 참고를 제공할 수 있다.In the present disclosure, when it is necessary to evaluate the amount of computation for a target task, the target task obtains the CPU time slice occupancy rate in the task running period by controlling the target task to run in the target CPU core, that is, The amount of computation of the target task may be determined according to the DMIPS of the target CPU core and the CPU time slice occupancy rate. Because of the use of the above technical means, the task calculation amount determined in the present disclosure is more true, and more accurately characterizes the CPU calculation power to be occupied by the task. Therefore, when distributing to tasks, based on the task calculation amount determined in the present disclosure, a more valuable reference can be provided for selecting the hardware type of the device.

설명해야 할 것은, 현재 아직도 CPU 점유율을 기반으로 하여 태스크 연산량에 대해 측정 평가를 진행하는 기술이 존재하고, 해당 기술은 아이들 태스크 타이밍을 통하여 CPU 점유율을 통계하지만, 이러한 방식은 오직 연속적인 태스크에 적용되고, 통용성을 구비하지 않는다. 일부 비연속족인 태스크에 대하여 말하면, CPU 점유율을 기반으로 하여 태스크 연산량의 확정을 구현할 수 없다. 이미지 검측 알고리즘을 예를 들면, 이미지 검측 알고리즘은 한 프레임 한 프레임의 이미지에 대하여 처리를 진행하기 위한 것이고, 태스크 운행 기간내에서 연속성이 결핍하며, CPU점유율을 기반으로 하여 이미지 검측 알고리즘의 연산량을 측정 평가한다면, 결과에 편차가 비교적 크다. What needs to be explained is that currently there is still a technology that measures and evaluates the amount of task computation based on CPU occupancy, and that technology statistics CPU occupancy through idle task timing, but this method only applies to continuous tasks. and does not have universality. As for some non-contiguous tasks, it is not possible to implement the determination of the task operation amount based on the CPU occupancy rate. Take the image detection algorithm as an example, the image detection algorithm is to process images frame by frame, and there is a lack of continuity within the task operation period, and based on the CPU occupancy rate, the amount of operation of the image detection algorithm is measured and evaluated. If so, the variance in the results is relatively large.

그러나 본 개시에서 제공하는 DMIPS 및 CPU 타임 슬라이스 점유율을 기반으로 하여 태스크 연산량을 확정하는 방안은, CPU 타임 슬라이스 점유율이 태스크 운행에 필요한 CPU 연산력 점유율을 비교적 진실되고 또한 정확하게 특성화할 수 있기에, 연속적인 태스크에 적용될 뿐만 아니라, 비연속적인 태스크에도 적용되어, 통용성을 구비하고 있다. However, the method for determining the amount of task computation based on DMIPS and CPU time slice occupancy provided by the present disclosure can relatively truthfully and accurately characterize the CPU time slice occupancy required for task operation, so that continuous task It is applied not only to , but also to non-continuous tasks, and has universality.

선택적으로, 상기 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 획득하는 단계는: Optionally, the step of obtaining, by the target task, a CPU time slice occupancy in a task running period:

상기 타겟 CPU 코어가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스를 획득하는 단계; obtaining, by the target CPU core, a CPU time slice in the task running period;

상기 타겟 태스크가 점유한 CPU 타임 슬라이스를 획득하는 단계; 및 obtaining a CPU time slice occupied by the target task; and

상기 타겟 CPU 코어가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스 및 상기 타겟 태스크가 점유한 CPU 타임 슬라이스에 따라, 상기 타겟 태스크가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 확정하는 단계;를 포함한다. and determining, by the target CPU core, the occupancy rate of the CPU time slice during the task operation period by the target task according to the CPU time slice during the task operation period and the CPU time slice occupied by the target task.

해당 실시 방식에 있어서, 타겟 CPU 코어가 태스크 운행 기간에서의 CPU 타임 슬라이스는, 타겟 CPU 코어가 해당 기간에서의 총 CPU 타임 슬라이스로 이해할 수 있다. 해당 기간에서의 총 CPU 타임 슬라이스중에서, 부분 타임 슬라이스는 타겟 태스크를 운행하기 위한 것이고, 부분 타임 슬라이스는 기타 태스크 또는 프로세스를 운행하기 위한 것일 수 있고, 또는 전부의 타임 슬라이스가 타겟 태스크를 운행하기 위한 것일 수 있다. In this implementation mode, a CPU time slice in a task execution period of a target CPU core may be understood as a total CPU time slice in the period in which the target CPU core is running. Of the total CPU time slices in the period, partial time slices are for running the target task, partial time slices are for running other tasks or processes, or all time slices are for running the target task. it could be

타겟 태스크가 점유한 CPU 타임 슬라이스는, 타겟 태스크 자체가 점유한 CPU 타임 슬라이스인 것으로 이해할 수 있다. A CPU time slice occupied by a target task can be understood as a CPU time slice occupied by the target task itself.

해당 실시 방식에 있어서, CPU 타임 슬라이스 점유 검측 모듈을 통하여 상술한 두가지 CPU 타임 슬라이스의 획득을 구현할 수 있다. In this embodiment, the acquisition of the above two CPU time slices may be implemented through a CPU time slice occupancy detection module.

예컨대, 타겟 태스크가 운행을 시작한 것으로 검측되였을 때, CPU 타임 슬라이스 점유 검측 모듈이 타겟 CPU 코어의 /proc/stat의 타임 슬라이스를 판독하여, t_cpu_start으로 기록하고; 타겟 태스크가 운행을 종료한 것으로 검측되였을 때, CPU 타임 슬라이스 점유 검측 모듈이 타겟 CPU 코어의 /proc/stat의 CPU타임 슬라이스를 판독하여, t_cpu_end으로 기록하며; 이에 따라, 타겟 CPU 코어가 태스크 운행 기간에서의 CPU 타임 슬라이스는 (t_cpu_end - t_cpu_start)이다. For example, when it is detected that the target task starts running, the CPU time slice occupancy detection module reads the time slice of /proc/stat of the target CPU core and writes it as t_cpu_start; When it is detected that the target task has finished running, the CPU time slice occupancy detection module reads the CPU time slice of /proc/stat of the target CPU core and writes it as t_cpu_end; Accordingly, the CPU time slice of the target CPU core during the task operation period is (t_cpu_end - t_cpu_start).

상응적으로, 타겟 태스크가 운행을 시작한 것으로 검측되였을 때, CPU 타임 슬라이스 점유 검측 모듈이 타겟 CPU 코어의 /proc/[pid]/stat의 타임 슬라이스를 판독하여, t_app_cpu_start으로 기록하고; 타겟 태스크가 운행을 종료한 것으로 검측되였을 때, CPU 타임 슬라이스 점유 검측 모듈이 타겟 CPU 코어의 /proc/[pid]/stat의 CPU 타임 슬라이스를 판독하여, t_app_cpu_end으로 기록하며; 이에 따라, 타겟 태스크가 점유한 CPU 타임 슬라이스는 (t_app_cpu_end - t_app_cpu_start)이다. Correspondingly, when it is detected that the target task starts running, the CPU time slice occupancy detection module reads the time slice of /proc/[pid]/stat of the target CPU core and writes it as t_app_cpu_start; When it is detected that the target task has finished running, the CPU time slice occupancy detection module reads the CPU time slice of /proc/[pid]/stat of the target CPU core and writes it as t_app_cpu_end; Accordingly, the CPU time slice occupied by the target task is (t_app_cpu_end - t_app_cpu_start).

상술한 /proc/[pid]/stat중의 pid는 프로세스의 id를 나타내고, 또한 타겟 태스크의 id를 나타낸다. The pid in /proc/[pid]/stat described above indicates the id of the process and also the id of the target task.

타겟 태스크가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율은 하기 공식을 통하여 얻을 수 있다: The CPU time slice occupancy of the target task during the task running period can be obtained through the following formula:

cpu_usage=(t_app_cpu_end-t_app_cpu_start)/(t_cpu_end-t_cpu_start)를 통하여 얻을 수 있으며,It can be obtained through cpu_usage=(t_app_cpu_end-t_app_cpu_start)/(t_cpu_end-t_cpu_start).

그 중, cpu_usage는 타겟 태스크가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 나타낸다.Among them, cpu_usage represents the CPU time slice occupancy of the target task during the task running period.

해당 실시 방식에 있어서, 타겟 태스크가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 확정하는 것을 통하여, 타겟 태스크의 연산량을 정확하게 측정 평가하는데 유리하다. In this implementation method, it is advantageous to accurately measure and evaluate the operation amount of the target task by determining the CPU time slice occupancy of the target task during the task operation period.

선택적으로, 상기 타겟 태스크의 연산량은 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량이고; Optionally, the amount of computation of the target task is the amount of computation of the image detection algorithm at a target frame rate;

상기 타겟 CPU 코어의 DMIPS 및 상기 CPU 타임 슬라이스 점유율에 따라, 상기 타겟 태스크의 연산량을 확정하는 단계는: The step of determining the operation amount of the target task according to the DMIPS of the target CPU core and the CPU time slice occupancy rate is:

상기 이미지 검측 알고리즘이 상기 태스크 운행 기간내에 처리한 이미지 프레임수를 획득하는 단계; obtaining the number of image frames processed by the image detection algorithm within the task operation period;

상기 타겟 CPU 코어의 DMIPS, 상기 CPU 타임 슬라이스 점유율, 상기 태스크 운행 기간 및 상기 이미지 프레임수에 따라, 상기 이미지 검측 알고리즘의 싱글 프레임 연산량을 확정하는 단계; 및determining a single frame operation amount of the image detection algorithm according to the DMIPS of the target CPU core, the CPU time slice occupancy rate, the task running period, and the number of image frames; and

상기 싱글 프레임 연산량 및 상기 타겟 프레임율에 따라, 상기 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량을 확정하는 단계;를 포함한다. and determining, by the image detection algorithm, an operation amount at the target frame rate according to the single frame operation amount and the target frame rate.

이미지 검측 알고리즘이 응용될 때, 일반적으로 이미지 검측 효율을 참조해야 되고, 즉 이미지 검측의 프레임율을 참조해야 된다. 이를 기반으로 하여, 해당 실시 방식에 있어서, 이미지 검측 알고리즘의 연산량을 연산해야 될 때, 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량을 고려할 수 있다. When an image detection algorithm is applied, it is generally necessary to refer to the image detection efficiency, that is, to refer to the frame rate of image detection. Based on this, in the implementation method, when the amount of calculation of the image detection algorithm needs to be calculated, the image detection algorithm may consider the amount of calculation at the target frame rate.

하기 도 2를 결부하여, 상기 실시 방식의 처리 플로우차트에 대하여 예시적인 설명을 진행한다. Referring to Fig. 2 below, an illustrative description of the processing flow chart of the above implementation manner is provided.

도 2에서 도시된 바와같이, 측정 평가 기기중 검측 태스크 인터페이스(201), CPU 타임 슬라이스 점유 검측 모듈(202), 알고리즘 운행 통계 모듈(203) 및 연산량 분석 모듈(204)을 설정할 수 있다. As shown in Fig. 2, a detection task interface 201, a CPU time slice occupancy detection module 202, an algorithm operation statistics module 203, and an operation amount analysis module 204 may be set in the measurement and evaluation device.

검측 태스크 인터페이스(201)를 통하여 이미지 검측 알고리즘 모델(205) 및 일정한 프레임수(예컨대 500 프레임)의 아날로그 이미지(206)를 입력하고, 또한 이미지 검측 알고리즘이 타겟 CPU 코어중에서 운행하도록 제어하여, 전부의 아날로그 이미지의 검측이 완성되도록, 이미지 검측 알고리즘이 아날로그 이미지에 대하여 검측을 진행하게 한다. 이미지 검측 알고리즘이 전부의 아날로그 이미지를 처리하는 기간이 바로 태스크 운행 기간이다. 각각의 아날로그 이미지가 이미지 검측 알고리즘을 통하여 검측을 진행하는 횟수는 한회일 수 있고, 또는 복수 회일 수 있으며, 본 개시에서는 이에 대하여 한정하지 않는다. The image detection algorithm model 205 and the analog image 206 of a certain number of frames (eg, 500 frames) are input through the detection task interface 201, and the image detection algorithm is controlled to run in the target CPU core, so that all In order to complete the detection of the analog image, the image detection algorithm performs detection on the analog image. The period during which the image detection algorithm processes all analog images is the task operation period. The number of times each analog image is detected through an image detection algorithm may be one time or may be multiple times, and the present disclosure is not limited thereto.

CPU 타임 슬라이스 점유 검측 모듈(202)을 통하여 이미지 검측 알고리즘의 운행 과정중의 CPU 타임 슬라이스 점유율을 통계할 수 있고, 알고리즘 운행 통계 모듈(203)을 통하여 이미지 검측 알고리즘이 운행하는 시작 시간, 종료 시간 및 운행 횟수를 통계할 수 있다. 그 중, 이미지 검측 알고리즘이 운행하는 시작 시간에서 종료 시간까지의 기간을 태스크 운행 기간으로 하고, 운행 횟수는 이미지 검측 알고리즘이 태스크 운행 기간내에서 처리한 이미지 프레임수이다. Through the CPU time slice occupancy detection module 202, the CPU time slice occupancy during the running process of the image detection algorithm can be statistics, and through the algorithm operation statistics module 203, the start time, end time and The number of trips can be counted. Among them, the period from the start time to the end of the operation of the image detection algorithm is the task operation period, and the number of operations is the number of image frames processed by the image detection algorithm within the task operation period.

CPU 타임 슬라이스 점유 검측 모듈(202)은 통계한 이미지 검측 알고리즘의 운행 과정중의 CPU 타임 슬라이스 점유율을 연산량 분석 모듈(204)로 송신할 수 있고, 알고리즘 운행 통계 모듈(203)은 통계한 이미지 검측 알고리즘이 운행하는 시작 시간, 종료 시간 및 운행 횟수를 연산량 분석 모듈(204)로 송신할 수 있으며, 또한 연산량 분석 모듈(204)을 통하여 이미지 검측 알고리즘의 싱글 프레임 연산량 및 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량을 순차적으로 확정한다. The CPU time slice occupancy detection module 202 may transmit the CPU time slice occupancy during the running process of the statistical image detection algorithm to the calculation amount analysis module 204, and the algorithm operation statistics module 203 may send the statistical image detection algorithm The operation start time, end time, and number of operations may be transmitted to the operation amount analysis module 204, and through the operation amount analysis module 204, the single frame operation amount of the image detection algorithm and the image detection algorithm may be performed at the target frame rate. Determine the amount of operation sequentially.

해당 실시 방식에 있어서, 이미지 검측 알고리즘의 싱글 연산량은 하기 공식으로 얻을 수 있다. In this implementation method, the single operation amount of the image detection algorithm can be obtained by the following formula.

dmip=duration*total_DMIPS*cpu_usage/M 로 얻을 수 있으며,You can get it with dmip=duration*total_DMIPS*cpu_usage/M ,

그 중, dmip는 이미지 검측 알고리즘의 싱글 연산량을 나타내고, duration은 태스크 운행 기간을 나타내며, total_DMIPS는 타겟CPU 코어의 총 연산력을 나타내고, cpu_usage는 이미지 검측 알고리즘이 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 나타내며, M는 이미지 검측 알고리즘이 태스크 운행 기간내에 처리한 이미지 프레임수를 나타낸다. Among them, dmip represents the amount of single operation of the image detection algorithm, duration represents the duration of the task operation, total_DMIPS represents the total computing power of the target CPU core, and cpu_usage represents the CPU time slice occupancy of the image detection algorithm during the duration of the task operation. , M represents the number of image frames processed by the image detection algorithm within the task running period.

이미지 검측 알고리즘의 싱글 프레임 연산량을 확정한후, 하기 공식을 통하여 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량을 얻을 수 있으며, 공식은: After determining the single frame operation amount of the image detection algorithm, the image detection algorithm can obtain the operation amount at the target frame rate through the following formula, the formula is:

DMIPS= dmip*fps이며,DMIPS= dmip*fps,

그 중, DMIPS는 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량을 나타내고, dmip는 이미지 검측 알고리즘의 싱글 연산량을 나타내며, fps는 타겟 프레임율을 나타낸다. Among them, DMIPS represents the amount of operation of the image detection algorithm at the target frame rate, dmip represents the amount of single operation of the image detection algorithm, and fps represents the target frame rate.

해당 실시 방식에 있어서, 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량을 확정하는 것을 통하여, 이미지 검측 알고리즘의 성능을 정확하게 측정 평가하는데 유리하고, 따라서, 이미지 검측 알고리즘에 대하여 분배를 진행할 때, 확정한 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량을 기반으로 하여, 기기 하드웨어 타입 선택을 위하여 더욱 가치있는 참고를 제공하고, 따라서 이미지 검측 알고리즘의 응용을 촉진할 수 있다. In this implementation method, it is advantageous to accurately measure and evaluate the performance of the image detection algorithm through determining the amount of computation at the target frame rate of the image detection algorithm, and therefore, when distributing the image detection algorithm, the determined image Based on the amount of computation at the target frame rate, the detection algorithm provides a more valuable reference for device hardware type selection, thus facilitating the application of the image detection algorithm.

선택적으로, 상기 방법은: Optionally, the method:

상기 타겟 태스크가 상기 타겟 CPU 코어에서 운행하는 과정중에서, 상기 타겟 CPU 코어의 운행 주파수가 기설정 주파수에 있도록 제어하는 단계를 더 포함한다. The method may further include controlling an operating frequency of the target CPU core to be at a preset frequency while the target task is running in the target CPU core.

해당 실시 방식에 있어서, 시스템 운행 주파수의 변화가 타겟 태스크의 연산량의 확정에 대하여 영향을 주는 것을 방지하기 위하여, 타겟 태스크가 타겟 CPU 코어에서 운행하는 과정중에서, 타겟 CPU 코어의 운행 주파수에 대하여 잠금을 하여, 타겟 CPU 코어의 운행 주파수가 기설정 주파수에 있도록 제어한다. In this implementation mode, in order to prevent a change in system running frequency from affecting the determination of the computation amount of the target task, while the target task is running in the target CPU core, the running frequency of the target CPU core is locked. Thus, the operating frequency of the target CPU core is controlled to be at a preset frequency.

해당 기설정 주파수는 미리 설정한 주파수 값일 수 있고, 또는 미리 설정한 주파수 범위일 수 있다. 타겟 태스크 운행 배치 파일을 통하여 타겟 CPU 코어의 운행 주파수에 대하여 배치를 진행할 수 있다. The preset frequency may be a preset frequency value or a preset frequency range. Through the target task running arrangement file, arrangement can be performed with respect to the running frequency of the target CPU core.

상기 실기 방식에 있어서, 타겟 태스크의 운행 과정에서 타겟 CPU 코어의 운행 주파수를 제어하는 것을 통하여, 타겟 태스크의 운행에 비교적 안정적인 운행 환경을 제공하여, 본 개시에서 확정한 태스크 연산량이 더욱 정확하도록 확보할 수 있다. In the above practical method, by controlling the operating frequency of the target CPU core during the operation of the target task, a relatively stable operating environment is provided for the operation of the target task, thereby ensuring that the task operation amount determined in the present disclosure is more accurate. can

선택적으로, 상기 타겟 태스크가 타겟 CPU 코어에서 운행하도록 제어하는 단계는: Optionally, controlling the target task to run in the target CPU core comprises:

상기 타겟 태스크가 기설정 우선급으로 상기 타겟 CPU 코어중에서 운행하도록 제어하는 단계를 포함한다. and controlling the target task to run among the target CPU cores with a preset priority.

상기 실시 방식에 있어서, 타겟 태스크가 비교적 높은 우선급으로 타겟 CPU 코어중에서 운행하도록 제어할 수 있고, 이에 따라, 타겟 태스크가 우선적으로 운행할 수 있고, 긴 시간 기다릴 필요가 없으며, 따라서 타겟 태스크의 운행 효율을 제고하여, 타겟 태스크의 연산량이 비교적 빠르게 확정될 수 있다. In the above implementation manner, the target task can be controlled to run in the target CPU core with a relatively high priority, so that the target task can run preferentially, and there is no need to wait for a long time, so the target task runs. To improve efficiency, the computational amount of the target task can be determined relatively quickly.

선택적으로, 상기 타겟 태스크가 타겟 CPU 코어중에서 운행하도록 제어하기 전, 상기 방법은: Optionally, before controlling the target task to run in a target CPU core, the method comprises:

클라우드 서버에서 송신한 상기 타겟 태스크를 수신하고, 상기 타겟 태스크를 사용자가 미리 상기 클라우드 서버로 업로드하는 단계를 더 포함한다. The method further includes receiving the target task transmitted from the cloud server and uploading the target task to the cloud server in advance by a user.

상기 실시 방식에 있어서, 클라우드 서버를 통하여 타겟 태스크를 측정 평가 기기로 푸시할 수 있고, 따라서 측정 평가 기기는 클라우드 서버로부터 타겟 태스크를 수신하여, 타겟 태스크 연산량에 대한 확정을 구현할 수 있다. In the above implementation manner, the target task may be pushed to the measurement and evaluation device via the cloud server, so that the measurement and evaluation device may receive the target task from the cloud server and determine the amount of computation of the target task.

상기 실시 방식에 있어서, 태스크 연산량 측정 평가 시스템을 클라우드 서버에 분배하고, 또한 대외로 개방하는 측정 평가 환경을 건설하며, 이에 따라, 개방적인 측정 평가 환경을 건설하는 것을 통하여, 태스크 연산량의 측정 평가 효율 및 측정 평가 효과를 제고하는데 유리하다. In the implementation method, the task computing amount measurement and evaluation system is distributed to a cloud server, and an open measurement and evaluation environment is built, thereby constructing an open measurement and evaluation environment, so as to measure and evaluate efficiency of task computing amount. And it is advantageous to improve the measurement evaluation effect.

하기 도 3을 결부하여, 상기 실시 방식의 플로우차트에 대하여 예시적인 설명을 진행한다. Referring to Fig. 3 below, an exemplary description of the flow chart of the above-described implementation method is provided.

도 3에서 도시된 바와같이, 클라우드 서버(301)에서 타겟 태스크를 상이한 측정 평가 기기(302)로 푸시할 수 있다. 사용자는 web 인터페이스(303)를 통하여 측정 대기 태스크를 클라우드 서버(301)로 업로드할 수 있고, 클라우드 서버(301)에서 측정 대기 태스크를 수신한 후, 자동으로 측정 대기 태스크의 모델을 컴파일링하고, 또한 측정 대기 태스크의 모델을 상이한 측정 평가 기기(302)로 푸시할 수 있다. As shown in FIG. 3 , the cloud server 301 may push the target task to different measurement evaluation devices 302 . The user can upload the task waiting for measurement to the cloud server 301 through the web interface 303, and after receiving the task waiting for measurement from the cloud server 301, the model of the task waiting for measurement is automatically compiled, It may also push the model of the measurement awaiting task to different measurement evaluation devices 302 .

선택적으로, 상기 타겟 태스크의 연산량을 연산한 후, 상기 방법은: Optionally, after computing the amount of operations of the target task, the method:

상기 클라우드 서버로 상기 타겟 태스크의 연산량을 리포팅하는 단계를 더 포함한다. The method may further include reporting the amount of computation of the target task to the cloud server.

도 3에서 도시된 바와같이, 상기 실시 방식에 있어서, 측정 평가 기기(302)에서 확정한 타겟 태스크의 연산량을 클라우드 서버(301)로 리포팅할 수 있고, 이에 따라, 클라우드 서버(301)에서는 타겟 태스크의 연산량을 사용자한테 피드백할 수 있다. As shown in FIG. 3 , in the implementation method, the calculation amount of the target task determined by the measurement evaluation device 302 may be reported to the cloud server 301. Accordingly, the cloud server 301 may report the target task The amount of operation can be fed back to the user.

상기 실시 방식에 있어서, 태스크 연산량 측정 평가 시스템을 클라우드 서버(301)로 분배하는 것을 통하여, 태스크 설계, 태스크 트레이닝, 태스크 반포 및 태스크 연산량 측정 평가를 폐쇄 루프를 형성하도록 한다(도 4에서 도시된 바와같이). 이에 따라, 태스크 설계 인원이 태스크 설계 및 태스크 트레이닝을 완성한 후, 태스크를 클라우드 서버(301)로 공개할 수 있고, 클라우드 서버(301)에서는 즉시 태스크를 측정 평가 기기로 푸시하여, 측정 평가 기기를 통하여 태스크 연산량 측정 평가를 진행하며, 측정 평가 기기에서 다시 태스크 연산량 측정 평가 결과를 클라우드 서버로 리포팅하고, 태스크에 대하여 맞춤형의 최적화를 쉽게 진행하도록, 태스크 설계 인원이 태스크 연산량의 소모 상태를 제때에 장악하는 것에 유리하다. In the implementation method, task design, task training, task distribution, and task computation evaluation are formed in a closed loop by distributing the task calculation evaluation system to the cloud server 301 (as shown in FIG. 4 ). together). Accordingly, after task design personnel complete task design and task training, the task can be published to the cloud server 301, and the cloud server 301 immediately pushes the task to the measurement evaluation device through the measurement evaluation device. Task calculation evaluation is performed, and the task calculation evaluation device measures and evaluates the task calculation amount again to the cloud server, and task design personnel take control of the consumption status of the task calculation amount in time so that customized optimization for the task can be easily performed. advantageous to

설명해야 할 것은, 본 개시중의 태스크 연산량 확정 방법중의 다중 선택적인 실시 방식은, 상호간에 결부하여 구현할 수 있고, 단독적으로 구현할 수 도 있으며, 여기에 대하여 본 개시는 한정하지 않는다. It should be noted that the multi-optional implementation methods in the method for determining the amount of computation of a task in the present disclosure may be implemented in conjunction with each other, or may be implemented independently, and the present disclosure is not limited thereto.

본 개시의 상술한 실시예는 하기 우점 또는 유익한 효과를 구비한다. The above-described embodiments of the present disclosure have the following advantages or advantageous effects.

본 개시에서, 타겟 태스크에 대하여 연산량 측정 평가를 진행해야 되는 경우, 타겟 태스크가 타겟 CPU 코어중에서 운행하도록 제어하는 것을 통하여, 또한 타겟 태스크가 운행 과정중에서 점유한 CPU 타임 슬라이스 점유율을 획득하고, 즉 타겟 CPU 코어의 DMIPS 및 타겟 태스크가 점유한 CPU 타임 슬라이스 점유율에 따라, 타겟 태스크의 연산량을 확정한다. 상술한 기술 수단을 사용하였기에, 본 개시에서 확정한 태스크 연산량은 더욱 진실되고, 더욱 정확하게 태스크가 점유해야 할 CPU 연산력을 특성화할 수 있다. 따라서, 태스크에 대하여 분배할 때, 본 개시에서 확정한 태스크 연산량을 기반으로 하여, 기기의 하드웨어 타입 선택에 더욱 가치있는 참고를 제공할 수 있다.In the present disclosure, when it is necessary to evaluate the amount of computation for a target task, the CPU time slice occupied by the target task during the running process is obtained by controlling the target task to run in the target CPU core, that is, the target task The amount of computation of the target task is determined according to the DMIPS of the CPU core and the CPU time slice occupied by the target task. Because of the use of the above technical means, the task calculation amount determined in the present disclosure is more true, and more accurately characterizes the CPU calculation power to be occupied by the task. Therefore, when distributing to tasks, based on the task calculation amount determined in the present disclosure, a more valuable reference can be provided for selecting the hardware type of the device.

본 개시에서 태스크 연산량 확정 장치를 제공하고, 도 5에서 도시된 바와같이, 태스크 연산량 확정 장치(400)는: In the present disclosure, an apparatus for determining an amount of operation for a task is provided, and as shown in FIG. 5 , the apparatus for determining an amount of operation for a task 400 includes:

타겟 태스크가 타겟 CPU 코어에서 운행하도록 제어하기 위한 제1 제어 모듈(401); a first control module 401 for controlling the target task to run in the target CPU core;

상기 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 획득하기 위한 획득 모듈(402)로서, 상기 태스크 운행 기간은 상기 타겟 태스크가 운행을 시작해서부터 상기 타겟 태스크가 운행을 종료할 때까지의 기간인 것인, 획득 모듈(402); 및 The acquisition module 402 for acquiring the CPU time slice occupancy rate of the target task in a task running period, wherein the task running period is a period from when the target task starts running to when the target task ends running. , the acquisition module 402; and

상기 타겟 CPU 코어의 DMIPS 및 상기 CPU 타임 슬라이스 점유율에 따라, 상기 타겟 태스크의 연산량을 확정하기 위한 확정 모듈(403); 을 포함한다. a determination module 403, configured to determine an operation amount of the target task according to the DMIPS of the target CPU core and the CPU time slice occupancy rate; includes

선택적으로, 획득 모듈(402)은: Optionally, the acquisition module 402:

상기 타겟 CPU 코어가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스를 획득하기 위한 제1 획득 서브 모듈; a first obtaining submodule configured for the target CPU core to obtain a CPU time slice in the task running period;

상기 타겟 태스크가 점유한 CPU 타임 슬라이스를 획득하기 위한 제2 획득 서브 모듈; 및 a second acquiring submodule configured to acquire a CPU time slice occupied by the target task; and

상기 타겟 CPU 코어가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스 및 상기 타겟 태스크가 점유한 CPU 타임 슬라이스에 따라, 상기 타겟 태스크가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 확정하기 위한 제1 확정 서브 모듈; 을 포함한다. A first determination submodule configured to determine, according to the CPU time slice of the target CPU core in the task running period and the CPU time slice occupied by the target task, the CPU time slice occupancy of the target task in the task running period ; includes

선택적으로, 상기 타겟 태스크의 연산량은 이미지 검측 알고리즘의 연산량, 음성 인식 알고리즘의 연산량 또는 계획 및 제어 알고리즘의 연산량을 포함한다. Optionally, the amount of calculation of the target task includes the amount of calculation of an image detection algorithm, the amount of calculation of a voice recognition algorithm, or the amount of calculation of a planning and control algorithm.

선택적으로, 상기 타겟 태스크의 연산량은 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량이고; Optionally, the amount of computation of the target task is the amount of computation of the image detection algorithm at a target frame rate;

확정 모듈(403)은: The confirmation module 403:

상기 이미지 검측 알고리즘이 상기 태스크 운행 기간내에 처리한 이미지 프레임수를 획득하기 위한 제2 획득 서브 모듈; a second acquiring submodule configured to acquire the number of image frames processed by the image detecting algorithm within the task running period;

상기 타겟 CPU 코어의 DMIPS, 상기 CPU 타임 슬라이스 점유율, 상기 태스크 운행 기간 및 상기 이미지 프레임수에 따라, 상기 이미지 검측 알고리즘의 싱글 프레임 연산량을 확정하기 위한 제2 확정 서브 모듈; 및 a second determination submodule configured to determine a single frame operation amount of the image detection algorithm according to the DMIPS of the target CPU core, the CPU time slice occupancy rate, the task running period and the number of image frames; and

상기 싱글 프레임 연산량 및 상기 타겟 프레임율에 따라, 상기 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량을 확정하기 위한 제3 확정 서브 모듈; 을 포함한다. a third determining submodule configured to determine, according to the single frame operation amount and the target frame rate, an operation amount at the target frame rate of the image detecting algorithm; includes

선택적으로, 태스크 연산량 확정 장치(400)는: Optionally, the task calculation amount determination device 400:

상기 타겟 태스크가 상기 타겟 CPU 코어에서 운행하는 과정중에서, 상기 타겟 CPU 코어의 운행 주파수가 기설정 주파수에 있도록 제어하기 위한 제2 제어 모듈을 포함한다. and a second control module for controlling an operating frequency of the target CPU core to be at a predetermined frequency while the target task is running in the target CPU core.

선택적으로, 제1 제어 모듈(401)은 구체적으로: Optionally, the first control module 401 specifically:

상기 타겟 태스크가 기설정 우선급으로 상기 타겟 CPU 코어중에서 운행하도록 제어하기 위한 것이다. This is to control the target task to run among the target CPU cores with a preset priority.

선택적으로, 태스크 연산량 확정 장치(400)는: Optionally, the task calculation amount determination device 400:

클라우드 서버에서 송신한 상기 타겟 태스크를 수신하기 위한 수신 모듈을 더 포함하며, 상기 타겟 태스크를 사용자가 미리 상기 클라우드 서버로 업로드한다. A receiving module for receiving the target task transmitted from the cloud server is further included, and the user uploads the target task to the cloud server in advance.

선택적으로, 태스크 연산량 확정 장치(400)는: Optionally, the task calculation amount determination device 400:

상기 클라우드 서버에 상기 타겟 태스크의 연산량을 리포팅하기 위한 리포팅 모듈을 포함한다. and a reporting module for reporting the amount of computation of the target task to the cloud server.

본 개시에서 제공하는 태스크 연산량 확정 장치(400)는 상술한 태스크 연산량 확정 방법 실시예중 태스크 연산량 확정 장치가 구현하는 각각의 과정을 구현할 수 있고, 또한 동일한 유익한 효과에 도달할 수 있으며, 중복 설명을 피면하기 위하여, 여기서 더이상 상세하게 설명하지 않는다. The apparatus 400 for determining the amount of operation for a task provided in the present disclosure can implement each process implemented by the apparatus for determining the amount of task operation amount in the above-described embodiment of the method for determining the amount of operation for a task, and can achieve the same beneficial effects, avoiding redundant descriptions. To do so, it is not described in detail here.

본 개시의 실시예에서, 본 개시에서 전자 기기 및 판독 가능 저장 매체를 제공한다. In an embodiment of the present disclosure, an electronic device and a readable storage medium are provided in the present disclosure.

도 6에서 도시된 바와같이, 본 개시의 실시예의 태스크 연산량 확정 방법의 전자 기기의 블록도이다. 전자 기기는 랩탑 컴퓨터, 데스크 컴퓨터, 벤치, 개인 디지털 보조기, 서버, 블레이드 서버, 대형 컴퓨터, 및 기타 적합한 컴퓨터와 같은 다양한 형태의 디지털 컴퓨터를 의미한다. 전자 기기는 개인 디지털 처리, 셀룰러 전화기, 스마트폰, 웨어러블 장치 및 기타 유사한 컴퓨터 장치와 같은 각종 형식의 이동 장치를 의미한다. 본 명세서에서 제시한 컴포넌트, 이들의 연결 및 관계, 및 이들의 기능은 오직 실시예로서, 또한 그리고 본 명세서에 설명된 및/또는 청구된 본 개시의 구현을 제한하기 위한 의도는 아니다. As shown in FIG. 6 , it is a block diagram of an electronic device of a method for determining a task computation amount according to an embodiment of the present disclosure. Electronic devices refer to various types of digital computers such as laptop computers, desk computers, benches, personal digital assistants, servers, blade servers, large computers, and other suitable computers. Electronic devices refer to various types of mobile devices such as personal digital processors, cellular telephones, smart phones, wearable devices and other similar computing devices. The components presented herein, their connections and relationships, and their functions are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.

도 6에서 도시된 바와같이, 상기 전자 기기는: 한개 또는 복수 개의 프로세서(501), 메모리(502) 및 고속 인터페이스 및 저속 인터페이스를 포함하는 각 컴포넌트를 연결하기 위한 인터페이스를 포함한다. 각각의 컴포넌트는 상이한 버스를 이용하여 상호 연결되었고, 또한 공통 메인 플레이트에 설치될 수 있거나 또는 수요에 따라 기타 방식으로 설치될 수 있다. 프로세서는 전자 기기내에서 실행되는 명령에 대하여 처리할 수 있고, 메모리에 저장되어 있거나 또는 메모리 외부 입력/수출 장치(예컨대, 인터페이스에 결합된 표시 기기)에서 GUI로 디스플레이된 이미지 정보의 명령을 포함한다. 기타 실시 방식에 있어서, 필요하다면, 복수 개의 프로세서 및/또는 복수 개의 버스와 복수 개의 메모리 및 복수 개의 메모리와 함께 사용할 수 있다. 이와 동일하게, 복수 개의 전자 기기와 연결하여, 각각의 장치가 부분적으로 필요한 동작(예컨대, 서버 어레이, 블레이드 서버, 또는 다중 프로세서 시스템)을 제공할 수 있다. 도 6중 하나의 프로세서(501)을 예로 든다. As shown in FIG. 6 , the electronic device includes: one or a plurality of processors 501, a memory 502, and interfaces for connecting each component including a high-speed interface and a low-speed interface. Each component is interconnected using a different bus and can also be installed on a common main plate or in other ways as required. The processor may process commands executed in the electronic device, and includes commands of image information stored in memory or displayed as a GUI in an input/output device (e.g., a display device coupled to an interface) outside the memory. . In other embodiments, if necessary, a plurality of processors, a plurality of buses, a plurality of memories, and a plurality of memories may be used together. Similarly, in connection with a plurality of electronic devices, each device may partially provide necessary operations (eg, a server array, a blade server, or a multi-processor system). One processor 501 in FIG. 6 is taken as an example.

메모리(502)는 본 개시에서 제공하는 비일시적 컴퓨터 판독 가능 저장 매체이다. 그 중, 상기 메모리는 적어도 하나의 프로세서에 의하여 실행할 수 있는 명령이 저장되어 있어, 상기 적어도 하나의 프로세서가 본 개시에서 제공하는 태스크 연산량 확정 방법을 실행할 수 있도록 한다. 본 개시의 비일시적 컴퓨터 판독 가능 저장 매체에는 컴퓨터 명령을 저장하였고, 상기 컴퓨터 명령은 컴퓨터가 본 개시에서 제공하는 태스크 연산량 확정 방법을 실행하게 하기 위한 것이다. The memory 502 is a non-transitory computer readable storage medium provided by the present disclosure. Among them, the memory stores instructions executable by at least one processor, so that the at least one processor can execute the method for determining the amount of task computation provided by the present disclosure. Computer instructions are stored in the non-transitory computer readable storage medium of the present disclosure, and the computer instructions are for causing a computer to execute the method for determining the amount of task computation provided in the present disclosure.

메모리(502)는 일종의 비일시적 컴퓨터 판독 가능 저장 매체로서, 비일시적 소프트웨어 프로그램, 비일시적 컴퓨터 실행 가능 프로그램 및 모듈을 저장하기 위한 것일 수 있고, 예컨대 본 개시의 실시예중의 태스크 연산량 확정 방법에 대응되는 프로그램 명령/모듈(예컨대, 도5에서 도시된 바와같이 제1 제어 모듈(401), 획득 모듈(402) 및 확정 모듈(403))을 저장할 수 있다. 프로세서(501)는 메모리(502)에 저장되어 있는 비일시적 소프트웨어 프로그램, 명령 및 모듈을 운행하는 것을 통하여, 따라서 태스크 연산량 확정 장치의 각종 기능 애플리케이션 및 데이터 처리를 실행하며, 상술한 방법 실시예중의 태스크 연산량 확정 방법을 구현한다. The memory 502 is a kind of non-transitory computer-readable storage medium, and may be used to store non-transitory software programs, non-transitory computer-executable programs and modules, and correspond to, for example, the method for determining the amount of operation of a task in an embodiment of the present disclosure. program instructions/modules (eg, the first control module 401, the acquisition module 402 and the determination module 403 as shown in FIG. 5) may be stored. The processor 501 runs non-temporary software programs, instructions and modules stored in the memory 502, and thus executes various function applications and data processing of the device for determining the amount of operation of the task, and the tasks in the above-described method embodiments. Implements the calculation amount determination method.

메모리(502)는 프로그램 저장 영역 및 데이터 저장 영역을 포함할 수 있고, 여기서, 프로그램 저장 영역은 운영 체제, 적어도 하나의 기능에 필요한 응용 프로그램을 저장할 수 있으며; 데이터 저장 영역은 데이터 씨닝 방법의 전자 기기의 사용에 따라 구축된 데이터 등을 저장할 수 있다. 이 밖에, 메모리(502)는 고속 랜덤 액세스 메모리를 포함할 수 있고, 적어도 하나의 자기 디스크 메모리, 플래시 메모리, 또는 다른 비일시적 고체 상태 메모리와 같은 비일시적 메모리를 더 포함할 수 있다. 일부 실시예에서, 메모리(502)는 프로세서(501)에 대해 원격으로 설치된 메모리를 선택적으로 포함할 수 있고, 이러한 원격 메모리는 네트워크를 통해 태스크 연산량 확정 방법의 전자 기기에 연결될 수 있다. 상기 네트워크의 구현예로 인터넷, 인트라넷, 근거리 통신망, 이동 통신망 및 이들의 조합을 포함하지만 이에 한정되지 않는다.The memory 502 may include a program storage area and a data storage area, where the program storage area may store an operating system and application programs required for at least one function; The data storage area may store data and the like constructed according to the use of the electronic device of the data thinning method. Additionally, memory 502 may include high-speed random access memory, and may further include non-transitory memory, such as at least one magnetic disk memory, flash memory, or other non-transitory solid-state memory. In some embodiments, the memory 502 may optionally include a memory installed remotely from the processor 501, and such a remote memory may be connected to an electronic device of the method for determining the amount of task calculation through a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

태스크 연산량 확정 방법을 구현하는 전자 기기는: 입력 장치(503) 및 출력 장치(504)를 포함할 수 있다. 프로세서(501), 메모리(502), 입력 장치(503) 및 출력 장치(504)는 버스 또는 기타 방식을 통하여 연결될 수 있고, 도 6에서 버스를 통하여 연결되는 것을 예를 든다. An electronic device implementing the method for determining the amount of operation of a task may include: an input device 503 and an output device 504 . The processor 501, the memory 502, the input device 503, and the output device 504 may be connected through a bus or other methods, and in FIG. 6, connection through a bus is exemplified.

입력 장치(503)는 입력된 디지털 또는 문자 정보를 수신할 수 있고, 태스크 연산량 확정 방법을 구현하는 전자 기기의 사용자 설정 및 기능 제어와 관련된 키 신호 입력을 발생할 수 있으며, 상기 입력 장치는 예를 들어 터치스크린, 키패드, 마우스, 트랙 패널, 터치 패널, 지시 바, 하나 또는 다수의 마우스 버튼, 트랙 볼, 조이스틱 등 입력 장치이다. 출력 장치(504)는 표시 기기, 보조 조명 장치(예를 들어, LED) 및 촉각 피드백 장치(예를 들어, 진동 모터) 등을 포함할 수 있다. 상기 표시 기기는 액정 표시 장치(LCD), 발광 다이오드(LED) 표시 장치 및 플라스마 표시 장치를 포함할 수 있지만 이에 한정되지 않는다. 일부 실시 형태에서, 표시 기기는 터치스크린일 수 있다. The input device 503 can receive input digital or character information, and can generate key signal input related to user setting and function control of an electronic device that implements a method for determining a task calculation amount, and the input device can, for example, An input device such as a touch screen, keypad, mouse, track panel, touch panel, indicator bar, one or more mouse buttons, track ball, joystick, etc. The output device 504 may include a display device, an auxiliary lighting device (eg, LED), and a tactile feedback device (eg, a vibration motor). The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some embodiments, the display device may be a touch screen.

여기서 설명된 시스템 및 기술의 다양한 실시 형태는 디지털 전자 회로 시스템, 집적 회로 시스템, 전용 ASIC(전용 집적 회로), 컴퓨터 하드웨어, 펌웨어, 소프트웨어, 및/또는 이들의 조합에서 구현될 수 있다. 이러한 다양한 실시 형태는 하나 또는 다수의 컴퓨터 프로그램에서의 구현을 포함할 수 있고, 상기 하나 또는 다수의 컴퓨터 프로그램은 적어도 하나의 프로그램 가능 프로세서를 포함하는 프로그램 가능 시스템에서 실행 및/또는 해석될 수 있으며, 상기 프로그램 가능 프로세서는 전용 또는 범용 프로그램 가능 프로세서일 수 있고, 저장 시스템, 적어도 하나의 입력 장치, 및 적어도 하나의 출력 장치로부터 데이터 및 명령을 수신할 수 있으며, 데이터 및 명령을 상기 저장 시스템, 상기 적어도 하나의 입력 장치, 및 상기 적어도 하나의 출력 장치에 전송할 수 있다. Various embodiments of the systems and techniques described herein may be implemented in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (Special Purpose Integrated Circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include implementation in one or more computer programs, and the one or more computer programs may be executed and/or interpreted in a programmable system including at least one programmable processor, The programmable processor may be a dedicated or general purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and sending data and instructions to the storage system, the at least one to one input device, and to the at least one output device.

이러한 컴퓨팅 프로그램(프로그램, 소프트웨어, 소프트웨어 애플리케이션, 또는 코드라고도 함)은 프로그램 가능 프로세서의 기계 명령을 포함하고, 하이레벨 프로세스 및/또는 대상에 대한 프로그래밍 언어, 및/또는 어셈블리/기계 언어를 이용하여 이러한 컴퓨팅 프로그램을 실행할 수 있다. 본문에서 사용된 바와 같이, 용어 “기계 판독 가능한 매체” 및 “컴퓨터 판독 가능한 매체”는 기계 명령 및/또는 데이터를 프로그램 가능 프로세서에 제공하기 위한 임의의 컴퓨터 프로그램 제품, 기기, 및/또는 장치(예를 들어, 자기 디스크, 광 디스크, 메모리, 프로그램 가능 로직 장치(PLD))를 의미하고, 기계 판독 가능한 신호인 기계 명령을 수신하는 기계 판독 가능한 매체를 포함한다. 용어 “기계 판독 가능한 신호”는 기계 명령 및/또는 데이터를 프로그램 가능 프로세서에 제공하기 위한 임의의 신호를 의미한다. Such computing programs (also referred to as programs, software, software applications, or code) include the machine instructions of a programmable processor, and use a programming language for high-level processes and/or objects, and/or assembly/machine language to implement such computing programs. It can run computing programs. As used herein, the terms “machine-readable medium” and “computer-readable medium” refer to any computer program product, appliance, and/or device (eg, For example, it refers to a magnetic disk, an optical disk, a memory, a programmable logic device (PLD)), and includes a machine readable medium that receives a machine command, which is a machine readable signal. The term “machine readable signal” means any signal for providing machine instructions and/or data to a programmable processor.

사용자와의 인터랙션을 제공하기 위하여, 컴퓨터에서 여기서 설명된 시스템 및 기술을 실시할 수 있고, 상기 컴퓨터는 사용자에게 정보를 표시하기 위한 표시 장치(예를 들어, CRT(음극선관) 또는 LCD(액정 표시 장치) 모니터); 및 키보드 및 지향 장치(예를 들어, 마우스 또는 트랙 볼)를 구비하며, 사용자는 상기 키보드 및 상기 지향 장치를 통해 컴퓨터에 입력을 제공할 수 있다. 다른 타입의 장치는 또한 사용자와의 인터랙션을 제공할 수도 있는데, 예를 들어, 사용자에게 제공된 피드백은 임의의 형태의 감지 피드백(예를 들어, 시각 피드백, 청각 피드백, 또는 촉각 피드백)일 수 있고; 임의의 형태(소리 입력, 음성 입력, 또는 촉각 입력)로 사용자로부터의 입력을 수신할 수 있다.To provide interaction with a user, a computer may implement the systems and techniques described herein, which computer may have a display device (e.g., a cathode ray tube (CRT) or a liquid crystal display (LCD) for displaying information to a user). device) monitor); and a keyboard and a pointing device (eg, a mouse or track ball), through which a user may provide input to the computer. Other types of devices may also provide interaction with a user; for example, the feedback provided to the user may be any form of sensory feedback (eg, visual feedback, auditory feedback, or tactile feedback); An input from a user may be received in any form (sound input, voice input, or tactile input).

여기서 설명된 시스템 및 기술을 백그라운드 부재를 포함하는 컴퓨팅 시스템(예를 들어, 데이터 서버), 또는 미들웨어 부재를 포함하는 컴퓨팅 시스템(예를 들어, 응용 서버), 또는 프론트 엔드 부재를 포함하는 컴퓨팅 시스템(예를 들어, 그래픽 사용자 인터페이스 또는 웹 브라우저를 구비하는 사용자 컴퓨터이고, 사용자는 상기 그래픽 사용자 인터페이스 또는 웹 브라우저를 통해 여기서 설명된 시스템 및 기술의 실시 형태와 인터랙션할 수 있음), 또는 이러한 백그라운드 부재, 미들웨어 부재, 또는 프론트 엔드 부재의 임의의 조합을 포함하는 컴퓨팅 시스템에서 실시할 수 있다. 임의의 형태 또는 매체의 디지털 데이터 통신(예를 들어, 통신 네트워크)을 통해 시스템의 부재를 서로 연결시킬 수 있다. 통신 네트워크의 예시로 근거리 통신망(LAN), 광역 통신망(WAN), 인터넷을 포함한다.The systems and techniques described herein can be applied to a computing system that includes a background member (e.g., a data server), or a computing system that includes a middleware member (e.g., an application server), or a computing system that includes a front-end member (e.g., a data server). For example, a user's computer having a graphical user interface or web browser, through which the user can interact with embodiments of the systems and techniques described herein), or such background members, middleware elements, or any combination of front end elements. The elements of the system may be interconnected through any form or medium of digital data communication (eg, a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

컴퓨터 시스템은 클라이언트 및 서버를 포함할 수 있다. 클라이언트 및 서버는 일반적으로 서로 멀리 떨어져 있고 일반적으로 통신 네트워크를 통해 서로 인터랙션한다. 대응되는 컴퓨터에서 실행되고 또한 서로 클라이언트-서버 관계를 가지는 컴퓨터 프로그램을 통해 클라이언트 및 서버의 관계를 생성한다. A computer system may include a client and a server. Clients and servers are generally remote from each other and typically interact with each other through a communication network. A relationship of client and server is created through computer programs running on corresponding computers and having a client-server relationship with each other.

본 개시의 실시예의 기술 방안에 따라, 본 개시에서, 타겟 태스크에 대하여 연산량 측정 평가를 진행해야 되는 경우, 타겟 태스크가 타겟 CPU 코어중에서 운행하도록 제어하는 것을 통하여, 또한 타겟 태스크가 운행 과정중에서 점유한 CPU 타임 슬라이스 점유율을 획득하고, 즉 타겟 CPU 코어의 DMIPS 및 타겟 태스크가 점유한 CPU 타임 슬라이스 점유율에 따라, 타겟 태스크의 연산량을 확정한다. 상술한 기술 수단을 사용하였기에, 본 개시에서 확정한 태스크 연산량은 더욱 진실되고, 더욱 정확하게 태스크가 점유해야 할 CPU 연산력을 특성화할 수 있다. 따라서, 태스크에 대하여 분배할 때, 본 개시에서 확정한 태스크 연산량을 기반으로 하여, 기기의 하드웨어 타입 선택에 더욱 가치있는 참고를 제공할 수 있다.According to the technical solutions in the embodiments of the present disclosure, in the present disclosure, when it is necessary to measure and evaluate the amount of computation for a target task, the target task is controlled to run in the target CPU core, and the target task occupies during the running process. A CPU time slice occupancy rate is obtained, that is, an operation amount of the target task is determined according to the DMIPS of the target CPU core and the CPU time slice occupancy occupied by the target task. Because of the use of the above technical means, the task calculation amount determined in the present disclosure is more true, and more accurately characterizes the CPU calculation power to be occupied by the task. Therefore, when distributing to tasks, based on the task calculation amount determined in the present disclosure, a more valuable reference can be provided for selecting the hardware type of the device.

이해해야 할 것은, 위에서 제시한 각종 형식의 플라우차트를 사용하여, 재정렬, 추가 또는 삭제 단계를 진행할 수 있다. 예컨대, 본 개시중에 기재된 각 단계는 병행하여 실행할 수 있고 또는 순차적으로 실행할 수도 있으며 또는 상이한 순서로 실행할 수도 있고, 본 개시의 기술 방안이 원하는 결과를 구현할 수만 있다면, 본 명세서에서는 이에 대하여 한정하지 않는다. It should be understood that, using the flowcharts presented above in various formats, you can reorder, add, or delete steps. For example, each step described in the present disclosure may be executed in parallel, may be executed sequentially, or may be executed in a different order, as long as the technical solution of the present disclosure can achieve the desired result, the specification is not limited thereto.

상술한 구체적인 실시 방식은, 본 개시의 보호 범위에 대한 제한을 구성하지 않는다. 본 기술 분야의 통상적인 기술을 가진 자들이 알아야 할 것은, 설계 요구 및 기타 요소에 의하여, 각종 수정, 조합, 서브 조합 및 대체를 진행할 수 있다. 임의의 본 개시의 정신 및 원칙내에서 진행한 수정, 등가 치환 및 개진 등은, 전부 본 개시의 보호 범위내에 포함된다.The specific implementation manners described above do not constitute a limitation on the protection scope of the present disclosure. Those of ordinary skill in the art should be aware that various modifications, combinations, subcombinations, and substitutions may be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present disclosure are all included within the protection scope of the present disclosure.

Claims (19)

측정 평가 기기에 의해 수행되는 태스크 연산량 확정 방법에 있어서,
상기 방법은:
타겟 태스크가 타겟 CPU 코어에서 운행하도록 제어하는 단계;
상기 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 상기 측정 평가 기기로부터 획득하는 단계로서, 상기 태스크 운행 기간은 상기 타겟 태스크가 운행을 시작해서부터 상기 타겟 태스크가 운행을 종료할 때까지의 기간인 것인, 획득하는 단계; 및
상기 타겟 CPU 코어의 DMIPS 및 상기 CPU 타임 슬라이스 점유율에 따라, 상기 타겟 태스크의 연산량을 확정하는 단계;
를 포함하는 것을 특징으로 하는 태스크 연산량 확정 방법.
A method for determining the amount of operation of a task performed by a measurement and evaluation device,
The method is:
controlling the target task to run in the target CPU core;
Acquiring, by the target task, a CPU time slice occupancy rate in a task running period from the measurement evaluation device, wherein the task running period is a period from when the target task starts to run until the target task ends. which is, obtaining; and
determining an operation amount of the target task according to the DMIPS of the target CPU core and the CPU time slice occupancy rate;
A method for determining the amount of operation of a task comprising:
제1항에 있어서,
상기 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 획득하는 단계는:
상기 타겟 CPU 코어가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스를 획득하는 단계;
상기 타겟 태스크가 점유한 CPU 타임 슬라이스를 획득하는 단계; 및
상기 타겟 CPU 코어가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스 및 상기 타겟 태스크가 점유한 CPU 타임 슬라이스에 따라, 상기 타겟 태스크가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 확정하는 단계;
를 포함하는 것을 특징으로 하는 태스크 연산량 확정 방법.
According to claim 1,
The step of obtaining, by the target task, the CPU time slice occupancy in the task running period:
obtaining, by the target CPU core, a CPU time slice in the task running period;
obtaining a CPU time slice occupied by the target task; and
determining, by the target CPU core, a CPU time slice occupied by the target task in the task running period according to the CPU time slice in the task running period and the CPU time slice occupied by the target task;
A method for determining the amount of operation of a task comprising:
제1항에 있어서,
상기 타겟 태스크의 연산량은 이미지 검측 알고리즘의 연산량을 포함하며,
상기 이미지 검측 알고리즘은 각각의 한 프레임의 이미지에 대하여 처리를 진행하기 위한 것인 것을 특징으로 하는 태스크 연산량 확정 방법.
According to claim 1,
The amount of calculation of the target task includes the amount of calculation of the image detection algorithm,
The method of determining the amount of task operation, characterized in that the image detection algorithm is for processing images of each one frame.
제3항에 있어서,
상기 타겟 태스크의 연산량은 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량이고;
상기 타겟 CPU 코어의 DMIPS 및 CPU 타임 슬라이스 점유율에 따라, 상기 타겟 태스크의 연산량을 확정하는 단계는:
상기 이미지 검측 알고리즘이 상기 태스크 운행 기간내에 처리한 이미지 프레임수를 획득하는 단계;
상기 타겟 CPU 코어의 DMIPS, 상기 CPU 타임 슬라이스 점유율, 상기 태스크 운행 기간 및 상기 이미지 프레임수에 따라, 상기 이미지 검측 알고리즘의 싱글 프레임 연산량을 확정하는 단계; 및
상기 싱글 프레임 연산량 및 상기 타겟 프레임율에 따라, 상기 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량을 확정하는 단계;
를 포함하는 것을 특징으로 하는 태스크 연산량 확정 방법.
According to claim 3,
The amount of calculation of the target task is the amount of calculation of the image detection algorithm at the target frame rate;
The step of determining the operation amount of the target task according to the DMIPS and CPU time slice occupancy of the target CPU core:
obtaining the number of image frames processed by the image detection algorithm within the task operation period;
determining a single frame operation amount of the image detection algorithm according to the DMIPS of the target CPU core, the CPU time slice occupancy rate, the task running period, and the number of image frames; and
determining, by the image detection algorithm, an operation amount at the target frame rate according to the single frame operation amount and the target frame rate;
A method for determining the amount of operation of a task comprising:
제1항에 있어서,
상기 방법은:
상기 타겟 태스크가 상기 타겟 CPU 코어에서 운행하는 과정중에서, 상기 타겟 CPU 코어의 운행 주파수가 기설정 주파수에 있도록 제어하는 단계를 더 포함하는 것을 특징으로 하는 태스크 연산량 확정 방법.
According to claim 1,
The method is:
The method of claim 1 , further comprising controlling an operating frequency of the target CPU core to be at a preset frequency while the target task is running in the target CPU core.
제1항에 있어서,
상기 타겟 태스크가 타겟 CPU 코어에서 운행하도록 제어하는 단계는:
상기 타겟 태스크가 기설정 우선급으로 상기 타겟 CPU 코어중에서 운행하도록 제어하는 단계를 포함하는 것을 특징으로 하는 태스크 연산량 확정 방법.
According to claim 1,
The step of controlling the target task to run in the target CPU core is:
and controlling the target task to run among the target CPU cores with a preset priority.
제1항에 있어서,
상기 타겟 태스크가 타겟 CPU 코어중에서 운행하도록 제어하기 전에, 상기 방법은:
클라우드 서버에서 송신한 상기 타겟 태스크를 수신하고, 상기 타겟 태스크를 사용자가 미리 상기 클라우드 서버로 업로드하는 단계를 더 포함하는 것을 특징으로 하는 태스크 연산량 확정 방법.
According to claim 1,
Before controlling the target task to run in the target CPU core, the method:
The method of determining the amount of operation of a task, further comprising receiving the target task transmitted from a cloud server and uploading the target task to the cloud server in advance by a user.
제7항에 있어서,
상기 타겟 태스크의 연산량을 연산한 후, 상기 방법은:
상기 클라우드 서버로 상기 타겟 태스크의 연산량을 리포팅하는 단계를 더 포함하는 것을 특징으로 하는 태스크 연산량 확정 방법.
According to claim 7,
After calculating the amount of computation of the target task, the method:
The task calculation amount determination method further comprising the step of reporting the calculation amount of the target task to the cloud server.
태스크 연산량 확정 장치에 있어서,
상기 장치는:
타겟 태스크가 타겟 CPU 코어에서 운행하도록 제어하기 위한 제1 제어 모듈;
상기 타겟 태스크가 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 측정 평가 기기로부터 획득하기 위한 획득 모듈로서, 상기 태스크 운행 기간은 상기 타겟 태스크가 운행을 시작해서부터 상기 타겟 태스크가 운행을 종료할 때까지의 기간인 것인, 획득 모듈; 및
상기 타겟 CPU 코어의 DMIPS 및 상기 CPU 타임 슬라이스 점유율에 따라, 상기 타겟 태스크의 연산량을 확정하기 위한 확정 모듈;
을 포함하는 것을 특징으로 하는 태스크 연산량 확정 장치.
In the task calculation amount determining device,
The device is:
A first control module for controlling the target task to run in the target CPU core;
An acquisition module for obtaining, from a measurement and evaluation device, the CPU time slice occupancy of the target task in a task running period, wherein the task running period is from the start of the target task to the end of the run of the target task. period, an acquisition module; and
a determining module configured to determine an amount of operation of the target task according to the DMIPS of the target CPU core and the CPU time slice occupancy rate;
An apparatus for determining the amount of operation of a task comprising:
제9항에 있어서,
상기 획득 모듈은:
상기 타겟 CPU 코어가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스를 획득하기 위한 제1 획득 서브 모듈;
상기 타겟 태스크가 점유한 CPU 타임 슬라이스를 획득하기 위한 제2 획득 서브 모듈; 및
상기 타겟 CPU 코어가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스 및 상기 타겟 태스크가 점유한 CPU 타임 슬라이스에 따라, 상기 타겟 태스크가 상기 태스크 운행 기간에서의 CPU 타임 슬라이스 점유율을 확정하기 위한 제1 확정 서브 모듈;
을 포함하는 것을 특징으로 하는 태스크 연산량 확정 장치.
According to claim 9,
The acquisition module:
a first obtaining submodule configured for the target CPU core to obtain a CPU time slice in the task running period;
a second acquiring submodule configured to acquire a CPU time slice occupied by the target task; and
A first determination submodule configured to determine, according to the CPU time slice of the target CPU core in the task running period and the CPU time slice occupied by the target task, the CPU time slice occupancy of the target task in the task running period ;
An apparatus for determining the amount of operation of a task comprising:
제9항에 있어서,
상기 타겟 태스크의 연산량은 이미지 검측 알고리즘의 연산량을 포함하며,
상기 이미지 검측 알고리즘은 각각의 한 프레임의 이미지에 대하여 처리를 진행하기 위한 것인 것을 특징으로 하는 태스크 연산량 확정 장치.
According to claim 9,
The amount of calculation of the target task includes the amount of calculation of the image detection algorithm,
The image detection algorithm is for processing images of each one frame.
제11항에 있어서,
상기 타겟 태스크의 연산량은 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량이고;
상기 확정 모듈은:
상기 이미지 검측 알고리즘이 상기 태스크 운행 기간내에 처리한 이미지 프레임수를 획득하기 위한 제2 획득 서브 모듈;
상기 타겟 CPU 코어의 DMIPS, 상기 CPU 타임 슬라이스 점유율, 상기 태스크 운행 기간 및 상기 이미지 프레임수에 따라, 상기 이미지 검측 알고리즘의 싱글 프레임 연산량을 확정하기 위한 제2 확정 서브 모듈; 및
상기 싱글 프레임 연산량 및 상기 타겟 프레임율에 따라, 상기 이미지 검측 알고리즘이 타겟 프레임율에서의 연산량을 확정하기 위한 제3 확정 서브 모듈;
을 포함하는 것을 특징으로 하는 태스크 연산량 확정 장치.
According to claim 11,
The amount of calculation of the target task is the amount of calculation of the image detection algorithm at the target frame rate;
The confirmation module:
a second acquiring submodule configured to acquire the number of image frames processed by the image detecting algorithm within the task running period;
a second determination submodule configured to determine a single frame operation amount of the image detection algorithm according to the DMIPS of the target CPU core, the CPU time slice occupancy rate, the task running period and the number of image frames; and
a third determining submodule configured to determine, according to the single frame operation amount and the target frame rate, an operation amount at the target frame rate of the image detecting algorithm;
An apparatus for determining the amount of operation of a task comprising:
제9항 내지 제12항 중 어느 한 항에 있어서,
상기 장치는:
상기 타겟 태스크가 상기 타겟 CPU 코어에서 운행하는 과정에서, 상기 타겟 CPU 코어의 운행 주파수가 기설정 주파수에 있도록 제어하기 위한 제2 제어 모듈을 더 포함하는 것을 특징으로 하는 태스크 연산량 확정 장치.
According to any one of claims 9 to 12,
The device is:
and a second control module configured to control an operating frequency of the target CPU core to be at a preset frequency while the target task is running in the target CPU core.
제9항 내지 제12항 중 어느 한 항에 있어서,
상기 제1 제어 모듈을 구체적으로:
상기 타겟 태스크가 기설정 우선급으로 상기 타겟 CPU 코어중에서 운행하도록 제어하기 위한 것인 태스크 연산량 확정 장치.
According to any one of claims 9 to 12,
The first control module specifically:
The apparatus for determining the amount of operation of a task for controlling the target task to operate among the target CPU cores with a preset priority.
제9항 내지 제12항 중 어느 한 항에 있어서,
상기 장치는:
클라우드 서버에서 송신한 상기 타겟 태스크를 수신하기 위한 수신 모듈, 상기 타겟 태스크를 사용자가 미리 상기 클라우드 서버로 업로드한 것인, 수신 모듈을 더 포함하는 것을 특징으로 하는 태스크 연산량 확정 장치.
According to any one of claims 9 to 12,
The device is:
The apparatus for determining the amount of operation of a task further comprising a receiving module configured to receive the target task transmitted from a cloud server, and a receiving module configured to upload the target task to the cloud server in advance by a user.
제15항에 있어서,
상기 장치는:
상기 클라우드 서버로 상기 타겟 태스크의 연산량을 리포팅하기 위한 리포팅 모듈을 포함하는 것을 특징으로 하는 태스크 연산량 확정 장치.
According to claim 15,
The device is:
and a reporting module for reporting the computational quantity of the target task to the cloud server.
컴퓨터 명령이 저장되어 있는 비일시적 컴퓨터 판독 가능 저장 매체에 있어서,
상기 컴퓨터 명령은 상기 컴퓨터로 하여금 청구항 제1항 내지 제8항 중 어느 한 항에 따른 상기 방법을 실행하기 위한 것인,
것을 특징으로 하는 컴퓨터 명령이 저장되어 있는 비일시적 컴퓨터 판독 가능 저장 매체.
A non-transitory computer-readable storage medium in which computer instructions are stored,
The computer instructions are for causing the computer to execute the method according to any one of claims 1 to 8.
A non-transitory computer-readable storage medium having computer instructions stored thereon.
컴퓨터 판독 가능 저장 매체에 저장된 컴퓨터 프로그램에 있어서,
상기 컴퓨터 프로그램은 적어도 하나의 프로세서에 의해 실행될 경우, 청구항 제1항 내지 제8항 중 어느 한 항에 따른 상기 방법을 구현하는 것인,
컴퓨터 판독 가능 저장 매체에 저장된 컴퓨터 프로그램.
A computer program stored in a computer readable storage medium,
The computer program, when executed by at least one processor, implements the method according to any one of claims 1 to 8,
A computer program stored on a computer readable storage medium.
삭제delete
KR1020210034378A 2020-03-17 2021-03-17 Task calculation amount determining method and apparatus, computer readable storage medium and computer program KR102542247B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010185070.4A CN111427758A (en) 2020-03-17 2020-03-17 Task calculation amount determining method and device and electronic equipment
CN202010185070.4 2020-03-17

Publications (2)

Publication Number Publication Date
KR20210038455A KR20210038455A (en) 2021-04-07
KR102542247B1 true KR102542247B1 (en) 2023-06-12

Family

ID=71549540

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210034378A KR102542247B1 (en) 2020-03-17 2021-03-17 Task calculation amount determining method and apparatus, computer readable storage medium and computer program

Country Status (3)

Country Link
JP (1) JP7223048B2 (en)
KR (1) KR102542247B1 (en)
CN (1) CN111427758A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111913855A (en) * 2020-09-21 2020-11-10 北京百度网讯科技有限公司 Method and device for determining target task calculation amount
CN113419917B (en) * 2021-06-23 2024-06-11 蔚然(南京)动力科技有限公司 CPU load rate calculating method for embedded operating system task and interrupt
CN113590282A (en) * 2021-07-19 2021-11-02 海宁奕斯伟集成电路设计有限公司 Calculation force scheduling method, system, electronic equipment and computer readable storage medium
CN114048857B (en) * 2021-10-22 2024-04-09 天工量信(苏州)科技发展有限公司 Calculation force distribution method and device and calculation force server
CN117453486A (en) * 2023-11-13 2024-01-26 摩尔线程智能科技(北京)有限责任公司 Method, device, equipment and medium for determining GPU utilization rate of process

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013250905A (en) 2012-06-04 2013-12-12 Hitachi Ltd Virtual machine system and load control method of virtual machine system
CN110362411A (en) 2019-07-25 2019-10-22 哈尔滨工业大学 A kind of cpu resource dispatching method based on Xen system

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5797115A (en) * 1995-08-24 1998-08-18 Fuller; Billy Measuring direct and indirect usage of a central processing unit
JP2006338264A (en) * 2005-06-01 2006-12-14 Toyota Infotechnology Center Co Ltd Task assignment device and task assignment method
CN101650685A (en) * 2009-08-28 2010-02-17 曙光信息产业(北京)有限公司 Method and device for determining energy efficiency of equipment
KR20120067825A (en) * 2010-12-16 2012-06-26 한국전자통신연구원 Method of adaptive process scheduling for embedded linux
US9047067B2 (en) * 2011-04-22 2015-06-02 Qualcomm Incorporated Sensorless detection and management of thermal loading in a multi-processor wireless device
KR101545146B1 (en) * 2013-11-28 2015-08-20 한국과학기술정보연구원 System and method for job execution in conjunction with cloud storage
KR102237373B1 (en) * 2014-07-02 2021-04-07 삼성전자 주식회사 Method for task scheduling and Electronic device using the same
CN106708709A (en) * 2015-07-30 2017-05-24 中兴通讯股份有限公司 CPU occupancy rate detection method and device
CN107231264A (en) * 2017-07-25 2017-10-03 北京百度网讯科技有限公司 For the method and apparatus for the capacity for managing Cloud Server
CN107491378A (en) * 2017-08-31 2017-12-19 杭州迪普科技股份有限公司 A kind of determination method and device of CPU usage
CN109002377A (en) * 2018-07-26 2018-12-14 郑州云海信息技术有限公司 A kind of processor detection method, processor detection device and computer equipment
CN110597639B (en) * 2019-09-23 2021-07-30 腾讯科技(深圳)有限公司 CPU distribution control method, device, server and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013250905A (en) 2012-06-04 2013-12-12 Hitachi Ltd Virtual machine system and load control method of virtual machine system
CN110362411A (en) 2019-07-25 2019-10-22 哈尔滨工业大学 A kind of cpu resource dispatching method based on Xen system

Also Published As

Publication number Publication date
CN111427758A (en) 2020-07-17
KR20210038455A (en) 2021-04-07
JP2021099860A (en) 2021-07-01
JP7223048B2 (en) 2023-02-15

Similar Documents

Publication Publication Date Title
KR102542247B1 (en) Task calculation amount determining method and apparatus, computer readable storage medium and computer program
CN107844837B (en) Method and system for adjusting and optimizing algorithm parameters aiming at machine learning algorithm
WO2019129060A1 (en) Method and system for automatically generating machine learning sample
JP7269913B2 (en) Knowledge graph construction method, device, electronic device, storage medium and computer program
US20210245745A1 (en) Cruise control method, electronic device, vehicle and storage medium
TWI594116B (en) Managing the operation of a computing system
US10387161B2 (en) Techniques for capturing state information and performing actions for threads in a multi-threaded computing environment
KR102339747B1 (en) Simulator, simulation device, and simulation method
CN109726811A (en) Use priority formation neural network
JP7291740B2 (en) Modeling parameter setting method, apparatus, device, computer storage medium, and computer program
CN112784985A (en) Training method and device of neural network model, and image recognition method and device
KR20210036319A (en) Method, apparatus and electronic device for identifying text content
CN113419941A (en) Evaluation method and apparatus, electronic device, and computer-readable storage medium
CN111563592A (en) Neural network model generation method and device based on hyper-network
KR20210093727A (en) Method, system, and apparatus for processing parking, and vehicle controller
CN113642740A (en) Model training method and device, electronic device and medium
CN108898229B (en) Method and system for constructing machine learning modeling process
CN111625949A (en) Simulation engine system, simulation processing method, device and medium
US11467857B2 (en) Intelligently sensing digital user context to generate recommendations across client device applications
JP7265618B2 (en) Method and Apparatus for Optimizing Processor Memory for Deep Learning Training Tasks
US11709059B2 (en) Asynchronous execution graphs for autonomous vehicles
CN114676062A (en) Method and device for testing difference data of interface, electronic equipment and medium
CN108960433B (en) Method and system for running machine learning modeling process
CN112784912A (en) Image recognition method and device, and training method and device of neural network model
KR20220002064A (en) Method and apparatus for processing image, device, storage medium and program

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant