Software upgrading control method and device supporting multiple platforms and automobile

By implementing software upgrade control methods that realize automatic detection, intelligent download and silent installation on Android devices, the problem that users in the prior art need to manually check for updates and are easily interrupted during the update process is solved, improving user experience and device security.

CN119829090APending Publication Date: 2025-04-15NANJING KUKAI SMART SCREEN TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411902300.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The software update mechanism of existing Android devices has the problem that users need to manually check for updates and are prone to miss important updates, which may be interrupted during the update process, resulting in failure.

Method used

It provides a software upgrade control method that supports multiple platforms, automatically detects updates regularly through terminals, intelligently selects download timing and network methods, and automatically silently installs updates when the terminal is idle, supporting regular upgrades and AB partition upgrades.

Benefits of technology

It improves user experience and device security, reduces the user's manual operation needs, and ensures the stability and success rate of the update process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119829090A_ABST
    Figure CN119829090A_ABST
Patent Text Reader

Abstract

The invention discloses a software upgrading control method and device supporting multiple platforms and an automobile. The method comprises the steps that a terminal periodically and automatically detects whether available systems or application programs are updated or not; when an available system or application program is detected to be updated, intelligently selecting a corresponding idle time and a spatial network mode to download an update package according to the network condition of the terminal and a preset user update downloading setting; when the update package is downloaded, automatically detecting and analyzing the use condition of the terminal, and judging whether the terminal is in an idle state or not; the specific platform type and the upgrading strategy of the terminal are analyzed, and an upgrading scheme of the terminal is automatically generated; and when detecting that the terminal is in an idle state, automatically installing and updating in a silent manner according to the generated upgrading scheme. The invention provides the method and the system capable of automatically detecting, downloading, installing and updating, and simultaneously supports a plurality of upgrading modes, so that the use experience of a user and the safety of equipment are improved, and convenience is provided for the use of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of in-vehicle entertainment systems, and in particular to a software upgrade control method and device supporting multiple platforms, a smart car and a storage medium. Background Art

[0002] With the popularity of smart devices, users have higher and higher requirements for device performance and security. Smooth and diversified devices are more popular with users. Therefore, timely updates of operating systems and applications are the key to ensuring device performance and security, and can provide users with better quality and more colorful functions. However.

[0003] However, the software update mechanism of most Android devices in the prior art has the following problems: users need to check for updates manually, which may easily lead to missing important updates; and interruptions may occur during the update process, resulting in update failure.

[0004] Therefore, the existing technology still needs to be improved and developed. Summary of the invention

[0005] The technical problem to be solved by the present invention is that, in view of the problems and defects of the above-mentioned prior art, a software upgrade control method, device, smart car and storage medium supporting multiple platforms are provided. The present invention provides a method and system that can automatically detect, download and install updates, and supports multiple upgrade modes at the same time, so as to improve the user experience and the security of the equipment, and provide convenience for users.

[0006] The technical solution adopted by the present invention to solve the problem is as follows:

[0007] A software upgrade control method supporting multiple platforms, including:

[0008] The terminal automatically checks regularly whether there are available system or application updates;

[0009] When an available system or application update is detected, it intelligently selects the corresponding idle time and space network method to download the update package according to the terminal's network status and the user's pre-set update download settings;

[0010] When the update package is downloaded, it automatically detects and analyzes the terminal usage to determine whether the terminal is idle;

[0011] Analyze the specific platform type and upgrade strategy of the terminal and automatically generate an upgrade plan for the terminal;

[0012] When the terminal is detected to be in an idle state, the update is automatically and silently installed according to the generated upgrade plan.

[0013] The software upgrade control method supporting multiple platforms, wherein the step of automatically and silently installing updates according to the generated upgrade scheme when the terminal is detected to be in an idle state comprises:

[0014] Automatically select conventional upgrade or AB partition upgrade mode for upgrade and update according to the hardware and system configuration of the terminal.

[0015] The software upgrade control method supporting multiple platforms, wherein the step of automatically selecting a conventional upgrade or an AB partition upgrade mode for upgrade and update according to the hardware and system configuration of the terminal comprises:

[0016] When the terminal is in the night space upgrade, the conventional upgrade mode is automatically selected, and the conventional upgrade mode is adopted to update the current system partition of the terminal, and the device is automatically restarted after the update is completed;

[0017] When the terminal has AB partitions, the AB partition upgrade method is automatically selected. When the AB partition upgrade method is adopted, the terminal system partition is updated. After the update is completed, the new system partition is switched, and the device does not need to be restarted.

[0018] The software upgrade control method supporting multiple platforms, wherein the step of automatically detecting and analyzing the usage of the terminal and determining whether the terminal is in an idle state when the update package is downloaded is as follows:

[0019] By analyzing the screen status, user activities and application usage of the terminal device, determining whether the terminal is in an idle state; when the terminal screen is off and there is no user activity within a predetermined time, the terminal is determined to be in an idle state;

[0020] For the vehicle control system terminal, the vehicle's shutdown and driving status are analyzed to determine whether the terminal is in an idle state.

[0021] The software upgrade control method supporting multiple platforms, wherein the step of analyzing the specific platform type and upgrade strategy of the terminal and automatically generating an upgrade plan for the terminal comprises:

[0022] Determine the platform type of the device based on the model and movement of the terminal device, whether it is a TV platform, a car platform, or a pad platform;

[0023] According to the upgrade plan configured in the cloud, an upgrade package suitable for the terminal is selected, and the upgrade method in the platform is linked to determine and generate a corresponding terminal upgrade plan.

