CN115643338A - Parameter updating method and equipment - Google Patents

Parameter updating method and equipment Download PDF

Info

Publication number
CN115643338A
CN115643338A CN202211527250.1A CN202211527250A CN115643338A CN 115643338 A CN115643338 A CN 115643338A CN 202211527250 A CN202211527250 A CN 202211527250A CN 115643338 A CN115643338 A CN 115643338A
Authority
CN
China
Prior art keywords
parameter
update
updating
electronic device
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211527250.1A
Other languages
Chinese (zh)
Other versions
CN115643338B (en
Inventor
黄河
于庆秋
王斌
张锦涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211527250.1A priority Critical patent/CN115643338B/en
Publication of CN115643338A publication Critical patent/CN115643338A/en
Application granted granted Critical
Publication of CN115643338B publication Critical patent/CN115643338B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the application provides a parameter updating method and equipment, which are applied to the field of communication. The server then obtains a first update condition for a first parameter, the first parameter including a system update parameter of an operating system of the electronic device. If the server determines that the target electronic equipment in the at least one piece of electronic equipment meets the first updating condition according to the equipment information, a first parameter updating package is sent to the target electronic equipment, so that the target electronic equipment updates the operating system based on the system updating parameters in the first parameter updating package. According to the embodiment of the application, when the equipment information of the electronic equipment meets the preset condition, the parameter updating packet can be independently sent to the electronic equipment. Therefore, the electronic equipment can directly update the parameters of the operating system, so that the efficiency of updating the parameters is higher.

Description

Parameter updating method and equipment
Technical Field
The present application relates to the field of communications, and in particular, to a parameter updating method and apparatus.
Background
With the rapid development of electronic technology, the types and functions of electronic devices are more and more abundant, and more Applications (APPs) are used on the electronic devices, so that diversified services are provided for users, and the lives of the users are enriched. The operating system and applications of the electronic device need to be quickly iterated (or called version-updated) to adapt to the changing pace of the market. At present, data for updating an operating system and an application program are issued to electronic equipment in a version package form, and the version package is large in data volume, long in downloading time and not timely in updating, so that user experience is poor.
Disclosure of Invention
The embodiment of the application provides a parameter updating method and equipment, and the parameter updating package is independently sent to the electronic equipment, so that the electronic equipment can directly update the system parameters, and the efficiency of updating the system parameters is higher.
In a first aspect, the present application provides a parameter updating method applied to a server. In the method, a server acquires device information of at least one electronic device. The server then obtains a first update condition for a first parameter, the first parameter including a system update parameter of an operating system of the electronic device. If the target electronic equipment in the at least one electronic equipment meets the first updating condition according to the equipment information, the server sends a first parameter updating package to the target electronic equipment, so that the target electronic equipment updates the operating system based on the system updating parameters in the first parameter updating package.
In the scheme, when system parameters of an operating system of the electronic device are updated, the server first obtains device information of at least one electronic device, and if target electronic device information in the electronic device meets a first updating condition, the server sends a first parameter updating packet corresponding to the first updating condition to the target electronic device. Different from the version package, the first parameter updating package only updates the system parameters, so that the first parameter updating package does not need to be released together with the version package, and the requirements of independent and real-time updating of the parameters can be met. In addition, the server can send the parameter updating packet to the electronic equipment instead of sending the parameter updating packet regularly or manually when the equipment information triggers the updating condition, so that the speed of sending the parameter updating packet by the server is higher, and based on the parameter updating packet, the target electronic equipment can update the parameters of the operating system in real time so as to improve the efficiency of repairing the problem of the operating system or optimizing the performance of the operating system, thereby improving the use experience of a user on the operating system.
In a possible design manner of the first aspect, the first parameter includes a plurality of parameters, the system update parameter includes at least one of a system configuration update parameter and a system application update parameter, and the first parameter further includes a three-party application update parameter.
In this design, the first parameter update package may update parameters of a plurality of update objects, such as system configuration, system application, and three-party application. And the server issues the first parameter update package each time, and the first parameter update package can be used for updating the parameters of a plurality of update objects at the same time. Therefore, the upgrading efficiency of the system parameters of the target electronic equipment is improved.
In a possible design of the first aspect, the method further includes: a second update condition for a second parameter is obtained. And if the target electronic equipment meets the second updating condition according to the equipment information, sending a second parameter updating package to the target electronic equipment, wherein the second parameter updating package comprises a second parameter, so that the electronic equipment can update the operating system or the three-party application based on the second parameter updating package. Wherein the second parameter comprises a three-party application update parameter. Alternatively, the first parameter comprises a first system application update parameter and the second parameter comprises a second system application update parameter.
In this design, the server may further send a second parameter update package for the operating system or the three-party application, so as to update the parameters of the operating system or the three-party application. Therefore, the parameter updating package can be sent to different updating objects (such as an operating system and a three-party application, or a first system application and a second system application), so that the purpose of quickly and timely updating parameters of different updating objects is achieved, and the efficiency of updating the parameters is higher.
In a possible design manner of the first aspect, the method further includes: a third update condition for a third parameter is obtained. And if the third updating condition is determined to be met according to the device information, sending a third parameter updating package to the electronic device, wherein the third parameter updating package comprises a third parameter, so that the electronic device can update the three-party application based on the three-party application updating parameter in the third parameter updating package. The second parameters comprise first three-party application updating parameters, and the third parameters comprise second three-party application updating parameters.
In this design, the server may also send parameter update packages for different three-party applications. For example, a second parameter update package is sent for the first three-party application, and the parameters of the first three-party application are updated through the first three-party application update parameters in the second parameter update package. And sending a third parameter updating package aiming at the second three-party application, and updating the parameters of the second three-party application through the second three-party application updating parameters in the third parameter updating package. Therefore, the parameter updating package can be sent to different three-party applications, and the updating efficiency of updating the parameters of the three-party applications is improved.
In a possible design manner of the first aspect, the system update parameter is used to instruct the electronic device to update the target switch parameter, and the first update condition includes: the electronic device supports 5G communication. If it is determined according to the device information that the first update condition is satisfied, sending a first parameter update package to the electronic device, so that the electronic device updates the operating system based on the system update parameter in the first parameter update package, including: and if the electronic equipment supports 5G communication according to the equipment information, sending a first parameter updating packet to the electronic equipment so that the electronic equipment updates the target switch parameter associated with the communication service in the operating system from an on state to an off state or updates the target switch parameter associated with the communication service in the operating system from the off state to the on state based on the system updating parameter in the first parameter updating packet.
In this design, the server may determine, when the operating system needs to be updated for the electronic device supporting 5G communication, whether the electronic device supports 5G through the device information, and if the electronic device supports 5G, send a first parameter update packet to the electronic device, where the first parameter update packet may update a state of a target switch parameter in the operating system, for example, update a target switch parameter (e.g., a switch parameter for 5G traffic) in the switch parameter from an on state to an off state, so as to turn off a function corresponding to the target switch parameter in the operating system. Or updating the target switch parameter from the off state to the on state so as to start the function corresponding to the target switch parameter in the operating system. According to the method and the device, the system problem of the electronic equipment with 5G communication can be quickly repaired by directly acquiring the system updating parameters from the first parameter updating package.
In a possible design manner of the first aspect, the system update parameter is used to instruct the electronic device to set the target system application as a blacklist application, and the first update condition includes: the electronic device is installed with a target system application. If it is determined according to the device information that the first update condition is satisfied, sending a first parameter update package to the electronic device, so that the electronic device updates the operating system based on the system update parameter in the first parameter update package, including: and if the target system application is determined to be installed on the electronic equipment according to the equipment information, sending a first parameter updating packet to the electronic equipment, so that the electronic equipment sets the target system application as a blacklist application based on the system updating parameters in the first parameter updating packet, and the blacklist application is not allowed to run on the target electronic equipment.
In this design, the server may determine whether the target system application (e.g., file management) is installed on the electronic device according to the device information when the target system application needs to be disabled. If the target system application is installed on the electronic device, sending a first parameter update package to the electronic device, so that the electronic device determines that the system application needs to be set as a blacklist application based on system update parameters in the first parameter update package. The blacklist application is not allowed to be allowed on the electronic equipment, so that the situation that the electronic equipment cannot be normally used after the target system application is started due to hardware non-support of the electronic equipment or compatibility problems can be avoided. According to the method and the device, the target system application which cannot be normally supported temporarily can be set as the blacklist application rapidly by directly acquiring the system updating parameters from the first parameter updating packet.
In a possible design manner of the first aspect, the device information includes at least one of system application version information, device version information, and a device model. The acquiring device information of at least one electronic device includes: the method comprises the steps of acquiring device information which is transmitted by at least one electronic device at the last time in the plurality of pieces of device information under the condition that the at least one electronic device corresponds to the plurality of pieces of device information, wherein the plurality of pieces of device information are periodically transmitted to a server by the at least one electronic device.
In this design, the device information is information for the electronic device itself, for example, the system application version information is version information of a system application carried by an operating system of the electronic device, and the system application version information is associated with the operating system of the electronic device. The device version information is data related to the version of the electronic device, such as a device serial number of the electronic device. The device signal is an electronic device according to a processor type or a display screen type. The server may determine whether to transmit the parameter update package to the electronic device according to the device information. The device information acquired by the server may be the device information transmitted last time among the device information periodically transmitted by the electronic device. Therefore, the device information of the electronic device can be synchronized to the server in real time, so that the server sends a parameter update package to the target electronic device of which the device information meets the update condition.
In a possible design manner of the first aspect, the parameter update package includes: at least one of a system range parameter, a system value parameter, a system attribute parameter, and a system switch parameter.
In a possible design of the first aspect, the parameter update package includes an update object identifier. The update object identification is used for the electronic equipment to determine an update object so that the electronic equipment can update the update object, wherein the update object comprises an operating system and a three-party application.
In a second aspect, the present application provides a parameter updating method applied to an electronic device. In the method, the electronic device sends device information to a server. If the device information meets the first updating condition, the electronic device receives a first parameter updating package from the server, wherein the first parameter updating package comprises first parameters, and the first parameters comprise system updating parameters for the operating system. The electronic device then updates the operating system based on the system update parameters in the first parameter update package.
According to the method and the device, the equipment information can be sent to the server, so that the server can send the first parameter updating package to the electronic equipment under the condition that the equipment information meets the first updating condition. The electronic equipment updates the operating system through the system updating parameters aiming at the operating system in the first parameter updating package. And then, the parameters of the operating system can be updated in real time to improve the efficiency of repairing the problems of the operating system or optimizing the performance of the operating system, so that the use experience of a user on the operating system is improved.
In a possible design manner of the second aspect, the method further includes: and if the equipment information meets a second updating condition, receiving a second parameter updating package from the server, wherein the second parameter updating package comprises a second parameter, and the second parameter comprises an updating parameter aiming at the operating system or the three-party application. And updating the operating system or the three-party application based on the updating parameters in the second parameter updating package. Wherein the second parameter comprises a three-party application update parameter. Alternatively, the first parameter comprises a first system application update parameter and the second parameter comprises a second system application update parameter.
In the design mode, the electronic device receives the second parameter update package under the condition that the device information meets the second update condition, so that the parameters of the operating system or the three-party application can be updated conveniently. The second parameter update package and the first parameter update package are used for updating different update objects, for example, the first parameter update package is used for updating the first system application, and the second parameter update package is used for updating the second system application. Or the first parameter updating package is used for updating the system application, and the second parameter updating package is used for updating the three-party application. Therefore, the electronic equipment can update the parameters of a plurality of update objects at the same time, and the parameter upgrading efficiency of the electronic equipment is improved.
In a possible design of the second aspect, the method further includes: and if the equipment information meets the third updating condition, receiving a third parameter updating packet from the server. And updating the three-party application based on the application updating parameters in the third parameter updating package. The second parameters further comprise first three-party application update parameters, the third parameter update package comprises third parameters, and the third parameters comprise second three-party application update parameters.
In this design, the electronic device receives the third parameter update package when the device information satisfies the third update condition. The third parameter update package is for updating another three-party application, different from the second parameter update package and the first parameter update package. That is to say, the electronic device can update different applications by receiving the parameter update package, so as to achieve the purpose of updating parameters of different update objects quickly and in real time, and improve the efficiency of updating the parameters.
In a possible design manner of the second aspect, before sending the device information to the server, the method further includes: the operating system registers application version information and application registration information with the electronic device, wherein the application registration information is used for determining an update directory of the operating system. Updating the operating system based on the system update parameters in the first parameter update package, including: and determining that the update object corresponding to the first parameter update package is the operating system according to the update object identifier in the first parameter update package. And moving the system updating parameters in the parameter updating package to the updating catalog corresponding to the operating system. And the operating system acquires the system updating parameters from the updating directory to update the operating system. After the updating is completed, the application version information of the operating system is changed.
In the design mode, the electronic device further acquires the application registration information so that after the parameter update package is acquired, the corresponding application can be determined according to the acquired application registration information.
In a possible design manner of the second aspect, the sending the device information to the server includes: and presetting a timing period, and after each timing period is finished, sending the equipment information when the timing period is finished to the server, or responding to network connection operation and sending the equipment information acquired in the network connection process to the server.
In the design mode, the electronic equipment sends the equipment information at regular time or each time of networking, so that the equipment information is synchronized to the server in real time, and the server determines the target electronic equipment of the parameter update package to be sent based on the updated equipment information.
In a possible design manner of the second aspect, the updating the operating system based on the system update parameter in the first parameter update package includes: and prompting the user to update the parameters of the operating system. And after the authorized operation of the user is detected, updating the operating system based on the system updating parameters in the first parameter updating package.
In the design mode, before the electronic equipment installs the parameter updating package, the user is prompted to update the parameters of the operating system. And detecting the authorization operation of the user, indicating that the parameter updating is authorized by the user, and then installing the system updating parameters in the parameter updating package by the electronic equipment.
In a third aspect, the present application provides a parameter updating apparatus comprising a communication module, a memory, and one or more processors. The communication module, the memory and the processor are coupled. Wherein the memory is configured to store computer program code comprising computer instructions. The computer instructions, when executed by the processor, cause the parameter updating apparatus to perform the method as set forth in the first aspect and any one of its possible designs.
In a fourth aspect, the present application provides an electronic device comprising: a processor, a memory for storing processor-executable instructions, the processor being configured to execute the instructions to cause the electronic device to implement the method as described in the second aspect and any of its possible designs.
In a fifth aspect, the present application provides a computer-readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method according to the first aspect and any one of its possible designs or to perform the method according to the second aspect and any one of its possible designs.
In a sixth aspect, the present application provides a computer program product which, when run on a computer, causes the computer to perform the method according to the first aspect and any one of its possible designs or to perform the method according to the second aspect and any one of its possible designs.
It should be understood that, for the beneficial effects that can be achieved by the parameter updating apparatus of the third aspect, the electronic device of the fourth aspect, the computer-readable storage medium of the fifth aspect, and the computer program product of the sixth aspect, reference may be made to the beneficial effects of the first aspect and any possible design manner thereof, or the second aspect and any possible design manner thereof, and details are not described herein again.
Drawings
Fig. 1 is a schematic diagram illustrating an effect of a parameter updating method provided in the prior art;
fig. 2 is a schematic diagram of a publishing flow of a parameter update package and a version package that are published respectively after being decoupled according to an embodiment of the present application;
fig. 3 is a flowchart of a parameter updating method provided in an embodiment of the present application;
fig. 4 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a block diagram of a software structure of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a parameter updating process provided in an embodiment of the present application;
FIG. 7 is an architecture diagram of another parameter updating system provided in an embodiment of the present application;
FIG. 8 is a schematic display diagram of an album APP before and after parameter update according to an embodiment of the present application;
fig. 9 is a schematic display diagram of a weather APP before and after updating a system parameter according to an embodiment of the present application.
Detailed Description
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present embodiment, "a plurality" means two or more unless otherwise specified.
Updating, also called version upgrading, refers to perfecting a previous version of an operating system or APP, such as bug fixing, function upgrading, performance optimization, and the like. The updates to the electronic device include version updates and parameter updates. The version updating is characterized by longer updating period and more updating contents; and the updating content of the parameter updating is generally less, and the real-time property is more important.
Refer to fig. 1, which is a schematic diagram illustrating an effect of a parameter updating method provided in the prior art. Fig. 1 (a) is a schematic diagram illustrating that an electronic device downloads an update package, fig. 1 (b) is a schematic diagram illustrating that a restart is instructed after the update is completed, and fig. 1 (c) is a schematic diagram illustrating a notification message.
The version packet data includes version update data and parameter update data. As shown in fig. 1 (a), the version pack has a large data size (509 Megabytes, 509MB for short) and a long download time (1 hour 20 minutes). As shown in fig. 1 (b), when the download is completed, a restart message "version update is completed, i.e., about to restart" is displayed on the screen of the electronic device. As shown in fig. 1 (c), after the restart, the updated content is displayed on the screen, and the content includes "new computing power upgrade, and the rendering speed is increased; optimizing the power consumption of the system; adding the sound of hundreds of global organisms; adding super wallpaper; newly adding fuzzy positioning; optimizing privacy protection; input method conflict remediation ". The 'input method conflict repair' is parameter upgrade aiming at system parameters of the electronic equipment, but parameter information corresponding to the parameter upgrade is packaged in a version package and can not be downloaded by the electronic equipment when the version is updated. This approach results in the parameters of the electronic device being updated untimely and thus the user experience is poor.
Based on this, the embodiment of the present application provides a parameter updating method, which can decouple a parameter updating package from a version package, as shown in fig. 2, and separately store the parameter updating package on a server (such as the cloud side shown in fig. 2). The electronic equipment sends the equipment information to the server so that the server can judge whether the updating condition is met or not according to the equipment information. When the device information meets the update condition, the electronic device receives a parameter update package from the server, wherein the parameter update package comprises system update parameters for the operating system. Updating of system parameters of the operating system is then completed based on the parameter update package. Therefore, the parameter updating package for updating the system parameters of the electronic equipment does not need to be released together with the version package, and the requirements of parameter independence and real-time updating can be met. And the parameter updating package does not generally involve updating a driver of the electronic equipment, so that the equipment does not need to be restarted when the parameters of the electronic equipment are updated independently, and the efficiency of updating the system parameters is higher.
With continued reference to fig. 2, for the version package, the cloud side issues the version package separately, so that the electronic device can download the version package from the cloud side when the version update is needed. And restarting the operating system after the version package is installed on the electronic equipment so as to finish updating the version of the electronic equipment. After the update is completed, the device version number of the electronic device may change to indicate that the electronic device completed updating the version.
It should be noted that, based on the difference between the update objects, the parameter update package includes a first parameter update package, a second parameter update package, and a third parameter update package. Wherein the first parameter update package includes a first parameter that includes a system update parameter of an operating system of the electronic device. The first parameter corresponds to a first update condition, so that when the device information satisfies the first update condition, the first parameter update package is sent to a target electronic device in the plurality of electronic devices, so that the target electronic device updates the operating system based on the system update parameter in the first parameter update package. The second parameter update package includes a second parameter that includes a three-party application update parameter. Alternatively, the first parameter comprises a first application update parameter and the second parameter comprises a second system update parameter. That is, the first parameter and the second parameter are parameters for different update objects, respectively. The third parameter update package includes a third parameter, which may be a different parameter for the three-party application update than the second parameter, such as the second parameter includes a first three-party application update parameter and the third parameter includes a second three-party application update parameter.
The parameter updating method provided by the embodiment of the application can be applied to a parameter updating system. For example, referring to fig. 3, the parameter updating system 20 includes a server 200 and at least one electronic device 300. In some embodiments, server 200 further includes a storage server 210 and a platform server 220. The storage server 210 may be a cloud server for storing data. The platform server may be a publishing platform for publishing the parameter update package and formulating a publishing policy (or called an update condition). The electronic device 300 may include multiple APPs, such as a video APP, a taxi APP, a map APP, and the like.
The electronic device 300 sends device information to the platform server 220, where the device information includes system application version information of the APP, device version information of the electronic device 300, a device model of the electronic device 300, and the like.
In some embodiments, after the platform server 220 obtains the parameter update package, it is determined which parameters of the electronic device 300 are updated by the parameter update package. In particular, the platform server 220 may receive a parameter update package from the software silo. An update condition is preset at the platform server 220, and the update condition corresponds to a parameter update package for determining whether the device information satisfies a condition for receiving the parameter update package.
For example, the parameter update package is used for updating the 13.10.0.10 version of the map APP to increase the language supported by the map APP; the updating conditions are as follows: the map APP with the application version number of "13.10.0.10" is updated. Then the device information satisfying the update condition can be understood as: when determining that the application version number of the map APP of the electronic device 300 is "13.10.0.10" according to the device information, the platform server 220 sends the parameter update package to the electronic device 300. The electronic device 300 then performs parameter update on the map APP based on the parameter update package.
In some embodiments, the platform server 220 may store the update condition, parameter update package in the storage server 210.
In the embodiment of the present application, the electronic device 300 may send the device information to the server 200 in various policies. For example, the electronic device 300 may periodically transmit the device information to the server 200 so as to synchronize the device information to the server 200 in real time. For another example, the electronic device 300 may transmit device information to the server 200 each time the network is changed. For example, when the electronic device 300 is reconnected to the base station of the network, the device information of the current time point may be transmitted to the server 200. For another example, the electronic device 300 may transmit device information to the server 200 each time it is powered on. The specific strategy for the electronic device 300 to transmit the device information is not limited in the present application.
The electronic device 300 in the parameter updating system shown in fig. 3 may be a mobile phone, a tablet computer, a wearable device, a smart home device, an in-vehicle device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, a super-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), an earphone, a router, a watch, a device accessory, and other devices that need to be updated with parameters.
In some embodiments, the electronic device 300 may actively receive the parameter update package from the server 200 and update the parameter, such as a mobile phone, a tablet computer, and the like. In other embodiments, the electronic device 300 may need to update the parameters with other electronic devices. For example, the device accessory may update its parameters via a parameter update package transmitted by the electronic device to which it is connected. The embodiment of the application does not set any limit to the device type and the update mode of the electronic device.
For example, fig. 4 shows a hardware structure diagram of an electronic device provided in an embodiment of the present application. Taking the electronic device 300 as an example of a mobile phone, the mobile phone may include a processor 310, an external memory interface 320, an internal memory 321, a Universal Serial Bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an earphone interface 370D, a sensor module 380, buttons 390, a motor 391, an indicator 392, a camera 393, a display 394, and a Subscriber Identity Module (SIM) card interface 395.
Processor 310 may include one or more processing units, such as: the processor 310 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a Neural-Network Processing Unit (NPU), among others. The different processing units may be independent devices or may be integrated in the same processor.
The controller can be a decision maker for commanding each part of the mobile phone to work coordinately according to instructions, and is a neural center and a command center of the mobile phone. The controller generates an operation control signal according to the instruction operation code and the time sequence signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 310 for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 310. If the processor 310 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 310, thereby increasing the efficiency of the system.
The charging management module 340 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 340 may receive charging input from a wired charger via the USB interface 330. In some wireless charging embodiments, the charging management module 340 may receive a wireless charging input through a wireless charging coil of the electronic device 300. The charging management module 340 may also supply power to the mobile phone through the power management module 341 while charging the battery 342.
The power management module 341 is configured to connect the battery 342, the charging management module 340 and the processor 310. The power management module 341 receives input from the battery 342 and/or the charge management module 340 and provides power to the processor 310, the internal memory 321, the external memory, the display 394, the camera 393, and the wireless communication module 360. The power management module 341 may also be configured to monitor parameters such as battery capacity, battery cycle count, and battery state of health (leakage, impedance). In other embodiments, the power management module 341 may also be disposed in the processor 310. In other embodiments, the power management module 341 and the charging management module 340 may be disposed in the same device.
The wireless communication function of the electronic device 300 may be implemented by the antenna 1, the antenna 2, the mobile communication module 350, the wireless communication module 360, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in electronic device 300 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 350 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 300. The mobile communication module 350 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 350 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit the electromagnetic waves to the modem for demodulation. The mobile communication module 350 can also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave to radiate the electromagnetic wave through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 350 may be provided in the processor 310. In some embodiments, at least some of the functional modules of the mobile communication module 350 may be disposed in the same device as at least some of the modules of the processor 310.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 370A, the receiver 370B, etc.) or displays an image or video through the display screen 394. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be separate from the processor 310, and may be disposed in the same device as the mobile communication module 350 or other functional modules.
The wireless communication module 360 may provide solutions for wireless communication applied to the electronic device 300, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 360 may be one or more devices integrating at least one communication processing module. The wireless communication module 360 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 310. The wireless communication module 360 may also receive a signal to be transmitted from the processor 310, frequency-modulate and amplify the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 300 is coupled to mobile communication module 350 and antenna 2 is coupled to wireless communication module 360 such that electronic device 300 may communicate with networks and other devices via wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), general Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. GNSS may include Global Positioning System (GPS), global navigation satellite system (GLONASS), beidou satellite navigation system (BDS), quasi-zenith satellite system (QZSS), and/or Satellite Based Augmentation System (SBAS).
In an embodiment of the present application, the mobile communication module 350 or the wireless communication module 360 may be configured to receive an update message and a parameter update package recommended by the server 200. In embodiments of the application, the display 394 may be used to display notification messages for parameter updates at other locations, such as at the top of the notification bar or display 394.
The electronic device 300 implements display functions via the GPU, the display 394, and the application processor, among other things. The GPU is an image processing microprocessor coupled to a display 394 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 310 may include one or more GPUs that execute program instructions to generate or alter display information. The display screen 394 is used to display images, video, and the like.
Electronic device 300 may implement a capture function via the ISP, camera 393, video codec, GPU, display 394, APP processor, etc.
The external memory interface 320 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the electronic device 300. The external memory card communicates with the processor 310 through the external memory interface 320 to implement a data storage function. For example, media files such as music, video, etc. are saved in an external memory card.
The internal memory 321 may be used to store computer-executable program code, which includes instructions. The processor 310 executes instructions stored in the internal memory 321, thereby performing various functions APP and data processing of the electronic device 300. The internal memory 321 may include a program storage area and a data storage area. The storage program area may store an operating system, APPs (such as a sound playing function and an image playing function) required by at least one function, and the like. The data storage area may store data (e.g., audio data, phone book, etc.) created during use of the electronic device 300, and the like. In addition, the internal memory 321 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a Universal Flash Storage (UFS), and the like.
The electronic device 300 may implement audio functions through the audio module 370, the speaker 370A, the receiver 370B, the microphone 370C, the earphone interface 370D, and the application processor. Such as music playing, recording, etc.
Keys 390 include a power-on key, a volume key, etc. The motor 391 may generate a vibration cue. Indicator 392 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc. The SIM card interface 395 is used for connecting a SIM card.
In this embodiment, the mobile communication module 350 or the wireless communication module 360 may send the device information to the server 200, and when the device information meets the update condition, the server 200 may be triggered to send a parameter update package to the electronic device 300. The mobile communication module 350 or the wireless communication module 360 of the electronic device 300 receives the parameter update package from the server 200. Just because this update is not distributed with the version update, the parameter update package is lighter than the version package, and the distribution time point is more flexible. Thereafter, the display 394 may be used to display a notification message of the parameter update in a notification bar or other location at the top of the display 394 indicating that the user may update the parameter of the electronic device. In response to the operation of updating the parameter by the user, the processor 310 may obtain the parameter information from the parameter update package and update the original parameter. After the update is completed, the display screen 394 may display updated content, including, for example, languages supported by the map APP, units of measure (metrics for short) in the update system file, threshold parameters of the update APP, and the like.
The software system of the electronic device may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. Android with layered architecture in embodiment of the application TM The system is an example illustrating the software architecture of the electronic device 300.
Referring to fig. 5, a block diagram of a software structure of an electronic device according to an embodiment of the present application is provided. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, android will TM The system is divided into four layers, namely an application program layer, an application program framework layer, an Android runtime (Android runtime) and system library and a kernel layer from top to bottom.
The application packages may include APPs such as cameras, calendars, maps, videos, music, short messages, gallery, talk, settings, desktop, minus one screen, and the like.
In the embodiment of the present application, the updating of the parameter includes updating the parameter in the APP. The APP can be a three-party application, wherein the three-party application is not an application program of the operating system of the electronic device, and for example, the three-party application includes a pay pal TM WeChat, weChat TM Etc.; the updating of the parameters may be understood as updating the parameters of a three-party application. In addition, the APP can also be a system application, for example, the system application includes a SIM module, a bluetooth module, the aforementioned settings, a desktop, and the like; the updating of the parameters in the APP may be understood as updating the parameters of the system application, such as updating the network parameters of the network operator in the SIM module. That is, the present inventionThe application embodiment does not limit the type of the APP, and scenes in which parameters need to be updated can be updated by using the method provided by the application embodiment.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the APP of the application layer. The application framework layer includes a number of predefined functions.
The application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, activity manager, and the like.
The Window Manager is used for managing services (WM) through windows. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to the APP. The data may include video, images, audio, calls made and answered, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build APPs. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 300. Such as management of call status (including on, off, etc.).
The resource manager provides the APP with various resources, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the APP to display notification information in the status bar, can be used for conveying notification type messages, can automatically disappear after short-time stopping, and does not need user interaction. Such as a notification manager used to notify download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running APP, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The campaign Manager may provide a campaign Manager Service (AMS), which may be used for the start-up, switching, scheduling of system components (e.g., campaigns, services, content providers, broadcast receivers), and the management and scheduling of application processes.
The Android runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application layer and the application framework layer as binary files. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), three-dimensional graphics processing Libraries (e.g., openGL ES), two-dimensional graphics engines (e.g., SGL), media Libraries (Media Libraries), and the like.
The surface manager is used for managing the display subsystem and provides fusion of 2D and 3D layers for multiple APPs.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The two-dimensional graphics engine is a two-dimensional drawing engine.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a camera drive, an audio drive, a sensor drive and the like.
The following illustrates the workflow of the software and hardware of the electronic device 300.
The electronic device 300 obtains device information by accessing an APP package name, reading an APP configuration file, or reading a system configuration file, and then sends the device information to the server 200 through the mobile communication module 350 or the wireless communication module 360, where the device information is used to trigger the server 200 to send a parameter update package to the electronic device 300 when an update condition is met. If the device information meets the update condition, the server 200 sends a parameter update package to the corresponding electronic device 300 according to the device identifier in the device information. The electronic device 300 receives the parameter update package from the server 200 through the mobile communication module 350 or the wireless communication module 360, and updates the parameters in the electronic device 300 based on the parameter update package. After that, the electronic device 300 may periodically transmit the latest device information to the server 200 through a timer. Or the electronic device 300 sends the device information each time the network is connected, for example, the electronic device 300 sends a network-presence application request to a base station with which the SIM card is currently registerable through a modem, and connects to a base station of the network when obtaining an allowance command returned by the base station according to the network-presence application request. Then, the electronic device 300 sends the device information at the current time point to the server 200, so as to synchronize the device information to the server 200 in relatively real time, so that the server 200 determines the object of the parameter update package to be sent based on the device information.
The parameter updating method provided by the embodiment of the application can be applied to the electronic equipment with the hardware structure and the software structure for realization. Taking an electronic device as an example, the following describes in detail a parameter updating method provided in an embodiment of the present application with reference to the drawings. The method comprises the following steps:
the mobile phone acquires application version information and application registration information.
The mobile phone obtains the application registration information so that the corresponding application can be determined according to the obtained application registration information after the parameter update package is obtained.
In some embodiments, the handset includes an application (or update object) and an update engine application, and the application can register application version information and application registration information with the upgrade engine application. The upgrade engine application is capable of saving application version information as well as application registration information. The application may determine an update catalog of the application by applying the registration information upgrade engine. Then, when the upgrade engine application obtains the parameter update package, the parameter information corresponding to the application may be placed in an update directory determined based on the application registration information, so that the application obtains the parameter information from the update directory.
The mobile phone registers the device information with the server.
Here, the registration may be understood as that the mobile phone sends the device information to the server for the first time. Registration may also be understood as the handset periodically sending device information to the server, e.g., the handset periodically or at each power-up time sending data to the server to update the device information, so that the server synchronizes the device information.
The device information is information related to system settings of the mobile phone. For example, the device information includes at least one of system application version information, device version information, and device model. The system application version information, the device version information and the device model may be original data registered by the mobile phone to the server, or obtained by analyzing the original data sent by the mobile phone by the server.
In some embodiments, the system application version information includes a system application identification and a system version number. For example, the registering of the device information with the server by the mobile phone includes: the handset registers "map APP" and "13.10.0.10" with the server as system application version information 1. Or further comprising: the mobile phone registers "album APP" and "1.1.40001" as system application version information 2 with the server.
In some embodiments, the device version information includes a Serial Number (SN) of the device, and further includes at least one of a device version number and a device version release time. For example, the registering of the device information with the server by the mobile phone includes: the mobile phone registers SN8TF4C0123456789 and Android to the server TM 6.0 "and" 2020/11/7 "as device version information 1.
In some embodiments, device models may be divided in processor type, or in display screen type. For example, the registering of the device information with the server by the mobile phone includes: the mobile phone registers the "a system generation" and the "folding screen mobile phone" as the device model 1 with the server, and registers the "B series" and the "folding screen mobile phone" as the device model 2 with the server.
The purpose of registering the device information with the server by the mobile phone is that the server can determine the distribution object of the parameter update package according to the device information. See in particular the description below.
And the server presets an updating condition corresponding to the parameter updating packet.
The update condition may be understood as a distribution rule of the parameter update package. The server embeds the update condition and the corresponding relationship between the update condition and the parameter update package, for example, the corresponding relationship may include that the update condition 1 corresponds to the parameter update package 1, the update condition 2 corresponds to the parameter update package 2, and the update condition 1 and the update condition 3 correspond to the parameter update package 3.
Before the parameter updating package is issued, the server determines the updating condition for issuing the parameter updating package according to the corresponding relation between the parameter updating package and the updating condition. And then the server sends a parameter updating packet to the mobile phone of which the equipment information meets the updating condition. For example, in the case of a parameter update package 1 to be distributed, the server determines that the parameter update package 1 corresponds to the update condition 1, and then the server distributes the parameter update package 1 to the mobile phone whose device information satisfies the update condition 1. In the case of the parameter update package 3 to be issued, the parameter update package 3 corresponds to the update condition 1 and the update condition 3, and then the server issues the parameter update package 3 to the mobile phone whose device information satisfies the update condition 1 and the update condition 3.
The parameter update package includes: at least one of system range parameters, system numerical parameters, system attribute parameters and system switch parameters. The parameter update package may be an update of a parameter threshold, such as a parameter threshold, a white list, a black list, and the like; the parameter update package may also be an update of a logarithmic value, such as a parameter of measurement, electric quantity, volume, etc.; the parameter update package can also be the update of attribute parameters, such as the parameters are levels, attributes and the like; the parameter update package may also be an update to a function switch, such as a parameter being in an on state, an off state, or the like.
The update condition may be preset according to an update object to which the parameter update package is directed, for example, if the parameter update package is used to update a system parameter of a 5G mobile phone, the update condition includes: and issuing a parameter updating packet to the 5G mobile phone. For another example, if the parameter update package is used to repair a display conflict problem of a folding screen mobile phone, the update condition includes: and issuing a parameter updating packet to the folding screen mobile phone.
Several ways for the server to send the parameter update package to the handset are described in detail below.
In some embodiments, the server may periodically send parameter update packages to the handset.
For example, the server stores a device identification (e.g., a serial number of the electronic device when the device is shipped, an International Mobile Equipment Identity (IMEI), a Media Access Control (MAC) address, or an Open Advertising Identifier (OAID)) of the electronic device. And, the server presets a first period. For example, the first period may be 24 hours, 7 days, 30 days, etc. Subsequently, after each first period is finished, the server firstly judges whether a parameter updating packet needs to be sent, and if the parameter updating packet needs to be sent, the server sends the parameter updating packet to the mobile phone corresponding to the equipment identifier.
In other embodiments, the server may send a parameter update package to the handset in response to an operator trigger.
For example, in a case that parameters in a mobile phone need to be updated, an operator actively triggers the server to send a parameter update package of a specified version to a specified mobile phone (e.g., a mobile phone corresponding to a specified device identifier). For example, the parameter update package 1 corresponding to version 1 is sent to the mobile phone 1 corresponding to the device identifier 1, and the parameter update package 2 corresponding to version 2 is sent to the mobile phone 2 corresponding to the device identifier 2. Therefore, the server can accurately send the parameter update package of the specified version to the mobile phone selected by the operator, so that different mobile phones can be updated in a differentiated mode.
In other embodiments, the server may send the parameter update package to the handset in response to the first message from the handset.
Specifically, when the parameters in the mobile phone need to be updated, the mobile phone may send a first message to the server, where the first message is used to request a parameter update package. And the server receives and responds to the first message and sends the parameter updating packet to the mobile phone.
For example, when the server needs to send a new version of the parameter update package, an update message may be sent to the mobile phone first to notify that the mobile phone has the currently updated parameters. The update message may be displayed on a screen so that the user selects to update the parameters or not update the parameters. The mobile phone can send a first message to the server in response to the operation of updating the parameters, which is executed by the user, for requesting a parameter updating package.
In addition, the server can also send parameter updating packages to the mobile phones meeting the updating conditions as far as possible in real time, so that the effect of quickly repairing product problems or optimizing product performance can be achieved on the basis of the mobile phones updating the parameters in real time.
For example, the server may determine whether the version of the APP satisfies the update condition according to the system application version information of the mobile phone, and then send a parameter update package for the mobile phone satisfying the update condition. As previously described, the system application version information may be a system version number. Alternatively, the application version information may also be a system application update time. The system application version information is used to determine the current version of the system application in the handset. And if the system application version information meets the updating condition, indicating that the parameter in the APP corresponding to the system application version information needs to be updated. Therefore, the server can send the parameter updating packet to the mobile phone of which the system application version information meets the updating condition so as to update the parameters of the mobile phone in time.
For another example, the server may send a parameter update package for a mobile phone meeting the version requirement according to the device version information of the mobile phone. The device version information may be a device version number: (Such as Android TM 6.0 Etc., device version update times (e.g., 2020/11/7), etc. The device version information is used for determining whether the version of the mobile phone meets the updating condition. The server can send a parameter update package to the mobile phone of which the device version information meets the update condition so as to update the parameters of the mobile phone in time.
For another example, the server may send a parameter update package to a mobile phone meeting the model requirement in a targeted manner according to the device model of the mobile phone. The device model is used for distinguishing the type of the mobile phone, for example, the device model can be classified according to the screen type (such as a folding screen mobile phone and a curved screen mobile phone), and can also be classified according to the processor type (such as a first generation system, a second generation system, and a B series system).
The server can send the parameter updating packet to the mobile phone instead of sending the parameter updating packet regularly or manually when the equipment information triggers the updating condition, so that the speed of sending the parameter updating packet by the server is higher, and based on the speed, the mobile phone can update the parameters in real time to improve the efficiency of repairing product problems or optimizing product performance.
It should be noted that the setting of the update condition can automatically and timely update the parameters of the mobile phone as described above on one hand, and can also meet the requirement of gray release of the parameter update package on the other hand. The gray release means that the server sets an update condition to update parameters of a part of mobile phones, so that a part of mobile phones receive the parameter update package, and the other part of mobile phones do not receive the parameter update package. And the mobile phone receiving the parameter updating packet updates the parameters. The server can obtain the opinion feedback of the users of the part of the mobile phones, and if the feedback effect is good, the server sends a parameter updating packet to the other part of the mobile phones. Therefore, the server can enable part of users to participate in the release test of the parameter updating package in a mode of setting the updating condition, so that the interaction with the users is strengthened, and the user range influenced by the parameter updating is reduced, thereby facilitating the smooth online of the parameter updating package.
In some embodiments, the server may send the parameter update package to the handset via the device identifier, such as the device serial number, so that the handset of the specified device identifier can receive the parameter update package, and the processing of the parameter update package by the handset may be specifically described below.
The mobile phone receives the parameter updating packet from the server and updates the parameters based on the parameter updating packet.
As described above, the parameter update package is lighter than the version package, and the release time point is more flexible, so that the mobile phone updates the parameters based on the parameter update package, which not only enables the parameters of the mobile phone to be updated in real time, but also reduces the update time. And in general, when the parameters of the mobile phone are updated independently, equipment does not need to be restarted, so that the efficiency of updating the parameters is higher.
In addition, the parameter update package may contain parameter information for a plurality of update objects. The mobile phone can upgrade parameters of different update objects based on the parameter information of the different update objects in the parameter update package.
For example, the parameter update package may include a first parameter update package, a second parameter update package, and a third parameter update package; the first parameter updating package is used for upgrading parameters of the operating system, the second parameter updating package is used for upgrading parameters of the operating system and the three-party application, and the third parameter updating package is used for upgrading parameters of the first three-party application and the second three-party application.
The mobile phone receives the first parameter updating package, determines an updating object as an operating system by analyzing the first parameter updating package, and carries out parameter upgrading on the operating system based on the parameter information in the first parameter updating package.
The mobile phone can also receive a second parameter update package, determine the update objects as an operating system and a three-party application by analyzing the second parameter update package, and perform parameter upgrade on the operating system and the three-party application by the mobile phone based on the parameter information in the second parameter update package.
The mobile phone can also receive a third parameter update package, determine the update objects as the first-party application and the second-party application by analyzing the third parameter update package, and perform parameter upgrade on the first-party application and the second-party application by the mobile phone based on the parameter information in the third parameter update package.
In an embodiment of the present application, the parameter update package includes parameter information, an update object identifier, an update package identifier, and the like.
The following describes the parameter information, the update object identifier, and the update package identifier in sequence.
In some embodiments, the parameter information is a "new version complete parameter". For example, the parameter information is a replacement for the original parameter of the current version of the application. Illustratively, the original parameters of the current version are shown in table 1, and include nine parameter fields of threshold, white list, black list, metric, power, volume, level, attribute and function switch. Each parameter field corresponds to a parameter value. When the parameter information is a new version of a complete parameter, the original parameters representing the update are all the parameter fields in table 1 and the corresponding parameter values. After the mobile phone downloads the parameter information, the original parameter of the current version is covered by the parameter information, and then the parameter can be updated.
In other embodiments, the parameter information is a "difference data block" where there is a difference between the original parameters of the current version and the full parameters of the new version. With continued reference to table 1, the difference data block may be understood as a parameter field in the full parameter of the new version that has a difference from the original parameter of the current version and a corresponding parameter value. For example, when a parameter field "white list" of the APP is updated, the parameter information includes the parameter field "white list" and corresponding parameter values, such as "unique identifier of album APP". The parameter information only contains the information to be updated, so that the data size of the parameter updating packet is reduced, and the rapid downloading and updating of the parameters are realized.
TABLE 1
Figure 905346DEST_PATH_IMAGE001
It is noted that in the application scenario in table 1 above, the disabled service parameter may control the disabled service or function. For example, when a service or a function is added to the blacklist, the mobile phone cannot use the service or the function, so that the mobile phone cannot be normally used due to the fact that the service or the function is started.
The control application list for the special-shaped screen display refers to an application list which can be controlled to be displayed on the special-shaped screen (such as a watch), for example, if a game application which cannot run on the watch is arranged in the application list, an icon of the game application cannot be displayed on the special-shaped screen of the watch.
The CPU policy configuration may control the operating frequency (or operating level) of the CPU, such as setting to overclock, under frequency, and the like.
The update object identifier is an identity identifier of the update object, wherein the update object includes an operating system, a three-party application, such as the operating system may further include a system application or a configuration file. The update object may be an APP name, APP package name, or other defined character, etc. For example, when the parameter update package is used to update the album APP, the update object identifier may be a package name of the album APP. Or, when the parameter update package updates the system APP, the update object identifier may be a name of the system APP. Or, when the parameter update package is used to update the parameters of the configuration file of the mobile phone, the update object identifier may be a character defined for the configuration file, such as a file name of the configuration file.
When the server sends the parameter information, the server carries the update object identifier, so that the mobile phone determines the APP or the configuration file or the system to be updated based on the update object identifier, then puts the parameter information into a corresponding directory (or called update directory) of the update object, and informs the update object to update the parameter based on the parameter information.
The update package identifier is an identity identifier of the parameter update package, for example, the update package identifier is version information of the parameter update package. When the server sends the parameter updating packet, whether the equipment information of the mobile phone meets the updating condition is determined, and if the equipment information meets the updating condition, the corresponding relation between the updating packet identifier and the equipment identifier of the mobile phone is established. The server may determine the device identifier list of which the parameter needs to be updated by querying the correspondence. And if the equipment identifier list comprises the equipment identifier 1, sending a parameter update package corresponding to the version 1 to the mobile phone 1 corresponding to the equipment identifier 1.
The server can send a plurality of parameter update packages, so that the parameter update packages sent to different mobile phones can be distinguished through the update package identification, parameter update packages of specified versions can be accurately sent to the mobile phones, and differential update is carried out on different mobile phones.
The following describes the updating process after the mobile phone receives the parameter update package with reference to fig. 6. Taking again the example that the parameter update package 1 is sent to the first handset, and the parameter update package 3 is sent to the first handset and the second handset. And the server sends an updating message to the first mobile phone and the second mobile phone, wherein the updating message carries an updating object identifier so as to indicate the mobile phones to update the parameters of the specified updating object. For example, the server transmits the parameter update package 1 and the parameter update package 3 to the first mobile phone, and transmits the parameter update package 3 to the second mobile phone. Wherein, the update object identifier carried by the parameter update package 1 is the package name of the photo album APP; and the update object identifier carried by the parameter update package 3 is the package name of the map APP. The first mobile phone analyzes the parameter updating package 1, and the parameter in the photo album APP is determined to be updated through the updating object identifier in the parameter updating package 1, so that the parameter information in the parameter updating package 1 is put into the updating catalog corresponding to the photo album APP by the first mobile phone. And then, the first mobile phone sends a second message to the photo album APP to indicate the photo album APP to load the parameter information from the update directory. Similarly, the first mobile phone and the second mobile phone also analyze the parameter update package 3, and determine that the parameter in the map APP is updated through the update object identifier in the parameter update package 3. Therefore, the first mobile phone and the second mobile phone respectively put the parameter information in the parameter update package 2 into the update directories corresponding to the map APP. And then sending a second message to the map APP to instruct the map APP to load the parameter information from the update directory.
In some embodiments, the parameter update package is an encrypted file. And after the server acquires the parameter updating packet, encrypting the parameter updating packet, thereby improving the safety of the parameter updating packet. And then the mobile phone receives the parameter updating packet and decrypts the parameter updating packet. And updating the parameters based on the decrypted parameter update package.
For example, the upgrade engine application in the handset may implement decryption and parsing of the parameter update package. And determining which APP (or configuration file, system file) needs to be updated according to the analysis result. Then, the information is notified to the corresponding APP (or configuration file, system file), and the parameter information in the parameter update package is put under the negotiated update directory, so that the update object can obtain the parameter information from the update directory.
In addition, the mobile phone can send the equipment information to the upgrading engine application, and the mobile phone sends the equipment information to the server through the upgrading engine application. For example, the upgrade engine application starts a timer to count time, and after a counting period is finished, the upgrade engine application causes the server to send the latest device information. The refresh timer then restarts the count. Alternatively, the upgrade engine application may send the latest device information to the server when the handset is networked.
To facilitate understanding of the foregoing embodiments, the present application and its effects are described below with reference to a complete system architecture. Fig. 7 is an architecture diagram of another parameter updating system according to an embodiment of the present application.
Referring to fig. 7, the parameter updating system provided in this embodiment includes a software cabin, a configuration management module, a distribution platform, a cloud side (or called cloud server), and a mobile phone. The mobile phone comprises an upgrading engine application.
Wherein the software warehouse is used for storing the parameter updating package. The software silo may be a file storage system and the parameter update package is stored in the software silo in the form of a file.
The configuration management module is used for configuring basic information of the application, such as application information, access point information registered by the application, subtype and the like.
The software warehouse sends the parameter updating package to the publishing platform, and the configuration management module publishes the basic information of the application to the publishing platform. The publishing platform may determine the update condition based on the parameter update package, the underlying information of the application, and the rule parameter. And if the publishing platform determines that the parameter updating package needs to be published, sending the parameter updating package and the updating condition to the cloud side.
The cloud side may store a plurality of parameter update packages, such as a parameter update package 1 corresponding to application a, a parameter update package 2 corresponding to application B, and the like.
If the cloud side sends the parameter update package 1 to the mobile phone, the upgrade engine application in the mobile phone may call a certificate service through a preset Software Development Kit (SDK) to obtain an identity certificate of the mobile phone, so as to analyze the parameter update package 1. The upgrade engine application analyzes the parameter information corresponding to the application a from the parameter update package 1, places the parameter information in the update directory of the application a, and then notifies the application a that the parameters can be updated. After receiving the notification, the application a can obtain the parameter information from the update directory and update the parameter. Similarly, if the cloud side sends the parameter update package 2 to the mobile phone, the upgrade engine application in the mobile phone may put the parameter information in the parameter update package 2 into the update directory of the application B, so that the application B updates the parameter based on the parameter information.
After the application A and the application B are updated, the version information registered by the application A and the application B to the upgrading engine module is changed, and the equipment version information of the mobile phone is not changed, so that the parameter updating package 1 and the parameter updating package 2 sent by the cloud side can be determined to be the updating of the parameters in the mobile phone, and not the integral updating of the version of the mobile phone.
Therefore, the system architecture can decouple the parameter update package and the version package, and realize the version upgrade of the application parameters in a mode of independently releasing the parameter update package.
The following description will take an example in which a parameter update package issued by a server is used to update an operating system.
In some embodiments, the parameter update package (e.g., the first parameter update package) includes a system update parameter, the system update parameter is used to instruct the electronic device to update the switch parameter, and the first update condition includes: the electronic device supports 5G communication. And if the electronic equipment supports 5G communication according to the equipment information, sending a first parameter updating packet to the electronic equipment so that the electronic equipment updates the target switch parameter associated with the communication service in the operating system from an on state to an off state or updates the target switch parameter in the operating system from the off state to the on state based on the system updating parameter in the first parameter updating packet.
Example one:
after a new series of products of the mobile phone are sold for several days, feedback that part of users cannot normally use the 5G data network is received. If the problem can not be solved quickly, the normal use experience of the user on the mobile phone can be influenced.
Through analysis of problem feedback, it is determined that the reason for the phenomenon is that the compatibility problem occurs in the mobile phone chip due to the fact that the BWP (Bandwidth Part) parameter range of the current base station 5G data network is larger than the range supported by the terminal chip. Therefore, modem crash occurs at the terminal, such as no signal of the mobile phone, network disconnection of the mobile phone and the like caused by modem breakdown.
Because the chip needs to be improved, before an improvement scheme for the chip is proposed, the function which can cause modem crawl needs to be closed by closing the switch parameters in the mobile phone which can support 5G, so that the problem that a user cannot normally use a 5G data network is quickly solved.
Therefore, the parameter information for updating the switch parameters can be packaged into a parameter updating packet and issued to the mobile phone capable of supporting 5G through the server. And after receiving the parameter updating packet, the mobile phone analyzes the parameter updating packet and acquires parameter information, and updates the switch parameter from the on state to the off state based on the parameter information.
In this embodiment, the server may update the system parameters of the operating system by sending a parameter update package for updating the operating system to the mobile phone, so as to achieve an effect of repairing the operating system bug in time.
In some embodiments, the parameter update package (e.g., the first parameter update package) includes a system update parameter, the system update parameter is used to instruct the electronic device to set the target system application as a blacklist application, and the first update condition includes: the electronic device is installed with a target system application. If it is determined according to the device information that the first update condition is satisfied, sending a first parameter update package to the electronic device, so that the electronic device updates the operating system based on the system update parameter in the first parameter update package, including: and if the target system application is determined to be installed on the electronic equipment according to the equipment information, sending a first parameter updating packet to the electronic equipment, so that the electronic equipment sets the target system application as a blacklist application based on the system updating parameters in the first parameter updating packet, and the blacklist application is not allowed to run on the target electronic equipment.
Example two:
WeChat TM After a certain version of the user is upgraded, when the user is in Wechat TM The user is notified of the file management. And when the user wants to delete the file, the file management prompts the user that the file does not exist.
Passing through a WeChat TM Analyzing the existing problems and positioning the problems in WeChat TM When a file is saved, a temporary file for the file is generated. After the file management monitors the generation of the temporary file, the user is informed that the file is saved. The operating system of the mobile phone can clear the temporary file once every a period of time so as to avoid that the temporary file occupies too much storage space of the mobile phone. It is not clear to the user that the deleted file is a temporary file. Therefore, the user still may execute the operation of deleting the file, and if the temporary file is already cleared before the user executes the deleting operation, the mobile phone will prompt the user that the file is already deleted. In the user's view, the WeChat is used TM When receiving the file, the user firstly prompts that the file is saved, and when the user wants to delete the file, the user slightly believes that the file is saved TM The user is prompted that the file has been deleted. This results in the user using the WeChat TM The experience of transceiving files is poor.
Aiming at the problem, the WeChat can be optimized in time by updating the system parameters TM The purpose of the file transceiving function. Specifically, the mobile phone can package the parameter information for deleting the temporary file management function into a parameter update package, and issue the parameter update package to the mobile phone supporting temporary file management through the server, so that the mobile phone issues a blacklist for temporary file management, and the temporary file management is excluded from the file management of the mobile phone. Then the user uses the WeChat TM In time, the mobile phone does not save or delete the temporary file through file management. For the user, after the system parameters are updated, a prompt that the file is deleted when the file is deleted by using the WeChat is not received. Therefore, the user experience is better.
In this embodiment, the server may apply the third party application without changing (e.g., weChat) TM ) Under the condition of the method, the mobile phone updates the system parameters of the operating system by sending the parameter updating packet for updating the operating system, so that the beneficial effect of better adapting to the three-party application is achieved by optimizing the functions of the operating system in time.
In addition, the parameter update package issued by the server can be used for updating the parameters of the three-party application.
Example three:
refer to fig. 8, which is a schematic display diagram of an album APP before and after parameter update according to an embodiment of the present application. Fig. 8 (a) is a schematic diagram of a cover image of the photo album APP before parameter update, fig. 8 (b) is a schematic diagram of displaying an update message, and fig. 8 (c) is a schematic diagram of a cover image of the photo album APP after parameter update is completed.
The system time of the mobile phone is 11/7/2022, and in fig. 8 (a), the cover image is a photograph taken at 10/1/2022. It can be seen that the acquisition time point of the photograph does not coincide with seven days ago the latest system time. If the date threshold value cannot be updated in time and the recommendation effect of the front cover image is poor, the experience brought to the user by the photo album APP is reduced.
Therefore, the date threshold for displaying the cover image in the album APP is optimized in real time. The server sends an update message to the mobile phone to inform the mobile phone that the parameters are updated currently. As shown in (b) of fig. 8, the update message may be displayed on the screen in a notification manner so that the user selects to update the parameter or not update the parameter. And if the user selects the update parameters, the mobile phone responds to the operation of updating the parameters executed by the user and sends a first message to the server to request a parameter update package. Then the mobile phone receives a parameter update package from the server and updates parameters of the photo album APP, such as a date threshold value. After the update is completed, the acquisition time point of the photos of the cover image displayed in the photo album APP can be within the last seven days of the system time. As shown in fig. 8 (c), the cover image is a photograph taken on day 11, month 2 in 2022. It can be seen that the update of the current date threshold is a parameter update, and just because the current update is not released along with the version update, the parameter update package is lighter than the version package, and the release time point is more flexible.
In the above, it is described by taking an example that the mobile phone updates the parameters of the three-party application, and the parameter update package issued by the server may also be used to update the system parameters of the mobile phone, which is specifically referred to in the following description.
Example four:
fig. 9 is a schematic diagram illustrating a display of a weather APP before and after a system parameter is updated according to an embodiment of the present disclosure. Fig. 9 (a) is a schematic diagram illustrating display of a weather APP before parameter update, fig. 9 (b) is a schematic diagram illustrating display of an update message, and fig. 9 (c) is a schematic diagram illustrating display of a weather APP after parameter update is completed.
Temperatures are expressed in degrees celsius in area a and in degrees fahrenheit in area B. As shown in fig. 9 (a), when the user moves from the area a to the area B without updating the parameters, the temperature of the weather APP display is still 30 degrees celsius. Therefore, when the change of the position information transmission of the mobile phone from the area A to the area B in the device information of the mobile phone is detected, the server can transmit the parameter updating packet of the updating measurement unit to the mobile phone. As shown in fig. 9 (b), an update message may be displayed on the screen in a notification manner to inform the user that the system parameter may be updated. In response to an operation of updating the parameters, which is performed by the user, the mobile phone sends a first message to the server to request a parameter updating package. Then the mobile phone receives the parameter update package from the server and updates the system parameter 'measurement unit'. After the update is complete, the local air temperature displayed on the weather APP can be expressed in Fahrenheit. As shown in FIG. 9 (c), the weather APP indicates a temperature in degrees Fahrenheit, noted 86 degrees Fahrenheit. Therefore, the measurement (or measurement unit) can be updated in a parameter update package, so that the update efficiency can be improved.
In summary, an embodiment of the present application provides a parameter updating method, in which an electronic device may periodically send device information to a server, so that the server determines whether an update condition is satisfied according to real-time device information. And if the equipment information meets the updating condition, the server sends a parameter updating packet to the electronic equipment, and the parameter updating packet can update the system parameters of the electronic equipment. And the electronic equipment analyzes the parameter information and the update object identification in the parameter update package. The parameter information is stored in an update directory of an update object (e.g., an operating system) corresponding to the update object identification based on the update object identification. So that the update object (e.g., operating system) obtains the parameter information from the update directory. Therefore, the parameter updating package does not need to be released together with the version package, and the requirements of parameter independence and real-time updating can be met. And the parameter updating package does not generally involve updating a driver of the electronic equipment, so that the equipment does not need to be restarted when the parameters of the electronic equipment are updated independently, and the efficiency of updating the parameters is higher.
Other embodiments of the present application provide an electronic device, which may include: a memory and one or more processors. The memory is coupled to the processor. The memory is for storing computer program code comprising computer instructions. When the processor executes the computer instructions, the electronic device may perform various functions or steps performed by the mobile phone in the above-described method embodiments. The structure of the electronic device may refer to the structure of the electronic device 300 shown in fig. 4.
In some embodiments, the electronic device sends the device information to a server. If the device information meets the first updating condition, the electronic device receives a first parameter updating package from the server, wherein the first parameter updating package comprises first parameters, and the first parameters comprise system updating parameters for the operating system. The electronic device then updates the operating system based on the system update parameters in the first parameter update package.
In some embodiments, if the device information satisfies the second update condition, the electronic device receives a second parameter update package from the server, where the second parameter update package includes a second parameter, and the second parameter includes an update parameter for the operating system or the third-party application. And the electronic equipment updates the operating system or the three-party application based on the update parameters in the second parameter update package. Wherein the second parameter comprises a three-party application update parameter. Alternatively, the first parameter comprises a first system application update parameter and the second parameter comprises a second system application update parameter.
In some embodiments, the electronic device receives a third parameter update package from the server if the device information satisfies a third update condition. The electronic device then updates the three-party application based on the application update parameters in the third parameter update package. The second parameters further comprise first three-party application update parameters, the third parameter update package comprises third parameters, and the third parameters comprise second three-party application update parameters.
An embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium includes computer instructions, and when the computer instructions are executed on the electronic device, the electronic device is enabled to execute each function or step performed by the mobile phone in the foregoing method embodiment.
The embodiments of the present application further provide a computer program product, which when run on a computer, causes the computer to execute each function or step executed by the mobile phone in the above method embodiments.
Through the description of the foregoing embodiments, it will be clear to those skilled in the art that, for convenience and simplicity of description, only the division of the functional modules is used for illustration, and in practical applications, the above function distribution may be completed by different functional modules as required, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (18)

