Software updating method and device based on iOS platform, equipment and medium

By providing download strategy selection and breakpoint resume mechanism on the iOS platform, the problem of traffic consumption during background download of applications is solved, and intelligent traffic management and improved user experience are achieved.

CN120670007APending Publication Date: 2025-09-19珠海剑心互动娱乐有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510717971.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-30
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

On the iOS platform, applications cannot monitor changes in network status when downloading in the background, resulting in traffic consumption when users switch network environments, affecting user experience and causing economic losses.

Method used

Multiple download policy options are displayed in the user interface, allowing users to choose whether to allow downloading under traffic conditions, and generate corresponding download service requests to ensure that the download policy remains consistent when the network environment changes, including breakpoint resumption and verification mechanisms to ensure download integrity.

Benefits of technology

It effectively avoids accidental consumption of user traffic, improves user experience, avoids economic losses, and improves download efficiency and transparency through breakpoint resumption and progress display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120670007A_ABST
    Figure CN120670007A_ABST
Patent Text Reader

Abstract

The invention discloses a software updating method and device based on an iOS platform, equipment and a medium, and the method comprises the steps: when updating prompt information corresponding to target software sent by a server is received, displaying option fields corresponding to a plurality of different downloading strategies in a user interface; in response to a target field selected by a user from the option field, generating and sending a download service request to the iOS platform based on the target field, a software identifier corresponding to the target software and the update prompt information, so that the iOS platform downloads a target software update package to the software client according to a download strategy corresponding to the target field, and updating the target software based on the target software update package. Before the software is downloaded, the user is inquired to select the downloading strategy, and resource downloading is carried out based on the downloading strategy, so that even if the network environment is changed after the target software is downloaded in the background, the downloading mode selected by the user can be maintained, the situation that the mobile phone traffic of the user is consumed under the condition that the user does not know the situation is avoided, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to, but is not limited to, the field of data processing technology, and in particular to a software update method, apparatus, device, and medium based on an iOS platform. Background Art

[0002] On the iOS platform, after an application registers with the iOS download service to download resources, when the application exits and continues to download resources in the background, the application is in a suspended state. If the current user's network environment changes, such as switching from Wi-Fi to data traffic, the iOS platform prohibits suspended applications from monitoring the global network status. Therefore, the application suspended in the background cannot monitor the network status change and interrupt the download in time, which in turn causes the user's data traffic to be consumed, affecting the user experience. Summary of the Invention

[0003] The embodiments of the present application provide a software update method, apparatus, device, and medium based on the iOS platform, which can effectively avoid accidental consumption of user traffic, avoid economic losses, and improve user experience.

[0004] In a first aspect, an embodiment of the present application provides a software update method based on an iOS platform, which is applied to a software client, wherein the software client is associated with target software, and the software client is respectively connected to the iOS platform and a server for communication, and the method includes:

[0005] Upon receiving update prompt information corresponding to the target software sent by the server, a plurality of option fields are displayed in the user interface of the software client, wherein different option fields are used to indicate different download policies for the target software, and the download policies corresponding to the option fields include at least allowing downloads in both traffic state and wifi state, and allowing downloads only in wifi state;

[0006] In response to a target field selected by the user from the option field, generating a download service request based on the target field, a software identifier corresponding to the target software, and the update prompt information, and sending the download service request to the iOS platform, so that the iOS platform downloads a target software update package corresponding to the target software according to the download policy corresponding to the target field;

[0007] Receive the target software update package sent by the iOS platform, and update the target software based on the target software update package.

[0008] In some embodiments, the software client corresponds to a target host, and generating a download service request based on the target field, the software identifier corresponding to the target software, and the update prompt information includes:

[0009] Determine the target number of concurrent download tasks based on the number of CPU cores of the target host;

[0010] A download service request is generated based on the target field, the target number of concurrent download tasks, the update prompt information and the software identifier.

[0011] In some embodiments, the update prompt information includes a first verification code corresponding to the target software update package, and receiving the target software update package sent by the iOS platform includes:

[0012] When receiving download completion information for the download service request fed back by the iOS platform, wherein the download completion information includes an initial update package;

[0013] A second verification code corresponding to the initial update package is calculated, and the second verification code is matched with the first verification code to obtain a matching result. When the matching result indicates a successful match, the initial update package is determined as the target software update package.

[0014] In some embodiments, after sending the download service request to the iOS platform, the method further includes:

[0015] When the matching result indicates a matching failure, deleting the initial update package and recording the number of matching failures;

[0016] Resend the download service request to the iOS platform.

[0017] In some embodiments, after sending the download service request to the iOS platform, the method further includes:

[0018] Get the preset number threshold;

[0019] The current number of matching failures is determined in real time, and when the number of matching failures is greater than or equal to the number threshold, the operation of sending the download service request to the iOS platform is stopped.

[0020] In some embodiments, after sending the download service request to the iOS platform, the method further includes:

[0021] When the download of the target software is interrupted, receiving recovery data sent by the iOS platform, wherein the recovery data is used for resuming the download from the breakpoint, and the recovery data includes a downloaded byte range and a download status data block corresponding to the target software update package where the download was interrupted;

[0022] Saving the first download address, the second verification code, and the recovery data corresponding to the target software update package whose download is interrupted;

[0023] When new update prompt information is received, the second download address in the new update prompt information is the same as the first download address, and the third verification code in the new update prompt information is the same as the second verification code, and breakpoint resume is performed based on the recovery data.

[0024] In some embodiments, before receiving the target software update package sent by the iOS platform, the method further includes:

[0025] When the target software is running in the foreground of the iOS platform, periodically requesting the iOS platform for download progress of the target software, and receiving download progress information fed back by the iOS platform;

[0026] The download progress information is displayed on the user interface.

[0027] In a second aspect, an embodiment of the present application provides a control device comprising at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor to enable the at least one control processor to execute the iOS platform-based software update method as described in the first aspect.

[0028] In a third aspect, an embodiment of the present application further provides an electronic device comprising the control device of the second aspect.

[0029] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the software update method based on the iOS platform as described in the first aspect.

[0030] The embodiment of the present application provides a software update method, apparatus, device and medium based on the iOS platform, the method comprising: upon receiving update prompt information corresponding to the target software, displaying multiple option fields in the user interface of the software client, wherein different option fields are used to indicate different download policies for the target software, wherein the download policies corresponding to the option fields include at least allowing download in both traffic state and wifi state, and allowing download in only wifi state, and the update prompt information is sent by the server; in response to a target field selected by the user from the option field, generating a download service request based on the target field, the software identifier corresponding to the target software and the update prompt information, and sending the download service request to the iOS platform so that the iOS platform downloads the target software update package corresponding to the target software according to the download policy corresponding to the target field; receiving the target software update package sent by the iOS platform, and updating the target software based on the target software update package. According to the solution provided by the embodiment of the present application, before downloading the software, the user is asked whether to allow the consumption of data flow for downloading, and the resource download is performed based on the download policy selected by the user. Even if the target software switches the network environment after entering the background download phase, the download method selected by the user can be maintained, thereby avoiding the situation of consuming the user's mobile phone data flow, avoiding economic losses, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 This is a flowchart of the steps of a software update method based on the iOS platform provided by one embodiment of the present application;

[0032] Figure 2 This is a structural diagram of a control device provided in another embodiment of the present application. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0034] It is understood that although the device schematics illustrate functional module divisions and the flowcharts illustrate logical sequences, in certain circumstances, the steps shown or described may be performed in a sequence that differs from the module divisions in the device or the sequence in the flowcharts. The terms "first," "second," and the like in the specification, claims, or accompanying drawings are used to distinguish similar items and are not necessarily used to describe a specific sequence or precedence.

[0035] On the iOS platform, after an application registers with the iOS download service to download resources, when the application exits and continues to download resources in the background, the application is in a suspended state. If the current user's network environment changes, such as switching from Wi-Fi to data traffic, the iOS platform prohibits suspended applications from monitoring the global network status. Therefore, the application suspended in the background cannot monitor the network status change and interrupt the download in time, which in turn causes the user's data traffic to be consumed, affecting the user experience.

