WO2018170683A1 - Task allocation method and system for cloud service in monitoring system - Google Patents

Task allocation method and system for cloud service in monitoring system Download PDF

Info

Publication number
WO2018170683A1
WO2018170683A1 PCT/CN2017/077330 CN2017077330W WO2018170683A1 WO 2018170683 A1 WO2018170683 A1 WO 2018170683A1 CN 2017077330 W CN2017077330 W CN 2017077330W WO 2018170683 A1 WO2018170683 A1 WO 2018170683A1
Authority
WO
WIPO (PCT)
Prior art keywords
task
time
monitoring system
cloud platform
specifically
Prior art date
Application number
PCT/CN2017/077330
Other languages
French (fr)
Chinese (zh)
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 华平智慧信息技术(深圳)有限公司
Priority to PCT/CN2017/077330 priority Critical patent/WO2018170683A1/en
Publication of WO2018170683A1 publication Critical patent/WO2018170683A1/en

Links

Definitions

  • the present invention relates to the field of monitoring, and in particular, to a task allocation method and system for a cloud service in a monitoring system.
  • the monitoring system consists of 5 parts: camera, transmission, control, display, and record registration.
  • the camera transmits the video image to the control host through the coaxial video cable, and the control host distributes the video signal to each monitor and recording device, and simultaneously records the voice signal to be transmitted into the recorder.
  • the operator can issue commands to control the up, down, left, and right movements of the pan/tilt and focus the zoom on the lens, and can be implemented in the multi-channel camera and the pan/tilt by the control host. Switch between. With special recording processing mode, images can be recorded, played back, processed, etc., so that the recording effect is optimal.
  • the cloud service of the existing monitoring system reduces the cost of the monitoring system, but the task allocation method of the existing monitoring system generally allocates tasks based on the load balancing method, which may cause the task processing time to be too long, so the efficiency is low. .
  • the application provides a task allocation method for a cloud service in a monitoring system. It solves the shortcomings of the prior art technical solutions.
  • a method for task allocation of a cloud service in a monitoring system comprising the following steps:
  • the monitoring system cloud platform receives the first task to be processed
  • the monitoring system cloud platform calculates a total time for each cloud platform device to process the first task, the total time including: waiting time and delivery time;
  • the monitoring system selects the device with the best total time as the device assigned by the first task.
  • a task distribution system for monitoring a cloud service in a system comprising:
  • a receiving unit configured to receive a first task that needs to be processed
  • a calculating unit configured to calculate a total time for each cloud platform device to process the first task, where the total time includes: a waiting time and a delivery time;
  • An allocating unit for selecting the device with the best total time as the device assigned by the first task.
  • a monitoring system including: a processor, a wireless transceiver, a memory, and a bus, wherein the processor, the wireless transceiver, and the memory are connected by a bus.
  • the wireless transceiver is configured to receive a first task that needs to be processed
  • the processor is configured to calculate a total time that each cloud platform device processes the first task, where the total time includes: a waiting time and a delivery time; and selecting a device with the best total time as the device assigned by the first task.
  • the technical solution provided by the present invention calculates the time of data transmission corresponding to the task and the processing time, so it has the advantage of allocating tasks according to the amount of time and improving the efficiency of task processing.
  • FIG. 1 is a flowchart of a task allocation method of a cloud service in a monitoring system according to a first preferred embodiment of the present invention
  • FIG. 2 is a structural diagram of a task allocation system for a cloud service in a monitoring system according to a second preferred embodiment of the present invention.
  • FIG. 3 is a hardware structural diagram of a monitoring system according to a second preferred embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a task allocation method for a cloud service in a monitoring system according to a first preferred embodiment of the present invention. The method is as shown in FIG.
  • Step S101 The monitoring system cloud platform receives the first task to be processed.
  • Step S102 The monitoring system cloud platform calculates a total time for each cloud platform device to process the first task, where the total time includes: waiting time and delivery time.
  • Step S103 The monitoring system selects the device with the best total time as the device assigned by the first task.
  • the technical solution provided by the embodiment of the present invention not only considers the waiting time of the processing task, but also considers the delivery time of the processing task, so it has the advantages of comprehensive consideration and improved efficiency.
  • FIG. 2 is a schematic diagram of a task distribution system for a cloud service in a monitoring system according to a second preferred embodiment of the present invention.
  • the system includes the following:
  • the receiving unit 201 is configured to receive a first task that needs to be processed.
  • the calculating unit 202 is configured to calculate a total time for each cloud platform device to process the first task, where the total time includes: a waiting time and a delivery time.
  • the allocating unit 203 is configured to select the device with the best total time as the device assigned by the first task.
  • the technical solution provided by the embodiment of the present invention not only considers the waiting time of the processing task, but also considers the delivery time of the processing task, so it has the advantages of comprehensive consideration and improved efficiency.
  • FIG. 3 is a monitoring system 30, including: a processor 301, a wireless transceiver 302, a memory 303, and a bus 304.
  • the wireless transceiver 302 is configured to transmit and receive data with and from an external device.
  • the number of processors 301 can be one or more.
  • processor 301, memory 302, and transceiver 303 may be connected by bus 304 or other means.
  • Monitoring system 30 can be used to perform the steps of FIG. For the meaning and examples of the terms involved in the embodiment, reference may be made to the corresponding embodiment of FIG. 1. I will not repeat them here.
  • the wireless transceiver 302 is configured to receive a first task that needs to be processed.
  • the program code is stored in the memory 303.
  • the processor 901 is configured to call the program code stored in the memory 903 for performing the following operations:
  • the processor 301 is configured to calculate a total time for each cloud platform device to process the first task, where the total time includes: waiting time and delivery time, and selecting the device with the best total time as the device assigned by the first task.
  • the processor 301 herein may be a processing component or a general term of multiple processing components.
  • the processing element can be a central processor (Central) Processing Unit, CPU), or a specific integrated circuit (Application Specific Integrated) Circuit, ASIC), or one or more integrated circuits configured to implement embodiments of the present application, such as one or more microprocessors (digital singnal Processor, DSP), or one or more Field Programmable Gate Arrays (FPGAs).
  • CPU central processor
  • ASIC Application Specific Integrated Circuit
  • DSP digital singnal Processor
  • FPGAs Field Programmable Gate Arrays
  • the memory 303 may be a storage device or a collective name of a plurality of storage elements, and is used to store executable program code or parameters, data, and the like required for the application running device to operate. And the memory 303 may include random access memory (RAM), and may also include non-volatile memory (non-volatile memory) Memory), such as disk storage, flash (Flash), etc.
  • RAM random access memory
  • non-volatile memory non-volatile memory
  • flash flash
  • Bus 304 can be an industry standard architecture (Industry Standard Architecture, ISA) bus, Peripheral Component (PCI) bus or extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 3, but it does not mean that there is only one bus or one type of bus.
  • the terminal may further include input and output means connected to the bus 304 for connection to other parts such as the processor 301 via the bus.
  • the input/output device can provide an input interface for the operator, so that the operator can select the control item through the input interface, and can also be other interfaces through which other devices can be externally connected.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Flash drive, read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or CD.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