[0024] The software upgrade control method supporting multiple platforms, wherein the step of automatically and silently installing the update according to the generated upgrade plan when the terminal is detected to be in an idle state further includes:

[0025] When the upgrade package download is complete or the upgrade installation is complete, the control sends the corresponding completion notification to notify the update status.

[0026] The software upgrade control method supporting multiple platforms, wherein the step of automatically and silently installing the update according to the generated upgrade plan when the terminal is detected to be in an idle state further includes:

[0027] When an error occurs during the terminal update process, it automatically records the error information and attempts to recover;

[0028] When recovery fails, the terminal automatically sends a recovery failure notification and displays the corresponding solution.

[0029] A software upgrade control device supporting multiple platforms, wherein the device comprises:

[0030] A periodic detection module is used to control the terminal to automatically detect whether there are available system or application updates;

[0031] An update package download control module is used to intelligently select the corresponding idle time and space network mode to download the update package according to the terminal's network status and the user's pre-set update download settings when an available system or application update is detected;

[0032] The terminal idle state detection module is used to automatically detect and analyze the terminal usage when the update package is downloaded and determine whether the terminal is in an idle state;

[0033] An upgrade plan generation module is used to analyze the specific platform type and upgrade strategy of the terminal and automatically generate an upgrade plan for the terminal;

[0034] An upgrade control module, used to automatically and silently install updates according to a generated upgrade plan when it is detected that the terminal is in an idle state;

[0035] The upgrade mode selection control module is used to automatically select the conventional upgrade or AB partition upgrade mode for upgrade and update according to the hardware and system configuration of the terminal;

[0036] The notification module is used to control the sending of corresponding completion notifications to notify the update status when the upgrade package download is completed or the upgrade installation is completed;

[0037] The error handling module is used to automatically record error information and attempt recovery when an error occurs during the terminal update process; when recovery fails, the terminal automatically sends a recovery failure notification and displays the corresponding solution.

[0038] A smart car, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, including the one or more programs for executing any one of the methods described.

[0039] A computer-readable storage medium, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any one of the methods described above.

[0040] Beneficial effects of the present invention: The present invention provides a software upgrade control method, device, smart car and storage medium supporting multiple platforms. The present invention provides an automatic update program and method based on the Android system, which can automatically determine whether the device is in an idle state, and automatically upgrade silently in the idle state, while supporting conventional upgrades and AB partition upgrades. The technical solution involved in the present invention can also be applied to other Android platforms, including but not limited to Android TVs, Android car-mounted devices and other smart devices equipped with Android operating systems. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0042] Figure 1 It is a flowchart of a software upgrade control method supporting multiple platforms provided in Example 1 of the present invention.

[0043] Figure 2 A principle block diagram of an embodiment of a software upgrade control device supporting multiple platforms provided by the present invention.

[0044] Figure 3 It is a block diagram of the internal structure principle of a smart car provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0046] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0047] In today's information age, the rapid development of intelligent technology has attracted more and more attention. The functions that intelligent technology can achieve are becoming increasingly rich, and it has gradually become an indispensable part of people's daily life. Among them, software updates and upgrades are the cornerstones that support intelligent technology to provide more stable and efficient services. Therefore, it is also very important to provide a more intelligent, efficient and flexible upgrade method.

[0048] The software update mechanism of most Android devices in the existing technology has the following problems: 1. Users need to check for updates manually, which may easily lead to missing important updates; 2. Interruptions may occur during the update process, resulting in update failure; 3. The update package is large, occupying more traffic and storage space; 4. The user experience is poor during the update process, which may interrupt the user's current operation; 5. The update method is single and does not support multiple upgrade modes. 6. It is not compatible with the upgrade requirements of multiple terminal platforms.

[0049] Therefore, the present invention provides a software upgrade control method that supports multiple platforms, provides a system that can automatically detect, download and install updates, and supports multiple upgrade modes to improve user experience and device security.

[0050] like Figure 1 As shown, a software upgrade control method supporting multiple platforms according to Embodiment 1 of the present invention comprises the following steps:

[0051] Step S100: The terminal automatically detects regularly whether there is an available system or application update;

[0052] In the embodiment of the present invention, the terminal periodically and automatically detects available system or application updates, which means that, through settings or specific applications, it periodically and automatically checks whether there are new software versions, patches or security updates. The terminal accesses the server of the software supplier by connecting to the Internet to obtain the latest version of information. The detection frequency can be adjusted according to user settings, such as daily, weekly or monthly checks to ensure that the system and application are always kept up to date.

[0053] In this way, regular updates can fix known security vulnerabilities and reduce the risk of system attacks. For example, operating system and application vendors will release patches to prevent hackers from exploiting these vulnerabilities, and automatic detection ensures that users get these security updates in a timely manner.

[0054] Updates not only include security patches, but may also include performance improvements and new features. With regular updates, users can get the best experience. For example, some software responds faster and takes up less memory after being updated. And automatic detection reduces the need for users to manually check for updates, saving time and energy, allowing users to focus more on other important tasks.

[0055] The present invention can be implemented to develop an integrated update management tool to centrally manage updates of all systems and applications, provide milestone display update history and set update plans. In addition, it can automatically detect updates and set educational reminders to let users understand the importance of updates. For example, update content summaries can be sent regularly to let users see the specific changes brought about by each update.

[0056] In addition, in the embodiment of the present invention, when detecting updates, a fault tolerance mechanism is set to ensure that even when the network is unstable or other problems occur, the update information can still be effectively captured and automatically updated when the conditions are restored.

