System upgrade method and device

By sharing upgrade data when the mobile terminal is charging through a shared charger, the problem of reduced user experience caused by frequent mobile terminal system upgrades is solved, and resource utilization and user experience are improved.

CN118227175BActive Publication Date: 2024-08-30JIANGSU ZHIXIN TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410650438.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-08-30
Estimated Expiration
2044-05-24

AI Technical Summary

Technical Problem

Frequent upgrades of mobile terminal systems lead to reduced user experience and increased resource consumption, and existing technology cannot effectively avoid the adverse impact of frequent system upgrades on users.

Method used

The shared charger determines and shares the upgrade data when the mobile terminal is charging, and uses the shared charger and/or the mobile terminal to download the upgrade data to achieve system upgrades and avoid the impact of frequent upgrades on users.

Benefits of technology

The resource utilization rate of system upgrade is improved, the resource consumption of mobile terminals is reduced, the user experience is improved, and the adverse impact of system upgrade on users is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118227175B
    Figure CN118227175B
Patent Text Reader

Abstract

The present application provides a system upgrade method and device, which determines whether each mobile terminal and at least one of the shared chargers store upgrade data when at least one mobile terminal is charged through a shared charger; if the shared charger and each mobile terminal do not have the upgrade data, the shared charger and / or at least one mobile terminal are used to download the upgrade data according to the remaining storage space and the remaining power in each mobile terminal; the system of at least one target terminal of the at least one mobile terminal is upgraded by using the upgrade data, and the upgrade data is stored in the shared charger; if the shared charger has the upgrade data, the system of the at least one target terminal is upgraded by using the upgrade data; if the at least one mobile terminal has the upgrade data stored and the shared charger does not have the upgrade data, the upgrade data is copied to the shared charger, and the system of the at least one target terminal is upgraded by using the upgrade data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent terminals, and in particular to a system upgrade method and device. Background Art

[0002] With the development of science and technology, mobile terminals such as mobile phones, tablet computers, laptops, vehicle-mounted smart terminals, warehouse unmanned transport vehicles, etc. have become indispensable items for people's production and life. Mobile terminals have also brought great convenience to people's daily production and life, and people's dependence on them is also increasing.

[0003] At present, mobile terminals need to develop and iterate rapidly to meet people's growing needs, which leads to the need for continuous upgrading of the systems installed on mobile terminals, and the frequency of system upgrades is getting higher and higher. However, system upgrades will occupy the resources of mobile terminals, during which users cannot use the mobile terminals normally, which leads to more and more complaints from users about frequent system upgrades, affecting the user experience.

[0004] Therefore, how to avoid frequent system upgrades and reduce the user experience of mobile terminals has become a technical problem that needs to be solved urgently. Summary of the invention

[0005] The present application provides a system upgrade method and device to solve the technical problem of how to avoid frequent system upgrades and reduce the user experience of a mobile terminal.

[0006] In a first aspect, the present application provides a system upgrade method, comprising:

[0007] When at least one mobile terminal is charged through a shared charger, determining whether at least one of each mobile terminal and the shared charger stores upgrade data, wherein the shared charger can simultaneously connect to multiple mobile terminals and charge and transmit data to them after obtaining data interaction permission from the mobile terminal;

[0008] If the shared charger and each mobile terminal do not have the upgrade data, download the upgrade data using the shared charger and / or at least one mobile terminal according to the remaining storage space and the remaining power of each mobile terminal; perform a system upgrade on at least one target terminal in the at least one mobile terminal using the upgrade data, and store the upgrade data in the shared charger;

[0009] If there is upgrade data in the shared charger, use the upgrade data to perform a system upgrade on at least one target terminal;

[0010] If the upgrade data is stored in at least one mobile terminal and the shared charger does not have the upgrade data, the upgrade data is copied to the shared charger, and the system of at least one target terminal is upgraded using the upgrade data.

[0011] In a possible design, before determining whether at least one of each mobile terminal and the shared charger stores the upgrade data, the method further includes:

[0012] After at least one mobile terminal is connected to the shared charger, a connection timing thread and an energy monitoring thread are started, wherein the connection timing thread is used to monitor the connection time of each mobile terminal and the shared charger, and the energy monitoring thread is used to monitor the remaining power of each mobile terminal and the shared charger;

[0013] When at least one connection time and at least one remaining power satisfy a first preset condition, it is checked whether the shared charger and each mobile terminal store upgrade data.

[0014] In a possible design, the first preset condition includes:

[0015] There is at least one target connection time that is greater than a preset time threshold among the connection times, and the remaining power of the target terminal corresponding to the target connection time is greater than a first preset power.

[0016] In one possible design, the energy monitoring thread is also used to monitor the current operating power of each mobile terminal and shared charger;

