Task management method, device and storage medium
By setting the repair priority for vulnerabilities and displaying the repair time, it solves the problem of developers being unable to judge the urgency of the vulnerability, improves the efficiency of vulnerability repair, and ensures the stability and quality of the software.
Patent Information
- Application Number
- CN202010778788.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-05
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-08-05
AI Technical Summary
Developers are unable to accurately judge the urgency of repairing application vulnerabilities, resulting in untimely repairs of vulnerabilities and affecting repair efficiency.
Set the repair priority for each vulnerability, configure the appropriate repair time according to the priority, and display it in the repair task list so that developers can understand the urgency of repairing the vulnerability.
By displaying the vulnerability repair time, developers are reminded to repair the vulnerability in time, improve the efficiency of vulnerability repair, and ensure the stability and quality of the software.
Smart Images

Figure CN112069503B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a task management method, device and storage medium. Background Art
[0002] With the continuous development of communication technology, the application of smart terminals is becoming more and more widespread, and more and more applications (Application, APP) are developed for smart terminals. Before the application is released, it needs to be tested and repaired to improve the reliability of the application.
[0003] In the prior art, testers test applications to detect program vulnerabilities (bugs) and feed back the detected vulnerabilities to application developers for repair. However, developers cannot know the urgency of repairing each vulnerability, resulting in untimely vulnerability repairs and affecting repair efficiency. Summary of the invention
[0004] Multiple aspects of the present application provide a task management method, device and storage medium for displaying the urgency of repairing program vulnerabilities, reminding developers to repair the vulnerabilities in a timely manner, thereby improving the efficiency of vulnerability repair.
[0005] An embodiment of the present application provides a task management method, including: obtaining a repair priority of a first vulnerability; according to the repair priority of the first vulnerability, obtaining a repair time adapted to the repair priority of the first vulnerability; wherein the repair time is negatively correlated with the repair priority; and according to the repair priority of the first vulnerability, displaying the first vulnerability and the repair time in a repair task list of a first user, so that the first user can learn the urgency of repairing the first vulnerability according to the repair time.
[0006] The embodiment of the present application also provides an electronic device, comprising: a memory, a processor and a screen; wherein the memory is used to store a computer program;
[0007] The processor is coupled to the memory and is configured to execute the computer program to perform the steps in the task management method.
[0008] An embodiment of the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the steps in the above-mentioned task management method.
[0009] In an embodiment of the present application, a repair priority is set for a program vulnerability, and each repair priority is configured with an adapted repair duration. Among them, the repair duration is negatively correlated with the repair priority. In this way, for a vulnerability to be repaired, the repair priority of the vulnerability can be obtained, and based on the repair priority of the vulnerability, the repair duration adapted to the repair priority can be obtained; then, according to the repair priority of the vulnerability, the vulnerability and the repair duration of the vulnerability are displayed in the repair task list. The user can know the urgency of the vulnerability repair based on the repair duration of the vulnerability. In this way, by displaying the repair duration of the vulnerability for developers to know the urgency of the vulnerability repair, the developer can be reminded to repair the vulnerability in a timely manner, which in turn helps to improve the efficiency of vulnerability repair. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0011] Figure 1a A flowchart of a task management method provided in an embodiment of the present application;
[0012] Figure 1b A schematic diagram of a repair task list provided in an embodiment of the present application;
[0013] Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0014] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0015] In the prior art, testers test applications to detect program vulnerabilities (bugs) and feed back the detected vulnerabilities to application developers for repair. However, developers cannot know the urgency of repairing each vulnerability, resulting in untimely vulnerability repairs and affecting repair efficiency.
[0016] In response to the above technical problems, in some embodiments of the present application, a repair priority is set for program vulnerabilities, and each repair priority is configured with an adapted repair time. Among them, the repair time is negatively correlated with the repair priority. In this way, for the vulnerability to be repaired, the repair priority of the vulnerability can be obtained, and according to the repair priority of the vulnerability, the repair time adapted to the repair priority can be obtained; then, according to the repair priority of the vulnerability, the vulnerability and the repair time of the vulnerability are displayed in the repair task list. The user can know the urgency of the vulnerability repair based on the repair time of the vulnerability. In this way, by displaying the repair time of the vulnerability for developers to know the urgency of the vulnerability repair, the developer can be reminded to repair the vulnerability in time, which helps to improve the efficiency of vulnerability repair.
[0017] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0018] It should be noted that the same reference numerals denote the same objects in the following drawings and embodiments, and therefore, once an object is defined in one drawing or embodiment, it does not need to be further discussed in the subsequent drawings and embodiments.
[0019] Figure 1a The following is a flow chart of a task management method provided in an embodiment of the present application. Figure 1a As shown, the method includes:
[0020] 101. Get the repair priority of the first vulnerability.
[0021] 102. According to the repair priority of the first vulnerability, obtain a repair duration that is adapted to the repair priority of the first vulnerability; wherein the repair duration is negatively correlated with the repair priority.
[0022] 103. Display the first vulnerability and the repair time in the repair task list of the first user according to the repair priority of the first vulnerability, so that the first user can know the urgency of repairing the first vulnerability according to the repair time.
[0023] In practical applications, in order to improve the stability and performance of software during the process from software development to release, the software may be tested by testers before the software is released. The software described in the embodiments of the present application may be an application program (APP), client software, or a web page.
[0024] Testers can test software to detect vulnerabilities in software programs and feed back the detected vulnerabilities to software developers for repair. Optionally, testers can upload the detected vulnerabilities to a task management system. The task management system can be installed in a computer device. The computer device can be a terminal device such as a laptop, desktop computer, tablet computer or smart phone, or a server device such as a server. In this way, developers can view the vulnerabilities to be repaired in the task management system. However, developers cannot know the urgency of repairing each vulnerability, resulting in untimely vulnerability repairs and affecting repair efficiency.
[0025] In order to solve the above technical problems, in this embodiment, repair priorities can be set in advance for various vulnerabilities. Among them, the repair priority of the vulnerability can be set according to the characteristics of the service associated with the vulnerability. Optionally, the repair priority of the vulnerability can be determined according to multiple dimensions such as the level of the program associated with the vulnerability in the software system, the impact of the vulnerability on the number of users, and the duration of the impact on user use. Optionally, the higher the level of the program associated with the vulnerability in the software system, the greater the impact of the vulnerability on the number of users, and the longer the duration of the impact on user use, the higher the repair priority of the vulnerability. Accordingly, the higher the repair priority of the vulnerability, the more timely the vulnerability needs to be modified, that is, the higher the urgency of the vulnerability repair.
[0026] Furthermore, in this embodiment, in order to enable developers to repair vulnerabilities in a timely manner, different repair times can be set for vulnerabilities with different repair priorities. The repair time of a vulnerability is negatively correlated with its repair priority. That is, the higher the repair priority of a vulnerability, the shorter its repair time, indicating that the vulnerability needs to be repaired in a timely manner. The repair time corresponding to the repair priority can be determined based on the historical length of time that the developer has modified the vulnerability with the repair priority. Preferably, the repair time corresponding to the repair priority is equal to the average of the historical length of time that the developer has modified the vulnerability with the repair priority.
[0027] Further, the corresponding relationship between the repair priority and the repair time of the vulnerability can be preset in the task management system. Based on the corresponding relationship between the repair priority and the repair time of the above-mentioned vulnerability, in this embodiment, the tester can upload the tested vulnerability to the task management system. Accordingly, for a computer device installed with a task management system, in step 101, the repair priority of the vulnerability can be obtained. Optionally, the repair priority of the vulnerability can be set by the tester. Optionally, the tester can set the repair priority of the vulnerability according to the situation of the currently measured vulnerability based on the priority setting standard reached in advance. Correspondingly, for a computer device, in response to the setting operation of the repair priority for the vulnerability, the set repair priority can be obtained as the repair priority of the vulnerability. Optionally, the repair priority of the vulnerability can be identified by a number. For example, the repair priority is the highest, and its priority number is 1; the second repair priority, the corresponding priority number is 2, and so on. In the following embodiment, for the convenience of description, the vulnerability currently uploaded by the tester is defined as the first vulnerability.
[0028] Further, in step 102, a repair duration adapted to the repair priority of the first vulnerability may be obtained according to the repair priority of the first vulnerability. Optionally, the repair priority of the first vulnerability may be matched in the corresponding relationship between the repair priority of the vulnerability and the repair duration to obtain the repair duration adapted to the repair priority of the first vulnerability.
[0029] Next, in step 103, the first vulnerability and the repair time of the first vulnerability can be displayed in the repair task list of the first user according to the repair priority of the first vulnerability. Since the repair time is negatively correlated with the repair priority, the higher the repair priority of the vulnerability, the higher the repair urgency. Therefore, the shorter the repair time of the vulnerability, the higher the repair urgency of the vulnerability, and the more timely repair is needed. Based on this, the first user can know the repair urgency of the vulnerability according to the repair time of the vulnerability, and then determine the order of vulnerability repair according to the repair urgency of the vulnerability, so as to repair the vulnerability in time, which helps to improve the efficiency of vulnerability repair.
[0030] On the other hand, the time it takes to fix a vulnerability can reflect the urgency of the vulnerability to a certain extent, and it can also help users determine the order of vulnerabilities according to the time it takes to fix them, reducing the probability that users will fix vulnerabilities with lower urgency first and put aside the probability of fixing vulnerabilities with higher urgency, which helps improve the stability and quality of the software. This is because if some vulnerabilities with higher urgency are not fixed in time, they may cause the software system to crash, etc.
[0031] It should be noted that, in this embodiment, the first user mainly refers to a software developer. More specifically, the first user is a developer who repairs a vulnerability in the software.
[0032] In this embodiment, the specific implementation method of displaying the first vulnerability and its repair time in the repair task list of the first user is not limited. Optionally, the higher the priority of the first vulnerability, the higher its display order in the repair list. Accordingly, the repair priority of the vulnerability already existing in the repair task list can also be obtained. In the embodiment of the present application, for the convenience of description and distinction, the vulnerability already existing in the repair task list is defined as a second vulnerability. Among them, the number of second vulnerabilities is 1 or more. Multiple refers to 2 or more.
[0033] Furthermore, the display order of the first vulnerability in the repair task list may be determined according to the priority of the first vulnerability and the second vulnerability; the display order of the first vulnerability in the repair task list may be determined; and the first vulnerability may be added to the repair task list according to the display order of the first vulnerability in the repair task list. Figure 1b As shown, if the repair priority of the first vulnerability is greater than the repair priority of the second vulnerability, the first vulnerability and its repair time are displayed in front of the second vulnerability. Optionally, if the repair priority of the first vulnerability is less than the repair priority of the second vulnerability, the first vulnerability and its repair time are displayed behind the second vulnerability. If there is a vulnerability A with a repair priority greater than the first vulnerability in the second vulnerability, and there is also a vulnerability B with a repair priority less than the first vulnerability, the first vulnerability and its repair time are displayed between vulnerability A and vulnerability B.
[0034] Furthermore, if there are multiple vulnerabilities with the same repair priority (2 or more), the display order of these vulnerabilities and their respective repair durations in the repair task list is determined according to the repair task creation time of the multiple vulnerabilities with the same repair priority. Among them, the earlier the repair task creation time of the vulnerability with the same repair priority, the higher the display order of the vulnerability and its repair duration in the repair task list.
[0035] In this embodiment, a timer can also be set for the vulnerability repair task. Optionally, the timer can be set for the vulnerability repair task from the moment the vulnerability repair task is created, and the time the vulnerability repair task has been started can be displayed in the repair task list. For example, for the first vulnerability mentioned above, when the first vulnerability and its repair time are added to the repair list, the timer for the repair task of the first vulnerability can be started, and the time the repair task has been started can be displayed in the vicinity of the first vulnerability and its repair time. Figure 1b As shown, the first vulnerability, the duration of repairing the first vulnerability, and the duration of the start of the repair task for the first vulnerability can be displayed in the same row. Optionally, a countdown for the repair task of the vulnerability can be set to count down the duration of repairing the vulnerability, and the countdown for the duration of repairing the vulnerability can be displayed in the repair task list to remind the first user to repair the vulnerability as soon as possible.
[0036] In the embodiment of the present application, in order to enable developers to repair vulnerabilities in a timely manner, different repair urgency prompt information can be set for vulnerabilities with different repair priorities. The repair urgency prompt information can indicate the impact of the vulnerability on system performance or the number of users. For example, Figure 1b As shown, the repair urgency prompt information indicates the impact of the vulnerability on the number of users. Further, the correspondence between the priority of the vulnerability and the repair urgency prompt information can be preset in the computer device. For the computer device, according to the repair priority of the first vulnerability, the repair urgency prompt information adapted to the repair priority of the first vulnerability can be determined; and the repair urgency prompt information can be displayed in the associated area of the first vulnerability and the repair time in the repair task list. Optionally, the associated area of the first vulnerability and the repair time can be an area located in the same row as the display area of the first vulnerability and the repair time.
[0037] For the repair task list, the header information, i.e., the table attribute information, can be set. Accordingly, according to the header information, the vulnerability repair time, repair urgency prompt information, vulnerability repair start time, and repair countdown information can be added to the corresponding list.
[0038] In the embodiment of the present application, the display order of the first vulnerability and the second vulnerability in the repair task list can also be adjusted according to the repair status of the first vulnerability and the second vulnerability. Optionally, the task creation time and repair duration of each of the first vulnerability and the second vulnerability can be taken; according to the task creation time and repair duration of each of the first vulnerability and the second vulnerability, it is judged whether there is an overdue unrepaired vulnerability in the first vulnerability and the second vulnerability; if the judgment result is yes, the display order of the overdue unrepaired vulnerability in the repair task list is adjusted according to the repair priority and overdue duration of the overdue unrepaired vulnerability, and then the display order of the first vulnerability and the second vulnerability in the repair task list is adjusted.
[0039] In the embodiment of the present application, the task management system can manage not only the repair tasks but also the test tasks. In the embodiment, after the developer has repaired the vulnerability, he can also upload the repaired vulnerability to the task management system, and the task management system will reallocate the repaired vulnerability to the tester for testing to test whether the repair is successful. For the repair of the vulnerability, the repair cycle of the vulnerability includes: the repair time of the vulnerability and the retest time after the vulnerability repair is completed.
[0040] In order to enable testers to test the fixed vulnerabilities in a timely manner, different test durations can be set for vulnerabilities with different repair priorities. The test duration of a vulnerability is negatively correlated with its repair priority. That is, the higher the repair priority of a vulnerability, the shorter its test duration, indicating that the vulnerability needs to be tested more promptly. The test duration corresponding to the repair priority can be determined based on the historical length of time the tester has tested the vulnerability with the repair priority, the software release time, and the time required for the developer to repair it again if the repair is unsuccessful.
[0041] Further, the correspondence between the priority of vulnerability repair and the test duration can be preset in the task management system. Based on the correspondence between the priority of vulnerability repair and the test duration, in this embodiment, the tester can upload the tested vulnerability to the task management system. Accordingly, for a computer device equipped with a task management system, in response to the completion of the repair operation for the first vulnerability, according to the repair priority of the first vulnerability, the test duration adapted to the complex priority can be obtained; and according to the repair priority of the first vulnerability, the first vulnerability and the test duration are displayed in the test task list of the second user. Among them, the specific implementation method of displaying the first vulnerability and the test duration in the test task list can refer to the above-mentioned content related to displaying the first vulnerability and the repair duration in the repair task list, which will not be repeated here. In this embodiment, the second user mainly refers to the tester of the software, to be precise, the second user is a tester who tests the vulnerability of the software.
[0042] Since the test duration is negatively correlated with the repair priority, the higher the repair priority of the vulnerability, the higher the repair urgency. Therefore, the shorter the test duration of the vulnerability, the higher the repair urgency of the vulnerability, and the more timely testing is needed. Based on this, the second user can know the repair urgency of the vulnerability according to the test duration of the vulnerability, and then determine the order of vulnerability testing according to the repair urgency of the vulnerability, so as to test the vulnerability in time, which helps to improve the efficiency of vulnerability testing.
[0043] Of course, the repair urgency prompt information adapted to the repair priority of the first vulnerability is displayed in the test task list. Optionally, the repair urgency prompt information is displayed in the associated area of the first vulnerability and the test duration in the test task list. Optionally, the associated area of the first vulnerability and the test duration can be an area located in the same row as the display area of the first vulnerability and the test duration.
[0044] Optionally, for the test task list, header information, i.e., table attribute information, can be set. Accordingly, information such as the test duration of the vulnerability and the repair urgency prompt information can be added to the corresponding list according to the header information. Of course, the startup duration of the test task for the vulnerability can also be timed, and the startup duration of the test task for the vulnerability can be displayed in the test task list; or, the test duration of the vulnerability can also be counted down, and the countdown of the test duration of the vulnerability can be displayed in the test task list, and so on. Among them, regarding the display format of the startup duration of the test task for the vulnerability and the countdown of the test duration of the vulnerability in the test task list, please refer to the relevant content of the display format of the countdown of the startup duration of the vulnerability repair task and the repair duration of the vulnerability in the test task list, which will not be repeated here.
[0045] It should be noted that the execution subject of each step of the method provided in the above embodiment can be the same device, or the method can be executed by different devices. For example, the execution subject of steps 101 and 102 can be device A; for another example, the execution subject of step 101 can be device A, and the execution subject of step 102 can be device B; and so on.
[0046] In addition, in some of the processes described in the above embodiments and the accompanying drawings, multiple operations appearing in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this document or may be executed in parallel, and the serial numbers of the operations, such as 101, 102, etc., are only used to distinguish between different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel.
[0047] Accordingly, an embodiment of the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the steps in the above-mentioned task management method.
[0048] Figure 2 The following is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may be a terminal device such as a computer, a smart phone or a wearable device, or a server such as a server. Figure 2 As shown, the electronic device includes: a memory 20a, a processor 20b and a screen 20c; wherein the memory 20a is used to store computer programs.
[0049] The processor 20b is coupled to the memory 20a, and is used to execute a computer program for: obtaining a repair priority of the first vulnerability; obtaining a repair time adapted to the repair priority of the first vulnerability according to the repair priority of the first vulnerability; wherein the repair time is negatively correlated with the repair priority; and displaying the first vulnerability and the repair time in the repair task list of the first user displayed on the screen 30c according to the repair priority of the first vulnerability, so that the first user can know the repair urgency of the first vulnerability according to the repair time.
[0050] In some embodiments, when acquiring the priority of the first vulnerability, the processor 20b is specifically configured to: in response to a setting operation for the repair priority of the first vulnerability, acquire the set repair priority as the repair priority of the first vulnerability.
[0051] In some other embodiments, the processor 20b is further configured to: obtain the repair priority of the second vulnerability already existing in the repair task list. Accordingly, when the processor 20b displays the to-be-repaired vulnerabilities and repair durations in the repair task list, it is specifically configured to: determine the display order of the first vulnerability in the repair task list according to the repair priorities of the first vulnerability and the second vulnerability; and add the first vulnerability and its repair duration to the repair task list according to the display order of the first vulnerability in the repair task list.
[0052] In some other embodiments, the processor 20b is further used to: determine repair urgency prompt information adapted to the repair priority of the first vulnerability according to the repair priority of the first vulnerability; and display the repair urgency prompt information in the associated area of the first vulnerability and repair duration in the repair task list.
[0053] In some other embodiments, the processor 20b is further configured to: adjust the display order of the first vulnerability and the second vulnerability in the repair task list according to the repair status of the first vulnerability and the second vulnerability.
[0054] Further, the processor 20b is also used to: obtain the task creation time and repair time of each of the first vulnerability and the second vulnerability; determine whether there is an overdue unrepaired vulnerability in the first vulnerability and the second vulnerability based on the task creation time and repair time of each of the first vulnerability and the second vulnerability; if the judgment result is yes, adjust the display order of the overdue unrepaired vulnerability in the repair task list based on the repair priority and overdue time of the overdue unrepaired vulnerability, so as to adjust the display order of the first vulnerability and the second vulnerability in the repair task list.
[0055] Optionally, processor 20b is also used to: in response to the completion of the repair operation for the first vulnerability, obtain a test duration adapted to the repair priority according to the repair priority of the first vulnerability; wherein the test duration is negatively correlated with the repair priority; and according to the repair priority of the first vulnerability, display the first vulnerability and the test duration in the test task list of the second user displayed on screen 20c, so that the second user can know the test urgency of the first vulnerability based on the test duration.
[0056] Optionally, the processor 20b is further configured to: display repair urgency prompt information adapted to the repair priority of the first vulnerability in an area associated with the first vulnerability and the test duration in the test task list.
[0057] In some optional embodiments, such as Figure 2 As shown, the electronic device may also include components such as a communication component 20d, a power component 20e and an audio component 20f. Figure 2 The components are shown schematically only, and do not mean that the electronic device must include Figure 2 The components shown do not necessarily mean that the electronic device can only include Figure 2 Components shown.
[0058] In an embodiment of the present application, the memory is used to store a computer program and can be configured to store various other data to support operations on the device where it is located. Among them, the processor can execute the computer program stored in the memory to implement the corresponding control logic. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0059] In the embodiment of the present application, the processor can be any hardware processing device that can execute the logic of the above method. Optionally, the processor can be a central processing unit (CPU), a graphics processing unit (GPU) or a microcontroller unit (MCU); it can also be a field programmable gate array (FPGA), a programmable array logic device (PAL), a general array logic device (GAL), a complex programmable logic device (CPLD) and other programmable devices; or an advanced reduced instruction set (RISC) processor (Advanced RISC Machines, ARM) or a system on chip (System on Chip, SOC), etc., but not limited to this.
[0060] In an embodiment of the present application, the communication component is configured to facilitate wired or wireless communication between the device in which it is located and other devices. The device in which the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G, 5G or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component can also be implemented based on near field communication (NFC) technology, radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology or other technologies.
[0061] In an embodiment of the present application, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0062] In an embodiment of the present application, a power supply component is configured to provide power to various components of the device in which it is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device in which the power supply component is located.
[0063] In an embodiment of the present application, the audio component may be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal may be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal. For example, for a device with a language interaction function, voice interaction with a user can be achieved through an audio component.
[0064] The electronic device provided in this embodiment sets a repair priority for program vulnerabilities, and each repair priority is configured with an adapted repair time. Among them, the repair time is negatively correlated with the repair priority. In this way, for the vulnerability to be repaired, the repair priority of the vulnerability can be obtained, and according to the repair priority of the vulnerability, the repair time adapted to the repair priority can be obtained; then, according to the repair priority of the vulnerability, the vulnerability and the repair time of the vulnerability are displayed in the repair task list. The user can know the urgency of the vulnerability repair based on the repair time of the vulnerability. In this way, by displaying the repair time of the vulnerability for developers to know the urgency of the vulnerability repair, the developer can be reminded to repair the vulnerability in time, which helps to improve the efficiency of vulnerability repair.
[0065] It should be noted that the descriptions such as “first” and “second” in this article are used to distinguish different messages, devices, modules, etc., and do not represent the order of precedence, nor do they limit “first” and “second” to different types.
[0066] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0067] The present application is described with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, and the combination of the process and / or box in the flowchart and / or block diagram can be realized by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram.
[0068] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0069] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0070] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0071] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0072] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0073] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0074] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A task management method, It is characterized in that include: Obtaining a repair priority of a first vulnerability, where the first vulnerability refers to a vulnerability of the target software, and the repair priority of the first vulnerability is determined according to the level of a program associated with the first vulnerability in the software system, the impact of the first vulnerability on the number of users, and the duration of the impact on the use of the software by the users, and the repair priority of the first vulnerability is positively correlated with the level of the program associated with the first vulnerability in the software system, the impact of the first vulnerability on the number of users, and the duration of the impact on the use of the software by the users; According to the repair priority of the first vulnerability, obtaining a repair duration adapted to the repair priority of the first vulnerability; wherein the repair duration is negatively correlated with the repair priority; Obtaining the repair priority of the second vulnerability that already exists in the repair task list of the first user; Determining a display order of the first vulnerability in the repair task list according to the repair priorities of the first vulnerability and the second vulnerability; adding the first vulnerability and its repair time to the repair task list according to the display order of the first vulnerability in the repair task list of the first user, so as to display the first vulnerability and the repair time in the repair task list of the first user, so that the first user can learn the repair urgency of the first vulnerability according to the repair time, wherein the repair urgency is negatively correlated with the repair time, and the repair time is used to determine the order of the first vulnerabilities; and, When there are multiple vulnerabilities with the same repair priority, the display order of the multiple vulnerabilities with the same repair priority and their respective repair durations in the repair task list is determined according to the repair task creation time of the multiple vulnerabilities with the same repair priority.
2. The method according to claim 1, It is characterized in that The obtaining the priority of the first vulnerability includes: In response to a setting operation for a repair priority of a first vulnerability, the set repair priority is acquired as the repair priority of the first vulnerability.
3. The method according to claim 1, It is characterized in that Also includes: Determining, according to the repair priority of the first vulnerability, repair urgency prompt information adapted to the repair priority of the first vulnerability; The repair urgency prompt information is displayed in an area associated with the first vulnerability and the repair time in the repair task list.
4. The method according to any one of claims 1 to 3, It is characterized in that Also includes: According to the repair status of the first vulnerability and the second vulnerability, the display order of the first vulnerability and the second vulnerability in the repair task list is adjusted.
5. The method according to claim 4, It is characterized in that Also includes: Obtaining task creation time and repair duration of each of the first vulnerability and the second vulnerability; According to the task creation time and repair time of each of the first vulnerability and the second vulnerability, determining whether there is an overdue and unrepaired vulnerability in the first vulnerability and the second vulnerability; If the judgment result is yes, the display order of the overdue unrepaired vulnerabilities in the repair task list is adjusted according to the repair priority and overdue duration of the overdue unrepaired vulnerabilities, so as to adjust the display order of the first vulnerability and the second vulnerability in the repair task list.
6. The method according to any one of claims 1 to 3, It is characterized in that Also includes: In response to the repair completion operation for the first vulnerability, according to the repair priority of the first vulnerability, obtaining a test duration adapted to the repair priority; wherein the test duration is negatively correlated with the repair priority; According to the repair priority of the first vulnerability, the first vulnerability and the test duration are displayed in the test task list of the second user, so that the second user can learn the urgency of testing the first vulnerability according to the test duration.
7. The method according to claim 6, It is characterized in that Also includes: In the associated area of the first vulnerability and the test duration in the test task list, repair urgency prompt information adapted to the repair priority of the first vulnerability is displayed.
8. An electronic device, It is characterized in that include: A memory, a processor and a screen; wherein the memory is used to store a computer program; The processor is coupled to the memory and configured to execute the computer program to perform the steps of the method according to any one of claims 1 to 7.
9. A computer-readable storage medium storing computer instructions, It is characterized in that When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the steps in the method according to any one of claims 1 to 7.
