Method, device and computer readable storage medium for adjusting software update plan

By automating the acquisition and adjustment of software update plans, the inefficiency caused by manual adjustments has been resolved, enabling efficient adjustments to be made even with changes in the number of software programs, thus saving costs.

CN116382733BActive Publication Date: 2026-11-27INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310345282.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2026-11-27
Estimated Expiration
2043-03-31

AI Technical Summary

Technical Problem

In the existing technology, the adjustment of software update plans mainly relies on manual adjustments, which leads to low efficiency in plan adjustment and requires a large investment of manpower and technical costs.

Method used

By acquiring software update plans, the software update plans are automatically adjusted based on the plan adjustment information. Time periods are divided and sub-plans are broken down. The number of developers and equipment is determined using an automated system, and the adjustment process is optimized.

Benefits of technology

It enables automatic adjustment when the number of software changes, shortens the adjustment time, saves manpower and technical costs, and improves adjustment efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116382733B_ABST
    Figure CN116382733B_ABST
Patent Text Reader

Abstract

The application discloses a software update plan adjustment method and device and a computer readable storage medium, and relates to the field of financial technology and other related technical fields. The method comprises the following steps: obtaining a software update plan; updating N pieces of software according to the software update plan, and detecting whether plan adjustment information corresponding to the software update plan is received at a target time, wherein the target time is located within a preset time period, the plan adjustment information is used for adjusting the number of software to be updated from N to M; in the case that the plan adjustment information is received, obtaining the number of software that has been updated in a first time period among the N pieces of software, and obtaining an updated software quantity; and adjusting the software update plan according to the plan adjustment information and the updated software quantity, and obtaining a target software update plan. The application solves the technical problem of low plan adjustment efficiency caused by the fact that the adjustment of the software update plan in the prior art mainly depends on manual adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of financial technology and other related technologies, and more specifically, to a method, apparatus and computer-readable storage medium for adjusting a software update plan. Background Technology

[0002] In the fintech field, as businesses grow, there are often situations where large-scale software updates or software switches are required. Generally speaking, in order to ensure the smooth progress of software updates, it is necessary to develop a software update plan in advance and update the software according to the software update plan.

[0003] Furthermore, during software updates, unforeseen circumstances may necessitate adjustments to the update plan. For instance, if additional software needs to be added during the update process, the plan must be adjusted accordingly to ensure the new software is also updated. However, current adjustments to software update plans primarily rely on manual intervention, which not only incurs significant human and technical costs but also results in low efficiency.

[0004] There is currently no effective solution to the above problems. Summary of the Invention

[0005] This application provides a method, apparatus, and computer-readable storage medium for adjusting a software update plan, to at least solve the technical problem of low efficiency in plan adjustment caused by the prior art's reliance on manual adjustment for software update plan adjustments.

[0006] According to one aspect of the embodiments of this application, a method for adjusting a software update plan is provided, comprising: obtaining a software update plan, wherein the software update plan is used to indicate that N software programs are updated within a preset time period, and N is a positive integer; updating the N software programs according to the software update plan, and detecting whether plan adjustment information corresponding to the software update plan is received at a target time, wherein the target time is within the preset time period, and the plan adjustment information is used to adjust the number of software programs that need to be updated from N to M, where M is a positive integer greater than or less than N; if the plan adjustment information is received, obtaining the number of software programs that have been updated within a first time period from the N software programs, thereby obtaining the number of updated software programs, wherein the first time period is the time period from the start time of the preset time period to the target time; adjusting the software update plan according to the plan adjustment information and the number of updated software programs to obtain a target software update plan, wherein the target software update plan is used to indicate that the remaining software programs are updated within a second time period, wherein the second time period is the time period from the target time to the end time of the preset time period, and the remaining software programs are the software programs among the M software programs that have not been updated.

[0007] Furthermore, the method for adjusting the software update plan also includes: after obtaining the software update plan, dividing the preset time period into K sub-time periods, where K is a positive integer; decomposing the software update plan into K sub-plans according to the K sub-time periods, where each sub-plan corresponds to a sub-time period, and each sub-plan is used to complete the update of a preset number of software within the sub-time period corresponding to that sub-plan, where the preset number is less than N; and determining the end time of each sub-time period as the target time.

[0008] Furthermore, the method for adjusting the software update plan also includes: during the process of detecting whether the plan adjustment information corresponding to the software update plan has been received at the target time, detecting whether the identifier of the object sending the plan adjustment information is an identifier in a preset list, wherein the preset list is used to record the identifiers of objects with the authority to adjust the software update plan; if the identifier of the object sending the plan adjustment information is an identifier in the preset list, the plan adjustment information is received; if the identifier of the object sending the plan adjustment information is not recorded in the preset list, the receiving of the plan adjustment information is prohibited.

[0009] Furthermore, the method for adjusting the software update plan also includes: determining the number of developers and devices used to update the software of the number of software already updated within the first time period based on the software update plan; determining the software update efficiency based on the number of software already updated and the duration of the first time period, wherein the software update efficiency represents the time required for the number of developers and devices to complete the update of a single piece of software based on the number of developers and devices; and adjusting the software update plan based on the plan adjustment information, the number of software already updated, and the software update efficiency to obtain the target software update plan.