[0057] As can be seen from the above, the present invention can not only improve system security and performance by automatically detecting and updating regularly, but also provide users with a more stable and high-quality use experience. This approach is particularly important in today's rapidly changing technological environment.

[0058] Step S200: When an available system or application update is detected, the corresponding idle time and space network mode are intelligently selected to download the update package according to the terminal's network status and the user's pre-set update download settings;

[0059] In the embodiment of the present invention, when a user terminal such as a mobile phone system or application detects that an update is available, the terminal will intelligently select the most appropriate time and network mode to download the update package based on the current network conditions (such as bandwidth, latency, etc.) and the download options pre-set by the user (such as downloading in a Wi-Fi environment first, selecting idle time, etc.). This process usually involves algorithm analysis and user preference settings to optimize the download experience.

[0060] For example, taking smartphone updates as an example, the smartphone system in the embodiment of the present invention allows the user to set automatic download of updates under Wi-Fi connection. When the smartphone detects that there is an update, it controls the download to be performed during the time when the user does not usually use the smartphone (such as after a lunch break or a rest at night), so as to ensure that the user is not disturbed when using the smartphone.

[0061] Regarding the download of desktop application update packages, for example, some desktop applications on the terminal will monitor the network status in the background and download updates when the terminal operation is not active (such as when the computer is idle). In this way, users can directly enter the software when they need to use it without waiting for the update to complete.

[0062] The benefits of this step embodiment are that 1) bandwidth usage can be optimized: by intelligently selecting the network mode, the system can avoid downloading when the user uses the network frequently, thereby reducing bandwidth usage and ensuring a smooth experience for users when browsing web pages, watching videos, and other activities.

[0063] 2) It can save user costs: For terminals that use mobile data, intelligently selecting Wi-Fi downloads can avoid incurring additional data charges. For example, many user terminals with limited traffic will choose to download updates in a Wi-Fi environment at home or in the office to avoid consuming traffic when out. 3) It can improve download efficiency: Selecting the best download time based on network conditions can speed up the download of update packages. For example, downloading during periods of low network usage can utilize higher bandwidth and reduce download time. 4) It can enhance user experience: Through preset download settings, users can choose download times according to their needs, such as automatic updates at night or during idle time to avoid interfering with daily use. This flexibility improves user satisfaction.

[0064] In the embodiment of the present invention, more custom options can be provided to allow users to flexibly set download conditions, such as selecting a specific time period, network type (such as downloading only when the power is connected), etc. Then, through machine learning algorithms, for example, the download time and method can be automatically optimized according to the user's usage habits. For example, the user's online time is analyzed to intelligently infer the best download time.

[0065] In the embodiment of the present invention, during the download process, progress updates and completion notifications may be sent to the user to let the user know the update status and provide the option of pausing or canceling the download when necessary.

[0066] As can be seen from the above, the embodiments of the present invention intelligently select idle time and appropriate network methods to download updates, so that users can enjoy a more efficient and economical update experience, while also keeping the system and applications up to date and ensuring optimal security and performance.

[0067] Step S300: When the update package is downloaded, automatically detect and analyze the usage of the terminal to determine whether the terminal is in an idle state;

[0068] In a specific embodiment of the present invention, after the update package is downloaded, the terminal system will automatically detect and analyze the terminal's usage to determine whether the device is in an idle state. This step involves evaluating the terminal's recent usage activities (such as mouse movement, keyboard input, etc.), the running status of the application, and the system's resource usage. Based on this information, it can be decided whether to install the downloaded update immediately or wait for further user operations.

[0069] For example, when there is a PC software update on the terminal, for office software (such as Microsoft Office), after the update is downloaded, the present invention will analyze whether the user is using a document or spreadsheet. When the user closes the document or has no activity for a period of time, the present invention will automatically update without affecting the user's ongoing work.

[0070] Regarding the mobile phone operating system update, if the terminal is a smart phone, in the embodiment of the present invention, when the terminal system update file is downloaded, the operating system will detect whether the user is using the mobile phone (for example, whether the user is making a phone call, sending text messages, or using an application). If the terminal device is detected to be in an idle state, the update will be automatically installed in the background, otherwise a prompt will be given to ask the user whether he wants to update when idle.

[0071] In this way, the present invention can update the device when the user is not using it by judging whether the terminal is in an idle state. This reduces interference with the user's work and improves the user experience of the update process. For example, if the user is in a video conference, the system can temporarily suspend the installation of the update to avoid affecting the call quality and minimize interference.

[0072] If the update is forcibly installed in an active state, it may cause the update to fail or data to be lost. The present invention can improve the success rate of the update by performing the update in an idle state and ensure that the update process is completed smoothly. For example, after downloading, the system automatically determines that the user is updating the device while out, rather than in a logged-in state, so that the update success rate can be improved.

[0073] In addition, in the embodiments of the present invention, the system is updated during idle time, which can reduce interruptions caused by user operations and avoid inefficient processes occupying system resources during the update process. For example, after the update file is successfully installed during idle time, when the user uses it again, the system is already the latest version, avoiding re-starting and configuration, which can save time and resources.

[0074] Furthermore, in the embodiment of the present invention, by analyzing the usage, users will feel more in control, knowing that their devices are "obeying" (monitoring user activities) and autonomously controlling updates, while also receiving a service that does not disturb them.

[0075] In this step embodiment, further, when idleness is automatically detected, a notification can be provided to the user, informing that an update is about to occur, and allowing the user to choose to continue or delay the update. This flexibility can enhance the user's sense of participation.