[0036] To solve the above-mentioned problems, an embodiment of the present application provides a software update method, apparatus, device and medium based on an iOS platform, the method comprising: when receiving update prompt information corresponding to the target software sent by the server, displaying multiple option fields in the user interface of the software client, wherein different option fields are used to indicate different download strategies for the target software, and the download strategies corresponding to the option fields include at least allowing downloads in both traffic state and wifi state, and only allowing downloads in wifi state, and the update prompt information is sent by the server; in response to a target field selected by a user from the option field, generating a download service request based on the target field, the software identifier corresponding to the target software and the update prompt information, and sending the download service request to the iOS platform, so that the iOS platform downloads the target software update package corresponding to the target software according to the download strategy corresponding to the target field; receiving the target software update package sent by the iOS platform, and updating the target software based on the target software update package. According to the solution provided in the embodiment of the present application, the user is asked whether to allow the consumption of data for downloading before the software is downloaded, and the resource download is performed based on the download strategy selected by the user. Even if the network environment is switched after the target software enters the background download stage, the download method selected by the user can be maintained, avoiding the situation where the user's mobile phone data is consumed without the user's knowledge, avoiding economic losses, and improving the user experience.

[0037] The embodiments of the present application are further described below with reference to the accompanying drawings.

[0038] refer to Figure 1 , Figure 1 This is a flowchart of a software update method based on an iOS platform provided by an embodiment of the present application. The embodiment of the present application provides a software update method based on an iOS platform. The method is applied to a software client, the software client is associated with the target software, and the software client is respectively connected to the iOS platform and the server. The method includes but is not limited to the following steps:

[0039] In step S10, when the update prompt information corresponding to the target software sent by the server is received, multiple option fields are displayed in the user interface of the software client, wherein different option fields are used to indicate different download strategies for the target software, and the download strategies corresponding to the option fields at least include allowing downloads in both traffic state and wifi state, and allowing downloads only in wifi state.

[0040] It can be understood that when the update prompt information corresponding to the target software is received from the server, it means that the current target software needs to be updated. Before the target software registers for the download service with the iOS platform, this embodiment first displays multiple option fields in the user interface, that is, providing users with the option to select an update download strategy. When the target software subsequently enters the background download stage and switches the network environment, it provides an effective data basis for maintaining the download method selected by the user to download resources. In this way, it can avoid consuming the user's mobile phone traffic without the user's knowledge, avoid economic losses, and improve user experience.

[0041] Specifically, this embodiment does not limit the way in which the user selects the option field, which may be clicking the control or checking the box for confirmation.

[0042] Step S20, in response to the target field selected by the user from the option field, generates a download service request based on the target field, the software identifier corresponding to the target software, and the update prompt information, and sends the download service request to the iOS platform, so that the iOS platform downloads the target software update package corresponding to the target software according to the download policy corresponding to the target field.

[0043] Specifically, the download service request in this embodiment uses the software identifier as the unique identifier. For example, if the target software is game software, the game package name is used as the identifier to register the download service of the system to avoid confusion or conflict with the download services of other games or applications, and customize the callbacks of events such as download completion and failure.

[0044] Specifically, when the user selects option field 2 "Only allow downloading in wifi state" from the option field, option field 2 is determined as the target field, and a download service request is generated based on the target field, the software identifier corresponding to the target software, and the update prompt information, and the download service request is sent to the iOS platform, so that the iOS platform downloads the target software update package corresponding to the target software according to the download policy corresponding to the target field. Regardless of whether the target software is in the background or foreground running state, if the network environment switches from the wifi state to the mobile data state, the target software suspends the operation of downloading the target software update package until the network environment switches back to the wifi state, and then resumes the download. When the user selects option field 1 "Allow downloading in data state and wifi state" from the option field, option field 1 is determined as the target field, and a download service request is generated based on the target field, the software identifier corresponding to the target software, and the update prompt information, and the download service request is sent to the iOS platform, so that the iOS platform downloads the target software update package corresponding to the target software according to the download policy corresponding to the target field. Regardless of whether the target software is in the background or foreground running state, if the network environment switches from the wifi state to the mobile data state, the download operation of the target software is maintained.