[0010] Furthermore, the method for adjusting the software update plan also includes: determining the number of remaining software based on the plan adjustment information and the number of updated software; determining the minimum number of developers and the minimum number of devices required to complete the update of all remaining software in the second time period based on the number of remaining software and the software update efficiency; and adjusting the software update plan based on the minimum number of developers and the minimum number of devices to obtain the target software update plan.

[0011] Furthermore, the method for adjusting the software update plan also includes: calculating the ratio of the duration of the second time period to the software update efficiency to obtain a first value; calculating the ratio of the remaining software quantity to the first value to obtain a second value; calculating the product of the second value and the number of developers to obtain the minimum number of developers; and calculating the product of the second value and the number of devices to obtain the minimum number of devices.

[0012] Furthermore, the method for adjusting the software update plan also includes: determining the target number of developers based on the minimum number of developers, wherein the target number of developers is greater than or equal to the minimum number of developers; determining the target number of devices based on the minimum number of devices, wherein the target number of devices is greater than or equal to the minimum number of devices; adjusting the target plan content in the software update plan based on the target number of developers and the target number of devices to obtain the target software update plan, wherein the target plan content is the plan content in the software update plan corresponding to the second time period, and the target software update plan is used to complete the update of the remaining software within the second time period based on the number of developers and the number of devices.

[0013] According to another aspect of the embodiments of this application, a software update plan adjustment device is also provided, comprising: a first acquisition module, configured to acquire a software update plan, wherein the software update plan is used to indicate that N software programs are updated within a preset time period, and N is a positive integer; a detection module, configured to update the N software programs according to the software update plan, and detect whether plan adjustment information corresponding to the software update plan is received at a target time, wherein the target time is within the preset time period, and the plan adjustment information is used to adjust the number of software programs that need to be updated from N to M, where M is a positive integer greater than or less than N; a second acquisition module, configured to, upon receiving the plan adjustment information, acquire the number of software programs that have been updated within a first time period among the N software programs, thereby obtaining the number of updated software programs, wherein the first time period is the time period from the start time of the preset time period to the target time; and an adjustment module, configured to adjust the software update plan according to the plan adjustment information and the number of updated software programs to obtain a target software update plan, wherein the target software update plan is used to indicate that the remaining software programs are updated within a second time period, wherein the second time period is the time period from the target time to the end time of the preset time period, and the remaining software programs are the software programs among the M software programs that have not been updated.

[0014] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, which stores a computer program, wherein the computer program controls the device where the computer-readable storage medium is located to perform the above-described software update plan adjustment method when it is running.

[0015] According to another aspect of the embodiments of this application, an electronic device is also provided, which includes one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the above-described software update plan adjustment method.

[0016] In this application, a method of automatically adjusting the software update plan based on plan adjustment information is adopted. First, a software update plan is obtained, which indicates that N software programs, where N is a positive integer, should be updated within a preset time period. Then, the N software programs are updated according to the software update plan, and at a target time, it is checked whether plan adjustment information corresponding to the software update plan has been received. The target time is within the preset time period, and the plan adjustment information is used to adjust the number of software programs to be updated from N to M, where M is a positive integer greater than or less than N. If the plan adjustment information is received, the number of software programs that have been updated within the first time period is obtained, resulting in the number of updated software programs. The first time period is the time period from the start of the preset time period to the target time. Finally, the software update plan is adjusted according to the plan adjustment information and the number of updated software programs to obtain the target software update plan. The target software update plan indicates that the remaining software programs should be updated within a second time period, which is the time period from the target time to the end of the preset time period. The remaining software programs are the M software programs that have not been updated.

[0017] As described above, in this application, when the number of software items requiring updates changes (from N to M), this application automatically adjusts the plan content corresponding to the second time period by obtaining plan adjustment information, thereby adjusting the entire software update plan and obtaining the target software update plan. Since the target software update plan is used to instruct the completion of updating the remaining software within the second time period, and the second time period is the time period from the target time to the end of the preset time period, and the remaining software consists of the M software items that have not been updated, all software items after the change in quantity can be updated according to the target software update plan.

[0018] Therefore, the technical solution of this application achieves the goal of automatically adjusting the software update plan when the number of software that needs to be updated changes, thereby shortening the software update plan adjustment time and saving a lot of manpower and technical costs required in the plan adjustment process. It also solves the technical problem of low plan adjustment efficiency caused by the fact that the adjustment of software update plans mainly relies on manual adjustment in the prior art. Attached Figure Description

[0019] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0020] Figure 1 This is a flowchart of an optional method for adjusting a software update plan according to an embodiment of this application;

[0021] Figure 2 This is a flowchart of an optional method for generating a target software update plan according to an embodiment of this application;

[0022] Figure 3 This is a flowchart illustrating an optional method for generating a target software update plan based on software update efficiency, according to an embodiment of this application.

[0023] Figure 4 This is a flowchart illustrating an optional method for calculating the minimum number of developers and the minimum number of devices according to an embodiment of this application.

[0024] Figure 5 This is a schematic diagram of an optional software update plan adjustment device provided according to an embodiment of this application;

