CN105848190A - OTA upgrading method and apparatus - Google Patents

OTA upgrading method and apparatus Download PDF

Info

Publication number
CN105848190A
CN105848190A CN201610350468.2A CN201610350468A CN105848190A CN 105848190 A CN105848190 A CN 105848190A CN 201610350468 A CN201610350468 A CN 201610350468A CN 105848190 A CN105848190 A CN 105848190A
Authority
CN
China
Prior art keywords
network
ota
local terminal
time section
free time
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.)
Pending
Application number
CN201610350468.2A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610350468.2A priority Critical patent/CN105848190A/en
Publication of CN105848190A publication Critical patent/CN105848190A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure, which belongs to the technical field of the interment, discloses an over-the-air-technology (OTA) upgrading method and apparatus. The method comprises: whether current time reaches an idle time period is monitored; when the current times reaches the idle time period, whether a network that is connected currently to a terminal is a preset network is determined; if not, the preset network is configured automatically; and OTA upgrading information is obtained from the server and the system is upgraded based on the OTA upgrading information. Therefore, inconvenience for a user due to automatic OTA upgrading during usage by the user can be avoided. The system can enable the network actively to carry out OTA application during the idle time period of the user; and according to the current usage situation and the using habit of the user, time when a terminal is not used can be selected, so that application by the user is not affected and thus the user experience is improved.

Description