[0017] Correspondingly, the first preset condition includes:

[0018] There is at least one target connection time greater than a preset time threshold among the connection times;

[0019] Furthermore, the remaining power and current operating power of the target terminal corresponding to the target connection time meet the second preset condition.

[0020] Optionally, the second preset condition includes:

[0021] The remaining power of the target terminal is greater than the second preset power, and the current operating power of the target terminal is less than or equal to the preset power;

[0022] or,

[0023] The determination parameter obtained based on the remaining power of the target terminal and the current operating power is greater than or equal to a preset threshold.

[0024] In a possible design, according to the remaining storage space and the remaining power of each mobile terminal, the upgrade data is downloaded using a shared charger and / or at least one mobile terminal, including:

[0025] Determining at least one downloading terminal for the upgrade data according to the type and remaining power of the shared charger, and the remaining storage space and remaining power of each mobile terminal;

[0026] Using a preset allocation model, the upgrade data is divided into one or more download data packets according to the number of download terminals;

[0027] Utilize each download terminal to download each download data package, and collect the download data packages into the shared charger to combine into upgrade data.

[0028] In a possible design, determining at least one terminal for downloading the upgrade data according to the type and remaining power of the shared charger, and the remaining storage space and remaining power of each mobile terminal includes:

[0029] When the type of the shared charger is an independent charger or a mobile charger, if the remaining power in the shared charger is greater than or equal to a third preset power, the shared charger is used as one of the download terminals for downloading the upgrade data;

[0030] When the remaining storage space in the mobile terminal is greater than a preset storage threshold, and the remaining power of the mobile terminal is greater than or equal to a fourth preset power, the mobile terminal is used as one of the download terminals.

[0031] In a second aspect, the present application provides a system upgrade device, comprising:

[0032] an acquisition module, used to acquire a charging signal of at least one mobile terminal being charged through a shared charger, wherein the shared charger can simultaneously connect to multiple mobile terminals and charge and transmit data to them after acquiring a data interaction permission from the mobile terminal;

[0033] Processing modules for:

[0034] In response to the charging signal, determining whether at least one of each mobile terminal and the shared charger stores upgrade data;

[0035] If the shared charger and each mobile terminal do not have the upgrade data, download the upgrade data using the shared charger and / or at least one mobile terminal according to the remaining storage space and the remaining power of each mobile terminal; perform a system upgrade on at least one target terminal in the at least one mobile terminal using the upgrade data, and store the upgrade data in the shared charger;

[0036] If there is upgrade data in the shared charger, use the upgrade data to perform a system upgrade on at least one target terminal;

[0037] If the upgrade data is stored in at least one mobile terminal and the shared charger does not have the upgrade data, the upgrade data is copied to the shared charger, and the system of at least one target terminal is upgraded using the upgrade data.

[0038] In a possible design, the processing module is further configured to:

[0039] After at least one mobile terminal is connected to the shared charger, a connection timing thread and an energy monitoring thread are started, wherein the connection timing thread is used to monitor the connection time of each mobile terminal and the shared charger, and the energy monitoring thread is used to monitor the remaining power of each mobile terminal and the shared charger;

[0040] When at least one connection time and at least one remaining power satisfy a first preset condition, it is checked whether the shared charger and each mobile terminal store upgrade data.

[0041] In a possible design, the first preset condition includes:

[0042] There is at least one target connection time that is greater than a preset time threshold among the connection times, and the remaining power of the target terminal corresponding to the target connection time is greater than a first preset power.

[0043] In one possible design, the energy monitoring thread is also used to monitor the current operating power of each mobile terminal and shared charger;

[0044] Correspondingly, the first preset condition includes:

[0045] There is at least one target connection time greater than a preset time threshold among the connection times;

[0046] Furthermore, the remaining power and current operating power of the target terminal corresponding to the target connection time meet the second preset condition.

[0047] Optionally, the second preset condition includes:

[0048] The remaining power of the target terminal is greater than the second preset power, and the current operating power of the target terminal is less than or equal to the preset power;

[0049] or,

[0050] The determination parameter obtained based on the remaining power of the target terminal and the current operating power is greater than or equal to a preset threshold.

[0051] In one possible design, the processing module is used to:

[0052] Determining at least one downloading terminal for the upgrade data according to the type and remaining power of the shared charger, and the remaining storage space and remaining power of each mobile terminal;

[0053] Using a preset allocation model, the upgrade data is divided into one or more download data packets according to the number of download terminals;

[0054] Utilize each download terminal to download each download data package, and collect the download data packages into the shared charger to combine into upgrade data.

[0055] In one possible design, the processing module is used to:

[0056] When the type of the shared charger is an independent charger or a mobile charger, if the remaining power in the shared charger is greater than or equal to a third preset power, the shared charger is used as one of the download terminals for downloading the upgrade data;

[0057] When the remaining storage space in the mobile terminal is greater than a preset storage threshold, and the remaining power of the mobile terminal is greater than or equal to a fourth preset power, the mobile terminal is used as one of the download terminals.

[0058] In a third aspect, the present application provides an electronic device, including:

[0059] A memory for storing program instructions;

[0060] The processor is used to call and execute the program instructions in the memory to execute any possible system upgrade method provided by the first aspect.

[0061] In a fourth aspect, the present application provides a storage medium, wherein the readable storage medium stores a computer program, and the computer program is used to execute any possible system upgrade method provided in the first aspect.

[0062] In a fifth aspect, the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements any possible system upgrade method provided in the first aspect.

[0063] The present application provides a system upgrade method and device, which determines whether each mobile terminal and at least one of the shared chargers have stored upgrade data when at least one mobile terminal is charged through a shared charger, wherein the shared charger can simultaneously connect multiple mobile terminals and charge and transmit data to them; if there is no upgrade data in the shared charger and each mobile terminal, the shared charger and / or at least one mobile terminal are used to download the upgrade data according to the remaining storage space and the remaining power in each mobile terminal; the system of at least one target terminal in at least one mobile terminal is upgraded by using the upgrade data, and the upgrade data is stored in the shared charger; if there is upgrade data in the shared charger, the system of at least one target terminal is upgraded by using the upgrade data; if there is upgrade data stored in at least one mobile terminal and there is no upgrade data in the shared charger, the upgrade data is copied to the shared charger, and the system of at least one target terminal is upgraded by using the upgrade data. The shared charger is cleverly used to share the upgrade data for upgrading during the charging process, which solves the technical problem of how to avoid frequent system upgrades and reduce the user experience of the mobile terminal. By utilizing the fact that the user uses the mobile terminal less during charging, the technical effect of avoiding or reducing the resource consumption of the mobile terminal downloading the upgrade data and reducing the adverse effect of the system upgrade on the user experience is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0065] Figure 1 A schematic diagram of a system upgrade scenario provided for this application;

[0066] Figure 2 A flowchart of a system upgrade method provided in an embodiment of the present application;

[0067] Figure 3 A schematic diagram of another system upgrade scenario provided for this application;

[0068] Figure 4 A flowchart of another system upgrade method provided for the implementation of this application;

[0069] Figure 5 A schematic diagram of the structure of a system upgrade device provided in an embodiment of the present application;

[0070] Figure 6 A schematic diagram of the structure of an electronic device provided in this application.

[0071] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0072] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work, including but not limited to the combination of multiple embodiments, belong to the scope of protection of this application.

[0073] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0074] At present, due to the development of technology and the growing demand for the use of mobile terminals, it is inevitable that the frequency of system upgrades of mobile terminals is getting higher and higher. When the mobile terminal is undergoing system upgrades, in general, users cannot use the mobile terminal, and even if they can use it, the functions will be greatly limited. This has caused users to complain about the frequent system upgrades affecting their normal use, that is, the existing system upgrade method for mobile terminals has the technical problem of occupying a large amount of mobile terminal resources and affecting the user experience.

[0075] In order to solve the above technical problems, the invention concept of this application is:

[0076] When people are charging their mobile terminals, they generally seldom use or do not use them. Arranging the system upgrade during the charging process can effectively avoid the impact on the user experience. At the same time, in order to reduce the resource consumption of the mobile terminal by the system upgrade, and avoid or reduce the problem that the mobile terminal uses its own resources to download mobile data, which leads to a long upgrade time and high resource occupation, the upgrade data can be shared by multiple mobile terminals through data sharing, and the shared charger can be used to share the upgrade data for multiple mobile terminals. In this way, one download can upgrade the system for multiple mobile terminals, greatly improving the resource utilization rate and the efficiency of the system upgrade for a single mobile terminal, thereby reducing or avoiding the adverse impact of the system upgrade on the user experience.

[0077] The following is an example of the system upgrade method provided in this application.

[0078] Figure 1 This is a schematic diagram of a system upgrade scenario provided by this application. Figure 1 As shown, the mobile terminal 110 includes: a mobile phone, a tablet computer, a laptop computer, a smart speaker, a smart home appliance, etc., and the shared charger 120 includes: a mobile shared power bank 121, a wired shared charging socket 122, etc.

[0079] Figure 1 The application scenario shown is applicable to a system upgrade method provided in an embodiment of the present application, as follows.

[0080] Figure 2 A schematic diagram of a system upgrade method provided in an embodiment of the present application. Figure 2 As shown, the specific steps of the system upgrade method include:

[0081] S201. When at least one mobile terminal is charged by a shared charger, determine whether at least one of each mobile terminal and the shared charger stores upgrade data.

[0082] In this step, after obtaining the data interaction permission of the mobile terminal, the shared charger can simultaneously connect to multiple mobile terminals and charge and transmit data to them.

[0083] In this embodiment, if Figure 1As shown, when one or more mobile terminals 110 are connected to a mobile shared power bank 121 or a wired shared charging socket 122 for charging, the pre-preparation for system upgrade, i.e., the preparation of upgrade data, is triggered. The design concept of this step is to ensure the upgrade power consumption of the mobile terminal when the mobile terminal is charging, and avoid irreversible damage caused by power outages. At the same time, by using the shared charger 120 as an intermediary to share upgrade data, the utilization rate of the upgrade data is improved, and repeated downloads can be partially avoided to increase the load on the server, which is also an extended application of the sharing economy.

[0084] The storage of the upgrade data includes at least three possible situations, corresponding to steps S202, S204 and S205, respectively. That is: (1) there is no upgrade data in the shared charger and each mobile terminal; (2) there is upgrade data in the shared charger; (3) there is upgrade data stored in at least one mobile terminal, and there is no upgrade data in the shared charger.

[0085] The first situation is that the upgrade data has just been released and has not yet been disseminated, and it is necessary to execute S202 to download the upgrade data.

[0086] The second situation is that the shared charger has downloaded the upgrade data before, or copied the upgrade data from the mobile terminal connected to it. In this case, step S204 can be directly executed. In this case, there is no need to download the upgrade data again, which saves the upgrade waiting time and reduces the upgrade data download load of the cloud or server, realizing the one-time download and multiple use of the upgrade data, that is, improving the utilization rate of the upgrade data and promoting the technical effect of energy conservation and emission reduction.

[0087] The third situation is that among any one or more mobile terminals connected to the shared charger, there is a first mobile terminal that has completed the download of the upgrade data. At this time, the first mobile terminal has not activated the upgrade program, so it is still retained in the first mobile terminal. Of course, the retention time of the upgrade data can also be set in advance, that is, regardless of whether the first mobile terminal completes the system upgrade, the upgrade data will be stored in the first mobile terminal within the retention time and will not be deleted, so as to increase the probability of the shared charger copying the upgrade data from the first mobile terminal, thereby saving time and resource consumption in the download step of the upgrade data and improving the technical effect of system upgrade efficiency. At the same time, it can also improve the user experience. Correspondingly, this situation executes step S205.

[0088] It should be noted that, for the third case, those skilled in the art can set the retention time of the upgrade data according to actual needs, which can be dynamic or fixed, and this application does not limit it.

[0089] It is worth noting that in this application, "sharing" not only means public charging, but also includes the meaning of joint use of upgrade data such as system upgrade data. Different from the existing shared charging only, this application cleverly uses shared chargers to perform system upgrade upgrade data sharing services in addition to charging. The technical effects that can be achieved in this way include at least: (1) improving the utilization efficiency of upgrade data; (2) reducing the upgrade data download load on the cloud or server; (3) shortening the system upgrade time; (4) reducing the time and resource consumption when the mobile terminal performs system upgrades; (5) improving the user experience when upgrading the system.

[0090] The specific judgment method is to send an upgrade data reporting request to the shared charger and each mobile terminal. After receiving the request, each device searches for the pre-set code or version number for the upgrade data in the preset area of ​​its own memory, and feeds it back to the requesting end.

[0091] It is worth noting that the requesting end can be the shared charger itself or the upper-level controller or server of the shared charger.

[0092] S202: If there is no upgrade data in the shared charger and each mobile terminal, the upgrade data is downloaded using the shared charger and / or at least one mobile terminal according to the remaining storage space and the remaining power of each mobile terminal.

[0093] In this step, when there is no upgrade data in the shared charger and each mobile terminal, it is necessary to download the upgrade data from the cloud or server. This situation is for the case where the system upgrade data has just been released or has been released not long ago.

[0094] In this case, the present application is designed to use a shared charger as the preferred downloading end for the upgrade data. The technical effect of this is to avoid occupying the resources of the mobile terminal to the greatest extent and improve the user experience of the system upgrade.

[0095] In a possible design, when the remaining power and remaining storage space of the mobile terminal are sufficient, the mobile terminal can also be used as a download terminal for the upgrade data. That is, when the remaining power of the mobile terminal is greater than a preset power threshold, and the remaining storage space is greater than a preset space threshold, the mobile terminal is used as a download terminal. Then, download tasks are issued to each download terminal respectively, and each download terminal downloads different data packets in the upgrade data respectively. After the download is completed, each data packet is sent to the shared charger for reorganization to obtain the upgrade data.