[0025] Figure 6 This is a schematic diagram of an optional electronic device provided according to an embodiment of this application. Detailed Implementation

[0026] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0027] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0028] It should also be noted that all relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this application are information and data authorized by the user or fully authorized by all parties. For example, if there is an interface between this system and the relevant user or organization, before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain the relevant information after receiving consent information from the aforementioned user or organization.

[0029] The present application will be further described below with reference to various embodiments.

[0030] Example 1

[0031] According to an embodiment of this application, an embodiment of a method for adjusting a software update plan is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0032] Figure 1 This is a flowchart of an optional method for adjusting a software update plan according to an embodiment of this application, such as... Figure 1 As shown, the method includes the following steps:

[0033] Step S101: Obtain the software update plan.

[0034] In step S101, the software update plan is used to indicate that N software programs will be updated within a preset time period, where N is a positive integer.

[0035] Furthermore, in addition to information such as the preset time period and the number of N software programs, the software update plan also includes at least the number of developers and equipment required to update the N software programs within the preset time period.

[0036] It's easy to understand that software updates typically require developers to perform certain tasks. For example, developers need to create scripts to detect the software's runtime environment and automate the update process. Furthermore, software updates also require a certain amount of hardware. For instance, a certain number of servers are needed for data storage and migration, or some software switches may require hardware compatibility, necessitating the preparation of a certain number of specific hardware devices in advance. For example, when switching from software A to software B, since software B requires a specific processor, a corresponding number of processors of that specific model need to be prepared in advance based on the number of installed software B programs. It's also important to note that both the number of target developers and the number of target devices are related to the number of software programs to be updated. The more software programs to be updated, the more target developers and devices will be required.

[0037] Optionally, the aforementioned preset time period can be a custom time period. For example, if, according to a software update plan, N software programs need to be updated within the next year, then the preset time period is the next year. Furthermore, the preset time period can also be the next month, the next quarter, etc. Additionally, software updates can be either version updates or software switching. For example, assuming the software to be updated is software A, updating software A from an old version to a new version can be considered a software update operation, and switching software A to software B can also be considered a software update operation.

[0038] Step S102: Update N software programs according to the software update plan, and check at the target time whether the plan adjustment information corresponding to the software update plan has been received.

[0039] In step S102, the target time is within a preset time period, and the planned adjustment information is used to adjust the number of software that needs to be updated from N to M, where M is a positive integer greater than or less than N.

[0040] In an optional embodiment, a software update system can serve as the execution entity for the software update plan adjustment method in this application embodiment. It should be noted that, in addition to acquiring the software update plan and updating N software programs according to the plan, the software update system can also detect at a target time whether it has received plan adjustment information corresponding to the software update plan.

[0041] The target time is located within a preset time period. For example, if the preset time period is from January 1st to March 31st of next year, the target time can be any time between January 1st and March 31st. The target time can also be at least one preset fixed time, such as the end of January, the end of February, etc.

[0042] In addition, in this application, if M is less than N, it means that the number of software that needs to be updated is less than the original number according to the plan adjustment information; if M is greater than N, it means that the number of software that needs to be updated is more than the original number according to the plan adjustment information.

[0043] It should be noted that there are various reasons why the number of software updates required may change. For example, there may be errors or omissions in the statistics, resulting in inaccurate statistics that need to be corrected later.

[0044] Step S103: Upon receiving the plan adjustment information, obtain the number of software programs that have been updated within the first time period out of N software programs, and obtain the number of updated software programs.

[0045] In step S103, the first time period is the time period from the start time of the preset time period to the target time.

[0046] Optionally, taking the preset time period of January 1st to March 31st of the following year as an example, assuming the target time is the end time of January 31st, then the first time period is January of the following year. Assuming N is 1000, and the number of software updates actually completed by the end of January is 300, then the number of updated software is 300.

[0047] Step S104: Adjust the software update plan according to the plan adjustment information and the number of updated software to obtain the target software update plan.

[0048] In step S104, the target software update plan is used to indicate that the update of the remaining software will be completed within a second time period. The second time period is the time period from the target time to the end of the preset time period. The remaining software is the software that has not been updated among the M software programs.

[0049] Optionally, still using N as 1000, a preset time period from January 1st to March 31st of next year, and a target time of January 31st as an example, assuming M is 1200, it means that according to the plan adjustment information, the number of software programs that need to be updated has increased by 200. Based on this, since the first time period is January, the second time period is February and March. Furthermore, the remaining number of software programs is 1200 - 300 = 900. Therefore, the target software update plan needs to instruct that the updates of the remaining 900 software programs be completed between February 1st and March 31st.

[0050] Based on the above steps S101 to S104, this application employs an automatic adjustment method for the software update plan based on plan adjustment information. First, a software update plan is obtained, indicating that N software programs will be updated within a preset time period, where N is a positive integer. Then, the N software programs are updated according to the software update plan, and at a target time, it is detected whether plan adjustment information corresponding to the software update plan has been received. The target time is within the preset time period, and the plan adjustment information adjusts the number of software programs requiring updates from N to M, where M is a positive integer greater than or less than N. Upon receiving the plan adjustment information, the number of software programs that have been updated within the first time period is obtained, resulting in the updated software count. The first time period is the time period from the start of the preset time period to the target time. Finally, the software update plan is adjusted based on the plan adjustment information and the updated software count to obtain the target software update plan. The target software update plan indicates that the remaining software programs will be updated within a second time period, which is the time period from the target time to the end of the preset time period. The remaining software programs are the M software programs that have not been updated.