1. A parameter updating method is applied to a server and comprises the following steps:
acquiring equipment information of at least one piece of electronic equipment;
acquiring a first updating condition aiming at a first parameter, wherein the first parameter comprises a system updating parameter of an operating system of the electronic equipment;
if it is determined that the target electronic device of the at least one electronic device satisfies the first update condition according to the device information, sending a first parameter update package to the target electronic device, so that the target electronic device updates the operating system based on the system update parameter in the first parameter update package.
2. The method of claim 1, wherein the first parameter comprises a plurality of parameters, wherein the system update parameter comprises at least one of a system configuration update parameter and a system application update parameter, and wherein the first parameter further comprises a three-party application update parameter.
3. The method of claim 1, further comprising:
acquiring a second updating condition aiming at a second parameter;
if the target electronic equipment meets the second updating condition according to the equipment information, sending a second parameter updating packet to the target electronic equipment, wherein the second parameter updating packet comprises the second parameter, so that the electronic equipment can update an operating system or a three-party application based on the second parameter updating packet;
wherein the second parameter comprises a three-party application update parameter; or,
the first parameter comprises a first system application update parameter and the second parameter comprises a second system application update parameter.
4. The method of claim 3, further comprising:
acquiring a third updating condition aiming at a third parameter;
if the third updating condition is determined to be met according to the device information, sending a third parameter updating packet to the electronic device, wherein the third parameter updating packet comprises the third parameter, so that the electronic device can update the three-party application based on the three-party application updating parameter in the third parameter updating packet;
the second parameter comprises a first three-party application updating parameter, and the third parameter comprises a second three-party application updating parameter.
5. The method according to claim 1 or 2, wherein the system update parameter is used to instruct the electronic device to update a target switch parameter, and the first update condition comprises: the electronic device supports 5G communication;
if it is determined according to the device information that the first update condition is satisfied, sending a first parameter update package to the electronic device, so that the electronic device updates the operating system based on the system update parameter in the first parameter update package, including:
if the electronic equipment supports 5G communication according to the equipment information, sending the first parameter updating packet to the electronic equipment, so that the electronic equipment can update the target switch parameter associated with the communication service in the operating system from an on state to an off state or update the target switch parameter associated with the communication service in the operating system from the off state to the on state based on the system updating parameter in the first parameter updating packet.
6. The method according to claim 1 or 2, wherein the system update parameter is used to instruct the electronic device to set a target system application as a blacklist application, and the first update condition comprises: the electronic equipment is provided with the target system application;
if it is determined according to the device information that the first update condition is satisfied, sending a first parameter update package to the electronic device, so that the electronic device updates the operating system based on the system update parameter in the first parameter update package, including:
if the target system application is determined to be installed on the electronic device according to the device information, sending a first parameter update package to the electronic device, so that the electronic device sets the target system application as a blacklist application based on the system update parameters in the first parameter update package, and the blacklist application is not allowed to run on the target electronic device.
7. The method according to any one of claims 1-4, wherein the device information comprises at least one of system application version information, device model number; the acquiring device information of at least one electronic device includes:
and under the condition that the at least one electronic device corresponds to a plurality of pieces of device information, obtaining the device information which is sent by the at least one electronic device at the latest time in the plurality of pieces of device information, wherein the plurality of pieces of device information are periodically sent to the server by the at least one electronic device.
8. The method of any of claims 1-4, wherein the parameter update package comprises: at least one of system range parameters, system numerical parameters, system attribute parameters and system switch parameters.
9. The method of any of claims 1-4, wherein the parameter update package includes an update object identification; the update object identifier is used for the electronic device to determine an update object so that the electronic device can update the update object, wherein the update object comprises an operating system and a three-party application.
10. A parameter updating method is applied to electronic equipment and comprises the following steps:
sending the equipment information to a server;
receiving a first parameter update package from the server if the device information meets a first update condition, wherein the first parameter update package comprises a first parameter, and the first parameter comprises a system update parameter for an operating system;
updating the operating system based on the system update parameters in the first parameter update package.
11. The method of claim 10, further comprising:
receiving a second parameter update package from the server if the device information meets a second update condition, wherein the second parameter update package comprises a second parameter, and the second parameter comprises an update parameter for the operating system or a third-party application;
updating the operating system or the three-party application based on the update parameters in the second parameter update package;
wherein the second parameter comprises a three-party application update parameter; or,
the first parameter comprises a first system application update parameter and the second parameter comprises a second system application update parameter.
12. The method of claim 11, further comprising:
if the equipment information meets a third updating condition, receiving a third parameter updating packet from the server;
updating the three-party application based on the application update parameters in the third parameter update package;
the second parameters further include first three-party application update parameters, the third parameter update package includes third parameters, and the third parameters include second three-party application update parameters.
13. The method according to any of claims 10-12, wherein prior to said sending device information to a server, the method further comprises:
the operating system registers application version information and application registration information with the electronic device, wherein the application registration information is used for determining an update directory of the operating system;
the updating the operating system based on the system update parameters in the first parameter update package comprises:
determining that an update object corresponding to the first parameter update package is an operating system according to the update object identifier in the first parameter update package;
moving the system updating parameters in the parameter updating package to an updating catalog corresponding to the operating system;
the operating system acquires the system updating parameters from the updating catalog to update the operating system;
and after the updating is finished, the application version information of the operating system is changed.
14. The method according to any one of claims 10-12, wherein the sending device information to a server comprises:
a preset timing period, after each timing period is finished, sending the device information when the timing period is finished to the server, or,
and responding to the network connection operation, and sending the equipment information acquired in the network connection process to the server.
15. The method according to any one of claims 10-12, wherein said updating an operating system based on system update parameters in said first parameter update package comprises:
prompting a user to update parameters of the operating system;
and after the authorized operation of the user is detected, updating the operating system based on the system updating parameters in the first parameter updating packet.
16. A parameter updating apparatus, comprising: a communication module, memory, and one or more processors; the communication module, the memory and the processor are coupled; wherein the memory is to store computer program code comprising computer instructions; the computer instructions, when executed by the processor, cause the parameter updating apparatus to perform the method of any of claims 1 to 9.
17. An electronic device, comprising: a processor, a memory for storing the processor-executable instructions, the processor configured to, when executed, cause the electronic device to implement the method of any of claims 10-15.
18. A computer-readable storage medium comprising computer instructions that, when executed on the electronic device, cause the electronic device to perform the method of any of claims 1-9 or the method of any of claims 10-15.
CN202211527250.1A 2022-12-01 2022-12-01 Parameter updating method and device Active CN115643338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211527250.1A CN115643338B (en) 2022-12-01 2022-12-01 Parameter updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211527250.1A CN115643338B (en) 2022-12-01 2022-12-01 Parameter updating method and device