[0096] It is worth noting that in this step, if the shared charger is Figure 1When using a shared power bank, its own power is limited. In order to avoid affecting the normal charging of the mobile terminal by downloading the upgrade data, when the remaining power of the shared charger is insufficient, that is, lower than the preset charger power threshold, the shared charger will not be used as the download end for the upgrade data.

[0097] S203: Perform a system upgrade on at least one target terminal in at least one mobile terminal using the upgrade data, and store the upgrade data in a shared charger.

[0098] In this step, the target terminal is the mobile terminal that needs to perform a system upgrade. After the upgrade data is downloaded, it needs to be stored in the shared charger so that the shared charger can perform system upgrades for other mobile terminals connected thereafter, thereby improving the utilization rate of the upgrade data.

[0099] S204: If there is upgrade data in the shared charger, use the upgrade data to perform a system upgrade on at least one target terminal.

[0100] S205: If the upgrade data is stored in at least one mobile terminal and the shared charger does not have the upgrade data, the upgrade data is copied to the shared charger, and the system of at least one target terminal is upgraded using the upgrade data.

[0101] In this step, if one or more mobile terminals connected to the shared charger have downloaded the upgrade data and have not deleted the upgrade data, the shared charger can request the mobile terminal to send the upgrade data to the shared charger, and then start the system upgrade program uniformly. This can free up storage space for the mobile terminal and improve the utilization of the upgrade data. It also realizes the automatic triggering of the system upgrade and improves the user experience.

[0102] This embodiment provides a system upgrade method, which solves the technical problem of how to avoid frequent system upgrades and reduce the user experience of the mobile terminal by cleverly using a shared charger to share upgrade data during the charging process. By taking advantage of the fact that the user uses the mobile terminal less during charging, the technical effect of avoiding or reducing the resource consumption of the mobile terminal downloading upgrade data and reducing the adverse impact of the system upgrade on the user experience is achieved.

[0103] Figure 3 This is a schematic diagram of another system upgrade scenario provided by this application. Figure 3 As shown, the mobile terminal includes an on-board intelligent terminal mounted on a new energy vehicle 310 , and the shared charger includes: a fixed charging pile 320 and a mobile charging cart 330 in a public charging station.

[0104] It should be noted that the mobile charging cart 330 charges the new energy vehicle through its own energy storage device such as an energy storage battery. After charging, the mobile charging cart will automatically return to the charging position to replenish the energy storage device. This mobile charging cart 330 provides convenience for charging new energy vehicles in places where it is inconvenient to set up or the cost of setting up a fixed charging pile 320 is too high, such as an existing parking lot, a crowded old community or a street, etc.

[0105] and Figure 3 The system upgrade methods corresponding to the application scenarios shown are as follows:

[0106] Figure 4 A flowchart of another system upgrade method provided for the implementation of this application. Figure 4 As shown, the specific steps of the system upgrade method include:

[0107] S401: After at least one mobile terminal is connected to a shared charger, start a connection timing thread and an energy monitoring thread.

[0108] In this step, the connection timing thread is used to monitor the connection time between each mobile terminal and the shared charger, and the energy monitoring thread is used to monitor the remaining power of each mobile terminal and the shared charger.

[0109] Optionally, the connection timing thread and the energy monitoring thread may be set in at least one of the mobile terminal, the shared charger, and the upper controller or server of the shared charger.

[0110] In this embodiment, if Figure 3 As shown, after the new energy vehicle 310 is connected to the fixed charging pile 320 or the mobile charging cart 330, the fixed charging pile 320 or the mobile charging cart 330 starts a connection timing thread according to a connection signal to record the connection time.

[0111] It is worth mentioning that the connection time is to prevent users from repeatedly plugging and unplugging the device without plugging it firmly, or from briefly charging it and then unplugging it because of an emergency. These application scenarios are not suitable for system upgrades, so the connection time is introduced to avoid these application scenarios, in order to achieve the technical effect of ensuring that users can use the mobile terminal normally.

[0112] The purpose of monitoring the remaining power is to avoid the problem that the upgrade is interrupted due to low power during the download of upgrade data or the system upgrade, which may cause system errors and damage to the mobile terminal.

[0113] S402: When at least one connection time and at least one remaining power level meet a first preset condition, check whether upgrade data is stored in the shared charger and each mobile terminal.

[0114] In this step, the first preset condition includes:

[0115] There is at least one target connection time greater than the preset time threshold among the connection times, and the remaining power of the target terminal corresponding to the target connection time is greater than the first preset power. There are two technical effects of this, one is to ensure a stable connection state to avoid the user, and the other is to ensure that the mobile terminal has enough power to execute the upgrade program to avoid the upgrade program being executed when the power is too low, causing the power to be cut off due to the low power, thereby interrupting the upgrade program and causing a system error, causing the mobile terminal to freeze.