[0051] As described above, in this application, when the number of software items requiring updates changes (from N to M), this application automatically adjusts the plan content corresponding to the second time period by obtaining plan adjustment information, thereby adjusting the entire software update plan and obtaining the target software update plan. Since the target software update plan is used to instruct the completion of updating the remaining software within the second time period, and the second time period is the time period from the target time to the end of the preset time period, and the remaining software consists of the M software items that have not been updated, all software items after the change in quantity can be updated according to the target software update plan.

[0052] Therefore, the technical solution of this application achieves the goal of automatically adjusting the software update plan when the number of software that needs to be updated changes, thereby shortening the software update plan adjustment time and saving a lot of manpower and technical costs required in the plan adjustment process. It also solves the technical problem of low plan adjustment efficiency caused by the fact that the adjustment of software update plans mainly relies on manual adjustment in the prior art.

[0053] In one optional embodiment, after obtaining the software update plan, the software update system can further divide a preset time period into K sub-time periods, where K is a positive integer. Subsequently, the software update system decomposes the software update plan into K sub-plans based on the K sub-time periods, where each sub-plan corresponds to a sub-time period, and each sub-plan is used to complete the update of a preset number of software items within the sub-time period corresponding to that sub-plan. The preset number is less than N. Finally, the software update system determines the end time of each sub-time period as the target time.

[0054] Optionally, taking the preset time period from January 1st to March 31st of next year as an example, the software update system can divide the preset time period into 3 (corresponding to K above) sub-time periods: January 1st to January 31st is the first sub-time period, February 1st to February 28th (or February 29th) is the second sub-time period, and March 1st to March 31st is the third sub-time period. Correspondingly, the software update plan will also be decomposed into 3 sub-plans, where the first sub-plan corresponds to the first sub-time period, the second sub-plan corresponds to the second sub-time period, and the third sub-plan corresponds to the third sub-time period. Each sub-plan is used to indicate the completion of a portion of the software updates within its corresponding sub-time period. For example, assuming N is 1000, according to the software update plan, 400 software updates need to be completed in the first sub-plan, 400 software updates need to be completed in the second sub-plan, and 200 software updates need to be completed in the third sub-plan.

[0055] Furthermore, if the frequency of obtaining plan adjustment information is too high, it means that the software update plan may be adjusted too frequently, which will inevitably affect resource coordination and the update process. Therefore, to ensure the stability of the software update process, it is necessary to selectively choose the timing of adjusting the software update plan. Based on this, the software update system can obtain plan adjustment information at the end of each sub-time period. For example, it can check for plan adjustment information at the end of the first sub-time period, the end of the second sub-time period, and the end of the third sub-time period. This allows for timely adjustments to the software update plan based on the software update status corresponding to each sub-time period, without excessive adjustments.

[0056] It should be noted that the reason for checking for plan adjustment information at the end of the last sub-time period (i.e., the third sub-time period mentioned above) is to perform a final check for any omissions or deficiencies in the entire software update process. Normally, plan adjustment information is not detected at the end of the last sub-time period. If plan adjustment information is detected, a new plan needs to be formulated based on this information, and the software update will continue after the preset time period.

[0057] In one optional embodiment, during the process of detecting whether plan adjustment information corresponding to the software update plan has been received at the target time, the software update system also checks whether the identifier of the object sending the plan adjustment information is an identifier in a preset list, wherein the preset list is used to record the identifiers of objects with the authority to adjust the software update plan. If the identifier of the object sending the plan adjustment information is an identifier in the preset list, the software update system receives the plan adjustment information; if the identifier of the object sending the plan adjustment information is not recorded in the preset list, the software update system prohibits receiving the plan adjustment information.

[0058] It's important to note that, to ensure the rigor of the software update plan adjustment process, the software update system pre-records the identifiers of objects with the authority to adjust the software update plan in a preset list. The software update system will only adjust the software update plan based on the identifier of the object sending the plan adjustment information, provided that the identifier is from this preset list. It should be noted that the identifiers in the preset list can be added, deleted, modified, and queried; that is, identifiers can be added, deleted, modified, and queried within the preset list.

[0059] In practical applications, the object identifier can be the object's email address. Based on this, the preset list records at least one target email address, and the software update system only receives plan adjustment information from the target email address. The software update system will completely block the reception of plan adjustment information sent from non-target email addresses.

[0060] In one alternative embodiment, Figure 2 A flowchart illustrating an optional method for generating a target software update plan according to an embodiment of this application is shown, such as... Figure 2 As shown, the specific steps include the following:

[0061] Step S201: Determine the number of developers and devices required to update the software of the number of software items that have already been updated within the first time period, based on the software update plan.

[0062] Optionally, since some software updates have already been completed in the first time period, the software update system can refer to the software update situation in the first time period to make more targeted adjustments to the subsequent plans. Assume that 100 software updates were completed in the first time period, with 3 developers and 10 devices.

[0063] Step S202: Determine the software update efficiency based on the number of updated software and the duration of the first time period.

[0064] In step S202, software update efficiency represents the time required for a single software update to be completed by the number of developers and the number of devices, based on the number of developers and devices.

[0065] Optionally, assuming the first time period is 200 hours, the software update efficiency is represented by the time required for 3 developers and 10 devices to complete a single software update, which is 2 hours.

[0066] Step S203: Adjust the software update plan based on the plan adjustment information, the number of updated software, and the software update efficiency to obtain the target software update plan.

[0067] Optionally, after obtaining the software update efficiency, the software update system can adjust the software update plan by combining the plan adjustment information and the number of updated software, thus obtaining the target software update plan. Since the software update efficiency is based on the actual software update process in the first time period, adjusting the software update plan based on this efficiency results in a more reasonable target software update plan.

[0068] In one alternative embodiment, Figure 3 A flowchart illustrating an optional method for generating a target software update plan based on software update efficiency, according to an embodiment of this application, is shown. Specifically, it includes the following steps:

[0069] Step S301: Determine the number of remaining software based on the plan adjustment information and the number of updated software.

[0070] Optionally, assuming the planned adjustment represents changing 1000 software (corresponding to N software) to 1200 software (corresponding to M software), and the number of updated software in the first time period is 200, then the number of remaining software that needs to be updated in the second time period is 1200-200=1000.

[0071] Step S302: Determine the minimum number of developers and the minimum number of devices required to complete the update of all remaining software within the second time period, based on the amount of remaining software and the software update efficiency.

[0072] Optionally, the software update system can determine the minimum number of developers and the minimum number of devices required to complete the update of all remaining software within the second time period based on the amount of remaining software and the software update efficiency through the following calculation process.

[0073] like Figure 4 As shown, the calculation process is as follows:

[0074] Step 1: Calculate the ratio of the duration of the second time period to the software update efficiency to obtain the first value.

[0075] Optionally, as in the example above, the first time period is 100 hours, the second time period is 1000 hours, and the software update efficiency is characterized by the time required for 3 developers and 10 devices to complete the update of a single piece of software being 2 hours. Then the first value is 1000 / 2 = 500.

[0076] Step two: Calculate the ratio of the remaining software quantity to the first value to obtain the second value.

[0077] Optionally, as in the example above, if the number of remaining software is 1000, then the second value is 1000 / 500 = 2.

[0078] Step 3: Calculate the product of the second value and the number of developers to obtain the minimum number of developers.

[0079] Optionally, as in the example above, if 3 developers are used in the first time period, then to ensure that the updates of the remaining 1000 software programs can be completed in the second time period, at least 3*2=6 developers need to be coordinated. It should be noted that if the second value is not an integer, the product of the second value and the number of developers needs to be rounded up to obtain the minimum number of developers.

[0080] Step four: Calculate the product of the second value and the number of devices to obtain the minimum number of devices.

[0081] Optionally, as in the example above, if 10 devices are used in the first time period, then to ensure that the updates of the remaining 1000 software programs can be completed in the second time period, at least 10 * 2 = 20 developers need to be coordinated. It should be noted that if the second value is not an integer, the product of the second value and the number of devices needs to be rounded up to obtain the minimum number of devices.

[0082] Step S303: Adjust the software update plan based on the minimum number of developers and the minimum number of devices to obtain the target software update plan.

[0083] Optionally, after determining the minimum number of developers and the minimum number of devices, the software update system can adjust the software update plan based on these minimum numbers. It is easy to understand that as long as the software update efficiency does not decrease, the software update system can formulate a corresponding plan for the second time period based on the minimum number of developers and the minimum number of devices, thus ensuring that all updates of the remaining software are completed within the second time period.

[0084] In an optional embodiment, the software update system may further determine the target number of developers based on the minimum number of developers, wherein the target number of developers is greater than or equal to the minimum number of developers. Simultaneously, the software update system may also determine the target number of devices based on the minimum number of devices, wherein the target number of devices is greater than or equal to the minimum number of devices. Finally, the software update system adjusts the target plan content in the software update plan according to the target number of developers and the target number of devices to obtain the target software update plan. The target plan content is the plan content in the software update plan corresponding to the second time period. The target software update plan is used to complete the update of the remaining software within the second time period based on the target number of developers and the target number of devices.

[0085] It's important to note that if the remaining software is updated directly based on the minimum number of developers and devices, the update efficiency must not decrease to ensure all remaining software is updated by the end of the second time period. Therefore, to avoid situations where a decrease in update efficiency prevents the software update plan from being completed, the software update system can add more developers and devices beyond the minimum required number. Since the duration of the second time period remains unchanged, even with increased personnel and equipment, and a slight decrease in update efficiency, the update of all remaining software can still be completed according to the target software update plan.

