Computing power strategy scheduling method and system in terminal computing power network

The tidal scheduling strategy dynamically adjusts computing power application instances based on busy/idle times, optimizing resource use by releasing excess resources during idle periods and adding instances during high demand, thus addressing inefficiencies in terminal computing networks.

CN119172810APending Publication Date: 2024-12-20INSPUR COMM TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411269954.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

Traditional computing scheduling methods lack dynamic adaptability to network conditions, leading to inefficient use of terminal computing resources due to imbalanced business loads, resulting in idle waste.

Method used

A tidal scheduling strategy is implemented using timers and triggers to adjust the number of computing power application instances based on busy or idle times, reducing instances during low demand and increasing them during high demand.

Benefits of technology

This approach optimizes resource utilization by releasing excess computing resources during idle periods and adding instances during busy times, addressing the inefficiency and waste in terminal computing networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119172810A_ABST
    Figure CN119172810A_ABST
Patent Text Reader

Abstract

The invention particularly relates to a computing power strategy scheduling method and system in a terminal computing power network. According to the computing power strategy scheduling method in the terminal computing power network, computing power applications are associated through a self-defined tide scheduling strategy, when the terminal is in a service idle time, a copy of a current computing power application instance is reduced, and otherwise, the copy of the application instance is increased. According to the computing power strategy scheduling method and system in the terminal computing power network, the timer, the trigger and the computing power application are combined, tidal scheduling computing power application resource occupation is achieved, and the problem that in the terminal computing power network, terminal computing power resources are idle and wasted during service valley is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computing power scheduling technology, and in particular to a computing power strategy scheduling method and system in a terminal computing power network. Background Art

[0002] With the development of terminal computing networks, the functions they undertake are becoming more and more complex. At the same time, with the popularization of the Internet of Things and edge computing, terminal computing scheduling plays an increasingly important role in various fields. Since the business load of the terminal is not always balanced, it will lead to idle waste of terminal computing resources when the business is low. Traditional computing scheduling methods usually lack dynamic adaptability to network conditions, resulting in low efficiency of task execution and poor quality of task completion.

[0003] In response to this situation, a method of tidal scheduling of computing resources is proposed to solve the problem of idle and wasted computing resources. Summary of the invention

[0004] In order to overcome the deficiencies of the prior art, the present invention provides a simple and efficient computing power strategy scheduling method and system in a terminal computing power network.

[0005] The present invention is achieved through the following technical solutions:

[0006] A computing power strategy scheduling method in a terminal computing power network, characterized in that: computing power applications are associated through a custom tidal scheduling strategy, and when the business is idle, the current computing power application instance copies are reduced, and vice versa, the application instance copies are increased;

[0007] The specific steps include:

[0008] Step S1, configuring tidal scheduling strategy;

[0009] Combined with the open source framework argo, we customized the tidal scheduling strategy, created a timer, and configured scheduled tasks to start busy tasks and idle tasks based on tidal time.

[0010] In the step S1, two YAML files, namely, scheduled tasks and triggers, are configured in the tidal scheduling strategy; when configuring the scheduled task YAML file, the tidal time and the number of instance copies are customized;

[0011] The tidal time includes a busy service time and an idle service time.

[0012] Step S2, associating computing power application;

[0013] Configure triggers, customize trigger policies, and bind application instances to be monitored in the customized trigger policies; associate computing power applications with the timers created in step S1, obtain the number of application instances from the configuration parameters of step S1, and bind them to the corresponding triggers;

[0014] In the step S2, the binding relationship between the scheduled task and the application instance is configured in the trigger yaml file.

[0015] Step S3, the timer determines the tidal time;

[0016] After the application is bound, the timer monitors the current time and automatically determines whether the current time is idle time or busy time;

[0017] Step S4, trigger increases / decreases application instances;

[0018] When the trigger is triggered, the corresponding scheduled task is started according to the judgment result of the timer, and the operation of increasing / decreasing the application instance is performed according to the trigger strategy;

[0019] If it is detected that the current business is idle, the business idle tasks and triggers are triggered to reduce application instances and release excess computing resources;

[0020] On the contrary, if it is detected that the current business is busy, the business busy tasks and triggers are triggered, and application instances are added to meet business requirements.

[0021] A computing power strategy scheduling system in a terminal computing power network, comprising:

[0022] The tidal scheduling strategy configuration module is responsible for customizing the tidal scheduling strategy in combination with the open source framework Argo, creating timers and configuring scheduled tasks to start busy tasks and idle tasks based on tidal time.

[0023] The tidal scheduling strategy configures two YAML files, scheduled tasks and triggers; when configuring the scheduled task YAML file, customize the tidal time and the number of instance copies;

[0024] The tidal time includes a busy service time and an idle service time.

