WO2020082599A1 - Cloud control method and device, computer apparatus, and storage medium - Google Patents

Cloud control method and device, computer apparatus, and storage medium Download PDF

Info

Publication number
WO2020082599A1
WO2020082599A1 PCT/CN2018/125111 CN2018125111W WO2020082599A1 WO 2020082599 A1 WO2020082599 A1 WO 2020082599A1 CN 2018125111 W CN2018125111 W CN 2018125111W WO 2020082599 A1 WO2020082599 A1 WO 2020082599A1
Authority
WO
WIPO (PCT)
Prior art keywords
task
service end
request
instruction
reminder
Prior art date
Application number
PCT/CN2018/125111
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 平安科技(深圳)有限公司
Publication of WO2020082599A1 publication Critical patent/WO2020082599A1/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/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4825Interrupt from clock, e.g. time of day
    • 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/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4818Priority circuits therefor

Definitions

  • the embodiments of the present application relate to the field of business processing, and in particular to a cloud control method, device, computer equipment, and storage medium.
  • Timed task means that the computer executes the operation command preselected or set by the user at the time set by the user to automatically complete the timed task and the timed command.
  • the inventor realizes that in the prior art, the same user or company has multiple system platforms, and multiple system platforms need to build their own independent servers.
  • each server pair The scheduled tasks in the system are monitored.
  • the number of scheduled tasks in the system is large, the maintenance and management costs of each server are too high, causing unnecessary waste. Too many monitoring tasks are also a heavy burden on a server or computer terminal with a large load, and occupy too much computing power of the processor.
  • Embodiments of the present application provide a cloud control method, device, computer equipment, and storage medium that uniformly execute timing tasks of each terminal or service end.
  • a technical solution adopted by the embodiment created by the present application is to provide a cloud control method, including the following steps: acquiring a task request for establishing a scheduled task sent by a business end, wherein Including the operation instruction executed by the scheduled task and the start time of the scheduled task; establishing a delayed reminder task according to the task request; when the delayed reminder task is completed, sending a preset first instruction to the service end, Therefore, the service terminal executes the operation instruction according to the first instruction.
  • embodiments of the present application also provide a cloud control device, including: an acquisition module for acquiring a task request sent by a service end to establish a scheduled task, wherein the task request includes the execution of the scheduled task Operation instruction and the start time of the timed task; the processing module is used to establish a delayed reminder task according to the task request; the execution module is used to send a preset A first instruction, so that the service end executes the operation instruction according to the first instruction.
  • the embodiments of the present application further provide a computer device, including a memory and a processor, and the memory stores computer-readable instructions.
  • the computer-readable instructions are executed by the processor,
  • the processor executes the steps of the cloud control method described above.
  • the embodiments of the present application further provide a storage medium storing computer-readable instructions, which when executed by one or more processors cause the one or more processors to execute the above Describe the steps of the cloud control method.
  • an independent timed task management and control system is established in the cloud according to the start time of the timed task and the corresponding operation instruction. Can supervise all the timed tasks.
  • the preset first instruction is sent to the corresponding business end.
  • the first instruction includes timing due to the business end.
  • the operation instruction is executed. Therefore, after receiving the first instruction, the business end executes the operation instruction after parsing, so as to realize the cloud control of the timing task, reduce the monitoring cost of each business end for the timing task, and also It reduces the task burden on the business side and releases more computing power to improve the response speed and business capacity of the business side.
  • FIG. 1 is a schematic flowchart of a cloud control method according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of assigning multiple delay reminder tasks to a task process according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart of process sequencing according to the access volume after the execution of an operation instruction according to an embodiment of the present application
  • FIG. 4 is a schematic flowchart of an early warning based on predicted traffic according to an embodiment of the present application
  • FIG. 5 is a schematic flowchart of determining an executable operation instruction according to priority according to an embodiment of the present application
  • FIG. 6 is a schematic flowchart of cloud computing power distribution according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a basic structure of a cloud control device according to an embodiment of the present application.
  • FIG. 8 is a block diagram of a basic structure of a computer device according to an embodiment of the present application.
  • terminal and “terminal device” used here include not only devices with wireless signal receivers, but only devices with wireless signal receivers that do not have transmitting capabilities, but also devices that receive and transmit hardware.
  • Such devices may include: cellular or other communication devices with single-line displays or multi-line displays or cellular or other communication devices without multi-line displays; PCS (Personal Communications Services), which can combine voice and data Processing, fax and / or data communication capabilities; PDA (Personal Digital Assistant), which can include radio frequency receivers, pagers, Internet / Intranet access, web browsers, notepads, calendars and / or GPS (Global Positioning System (Global Positioning System) receiver; conventional laptop and / or palmtop computer or other device that has and / or includes a conventional laptop and / or palmtop computer or other device of a radio frequency receiver.
  • GPS Global Positioning System
  • terminal and “terminal equipment” may be portable, transportable, installed in a vehicle (aeronautical, maritime, and / or terrestrial), or suitable and / or configured to operate locally, and / or In a distributed form, it operates at any other location on the earth and / or space.
  • the "terminal” and “terminal device” used herein may also be a communication terminal, an Internet terminal, a music / video playback terminal, for example, may be a PDA, MID (Mobile Internet Device), and / or have music / video playback
  • Functional mobile phones can also be smart TVs, set-top boxes and other devices.
  • FIG. 1 is a schematic diagram of a basic process of a cloud control method in this embodiment.
  • a cloud control method includes the following steps:
  • the service end can be (but not limited to): computer equipment such as a server end, a PC end, and a mobile terminal.
  • the service side when the service side newly creates a timed task, it sends the start time of the timed service, that is, the time when the timed task starts to be executed, and the operation instruction that the timed task needs to execute to the cloud.
  • the cloud After receiving the task request sent by the server, the cloud parses and obtains the operation instruction executed by the scheduled task and the start time of the scheduled task.
  • the service end is a server
  • the server is used to receive the lottery request of the user terminal at 20:00 every night. Therefore, it is necessary to open access at 20:00 every night.
  • the business end establishes a timed task.
  • the content of the timed task includes: task start time: 20:00 and the operation instruction that the timed task needs to perform: receive and respond to the lottery request.
  • a task request is generated and sent to the cloud.
  • the cloud analyzes the task request, and obtains the operation instruction executed by the scheduled task and the start time of the scheduled task.
  • the cloud in this embodiment does not just receive the lottery timed task of the business end, but can accept any form of timed task request sent by any computer device according to different application scenarios, for example, in some selective implementations
  • the task request received by the cloud can be (not limited to): an alarm timer task sent by the terminal, a timer task sent by the server to start the dedicated interface, a timer switch task sent by the terminal or server, or a timer send sent by the terminal Email tasks, etc.
  • the operation instruction is the operation that the task needs to perform at the specified time.
  • the operation instruction can be (not limited to): open setting authority, open setting interface, opening the alarm application, turning on or off the email, etc.
  • the cloud After receiving the task request sent by the service end, the cloud parses the task request to obtain the operation instruction of the scheduled task and the start time of the scheduled task. Based on the start time, the cloud creates a delayed reminder task.
  • the delay reminder task means that the cloud obtains the time information of the current time, calculates the time difference between the start time of the scheduled task and the current time, and uses the time difference as the delay time of the delay task. For example, the cloud receives the task request at 16:00, and the start time of the timed character is 20:00. After the cloud calculates that the time difference between the two is 4 hours, a delay task is created, and the delay time of the delay task is 4 hours. When the delay task returns to zero, the cloud sends control instructions including the operation instructions of the timed task to the corresponding business end.
  • the cloud sends the preset first instruction to the business end of the task request initiator.
  • the first instruction includes an operation instruction to be performed by the service end determined by the timing task, and the operation instruction can be (not limited to): open setting authority, open setting interface, opening an alarm application, turning on or off an email, etc.
  • the service end after receiving the first instruction, the service end must immediately execute the operation instruction included in the first instruction, so as to achieve the goal of centralized management of the timed task through the cloud.
  • the foregoing embodiment establishes an independent timing task management and control system in the cloud by accepting the timing tasks sent by each service end, and according to the start time of the timing task and the corresponding operation instruction. Can supervise all the timed tasks.
  • the preset first instruction is sent to the corresponding business end.
  • the first instruction includes timing due to the business end.
  • the operation instruction is executed. Therefore, after receiving the first instruction, the business end executes the operation instruction after parsing, so as to realize the cloud control of the timing task, reduce the monitoring cost of each business end for the timing task, and It reduces the task burden on the business side and releases more computing power to improve the response speed and business capacity of the business side.
  • a task process when the cloud receives a large number of timed task requests (for example, task requests in the order of millions), a task process needs to be established according to different moments.
  • the task process is to send a set operation instruction to multiple service terminals at the same time or within a period of time according to different delay reminding tasks.
  • FIG. 2 is a schematic flowchart of assigning multiple delay reminder tasks to a task process in this embodiment.
  • step S1200 also includes the following steps:
  • S1211 Classify the multiple task requests with the start time as a limiting condition
  • the cloud After acquiring multiple task requests, the cloud analyzes and obtains the start time of the scheduled task included in each task request, and then classifies the multiple task requests with the start time of the scheduled task as a limiting condition.
  • the classified categories are different start-up times.
  • S1212 Assign the delay reminder task corresponding to the task request that belongs to the same start time to the same task process for execution.
  • the delayed reminder task is established through the classification results, and the method for establishing the delayed reminder task is to establish the task process according to the sequence of the startup time.
  • the task process refers to that the cloud executes execution activities of sending multiple first instructions at a time at the same time.
  • the delay reminder task corresponding to the request task within the same start time is allocated to the same task process for execution. For example, statistics show that there are 8 task requests to be started at 20:00. When the task is created, the 8 tasks are established in a task process. When this time comes at 20:00, the task process is executed. The result is that within a short period of time (for example, 1 second), the first instructions are sent to the eight service ends respectively.
  • the task process By placing the delayed reminder tasks performed at the same moment in a task process for execution, the task process is reduced, and at the same time, the execution of the task through the process also increases the speed of task sending.
  • the cloud can perform multi-process calculation, that is, a task process includes multiple task threads capable of executing tasks, and each task thread corresponds to executing a delay reminder task. Since multiple task threads in the same task process are arranged linearly, that is, the threads execute in a sequential order, the time interval between threads is very small (for example, 0.01s). However, in order to further improve the differentiated management of each business end in the cloud, when performing task threads, it is sorted according to the access volume after executing the operation instruction. Please refer to FIG. 3, which is a schematic flowchart of process sequencing according to the access volume after the operation instruction is executed in this embodiment.
  • step S1212 the following steps are also included after step S1212:
  • the cloud After acquiring each task request, the cloud sends information to each business end to obtain the business access volume of each business end after executing the corresponding operation instruction.
  • the service side is a server side
  • the operation command regularly executed by the server side is: open a login interface.
  • the average access volume (XX times / second) of the service terminal after opening the login interface is obtained.
  • the average access volume after each operation instruction is executed by the service end is obtained.
  • Different visits according to specific application scenarios are not only average visits, in some embodiments, the visits can be peak visits.
  • S1222 Sort the multiple task requests by using the access amount as a limiting condition to generate a sorted list
  • the task requests are sorted in ascending order with the access volume as a limiting condition and a sorted list is generated. Make each task request correspond to a sequence number.
  • the order of the delay reminder tasks corresponding to each task request in the task process is determined according to the sequence number corresponding to each task request. Specifically, the delayed reminder task ranked first is regarded as the task executed by the first task thread, and so on. The last delayed reminder task in the sorted list corresponds to the last task thread.
  • the delay reminder task located in the last task thread is sent out first at the start time, and so on, ranking first
  • the operation instruction executed by the task thread is finally issued. Because the earlier the sending time is, the earlier the time for accepting the access can be, thereby dispersing the amount of access and reducing the chance of server-side congestion and downtime due to excessive access peaks.
  • FIG. 4 is a schematic diagram of an early warning process according to the predicted traffic in this embodiment.
  • step S1200 the following steps are also included:
  • S1111 Perform statistics on the multiple task requests using the start time as a limiting condition
  • the cloud After obtaining multiple task requests sent by the same service end, the cloud analyzes and obtains the start time of the scheduled task included in each task request, and then classifies the multiple task requests with the start time of the scheduled task as a limiting condition.
  • the classified categories are different start-up times.
  • the cloud sends information to the business end to obtain the business access volume of the business end after executing the corresponding operation instruction.
  • the service side is a server side
  • the operation command regularly executed by the server side is: open a login interface.
  • the average access volume (XX times / second) of the service terminal after opening the login interface is obtained.
  • the average access volume after each operation instruction is executed by the service end is obtained.
  • Different visits according to specific application scenarios are not only average visits, in some embodiments, the visits can be peak visits.
  • the visits of multiple operation instructions with the same start time uploaded by the same business end are accumulated to obtain the sum of the visits, and then the sum Compare with preset access threshold.
  • the access threshold refers to the upper limit of the amount of access that each service can handle. Therefore, depending on the model and configuration of each service, the access threshold changes accordingly.
  • the access threshold is obtained after the cloud sends an acquisition request to the corresponding service end.
  • the cloud sends warning information to the business.
  • the warning information includes reminding the business end that when multiple operation instructions are executed at the same time, the high concurrency caused by the access has exceeded the rated access threshold of the server, and prompting the business end to reduce the scheduled task at this time or adjust the start time of the scheduled task , In order to stagger access to high concurrency time periods, to achieve a reasonable utilization of computing power resources.
  • different operation instructions of the service end have a set priority.
  • the priority determines which operation instructions need to be executed and which need not be performed. carried out. Please refer to FIG. 5, which is a schematic flowchart of determining an executable operation instruction according to priority.
  • step S1114 the following steps are also included:
  • the cloud After calculating that the sum of the visits after the execution of the operation instruction is greater than the set access threshold, the cloud sends the service end to obtain the priority level of each regularly executed operation instruction. In this way, the priority registration of each operation instruction is acquired.
  • the multiple task requests are sorted in descending order according to the priority.
  • sorting task requests with the same priority are sorted at the same level by the time when the task request is accepted.
  • S1123 Accumulate the visits requested by the multiple tasks in a sorted order according to a preset flow calculation model
  • the access volume of the operation instructions represented by each order is accumulated in sequence.
  • S represents the cumulative traffic sum
  • Y represents the preset access threshold
  • B represents the access volume characterized by each task request
  • n represents the order of each task request.
  • the accumulated traffic sum is less than or equal to the set access threshold.
  • the access threshold it means that the excess needs to be returned to the previous step, and the sum of the accumulated values calculated in this step is the final value.
  • Task requests characterized by the number of visits involved in calculating this value can establish a delayed reminder task.
  • the cloud prohibits execution of the delayed reminder task characterized by the task request that does not perform the cumulative calculation.
  • the task request is screened through the dual variables of priority and access, high concurrency control is achieved, and the scheduling power of the server's computing power is improved.
  • the cloud can also be used as the execution party of the operation instruction, that is, after the server sends the scheduled task to the cloud, the execution of the scheduled task can also be performed by the cloud. Then, the final calculation result is returned from the cloud to the business side.
  • FIG. 6, is a schematic flowchart of cloud computing power distribution in this embodiment.
  • step S1300 the following steps are also included:
  • Computing power refers to the computing power that requires a processor.
  • the cloud includes multiple processors, which can work independently or perform different steps of the same task separately. Therefore, when an operation instruction needs to be run in the cloud, the processor needs to be allocated according to the computing power required by the operation instruction.
  • the computing power required for operating instructions can be obtained through historical records. It can also be obtained by directly sending request information to the corresponding service end.
  • S1312 Assign a processor having a mapping relationship with the computing power when the delayed reminder task is completed, so as to execute the operation instruction in the cloud.
  • a delay reminder task When a delay reminder task is cleared to zero, the delay reminder task is reached, and a processor that executes the operation instruction needs to be obtained through calculation of computing power. Then the corresponding processor is allocated to execute the operation instruction, and after the execution is completed, the operation instruction is sent to the service end.
  • embodiments of the present application also provide a cloud control device.
  • FIG. 7 is a schematic structural diagram of a cloud control device according to this embodiment.
  • a cloud control device includes the following steps: an acquisition module 2100, a processing module 2200, and an execution module 2300.
  • the obtaining module 2100 is used to obtain a task request sent by the service end to establish a timed task, wherein the task request includes an operation instruction executed by the timed task and a start time of the timed task;
  • the processing module 2200 is used to establish a delay reminder according to the task request Task;
  • the execution module 2300 is used to send a preset first instruction to the business end when the delay reminder task is completed, so that the business end executes the operation instruction according to the first instruction.
  • the cloud control device establishes an independent timing task management and control system in the cloud by accepting the timing tasks sent by each business end, and according to the start time of the timing tasks and the corresponding operation instructions. Can supervise all the timed tasks.
  • the preset first instruction is sent to the corresponding business end.
  • the first instruction includes timing due to the business end.
  • the operation instruction is executed. Therefore, after receiving the first instruction, the business end executes the operation instruction after parsing, so as to realize the cloud control of the timing task, reduce the monitoring cost of each business end for the timing task, and also It reduces the task burden on the business side and releases more computing power to improve the response speed and business capacity of the business side.
  • the cloud control device further includes: a first processing submodule and a first execution submodule.
  • the first processing sub-module is used to classify multiple task requests with the start time as a limiting condition; the first execution sub-module is used to allocate the delay reminder task corresponding to the task request that belongs to the same start time to the same task Process execution.
  • the task process includes multiple task threads, and each task thread corresponds to a delay reminder task;
  • the cloud control device further includes: a first acquisition submodule, a second processing submodule, and a second execution submodule.
  • the first obtaining sub-module is used to obtain the access amount of the operation instruction corresponding to each reminder task;
  • the second processing sub-module is used to sort the multiple task requests with the access amount as a limiting condition to generate a sorted list;
  • the second execution sub-module It is used to confirm that the order of each task request in the sorting list is the order of the task thread corresponding to each task request in the task process.
  • the cloud control device when the same service end sends multiple task requests; the cloud control device further includes: a first statistics submodule, a third processing submodule, a first calculation submodule, and a third execution submodule.
  • the first statistics sub-module is used to count multiple task requests with the start time as the limiting condition;
  • the third processing sub-module is used to obtain the operation instructions corresponding to each task request when the start time of the multiple task requests is the same Access volume;
  • the first calculation sub-module is used to calculate the sum of the access volume of multiple operation instructions, and the calculated sum of the access volume is compared with the preset access threshold;
  • the third execution sub-module is used as the access volume When the sum is greater than the access threshold, warning information is sent to the business side.
  • the cloud control device further includes: a second acquisition submodule, a first sorting submodule, a fourth processing submodule, and a fourth execution submodule.
  • the second obtaining sub-module is used to obtain the execution priority of each operation instruction;
  • the first sorting sub-module is used to sort the multiple task requests according to the priority;
  • the fourth processing sub-module is used to calculate the model according to the preset flow Accumulate the access volume of multiple task requests in sorted order;
  • the fourth execution sub-module is used to prohibit execution of the delay reminder task characterized by the task request that does not perform the cumulative calculation when the accumulated result is greater than or equal to the access threshold.
  • the characteristics of the flow calculation model are described as:
  • S represents the cumulative traffic sum
  • Y represents the preset access threshold
  • B represents the access volume characterized by each task request
  • n represents the order of each task request.
  • the cloud control device further includes: a third acquisition submodule and a fifth processing submodule.
  • the third obtaining sub-module is used to obtain the computing power required for the operation instruction to operate;
  • the fifth processing sub-module is used to allocate a processor having a mapping relationship with the computing power when the delay reminder task is completed, so as to execute the operating instruction in the cloud .
  • FIG. 8 is a block diagram of the basic structure of the computer device of this embodiment.
  • the computer device includes a processor, a non-volatile storage medium, a memory, and a network interface connected through a system bus.
  • the non-volatile storage medium of the computer device stores an operating system, a database, and computer-readable instructions.
  • the database may store a sequence of control information.
  • the processor may implement a A cloud control method.
  • the processor of the computer device is used to provide computing and control capabilities, and support the operation of the entire computer device.
  • the memory of the computer device may store computer readable instructions. When the computer readable instructions are executed by the processor, the processor may cause the processor to execute a cloud control method.
  • the network interface of the computer device is used to connect and communicate with the terminal.
  • FIG. 8 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied.
  • the specific computer equipment may Include more or less components than shown in the figure, or combine certain components, or have a different arrangement of components.
  • the processor is used to perform specific functions of the acquisition module 2100, the processing module 2200, and the execution module 2300 in FIG. 7, and the memory stores program codes and various types of data required to execute the above modules.
  • the network interface is used for data transmission to user terminals or servers.
  • the memory in this embodiment stores the program codes and data required to execute all submodules in the face image key point detection device, and the server can call the server program codes and data to execute the functions of all submodules.
  • the computer equipment establishes an independent timing task management and control system in the cloud by accepting the timing tasks sent by each business end, and according to the start time of the timing tasks and the corresponding operation instructions. Can supervise all the timed tasks.
  • the preset first instruction is sent to the corresponding business end.
  • the first instruction includes timing due to the business end.
  • the operation instruction is executed. Therefore, after receiving the first instruction, the business end executes the operation instruction after parsing, so as to realize the cloud control of the timing task, reduce the monitoring cost of each business end for the timing task, and also It reduces the task burden on the business side and releases more computing power to improve the response speed and business capacity of the business side.
  • the present application also provides a storage medium storing computer-readable instructions, which when executed by one or more processors, cause the one or more processors to perform the cloud control method according to any of the foregoing embodiments A step of.
  • the computer program may be stored in a computer-readable storage medium, When executed, it may include the processes of the foregoing method embodiments.
  • the aforementioned storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
  • steps in the flowchart of the drawings are displayed in order according to the arrows, the steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this article, there is no strict order limitation for the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the order of execution is also It is not necessarily carried out sequentially, but may be executed in turn or alternately with at least a part of other steps or sub-steps or stages of other steps.

Abstract

Embodiments of the present application disclose a cloud control method and device, a computer apparatus, and a storage medium. The method comprises the following steps: acquiring a task request sent by a service end and used to establish a scheduled task; establishing a delay reminder task according to the task request; and when the delay reminder task is completed, sending a preset first instruction to the service end, such that the service end executes an operational instruction according to the first instruction. In the method, an independent scheduled task management and control system is established in the cloud, such that all scheduled tasks can be supervised. When a condition of the scheduled task is met, that is, after the delay reminder task returns to zero, the preset first instruction is sent to a corresponding service end. The first instruction comprises an operational instruction requiring periodic execution by the service end such that after receiving the first instruction, the service end parses the first instruction so as to execute the operational instruction, thereby achieving cloud control of the scheduled task, and reducing costs of monitoring the scheduled tasks by means of each service end.

Description

云端控制方法、装置、计算机设备及存储介质Cloud control method, device, computer equipment and storage medium
本申请要求于2018年10月22日提交中国专利局、申请号为201811231463.3,发明名称为“云端控制方法、装置、计算机设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of the Chinese patent application filed on October 22, 2018 in the Chinese Patent Office with the application number 201811231463.3 and the invention titled "Cloud Control Methods, Devices, Computer Equipment, and Storage Media", the entire contents of which are incorporated by reference In this application.
技术领域Technical field
本申请实施例涉及业务处理领域,尤其是一种云端控制方法、装置、计算机设备及存储介质。The embodiments of the present application relate to the field of business processing, and in particular to a cloud control method, device, computer equipment, and storage medium.
背景技术Background technique
定时任务是指,计算机在用户设定的时刻执行用户预先选定或者设定的操作指令,以自动完成定时任务和定时指令。Timed task means that the computer executes the operation command preselected or set by the user at the time set by the user to automatically complete the timed task and the timed command.
发明人意识到,现有技术中,同一家用户或者公司拥有多个系统平台,多个系统平台需要构建各自相互独立的服务器,当每个平台对应的服务器发布不同的定时任务时,各服务器对系统内的定时任务进行监控,当系统内的定时任务数量较大时,各服务器的维护与管理成本均过高,造成不必要的浪费。而过多的监控任务,对于负荷较大的服务器或者计算机终端也是一种较大的负担,占用处理器过多的运算能力。The inventor realizes that in the prior art, the same user or company has multiple system platforms, and multiple system platforms need to build their own independent servers. When the servers corresponding to each platform issue different timing tasks, each server pair The scheduled tasks in the system are monitored. When the number of scheduled tasks in the system is large, the maintenance and management costs of each server are too high, causing unnecessary waste. Too many monitoring tasks are also a heavy burden on a server or computer terminal with a large load, and occupy too much computing power of the processor.
发明内容Summary of the invention
本申请实施例提供一种统一执行各终端或业务端定时任务的云端控制方法、装置、计算机设备及存储介质。Embodiments of the present application provide a cloud control method, device, computer equipment, and storage medium that uniformly execute timing tasks of each terminal or service end.
为解决上述技术问题,本申请创造的实施例采用的一个技术方案是:提供一种云端控制方法,包括下述步骤:获取业务端发送的建立定时任务的任务请求,其中,所述任务请求中包括所述定时任务执行的操作指令和定时任务的启动时间;根据所述任务请求建立延时提醒任务;当所述延时提醒任务达成时,向所述业务端发送预设的第一指令,以使所述业务端根据所述第一指令执行所述操作指令。In order to solve the above technical problems, a technical solution adopted by the embodiment created by the present application is to provide a cloud control method, including the following steps: acquiring a task request for establishing a scheduled task sent by a business end, wherein Including the operation instruction executed by the scheduled task and the start time of the scheduled task; establishing a delayed reminder task according to the task request; when the delayed reminder task is completed, sending a preset first instruction to the service end, Therefore, the service terminal executes the operation instruction according to the first instruction.
为解决上述技术问题,本申请实施例还提供一种云端控制装置,包括:获取模块,用于获取业务端发送的建立定时任务的任务请求,其中,所述任务请求中包括所述定时任务执行的操作指令和定时任务的启动时间;处理模块,用于根据所述任务请求建立延时提醒任务;执行模块,用于当所述延时提醒任务达成时,向所述业务端发送预设的第一指令,以使所述业务端根据所述第一指令执行所述操作指令。To solve the above technical problems, embodiments of the present application also provide a cloud control device, including: an acquisition module for acquiring a task request sent by a service end to establish a scheduled task, wherein the task request includes the execution of the scheduled task Operation instruction and the start time of the timed task; the processing module is used to establish a delayed reminder task according to the task request; the execution module is used to send a preset A first instruction, so that the service end executes the operation instruction according to the first instruction.
为解决上述技术问题,本申请实施例还提供一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行上述所述云端控制方法的步骤。To solve the above technical problems, the embodiments of the present application further provide a computer device, including a memory and a processor, and the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, The processor executes the steps of the cloud control method described above.
为解决上述技术问题,本申请实施例还提供一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述所述云端控制方法的步骤。To solve the above technical problems, the embodiments of the present application further provide a storage medium storing computer-readable instructions, which when executed by one or more processors cause the one or more processors to execute the above Describe the steps of the cloud control method.
通过接受各个业务端发送的定时任务,根据定时任务的启动时间和对应的操作指令,在云端建立独立的定时任务管控系统。能够对所有的定时任务进行监管,当定时任务的条件达成时,即延时提醒任务归零后,将预设的第一指令发送至对应的业务端,第一指令中由于包括业务端需要定时执行的操作指令,因此,业务端在接收到该第一指令后,经过解析后执行该操作指令,以此实现了定时任务的云端控制,降低了各业务端对定时任务的监控成本,同时也降低了对业务端的任务负担,释放了更多的算力,以提高业务端的响应速度和业务承载量。By accepting the timed tasks sent by each business end, an independent timed task management and control system is established in the cloud according to the start time of the timed task and the corresponding operation instruction. Can supervise all the timed tasks. When the conditions of the timed tasks are met, that is, after the delay reminder task is reset to zero, the preset first instruction is sent to the corresponding business end. The first instruction includes timing due to the business end. The operation instruction is executed. Therefore, after receiving the first instruction, the business end executes the operation instruction after parsing, so as to realize the cloud control of the timing task, reduce the monitoring cost of each business end for the timing task, and also It reduces the task burden on the business side and releases more computing power to improve the response speed and business capacity of the business side.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the technical solutions in the embodiments of the present application, the drawings required in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application For those skilled in the art, without paying any creative work, other drawings can also be obtained based on these drawings.
图1为本申请实施例云端控制方法的基本流程示意图;FIG. 1 is a schematic flowchart of a cloud control method according to an embodiment of the present application;
图2为本申请实施例将多个延时提醒任务分配至一个任务进程的流程示意图;2 is a schematic flowchart of assigning multiple delay reminder tasks to a task process according to an embodiment of the present application;
图3为本申请实施例通过操作指令执行后的访问量进行进程排序的流程示意图;FIG. 3 is a schematic flowchart of process sequencing according to the access volume after the execution of an operation instruction according to an embodiment of the present application;
图4为本申请实施例根据预测访问量进行预警的流程示意图;FIG. 4 is a schematic flowchart of an early warning based on predicted traffic according to an embodiment of the present application;
图5为本申请实施例根据优先级确定可执行操作指令的流程示意图;5 is a schematic flowchart of determining an executable operation instruction according to priority according to an embodiment of the present application;
图6为本申请实施例云端算力分配的流程示意图;FIG. 6 is a schematic flowchart of cloud computing power distribution according to an embodiment of the present application;
图7为本申请实施例云端控制装置的基本结构示意图;7 is a schematic diagram of a basic structure of a cloud control device according to an embodiment of the present application;
图8为本申请实施例计算机设备基本结构框图。8 is a block diagram of a basic structure of a computer device according to an embodiment of the present application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solution of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application.
在本申请的说明书和权利要求书及上述附图中的描述的一些流程中,包含了按照特定顺序出现的多个操作,但是应该清楚了解,这些操作可以不按照其在本文中出现 的顺序来执行或并行执行,操作的序号如101、102等,仅仅是用于区分开各个不同的操作,序号本身不代表任何的执行顺序。另外,这些流程可以包括更多或更少的操作,并且这些操作可以按顺序执行或并行执行。需要说明的是,本文中的“第一”、“第二”等描述,是用于区分不同的消息、设备、模块等,不代表先后顺序,也不限定“第一”和“第二”是不同的类型。Some processes described in the specification and claims of the present application and the above drawings include multiple operations in a specific order, but it should be clearly understood that these operations may not be in the order in which they appear in this document Execution or parallel execution. The sequence numbers of operations such as 101 and 102 are only used to distinguish different operations. The sequence number itself does not represent any execution sequence. In addition, these processes may include more or fewer operations, and these operations may be performed sequentially or in parallel. It should be noted that the descriptions of "first" and "second" in this article are used to distinguish different messages, devices, modules, etc., and do not represent the order, nor limit "first" and "second". Are different types.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work fall within the protection scope of the present application.
本技术领域技术人员可以理解,这里所使用的“终端”、“终端设备”既包括无线信号接收器的设备,其仅具备无发射能力的无线信号接收器的设备,又包括接收和发射硬件的设备,其具有能够在双向通信链路上,执行双向通信的接收和发射硬件的设备。这种设备可以包括:蜂窝或其他通信设备,其具有单线路显示器或多线路显示器或没有多线路显示器的蜂窝或其他通信设备;PCS(Personal Communications Service,个人通信系统),其可以组合语音、数据处理、传真和/或数据通信能力;PDA(Personal Digital Assistant,个人数字助理),其可以包括射频接收器、寻呼机、互联网/内联网访问、网络浏览器、记事本、日历和/或GPS(Global Positioning System,全球定位系统)接收器;常规膝上型和/或掌上型计算机或其他设备,其具有和/或包括射频接收器的常规膝上型和/或掌上型计算机或其他设备。这里所使用的“终端”、“终端设备”可以是便携式、可运输、安装在交通工具(航空、海运和/或陆地)中的,或者适合于和/或配置为在本地运行,和/或以分布形式,运行在地球和/或空间的任何其他位置运行。这里所使用的“终端”、“终端设备”还可以是通信终端、上网终端、音乐/视频播放终端,例如可以是PDA、MID(Mobile Internet Device,移动互联网设备)和/或具有音乐/视频播放功能的移动电话,也可以是智能电视、机顶盒等设备。Those skilled in the art can understand that the term “terminal” and “terminal device” used here include not only devices with wireless signal receivers, but only devices with wireless signal receivers that do not have transmitting capabilities, but also devices that receive and transmit hardware. A device having a device capable of performing reception and transmission hardware of two-way communication on a two-way communication link. Such devices may include: cellular or other communication devices with single-line displays or multi-line displays or cellular or other communication devices without multi-line displays; PCS (Personal Communications Services), which can combine voice and data Processing, fax and / or data communication capabilities; PDA (Personal Digital Assistant), which can include radio frequency receivers, pagers, Internet / Intranet access, web browsers, notepads, calendars and / or GPS (Global Positioning System (Global Positioning System) receiver; conventional laptop and / or palmtop computer or other device that has and / or includes a conventional laptop and / or palmtop computer or other device of a radio frequency receiver. As used herein, "terminal" and "terminal equipment" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and / or terrestrial), or suitable and / or configured to operate locally, and / or In a distributed form, it operates at any other location on the earth and / or space. The "terminal" and "terminal device" used herein may also be a communication terminal, an Internet terminal, a music / video playback terminal, for example, may be a PDA, MID (Mobile Internet Device), and / or have music / video playback Functional mobile phones can also be smart TVs, set-top boxes and other devices.
请参阅图1,图1为本实施例中云端控制方法的基本流程示意图。Please refer to FIG. 1, which is a schematic diagram of a basic process of a cloud control method in this embodiment.
如图1所示,一种云端控制方法,包括下述步骤:As shown in Figure 1, a cloud control method includes the following steps:
S1100、获取业务端发送的建立定时任务的任务请求,其中,所述任务请求中包括所述定时任务执行的操作指令和定时任务的启动时间;S1100. Obtain a task request sent by a service end to establish a timed task, where the task request includes an operation instruction executed by the timed task and a start time of the timed task;
本实施方式中业务端能够是(不限于):服务器端、PC端和移动终端等计算机设备。In this embodiment, the service end can be (but not limited to): computer equipment such as a server end, a PC end, and a mobile terminal.
本实施方式中,业务端在新建定时任务时,将定时业务的启动时间,即定时任务开始执行的时间,和定时任务需要执行的操作指令发送至云端。云端在接受服务器端 发送的任务请求后,解析得到定时任务执行的操作指令和定时任务的启动时间。In this embodiment, when the service side newly creates a timed task, it sends the start time of the timed service, that is, the time when the timed task starts to be executed, and the operation instruction that the timed task needs to execute to the cloud. After receiving the task request sent by the server, the cloud parses and obtains the operation instruction executed by the scheduled task and the start time of the scheduled task.
例如,当业务端为服务器时,该服务器用于每晚20:00分接收用户终端的抽奖请求,因此,需要在每晚的20:00开放访问。为实现该定时开奖功能,业务端建立定时任务,定时任务的内容包括:任务启动的时间:20:00以及定时任务需要执行的操作指令:接收并响应抽奖请求。将上述信息集合后生成任务请求,发送至云端。云端接收请求信息后解析任务请求,得到定时任务执行的操作指令和定时任务的启动时间。需要指出的是,本实施例中的云端并非仅仅接收业务端的抽奖定时任务,而是根据具体应用场景的不同,能够接受任何计算机设备发送的任何形式的定时任务请求,例如,在一些选择性实施方式中,云端接收的任务请求能够是(不限于):终端发送的闹铃定时任务、服务器端发送的定时开启专用接口的定时任务、终端或者服务器发送的定时开关机任务或者终端发送的定时发送电子邮件的任务等等。For example, when the service end is a server, the server is used to receive the lottery request of the user terminal at 20:00 every night. Therefore, it is necessary to open access at 20:00 every night. In order to realize this timed lottery draw function, the business end establishes a timed task. The content of the timed task includes: task start time: 20:00 and the operation instruction that the timed task needs to perform: receive and respond to the lottery request. After collecting the above information, a task request is generated and sent to the cloud. After receiving the request information, the cloud analyzes the task request, and obtains the operation instruction executed by the scheduled task and the start time of the scheduled task. It should be pointed out that the cloud in this embodiment does not just receive the lottery timed task of the business end, but can accept any form of timed task request sent by any computer device according to different application scenarios, for example, in some selective implementations In the method, the task request received by the cloud can be (not limited to): an alarm timer task sent by the terminal, a timer task sent by the server to start the dedicated interface, a timer switch task sent by the terminal or server, or a timer send sent by the terminal Email tasks, etc.
操作指令是指定时任务需要执行的操作,根据具体应用场景的不同,操作指令能够是(不限于):开放设定权限、开放设定接口、开启闹铃应用程序、开关机或者发送邮件等。The operation instruction is the operation that the task needs to perform at the specified time. According to different specific application scenarios, the operation instruction can be (not limited to): open setting authority, open setting interface, opening the alarm application, turning on or off the email, etc.
S1200、根据所述任务请求建立延时提醒任务;S1200. Establish a delayed reminder task according to the task request;
云端在接收到业务端发送的任务请求后,解析该任务请求获取到定时任务的操作指令和定时任务的启动时间。根据该启动时间云端建立延时提醒任务。After receiving the task request sent by the service end, the cloud parses the task request to obtain the operation instruction of the scheduled task and the start time of the scheduled task. Based on the start time, the cloud creates a delayed reminder task.
延时提醒任务是指,云端获取当前时刻的时间信息,计算定时任务的启动时间距离当前时刻的时间差值,并将该时间差值作为延时任务的延时时长。例如,云端在16:00接收到任务请求,该定时人物的启动时间为20:00。云端计算得到二者之间的时间差值为4小时,则建立一个延时任务,延时任务的延时时间为4小时。当延时任务归零时,云端向对应的业务端发送包括定时任务的操作指令在内的控制指令。The delay reminder task means that the cloud obtains the time information of the current time, calculates the time difference between the start time of the scheduled task and the current time, and uses the time difference as the delay time of the delay task. For example, the cloud receives the task request at 16:00, and the start time of the timed character is 20:00. After the cloud calculates that the time difference between the two is 4 hours, a delay task is created, and the delay time of the delay task is 4 hours. When the delay task returns to zero, the cloud sends control instructions including the operation instructions of the timed task to the corresponding business end.
S1300、当所述延时提醒任务达成时,向所述业务端发送预设的第一指令,以使所述业务端根据所述第一指令执行所述操作指令。S1300. When the delay reminder task is completed, send a preset first instruction to the service end, so that the service end executes the operation instruction according to the first instruction.
当延时任务归零时,云端向该任务请求发起方的业务端发送预设的第一指令。其中,第一指令包括定时任务确定的业务端需要进行的操作指令,操作指令能够是(不限于):开放设定权限、开放设定接口、开启闹铃应用程序、开关机或者发送邮件等。且业务端在接收到该第一指令后必须立即执行第一指令中包括的操作指令,以此达到通过云端集中管理定时任务的目标。When the delayed task returns to zero, the cloud sends the preset first instruction to the business end of the task request initiator. Wherein, the first instruction includes an operation instruction to be performed by the service end determined by the timing task, and the operation instruction can be (not limited to): open setting authority, open setting interface, opening an alarm application, turning on or off an email, etc. And after receiving the first instruction, the service end must immediately execute the operation instruction included in the first instruction, so as to achieve the goal of centralized management of the timed task through the cloud.
上述实施方式通过接受各个业务端发送的定时任务,根据定时任务的启动时间和对应的操作指令,在云端建立独立的定时任务管控系统。能够对所有的定时任务进行监管,当定时任务的条件达成时,即延时提醒任务归零后,将预设的第一指令发送至 对应的业务端,第一指令中由于包括业务端需要定时执行的操作指令,因此,业务端在接收到该第一指令后,经过解析后执行该操作指令,以此实现了定时任务的云端控制,降低了各业务端对定时任务的监控成本,同时也降低了对业务端的任务负担,释放了更多的算力,以提高业务端的响应速度和业务承载量。The foregoing embodiment establishes an independent timing task management and control system in the cloud by accepting the timing tasks sent by each service end, and according to the start time of the timing task and the corresponding operation instruction. Can supervise all the timed tasks. When the conditions of the timed tasks are met, that is, after the delay reminder task is reset to zero, the preset first instruction is sent to the corresponding business end. The first instruction includes timing due to the business end. The operation instruction is executed. Therefore, after receiving the first instruction, the business end executes the operation instruction after parsing, so as to realize the cloud control of the timing task, reduce the monitoring cost of each business end for the timing task, and It reduces the task burden on the business side and releases more computing power to improve the response speed and business capacity of the business side.
在一些实施方式中,当云端接收到大量的定时任务请求时(例如,数量级为百万级的任务请求),需要根据不同的时刻建立一个任务进程。该任务进程为根据不同的延时提醒任务,在同一时刻或者一段时间内向多个业务端发送设定的操作指令。请参阅图2,图2为本实施例将多个延时提醒任务分配至一个任务进程的流程示意图。In some embodiments, when the cloud receives a large number of timed task requests (for example, task requests in the order of millions), a task process needs to be established according to different moments. The task process is to send a set operation instruction to multiple service terminals at the same time or within a period of time according to different delay reminding tasks. Please refer to FIG. 2, which is a schematic flowchart of assigning multiple delay reminder tasks to a task process in this embodiment.
如图2所示,步骤S1200还包括下述步骤:As shown in FIG. 2, step S1200 also includes the following steps:
S1211、以所述启动时间为限定条件对所述多个任务请求进行分类;S1211: Classify the multiple task requests with the start time as a limiting condition;
云端在获取多个任务请求后,经过解析获取各个任务请求中包含的定时任务启动时间,然后以定时任务的启动时间为限定条件对上述多个任务请求进行分类。分类的类目为不同的启动时间。After acquiring multiple task requests, the cloud analyzes and obtains the start time of the scheduled task included in each task request, and then classifies the multiple task requests with the start time of the scheduled task as a limiting condition. The classified categories are different start-up times.
S1212、将同属于一个启动时间的任务请求所对应的延时提醒任务分配至同一任务进程执行。S1212: Assign the delay reminder task corresponding to the task request that belongs to the same start time to the same task process for execution.
通过分类结果进行延时提醒任务的建立,建立延时提醒任务的方式为根据启动时间的先后顺序建立任务进程。任务进程在本实施例中是指,云端在同一时刻执行一次发送多个第一指令的执行活动。The delayed reminder task is established through the classification results, and the method for establishing the delayed reminder task is to establish the task process according to the sequence of the startup time. In this embodiment, the task process refers to that the cloud executes execution activities of sending multiple first instructions at a time at the same time.
本实施方式中,将同属于一个启动时间内的求任务所对应的延时提醒任务分配至同一任务进程执行。举例说明,经过统计得到在20:00时刻要启动的任务请求包括8个,建立任务时,将该8个任务建立在一个任务进程中,当20:00这一时刻来临时,该任务进程执行的结果是,在一个短暂的时间内(例如1秒),分别向8个业务端发送第一指令。In this embodiment, the delay reminder task corresponding to the request task within the same start time is allocated to the same task process for execution. For example, statistics show that there are 8 task requests to be started at 20:00. When the task is created, the 8 tasks are established in a task process. When this time comes at 20:00, the task process is executed. The result is that within a short period of time (for example, 1 second), the first instructions are sent to the eight service ends respectively.
通过将在同一时刻进行的延时提醒任务放置在一个任务进程中进行执行,减少了任务进程,同时,通过进程执行发送任务也提高了任务发送的速度。By placing the delayed reminder tasks performed at the same moment in a task process for execution, the task process is reduced, and at the same time, the execution of the task through the process also increases the speed of task sending.
在一些实施方式中,云端能够进行多进程计算,即在一个任务进程中包括多个能够执行任务的任务线程,每个任务线程均对应执行一个延时提醒任务。由于,在同一任务进程中的多个任务线程线性排列,即线程执行的具有先后顺序,线程与线程之间的时间间隔很小,(例如0.01s)。但为进一步地,提高云端对各业务端的区分管理,在进行任务线程时,根据执行操作指令后的访问量进行排序。请参阅图3,图3为本实施例通过操作指令执行后的访问量进行进程排序的流程示意图。In some embodiments, the cloud can perform multi-process calculation, that is, a task process includes multiple task threads capable of executing tasks, and each task thread corresponds to executing a delay reminder task. Since multiple task threads in the same task process are arranged linearly, that is, the threads execute in a sequential order, the time interval between threads is very small (for example, 0.01s). However, in order to further improve the differentiated management of each business end in the cloud, when performing task threads, it is sorted according to the access volume after executing the operation instruction. Please refer to FIG. 3, which is a schematic flowchart of process sequencing according to the access volume after the operation instruction is executed in this embodiment.
如图3所示,步骤S1212之后还包括下述步骤:As shown in FIG. 3, the following steps are also included after step S1212:
S1221、获取各提醒任务对应的操作指令的访问量;S1221: Obtain the access volume of operation instructions corresponding to each reminder task;
云端在获取到各个任务请求后,向各业务端发送信息,获取各个业务端在执行了对应的操作指令后的业务访问量。例如,当业务端为服务器端,该服务器端定时执行的操作指令为:开放登录接口。根据历史信息获取到该业务端历次开放该登录接口后的平均访问量(XX次/秒)。根据上述方式得到各个操作指令为业务端执行后的平均访问量。根据具体应用场景的不同访问量不仅仅为平均访问量,在一些实施方式中,访问量能够是峰值访问量。After acquiring each task request, the cloud sends information to each business end to obtain the business access volume of each business end after executing the corresponding operation instruction. For example, when the service side is a server side, the operation command regularly executed by the server side is: open a login interface. According to the historical information, the average access volume (XX times / second) of the service terminal after opening the login interface is obtained. According to the above method, the average access volume after each operation instruction is executed by the service end is obtained. Different visits according to specific application scenarios are not only average visits, in some embodiments, the visits can be peak visits.
S1222、以所述访问量为限定条件对所述多个任务请求进行排序生成排序列表;S1222: Sort the multiple task requests by using the access amount as a limiting condition to generate a sorted list;
根据获取到的各个操作指令的执行访问量后,以访问量为限定条件将多个任务请求进行升幂排序并生成排序列表。使每个任务请求均对应一个排列序号。According to the acquired execution access volume of each operation instruction, the task requests are sorted in ascending order with the access volume as a limiting condition and a sorted list is generated. Make each task request correspond to a sequence number.
S1223、确认各任务请求在所述排序列表中的排列次序为各任务请求对应的任务线程在所述任务进程中的排列次序。S1223. Confirm that the order of the task requests in the sorted list is the order of the task threads corresponding to the task requests in the task process.
在确认了排序列表后,根据各个任务请求对应的排列序号,确定各个任务请求对应的延时提醒任务在任务进程中的次序。具体地,将排列在第一位的延时提醒任务作为第一个任务线程执行的任务,依次类推,排序列表中最后一位延时提醒任务对应最后一个任务线程。After confirming the sorted list, the order of the delay reminder tasks corresponding to each task request in the task process is determined according to the sequence number corresponding to each task request. Specifically, the delayed reminder task ranked first is regarded as the task executed by the first task thread, and so on. The last delayed reminder task in the sorted list corresponds to the last task thread.
由于,计算机任务队列中遵循堆栈原理,即任务执行次序为“先进后出”,因此,位于最后一个任务线程的延时提醒任务在启动时间最先被发出,依次类推,排列在第一位的任务线程执行的操作指令被最后发出。由于,发送时间越早能够接受访问的时间就越提前,进而能够分散访问量,降低由于访问峰值过大导致服务器端堵塞宕机的几率。Because the stack principle is followed in the computer task queue, that is, the order of task execution is "first-in-first-out", therefore, the delay reminder task located in the last task thread is sent out first at the start time, and so on, ranking first The operation instruction executed by the task thread is finally issued. Because the earlier the sending time is, the earlier the time for accepting the access can be, thereby dispersing the amount of access and reducing the chance of server-side congestion and downtime due to excessive access peaks.
在一些实施方式中,同一个服务端向云端发送多个任务请求,且多个任务请求中操作指令的执行时间存在交集时,需要计算多个任务请求表征的操作指令执行后的访问累加量是否超过业务端的处理峰值,超过时云端需要向业务端发送警示信息。请参阅图4,图4为本实施例根据预测访问量进行预警的流程示意图。In some embodiments, when the same server sends multiple task requests to the cloud, and there is an intersection of the execution time of the operation instructions in the multiple task requests, it is necessary to calculate whether the accumulated amount of access after the execution of the operation instructions characterized by the multiple task requests Exceed the processing peak of the business end, and the cloud needs to send warning information to the business end when it exceeds. Please refer to FIG. 4, which is a schematic diagram of an early warning process according to the predicted traffic in this embodiment.
如图4所示,步骤步骤S1200之前还包括下述步骤:As shown in FIG. 4, before step S1200, the following steps are also included:
S1111、以所述启动时间为限定条件对所述多个任务请求进行统计;S1111: Perform statistics on the multiple task requests using the start time as a limiting condition;
云端在获取同一业务端发送的多个任务请求后,经过解析获取各个任务请求中包含的定时任务启动时间,然后以定时任务的启动时间为限定条件对上述多个任务请求进行分类。分类的类目为不同的启动时间。After obtaining multiple task requests sent by the same service end, the cloud analyzes and obtains the start time of the scheduled task included in each task request, and then classifies the multiple task requests with the start time of the scheduled task as a limiting condition. The classified categories are different start-up times.
S1112、当多个任务请求的启动时间相同时,获取各任务请求对应的操作指令的访问量;S1112. When the start time of multiple task requests is the same, obtain the access amount of the operation instruction corresponding to each task request;
通过统计得到,在同一业务端上传的任务请求中,有多个任务请求的启动时间相同。则云端在获取到各个任务请求后,向业务端发送信息,获取业务端在执行对应的操作指令后的业务访问量。例如,当业务端为服务器端,该服务器端定时执行的操作指令为:开放登录接口。根据历史信息获取到该业务端历次开放该登录接口后的平均访问量(XX次/秒)。根据上述方式得到各个操作指令为业务端执行后的平均访问量。根据具体应用场景的不同访问量不仅仅为平均访问量,在一些实施方式中,访问量能够是峰值访问量。According to statistics, among the task requests uploaded by the same service end, multiple task requests have the same start time. Then, after acquiring each task request, the cloud sends information to the business end to obtain the business access volume of the business end after executing the corresponding operation instruction. For example, when the service side is a server side, the operation command regularly executed by the server side is: open a login interface. According to the historical information, the average access volume (XX times / second) of the service terminal after opening the login interface is obtained. According to the above method, the average access volume after each operation instruction is executed by the service end is obtained. Different visits according to specific application scenarios are not only average visits, in some embodiments, the visits can be peak visits.
S1113、计算多个操作指令的访问量之和,并将计算得到的访问量之和与预设的访问阈值进行比对;S1113. Calculate the sum of the access volume of multiple operation instructions, and compare the calculated sum of the access volume with the preset access threshold;
根据历史信息获取到各个操作指令执行后的业务访问量后,将同一业务端上传的具有相同的启动时间的多个操作指令的访问量进行累加,得到访问量之和,然后将访问量之和与预设的访问阈值进行比较。访问阈值是指各个业务端能够处理的访问量的上限值,因此,根据各个业务端的型号和配置不同,访问阈值的也随之变化。在一些实施方式中,访问阈值由云端向对应的业务端发送获取请求后得到。After obtaining the business visits after the execution of each operation instruction based on historical information, the visits of multiple operation instructions with the same start time uploaded by the same business end are accumulated to obtain the sum of the visits, and then the sum Compare with preset access threshold. The access threshold refers to the upper limit of the amount of access that each service can handle. Therefore, depending on the model and configuration of each service, the access threshold changes accordingly. In some embodiments, the access threshold is obtained after the cloud sends an acquisition request to the corresponding service end.
S1114、当所述访问量之和大于所述访问阈值时,向所述业务端发送警示信息。S1114: When the sum of the visits is greater than the visit threshold, send warning information to the service end.
当访问量之和大于访问阈值时,云端向业务端发送警示信息。警示信息包括提醒业务端在多个操作指令被同时执行时,访问量造成的高并发量已经超过服务端的额定访问阈值,并提示业务端可以缩减该时刻的定时任务,或者调整定时任务的启动时间,以错开访问高并发时间段,实现算力资源的合理利用。When the sum of visits is greater than the access threshold, the cloud sends warning information to the business. The warning information includes reminding the business end that when multiple operation instructions are executed at the same time, the high concurrency caused by the access has exceeded the rated access threshold of the server, and prompting the business end to reduce the scheduled task at this time or adjust the start time of the scheduled task , In order to stagger access to high concurrency time periods, to achieve a reasonable utilization of computing power resources.
在一些选择性实施例中,业务端的不同操作指令具有设定的优先级,当计算得到的访问量之和大于预设的访问阈值后,通过优先级决定哪些操作指令需要执行,哪些不需要进行执行。请参阅图5,图5为根据优先级确定可执行操作指令的流程示意图。In some optional embodiments, different operation instructions of the service end have a set priority. When the sum of the calculated access volume is greater than the preset access threshold, the priority determines which operation instructions need to be executed and which need not be performed. carried out. Please refer to FIG. 5, which is a schematic flowchart of determining an executable operation instruction according to priority.
如图5所示,步骤S1114之后还包括下述步骤:As shown in FIG. 5, after step S1114, the following steps are also included:
S1121、获取各操作指令的执行优先级;S1121: Obtain the execution priority of each operation instruction;
云端在计算得到操作指令被执行后的访问量之和大于设定的访问阈值后,向业务端发送获取各定时执行的操作指令的优先级别。以此,获取各个操作指令的优先级登记。After calculating that the sum of the visits after the execution of the operation instruction is greater than the set access threshold, the cloud sends the service end to obtain the priority level of each regularly executed operation instruction. In this way, the priority registration of each operation instruction is acquired.
S1122、根据所述优先级对所述多个任务请求进行排序;S1122: Sort the multiple task requests according to the priority;
获取优先级后,根据优先级对多个任务请求进行降幂排序。排序时优先级相同的任务请求的通过接受该任务请求的时间进行同级排序。After obtaining the priority, the multiple task requests are sorted in descending order according to the priority. When sorting, task requests with the same priority are sorted at the same level by the time when the task request is accepted.
S1123、根据预设的流量计算模型按排序次序对所述多个任务请求的访问量进行累加;S1123: Accumulate the visits requested by the multiple tasks in a sorted order according to a preset flow calculation model;
根据设定的流量计算模型按降幂排序的次序,对各次序表征的操作指令的访问量进行依次累加。According to the set flow calculation model in descending power sorting order, the access volume of the operation instructions represented by each order is accumulated in sequence.
其中,流量计算模型的特征描述为:Among them, the characteristics of the flow calculation model are described as:
Figure PCTCN2018125111-appb-000001
Figure PCTCN2018125111-appb-000001
其中,S表示为累加流量和;Y表示为预设的访问阈值;B表示为各任务请求所表征的访问量;n表示为各任务请求的排列次序。Among them, S represents the cumulative traffic sum; Y represents the preset access threshold; B represents the access volume characterized by each task request; n represents the order of each task request.
由上述模型公式能够得知,累加流量和要小于等于设定的访问阈值。当累计加结果大于访问阈值时,则表示超量需要退回至上一步,该步骤算出的累加值之和为最终的值。参与计算该值的访问量表征的任务请求能够建立延时提醒任务。It can be known from the above model formula that the accumulated traffic sum is less than or equal to the set access threshold. When the cumulative addition result is greater than the access threshold, it means that the excess needs to be returned to the previous step, and the sum of the accumulated values calculated in this step is the final value. Task requests characterized by the number of visits involved in calculating this value can establish a delayed reminder task.
S1124、当累计结果大于和等于所述访问阈值时,禁止执行未进行累加计算的任务请求所表征的延时提醒任务。S1124. When the accumulated result is greater than and equal to the access threshold, it is prohibited to execute the delayed reminder task characterized by the task request that does not perform the cumulative calculation.
当累计结果大于和等于访问阈值时,云端禁止执行未进行累加计算的任务请求所表征的延时提醒任务。以此,实现通过优先级和访问量双变量对任务请求的筛选,实现了高并发控制,提高了对服务端算力的调度能力。When the accumulated result is greater than and equal to the access threshold, the cloud prohibits execution of the delayed reminder task characterized by the task request that does not perform the cumulative calculation. In this way, the task request is screened through the dual variables of priority and access, high concurrency control is achieved, and the scheduling power of the server's computing power is improved.
在一些实施方式中,云端还能够作为操作指令的执行方,即服务端将定时任务发送给云端后,将定时任务的执行也给与云端进行执行。然后,由云端返回最终的计算结果至业务端即可。请参阅图6,图6为本实施例云端算力分配的流程示意图。In some embodiments, the cloud can also be used as the execution party of the operation instruction, that is, after the server sends the scheduled task to the cloud, the execution of the scheduled task can also be performed by the cloud. Then, the final calculation result is returned from the cloud to the business side. Please refer to FIG. 6, which is a schematic flowchart of cloud computing power distribution in this embodiment.
如图6所示,步骤S1300之后还包括下述步骤:As shown in FIG. 6, after step S1300, the following steps are also included:
S1311、获取所述操作指令运行所需的算力;S1311: Obtain the computing power required for the operation of the operation instruction;
获取各个延时提醒任务中的操作指令执行所需要的算力。算力是指需要处理器的运算能力,云端包括多个处理器,多个处理器能够单独进行工作也能够分别执行同一任务的不同步骤。因此,需要云端运行某个操作指令时,需要根据操作指令所需的算力进行处理器的分配。Obtain the computing power required to execute the operation instructions in each delay reminder task. Computing power refers to the computing power that requires a processor. The cloud includes multiple processors, which can work independently or perform different steps of the same task separately. Therefore, when an operation instruction needs to be run in the cloud, the processor needs to be allocated according to the computing power required by the operation instruction.
操作指令所需的算力能够通过历史记录统计的到。也能够直接向对应的业务端发送请求信息后得到。The computing power required for operating instructions can be obtained through historical records. It can also be obtained by directly sending request information to the corresponding service end.
S1312、在所述延时提醒任务达成时分配与所述算力具有映射关系的处理器,以在所述云端执行所述操作指令。S1312: Assign a processor having a mapping relationship with the computing power when the delayed reminder task is completed, so as to execute the operation instruction in the cloud.
当某个延时提醒任务计时清零后,延时提醒任务达成,需要通过算力计算得到执行该操作指令的处理器。然后将对应的处理器分配执行该操作指令,执行完毕后,将操作指令发送至业务端。When a delay reminder task is cleared to zero, the delay reminder task is reached, and a processor that executes the operation instruction needs to be obtained through calculation of computing power. Then the corresponding processor is allocated to execute the operation instruction, and after the execution is completed, the operation instruction is sent to the service end.
为解决上述技术问题,本申请实施例还提供一种云端控制装置。To solve the above technical problems, embodiments of the present application also provide a cloud control device.
请参阅图7,图7为本实施例云端控制装置的基本结构示意图。Please refer to FIG. 7, which is a schematic structural diagram of a cloud control device according to this embodiment.
如图7所示,一种云端控制装置,包括下述步骤:获取模块2100、处理模块2200和执行模块2300。其中,获取模块2100用于获取业务端发送的建立定时任务的任务请求,其中,任务请求中包括定时任务执行的操作指令和定时任务的启动时间;处理模块2200用于根据任务请求建立延时提醒任务;执行模块2300用于当延时提醒任务达成时,向业务端发送预设的第一指令,以使业务端根据第一指令执行操作指令。As shown in FIG. 7, a cloud control device includes the following steps: an acquisition module 2100, a processing module 2200, and an execution module 2300. Among them, the obtaining module 2100 is used to obtain a task request sent by the service end to establish a timed task, wherein the task request includes an operation instruction executed by the timed task and a start time of the timed task; the processing module 2200 is used to establish a delay reminder according to the task request Task; the execution module 2300 is used to send a preset first instruction to the business end when the delay reminder task is completed, so that the business end executes the operation instruction according to the first instruction.
云端控制装置通过接受各个业务端发送的定时任务,根据定时任务的启动时间和对应的操作指令,在云端建立独立的定时任务管控系统。能够对所有的定时任务进行监管,当定时任务的条件达成时,即延时提醒任务归零后,将预设的第一指令发送至对应的业务端,第一指令中由于包括业务端需要定时执行的操作指令,因此,业务端在接收到该第一指令后,经过解析后执行该操作指令,以此实现了定时任务的云端控制,降低了各业务端对定时任务的监控成本,同时也降低了对业务端的任务负担,释放了更多的算力,以提高业务端的响应速度和业务承载量。The cloud control device establishes an independent timing task management and control system in the cloud by accepting the timing tasks sent by each business end, and according to the start time of the timing tasks and the corresponding operation instructions. Can supervise all the timed tasks. When the conditions of the timed tasks are met, that is, after the delay reminder task is reset to zero, the preset first instruction is sent to the corresponding business end. The first instruction includes timing due to the business end. The operation instruction is executed. Therefore, after receiving the first instruction, the business end executes the operation instruction after parsing, so as to realize the cloud control of the timing task, reduce the monitoring cost of each business end for the timing task, and also It reduces the task burden on the business side and releases more computing power to improve the response speed and business capacity of the business side.
在一些选择性实施例中,云端控制装置还包括:第一处理子模块和第一执行子模块。其中,第一处理子模块用于以启动时间为限定条件对多个任务请求进行分类;第一执行子模块用于将同属于一个启动时间的任务请求所对应的延时提醒任务分配至同一任务进程执行。In some optional embodiments, the cloud control device further includes: a first processing submodule and a first execution submodule. Among them, the first processing sub-module is used to classify multiple task requests with the start time as a limiting condition; the first execution sub-module is used to allocate the delay reminder task corresponding to the task request that belongs to the same start time to the same task Process execution.
在一些选择性实施例中,任务进程包括多个任务线程,各任务线程对应一个延时提醒任务;云端控制装置还包括:第一获取子模块、第二处理子模块和第二执行子模块。其中,第一获取子模块用于获取各提醒任务对应的操作指令的访问量;第二处理子模块用于以访问量为限定条件对多个任务请求进行排序生成排序列表;第二执行子模块用于确认各任务请求在排序列表中的排列次序为各任务请求对应的任务线程在任务进程中的排列次序。In some optional embodiments, the task process includes multiple task threads, and each task thread corresponds to a delay reminder task; the cloud control device further includes: a first acquisition submodule, a second processing submodule, and a second execution submodule. Among them, the first obtaining sub-module is used to obtain the access amount of the operation instruction corresponding to each reminder task; the second processing sub-module is used to sort the multiple task requests with the access amount as a limiting condition to generate a sorted list; the second execution sub-module It is used to confirm that the order of each task request in the sorting list is the order of the task thread corresponding to each task request in the task process.
在一些选择性实施例中,当同一业务端发送多个任务请求时;云端控制装置还包括:第一统计子模块、第三处理子模块、第一计算子模块和第三执行子模块。其中,第一统计子模块用于以启动时间为限定条件对多个任务请求进行统计;第三处理子模块用于当多个任务请求的启动时间相同时,获取各任务请求对应的操作指令的访问量;第一计算子模块用于计算多个操作指令的访问量之和,并将计算得到的访问量之和与预设的访问阈值进行比对;第三执行子模块用于当访问量之和大于访问阈值时,向业务端发送警示信息。In some optional embodiments, when the same service end sends multiple task requests; the cloud control device further includes: a first statistics submodule, a third processing submodule, a first calculation submodule, and a third execution submodule. Among them, the first statistics sub-module is used to count multiple task requests with the start time as the limiting condition; the third processing sub-module is used to obtain the operation instructions corresponding to each task request when the start time of the multiple task requests is the same Access volume; the first calculation sub-module is used to calculate the sum of the access volume of multiple operation instructions, and the calculated sum of the access volume is compared with the preset access threshold; the third execution sub-module is used as the access volume When the sum is greater than the access threshold, warning information is sent to the business side.
在一些选择性实施例中,云端控制装置还包括:第二获取子模块、第一排序子模块、第四处理子模块和第四执行子模块。其中,第二获取子模块用于获取各操作指令 的执行优先级;第一排序子模块用于根据优先级对多个任务请求进行排序;第四处理子模块用于根据预设的流量计算模型按排序次序对多个任务请求的访问量进行累加;第四执行子模块用于当累计结果大于和等于访问阈值时,禁止执行未进行累加计算的任务请求所表征的延时提醒任务。In some optional embodiments, the cloud control device further includes: a second acquisition submodule, a first sorting submodule, a fourth processing submodule, and a fourth execution submodule. Among them, the second obtaining sub-module is used to obtain the execution priority of each operation instruction; the first sorting sub-module is used to sort the multiple task requests according to the priority; the fourth processing sub-module is used to calculate the model according to the preset flow Accumulate the access volume of multiple task requests in sorted order; the fourth execution sub-module is used to prohibit execution of the delay reminder task characterized by the task request that does not perform the cumulative calculation when the accumulated result is greater than or equal to the access threshold.
在一些选择性实施例中,流量计算模型的特征描述为:In some optional embodiments, the characteristics of the flow calculation model are described as:
Figure PCTCN2018125111-appb-000002
Figure PCTCN2018125111-appb-000002
其中,S表示为累加流量和;Y表示为预设的访问阈值;B表示为各任务请求所表征的访问量;n表示为各任务请求的排列次序。Among them, S represents the cumulative traffic sum; Y represents the preset access threshold; B represents the access volume characterized by each task request; n represents the order of each task request.
在一些选择性实施例中,云端控制装置还包括:第三获取子模块和第五处理子模块。其中,第三获取子模块用于获取操作指令运行所需的算力;第五处理子模块用于在延时提醒任务达成时分配与算力具有映射关系的处理器,以在云端执行操作指令。In some optional embodiments, the cloud control device further includes: a third acquisition submodule and a fifth processing submodule. Among them, the third obtaining sub-module is used to obtain the computing power required for the operation instruction to operate; the fifth processing sub-module is used to allocate a processor having a mapping relationship with the computing power when the delay reminder task is completed, so as to execute the operating instruction in the cloud .
为解决上述技术问题,本申请实施例还提供计算机设备。具体请参阅图8,图8为本实施例计算机设备基本结构框图。To solve the above technical problems, embodiments of the present application also provide computer equipment. Please refer to FIG. 8 for details. FIG. 8 is a block diagram of the basic structure of the computer device of this embodiment.
如图8所示,计算机设备的内部结构示意图。该计算机设备包括通过系统总线连接的处理器、非易失性存储介质、存储器和网络接口。其中,该计算机设备的非易失性存储介质存储有操作系统、数据库和计算机可读指令,数据库中可存储有控件信息序列,该计算机可读指令被处理器执行时,可使得处理器实现一种云端控制方法。该计算机设备的处理器用于提供计算和控制能力,支撑整个计算机设备的运行。该计算机设备的存储器中可存储有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行一种云端控制方法。该计算机设备的网络接口用于与终端连接通信。本领域技术人员可以理解,图8中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。As shown in FIG. 8, a schematic diagram of the internal structure of the computer device. The computer device includes a processor, a non-volatile storage medium, a memory, and a network interface connected through a system bus. The non-volatile storage medium of the computer device stores an operating system, a database, and computer-readable instructions. The database may store a sequence of control information. When the computer-readable instructions are executed by the processor, the processor may implement a A cloud control method. The processor of the computer device is used to provide computing and control capabilities, and support the operation of the entire computer device. The memory of the computer device may store computer readable instructions. When the computer readable instructions are executed by the processor, the processor may cause the processor to execute a cloud control method. The network interface of the computer device is used to connect and communicate with the terminal. Those skilled in the art may understand that the structure shown in FIG. 8 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. The specific computer equipment may Include more or less components than shown in the figure, or combine certain components, or have a different arrangement of components.
本实施方式中处理器用于执行图7中获取模块2100、处理模块2200和执行模块2300的具体功能,存储器存储有执行上述模块所需的程序代码和各类数据。网络接口用于向用户终端或服务器之间的数据传输。本实施方式中的存储器存储有人脸图像关键点检测装置中执行所有子模块所需的程序代码及数据,服务器能够调用服务器的程序代码及数据执行所有子模块的功能。In this embodiment, the processor is used to perform specific functions of the acquisition module 2100, the processing module 2200, and the execution module 2300 in FIG. 7, and the memory stores program codes and various types of data required to execute the above modules. The network interface is used for data transmission to user terminals or servers. The memory in this embodiment stores the program codes and data required to execute all submodules in the face image key point detection device, and the server can call the server program codes and data to execute the functions of all submodules.
计算机设备通过接受各个业务端发送的定时任务,根据定时任务的启动时间和对应的操作指令,在云端建立独立的定时任务管控系统。能够对所有的定时任务进行监 管,当定时任务的条件达成时,即延时提醒任务归零后,将预设的第一指令发送至对应的业务端,第一指令中由于包括业务端需要定时执行的操作指令,因此,业务端在接收到该第一指令后,经过解析后执行该操作指令,以此实现了定时任务的云端控制,降低了各业务端对定时任务的监控成本,同时也降低了对业务端的任务负担,释放了更多的算力,以提高业务端的响应速度和业务承载量。The computer equipment establishes an independent timing task management and control system in the cloud by accepting the timing tasks sent by each business end, and according to the start time of the timing tasks and the corresponding operation instructions. Can supervise all the timed tasks. When the conditions of the timed tasks are met, that is, after the delay reminder task is reset to zero, the preset first instruction is sent to the corresponding business end. The first instruction includes timing due to the business end. The operation instruction is executed. Therefore, after receiving the first instruction, the business end executes the operation instruction after parsing, so as to realize the cloud control of the timing task, reduce the monitoring cost of each business end for the timing task, and also It reduces the task burden on the business side and releases more computing power to improve the response speed and business capacity of the business side.
本申请还提供一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述任一实施例所述云端控制方法的步骤。The present application also provides a storage medium storing computer-readable instructions, which when executed by one or more processors, cause the one or more processors to perform the cloud control method according to any of the foregoing embodiments A step of.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。A person of ordinary skill in the art may understand that all or part of the processes in the method of the foregoing embodiments may be completed by instructing relevant hardware through a computer program. The computer program may be stored in a computer-readable storage medium, When executed, it may include the processes of the foregoing method embodiments. The aforementioned storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowchart of the drawings are displayed in order according to the arrows, the steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this article, there is no strict order limitation for the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the order of execution is also It is not necessarily carried out sequentially, but may be executed in turn or alternately with at least a part of other steps or sub-steps or stages of other steps.

Claims (20)

  1. 一种云端控制方法,包括下述步骤:A cloud control method includes the following steps:
    获取业务端发送的建立定时任务的任务请求,其中,所述任务请求中包括所述定时任务执行的操作指令和定时任务的启动时间;Obtain a task request for establishing a timed task sent by a service end, where the task request includes an operation instruction executed by the timed task and a start time of the timed task;
    根据所述任务请求建立延时提醒任务;Establishing a delayed reminder task according to the task request;
    当所述延时提醒任务达成时,向所述业务端发送预设的第一指令,以使所述业务端根据所述第一指令执行所述操作指令。When the delay reminder task is completed, a preset first instruction is sent to the service end, so that the service end executes the operation instruction according to the first instruction.
  2. 根据权利要求1所述的云端控制方法,当有多个任务请求时;所述根据所述任务请求建立延时提醒任务的步骤,还包括下述步骤:The cloud control method according to claim 1, when there are multiple task requests; the step of establishing a delayed reminder task according to the task request further comprises the following steps:
    以所述启动时间为限定条件对所述多个任务请求进行分类;Classify the multiple task requests with the start time as a limiting condition;
    将同属于一个启动时间的任务请求所对应的延时提醒任务分配至同一任务进程执行。Assign the delayed reminder task corresponding to the task request that belongs to the same start time to the same task process for execution.
  3. 根据权利要求2所述的云端控制方法,所述任务进程包括多个任务线程,各任务线程对应一个延时提醒任务;所述将同属于一个启动时间的任务请求所对应的延时提醒任务分配至同一任务进程执行的步骤,还包括下述步骤:The cloud control method according to claim 2, wherein the task process includes a plurality of task threads, each task thread corresponds to a delayed reminder task; the delayed reminder task corresponding to a task request belonging to the same start time is allocated The steps to the same task process also include the following steps:
    获取各提醒任务对应的操作指令的访问量;Get the number of visits to the operation instructions corresponding to each reminder task;
    以所述访问量为限定条件对所述多个任务请求进行排序生成排序列表;Sorting the multiple task requests with the access amount as a limiting condition to generate a sorted list;
    确认各任务请求在所述排序列表中的排列次序为各任务请求对应的任务线程在所述任务进程中的排列次序。Confirm that the order of the task requests in the sorted list is the order of the task threads corresponding to the task requests in the task process.
  4. 根据权利要求1所述的云端控制方法,当同一业务端发送多个任务请求时;所述根据所述任务请求建立延时提醒任务的步骤之前,还包括下述步骤:The cloud control method according to claim 1, when the same service end sends multiple task requests; before the step of establishing a delayed reminder task according to the task request, the method further includes the following steps:
    以所述启动时间为限定条件对所述多个任务请求进行统计;Statistics on the multiple task requests with the start time as a limiting condition;
    当多个任务请求的启动时间相同时,获取各任务请求对应的操作指令的访问量;When the start time of multiple task requests is the same, the access amount of the operation instruction corresponding to each task request is obtained;
    计算多个操作指令的访问量之和,并将计算得到的访问量之和与预设的访问阈值进行比对;Calculate the sum of the access volume of multiple operation instructions, and compare the calculated sum of the access volume with the preset access threshold;
    当所述访问量之和大于所述访问阈值时,向所述业务端发送警示信息。When the sum of the visits is greater than the visit threshold, warning information is sent to the service end.
  5. 根据权利要求4所述的云端控制方法,所述当所述访问量之和大于所述访问阈值时,向所述业务端发送警示信息之后,还包括下述步骤:The cloud control method according to claim 4, wherein after sending the warning information to the service end when the sum of the visits is greater than the access threshold, the method further includes the following steps:
    获取各操作指令的执行优先级;Obtain the execution priority of each operation instruction;
    根据所述优先级对所述多个任务请求进行排序;Sort the multiple task requests according to the priority;
    根据预设的流量计算模型按排序次序对所述多个任务请求的访问量进行累加;Accumulate the number of visits requested by the multiple tasks in a sorted order according to a preset flow calculation model;
    当累计结果大于和等于所述访问阈值时,禁止执行未进行累加计算的任务请求所表征的延时提醒任务。When the accumulated result is greater than and equal to the access threshold, it is prohibited to execute the delayed reminder task characterized by the task request that does not perform the accumulation calculation.
  6. 根据权利要求5所述的云端控制方法,所述流量计算模型的特征描述为:According to the cloud control method of claim 5, the characteristics of the flow calculation model are described as:
    Figure PCTCN2018125111-appb-100001
    Figure PCTCN2018125111-appb-100001
    其中,S表示为累加流量和;Y表示为预设的访问阈值;B表示为各任务请求所表征的访问量;n表示为各任务请求的排列次序。Among them, S represents the cumulative traffic sum; Y represents the preset access threshold; B represents the access volume characterized by each task request; n represents the order of each task request.
  7. 根据权利要求1所述的云端控制方法,所述任务请求还包括:操作指令运行所需的算力;所述当所述延时提醒任务达成时,向所述业务端发送预设的第一指令,以使所述业务端根据所述第一指令执行所述操作指令的步骤之后,还包括下述步骤:The cloud control method according to claim 1, wherein the task request further includes: computing power required for operation instruction operation; and when the delay reminder task is completed, sending a preset first to the service end Instruction, so that the service end further includes the following steps after the step of executing the operation instruction according to the first instruction:
    获取所述操作指令运行所需的算力;Obtaining the computing power required for the operation of the operation instruction;
    在所述延时提醒任务达成时分配与所述算力具有映射关系的处理器,以在所述云端执行所述操作指令。When the delay reminder task is completed, a processor having a mapping relationship with the computing power is allocated to execute the operation instruction in the cloud.
  8. 一种云端控制装置,包括:A cloud control device, including:
    获取模块,用于获取业务端发送的建立定时任务的任务请求,其中,所述任务请求中包括所述定时任务执行的操作指令和定时任务的启动时间;An obtaining module, configured to obtain a task request sent by the service end to establish a timed task, wherein the task request includes an operation instruction executed by the timed task and a start time of the timed task;
    处理模块,用于根据所述任务请求建立延时提醒任务;A processing module, configured to establish a delayed reminder task according to the task request;
    执行模块,用于当所述延时提醒任务达成时,向所述业务端发送预设的第一指令,以使所述业务端根据所述第一指令执行所述操作指令。The execution module is configured to send a preset first instruction to the service end when the delayed reminder task is completed, so that the service end executes the operation instruction according to the first instruction.
  9. 一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行一种云端控制方法,所述方法包括以下步骤:A computer device includes a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes a cloud control method. The method includes the following steps:
    获取业务端发送的建立定时任务的任务请求,其中,所述任务请求中包括所述定时任务执行的操作指令和定时任务的启动时间;Obtain a task request for establishing a timed task sent by a service end, where the task request includes an operation instruction executed by the timed task and a start time of the timed task;
    根据所述任务请求建立延时提醒任务;Establishing a delayed reminder task according to the task request;
    当所述延时提醒任务达成时,向所述业务端发送预设的第一指令,以使所述业务端根据所述第一指令执行所述操作指令。When the delay reminder task is completed, a preset first instruction is sent to the service end, so that the service end executes the operation instruction according to the first instruction.
  10. 根据权利要求9所述的计算机设备,当有多个任务请求时;所述根据所述任务请求建立延时提醒任务的步骤,还包括下述步骤:The computer device according to claim 9, when there are multiple task requests; the step of establishing a delayed reminder task according to the task request further comprises the following steps:
    以所述启动时间为限定条件对所述多个任务请求进行分类;Classify the multiple task requests with the start time as a limiting condition;
    将同属于一个启动时间的任务请求所对应的延时提醒任务分配至同一任务进程执 行。Assign the delayed reminder task corresponding to the task request that belongs to the same start time to the same task process for execution.
  11. 根据权利要求10所述的计算机设备,所述任务进程包括多个任务线程,各任务线程对应一个延时提醒任务;所述将同属于一个启动时间的任务请求所对应的延时提醒任务分配至同一任务进程执行的步骤,还包括下述步骤:The computer device according to claim 10, the task process includes a plurality of task threads, each task thread corresponds to a delay reminder task; the delay reminder task corresponding to a task request that belongs to the same start time is assigned to The steps performed by the same task process also include the following steps:
    获取各提醒任务对应的操作指令的访问量;Get the number of visits to the operation instructions corresponding to each reminder task;
    以所述访问量为限定条件对所述多个任务请求进行排序生成排序列表;Sorting the multiple task requests with the access amount as a limiting condition to generate a sorted list;
    确认各任务请求在所述排序列表中的排列次序为各任务请求对应的任务线程在所述任务进程中的排列次序。Confirm that the order of the task requests in the sorted list is the order of the task threads corresponding to the task requests in the task process.
  12. 根据权利要求9所述的计算机设备,当同一业务端发送多个任务请求时;所述根据所述任务请求建立延时提醒任务的步骤之前,还包括下述步骤:The computer device according to claim 9, when multiple task requests are sent by the same service end; before the step of establishing a delayed reminder task according to the task request, the method further comprises the following steps:
    以所述启动时间为限定条件对所述多个任务请求进行统计;Statistics on the multiple task requests with the start time as a limiting condition;
    当多个任务请求的启动时间相同时,获取各任务请求对应的操作指令的访问量;When the start time of multiple task requests is the same, the access amount of the operation instruction corresponding to each task request is obtained;
    计算多个操作指令的访问量之和,并将计算得到的访问量之和与预设的访问阈值进行比对;Calculate the sum of the access volume of multiple operation instructions, and compare the calculated sum of the access volume with the preset access threshold;
    当所述访问量之和大于所述访问阈值时,向所述业务端发送警示信息。When the sum of the visits is greater than the visit threshold, warning information is sent to the service end.
  13. 根据权利要求12所述的计算机设备,所述当所述访问量之和大于所述访问阈值时,向所述业务端发送警示信息之后,还包括下述步骤:The computer device according to claim 12, after the warning information is sent to the service end when the sum of the visits is greater than the visit threshold, further comprising the following steps:
    获取各操作指令的执行优先级;Obtain the execution priority of each operation instruction;
    根据所述优先级对所述多个任务请求进行排序;Sort the multiple task requests according to the priority;
    根据预设的流量计算模型按排序次序对所述多个任务请求的访问量进行累加;Accumulate the number of visits requested by the multiple tasks in a sorted order according to a preset flow calculation model;
    当累计结果大于和等于所述访问阈值时,禁止执行未进行累加计算的任务请求所表征的延时提醒任务。When the accumulated result is greater than and equal to the access threshold, it is prohibited to execute the delayed reminder task characterized by the task request that does not perform the accumulation calculation.
  14. 根据权利要求13所述的计算机设备,所述流量计算模型的特征描述为:According to the computer device of claim 13, the characteristics of the flow calculation model are described as:
    Figure PCTCN2018125111-appb-100002
    Figure PCTCN2018125111-appb-100002
    其中,S表示为累加流量和;Y表示为预设的访问阈值;B表示为各任务请求所表征的访问量;n表示为各任务请求的排列次序。Among them, S represents the cumulative traffic sum; Y represents the preset access threshold; B represents the access volume characterized by each task request; n represents the order of each task request.
  15. 根据权利要求9所述的计算机设备,所述任务请求还包括:操作指令运行所需的算力;所述当所述延时提醒任务达成时,向所述业务端发送预设的第一指令,以使所述业务端根据所述第一指令执行所述操作指令的步骤之后,还包括下述步骤:The computer device according to claim 9, wherein the task request further comprises: computing power required for operation instruction to run; and when the delay reminder task is completed, sending a preset first instruction to the service end , So that the service end further includes the following steps after the step of executing the operation instruction according to the first instruction:
    获取所述操作指令运行所需的算力;Obtaining the computing power required for the operation of the operation instruction;
    在所述延时提醒任务达成时分配与所述算力具有映射关系的处理器,以在所述云 端执行所述操作指令。When the delay reminder task is completed, a processor having a mapping relationship with the computing power is allocated to execute the operation instruction in the cloud.
  16. 一种存储有计算机可读指令的非易失性存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行一种云端控制方法,所述方法包括以下步骤:A non-volatile storage medium storing computer-readable instructions, when the computer-readable instructions are executed by one or more processors, causes the one or more processors to execute a cloud control method, the method includes The following steps:
    获取业务端发送的建立定时任务的任务请求,其中,所述任务请求中包括所述定时任务执行的操作指令和定时任务的启动时间;Obtain a task request for establishing a timed task sent by a service end, where the task request includes an operation instruction executed by the timed task and a start time of the timed task;
    根据所述任务请求建立延时提醒任务;Establishing a delayed reminder task according to the task request;
    当所述延时提醒任务达成时,向所述业务端发送预设的第一指令,以使所述业务端根据所述第一指令执行所述操作指令。When the delay reminder task is completed, a preset first instruction is sent to the service end, so that the service end executes the operation instruction according to the first instruction.
  17. 根据权利要求16所述的非易失性存储介质,当有多个任务请求时;所述根据所述任务请求建立延时提醒任务的步骤,还包括下述步骤:The non-volatile storage medium according to claim 16, when there are multiple task requests; the step of establishing a delayed reminder task according to the task request further comprises the following steps:
    以所述启动时间为限定条件对所述多个任务请求进行分类;Classify the multiple task requests with the start time as a limiting condition;
    将同属于一个启动时间的任务请求所对应的延时提醒任务分配至同一任务进程执行。Assign the delayed reminder task corresponding to the task request that belongs to the same start time to the same task process for execution.
  18. 根据权利要求17所述的非易失性存储介质,所述任务进程包括多个任务线程,各任务线程对应一个延时提醒任务;所述将同属于一个启动时间的任务请求所对应的延时提醒任务分配至同一任务进程执行的步骤,还包括下述步骤:The non-volatile storage medium according to claim 17, wherein the task process includes a plurality of task threads, and each task thread corresponds to a delay reminder task; the delay corresponding to the task request that belongs to the same startup time Remind the task to be assigned to the steps performed by the same task process, and also include the following steps:
    获取各提醒任务对应的操作指令的访问量;Get the number of visits to the operation instructions corresponding to each reminder task;
    以所述访问量为限定条件对所述多个任务请求进行排序生成排序列表;Sorting the multiple task requests with the access amount as a limiting condition to generate a sorted list;
    确认各任务请求在所述排序列表中的排列次序为各任务请求对应的任务线程在所述任务进程中的排列次序。Confirm that the order of the task requests in the sorted list is the order of the task threads corresponding to the task requests in the task process.
  19. 根据权利要求16所述的非易失性存储介质,当同一业务端发送多个任务请求时;所述根据所述任务请求建立延时提醒任务的步骤之前,还包括下述步骤:The non-volatile storage medium according to claim 16, when the same service end sends multiple task requests; before the step of establishing a delayed reminder task according to the task request, the method further includes the following steps:
    以所述启动时间为限定条件对所述多个任务请求进行统计;Statistics on the multiple task requests with the start time as a limiting condition;
    当多个任务请求的启动时间相同时,获取各任务请求对应的操作指令的访问量;When the start time of multiple task requests is the same, the access amount of the operation instruction corresponding to each task request is obtained;
    计算多个操作指令的访问量之和,并将计算得到的访问量之和与预设的访问阈值进行比对;Calculate the sum of the access volume of multiple operation instructions, and compare the calculated sum of the access volume with the preset access threshold;
    当所述访问量之和大于所述访问阈值时,向所述业务端发送警示信息。When the sum of the visits is greater than the visit threshold, warning information is sent to the service end.
  20. 根据权利要求19所述的非易失性存储介质,所述当所述访问量之和大于所述访问阈值时,向所述业务端发送警示信息之后,还包括下述步骤:The non-volatile storage medium according to claim 19, wherein after sending the warning information to the service end when the sum of the access amount is greater than the access threshold, the method further includes the following steps:
    获取各操作指令的执行优先级;Obtain the execution priority of each operation instruction;
    根据所述优先级对所述多个任务请求进行排序;Sort the multiple task requests according to the priority;
    根据预设的流量计算模型按排序次序对所述多个任务请求的访问量进行累加;Accumulate the number of visits requested by the multiple tasks in a sorted order according to a preset flow calculation model;
    当累计结果大于和等于所述访问阈值时,禁止执行未进行累加计算的任务请求所表征的延时提醒任务。When the accumulated result is greater than and equal to the access threshold, it is prohibited to execute the delayed reminder task characterized by the task request that does not perform the accumulation calculation.
PCT/CN2018/125111 2018-10-22 2018-12-28 Cloud control method and device, computer apparatus, and storage medium WO2020082599A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811231463.3 2018-10-22
CN201811231463.3A CN109597681A (en) 2018-10-22 2018-10-22 Cloud control method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2020082599A1 true WO2020082599A1 (en) 2020-04-30

Family

ID=65958247

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/125111 WO2020082599A1 (en) 2018-10-22 2018-12-28 Cloud control method and device, computer apparatus, and storage medium

Country Status (2)

Country Link
CN (1) CN109597681A (en)
WO (1) WO2020082599A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110781159B (en) * 2019-10-28 2021-02-02 柏科数据技术(深圳)股份有限公司 Ceph directory file information reading method and device, server and storage medium
CN112069187A (en) * 2020-09-14 2020-12-11 支付宝(杭州)信息技术有限公司 Data processing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182715A (en) * 2014-08-25 2014-12-03 珠海宜心家居有限公司 Deadline reminding method and deadline reminding system
CN106709702A (en) * 2016-10-27 2017-05-24 江苏创源电子有限公司 Intelligent timing method and system

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8424007B1 (en) * 2008-09-30 2013-04-16 Symantec Corporation Prioritizing tasks from virtual machines
CN101968750B (en) * 2010-10-15 2012-12-26 珠海举天软件科技有限公司 Computer system and working method thereof
CN102567106B (en) * 2010-12-30 2014-10-01 中国移动通信集团云南有限公司 Task scheduling method, system and device
CN104536819A (en) * 2014-12-29 2015-04-22 同程网络科技股份有限公司 Task scheduling method based on WEB service
CN106844018A (en) * 2015-12-07 2017-06-13 阿里巴巴集团控股有限公司 A kind of task processing method, apparatus and system
CN106201672B (en) * 2016-06-22 2020-05-12 武汉斗鱼网络科技有限公司 Timed task setting system and timed task running method thereof
CN106126332A (en) * 2016-06-27 2016-11-16 北京京东尚科信息技术有限公司 Distributed timing task scheduling system and method
CN107766143A (en) * 2016-08-16 2018-03-06 阿里巴巴集团控股有限公司 Data processing management system and task management, method for scheduling task and device
CN106339255B (en) * 2016-08-24 2019-10-11 北京小米移动软件有限公司 Dispatching method, system, device and the server of timed task
CN106780149A (en) * 2016-12-30 2017-05-31 中核核电运行管理有限公司 A kind of equipment real-time monitoring system based on timed task scheduling
CN107357652B (en) * 2017-06-16 2020-10-23 北京邮电大学 Cloud computing task scheduling method based on segmentation ordering and standard deviation adjustment factor
CN107391244A (en) * 2017-07-11 2017-11-24 重庆邮电大学 A kind of Internet of Things operating system dispatching method based on mixed scheduling model
CN107748695B (en) * 2017-10-24 2020-11-24 平安科技(深圳)有限公司 Timed task processing method and device, storage medium and computer equipment
CN107844339B (en) * 2017-11-15 2021-07-30 湖北盛天网络技术股份有限公司 Task scheduling method, plug-in and server
CN108319869B (en) * 2018-02-28 2021-09-10 国泰新点软件股份有限公司 Automatic bid opening method, device, server and storage medium
CN108600510A (en) * 2018-03-22 2018-09-28 平安科技(深圳)有限公司 User behavior associated cue method, apparatus, computer equipment and storage medium
CN108573453A (en) * 2018-03-30 2018-09-25 平安科技(深圳)有限公司 Configuration method, device, computer equipment and the storage medium of insurance products computation model
CN108647083B (en) * 2018-04-28 2020-03-31 京东数字科技控股有限公司 Task execution method, device, system, electronic equipment and computer readable medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182715A (en) * 2014-08-25 2014-12-03 珠海宜心家居有限公司 Deadline reminding method and deadline reminding system
CN106709702A (en) * 2016-10-27 2017-05-24 江苏创源电子有限公司 Intelligent timing method and system

Also Published As

Publication number Publication date
CN109597681A (en) 2019-04-09

Similar Documents

Publication Publication Date Title
US10148546B2 (en) Scheduling processing tasks based on predicted context
CN101909048B (en) Centralized trans-coding treatment method and device
US20160335576A1 (en) Location-based prediction of transport services
CN111258737B (en) Resource scheduling method and device and filter scheduler
WO2020082599A1 (en) Cloud control method and device, computer apparatus, and storage medium
CN103561428A (en) Method and system for elastically distributing nodes in short message gateway cluster system
KR102164401B1 (en) Method and system of chat room list sorting based on conversational activeness and contextrual information
CN107040475B (en) Resource scheduling method and device
CN111475315B (en) Server and subscription notification push control and execution method
CN110858844A (en) Service request processing method, control method, device, system and electronic equipment
CN112037541A (en) Traffic light control method and device and computer equipment
CN109871399B (en) Distributed alarm rule engine design method
CN102377884A (en) Call queuing method and device
CN114327846A (en) Cluster capacity expansion method and device, electronic equipment and computer readable storage medium
CN114051716A (en) Method, cloud platform, system, computing device and medium for configuring priority
CN112099937A (en) Resource management method and device
CN111833478A (en) Data processing method, device, terminal and storage medium
CN113778781B (en) Method and device for monitoring data
CN115914375A (en) Disaster tolerance processing method and device for distributed message platform
CN112770358B (en) Multi-rate mode data transmission control method and device based on service data
US10291490B1 (en) System and method for collecting data from low-availability devices
CN109246631B (en) Method for sending short message
CN113542424A (en) Data processing method, device, equipment and computer program product
CN111858019B (en) Task scheduling method and device and computer readable storage medium
CN112561593A (en) Point distribution control method, device, equipment and medium

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: 18938216

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18938216

Country of ref document: EP

Kind code of ref document: A1