[0086] As described above, in this application, when the number of software items requiring updates changes (from N to M), this application automatically adjusts the plan content corresponding to the second time period by obtaining plan adjustment information, thereby adjusting the entire software update plan and obtaining the target software update plan. Since the target software update plan is used to instruct the completion of updating the remaining software within the second time period, and the second time period is the time period from the target time to the end of the preset time period, and the remaining software consists of the M software items that have not been updated, all software items after the change in quantity can be updated according to the target software update plan.

[0087] Therefore, the technical solution of this application achieves the goal of automatically adjusting the software update plan when the number of software that needs to be updated changes, thereby shortening the software update plan adjustment time and saving a lot of manpower and technical costs required in the plan adjustment process. It also solves the technical problem of low plan adjustment efficiency caused by the fact that the adjustment of software update plans mainly relies on manual adjustment in the prior art.

[0088] Example 2

[0089] This embodiment provides an optional software update plan generation device, wherein each implementation unit / module in the software update plan adjustment device corresponds to each implementation step in Embodiment 1.

[0090] Figure 5 This is a schematic diagram of an optional software update plan adjustment device provided according to an embodiment of this application, such as... Figure 5 As shown, it includes: a first acquisition module 501, a detection module 502, a second acquisition module 503, and an adjustment module 504.

[0091] Specifically, the first acquisition module 501 is used to acquire a software update plan, wherein the software update plan is used to indicate that N software programs will be updated within a preset time period, where N is a positive integer; the detection module 502 is used to update the N software programs according to the software update plan, and detect whether the plan adjustment information corresponding to the software update plan is received at a target time, wherein the target time is within the preset time period, and the plan adjustment information is used to adjust the number of software programs that need to be updated from N to M, where M is a positive integer greater than or less than N; the second acquisition module 503 is used to acquire the number of software programs that have been updated within the first time period when the plan adjustment information is received, thereby obtaining the number of updated software programs, wherein the first time period is the time period from the start time of the preset time period to the target time; the adjustment module 504 is used to adjust the software update plan according to the plan adjustment information and the number of updated software programs to obtain a target software update plan, wherein the target software update plan is used to indicate that the remaining software programs will be updated within a second time period, wherein the second time period is the time period from the target time to the end time of the preset time period, and the remaining software programs are the software programs that have not been updated among the M software programs.

[0092] Optionally, the software update plan adjustment device further includes: a time period division module, a plan decomposition module, and a determination module. The time period division module divides a preset time period into K sub-time periods, where K is a positive integer. The plan decomposition module decomposes the software update plan into K sub-plans based on the K sub-time periods, where each sub-plan corresponds to a sub-time period, and each sub-plan is used to complete a preset number of software updates within the sub-time period corresponding to that sub-plan, where the preset number is less than N. The determination module determines the end time of each sub-time period as the target time.

[0093] Optionally, the software update plan adjustment device further includes: a detection module, a receiving module, and a blocking module. The detection module detects whether the identifier of the object sending the plan adjustment information is an identifier in a preset list, wherein the preset list records the identifiers of objects with the authority to adjust the software update plan. The receiving module receives the plan adjustment information if the identifier of the object sending the plan adjustment information is an identifier in the preset list. The blocking module blocks the receiving of the plan adjustment information if the identifier of the object sending the plan adjustment information is not recorded in the preset list.

[0094] Optionally, the adjustment module further includes: a first determining unit, a second determining unit, and a first adjusting unit. The first determining unit is used to determine the number of developers and devices required to update the software of the specified number of software items within a first time period, based on the software update plan. The second determining unit is used to determine the software update efficiency based on the number of updated software items and the duration of the first time period, where software update efficiency represents the time required for the number of developers and devices to complete the update of a single piece of software. The first adjusting unit is used to adjust the software update plan based on plan adjustment information, the number of updated software items, and the software update efficiency to obtain a target software update plan.

[0095] Optionally, the first adjustment unit further includes: a first determining subunit, a second determining subunit, and a third determining subunit. The first determining subunit is used to determine the number of remaining software based on the plan adjustment information and the number of updated software; the second determining subunit is used to determine the minimum number of developers and the minimum number of devices required to complete the update of all remaining software within the second time period based on the number of remaining software and the software update efficiency; the third determining subunit is used to adjust the software update plan based on the minimum number of developers and the minimum number of devices to obtain the target software update plan.

[0096] Optionally, the second determining sub-unit further includes: a first calculation sub-module, a second calculation sub-module, a third calculation sub-module, and a fourth calculation sub-module. The first calculation sub-module is used to calculate the ratio of the duration of the second time period to the software update efficiency to obtain a first value; the second calculation sub-module is used to calculate the ratio of the number of remaining software programs to the first value to obtain a second value; the third calculation sub-module is used to calculate the product of the second value and the number of developers to obtain the minimum number of developers; and the fourth calculation sub-module is used to calculate the product of the second value and the number of devices to obtain the minimum number of devices.

[0097] Optionally, the third determining sub-unit further includes: a first determining sub-module, a second determining sub-module, and a first adjusting sub-module. The first determining sub-module is used to determine the target number of developers based on the minimum number of developers, wherein the target number of developers is greater than or equal to the minimum number of developers. The second determining sub-module is used to determine the target number of devices based on the minimum number of devices, wherein the target number of devices is greater than or equal to the minimum number of devices. The first adjusting sub-module is used to adjust the target plan content in the software update plan based on the target number of developers and the target number of devices to obtain the target software update plan, wherein the target plan content is the plan content in the software update plan corresponding to the second time period, and the target software update plan is used to complete the update of the remaining software within the second time period based on the target number of developers and the target number of devices.