[0116] In a possible design, the energy monitoring thread is also used to monitor the current operating power of each mobile terminal and shared charger. At this time, the corresponding first preset condition includes:

[0117] There is at least one target connection time greater than a preset time threshold among the connection times;

[0118] Furthermore, the remaining power and current operating power of the target terminal corresponding to the target connection time meet the second preset condition.

[0119] The technical effect of this is: considering that the user is still operating the mobile terminal to process services during the charging process of the mobile terminal, if the power consumption of the mobile terminal in processing services is not large, it can also serve as a download terminal for upgrade data. If its power consumption is large, it will not be used as a download terminal in order to avoid affecting the user experience.

[0120] Optionally, the second preset condition may include at least two design solutions:

[0121] The first type: the remaining power of the target terminal is greater than the second preset power, and the current operating power of the target terminal is less than or equal to the preset power.

[0122] The second type: the determination parameter obtained based on the remaining power of the target terminal and the current operating power is greater than or equal to a preset threshold.

[0123] This design method includes at least two real-time methods, which are expressed by formula (1) and formula (2) respectively:

[0124] (1);

[0125] in, is the first decision parameter, i.e., the estimated remaining working time, is the current operating power, is the remaining power, is the estimated correction factor.

[0126] (2);

[0127] in, is the second decision parameter, is the average power in n cycles, is the remaining power, is the estimated correction factor.

[0128] The technical effect that can be achieved in this way is to prevent the target terminal from running out of power during the system upgrade process due to low power, thereby causing system errors, resulting in system crashes or system malfunctions.

[0129] S403: If there is no upgrade data in the shared charger and each mobile terminal, the upgrade data is downloaded using the shared charger and / or at least one mobile terminal according to the remaining storage space and the remaining power of each mobile terminal.

[0130] In this embodiment, it specifically includes:

[0131] S4031. Determine at least one terminal for downloading the upgrade data according to the type and remaining power of the shared charger, and the remaining storage space and remaining power of each mobile terminal.

[0132] In this step, the types of shared chargers include: independent chargers and grid-connected chargers. Independent chargers can also be called mobile chargers, which can use their own energy storage devices, such as energy storage cells, to charge mobile terminals. Figure 3 The mobile charging cart 330, Figure 1 The grid-connected charger does not have its own energy storage device. It connects to the grid and converts the electricity in the grid to charge the mobile terminal. Figure 1 The smart charging socket in Figure 3 There are 320 fixed charging piles in the market.

[0133] In a possible design, when the type of the shared charger is an independent charger or a mobile charger, if the remaining power in the shared charger is greater than or equal to a third preset power, the shared charger is used as one of the download terminals for downloading the upgrade data;

[0134] When the remaining storage space in the mobile terminal is greater than a preset storage threshold, and the remaining power of the mobile terminal is greater than or equal to a fourth preset power, the mobile terminal is used as one of the download terminals.

[0135] In another possible design, when the type of shared charger is a grid-connected charger,

[0136] S4032: Using a preset allocation model, divide the upgrade data into one or more download data packets according to the number of download terminals.

[0137] S4033. Utilize various download terminals to download various download data packages, and aggregate the download data packages into the shared charger to combine them into upgrade data.

[0138] S404: Perform a system upgrade on at least one target terminal in at least one mobile terminal using the upgrade data, and store the upgrade data in a shared charger.

[0139] S405: If there is upgrade data in the shared charger, use the upgrade data to perform a system upgrade on at least one target terminal.

[0140] S406: If the upgrade data is stored in at least one mobile terminal and the shared charger does not have the upgrade data, the upgrade data is copied to the shared charger, and the system of at least one target terminal is upgraded using the upgrade data.

[0141] The specific implementation of steps S404 to S406 may refer to S203 to S205 and will not be described in detail here.

[0142] This embodiment provides a system upgrade method, which solves the technical problem of how to avoid frequent system upgrades and reduce the user experience of the mobile terminal by cleverly using a shared charger to share upgrade data during the charging process. By taking advantage of the fact that the user uses the mobile terminal less during charging, the technical effect of avoiding or reducing the resource consumption of the mobile terminal downloading upgrade data and reducing the adverse impact of the system upgrade on the user experience is achieved.

[0143] Figure 5 This is a schematic diagram of the structure of a system upgrade device provided in an embodiment of the present application. The system upgrade device 500 can be implemented by software, hardware or a combination of both.

[0144] like Figure 5 As shown, the system upgrade device 500 is applied to a wearable device, and one or more contact arrays are provided on the wearable device, and the contact units in the contact array are arranged into a preset pattern in a preset arrangement form. The system upgrade device 500 includes:

[0145] An acquisition module 501 is used to acquire a charging signal of at least one mobile terminal being charged through a shared charger, wherein the shared charger can simultaneously connect to multiple mobile terminals and charge and transmit data to them;

[0146] The processing module 502 is used to:

[0147] In response to the charging signal, determining whether at least one of each mobile terminal and the shared charger stores upgrade data;

[0148] If the shared charger and each mobile terminal do not have the upgrade data, download the upgrade data using the shared charger and / or at least one mobile terminal according to the remaining storage space and the remaining power of each mobile terminal; perform a system upgrade on at least one target terminal in the at least one mobile terminal using the upgrade data, and store the upgrade data in the shared charger;

[0149] If there is upgrade data in the shared charger, use the upgrade data to perform a system upgrade on at least one target terminal;

[0150] If the upgrade data is stored in at least one mobile terminal and the shared charger does not have the upgrade data, the upgrade data is copied to the shared charger, and the system of at least one target terminal is upgraded using the upgrade data.

[0151] In one possible design, the processing module 502 is further configured to:

[0152] After at least one mobile terminal is connected to the shared charger, a connection timing thread and an energy monitoring thread are started, wherein the connection timing thread is used to monitor the connection time of each mobile terminal and the shared charger, and the energy monitoring thread is used to monitor the remaining power of each mobile terminal and the shared charger;

[0153] When at least one connection time and at least one remaining power satisfy a first preset condition, it is checked whether the shared charger and each mobile terminal store upgrade data.

[0154] In a possible design, the first preset condition includes:

[0155] There is at least one target connection time that is greater than a preset time threshold among the connection times, and the remaining power of the target terminal corresponding to the target connection time is greater than a first preset power.

[0156] In one possible design, the energy monitoring thread is also used to monitor the current operating power of each mobile terminal and shared charger;

[0157] Correspondingly, the first preset condition includes:

[0158] There is at least one target connection time greater than a preset time threshold among the connection times;

[0159] Furthermore, the remaining power and current operating power of the target terminal corresponding to the target connection time meet the second preset condition.

[0160] Optionally, the second preset condition includes:

[0161] The remaining power of the target terminal is greater than the second preset power, and the current operating power of the target terminal is less than or equal to the preset power;

[0162] or,

[0163] The determination parameter obtained based on the remaining power of the target terminal and the current operating power is greater than or equal to a preset threshold.

[0164] In one possible design, the processing module 502 is configured to:

[0165] Determining at least one downloading terminal for the upgrade data according to the type and remaining power of the shared charger, and the remaining storage space and remaining power of each mobile terminal;

[0166] Using a preset allocation model, the upgrade data is divided into one or more download data packets according to the number of download terminals;

[0167] Utilize each download terminal to download each download data package, and collect the download data packages into the shared charger to combine into upgrade data.

[0168] In one possible design, the processing module 502 is configured to:

[0169] When the type of the shared charger is an independent charger or a mobile charger, if the remaining power in the shared charger is greater than or equal to a third preset power, the shared charger is used as one of the download terminals for downloading the upgrade data;

[0170] When the remaining storage space in the mobile terminal is greater than a preset storage threshold, and the remaining power of the mobile terminal is greater than or equal to a fourth preset power, the mobile terminal is used as one of the download terminals.

[0171] It is worth mentioning that Figure 5 The device provided in the illustrated embodiment can execute the method provided in any of the above method embodiments. Its specific implementation principles, technical features, professional terminology explanations and technical effects are similar and will not be repeated here.

[0172] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 6 As shown, the electronic device 600 may include: at least one processor 601 and a memory 602 . Figure 6 An electronic device is shown using a processor as an example.

[0173] The memory 602 is used to store programs. Specifically, the programs may include program codes, and the program codes include computer operation instructions.

[0174] The memory 602 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0175] The processor 601 is used to execute the computer-executable instructions stored in the memory 602 to implement the methods described in the above method embodiments.

[0176] The processor 601 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0177] Optionally, the memory 602 may be independent or integrated with the processor 601. When the memory 602 is a device independent of the processor 601, the electronic device 600 may further include:

[0178] The bus 603 is used to connect the processor 601 and the memory 602. The bus may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.

[0179] Optionally, in a specific implementation, if the memory 602 and the processor 601 are integrated on a chip, the memory 602 and the processor 601 can communicate through an internal interface.

[0180] The embodiments of the present application also provide a computer-readable storage medium, which may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes. Specifically, the computer-readable storage medium stores program instructions, and the program instructions are used in the methods in the above-mentioned method embodiments.

[0181] An embodiment of the present application further provides a computer program product, including a computer program, which implements the methods in the above-mentioned method embodiments when executed by a processor.

[0182] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

[0183] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A system upgrade method, characterized in that: include: When at least one mobile terminal is charged through a shared charger, after at least one of the mobile terminals is connected to the shared charger, a connection timing thread and an energy monitoring thread are started, wherein the connection timing thread is used to monitor the connection time of each of the mobile terminals and the shared charger, and the energy monitoring thread is used to monitor the remaining power of each of the mobile terminals and the shared charger; When at least one of the connection time and at least one of the remaining power meets a first preset condition, checking and determining whether at least one of each of the mobile terminals and the shared charger stores upgrade data, wherein the shared charger can simultaneously connect to a plurality of the mobile terminals and charge and transmit data to the mobile terminals after obtaining data interaction permission from the mobile terminals; If the shared charger and each of the mobile terminals do not have the upgrade data, download the upgrade data using the shared charger and / or at least one of the mobile terminals according to the remaining storage space and the remaining power of each of the mobile terminals; perform a system upgrade on at least one target terminal of at least one of the mobile terminals using the upgrade data, and store the upgrade data in the shared charger; If the shared charger has the upgrade data, use the upgrade data to perform a system upgrade on at least one of the target terminals; If the upgrade data is stored in at least one of the mobile terminals and the shared charger does not have the upgrade data, copying the upgrade data to the shared charger, and using the upgrade data to perform a system upgrade on at least one of the target terminals; The first preset condition includes: There is at least one target connection time greater than a preset time threshold among the connection times, and the remaining power of the target terminal corresponding to the target connection time is greater than a first preset power.

2. The system upgrade method according to claim 1, characterized in that: The energy monitoring thread is also used to monitor the current operating power of each of the mobile terminals and the shared charger; Correspondingly, the first preset condition includes: Among the connection times, there is at least one target connection time that is greater than a preset time threshold; Furthermore, the remaining power and the current operating power of the target terminal corresponding to the target connection time satisfy a second preset condition.

3. The system upgrade method according to claim 2, characterized in that: The second preset condition includes: The remaining power of the target terminal is greater than a second preset power, and the current operating power of the target terminal is less than or equal to a preset power; or, The determination parameter obtained according to the remaining power of the target terminal and the current operating power is greater than or equal to a preset threshold, wherein the determination parameter includes: remaining working time; The remaining workable time includes at least one of a first remaining workable time and a second remaining workable time: ; in, is the first remaining workable time, is the current operating power, is the remaining power, is the estimated correction factor; ; in, is the second remaining workable time, is the average power in n cycles, is the remaining power, is the estimated correction factor.

4. A system upgrade device, characterized in that: include: an acquisition module, configured to acquire a charging signal of at least one mobile terminal being charged through a shared charger, wherein the shared charger can simultaneously connect to a plurality of the mobile terminals and charge and transmit data to the mobile terminals after acquiring a data interaction permission from the mobile terminal; Processing modules for: In response to the charging signal, after at least one of the mobile terminals is connected to the shared charger, a connection timing thread and an energy monitoring thread are started, wherein the connection timing thread is used to monitor the connection time of each of the mobile terminals and the shared charger, and the energy monitoring thread is used to monitor the remaining power of each of the mobile terminals and the shared charger; When at least one of the connection time and at least one of the remaining power meets a first preset condition, checking and determining whether at least one of each of the mobile terminals and the shared charger stores upgrade data; If the shared charger and each of the mobile terminals do not have the upgrade data, download the upgrade data using the shared charger and / or at least one of the mobile terminals according to the remaining storage space and the remaining power of each of the mobile terminals; perform a system upgrade on at least one target terminal of at least one of the mobile terminals using the upgrade data, and store the upgrade data in the shared charger; If the shared charger has the upgrade data, use the upgrade data to perform a system upgrade on at least one target terminal; If the upgrade data is stored in at least one of the mobile terminals and the shared charger does not have the upgrade data, the upgrade data is copied to the shared charger, and the system of at least one of the target terminals is upgraded using the upgrade data; the first preset condition includes: There is at least one target connection time greater than a preset time threshold among the connection times, and the remaining power of the target terminal corresponding to the target connection time is greater than a first preset power.

5. An electronic device, characterized in that: include: processor; as well as, a memory for storing a computer program for the processor; Wherein, the processor is configured to perform the system upgrade method according to any one of claims 1 to 3 by executing the computer program.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the system upgrade method according to any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Upgrading method and upgrading devices of vehicle-mounted equipment and vehicle

    CN108241498A

  • Software upgrading method, device and equipment and readable storage medium

    CN115729585A

  • System intelligent upgrading method and device, computer equipment and storage medium

    CN116048593A

  • Upgrade method, apparatus and system

    WO2024026594A1