Publications (2)

Publication Number Publication Date
CN115643338A true CN115643338A (en) 2023-01-24
CN115643338B CN115643338B (en) 2023-08-22

Family

ID=84948886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211527250.1A Active CN115643338B (en) 2022-12-01 2022-12-01 Parameter updating method and device

Country Status (1)

Country Link
CN (1) CN115643338B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116244008A (en) * 2023-05-10 2023-06-09 荣耀终端有限公司 Application starting method, electronic device and storage medium
CN116841593A (en) * 2023-09-01 2023-10-03 荣耀终端有限公司 Software upgrading method, device and system
CN117132036A (en) * 2023-02-17 2023-11-28 荣耀终端有限公司 Material distribution method and distribution system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281160A (en) * 2011-09-15 2011-12-14 苏州阔地网络科技有限公司 Method for automatically upgrading functions, system and server thereof
CN103428188A (en) * 2012-05-25 2013-12-04 北京小米科技有限责任公司 Method and apparatus for file updating, and associated equipment
CN103840968A (en) * 2014-01-02 2014-06-04 深圳市金立通信设备有限公司 Version updating method, version updating device and terminal equipment
CN103902562A (en) * 2012-12-26 2014-07-02 腾讯科技(深圳)有限公司 Method and device for upgrading terminal databases
CN110187902A (en) * 2019-04-15 2019-08-30 中国平安人寿保险股份有限公司 Project remodeling method, device, equipment and storage medium based on spring boot

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281160A (en) * 2011-09-15 2011-12-14 苏州阔地网络科技有限公司 Method for automatically upgrading functions, system and server thereof
CN103428188A (en) * 2012-05-25 2013-12-04 北京小米科技有限责任公司 Method and apparatus for file updating, and associated equipment
CN103902562A (en) * 2012-12-26 2014-07-02 腾讯科技(深圳)有限公司 Method and device for upgrading terminal databases
CN103840968A (en) * 2014-01-02 2014-06-04 深圳市金立通信设备有限公司 Version updating method, version updating device and terminal equipment
CN110187902A (en) * 2019-04-15 2019-08-30 中国平安人寿保险股份有限公司 Project remodeling method, device, equipment and storage medium based on spring boot

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117132036A (en) * 2023-02-17 2023-11-28 荣耀终端有限公司 Material distribution method and distribution system
CN116244008A (en) * 2023-05-10 2023-06-09 荣耀终端有限公司 Application starting method, electronic device and storage medium
CN116244008B (en) * 2023-05-10 2023-09-15 荣耀终端有限公司 Application starting method, electronic device and storage medium
CN116841593A (en) * 2023-09-01 2023-10-03 荣耀终端有限公司 Software upgrading method, device and system
CN116841593B (en) * 2023-09-01 2024-07-19 荣耀终端有限公司 Software upgrading method, device and system