[0098] Example 3

[0099] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer program, and the computer program is configured to execute the adjustment method of the software update plan in Embodiment 1 when it is run.

[0100] Example 4

[0101] According to another aspect of the embodiments of this application, an electronic device is also provided. For example... Figure 6 As shown, the electronic device includes one or more processors and a memory; the memory is used to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are configured to run the programs, wherein the programs are configured to execute the software update plan adjustment method in Embodiment 1 above.

[0102] Optionally, the processor executes the following steps when running the program: obtaining a software update plan, wherein the software update plan is used to instruct N software programs to be updated within a preset time period, where N is a positive integer; updating the N software programs according to the software update plan, and detecting whether the plan adjustment information corresponding to the software update plan is received at a target time, wherein the target time is within the preset time period, and the plan adjustment information is used to adjust the number of software programs that need to be updated from N to M, where M is a positive integer greater than or less than N; if the plan adjustment information is received, obtaining the number of software programs that have been updated within the first time period from the N software programs, thus obtaining the number of updated software programs, wherein the first time period is the time period from the start time of the preset time period to the target time; adjusting the software update plan according to the plan adjustment information and the number of updated software programs to obtain a target software update plan, wherein the target software update plan is used to instruct the remaining software programs to be updated within a second time period, wherein the second time period is the time period from the target time to the end time of the preset time period, and the remaining software programs are the software programs that have not been updated among the M software programs.

[0103] Furthermore, when the processor executes the program, it also performs the following steps: after obtaining the software update plan, it divides the preset time period into K sub-time periods, where K is a positive integer; it decomposes the software update plan into K sub-plans according to the K sub-time periods, where each sub-plan corresponds to a sub-time period, and each sub-plan is used to complete the update of a preset number of software within the sub-time period corresponding to the sub-plan, where the preset number is less than N; and it determines the end time of each sub-time period as the target time.

[0104] Furthermore, when the processor executes the program, it also performs the following steps: during the process of detecting whether the plan adjustment information corresponding to the software update plan has been received at the target time, it detects whether the identifier of the object sending the plan adjustment information is an identifier in a preset list, wherein the preset list is used to record the identifiers of objects with the authority to adjust the software update plan; if the identifier of the object sending the plan adjustment information is an identifier in the preset list, the plan adjustment information is received; if the identifier of the object sending the plan adjustment information is not recorded in the preset list, the receiving of the plan adjustment information is prohibited.

[0105] Furthermore, when the processor executes the program, it also performs the following steps: determining the number of developers and devices required to update the software based on the software update plan within the first time period; determining the software update efficiency based on the number of updated software and the duration of the first time period, wherein the software update efficiency represents the time required for developers and devices based on the number of developers and devices to complete the update of a single piece of software; and adjusting the software update plan based on the plan adjustment information, the number of updated software, and the software update efficiency to obtain the target software update plan.

[0106] Furthermore, when the processor executes the program, it also performs the following steps: determining the number of remaining software based on the plan adjustment information and the number of updated software; determining the minimum number of developers and the minimum number of devices required to complete the update of all remaining software in the second time period based on the number of remaining software and the software update efficiency; and adjusting the software update plan based on the minimum number of developers and the minimum number of devices to obtain the target software update plan.

[0107] Furthermore, when the processor executes the program, it also performs the following steps: calculates the ratio of the duration of the second time period to the software update efficiency to obtain a first value; calculates the ratio of the number of remaining software programs to the first value to obtain a second value; calculates the product of the second value and the number of developers to obtain the minimum number of developers; and calculates the product of the second value and the number of devices to obtain the minimum number of devices.

[0108] Furthermore, when the processor executes the program, it also performs the following steps: determining the target number of developers based on the minimum number of developers, wherein the target number of developers is greater than or equal to the minimum number of developers; determining the target number of devices based on the minimum number of devices, wherein the target number of devices is greater than or equal to the minimum number of devices; adjusting the target plan content in the software update plan based on the target number of developers and the target number of devices to obtain the target software update plan, wherein the target plan content is the plan content in the software update plan corresponding to the second time period, and the target software update plan is used to complete the update of the remaining software within the second time period based on the number of developers and the number of devices.

[0109] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0110] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0111] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