[0076] In addition, the present invention can also use machine learning algorithms to better understand the user's usage patterns, automatically adjust the best time for update installation according to the user's usual usage time, further improve the intelligence of the update, and enhance the accuracy of the judgment.

[0077] In addition, the present invention can also be configured to allow users to view detailed information and impacts of updates to be installed so that they understand which updates will be applied, thereby providing greater confidence and understanding of the system's decision-making process.

[0078] When the present invention is implemented, it is possible to determine whether the terminal is in an idle state by analyzing the screen status, user activities and application usage of the terminal device; for example, when the terminal screen is off and there is no user activity within a predetermined time, it is determined that the terminal is in an idle state; for the vehicle control system terminal, it is possible to determine whether the terminal is in an idle state by analyzing the vehicle's ignition off and driving status.

[0079] As can be seen from the above, the present invention can automatically detect the use of the terminal after the update package is downloaded, and the system can intelligently select the best time to update, which not only improves the user experience but also ensures the smooth progress of the update. Such a design not only reduces interference, but also enhances the flexibility and intelligence level of the system.

[0080] Step S400: Analyze the specific platform type and upgrade strategy of the terminal, and automatically generate an upgrade plan for the terminal;

[0081] In the update and upgrade operation, the embodiment of the present invention analyzes the specific platform type of the terminal (such as operating system, hardware configuration, etc.) and the user's upgrade strategy, so as to automatically generate a personalized upgrade plan suitable for the terminal. This process involves a comprehensive evaluation of the terminal environment, including software version, hardware performance, resource usage, and the strategy adopted by the user in the previous update (such as the selected update type, frequency, etc.), so as to formulate the best upgrade plan.

[0082] During specific implementation, the platform type of the device can be determined based on the model and movement of the terminal device, such as a TV platform, a car platform or a pad platform; and based on the upgrade plan configured in the cloud, an upgrade package suitable for the terminal is selected, and the upgrade method within the platform is linked to determine and generate a corresponding terminal upgrade plan.

[0083] For example, when upgrading the operating system of a mobile device of a terminal, taking a smart phone as an example, in the embodiment of the present invention, when an Android phone detects an available system update, the operating system will analyze the brand, model, current operating system version and user's setting priority (such as selecting the upgrade time and update content) of the terminal device. Based on this information, the present invention will generate a detailed upgrade plan, which may include the option to postpone the installation to an inactive period, or combine different network conditions (such as downloading under Wi-Fi).

[0084] As for the upgrade strategy of the terminal being an enterprise-level system, when the server system (such as a Linux server) used by the enterprise automatically detects an update, the present invention will analyze the server's performance parameters, business operation status, and existing patch management strategies, and automatically generate a corresponding upgrade plan to ensure that the update is performed during the business off-peak period, thereby ensuring business continuity.

[0085] In the embodiments of the present invention, by analyzing the terminal platform type and user policy, a more personalized upgrade solution can be provided. For example, some devices with limited resources can choose lightweight upgrades, while high-performance devices can perform large-scale updates at the same time. And different hardware and software combinations may have different requirements and restrictions on updates. The automatically generated upgrade solution can ensure that the selected update is compatible with the hardware configuration and operating system version of the terminal, thereby reducing the risk of update failure.

[0086] In the embodiment of the present invention, by automatically generating an upgrade plan, the user does not need to manually select or configure complex update settings. The present invention automatically optimizes the upgrade process for the terminal, saving time and energy. This allows the user to focus more on his or her work rather than update affairs.

[0087] Analyzing the hardware capabilities and software environment of the terminal in the embodiment of the present invention can help the system allocate appropriate resources for the upgrade process. For example, a device with insufficient memory and storage can call for updates according to priority, which can avoid installation interruptions caused by insufficient resources.

[0088] In this step embodiment, a feedback mechanism can be further added: providing a user feedback channel so that users can evaluate the effectiveness of the automatically generated upgrade plan to continuously optimize the algorithm and analysis program. During the repair process, the user's actual experience can provide important data support for subsequent automatic analysis.

[0089] In the embodiment of this step, further, multi-scenario adaptation schemes can be added. Specifically, multiple adaptation schemes can be set according to different terminal usage scenarios (such as office, game, study, etc.). Users can choose the most suitable upgrade plan according to their own needs to enhance the flexibility of the upgrade.

[0090] In the embodiment of this step, further, the upgrade history records can be analyzed, specifically recording the historical upgrade information, analyzing the previous upgrade success rate and failure reasons, and further improving the accuracy and practicality of the automatic generation plan, so that the system can accumulate data and continuously improve itself.

[0091] As can be seen from the above, the present invention can intelligently generate appropriate and suitable upgrade solutions through in-depth analysis of the specific platform type and upgrade strategy of the terminal. This not only improves user satisfaction and usage experience, but also ensures the security and stability of the device and fully utilizes the resources and capabilities of the terminal.

[0092] Step S500: When it is detected that the terminal is in an idle state, the update is automatically and silently installed according to the generated upgrade plan.

[0093] In the embodiment of this step, regarding the terminal idle state detection, specifically, the present invention will detect the usage status of the terminal device. When it is detected that there is no user activity on the terminal device (such as the computer screen is turned off, there is no mouse or keyboard input), the update mechanism will be triggered.

[0094] In the embodiment of this step, the generated upgrade plan specifically includes preparing the latest application or system version update plan in the background. These plans usually include function enhancement, security patches and performance improvements.

[0095] When the terminal is detected to be in an idle state, the present invention controls the terminal system to automatically install and update the downloaded upgrade package without the need for manual operation by the user. The installation process is usually silent and does not disturb the user's operating experience.