[0025] The computing power application association module is responsible for configuring triggers, customizing trigger strategies, and binding application instances that need to be monitored in custom trigger strategies; the computing power application is associated with the timer created in the tidal scheduling strategy configuration module, and the number of application instances is obtained from the configuration parameters of the tidal scheduling strategy configuration module and bound to the corresponding trigger;

[0026] The computing power application association module configures the binding relationship between the scheduled task and the application instance in the trigger yaml file.

[0027] The tidal time judgment module is responsible for monitoring the current time through a timer and automatically judging whether the current time is idle time or busy time.

[0028] The application instance management module is responsible for starting the corresponding scheduled task according to the judgment result of the timer. When the trigger is triggered, the application instance is increased or decreased according to the trigger strategy.

[0029] If it is detected that the current business is idle, the business idle tasks and triggers are triggered to reduce application instances and release excess computing resources;

[0030] On the contrary, if it is detected that the current business is busy, the business busy tasks and triggers are triggered, and application instances are added to meet business requirements.

[0031] A computing power strategy scheduling device in a terminal computing power network, characterized in that it includes a memory and a processor; the memory is used to store a computer program, and the processor is used to implement the method described above when executing the computer program.

[0032] A readable storage medium, characterized in that: a computer program is stored on the readable storage medium, and the computer program implements the above method when executed by a processor.

[0033] The beneficial effect of the present invention is that the computing power strategy scheduling method and system in the terminal computing power network, combined with timers, triggers and computing power applications, realizes tidal scheduling of computing power application resource occupation, and solves the problem of idle waste of terminal computing power resources in the terminal computing power network during business lows. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0035] Attached Figure 1 Schematic diagram of the computing power strategy scheduling method in the terminal computing power network of the present invention. DETAILED DESCRIPTION

[0036] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0037] The computing power strategy scheduling method in the terminal computing power network associates computing power applications through a custom tidal scheduling strategy. When the business is idle, the current computing power application instance copies are reduced, and vice versa, the application instance copies are increased;

[0038] The specific steps include:

[0039] Step S1, configuring tidal scheduling strategy;

[0040] Combined with the open source framework argo, we customized the tidal scheduling strategy, created a timer, and configured scheduled tasks to start busy tasks and idle tasks based on tidal time.

[0041] In the step S1, two YAML files, namely, scheduled tasks and triggers, are configured in the tidal scheduling strategy; when configuring the scheduled task YAML file, the tidal time and the number of instance copies are customized;

[0042] The tidal time includes a busy service time and an idle service time.

[0043] Step S2, associating computing power application;

[0044] Configure triggers, customize trigger policies, and bind application instances to be monitored in the customized trigger policies; associate computing power applications with the timers created in step S1, obtain the number of application instances from the configuration parameters of step S1, and bind them to the corresponding triggers;

[0045] In the step S2, the binding relationship between the scheduled task and the application instance is configured in the trigger yaml file.

[0046] Step S3, the timer determines the tidal time;

[0047] After the application is bound, the timer monitors the current time and automatically determines whether the current time is idle time or busy time;

[0048] Step S4, trigger increases / decreases application instances;

[0049] When the trigger is triggered, the corresponding scheduled task is started according to the judgment result of the timer, and the operation of increasing / decreasing the application instance is performed according to the trigger strategy;

[0050] If it is detected that the current business is idle, the business idle tasks and triggers are triggered to reduce application instances and release excess computing resources;

[0051] On the contrary, if it is detected that the current business is busy, the business busy tasks and triggers are triggered, and application instances are added to meet business requirements.

[0052] The computing power strategy scheduling system in the terminal computing power network includes:

[0053] The tidal scheduling strategy configuration module is responsible for customizing the tidal scheduling strategy in combination with the open source framework Argo, creating timers and configuring scheduled tasks to start busy tasks and idle tasks based on tidal time.

[0054] The tidal scheduling strategy configures two YAML files, scheduled tasks and triggers; when configuring the scheduled task YAML file, customize the tidal time and the number of instance copies;

[0055] The tidal time includes a busy service time and an idle service time.

[0056] The computing power application association module is responsible for configuring triggers, customizing trigger strategies, and binding application instances that need to be monitored in custom trigger strategies; the computing power application is associated with the timer created in the tidal scheduling strategy configuration module, and the number of application instances is obtained from the configuration parameters of the tidal scheduling strategy configuration module and bound to the corresponding trigger;

[0057] The computing power application association module configures the binding relationship between the scheduled task and the application instance in the trigger yaml file.

[0058] The tidal time judgment module is responsible for monitoring the current time through a timer and automatically judging whether the current time is idle time or busy time.