[0112] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0113] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0114] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0115] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for adjusting a software update plan, characterized in that, include: Obtain a software update plan, wherein the software update plan is used to indicate that N software programs will be updated within a preset time period, where N is a positive integer; The software is updated according to the software update plan, and the plan adjustment information corresponding to the software update plan is detected at the target time. The target time is within the preset time period, and the plan adjustment information is used to adjust the number of software to be updated from N to M, where M is a positive integer greater than or less than N. Upon receiving the plan adjustment information, the number of software programs that have been updated within the first time period among the N software programs is obtained, and the number of updated software programs is obtained, wherein the first time period is the time period from the start time of the preset time period to the target time period; The software update plan is adjusted according to the plan adjustment information and the number of updated software to obtain a target software update plan. The target software update plan is used to indicate that the update of the remaining software is completed within a second time period. The second time period is the time period from the target time to the end time of the preset time period. The remaining software is the software that has not been updated among M software. Adjusting the software update plan based on the plan adjustment information and the number of updated software to obtain the target software update plan specifically includes: determining the number of developers and devices required to complete the update of the number of updated software within the first time period based on the software update plan; determining the software update efficiency based on the number of updated software and the duration of the first time period, wherein the software update efficiency represents the time required for the number of developers and devices to complete the update of a single software based on the number of developers and devices; and adjusting the software update plan based on the plan adjustment information, the number of updated software, and the software update efficiency to obtain the target software update plan.

2. The method according to claim 1, characterized in that, After obtaining the software update schedule, the method further includes: The preset time period is divided into K sub-time periods, where K is a positive integer; The software update plan is decomposed into K sub-plans based on the K sub-time periods, wherein each sub-plan corresponds to a sub-time period, and each sub-plan is used to complete the update of a preset number of software within the sub-time period corresponding to that sub-plan, wherein the preset number is less than N; The end time of each sub-time period is determined as the target time.

3. The method according to claim 1, characterized in that, In the process of detecting whether the plan adjustment information corresponding to the software update plan has been received at the target time, the method further includes: The system detects whether the identifier of the object sending the plan adjustment information is an identifier in a preset list, wherein the preset list is used to record the identifiers of objects with the authority to adjust the software update plan; If the identifier of the object sending the plan adjustment information is an identifier in a preset list, the plan adjustment information is received; If the identifier of the object sending the plan adjustment information is not recorded in the preset list, receiving the plan adjustment information is prohibited.

4. The method according to claim 1, characterized in that, The software update plan is adjusted based on the plan adjustment information, the number of updated software programs, and the software update efficiency to obtain the target software update plan, including: The number of remaining software is determined based on the plan adjustment information and the number of updated software. The minimum number of developers and the minimum number of devices required to complete the update of all the remaining software within the second time period are determined based on the number of remaining software and the software update efficiency. The software update plan is adjusted based on the minimum number of developers and the minimum number of devices to obtain the target software update plan.

5. The method according to claim 4, characterized in that, Based on the quantity of remaining software and the software update efficiency, determine the minimum number of developers and the minimum number of devices required to complete the update of all remaining software within the second time period, including: Calculate the ratio of the duration of the second time period to the software update efficiency to obtain the first value; Calculate the ratio of the number of remaining software programs to the first value to obtain the second value; Calculate the product of the second value and the number of developers to obtain the minimum number of developers; The minimum number of devices is obtained by multiplying the second value by the number of devices.

6. The method according to claim 4, characterized in that, The software update plan is adjusted based on the minimum number of developers and the minimum number of devices to obtain the target software update plan, including: The target number of developers is determined based on the minimum number of developers, wherein the target number of developers is greater than or equal to the minimum number of developers; The target number of devices is determined based on the minimum number of devices, wherein the target number of devices is greater than or equal to the minimum number of devices; The target software update plan is obtained by adjusting the target plan content in the software update plan according to the target number of developers and the target number of devices. The target plan content is the plan content in the software update plan corresponding to the second time period. The target software update plan is used to complete the update of the remaining software within the second time period based on the target number of developers and the target number of devices.

7. A device for adjusting a software update plan, characterized in that, include: The first acquisition module is used to acquire a software update plan, wherein the software update plan is used to indicate that N software programs will be updated within a preset time period, where N is a positive integer; The detection module is used to update the N software according to the software update plan, and to detect whether the plan adjustment information corresponding to the software update plan is received at the target time. The target time is located within the preset time period, and the plan adjustment information is used to adjust the number of software that needs to be updated from N to M, where M is a positive integer greater than or less than N. The second acquisition module is used to acquire, upon receiving the plan adjustment information, the number of software programs that have been updated within a first time period among the N software programs, and obtain the number of updated software programs, wherein the first time period is the time period from the start time of the preset time period to the target time. An adjustment module is used to adjust the software update plan according to the plan adjustment information and the number of updated software to obtain a target software update plan. The target software update plan is used to indicate that the update of the remaining software will be completed within a second time period. The second time period is the time period from the target time to the end time of the preset time period. The remaining software is the software that has not been updated among M software. Adjusting the software update plan based on the plan adjustment information and the number of updated software to obtain the target software update plan specifically includes: determining the number of developers and devices required to complete the update of the number of updated software within the first time period based on the software update plan; determining the software update efficiency based on the number of updated software and the duration of the first time period, wherein the software update efficiency represents the time required for the number of developers and devices to complete the update of a single software based on the number of developers and devices; and adjusting the software update plan based on the plan adjustment information, the number of updated software, and the software update efficiency to obtain the target software update plan.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the adjustment method of the software update plan as described in any one of claims 1 to 6.

9. An electronic device, characterized in that, It includes one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the adjustment method of the software update plan as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Engineering online management method and system

    CN113362028A

  • Deployment of software applications on server clusters

    US20200192651A1