OTA upgrade method and device
Technical field
It relates to Internet technical field, particularly to a kind of OTA upgrade method and device.
Background technology
OTA (Over-the-Air Technology, space download technology) upgrading is that android system provides Standard software upgrading mode.It is that the air interface by mobile communication (GSM or CDMA) is to SIM The technology that data and application remotely manage.Air interface can use WAP, GPRS, CDMA1X And short message service technology.The application of OTA technology so that mobile communication is possible not only to provide voice-and-data service, But also it is provided that new business is downloaded.
OTA is powerful, can with free of losses upgrade-system, mainly by network (such as, WIFI network, 4G network) automatically download OTA AKU, automatically upgrade, but also support by downloading OTA AKU To SD card upgrade.The AKU of OTA is the least, general several M to tens M, if you use network upgrade, Very convenient, be substantially click in system several under just complete upgrading, and the most important thing is, OTA Upgrading is without Backup Data, and short a few minutes just settle all upgrade jobs, and all data all can stand intact Remain.
Summary of the invention
Present disclose provides a kind of OTA upgrade method and device.Described technical scheme is as follows:
First aspect according to disclosure embodiment, it is provided that a kind of OTA upgrade method, including:
Whether monitoring current time arrives free time section;
When current time arrives free time section, it is judged that whether the network that local terminal currently connects is to preset network;
When the network that local terminal currently connects is not to preset network, automatically configure default network;
OTA upgrade information is obtained, according to described OTA upgrade information upgrade-system from server.
Alternatively, after whether described monitoring current time arrives free time section, described method also can be wrapped Include:
When current time arrives free time section, it is judged that whether local terminal display screen is in is put out screen state;
When local terminal display screen is in and puts out screen state, perform to judge whether the network that local terminal currently connects is default The step of network.
Alternatively, after whether described monitoring current time arrives free time section, described method also can be wrapped Include:
Judge whether the occupied ratio of local terminal processor resource exceedes preset ratio;
When not less than preset ratio, perform to judge whether the network that local terminal currently connects is the step presetting network Suddenly.
Alternatively, after judging whether the network that local terminal currently connects is default network, described method also may be used Including:
When the network that local terminal currently connects is to preset network, perform to obtain OTA upgrade information from server Step.
Alternatively, before whether described monitoring current time arrives free time section, described method also can be wrapped Include:
Acquisition system current version number and the version number of OTA AKU;
When the version number of OTA AKU is higher than system current version, perform to obtain OTA from server The step of upgrade information.
Alternatively, OTA upgrade information is obtained from server, according to described OTA upgrade information liter described After level system, described method may also include that
Monitoring OTA upgrading completes the most;
After described OTA upgrading completes, it is the network before configuration by network recovery.
Alternatively, described from server acquisition OTA upgrade information, upgrade according to described OTA upgrade information System, it may include:
Download OTA AKU from server and described OTA AKU is installed.
Second aspect according to disclosure embodiment, it is provided that a kind of OTA update device, including:
First monitoring modular, is used for monitoring whether current time arrives free time section;
First judge module, for when current time arrives free time section, it is judged that local terminal currently connects Whether network is to preset network;
Configuration module, for when the network that local terminal currently connects is not to preset network, automatically configuring default net Network;
Upgraded module, for obtaining OTA upgrade information from server, according to described OTA upgrade information liter Level system.
Alternatively, described device may also include that
Second judge module, for when current time arrives free time section, it is judged that whether local terminal display screen It is in and puts out screen state;
First performs module, for when local terminal display screen is in and puts out screen state, performs to judge that local terminal currently connects Whether the network connect is the step presetting network.
Alternatively, described device may also include that
3rd judge module, is used for judging whether the occupied ratio of local terminal processor resource exceedes preset ratio;
Second performs module, for when not less than preset ratio, performs to judge the network that local terminal currently connects Whether it is the step presetting network.
Alternatively, described device may also include that
3rd performs module, for when the network that local terminal currently connects is to preset network, performing from server Obtain the step of OTA upgrade information.
Alternatively, described device may also include that
Acquisition module, for obtaining the version number of system current version number and OTA AKU;
4th performs module, for when the version number of OTA AKU is higher than system current version, performing The step of OTA upgrade information is obtained from server.
Alternatively, described device may also include that
Second monitoring modular, is used for monitoring OTA upgrading and the most completes;
Recover module, after completing when described OTA upgrading, be the network before configuration by network recovery.
Alternatively, described upgraded module, it may include:
Upgrading submodule, for downloading OTA AKU from server and installing described OTA AKU.
The third aspect according to disclosure embodiment, it is provided that a kind of OTA update device, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Whether monitoring current time arrives free time section;
When current time arrives free time section, it is judged that whether the network that local terminal currently connects is to preset network;
When the network that local terminal currently connects is not to preset network, automatically configure default network;
OTA upgrade information is obtained, according to described OTA upgrade information upgrade-system from server.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
Whether technique scheme, arrive free time section by monitoring current time, when current time arrives During free time section, it is judged that whether the network that local terminal currently connects is to preset network, when local terminal currently connects When network is not to preset network, automatically configures default network, obtain OTA upgrade information from server, according to Described OTA upgrade information upgrade-system.Thus solving user when being currently in use, OTA upgrades automatically to use The problem of the inconvenience that family is brought.System can actively enable network in user's free time section, carry out OTA, Terminal can be selected the most when in use, Bu Huiying according to user's service condition at that time and use habit Ring user to use, thus bring more preferable Consumer's Experience.
It should be appreciated that it is only exemplary that above general description and details hereinafter describe, can not Limit the disclosure.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the disclosure Embodiment, and in description together for explaining the principle of the disclosure.
Fig. 1 is the flow chart according to a kind of OTA upgrade method shown in an exemplary embodiment.
Fig. 2 is the flow chart according to another the OTA upgrade method shown in an exemplary embodiment.
Fig. 3 is the flow chart according to another the OTA upgrade method shown in an exemplary embodiment.
Fig. 4 is the flow chart according to another the OTA upgrade method shown in an exemplary embodiment.
Fig. 5 is the flow chart according to another the OTA upgrade method shown in an exemplary embodiment.
Fig. 6 is the flow chart according to another the OTA upgrade method shown in an exemplary embodiment.
Fig. 7 is the flow chart according to the another kind of OTA upgrade method shown in an exemplary embodiment.
Fig. 8 is the block diagram according to a kind of OTA update device shown in an exemplary embodiment.
Fig. 9 is the block diagram according to another the OTA update device shown in another exemplary embodiment.
Figure 10 is the block diagram according to another the OTA update device shown in another exemplary embodiment.
Figure 11 is the block diagram according to the another kind of OTA update device shown in another exemplary embodiment.
Figure 12 is the block diagram according to the another kind of OTA update device shown in another exemplary embodiment.
Figure 13 is the block diagram according to the another kind of OTA update device shown in another exemplary embodiment.
Figure 14 is according to a kind of block diagram being applicable to OTA update device shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Following retouches Stating when relating to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element. Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the disclosure Formula.On the contrary, they only with describe in detail in appended claims, the disclosure some in terms of mutually one The example of the apparatus and method caused.
At present, mobile terminal has the function of automatic OTA, but if is currently in use user and (such as, leads Boat, make a phone call, listen music etc.) time OTA, Consumer's Experience will be made very poor, and if user set and flown Row mode does not has network support so that can time period of OTA automatically limited.In a word, in correlation technique, no Can consider whether user's service condition at that time is suitably to upgrade opportunity, thereby tend to cause using to user Terminal is made troubles.In the present embodiment, system can actively enable network in user's free time section, enter Row OTA, thus more preferable Consumer's Experience can be brought.
Fig. 1 is the flow chart according to a kind of OTA upgrade method shown in an exemplary embodiment, such as Fig. 1 institute Showing, this OTA upgrade method may comprise steps of.
In a step 101, whether monitoring current time arrives free time section.
User can pre-set free time section according to the demand of oneself, it is also possible to is set by system. The time that can set user's sleep carries out OTA upgrading, and such as, free time section is set to morning 1:00-3:00,4:00-5:00, within the time period, will not use mobile phone, at this in the case of the big probability of user Time period carries out OTA upgrading, does not interferes with user.Free time section can arrange one, it is also possible to sets Put multiple.Free time section can use the historical data of terminal by user, counts user most unlikely Use one or several time periods of terminal, be set to free time section, the time on upgrading opportunity is dynamically set Point.
In a step 102, when current time arrives free time section, it is judged that the network that local terminal currently connects Whether it is to preset network.
In step 103, when the network that local terminal currently connects is not to preset network, automatically configure default network, Local terminal is made to be connected to preset network.
Default network can be such as WI-FI network, will not be to using owing to carrying out upgrading under WI-FI network Family produce extra-pay, therefore, if the network that local terminal currently connects (be probably cellular mobile network or Person does not connect any network) it not to preset network, automatically configure default network, make terminal be connected to preset After network, actively trigger OTA upgrading.
At step 104, obtain OTA upgrade information from server, according to the upgrading of OTA upgrade information be System.
In sum, whether the OTA upgrade method provided in disclosure embodiment, by monitoring current time Arrive free time section, when current time arrives free time section, it is judged that the network that local terminal currently connects is No for presetting network, when the network that local terminal currently connects is not to preset network, automatically configure default network, OTA upgrade information is obtained, according to described OTA upgrade information upgrade-system from server.Thus solve When user is currently in use, OTA automatically upgrade to user bring inconvenience problem.System can be empty user The not busy time period, actively enable network, carry out OTA, can practise according to user's service condition at that time and use Used, select terminal the most when in use, do not interfere with user and use, thus bring more preferable Consumer's Experience.
First that requires supplementation with explanation is that as in figure 2 it is shown, after step 101, said method also may be used Including step 105:
In step 105, when current time arrives free time section, it is judged that whether local terminal display screen is in Put out screen state.
When local terminal display screen is in and puts out screen state, perform step 102.
Between at one's leisure in section, user will not use mobile phone in the case of big probability, but, also it is not excluded for User at one's leisure between can use mobile phone in section.When user uses mobile phone, though section between at one's leisure, for Do not affect user to use, can not carry out OTA upgrading.In the present embodiment, when current time arrives the free time During the time period, whether local terminal display screen to be determined whether is in and puts out screen state, puts out screen state if be in, Illustrate that user does not use mobile phone, then can carry out OTA upgrading, thus be further ensured that user is using hands Will not be bothered by OTA upgrading during machine.
The second point requiring supplementation with explanation is, as it is shown on figure 3, after step 101, said method also may be used Including step 106:
In step 106, it is judged that whether the occupied ratio of local terminal processor resource exceedes preset ratio.
When not less than preset ratio, perform step 102.
The present embodiment is to judge the another kind of method whether user is currently in use terminal, when user does not uses equipment Time, in addition to the application program of some running backgrounds can take less processor resource, there is no other application Program takies processor resource.Therefore, in the present embodiment, when the occupied ratio of local terminal processor resource not When exceeding preset ratio, then judge that user does not uses terminal, OTA upgrading can be carried out, thus protect further Card user will not be bothered by OTA upgrading when using mobile phone.
Require supplementation with explanation thirdly, after step 102, as shown in Figure 4, said method also may be used Including:
When the network that local terminal currently connects is to preset network, perform step 104.
In the present embodiment, when the network that local terminal connects is for presetting network, then without reconfiguring network, can Directly carry out OTA upgrading.
Requiring supplementation with the 4th of explanation is, before step 101, as it is shown in figure 5, said method also may be used Including step 107:
In step 107, the version number of system current version number and OTA AKU is obtained, it is judged that OTA Whether the version number of AKU is higher than system current version number.
When the version number of OTA AKU is higher than system current version, perform step 101.
In the present embodiment, when the version number of OTA AKU is higher than system current version, system just needs Upgrading, otherwise without upgrade-system, thus avoids the waste of system resource.
The 5th that requires supplementation with explanation is that as shown in Figure 6, after step 104, said method also may be used Including step 108-109:
In step 108, monitoring OTA upgrading completes the most.
In step 109, after OTA upgrading completes, it is the network before configuration by network recovery.
In the present embodiment, after OTA upgrading terminates, recover original network configuration state.Such as, network Before configuration, terminal is offline mode, is not connected with any network, automatically configures default network (WIFI network) Carry out OTA upgrading, after upgrading terminates, the network state of terminal is reverted to offline mode from WIFI network; Or, before network configuration, terminal is cellular mobile network, before OTA upgrades, first automatically configures default Network (WIFI network), after configuration is good, actively triggers OTA upgrading, it is not necessary to user's manual operation, enters one Step improves the experience of user.
Requiring supplementation with the 6th of explanation is, as it is shown in fig. 7, step 104 may be implemented as step 701:
In step 701, download OTA AKU from server and OTA AKU is installed.
In the present embodiment, when carrying out OTA upgrading, system is automatically downloaded OTA AKU from server and pacifies Dress OTA AKU, completes OTA upgrading, it is not necessary to any operation of user, brings facility to user.
Following for disclosure device embodiment, may be used for performing method of disclosure embodiment.For the disclosure The details not disclosed in device embodiment, refer to method of disclosure embodiment.
Fig. 8 is the block diagram according to a kind of OTA update device shown in an exemplary embodiment, as shown in Figure 8, This OTA update device can include but not limited to: first monitoring modular the 81, first judge module 82, joins Put module 83 and upgraded module 84.
First monitoring modular 81, is configured to monitor whether current time arrives free time section;
First judge module 82, when being configured as current time arrival free time section, it is judged that local terminal is current Whether the network connected is to preset network;
Configuration module 83, is configured as the network that local terminal currently connects when not being to preset network, automatically configures Preset network;
Upgraded module 84, is configured to obtain OTA upgrade information, according to OTA upgrade information from server Upgrade-system.
Alternatively, as it is shown in figure 9, said apparatus may also include that
Second judge module 85, when being configured as current time arrival free time section, it is judged that local terminal shows Whether screen is in and puts out screen state;
First performs module 86, is configured as local terminal display screen and is in when putting out screen state, performs to judge local terminal Whether the current network connected is the step presetting network.
Alternatively, as shown in Figure 10, said apparatus may also include that
3rd judge module 87, is configured to judge whether the occupied ratio of local terminal processor resource exceedes pre- If ratio;
Second performs module 88, when being configured as not less than preset ratio, performs to judge that local terminal currently connects Network be whether the step presetting network.
Alternatively, as shown in figure 11, said apparatus may also include that
3rd performs module 89, is configured as the network that local terminal currently connects when being to preset network, perform from Server obtains the step of OTA upgrade information.
Alternatively, as shown in figure 12, said apparatus may also include that
Acquisition module 90, is configured to the version number of acquisition system current version number and OTA AKU;
4th performs module 91, when being configured as the version number of OTA AKU higher than system current version, Perform to obtain the step of OTA upgrade information from server.
Alternatively, as shown in figure 13, said apparatus may also include that
Second monitoring modular 92, is configured to monitor OTA upgrading and the most completes;
Recover module 93, be configured as OTA upgrading complete after, by network recovery be configuration before net Network.
Alternatively, upgraded module 84, it may include:
Upgrading submodule, is configured to download OTA AKU from server and install OTA AKU.
In sum, whether the OTA update device provided in disclosure embodiment, by monitoring current time Arrive free time section, when current time arrives free time section, it is judged that the network that local terminal currently connects is No for presetting network, when the network that local terminal currently connects is not to preset network, automatically configure default network, OTA upgrade information is obtained, according to described OTA upgrade information upgrade-system from server.Thus solve When user is currently in use, OTA automatically upgrade to user bring inconvenience problem.System can be empty user The not busy time period, actively enable network, carry out OTA, do not interfere with user and use, thus bring preferably use Family is experienced.
Between at one's leisure in section, user will not use mobile phone in the case of big probability, but, also it is not excluded for User at one's leisure between can use mobile phone in section.When user uses mobile phone, though section between at one's leisure, for Do not affect user to use, can not carry out OTA upgrading.In the present embodiment, when current time arrives the free time During the time period, whether local terminal display screen to be determined whether is in and puts out screen state, puts out screen state if be in, Illustrate that user does not use mobile phone, then can carry out OTA upgrading, thus be further ensured that user is using hands Will not be bothered by OTA upgrading during machine.
The present embodiment is to judge the another kind of method whether user is currently in use terminal, when user does not uses equipment Time, in addition to the application program of some running backgrounds can take less processor resource, there is no other application Program takies processor resource.Therefore, in the present embodiment, when the occupied ratio of local terminal processor resource not When exceeding preset ratio, then judge that user does not uses terminal, OTA upgrading can be carried out, thus protect further Card user will not be bothered by OTA upgrading when using mobile phone.
The present embodiment, when the network that local terminal connects is for presetting network, then without reconfiguring network, can be straight Tap into row OTA upgrading.
The present embodiment, when the version number of OTA AKU is higher than system current version, system just needs to rise Level, otherwise without upgrade-system, thus avoids the waste of system resource.
The present embodiment, after OTA upgrading terminates, recovers original network configuration state.Such as, network is joined Before putting, terminal is offline mode, is not connected with any network, automatically configures default network (WIFI network) and enters Row OTA upgrades, and after upgrading terminates, from WIFI network, the network state of terminal is reverted to offline mode, Without user's manual operation, improve the experience of user further.
The present embodiment, when carrying out OTA upgrading, system is automatically downloaded OTA AKU from server and installs OTA AKU, completes OTA upgrading, it is not necessary to any operation of user, brings facility to user.
The disclosure one exemplary embodiment additionally provides a kind of OTA update device, it is possible to realizing the disclosure provides OTA upgrade method.This device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Whether monitoring current time arrives free time section;
When current time arrives free time section, it is judged that whether the network that local terminal currently connects is to preset network;
When the network that local terminal currently connects is not to preset network, automatically configure default network;
OTA upgrade information is obtained, according to described OTA upgrade information upgrade-system from server.
Alternatively, after whether described monitoring current time arrives free time section, described method also can be wrapped Include:
When current time arrives free time section, it is judged that whether local terminal display screen is in is put out screen state;
When local terminal display screen is in and puts out screen state, perform to judge whether the network that local terminal currently connects is default The step of network.
Alternatively, after whether described monitoring current time arrives free time section, described method also can be wrapped Include:
Judge whether the occupied ratio of local terminal processor resource exceedes preset ratio;
When not less than preset ratio, perform to judge whether the network that local terminal currently connects is the step presetting network Suddenly.
Alternatively, after judging whether the network that local terminal currently connects is default network, described method also may be used Including:
When the network that local terminal currently connects is to preset network, perform to obtain OTA upgrade information from server Step.
Alternatively, before whether described monitoring current time arrives free time section, described method also can be wrapped Include:
Acquisition system current version number and the version number of OTA AKU;
When the version number of OTA AKU is higher than system current version, perform to obtain OTA from server The step of upgrade information.
Alternatively, OTA upgrade information is obtained from server, according to described OTA upgrade information liter described After level system, described method may also include that
Monitoring OTA upgrading completes the most;
After described OTA upgrading completes, it is the network before configuration by network recovery.
Alternatively, described from server acquisition OTA upgrade information, upgrade according to described OTA upgrade information System, it may include:
Download OTA AKU from server and described OTA AKU is installed.
Figure 14 is according to a kind of block diagram for OTA update device shown in an exemplary embodiment, this dress Put and be applicable to terminal unit.Such as, device 1200 can be mobile phone, computer, digital broadcast terminal, Messaging devices, game console, tablet device, armarium, body-building equipment, personal digital assistant Deng.
Device 1200 can include following one or more assembly: processes assembly 1202, memorizer 1204, Power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of input/output (I/O), Sensor cluster 1214, and communications component 1216.
Process assembly 1202 and generally control the integrated operation of device 1200, such as with display, call, The operation that data communication, camera operation and record operation are associated.Process assembly 1202 can include one or Multiple processors 1220 perform instruction, to complete all or part of step of above-mentioned method.Additionally, place Reason assembly 1202 can include one or more module, it is simple to processes between assembly 1202 and other assemblies Alternately.Such as, process assembly 1202 and can include multi-media module, to facilitate multimedia groupware 1208 He Process between assembly 1202 is mutual.
Memorizer 1204 is configured to store various types of data to support the operation at device 1200.This The example of a little data includes any application program for operation on device 1200 or the instruction of method, contact Personal data, telephone book data, message, picture, video etc..Memorizer 1204 can by any kind of easily The property lost or non-volatile memory device or combinations thereof realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, Flash memory, disk or CD.
The various assemblies that power supply module 1206 is device 1200 provide electric power.Power supply module 1206 can include Power-supply management system, one or more power supplys, and other with generate for device 1200, manage and distribute electric power The assembly being associated.
One output interface of offer that multimedia groupware 1208 is included between described device 1200 and user Screen.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP). If screen includes that touch panel, screen may be implemented as touch screen, to receive the input letter from user Number.Touch panel includes that one or more touch sensor is with the hands on sensing touch, slip and touch panel Gesture.Described touch sensor can not only sense touch or the border of sliding action, but also detection is with described Touch or persistent period that slide is relevant and pressure.In certain embodiments, multimedia groupware 1208 wraps Include a front-facing camera and/or post-positioned pick-up head.When device 1200 is in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Before each Put photographic head and post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom Ability.
Audio-frequency assembly 1210 is configured to output and/or input audio signal.Such as, audio-frequency assembly 1210 wraps Include a mike (MIC), when device 1200 is in operator scheme, such as call model, logging mode and language During sound recognition mode, mike is configured to receive external audio signal.The audio signal received can be by It is further stored in memorizer 1204 or sends via communications component 1216.In certain embodiments, audio frequency Assembly 1210 also includes a speaker, is used for exporting audio signal.
I/O interface 1212 provides interface for processing between assembly 1202 and peripheral interface module, above-mentioned periphery connects Mouth die block can be keyboard, puts striking wheel, button etc..These buttons may include but be not limited to: home button, Volume button, start button and locking press button.
Sensor cluster 1214 includes one or more sensor, for providing various aspects for device 1200 State estimation.Such as, what sensor cluster 1214 can detect device 1200 opens/closed mode, The relative localization of assembly, the most described assembly is display and the keypad of device 1200, sensor cluster 1214 Can also detect device 1200 or the position change of 1,200 1 assemblies of device, user contacts with device 1200 Presence or absence, device 1200 orientation or acceleration/deceleration and the variations in temperature of device 1200.Sensor Assembly 1214 can include proximity transducer, is configured to when not having any physical contact near detection The existence of object.Sensor cluster 1214 can also include optical sensor, as CMOS or ccd image pass Sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1214 can also wrap Include acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1216 is configured to facilitate wired or wireless mode between device 1200 and other equipment Communication.Device 1200 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or it Combination.In one exemplary embodiment, communications component 1216 receives from outside via broadcast channel The broadcast singal of broadcasting management systems or broadcast related information.In one exemplary embodiment, described communication Assembly 1216 also includes near-field communication (NFC) module, to promote junction service.Such as, in NFC module Can be based on RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) Technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), FPGA Device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or its He realizes by electronic component, is used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable storage medium including instruction is additionally provided Matter, such as, include the memorizer 1204 of instruction, and above-mentioned instruction can be performed by the processor 1220 of device 1200 To complete said method.Such as, described non-transitory computer-readable recording medium can be ROM, random Access memorizer (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is by device 1200 Processor perform time so that device 1200 is able to carry out above-mentioned OTA upgrade method, and described method includes:
Whether monitoring current time arrives free time section;
When current time arrives free time section, it is judged that whether the network that local terminal currently connects is to preset network;
When the network that local terminal currently connects is not to preset network, automatically configure default network;
OTA upgrade information is obtained, according to described OTA upgrade information upgrade-system from server.
Alternatively, after whether described monitoring current time arrives free time section, described method also can be wrapped Include:
When current time arrives free time section, it is judged that whether local terminal display screen is in is put out screen state;
When local terminal display screen is in and puts out screen state, perform to judge whether the network that local terminal currently connects is default The step of network.
Alternatively, after whether described monitoring current time arrives free time section, described method also can be wrapped Include:
Judge whether the occupied ratio of local terminal processor resource exceedes preset ratio;
When not less than preset ratio, perform to judge whether the network that local terminal currently connects is the step presetting network Suddenly.
Alternatively, after judging whether the network that local terminal currently connects is default network, described method also may be used Including:
When the network that local terminal currently connects is to preset network, perform to obtain OTA upgrade information from server Step.
Alternatively, before whether described monitoring current time arrives free time section, described method also can be wrapped Include:
Acquisition system current version number and the version number of OTA AKU;
When the version number of OTA AKU is higher than system current version, perform to obtain OTA from server The step of upgrade information.
Alternatively, OTA upgrade information is obtained from server, according to described OTA upgrade information liter described After level system, described method may also include that
Monitoring OTA upgrading completes the most;
After described OTA upgrading completes, it is the network before configuration by network recovery.
Alternatively, described from server acquisition OTA upgrade information, upgrade according to described OTA upgrade information System, it may include:
Download OTA AKU from server and described OTA AKU is installed.
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to these public affairs Other embodiment opened.The application is intended to any modification, purposes or the adaptations of the disclosure, These modification, purposes or adaptations are followed the general principle of the disclosure and include that the disclosure is not disclosed Common knowledge in the art or conventional techniques means.Description and embodiments is considered only as exemplary , the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure is not limited to accurate knot described above and illustrated in the accompanying drawings Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only by appended Claim limits.

Claims (15)

1. an OTA upgrade method, it is characterised in that including:
Whether monitoring current time arrives free time section;
When current time arrives free time section, it is judged that whether the network that local terminal currently connects is to preset network;
When the network that local terminal currently connects is not to preset network, automatically configures default network, make local terminal connect To presetting network;
OTA upgrade information is obtained, according to described OTA upgrade information upgrade-system from server.
Method the most according to claim 1, it is characterised in that whether arrive in described monitoring current time After reaching free time section, described method also includes:
When current time arrives free time section, it is judged that whether local terminal display screen is in is put out screen state;
When local terminal display screen is in and puts out screen state, perform to judge whether the network that local terminal currently connects is default The step of network.
Method the most according to claim 1, it is characterised in that whether arrive in described monitoring current time After reaching free time section, described method also includes:
When current time arrives free time section, it is judged that whether the occupied ratio of local terminal processor resource surpasses Cross preset ratio;
When not less than preset ratio, perform to judge whether the network that local terminal currently connects is the step presetting network Suddenly.
Method the most according to claim 1, it is characterised in that at the network judging that local terminal currently connects After whether being default network, described method also includes:
When the network that local terminal currently connects is to preset network, perform to obtain OTA upgrade information from server Step.
Method the most according to claim 1, it is characterised in that whether arrive in described monitoring current time Before reaching free time section, described method also includes:
Acquisition system current version number and the version number of OTA AKU;
When the version number of OTA AKU is higher than system current version, perform to obtain OTA from server The step of upgrade information.
Method the most according to claim 1, it is characterised in that obtain OTA from server described Upgrade information, after described OTA upgrade information upgrade-system, described method also includes:
Monitoring OTA upgrading completes the most;
After described OTA upgrading completes, it is the network before configuration by network recovery.
7. according to the method according to any one of claim 1-6, it is characterised in that described obtain from server Take OTA upgrade information, according to described OTA upgrade information upgrade-system, including:
Download OTA AKU from server and described OTA AKU is installed.
8. an OTA update device, it is characterised in that including:
First monitoring modular, is used for monitoring whether current time arrives free time section;
First judge module, for when current time arrives free time section, it is judged that local terminal currently connects Whether network is to preset network;
Configuration module, for when the network that local terminal currently connects is not to preset network, automatically configuring default net Network, makes local terminal be connected to preset network;
Upgraded module, for obtaining OTA upgrade information from server, according to described OTA upgrade information liter Level system.
Device the most according to claim 8, it is characterised in that described device also includes:
Second judge module, for when current time arrives free time section, it is judged that whether local terminal display screen It is in and puts out screen state;
First performs module, for when local terminal display screen is in and puts out screen state, performs to judge that local terminal currently connects Whether the network connect is the step presetting network.
Device the most according to claim 8, it is characterised in that described device also includes:
3rd judge module, for when current time arrives free time section, it is judged that local terminal processor resource Whether occupied ratio exceedes preset ratio;
Second performs module, for when not less than preset ratio, performs to judge the network that local terminal currently connects Whether it is the step presetting network.
11. devices according to claim 8, it is characterised in that described device also includes:
3rd performs module, for when the network that local terminal currently connects is to preset network, performing monitoring current Whether the time arrives the step of free time section.
12. devices according to claim 8, it is characterised in that described device also includes:
Acquisition module, for obtaining the version number of system current version number and OTA AKU;
4th performs module, for when the version number of OTA AKU is higher than system current version, performing The step of OTA upgrade information is obtained from server.
13. devices according to claim 8, it is characterised in that described device also includes:
Second monitoring modular, is used for monitoring OTA upgrading and the most completes;
Recover module, after completing when described OTA upgrading, be the network before configuration by network recovery.
14. devices according to any one of-13 according to Claim 8, it is characterised in that described upgraded module, Including:
Upgrading submodule, for downloading OTA AKU from server and installing described OTA AKU.
15. 1 kinds of OTA update devices, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Whether monitoring current time arrives free time section;
When current time arrives free time section, it is judged that whether the network that local terminal currently connects is to preset network;
When the network that local terminal currently connects is not to preset network, automatically configure default network;
OTA upgrade information is obtained, according to described OTA upgrade information upgrade-system from server.
CN201610350468.2A 2016-05-24 2016-05-24 OTA upgrading method and apparatus Pending CN105848190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610350468.2A CN105848190A (en) 2016-05-24 2016-05-24 OTA upgrading method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610350468.2A CN105848190A (en) 2016-05-24 2016-05-24 OTA upgrading method and apparatus

Publications (1)

Publication Number Publication Date
CN105848190A true CN105848190A (en) 2016-08-10

Family

ID=56593317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610350468.2A Pending CN105848190A (en) 2016-05-24 2016-05-24 OTA upgrading method and apparatus

Country Status (1)

Country Link
CN (1) CN105848190A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325929A (en) * 2016-08-22 2017-01-11 合肥华凌股份有限公司 Firmware upgrading method, firmware upgrading device, refrigerator and server side
CN106656582A (en) * 2016-12-01 2017-05-10 北京小米移动软件有限公司 System upgrading method and device
CN106911576A (en) * 2017-02-17 2017-06-30 上海斐讯数据通信技术有限公司 The shunting method for pushing and system of a kind of router firmware upgrading
CN107220079A (en) * 2017-05-04 2017-09-29 惠州Tcl移动通信有限公司 System version update method, storage device and the mobile terminal of a kind of mobile terminal
CN107656746A (en) * 2017-08-31 2018-02-02 维沃移动通信有限公司 A kind of method and mobile terminal of program upgrading
CN108574700A (en) * 2017-03-07 2018-09-25 峰范(北京)科技有限公司 Online push upgrade method based on displaying and device
CN108989961A (en) * 2017-06-02 2018-12-11 西万拓私人有限公司 The method that firmware for the hearing aid to hearing aid device system is adapted to
CN109766109A (en) * 2018-12-17 2019-05-17 浙江创意声光电科技有限公司 The client update method of lighting controller, apparatus and system
CN110246266A (en) * 2019-06-19 2019-09-17 深圳市丰巢科技有限公司 A kind of information displaying method, device, equipment and medium
CN110377319A (en) * 2019-08-26 2019-10-25 咪咕文化科技有限公司 A kind of upgrade method of application program, device, electronic equipment and storage medium
CN110649979A (en) * 2019-09-30 2020-01-03 东莞市欧珀精密电子有限公司 Electronic device antenna performance testing method, electronic device, equipment and storage medium
CN112003722A (en) * 2020-07-15 2020-11-27 北京三快在线科技有限公司 Data processing method and device, edge node and storage medium
CN112052023A (en) * 2020-09-14 2020-12-08 艾体威尔电子技术(北京)有限公司 Intelligent terminal upgrading strategy management method
CN112118280A (en) * 2020-06-19 2020-12-22 上海汉枫电子科技有限公司 Recovery method after OTA upgrade failure of WI-FI equipment
CN112311576A (en) * 2019-07-31 2021-02-02 中兴通讯股份有限公司 OTA upgrade diagnosis method and device, wireless routing equipment and terminal equipment
CN112616090A (en) * 2020-12-07 2021-04-06 青岛海信传媒网络技术有限公司 Display equipment system upgrading method and display equipment
CN112751699A (en) * 2019-10-31 2021-05-04 阿里巴巴集团控股有限公司 OTA upgrade and upgrade management method, device, network and storage medium
CN113553182A (en) * 2021-07-22 2021-10-26 工银科技有限公司 Configuration method, device, equipment, medium and program product of terminal control strategy

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130074061A1 (en) * 2011-09-16 2013-03-21 Aaron H. Averbuch Centrally coordinated firmware upgrade model across network for minimizing uptime loss and firmware compatibility
CN104598286A (en) * 2015-02-26 2015-05-06 深圳市欧珀通信软件有限公司 Software updating method and device for mobile terminal
CN104881306A (en) * 2015-05-15 2015-09-02 广东小天才科技有限公司 Method and apparatus for realizing automatic upgrading of wearable smart device
CN105045636A (en) * 2015-08-11 2015-11-11 广东欧珀移动通信有限公司 Method and apparatus for updating software

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130074061A1 (en) * 2011-09-16 2013-03-21 Aaron H. Averbuch Centrally coordinated firmware upgrade model across network for minimizing uptime loss and firmware compatibility
CN104598286A (en) * 2015-02-26 2015-05-06 深圳市欧珀通信软件有限公司 Software updating method and device for mobile terminal
CN104881306A (en) * 2015-05-15 2015-09-02 广东小天才科技有限公司 Method and apparatus for realizing automatic upgrading of wearable smart device
CN105045636A (en) * 2015-08-11 2015-11-11 广东欧珀移动通信有限公司 Method and apparatus for updating software

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325929B (en) * 2016-08-22 2020-02-07 合肥美的智能科技有限公司 Firmware upgrading method, firmware upgrading device, refrigerator and server
CN106325929A (en) * 2016-08-22 2017-01-11 合肥华凌股份有限公司 Firmware upgrading method, firmware upgrading device, refrigerator and server side
CN106656582A (en) * 2016-12-01 2017-05-10 北京小米移动软件有限公司 System upgrading method and device
CN106911576A (en) * 2017-02-17 2017-06-30 上海斐讯数据通信技术有限公司 The shunting method for pushing and system of a kind of router firmware upgrading
CN108574700A (en) * 2017-03-07 2018-09-25 峰范(北京)科技有限公司 Online push upgrade method based on displaying and device
CN107220079A (en) * 2017-05-04 2017-09-29 惠州Tcl移动通信有限公司 System version update method, storage device and the mobile terminal of a kind of mobile terminal
CN108989961A (en) * 2017-06-02 2018-12-11 西万拓私人有限公司 The method that firmware for the hearing aid to hearing aid device system is adapted to
CN107656746B (en) * 2017-08-31 2020-11-03 维沃移动通信有限公司 Program upgrading method and mobile terminal
CN107656746A (en) * 2017-08-31 2018-02-02 维沃移动通信有限公司 A kind of method and mobile terminal of program upgrading
CN109766109B (en) * 2018-12-17 2022-04-15 浙江创意声光电科技有限公司 Client updating method, device and system of lighting controller
CN109766109A (en) * 2018-12-17 2019-05-17 浙江创意声光电科技有限公司 The client update method of lighting controller, apparatus and system
CN110246266A (en) * 2019-06-19 2019-09-17 深圳市丰巢科技有限公司 A kind of information displaying method, device, equipment and medium
CN112311576A (en) * 2019-07-31 2021-02-02 中兴通讯股份有限公司 OTA upgrade diagnosis method and device, wireless routing equipment and terminal equipment
CN112311576B (en) * 2019-07-31 2023-11-24 中兴通讯股份有限公司 OTA upgrading diagnosis method and device, wireless routing equipment and terminal equipment
CN110377319A (en) * 2019-08-26 2019-10-25 咪咕文化科技有限公司 A kind of upgrade method of application program, device, electronic equipment and storage medium
CN110377319B (en) * 2019-08-26 2023-04-07 咪咕文化科技有限公司 Application program upgrading method and device, electronic equipment and storage medium
CN110649979A (en) * 2019-09-30 2020-01-03 东莞市欧珀精密电子有限公司 Electronic device antenna performance testing method, electronic device, equipment and storage medium
CN110649979B (en) * 2019-09-30 2022-04-01 东莞市欧珀精密电子有限公司 Electronic device antenna performance testing method, electronic device, equipment and storage medium
CN112751699A (en) * 2019-10-31 2021-05-04 阿里巴巴集团控股有限公司 OTA upgrade and upgrade management method, device, network and storage medium
CN112118280A (en) * 2020-06-19 2020-12-22 上海汉枫电子科技有限公司 Recovery method after OTA upgrade failure of WI-FI equipment
CN112003722A (en) * 2020-07-15 2020-11-27 北京三快在线科技有限公司 Data processing method and device, edge node and storage medium
CN112052023A (en) * 2020-09-14 2020-12-08 艾体威尔电子技术(北京)有限公司 Intelligent terminal upgrading strategy management method
CN112052023B (en) * 2020-09-14 2024-01-26 艾体威尔电子技术(北京)有限公司 Intelligent terminal upgrade strategy management method
CN112616090A (en) * 2020-12-07 2021-04-06 青岛海信传媒网络技术有限公司 Display equipment system upgrading method and display equipment
CN113553182A (en) * 2021-07-22 2021-10-26 工银科技有限公司 Configuration method, device, equipment, medium and program product of terminal control strategy

Similar Documents

Publication Publication Date Title
CN105848190A (en) OTA upgrading method and apparatus
CN104318741B (en) Bluetooth equipment control method and device
CN104486451B (en) Application program recommends method and device
CN104898505A (en) Smart scene configuration method and device
CN104951336A (en) Application program installation method and device
CN104598093A (en) Method and device for prompting message during screen locking
CN105487650A (en) Intelligent alarm clock turn-off method and apparatus
CN105898032A (en) Adjusting method and apparatus for warning tone
CN104035979A (en) Object recommendation method and related device
CN105892618A (en) Information display method and device and electronic device
CN104320774A (en) Updating method, device and facility
CN105530384A (en) Method and device for power reminding based on alarm clock
CN106792448A (en) Bluetooth connecting method and device, system
CN105068848A (en) System upgrading method and apparatus
CN104010072A (en) Electric quantity prompt method and device
CN103888601A (en) Method, device and terminal for information warning
CN104113646A (en) Method and apparatus for calling forwarding
CN105141769A (en) Communication message processing method and device as well as terminal
CN105068651A (en) Method, device, terminal and server for controlling alarm clock
CN104375760B (en) Method for information display and device
CN105897600A (en) Method and device for controlling router load balance
CN105657690A (en) Method and device for processing mobile terminal setting information
CN104536753B (en) Backlog labeling method and device
CN105912202A (en) Application sharing method and device
CN105677428A (en) Upgrading method and device for terminal and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160810