[0045] In addition, this embodiment displays the file size of the update package of the corresponding target software when the online option field is displayed.

[0046] Specifically, in some embodiments, the software client corresponds to a target host. Figure 1 Step S20 includes but is not limited to the following steps:

[0047] Step S21, determining the target number of concurrent download tasks based on the number of CPU cores of the target host;

[0048] Step S22: Generate a download service request based on the target field, the target number of concurrent download tasks, the update prompt information, and the software identifier.

[0049] Specifically, the target host in this embodiment is an electronic device installed with target software.

[0050] It can be understood that this embodiment sets the target concurrent download task number corresponding to the update package download operation to the CPU core number of the target host, and generates a download service request based on the target field, target concurrent download task number, update prompt information and software identifier. In this way, the download efficiency of the target software update package can be effectively improved.

[0051] Step S30: receiving a target software update package sent by the iOS platform, and updating the target software based on the target software update package.

[0052] Specifically, in some embodiments, the update prompt information includes a first verification code corresponding to the target software update package. Step S30 of receiving the target software update package sent by the iOS platform includes but is not limited to the following steps:

[0053] Step S31: upon receiving download completion information for the download service request fed back by the iOS platform, wherein the download completion information includes the initial update package;

[0054] Step S32 , calculating a second verification code corresponding to the initial update package, matching the second verification code with the first verification code to obtain a matching result, and when the matching result indicates a successful match, determining the initial update package as the target software update package.

[0055] Specifically, this embodiment does not limit the specific type of the check code, and it can be an MD5 check code.

[0056] Specifically, the first verification code of this embodiment is the expected verification code for the target software update package sent by the server. When the second verification code of the update package downloaded by the iOS platform is consistent with the first verification code, it indicates that the download task is completed and the integrity, authenticity and reliability of the downloaded software package are guaranteed, thereby ensuring the correct update operation of the target software.

[0057] It can be understood that when the iOS platform completes downloading the target software update package corresponding to the target software according to the download policy corresponding to the target field, the software client will first receive the download completion information for the download service request fed back by the iOS platform, and the download completion information includes the initial update package; at this time, in order to ensure the quality of the update, this embodiment will first calculate the second verification code corresponding to the initial update package, and match the second verification code with the first verification code of the update prompt information. When the matching result indicates a successful match, the initial update package is determined as the target software update package.

[0058] Specifically, in some embodiments, when executing Figure 1 After sending the download service request to the iOS platform in step S20, the software update method based on the iOS platform in the embodiment of the present application further includes but is not limited to the following steps:

[0059] Step S23: When the matching result indicates a matching failure, the initial update package is deleted and the number of matching failures is recorded;

[0060] Step S24: resend the download service request to the iOS platform.

[0061] Specifically, in some embodiments, when executing Figure 1 After sending the download service request to the iOS platform in step S20, the software update method based on the iOS platform in the embodiment of the present application further includes but is not limited to the following steps:

[0062] Step S25, obtaining a preset number threshold;

[0063] Step S26: determining the current number of matching failures in real time, and stopping the operation of sending the download service request to the iOS platform when the number of matching failures is greater than or equal to the number threshold.

[0064] It can be understood that after sending a download service request to the iOS platform, this embodiment resends the download service request to the iOS platform when it detects that the matching result indicates a matching failure, that is, the verification code fails. Because there is a risk of damage or tampering due to the initial update package download when the verification code fails, immediate deletion of the initial update package can avoid the system from misusing dangerous files and reduce security risks. This embodiment records the number of matching failures each time a matching failure occurs, and determines the current number of matching failures in real time. When the number of matching failures is greater than or equal to the number threshold, the operation of sending the download service request to the iOS platform is stopped. That is, this embodiment allows automatic recovery due to temporary network jitter and other problems, and avoids infinite retries due to continuous failures (such as server failures, long-term unavailability of URLs), which wastes resources. It gives up and prompts the user after the number of matching failures is greater than or equal to the number threshold, instead of letting the target host background continue to make meaningless requests for download services, thereby optimizing the software update experience.

[0065] Specifically, in some embodiments, when executing Figure 1 After sending the download service request to the iOS platform in step S20, the software update method based on the iOS platform in the embodiment of the present application further includes but is not limited to the following steps:

[0066] Step S27, when the download of the target software is interrupted, receiving the recovery data sent by the iOS platform, wherein the recovery data is used for resuming the download from the breakpoint, and the recovery data includes the downloaded byte range and download status data block corresponding to the target software update package where the download was interrupted;

[0067] Step S28, saving the first download address, second verification code, and recovery data corresponding to the target software update package whose download is interrupted;

[0068] Step S29: When a new update prompt message is received, the second download address in the new update prompt message is the same as the first download address, and the third check code in the new update prompt message is the same as the second check code, and breakpoint resuming is performed based on the recovery data.

[0069] It can be understood that in the event of an interruption in the target software update, this embodiment first receives the recovery data sent by the iOS platform, and saves the first download address, second verification code and recovery data corresponding to the target software update package where the download is interrupted locally on the software client, providing an effective data basis for subsequent breakpoint resumption operations; when a new update prompt message is received, the second download address in the new update prompt message is the same as the first download address, and the third verification code in the new update prompt message is the same as the second verification code (that is, the continue download instruction of the target software currently interrupted is received), the software client resumes the download based on the recovery data. In this way, repeated download transmissions can be effectively avoided, time and traffic resources can be avoided, and users can choose to pause or continue downloading the software update package at any time without worrying about affecting the update progress.

[0070] In addition, after the breakpoint resume is completed or the target software update package is determined, this embodiment cancels all download tasks and destroys the download service to avoid occupying the target host resources.

[0071] Additionally, in some embodiments, when executing Figure 1 Before receiving the target software update package sent by the iOS platform in step S30, the iOS platform-based software update method of the embodiment of the present application further includes but is not limited to the following steps:

[0072] Step S41: When the target software is running in the foreground of the iOS platform, the download progress of the target software is periodically requested from the iOS platform, and the download progress information fed back by the iOS platform is received;

[0073] Step S42: Display download progress information on the user interface.

[0074] It can be understood that, in this embodiment, when the target software is running in the foreground of the iOS platform, it periodically requests the iOS platform for the download progress of the target software, receives the download progress information fed back by the iOS platform, and displays the download progress information on the user interface, so that the download progress can be fed back to the user in a timely manner, and the user clearly knows the download status (whether it is proceeding normally and how much has been completed), avoiding the "information black hole" problem while the user is waiting for the download, and improving the user experience.

[0075] like Figure 2 As shown, Figure 2 : is a structural diagram of a control device provided in one embodiment of the present application. The present invention also provides a control device 200, comprising:

[0076] The processor 210 may be implemented as a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is configured to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.

[0077] The memory 220 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 220 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 220 and is called by the processor 210 to execute the software update method based on the iOS platform in the embodiments of this application.

[0078] Input / output interface 230, used to implement information input and output;

[0079] Communication interface 240, used to implement communication interaction between the apparatus and other devices, which can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WiFi, Bluetooth, etc.);

[0080] bus 250 , which transmits information between the various components of the device (e.g., processor 210 , memory 220 , input / output interface 230 , and communication interface 240 );

[0081] The processor 210 , the memory 220 , the input / output interface 230 and the communication interface 240 are connected to each other in communication within the device via the bus 250 .

[0082] In addition, an embodiment of the present application further provides an electronic device, including the control device 200 of the above embodiment.

[0083] In addition, an embodiment of the present application further provides a storage medium, which is a computer-readable storage medium and stores a computer program. When the computer program is executed by a processor, the above-mentioned software update method based on the iOS platform is implemented.