Disclosed in the present invention are a task allocation method and system for a cloud service in a monitoring system, the method comprising the following steps: a monitoring system cloud platform receives a first task to be processed; the monitoring system cloud platform calculates the total time for each cloud platform device to process the first task, the total time comprising: waiting time and delivery time; and the monitoring system selects the device having the best total time as the device allocated the first task. The technical solution provided in the present invention has the advantage of high efficiency.

Description

监控系统中云服务的任务分配方法及系统  Task assignment method and system for cloud service in monitoring system 技术领域Technical field
本发明涉及监控领域,尤其涉及一种监控系统中云服务的任务分配方法及系统。The present invention relates to the field of monitoring, and in particular, to a task allocation method and system for a cloud service in a monitoring system.
背景技术Background technique
监控系统是由摄像、传输、控制、显示、记录登记5大部分组成。摄像机通过同轴视频电缆将视频图像传输到控制主机,控制主机再将视频信号分配到各监视器及录像设备,同时可将需要传输的语音信号同步录入到录像机内。 通过控制主机,操作人员可发出指令,对云台的上、下、左、右的动作进行控制及对镜头进行调焦变倍的操作,并可通过控制主机实现在多路摄像机及云台之间的切换。利用特殊的录像处理模式,可对图像进行录入、回放、处理等操作,使录像效果达到最佳。The monitoring system consists of 5 parts: camera, transmission, control, display, and record registration. The camera transmits the video image to the control host through the coaxial video cable, and the control host distributes the video signal to each monitor and recording device, and simultaneously records the voice signal to be transmitted into the recorder. By controlling the host, the operator can issue commands to control the up, down, left, and right movements of the pan/tilt and focus the zoom on the lens, and can be implemented in the multi-channel camera and the pan/tilt by the control host. Switch between. With special recording processing mode, images can be recorded, played back, processed, etc., so that the recording effect is optimal.
现有的监控系统的云服务降低了监控系统的成本,但是现有的监控系统的任务分配方法一般基于负载均衡的方式来分配任务,此方式可能导致任务处理的时间过长,所以效率较低。The cloud service of the existing monitoring system reduces the cost of the monitoring system, but the task allocation method of the existing monitoring system generally allocates tasks based on the load balancing method, which may cause the task processing time to be too long, so the efficiency is low. .
技术问题technical problem
本申请提供一种监控系统中云服务的任务分配方法。其解决现有技术的技术方案效率低的缺点。The application provides a task allocation method for a cloud service in a monitoring system. It solves the shortcomings of the prior art technical solutions.
技术解决方案Technical solution
一方面,提供一种监控系统中云服务的任务分配方法,所述方法包括如下步骤:In one aspect, a method for task allocation of a cloud service in a monitoring system is provided, the method comprising the following steps:
监控系统云平台接收需要处理的第一任务;The monitoring system cloud platform receives the first task to be processed;
监控系统云平台计算每个云平台设备处理所述第一任务的总时间,该总时间包括:等待时间和传递时间;The monitoring system cloud platform calculates a total time for each cloud platform device to process the first task, the total time including: waiting time and delivery time;
监控系统选择总时间最好的设备作为第一任务分配的设备。The monitoring system selects the device with the best total time as the device assigned by the first task.
可选的,所述等待时间具体为:t1=M1/S1;其中M1为本设备处理任务的总量,S1为本设备每秒处理的任务量。Optionally, the waiting time is specifically: t1=M1/S1; wherein M1 is the total amount of processing tasks of the device, and S1 is the task amount processed by the device per second.
可选的,所述传递时间具体为:t2=M2/S2,其中M2为第一任务的数据量,S2为云平台将第一任务传递到设备的网络延时。Optionally, the delivery time is specifically: t2=M2/S2, where M2 is the data volume of the first task, and S2 is a network delay that the cloud platform transmits the first task to the device.
第二方面,提供一种监控系统中云服务的任务分配系统,所述系统包括:In a second aspect, a task distribution system for monitoring a cloud service in a system is provided, the system comprising:
接收单元,用于接收需要处理的第一任务;a receiving unit, configured to receive a first task that needs to be processed;
计算单元,用于计算每个云平台设备处理所述第一任务的总时间,该总时间包括:等待时间和传递时间;a calculating unit, configured to calculate a total time for each cloud platform device to process the first task, where the total time includes: a waiting time and a delivery time;
分配单元,用于选择总时间最好的设备作为第一任务分配的设备。An allocating unit for selecting the device with the best total time as the device assigned by the first task.
可选的,所述等待时间具体为:t1=M1/S1;其中M1为本设备处理任务的总量,S1为本设备每秒处理的任务量。Optionally, the waiting time is specifically: t1=M1/S1; wherein M1 is the total amount of processing tasks of the device, and S1 is the task amount processed by the device per second.
可选的,所述传递时间具体为:t2=M2/S2,其中M2为第一任务的数据量,S2为云平台将第一任务传递到设备的网络延时。Optionally, the delivery time is specifically: t2=M2/S2, where M2 is the data volume of the first task, and S2 is a network delay that the cloud platform transmits the first task to the device.
第三方面,提供一种监控系统,包括:处理器、无线收发器、存储器和总线,所述处理器、无线收发器、存储器通过总线连接, In a third aspect, a monitoring system is provided, including: a processor, a wireless transceiver, a memory, and a bus, wherein the processor, the wireless transceiver, and the memory are connected by a bus.
所述无线收发器,用于接收需要处理的第一任务;The wireless transceiver is configured to receive a first task that needs to be processed;
所述处理器,用于计算每个云平台设备处理所述第一任务的总时间,该总时间包括:等待时间和传递时间;选择总时间最好的设备作为第一任务分配的设备。The processor is configured to calculate a total time that each cloud platform device processes the first task, where the total time includes: a waiting time and a delivery time; and selecting a device with the best total time as the device assigned by the first task.
可选的,所述处理器,具体用于计算等待时间,具体为:t1=M1/S1;其中M1为本设备处理任务的总量,S1为本设备每秒处理的任务量。Optionally, the processor is specifically configured to calculate a waiting time, specifically: t1=M1/S1; wherein M1 is a total amount of processing tasks of the device, and S1 is a task quantity processed by the device per second.
可选的,所述处理器,具体用于计算传递时间,具体为:t2=M2/S2,其中M2为第一任务的数据量,S2为云平台将第一任务传递到设备的网络延时。 Optionally, the processor is specifically configured to calculate a transit time, specifically: t2=M2/S2, where M2 is the data volume of the first task, and S2 is a network delay that the cloud platform transmits the first task to the device. .
有益效果Beneficial effect
本发明提供的技术方案计算该任务对应的数据传输的时间以及处理的时间,所以其具有依据时间的多少来分配任务,提高任务处理效率的优点。The technical solution provided by the present invention calculates the time of data transmission corresponding to the task and the processing time, so it has the advantage of allocating tasks according to the amount of time and improving the efficiency of task processing.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1为本发明第一较佳实施方式提供的一种监控系统中云服务的任务分配方法的流程图;1 is a flowchart of a task allocation method of a cloud service in a monitoring system according to a first preferred embodiment of the present invention;
图2为本发明第二较佳实施方式提供的一种监控系统中云服务的任务分配系统的结构图。2 is a structural diagram of a task allocation system for a cloud service in a monitoring system according to a second preferred embodiment of the present invention.
图3为本发明第二较佳实施方式提供的一种监控系统的硬件结构图。FIG. 3 is a hardware structural diagram of a monitoring system according to a second preferred embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
请参考图1,图1是本发明第一较佳实施方式提出的一种监控系统中云服务的任务分配方法,该方法如图1所示,包括如下步骤:Please refer to FIG. 1. FIG. 1 is a schematic diagram of a task allocation method for a cloud service in a monitoring system according to a first preferred embodiment of the present invention. The method is as shown in FIG.
步骤S101、监控系统云平台接收需要处理的第一任务。Step S101: The monitoring system cloud platform receives the first task to be processed.
步骤S102、监控系统云平台计算每个云平台设备处理所述第一任务的总时间,该总时间包括:等待时间和传递时间。Step S102: The monitoring system cloud platform calculates a total time for each cloud platform device to process the first task, where the total time includes: waiting time and delivery time.
步骤S103、监控系统选择总时间最好的设备作为第一任务分配的设备。Step S103: The monitoring system selects the device with the best total time as the device assigned by the first task.
本发明实施例提供的技术方案不仅考虑处理任务的等待时间,还考虑处理任务的传递时间,所以其具有综合考虑,提高效率的优点。The technical solution provided by the embodiment of the present invention not only considers the waiting time of the processing task, but also considers the delivery time of the processing task, so it has the advantages of comprehensive consideration and improved efficiency.
可选的,上述等待时间具体为:t1=M1/S1;其中M1为本设备处理任务的总量,S1为本设备每秒处理的任务量。Optionally, the foregoing waiting time is specifically: t1=M1/S1; wherein M1 is the total amount of processing tasks of the device, and S1 is the amount of tasks processed by the device per second.
可选的,上述传递时间具体可以为:t2=M2/S2,其中M2为第一任务的数据量,S2为云平台将第一任务传递到设备的网络延时。Optionally, the foregoing delivery time may be specifically: t2=M2/S2, where M2 is the data volume of the first task, and S2 is a network delay that the cloud platform transmits the first task to the device.
请参考图2,图2是本发明第二较佳实施方式提出的一种监控系统中云服务的任务分配系统,该系统如图2所示,包括:Please refer to FIG. 2. FIG. 2 is a schematic diagram of a task distribution system for a cloud service in a monitoring system according to a second preferred embodiment of the present invention. The system includes the following:
接收单元201,用于接收需要处理的第一任务。The receiving unit 201 is configured to receive a first task that needs to be processed.
计算单元202,用于计算每个云平台设备处理所述第一任务的总时间,该总时间包括:等待时间和传递时间。The calculating unit 202 is configured to calculate a total time for each cloud platform device to process the first task, where the total time includes: a waiting time and a delivery time.
分配单元203,用于选择总时间最好的设备作为第一任务分配的设备。The allocating unit 203 is configured to select the device with the best total time as the device assigned by the first task.
本发明实施例提供的技术方案不仅考虑处理任务的等待时间,还考虑处理任务的传递时间,所以其具有综合考虑,提高效率的优点。The technical solution provided by the embodiment of the present invention not only considers the waiting time of the processing task, but also considers the delivery time of the processing task, so it has the advantages of comprehensive consideration and improved efficiency.
可选的,上述等待时间具体为:t1=M1/S1;其中M1为本设备处理任务的总量,S1为本设备每秒处理的任务量。Optionally, the foregoing waiting time is specifically: t1=M1/S1; wherein M1 is the total amount of processing tasks of the device, and S1 is the amount of tasks processed by the device per second.
可选的,上述传递时间具体可以为:t2=M2/S2,其中M2为第一任务的数据量,S2为云平台将第一任务传递到设备的网络延时。Optionally, the foregoing delivery time may be specifically: t2=M2/S2, where M2 is the data volume of the first task, and S2 is a network delay that the cloud platform transmits the first task to the device.
参阅图3,图3为一种监控系统30,包括:处理器301、无线收发器302、存储器303和总线304,无线收发器302用于与外部设备之间收发数据。处理器301的数量可以是一个或多个。本申请的一些实施例中,处理器301、存储器302和收发器303可通过总线304或其他方式连接。监控系统30可以用于执行图1的步骤。关于本实施例涉及的术语的含义以及举例,可以参考图1对应的实施例。此处不再赘述。Referring to FIG. 3, FIG. 3 is a monitoring system 30, including: a processor 301, a wireless transceiver 302, a memory 303, and a bus 304. The wireless transceiver 302 is configured to transmit and receive data with and from an external device. The number of processors 301 can be one or more. In some embodiments of the present application, processor 301, memory 302, and transceiver 303 may be connected by bus 304 or other means. Monitoring system 30 can be used to perform the steps of FIG. For the meaning and examples of the terms involved in the embodiment, reference may be made to the corresponding embodiment of FIG. 1. I will not repeat them here.
无线收发器302,用于接收需要处理的第一任务。The wireless transceiver 302 is configured to receive a first task that needs to be processed.
其中,存储器303中存储程序代码。处理器901用于调用存储器903中存储的程序代码,用于执行以下操作:The program code is stored in the memory 303. The processor 901 is configured to call the program code stored in the memory 903 for performing the following operations:
处理器301,用于计算每个云平台设备处理所述第一任务的总时间,该总时间包括:等待时间和传递时间,选择总时间最好的设备作为第一任务分配的设备。The processor 301 is configured to calculate a total time for each cloud platform device to process the first task, where the total time includes: waiting time and delivery time, and selecting the device with the best total time as the device assigned by the first task.
需要说明的是,这里的处理器301可以是一个处理元件,也可以是多个处理元件的统称。例如,该处理元件可以是中央处理器(Central Processing Unit,CPU),也可以是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(digital singnal processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array, FPGA)。It should be noted that the processor 301 herein may be a processing component or a general term of multiple processing components. For example, the processing element can be a central processor (Central) Processing Unit, CPU), or a specific integrated circuit (Application Specific Integrated) Circuit, ASIC), or one or more integrated circuits configured to implement embodiments of the present application, such as one or more microprocessors (digital singnal Processor, DSP), or one or more Field Programmable Gate Arrays (FPGAs).
存储器303可以是一个存储装置,也可以是多个存储元件的统称,且用于存储可执行程序代码或应用程序运行装置运行所需要参数、数据等。且存储器303可以包括随机存储器(RAM),也可以包括非易失性存储器(non-volatile memory),例如磁盘存储器,闪存(Flash)等。The memory 303 may be a storage device or a collective name of a plurality of storage elements, and is used to store executable program code or parameters, data, and the like required for the application running device to operate. And the memory 303 may include random access memory (RAM), and may also include non-volatile memory (non-volatile memory) Memory), such as disk storage, flash (Flash), etc.
总线304可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图3中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Bus 304 can be an industry standard architecture (Industry Standard Architecture, ISA) bus, Peripheral Component (PCI) bus or extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 3, but it does not mean that there is only one bus or one type of bus.
该终端还可以包括输入输出装置,连接于总线304,以通过总线与处理器301等其它部分连接。该输入输出装置可以为操作人员提供一输入界面,以便操作人员通过该输入界面选择布控项,还可以是其它接口,可通过该接口外接其它设备。The terminal may further include input and output means connected to the bus 304 for connection to other parts such as the processor 301 via the bus. The input/output device can provide an input interface for the operator, so that the operator can select the control item through the input interface, and can also be other interfaces through which other devices can be externally connected.
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing various method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not described in detail in a certain embodiment can be referred to the related descriptions of other embodiments.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(英文:Read-Only Memory ,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Flash drive, read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or CD.
以上对本发明实施例所提供的内容下载方法及相关设备、系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The content downloading method and the related device and system provided by the embodiments of the present invention are described in detail above. The principles and implementation manners of the present invention are described in the specific examples. The description of the above embodiments is only used to help understand the present invention. The method of the invention and its core idea; at the same time, for the person of ordinary skill in the art, according to the idea of the present invention, there are some changes in the specific embodiment and the scope of application. In summary, the content of the specification should not be understood. To limit the invention.

Claims (9)

  1. 一种监控系统中云服务的任务分配方法,其特征在于,所述方法包括如下步骤: A task allocation method for a cloud service in a monitoring system, characterized in that the method comprises the following steps:
    监控系统云平台接收需要处理的第一任务;The monitoring system cloud platform receives the first task to be processed;
    监控系统云平台计算每个云平台设备处理所述第一任务的总时间,该总时间包括:等待时间和传递时间;The monitoring system cloud platform calculates a total time for each cloud platform device to process the first task, the total time including: waiting time and delivery time;
    监控系统选择总时间最好的设备作为第一任务分配的设备。The monitoring system selects the device with the best total time as the device assigned by the first task.
  2. 根据权利要求1所述的方法,其特征在于,所述等待时间具体为:t1=M1/S1;其中M1为本设备处理任务的总量,S1为本设备每秒处理的任务量。The method according to claim 1, wherein the waiting time is specifically: t1=M1/S1; wherein M1 is the total amount of processing tasks of the device, and S1 is the amount of tasks processed by the device per second.
  3. 根据权要求1所述的方法,其特征在于,所述传递时间具体为:t2=M2/S2,其中M2为第一任务的数据量,S2为云平台将第一任务传递到设备的网络延时。The method according to claim 1, wherein the delivery time is specifically: t2=M2/S2, wherein M2 is the data volume of the first task, and S2 is a network extension that the cloud platform transmits the first task to the device. Time.
  4. 一种监控系统中云服务的任务分配系统,其特征在于,所述系统包括:A task distribution system for a cloud service in a monitoring system, characterized in that the system comprises:
    接收单元,用于接收需要处理的第一任务;a receiving unit, configured to receive a first task that needs to be processed;
    计算单元,用于计算每个云平台设备处理所述第一任务的总时间,该总时间包括:等待时间和传递时间;a calculating unit, configured to calculate a total time for each cloud platform device to process the first task, where the total time includes: a waiting time and a delivery time;
    分配单元,用于选择总时间最好的设备作为第一任务分配的设备。An allocating unit for selecting the device with the best total time as the device assigned by the first task.
  5. 根据权利要求4所述的方法,其特征在于,所述等待时间具体为:t1=M1/S1;其中M1为本设备处理任务的总量,S1为本设备每秒处理的任务量。The method according to claim 4, wherein the waiting time is specifically: t1=M1/S1; wherein M1 is the total amount of processing tasks of the device, and S1 is the amount of tasks processed by the device per second.
  6. 根据权利要求4所述的方法,其特征在于,所述传递时间具体为:t2=M2/S2,其中M2为第一任务的数据量,S2为云平台将第一任务传递到设备的网络延时。The method according to claim 4, wherein the delivery time is specifically: t2=M2/S2, wherein M2 is the data volume of the first task, and S2 is the network extension of the cloud platform transmitting the first task to the device. Time.
  7. 一种监控系统,包括:处理器、无线收发器、存储器和总线,所述处理器、无线收发器、存储器通过总线连接,其特征在于,A monitoring system includes: a processor, a wireless transceiver, a memory, and a bus, wherein the processor, the wireless transceiver, and the memory are connected by a bus, wherein
    所述无线收发器,用于接收需要处理的第一任务;The wireless transceiver is configured to receive a first task that needs to be processed;
    所述处理器,用于计算每个云平台设备处理所述第一任务的总时间,该总时间包括:等待时间和传递时间;选择总时间最好的设备作为第一任务分配的设备。The processor is configured to calculate a total time that each cloud platform device processes the first task, where the total time includes: a waiting time and a delivery time; and selecting a device with the best total time as the device assigned by the first task.
  8. 根据权利要求7所述的监控系统,其特征在于,所述处理器,具体用于计算等待时间,具体为:t1=M1/S1;其中M1为本设备处理任务的总量,S1为本设备每秒处理的任务量。The monitoring system according to claim 7, wherein the processor is specifically configured to calculate a waiting time, specifically: t1=M1/S1; wherein M1 is the total amount of processing tasks of the device, and S1 is the device. The amount of tasks processed per second.
  9. 根据权利要求7所述的监控系统,其特征在于,所述处理器,具体用于计算传递时间,具体为:t2=M2/S2,其中M2为第一任务的数据量,S2为云平台将第一任务传递到设备的网络延时。 The monitoring system according to claim 7, wherein the processor is specifically configured to calculate a delivery time, specifically: t2=M2/S2, wherein M2 is the data volume of the first task, and S2 is the cloud platform. The network delay of the first task delivered to the device.
PCT/CN2017/077330 2017-03-20 2017-03-20 Task allocation method and system for cloud service in monitoring system WO2018170683A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/077330 WO2018170683A1 (en) 2017-03-20 2017-03-20 Task allocation method and system for cloud service in monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/077330 WO2018170683A1 (en) 2017-03-20 2017-03-20 Task allocation method and system for cloud service in monitoring system

Publications (1)

Publication Number Publication Date
WO2018170683A1 true WO2018170683A1 (en) 2018-09-27

Family

ID=63583948

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/077330 WO2018170683A1 (en) 2017-03-20 2017-03-20 Task allocation method and system for cloud service in monitoring system

Country Status (1)

Country Link
WO (1) WO2018170683A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7644188B2 (en) * 2002-02-25 2010-01-05 Intel Corporation Distributing tasks in data communications
CN102508714A (en) * 2011-11-03 2012-06-20 南京邮电大学 Green-computer-based virtual machine scheduling method for cloud computing
CN103699446A (en) * 2013-12-31 2014-04-02 南京信息工程大学 Quantum-behaved particle swarm optimization (QPSO) algorithm based multi-objective dynamic workflow scheduling method
CN106954043A (en) * 2017-03-20 2017-07-14 华平智慧信息技术(深圳)有限公司 The method for allocating tasks and system of cloud service in monitoring system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7644188B2 (en) * 2002-02-25 2010-01-05 Intel Corporation Distributing tasks in data communications
CN102508714A (en) * 2011-11-03 2012-06-20 南京邮电大学 Green-computer-based virtual machine scheduling method for cloud computing
CN103699446A (en) * 2013-12-31 2014-04-02 南京信息工程大学 Quantum-behaved particle swarm optimization (QPSO) algorithm based multi-objective dynamic workflow scheduling method
CN106954043A (en) * 2017-03-20 2017-07-14 华平智慧信息技术(深圳)有限公司 The method for allocating tasks and system of cloud service in monitoring system

Similar Documents

Publication Publication Date Title
WO2018176390A1 (en) Safety precaution method and system for winding machine
WO2015064850A1 (en) Buffer management method and apparatus for universal serial bus communication in wireless environment
WO2018170683A1 (en) Task allocation method and system for cloud service in monitoring system
WO2018161220A1 (en) Cloud platform grouping task distribution method and system in monitoring system
WO2018161219A1 (en) Method and system for managing big data of monitoring videos
WO2018209586A1 (en) Bluetooth positioning method and system
WO2018170684A1 (en) Fault location method and system for cloud monitoring platform
WO2018176449A1 (en) Method and system for performing statistics and distribution on progress of winding machine
WO2018223375A1 (en) Controlling and reminding method and system for terminal traffic
WO2018161218A1 (en) Big data sequencing recommendation method and system with monitoring system
WO2018170685A1 (en) Video stitching method and system for monitoring cloud platform
US20180018296A1 (en) Flow control protocol for an audio bus
WO2018223373A1 (en) Terminal management method and system for subsidiary number
WO2018170889A1 (en) Friend grouping method and system for instant messaging
WO2019061385A1 (en) Distributed crawler task distribution method and system
WO2018209550A1 (en) Terminal system update method and system
WO2018209548A1 (en) Terminal video decoding method and system
WO2018165839A1 (en) Distributed crawler implementation method and system
WO2018209549A1 (en) Terminal video interval division method and system
WO2018223371A1 (en) Terminal hot spot access control method and system
WO2018218615A1 (en) Method and system for determining priorities of multiple apps in terminal
WO2018176223A1 (en) Cloned implementation method and system for instant message
WO2018176386A1 (en) Foot control method and system for floor standing winding machine
WO2018223346A1 (en) Method and system for positioning in photograph sharing
WO2018209507A1 (en) Method and system for terminal app duplication

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17901459

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22.01.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17901459

Country of ref document: EP

Kind code of ref document: A1