[0059] The application instance management module is responsible for starting the corresponding scheduled task according to the judgment result of the timer. When the trigger is triggered, the application instance is increased or decreased according to the trigger strategy.

[0060] If it is detected that the current business is idle, the business idle tasks and triggers are triggered to reduce application instances and release excess computing resources;

[0061] On the contrary, if it is detected that the current business is busy, the business busy tasks and triggers are triggered, and application instances are added to meet business requirements.

[0062] The computing power strategy scheduling device in the terminal computing power network includes a memory and a processor; the memory is used to store a computer program, and the processor is used to implement the method described above when executing the computer program.

[0063] The readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.

[0064] The embodiment described above is only one specific implementation of the present invention. Common changes and substitutions made by those skilled in the art within the scope of the technical solution of the present invention should be included in the protection scope of the present invention.

Claims

1. A computing power strategy scheduling method in a terminal computing power network, characterized in that: Through the customized tidal scheduling strategy, computing power applications are associated. When the business is idle, the current computing power application instance copies are reduced, and vice versa, application instance copies are increased; The specific steps include: Step S1, configuring tidal scheduling strategy; Combined with the open source framework argo, we customized the tidal scheduling strategy, created a timer, and configured scheduled tasks to start busy tasks and idle tasks based on tidal time. Step S2, associating computing power application; Configure triggers, customize trigger policies, and bind application instances to be monitored in the customized trigger policies; associate computing power applications with the timers created in step S1, obtain the number of application instances from the configuration parameters of step S1, and bind them to the corresponding triggers; Step S3, the timer determines the tidal time; After the application is bound, the timer monitors the current time and automatically determines whether the current time is idle time or busy time; Step S4, trigger increases / decreases application instances; When the trigger is triggered, the corresponding scheduled task is started according to the judgment result of the timer, and the operation of increasing / decreasing the application instance is performed according to the trigger strategy; If it is detected that the current business is idle, the business idle tasks and triggers are triggered to reduce application instances and release excess computing resources; On the contrary, if it is detected that the current business is busy, the business busy tasks and triggers are triggered, and application instances are added to meet business requirements.

2. The computing power strategy scheduling method in the terminal computing power network according to claim 1 is characterized in that: In the step S1, two YAML files, namely, scheduled tasks and triggers, are configured in the tidal scheduling strategy; when configuring the scheduled task YAML file, the tidal time and the number of instance copies are customized; The tidal time includes a busy service time and an idle service time.

3. The computing power strategy scheduling method in the terminal computing power network according to claim 1 is characterized in that: In the step S2, the binding relationship between the scheduled task and the application instance is configured in the trigger yaml file.

4. A computing power strategy scheduling system in a terminal computing power network, characterized in that: include: The tidal scheduling strategy configuration module is responsible for customizing the tidal scheduling strategy in combination with the open source framework Argo, creating timers and configuring scheduled tasks to start busy tasks and idle tasks based on tidal time. The computing power application association module is responsible for configuring triggers, customizing trigger strategies, and binding application instances that need to be monitored in custom trigger strategies; the computing power application is associated with the timer created in the tidal scheduling strategy configuration module, and the number of application instances is obtained from the configuration parameters of the tidal scheduling strategy configuration module and bound to the corresponding trigger; The tidal time judgment module is responsible for monitoring the current time through a timer and automatically judging whether the current time is idle time or busy time. The application instance management module is responsible for starting the corresponding scheduled task according to the judgment result of the timer. When the trigger is triggered, the application instance is increased or decreased according to the trigger strategy. If it is detected that the current business is idle, the business idle tasks and triggers are triggered to reduce application instances and release excess computing resources; On the contrary, if it is detected that the current business is busy, the business busy tasks and triggers are triggered, and application instances are added to meet business requirements.

5. The computing power strategy scheduling system in the terminal computing power network according to claim 4, characterized in that: The tidal scheduling strategy configures two YAML files, scheduled tasks and triggers; when configuring the scheduled task YAML file, customize the tidal time and the number of instance copies; The tidal time includes a busy service time and an idle service time.

6. The computing power strategy scheduling system in the terminal computing power network according to claim 4, characterized in that: The computing power application association module configures the binding relationship between the scheduled task and the application instance in the trigger yaml file.

7. A computing power strategy scheduling device in a terminal computing power network, characterized in that: The method comprises a memory and a processor; the memory is used to store a computer program, and the processor is used to implement the method according to any one of claims 1 to 3 when executing the computer program.

8. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Computing power network task scheduling engine method and device

    CN115794335A

  • Tidal computing power scheduling method and device and readable storage medium

    CN117061521A

  • Tidal computing power treatment method and device

    CN117806816A

  • Base station computing power resource scheduling method and device of computing power network, electronic equipment and storage medium

    CN118509922A