[0084] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory optionally includes a memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of the above-mentioned networks include but are not limited to the Internet, an intranet, a local area network, a mobile communication network and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0085] Those skilled in the art will appreciate that all or some of the steps and systems in the method disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include computer storage media (or non-transitory media) and communication media (or temporary media). As known to those skilled in the art, the term computer storage media is included in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data) and is volatile and non-volatile, removable, and non-removable. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory, or other memory technology, CD-ROM, digital versatile disks (DVD), or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage, or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, as is well known to those skilled in the art, communication media typically includes computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0086] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above implementation. Those skilled in the art can also make various equivalent modifications or substitutions under the shared conditions that do not violate the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present invention.

Claims

1. A software update method based on iOS platform, characterized in that: Applied to a software client, the software client is associated with a target software, and the software client is respectively connected to an iOS platform and a server, the method comprising: Upon receiving update prompt information corresponding to the target software sent by the server, a plurality of option fields are displayed in the user interface of the software client, wherein different option fields are used to indicate different download policies for the target software, and the download policies corresponding to the option fields include at least allowing downloads in both traffic state and wifi state, and allowing downloads only in wifi state; In response to a target field selected by the user from the option field, generating a download service request based on the target field, a software identifier corresponding to the target software, and the update prompt information, and sending the download service request to the iOS platform, so that the iOS platform downloads a target software update package corresponding to the target software according to the download policy corresponding to the target field; Receive the target software update package sent by the iOS platform, and update the target software based on the target software update package.

2. The iOS platform-based software update method according to claim 1, characterized in that: The software client corresponds to a target host, and generates a download service request based on the target field, the software identifier corresponding to the target software, and the update prompt information, including: Determine the target number of concurrent download tasks based on the number of CPU cores of the target host; A download service request is generated based on the target field, the target number of concurrent download tasks, the update prompt information and the software identifier.

3. The iOS platform-based software update method according to claim 1, characterized in that: The update prompt information includes a first verification code corresponding to the target software update package, and receiving the target software update package sent by the iOS platform includes: When receiving download completion information for the download service request fed back by the iOS platform, wherein the download completion information includes an initial update package; A second verification code corresponding to the initial update package is calculated, and the second verification code is matched with the first verification code to obtain a matching result. When the matching result indicates a successful match, the initial update package is determined as the target software update package.

4. The iOS platform-based software update method according to claim 3, characterized in that: After sending the download service request to the iOS platform, the method further includes: When the matching result indicates a matching failure, deleting the initial update package and recording the number of matching failures; Resend the download service request to the iOS platform.

5. The iOS platform-based software update method according to claim 4, characterized in that: After sending the download service request to the iOS platform, the method further includes: Get the preset number threshold; The current number of matching failures is determined in real time, and when the number of matching failures is greater than or equal to the number threshold, the operation of sending the download service request to the iOS platform is stopped.

6. The iOS platform-based software update method according to claim 3, characterized in that: After sending the download service request to the iOS platform, the method further includes: When the download of the target software is interrupted, receiving recovery data sent by the iOS platform, wherein the recovery data is used for resuming the download from the breakpoint, and the recovery data includes a downloaded byte range and a download status data block corresponding to the target software update package where the download was interrupted; Saving the first download address, the second verification code, and the recovery data corresponding to the target software update package whose download is interrupted; When new update prompt information is received, the second download address in the new update prompt information is the same as the first download address, and the third verification code in the new update prompt information is the same as the second verification code, and breakpoint resume is performed based on the recovery data.

7. The iOS platform-based software update method according to claim 1, characterized in that: Before receiving the target software update package sent by the iOS platform, the method further includes: When the target software is running in the foreground of the iOS platform, periodically requesting the iOS platform for download progress of the target software, and receiving download progress information fed back by the iOS platform; The download progress information is displayed on the user interface.

8. A control device, characterized in that: It includes at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor to enable the at least one control processor to execute the iOS platform-based software update method as described in any one of claims 1 to 7.

9. An electronic device, characterized in that: Comprising the control device according to claim 8.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the iOS platform-based software update method according to any one of claims 1 to 7.