Also Published As

Publication number Publication date
CN115643338B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN115643338B (en) Parameter updating method and device
CN110569130B (en) Cross-process communication method, device and equipment
CN114356258A (en) Electronic device, screen projection method thereof and medium
KR20150087390A (en) Advertisement processing method and device
CN113055857B (en) Communication connection method and electronic equipment
WO2020037560A1 (en) Application installation method and terminal
CN113727333A (en) Downloading method and system of customized application
CN112817634B (en) COTA package downloading method and device
CN113225423A (en) Contact person recommendation method and electronic device
CN115309431B (en) Parameter updating method, readable medium and electronic equipment
CN112860445B (en) Method and terminal for sharing data between fast application and native application
CN116233820A (en) Parameter updating method, system, terminal equipment and chip system
CN114168237A (en) Theme pack adaptation method and device
US10805427B1 (en) Backup and restore of customer devices
CN114745468B (en) Electronic equipment and theme setting method, system and medium thereof
CN114253558A (en) Method and device for installing patch package
CN114692137A (en) Application security analysis method, device, equipment and storage medium
CN116737243B (en) Screen parameter patch upgrading method and terminal equipment
CN114489689A (en) Application program installation method and system, electronic equipment and server
CN115328507A (en) Icon updating method of application program and related device
CN117729561B (en) System upgrading method, terminal and storage medium
CN117130808B (en) Log acquisition method and electronic equipment
CN116719556B (en) System upgrading method and electronic equipment
CN116702100B (en) Authority management method and electronic equipment
CN116662101B (en) Fault restoration method of electronic equipment and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant