Search

CN-121979643-A - Task dynamic management method and device in task management application

CN121979643ACN 121979643 ACN121979643 ACN 121979643ACN-121979643-A

Abstract

The application discloses a task dynamic management method and a device in task management application, which relate to the cross field of mobile internet, digital medical treatment and intelligent control technology, and the method comprises the steps of constructing a task control block for each task in the task management application; the method comprises the steps of obtaining static priority and task dynamic attribute of each task representing importance degree of the task in a task management application based on a task control block, calculating urgency level of each task according to the static priority and the task dynamic attribute of each task, and executing the currently established task in the task management application according to the urgency level of the task. According to the task management method, task execution (reminding and displaying) is carried out according to the urgency level of the task in the task management application, and the problem of high-concurrency key information display right is solved.

Inventors

  • Jiang Dengwei
  • WANG KAIYE
  • LI BOCHEN
  • ZHU DOU
  • HUANG RONGFENG
  • ZHOU XINGZHI
  • CUI BIN

Assignees

  • 四川创贝科技开发有限责任公司

Dates

Publication Date
20260505
Application Date
20260224

Claims (10)

  1. 1. A method for dynamically managing tasks in a task management application, comprising: constructing a task control block for each task in the task management application; Acquiring static priority and task dynamic attribute of the importance degree of each task in the task management application based on the task control block; Calculating the urgency level of each task according to the static priority of each task and the dynamic attribute of the task; and executing the currently established task in the task management application according to the urgency level of the task.
  2. 2. The method for dynamic task management in a task management application according to claim 1, wherein the calculation formula of the urgency level is: In the formula, Representing the urgency level of task i; A benchmark score corresponding to the static priority of task i; The task reminding time set by the user is represented; Indicating the retried times of task reminding before the task reminding time set by the user is reached; 、 、 T represents the time t; Is a preset value.
  3. 3. The task dynamic management method in a task management application according to claim 1, wherein the task dynamic management method in a task management application further comprises: after a new task is established in the task management application, calculating the urgency level of the new task; judging whether the urgency level of the current newly-built task and the urgency level of the currently-displayed task in the task management application meet the new task preemption condition or not; if so, the context of the task process of the task currently being displayed is saved, and the task process is pushed to a hanging stack to execute the current new task; And if not, executing the currently established task in the task management application according to the urgency level of each current task.
  4. 4. A method for dynamic task management in a task management application according to claim 3, wherein the new task preemption conditions are: In the formula, Representing the urgency level of the newly built task; Representing the urgency level of the task currently being presented; representing an anti-shake threshold.
  5. 5. The method for dynamically managing tasks in a task management application according to claim 1, wherein executing a task currently established in the task management application according to a task urgency level comprises: Acquiring multidimensional sensing data of carrier equipment of a task management application; determining a scene where carrier equipment of the task management application is located by using a hierarchical decision tree according to the multidimensional sensing data; selecting a corresponding preset self-adaptive intervention strategy to execute a task currently established in a task management application according to the urgency level of the task and the scene where the current carrier equipment is located; acquiring historical user feedback information corresponding to each task, and determining feedback delay conditions of the corresponding tasks according to the historical user feedback information; And adjusting the urgency level of the corresponding task according to the feedback delay condition of the task.
  6. 6. The task dynamic management method in a task management application according to claim 1 or 5, characterized in that the task dynamic management method in a task management application further comprises: judging whether user feedback information is received or not to obtain a first judging result, wherein the user feedback information refers to feedback information of a user on an executed task in a task management application; If the first judgment result is yes, an ACK packet is sent to the cloud end through the task management application, and the cloud end cancels the constructed shadow countdown timer; If the first judgment result is negative, judging whether the shadow countdown timer of the executed task returns to zero, and obtaining a second judgment result; if the second judgment result is negative, executing the task which is currently established in the task management application according to the urgency level of each task at present; and if the second judgment result is yes, the cloud cancels the constructed shadow countdown timer and simultaneously gives an alarm prompt to the guardian of the user to which the task management application belongs.
  7. 7. The method for dynamically managing tasks in a task management application according to claim 6, wherein the step of initiating an alarm prompt to a guardian of a user to whom the task management application belongs comprises: Network detection data is sent to carrier equipment of the task management application through the MQTT/HTTP long connection, and whether an IP-based data channel of the carrier equipment is abnormal or not is confirmed; If the data channel based on the IP is abnormal, automatically triggering a signaling degradation strategy, packaging the alarm prompt, switching to a GSM/CDMA signaling channel, and transmitting the alarm prompt to a guardian terminal of a user to which the task management application belongs based on the GSM/CDMA signaling channel.
  8. 8. A computer device comprising a memory, a processor and a computer program stored on the memory and capable of running on the processor, characterized in that the processor executes the computer program to implement the task dynamic management method in the task management application of any of claims 1-7.
  9. 9. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements a task dynamic management method in a task management application according to any of claims 1-7.
  10. 10. A computer program product comprising a computer program which, when executed by a processor, implements a task dynamic management method in a task management application according to any of claims 1-7.

Description

Task dynamic management method and device in task management application Technical Field The application relates to the cross field of mobile internet, digital medical treatment and intelligent control technology, in particular to a task dynamic management method and device in task management application. Background With the increasing population aging and the transition of chronic disease management modes, personal task management applications (MHEALTH APP) based on mobile terminals (smartphones, wearable devices) are becoming an important extension of the healthcare system. However, existing health alert applications, when faced with complex medical scenarios, employ ALARMMANAGER or UserNotifications mechanisms, which are "open loop trigger systems," lacking in the perceptibility of the runtime environment. In a high concurrency scenario, this mechanism may cause Critical resources (Critical Section) of the system UI thread to be occupied by low priority processes, thereby causing starvation of high priority tasks. Existing health alert applications rely primarily on native timer mechanisms provided by the operating system, such as ALARMMANAGER of the Android system or UserNotifications framework of iOS. Its core logic is based on linear triggering of absolute time stamp (Timestamp), i.e. "set time of day- > Trigger event. In a multi-task concurrence scenario (e.g., an elderly person suffering from various chronic diseases needs to complete "fasting blood glucose measurement", "take antihypertensive drugs", "measure blood pressure" and "drink water" at the same time in 8:00 a.m.), existing task management applications typically employ a "first-come-first-go" or simple "stacked" presentation strategy, resulting in more urgent task postponement. Disclosure of Invention The application aims to provide a task dynamic management method and device in a task management application, which can execute (remind and display) tasks according to the priorities of the tasks in the task management application and solve the problem of high concurrency key information display rights. In order to achieve the above object, the present application provides the following solutions: in a first aspect, the present application provides a task dynamic management method in a task management application, including: constructing a task control block for each task in the task management application; based on the task control block, acquiring the static priority and the task dynamic attribute of the importance degree of each task in the task management application; Calculating the urgency level of each task according to the static priority of each task and the dynamic attribute of the task; and executing the currently established task in the task management application according to the urgency level of the task. In a second aspect, the application provides a computer device comprising a memory, a processor and a computer program stored on the memory and capable of running on the processor, the processor executing the computer program to implement the task dynamic management method in the task management application. In a third aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the task dynamic management method in the task management application described above. In a fourth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the task dynamic management method in a task management application as described above. According to the specific embodiment provided by the application, the application has the following technical effects: the application provides a task dynamic management method and a task dynamic management device in a task management application, which are used for acquiring static priority and task dynamic attribute of the importance degree of each task characterization task in the task management application; and executing the task currently established in the task management application according to the urgency level of the task. According to the task management method, task execution (reminding and displaying) is carried out according to the urgency level of the task in the task management application, deterministic scheduling of computing resources (CPU) and interactive resources (UI) is achieved through a hyperbolic urgency algorithm, and task delay uncertainty under high load is eliminated. Drawings In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person