[0096] In the embodiments of the present invention, regular updates can promptly fix known security vulnerabilities and reduce the risk of system attacks. Users do not need to worry about manual updates, avoiding the trouble and time consumption caused by manual installation, ensuring that they can use the latest features seamlessly. In addition, updates are completed when users are not using the device, reducing interruptions during work time and making users' daily use smoother. In addition, the present invention uses idle periods for upgrades to maximize the use of computing resources and ensure that users' activities are not affected during high-load periods.

[0097] In the embodiment of the present invention, the optimal time for updating can also be intelligently selected according to the user's usage habits and schedule. For example, for some user terminals, updates can be checked and installed more frequently during a certain time period (such as lunch break). Although the embodiment of the present invention is a silent installation, a notification can be sent to the user after the installation is completed, briefly introducing the update content, so as to increase the user's understanding and trust in the update.

[0098] Furthermore, the method embodiment of the present invention also includes: automatically selecting a conventional upgrade or an AB partition upgrade mode for upgrade and update according to the hardware and system configuration of the terminal.

[0099] In the embodiment of the present invention, conventional upgrade refers to the traditional single partition update method. In this method, the system will be updated directly on the original operating system partition. This method requires restarting the device to implement the update, and is suitable for devices with high hardware configuration and stability. For example, when the terminal is in the night space upgrade, the conventional upgrade method is automatically selected, and the conventional upgrade method is used to update the current system partition of the terminal, and the device is automatically restarted after the update is completed.

[0100] In the embodiment of the present invention, the AB partition update method refers to that the device has two independent system partitions (usually recorded as A and B). During the update, the terminal system will install the new version to the backup partition (i.e., another partition) without modifying the running partition. After the update is completed, the user will switch to the new partition at the next startup. This method can improve security and reliability, because even if the update fails, the old partition can still be started normally, and the user experience will not be affected.

[0101] For example, when the terminal has AB partitions, the AB partition upgrade method is automatically selected. When the AB partition upgrade method is used, the terminal system partition is updated, and after the update is completed, the new system partition is switched, and the device does not need to be restarted.

[0102] In a specific embodiment of the present invention, automatic selection can be made, that is, the terminal system of the present invention will actively analyze the hardware performance of the terminal (such as memory, processor performance, etc.) and the current system environment (such as the space usage and stability of the current partition), and select a suitable upgrade method for updating, thereby optimizing resource utilization and the upgrade process.

[0103] The advantage of doing so is that it improves upgrade security, especially for important business systems. The use of AB partition upgrades can ensure that users can seamlessly restore to the previous state when the upgrade fails, avoiding data loss or system crashes. The system of the present invention selects a suitable upgrade method based on the hardware configuration to ensure that effective system updates can be performed even under conditions of limited resources, thereby improving the operating efficiency of the device. In addition, since users have different device configurations, automatically selecting a suitable upgrade method can meet the needs of various types of users and provide a personalized experience. Moreover, users do not need to manually select an upgrade method, which reduces potential problems caused by improper selection and improves user satisfaction.

[0104] For example, a company upgrades the operating system of an employee's computer. In the embodiment of the present invention, for an employee computer with a higher configuration (such as 16GB memory and a high-performance processor), a conventional upgrade method will be selected. This means that during the update, the employee can continue to use the computer smoothly without obvious interruption.

[0105] For a device with less storage space or older (e.g., 4GB memory and a lower-configuration processor), the embodiment of the present invention will automatically select the AB partition upgrade method. The computer will be installed in the backup partition during the update to ensure that even if there is a problem during the update, the user can still start normally from the original partition to avoid affecting work.

[0106] As can be seen from the above, the present invention can improve security and efficiency in system updates and enhance user experience by selecting a suitable upgrade method according to the terminal hardware and system configuration. This method not only reduces the error rate, but also improves the flexibility and adaptability of the update, providing a tailor-made solution for different types of devices.

[0107] Furthermore, the method embodiment of the present invention also includes the step of: when the download of the upgrade package is completed or the upgrade installation is completed, controlling the sending of a corresponding completion notification to notify the user of the current update status.

[0108] Furthermore, the method embodiment of the present invention also includes the steps of: when an error occurs in the terminal during the update process, automatically recording error information and attempting to recover; when recovery fails, the terminal automatically sends a recovery failure notification and displays a corresponding solution.

[0109] That is, in the embodiment of the present invention, when the terminal is updating, if an error occurs (such as download failure, file corruption or compatibility problem, etc.), the error information will be automatically collected and recorded. This information usually includes the error code, occurrence time, affected components, etc., to facilitate subsequent analysis and problem solving.

[0110] After recording the error information, the terminal system will automatically attempt to recover. The recovery process may include: re-downloading the update file, restoring to the stable state before the update (for example, switching back to the old version), and trying to fix the problem (such as repairing damaged files). This stage is designed to ensure that users do not suffer long service interruptions due to update failures.

[0111] If the recovery attempt fails, the embodiment of the present invention will automatically generate a failure notification. This notification will promptly inform the user of the problem in the update process, preventing the user from continuing to use the system that may have defects without knowing it.

[0112] In addition, in the embodiment of the present invention, in addition to notifying the user, solutions to the error are also provided. These solutions may include:

[0113] Instruct users to manually perform system recovery.

[0114] Users are advised to check their network connection.

[0115] Provide technical support contact information or direct users to online support documentation.

[0116] This design helps users quickly understand the problem and find solutions.

[0117] The advantage of this is that it automatically records error information and attempts to recover, which reduces the trouble caused to users by update failures and improves the overall stability of system updates. In addition, the present invention makes the update process more reliable and user-friendly through an automated error recording and recovery mechanism. At the same time, instant feedback and provision of solutions can effectively enhance user trust and satisfaction. In modern software maintenance, such a mechanism helps maintain the health of the system and reduce the trouble caused by update problems.

[0118] The following further describes a software upgrade control method supporting multiple platforms according to an embodiment of the present invention through another more specific embodiment. The software upgrade control method supporting multiple platforms according to this specific application embodiment includes the following steps:

[0119] S10, start update check, regularly check system or program updates, and enter S11;

[0120] In this step, in the embodiment, the device automatically detects whether there is an available system or application update periodically or under certain conditions.

[0121] S11, check the availability of updates, if the current system or program has no updates, go to step S12, if the current system has updates available, go to step S13;

[0122] S12, end;

[0123] S13, intelligently select the downloading time, download the update, and proceed to step S14;

[0124] S14, download the update package. When the update package is downloaded, enter S15;

[0125] In the embodiment of the present invention, intelligent download and update can intelligently select the appropriate time and method to download the update package according to the network status of the device and the user settings.

[0126] S15, notifying the user that the update package download is complete, and proceeding to step S16 to determine the device status;

[0127] S16, determine whether the terminal device is currently idle, if not, proceed to step S17, if yes, proceed to step S18;

[0128] In the embodiment of the present invention, the device status is automatically determined: by analyzing the usage of the device, it is determined whether the device is in an idle state.

[0129] S17, wait for the terminal device to be idle, and when the terminal device is idle, proceed to step S18;

[0130] S18, silent upgrade, and enter S19;

[0131] In the embodiment of the present invention, the upgrade will be performed automatically and silently. Specifically, when the device is in an idle state, the update will be automatically and silently installed without affecting the normal use of the user.

[0132] S19, determine the platform type of the terminal, automatically generate an upgrade plan, and enter S20;

[0133] In the embodiment of the present invention, the platform type of the terminal can be automatically determined. Specifically, an upgrade plan for the device can be automatically generated by analyzing the specific platform type and upgrade strategy of the device.

[0134] S20, execute the upgrade, select the upgrade method, if it is a regular upgrade, go to step S21, if it is an AB partition upgrade, go to S22;

[0135] In the embodiment of the present invention, conventional upgrade and AB partition upgrade are supported: a suitable upgrade method is selected according to the hardware and system configuration of the device.

[0136] S21, perform regular upgrade and enter S23;

[0137] S22, perform AB partition upgrade and enter S23;

[0138] S23, notify the user that the upgrade is complete, and proceed to S24;

[0139] In the embodiment of the present invention, a notification is sent to the user at a key step (such as download completion, installation completion) to inform the user of the update status.

[0140] S24, end the processing process, determine whether there is an error in the update process, if not, proceed to S25, if yes, proceed to S26;

[0141] S25, end;

[0142] S26, record the error information, try to recover, and go to step S27;

[0143] In the embodiment of the present invention, when an error occurs during the updating process, the error information is automatically recorded and recovery is attempted.

[0144] S27, the recovery update is completed and the process ends.

[0145] In a specific embodiment of the present invention, when the terminal device automatically detects updates, the terminal device can be controlled to automatically detect updates of the system and application programs every 24 hours. Of course, the user can select the detection frequency in the settings, such as daily, weekly or manual detection. In the embodiment of the present invention, when detecting updates, the device will connect to the server to obtain the latest version information.

[0146] In a specific embodiment of the present invention, during the intelligent download update process, the update package can be downloaded at an appropriate time according to the network status of the device (such as Wi-Fi or mobile data). Of course, the user can choose whether to allow downloading updates under mobile data in the settings. During the update package download process, the device will display the download progress and notify the user after the download is complete.

[0147] In a specific embodiment of the present invention, the device state is automatically determined, and whether the device is in an idle state can be determined by analyzing the device's screen state, user activity, and application usage. For example, if the screen is off and there is no user activity for a period of time, the device is considered to be in an idle state. For a vehicle control system, whether the device is in an idle state can also be determined by analyzing the vehicle state (such as vehicle shutdown, driving state).

[0148] Regarding the judgment of the terminal device platform in the embodiment of the present invention, it can be judged whether the device is a TV platform, a car platform, a pad platform, etc. according to the device model and movement, etc., and according to the upgrade plan configured in the cloud, an upgrade package suitable for the device is selected, and the upgrade method in the platform is linked to judge and generate an upgrade method suitable for the device.

[0149] In a specific embodiment of the present invention, regarding the automatic silent upgrade of the terminal device, the update can be automatically and silently installed when the device is in an idle state. During the upgrade process, the device will minimize the impact on user operations, such as installing when the device is idle. When the installation is completed, the device will notify the user that the update is completed.

[0150] In a specific embodiment of the present invention, regarding support for conventional upgrades and AB partition upgrades, a suitable upgrade method can be selected based on the hardware and system configuration of the device. Conventional upgrade of this embodiment: Updates are performed on the current system partition, requiring a device restart. AB partition upgrade of an embodiment of the present invention: Updates are performed on the backup system partition, and after the update is completed, the system partition is switched to the new system partition without requiring a device restart.

[0151] In a specific embodiment of the present invention, regarding user notification, a notification can be sent to the user at a key step (such as download completion, installation completion) to inform the user of the update status. Of course, the user can choose to turn off the notification and only receive the notification when necessary.

[0152] In a specific embodiment of the present invention, regarding error handling, when an error occurs during the update process, the device will automatically record the error information and try to recover. If the recovery fails, the device will notify the user and provide a solution.

[0153] As can be seen from the above, the software upgrade control method supporting multiple platforms in the embodiment of the present invention provides an automatic update program and method based on the Android system, which significantly improves the user experience and the security of the device through functions such as automatic detection, intelligent download, automatic judgment of device status, automatic silent upgrade, support for conventional upgrade and AB partition upgrade, user notification and error handling, etc. It has the following advantages:

[0154] 1) Improve user convenience: Users do not need to check for updates manually, reducing the number of operation steps.

[0155] 2) Optimize network resources: intelligently download update packages to save traffic and storage space.

[0156] 3) Improve user experience: Automatically upgrade silently to reduce the impact on user operations.

[0157] 4) Enhance device security: Update systems and applications in a timely manner and fix known vulnerabilities.

[0158] 5) Support multiple upgrade modes: select the appropriate upgrade method according to the device configuration to improve compatibility and flexibility.

[0159] Exemplary Devices

[0160] like Figure 2 As shown, an embodiment of the present invention provides a software upgrade control device supporting multiple platforms, the device comprising:

[0161] A periodic detection module 310, used to control the terminal to automatically detect whether there is an available system or application update;

[0162] The update package download control module 320 is used to intelligently select the corresponding idle time and space network mode to download the update package according to the terminal network status and the user's pre-set update download settings when an available system or application update is detected;

[0163] The terminal idle state detection module 330 is used to automatically detect and analyze the use of the terminal when the update package is downloaded, and determine whether the terminal is in an idle state;

[0164] An upgrade plan generating module 340 is used to analyze the specific platform type and upgrade strategy of the terminal and automatically generate an upgrade plan for the terminal;

[0165] The upgrade control module 350 is used to automatically and silently install the update according to the generated upgrade plan when it is detected that the terminal is in an idle state;

[0166] The upgrade mode selection control module 360 ​​is used to automatically select the conventional upgrade or AB partition upgrade mode for upgrade and update according to the hardware and system configuration of the terminal;

[0167] Notification module 370, used to control sending of corresponding completion notification to notify update status when the upgrade package download is completed or the upgrade installation is completed;

[0168] The error handling module 380 is used to automatically record error information and attempt recovery when an error occurs during the terminal update process; when recovery fails, the terminal automatically sends a recovery failure notification and displays a corresponding solution, as described above.

[0169] Based on the above embodiments, the present invention further provides a smart car, whose principle block diagram can be shown as follows: Figure 3 As shown. The smart car includes a processor, a memory, a network interface, a display screen, and a database connected through a system bus. Among them, the processor of the smart car is used to provide computing and control capabilities. The memory of the smart car includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the smart car is used to communicate with an external car through a network connection. When the computer program is executed by the processor, a software upgrade control method supporting multiple platforms is implemented. The database of the smart car is used to store a software upgrade control program supporting multiple platforms.

[0170] Those skilled in the art will understand that Figure 3 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the solution of the present invention, and does not constitute a limitation on the smart car to which the solution of the present invention is applied. A specific smart car may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0171] In one embodiment, a smart car is provided, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors. The one or more programs include instructions for performing the following operations:

[0172] The terminal automatically checks regularly whether there are available system or application updates;

[0173] When an available system or application update is detected, it intelligently selects the corresponding idle time and space network method to download the update package according to the terminal's network status and the user's pre-set update download settings;

[0174] When the update package is downloaded, it automatically detects and analyzes the terminal usage to determine whether the terminal is idle;

[0175] Analyze the specific platform type and upgrade strategy of the terminal and automatically generate an upgrade plan for the terminal;

[0176] When it is detected that the terminal is in an idle state, the update is automatically and silently installed according to the generated upgrade plan, as described above.

[0177] The step of automatically and silently installing updates according to the generated upgrade plan when the terminal is detected to be in an idle state includes:

[0178] Automatically select conventional upgrade or AB partition upgrade mode for upgrade and update according to the hardware and system configuration of the terminal.

[0179] The step of automatically selecting a conventional upgrade or an AB partition upgrade mode for upgrade and update according to the hardware and system configuration of the terminal includes:

[0180] When the terminal is in the night space upgrade, the conventional upgrade mode is automatically selected, and the conventional upgrade mode is adopted to update the current system partition of the terminal, and the device is automatically restarted after the update is completed;

[0181] When the terminal has AB partitions, the AB partition upgrade method is automatically selected. When the AB partition upgrade method is adopted, the terminal system partition is updated. After the update is completed, the new system partition is switched, and the device does not need to be restarted.

[0182] The step of automatically detecting and analyzing the usage of the terminal and determining whether the terminal is in an idle state when the update package is downloaded is as follows:

[0183] By analyzing the screen status, user activities and application usage of the terminal device, determining whether the terminal is in an idle state; when the terminal screen is off and there is no user activity within a predetermined time, the terminal is determined to be in an idle state;

[0184] For the vehicle control system terminal, the vehicle's shutdown and driving status are analyzed to determine whether the terminal is in an idle state.

[0185] The step of analyzing the specific platform type and upgrade strategy of the terminal and automatically generating an upgrade plan for the terminal includes:

[0186] Determine the platform type of the device based on the model and movement of the terminal device, whether it is a TV platform, a car platform, or a pad platform;

[0187] According to the upgrade plan configured in the cloud, an upgrade package suitable for the terminal is selected, and the upgrade method in the platform is linked to determine and generate a corresponding terminal upgrade plan.

[0188] Wherein, when the terminal is detected to be in an idle state, the step of automatically and silently installing the update according to the generated upgrade plan further includes:

[0189] When the upgrade package download is complete or the upgrade installation is complete, the control sends the corresponding completion notification to notify the update status.

[0190] Wherein, when the terminal is detected to be in an idle state, the step of automatically and silently installing the update according to the generated upgrade plan further includes:

[0191] When an error occurs during the terminal update process, it automatically records the error information and attempts to recover;

[0192] When the recovery fails, the terminal automatically sends a recovery failure notification and displays the corresponding solution, as described above.

[0193] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0194] In summary, the present invention provides a software upgrade control method, device, smart car and storage medium that support multiple platforms. The present invention provides a method and system that can automatically detect, download and install updates, while supporting multiple upgrade modes to improve the user experience and the security of the equipment, providing convenience for users.

Claims

1. A software upgrade control method supporting multiple platforms, characterized in that: include: The terminal automatically checks regularly whether there are available system or application updates; When an available system or application update is detected, it intelligently selects the corresponding idle time and space network method to download the update package according to the terminal's network status and the user's pre-set update download settings; When the update package is downloaded, it automatically detects and analyzes the terminal usage to determine whether the terminal is idle; Analyze the specific platform type and upgrade strategy of the terminal and automatically generate an upgrade plan for the terminal; When the terminal is detected to be in an idle state, the update is automatically and silently installed according to the generated upgrade plan.

2. The software upgrade control method supporting multiple platforms according to claim 1, characterized in that: The step of automatically and silently installing updates according to the generated upgrade plan when the terminal is detected to be in an idle state comprises: Automatically select conventional upgrade or AB partition upgrade mode for upgrade and update according to the hardware and system configuration of the terminal.

3. The software upgrade control method supporting multiple platforms according to claim 2, characterized in that: The step of automatically selecting a conventional upgrade or an AB partition upgrade method for upgrading and updating according to the hardware and system configuration of the terminal includes: When the terminal is in the night space upgrade, the conventional upgrade mode is automatically selected, and the conventional upgrade mode is adopted to update the current system partition of the terminal, and the device is automatically restarted after the update is completed; When the terminal has AB partitions, the AB partition upgrade method is automatically selected. When the AB partition upgrade method is adopted, the terminal system partition is updated. After the update is completed, the new system partition is switched, and the device does not need to be restarted.

4. The software upgrade control method supporting multiple platforms according to claim 1, characterized in that: When the update package is downloaded, the step of automatically detecting and analyzing the usage of the terminal to determine whether the terminal is in an idle state includes: By analyzing the screen status, user activities and application usage of the terminal device, determining whether the terminal is in an idle state; when the terminal screen is off and there is no user activity within a predetermined time, the terminal is determined to be in an idle state; For the vehicle control system terminal, the vehicle's shutdown and driving status are analyzed to determine whether the terminal is in an idle state.

5. The software upgrade control method supporting multiple platforms according to claim 1, characterized in that: The step of analyzing the specific platform type and upgrade strategy of the terminal and automatically generating an upgrade plan for the terminal includes: Determine the platform type of the device based on the model and movement of the terminal device, whether it is a TV platform, a car platform, or a pad platform; According to the upgrade plan configured in the cloud, select the upgrade package suitable for the terminal, and link the upgrade method in the platform to determine and generate the corresponding terminal upgrade plan.

6. The software upgrade control method supporting multiple platforms according to claim 1, characterized in that: After the step of automatically and silently installing the update according to the generated upgrade plan when the terminal is detected to be in an idle state, the method further includes: When the upgrade package download is complete or the upgrade installation is complete, the control sends the corresponding completion notification to notify the update status.

7. The software upgrade control method supporting multiple platforms according to claim 1, characterized in that: After the step of automatically and silently installing the update according to the generated upgrade plan when the terminal is detected to be in an idle state, the method further includes: When an error occurs during the terminal update process, it automatically records the error information and attempts to recover; When recovery fails, the terminal automatically sends a recovery failure notification and displays the corresponding solution.

8. A software upgrade control device supporting multiple platforms, characterized in that: The device comprises: A periodic detection module is used to control the terminal to automatically detect whether there are available system or application updates; An update package download control module is used to intelligently select the corresponding idle time and space network mode to download the update package according to the terminal's network status and the user's pre-set update download settings when an available system or application update is detected; The terminal idle state detection module is used to automatically detect and analyze the terminal usage when the update package is downloaded and determine whether the terminal is in an idle state; An upgrade plan generation module is used to analyze the specific platform type and upgrade strategy of the terminal and automatically generate an upgrade plan for the terminal; An upgrade control module, used to automatically and silently install updates according to a generated upgrade plan when it is detected that the terminal is in an idle state; The upgrade mode selection control module is used to automatically select the conventional upgrade or AB partition upgrade mode for upgrade and update according to the hardware and system configuration of the terminal; The notification module is used to control the sending of corresponding completion notifications to notify the update status when the upgrade package download is completed or the upgrade installation is completed; The error handling module is used to automatically record error information and attempt recovery when an error occurs during the terminal update process; when recovery fails, the terminal automatically sends a recovery failure notification and displays the corresponding solution.

9. A smart car, characterized in that: The device comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, and the one or more programs include being used to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method as described in any one of claims 1 to 7.

Citation Information

Cited By

  • System updating method, product, equipment and medium

    CN120653280A

  • System update method, product, device, and medium

    CN120653280B