CN103488503B - Oftware updating method and device - Google Patents

Oftware updating method and device Download PDF

Info

Publication number
CN103488503B
CN103488503B CN201310413070.5A CN201310413070A CN103488503B CN 103488503 B CN103488503 B CN 103488503B CN 201310413070 A CN201310413070 A CN 201310413070A CN 103488503 B CN103488503 B CN 103488503B
Authority
CN
China
Prior art keywords
software
new module
version
latest edition
upgrading
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.)
Expired - Fee Related
Application number
CN201310413070.5A
Other languages
Chinese (zh)
Other versions
CN103488503A (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.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media Technology 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 TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN201310413070.5A priority Critical patent/CN103488503B/en
Publication of CN103488503A publication Critical patent/CN103488503A/en
Application granted granted Critical
Publication of CN103488503B publication Critical patent/CN103488503B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of Oftware updating method and device, described method arranges more new module outside software, said method comprising the steps of: more new module obtains the version of software; More new module connects network, obtains the latest edition of described software; More the version of software and the latest edition of software are compared by new module; If the latest edition of described software is higher than the version of described software, described more new module connects network and downloads the software of latest edition, carries out software upgrading. The Oftware updating method of the embodiment of the present invention and device, by the more new module of software is arranged on outside software, make more new module that software can independently carry out the acquisition of version and information, not by the impact of software, when software errors or collapse, still software can being updated, improve self renewal and the repair ability of software, thus improve Consumer's Experience.

Description

Oftware updating method and device
Technical field
The present invention relates to terminal software technical field, particularly relate to a kind of Oftware updating method and device.
Background technology
The function increasingly diversification of the software such as operating system or application program in terminal unit (such as computer, intelligent mobile phone, panel computer etc.); and in order to safeguard software in electronic equipment or promote function; supplier and development teams often can provide more redaction or the upgraded version of software, allow the user can by the software upgrading of electronic equipment to up-to-date or most stable of version.
It is said that in general, the renewal of software, generally obtaining the version of software when software starts, parallel-connection network is updated, and when this mode cannot start at software errors, it is impossible to be normally carried out, user's searching software of can only manually networking is reinstalled.
Summary of the invention
The embodiment of the present invention provides a kind of Oftware updating method and device, for realizing being independent of when software starts to carry out software detecting updating.
A kind of Oftware updating method, described method arranges more new module outside software, said method comprising the steps of:
More new module obtains the version of software;
More new module connects network, obtains the latest edition of described software;
More the version of software and the latest edition of software are compared by new module;
If the latest edition of described software is higher than the version of described software, described more new module connects network and downloads the software of latest edition, carries out software upgrading;
Described more new module obtains software information;
According to described software information, it is judged that whether described software mistake occurs;
If described software errors, described more new module connects network and downloads the software of latest edition, carries out software upgrading.
In the present embodiment, by will more outside new module be arranged on software, more new module can be made directly download and the renewal of latest edition software after obtaining software version, without being controlled by software, reduce the software upgrading dependency to software condition, by will more outside new module is arranged on software, it is possible to when software errors maybe cannot start, software is updated, update voluntarily without user, improve Consumer's Experience.
Preferably, before described more new module carries out software upgrading, described method also includes: the data of described more new module backup software.
In the present embodiment, by before carrying out software upgrading, the data of backup software, it is possible to the effectively significant data in protection software, it is to avoid the loss of data.
Preferably, after described more new module carries out software upgrading, described method also includes:
Start software;
If described software starts successfully, the starting state of software is designated successfully by described more new module;
If described software starts unsuccessfully, the starting state of software is designated failure by described more new module, and version corresponding for described software is put into wrong version district.
In the present embodiment, the starting state of software is identified and misregistration version, it is possible to that avoids wrong version software repeats renewal, decreases repetition step, improves software upgrading efficiency and intellectuality.
Preferably, described more new module is periodically actuated for software upgrading.
In the present embodiment, by being periodically actuated for software upgrading, it is to avoid software is not updated for a long time, is conducive to the software of Consumer's Experience redaction, updates the software that there is mistake.
Preferably, described step more new module obtains the version of software, including:
Described more new module obtains the version of described software when described software starts.
In the present embodiment, obtain the version of described software when described software starts it can be avoided that the repetition of software version, reduce the power consumption of equipment, it is achieved that upgrading in time of software, improve Consumer's Experience mistake.
A kind of software renewing apparatus, described device is in the described more new module that arranges outside software, and described more new module includes:
Local version acquiring unit, for obtaining the version of software;
Network version acquiring unit, is used for connecting network, obtains the latest edition of described software;
Edition comparison unit, for comparing the version of software and the latest edition of software;
Updating block, if being used for the latest edition version higher than described software of described software, described connection network downloads the software of latest edition, carries out software upgrading;
Information acquisition unit, is used for obtaining software information;
False judgment unit, for according to described software information, it is judged that whether described software mistake occurs;
Updating block is additionally operable to, if described software errors, connects network and downloads the software of latest edition, carry out software upgrading.
Preferably, described more new module also includes:
Data backup unit, before more new module carries out software upgrading, the data of backup software.
Preferably, described more new module also includes:
Starting state mark unit, for when described software starts successfully, being designated successfully by the starting state of software; When described software starts unsuccessfully, the starting state of software is designated failure, version corresponding for described software is put into wrong version district.
The Oftware updating method of the embodiment of the present invention and device, by the more new module of software is arranged on outside software, make more new module that software can independently carry out the acquisition of version and information, not by the impact of software, when software errors or collapse, still software can being updated, improve self renewal and the repair ability of software, thus improve Consumer's Experience.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from description, or understand by implementing the present invention. The purpose of the present invention and other advantages can be realized by structure specifically noted in the description write, claims and accompanying drawing and be obtained.
Below by drawings and Examples, technical scheme is described in further detail.
Accompanying drawing explanation
Accompanying drawing is for providing a further understanding of the present invention, and constitutes a part for description, is used for together with embodiments of the present invention explaining the present invention, is not intended that limitation of the present invention. In the accompanying drawings:
Fig. 1 is the flow chart of one embodiment of invention software update method;
Fig. 2 a-2c, for the structure chart of one embodiment of invention software updating device.
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated, it will be appreciated that preferred embodiment described herein is merely to illustrate and explains the present invention, is not intended to limit the present invention.
Referring to Fig. 1, for the flow chart of one embodiment of invention software update method, the method arranges more new module outside software, and the method includes:
Step 101: more new module obtains the version of software;
Wherein, more new module sends version to software and obtains instruction, after software receipt obtains instruction to version, searches software version, the software version found is sent to more new module in software; Or, more new module is directly connected to software lookup and transfers software version; Preferably, more new module obtains the version of described software when described software starts, and the acquisition of software version can obtain according to the version number of software, it is also possible to obtains according to other version informations.
In the present embodiment, obtain the version of described software when described software starts it can be avoided that the repetition of software version, reduce the power consumption of equipment, it is achieved that upgrading in time of software, improve Consumer's Experience mistake.
Step 102: more new module connects network, obtains the latest edition of described software.
Step 103: more the version of software and the latest edition of software are compared by new module.
Wherein, more the latest edition number of the version number of software Yu software can be contrasted by new module, it is also possible to contrasts according to other version informations.
Step 104: if the latest edition of described software is higher than the version of described software, described more new module connects network and downloads the software of latest edition, carries out software upgrading.
Wherein, more new module is when the latest edition judging software is higher than the version of described software, connect network to be updated the software download of latest edition to this locality installing, preferably, before carrying out software upgrading, the more data of new module backup software, after renewal completes, recovering the data of software, described more new module is periodically actuated for software upgrading.
Step 105: described more new module obtains software information.
Wherein, software information has software to be in use collected, and more new module is by sending acquisition of information instruction or actively extracting software information and obtain.
Step 106: according to described software information, it is judged that whether described software mistake occurs.
Step 107: if described software errors, described more new module connects network and downloads the software of latest edition, carries out software upgrading.
Wherein, more software information is analyzed by new module, if it find that error message, show software errors, connect network and be updated the software download of latest edition to this locality installing, it is preferred that, before carrying out software upgrading, the more data of new module backup software, after renewal completes, recover the data of software.
In the present embodiment, more new module can be updated for many moneys software, and the information of these softwares is presented to user by list or other forms, by will more outside new module be arranged on software, when software errors maybe cannot start, software can be updated, update voluntarily without user, improve Consumer's Experience.
Preferably, described Oftware updating method starts software after carrying out software upgrading, and the method also includes:
Step 108: if described software starts successfully, the starting state of software is designated successfully by described more new module.
Step 109: if described software starts unsuccessfully, the starting state of software is designated failure by described more new module, and version corresponding for described software is put into wrong version district.
In the present embodiment, the starting state of software is identified and misregistration version, it is possible to that avoids wrong version software repeats renewal, decreases repetition step, improves software upgrading efficiency and intellectuality.
By will more outside new module be arranged on software, more new module can be made directly download and the renewal of latest edition software after obtaining software version, without being controlled by software, reduce the software upgrading dependency to software condition, by will more outside new module be arranged on software, when software errors maybe cannot start, software can be updated, it is not necessary to user updates voluntarily, improves Consumer's Experience.
Referring to Fig. 2 a-2c, for the structure chart of one embodiment of invention software updating device, described software renewing apparatus arranges more new module 201 described outside software, and as shown in Figure 2 a, described more new module 201 includes:
Local version acquiring unit 202, for obtaining the version of software;
Network version acquiring unit 203, is used for connecting network, obtains the latest edition of described software;
Edition comparison unit 204, for comparing the version of software and the latest edition of software;
Updating block 205, if being used for the latest edition version higher than described software of described software, described connection network downloads the software of latest edition, carries out software upgrading.
Preferably, as shown in Figure 2 b, described more new module 201 also includes:
Information acquisition unit 206, is used for obtaining software information;
False judgment unit 207, for according to described software information, it is judged that whether described software mistake occurs;
Updating block 205 is additionally operable to, if described software errors, connects network and downloads the software of latest edition, carry out software upgrading.
Preferably, as shown in Figure 2 c, described more new module 201 also includes:
Data backup unit 208, for described Oftware updating method before carrying out software upgrading, the data of backup software.
Preferably, described more new module 201 also includes:
Starting state mark unit 209, for when described software starts successfully, being designated successfully by the starting state of software; When described software starts unsuccessfully, the starting state of software is designated failure, version corresponding for described software is put into wrong version district.
It should be understood that the software renewing apparatus that described embodiment provides is when realizing described function, only it is illustrated with the division of described functional module, in practical application, as desired the distribution of described function can be completed by different functional modules, it is divided into different functional modules, to complete all or part of function described above by the internal structure of equipment. It addition, the software renewing apparatus that described embodiment provides belongs to same design with Oftware updating method embodiment, it implements process and refers to embodiment of the method, repeats no more here.
The Oftware updating method of the embodiment of the present invention and device, by the more new module of software is arranged on outside software, make more new module that software can independently carry out the acquisition of version and information, not by the impact of software, when software errors or collapse, still software can being updated, improve self renewal and the repair ability of software, thus improve Consumer's Experience.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program. Therefore, the present invention can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect. And, the present invention can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory and optical memory etc.) wherein including computer usable program code.
The present invention is that flow chart and/or block diagram with reference to method according to embodiments of the present invention, equipment (system) and computer program describe. It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame. These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Obviously, the present invention can be carried out various change and modification without deviating from the spirit and scope of the present invention by those skilled in the art. So, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (6)

1. an Oftware updating method, it is characterised in that described method arranges more new module outside software, said method comprising the steps of:
More new module obtains the version of software;
More new module connects network, obtains the latest edition of described software;
More the version of software and the latest edition of software are compared by new module;
If the latest edition of described software is higher than the version of described software, described more new module connects network and downloads the software of latest edition, carries out software upgrading;
Described more new module obtains software information;
According to described software information, it is judged that whether described software mistake occurs;
If described software errors, described more new module connects network and downloads the software of latest edition, carries out software upgrading;
After described more new module carries out software upgrading, described method also includes:
Start software;
If described software starts successfully, the starting state of software is designated successfully by described more new module;
If described software starts unsuccessfully, the starting state of software is designated failure by described more new module, and version corresponding for described software is put into wrong version district.
2. Oftware updating method as claimed in claim 1, it is characterised in that before described more new module carries out software upgrading, described method also includes: the data of described more new module backup software.
3. Oftware updating method as claimed in claim 1, it is characterised in that described more new module is periodically actuated for software upgrading.
4. Oftware updating method as claimed in claim 1, it is characterised in that described step more new module obtains the version of software, including:
Described more new module obtains the version of described software when described software starts.
5. a software renewing apparatus, it is characterised in that described device arranges more new module outside described software, and described more new module includes:
Local version acquiring unit, for obtaining the version of software;
Network version acquiring unit, is used for connecting network, obtains the latest edition of described software;
Edition comparison unit, for comparing the version of software and the latest edition of software;
Updating block, if being used for the latest edition version higher than described software of described software, described connection network downloads the software of latest edition, carries out software upgrading;
Information acquisition unit, is used for obtaining software information;
False judgment unit, for according to described software information, it is judged that whether described software mistake occurs;
Updating block is additionally operable to, if described software errors, connects network and downloads the software of latest edition, carry out software upgrading;
Described more new module also includes:
Starting state mark unit, for when described software starts successfully, being designated successfully by the starting state of software; When described software starts unsuccessfully, the starting state of software is designated failure, version corresponding for described software is put into wrong version district.
6. software renewing apparatus as claimed in claim 5, it is characterised in that described more new module also includes:
Data backup unit, before more new module carries out software upgrading, the data of backup software.
CN201310413070.5A 2013-09-11 2013-09-11 Oftware updating method and device Expired - Fee Related CN103488503B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310413070.5A CN103488503B (en) 2013-09-11 2013-09-11 Oftware updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310413070.5A CN103488503B (en) 2013-09-11 2013-09-11 Oftware updating method and device

Publications (2)

Publication Number Publication Date
CN103488503A CN103488503A (en) 2014-01-01
CN103488503B true CN103488503B (en) 2016-06-15

Family

ID=49828760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310413070.5A Expired - Fee Related CN103488503B (en) 2013-09-11 2013-09-11 Oftware updating method and device

Country Status (1)

Country Link
CN (1) CN103488503B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110659052B (en) * 2019-09-30 2023-03-10 深圳市九洲电器有限公司 Method and system for updating system software in network equipment and readable storage medium
CN115934141A (en) * 2022-12-30 2023-04-07 北京泰迪熊移动科技有限公司 Software upgrading method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6324692B1 (en) * 1999-07-28 2001-11-27 Data General Corporation Upgrade of a program
CN101616018A (en) * 2008-06-27 2009-12-30 中兴通讯股份有限公司 The method of upgrading network management software and device
CN102025778A (en) * 2010-11-25 2011-04-20 成都勤智数码科技有限公司 Software version upgrading work method based on Shell

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6324692B1 (en) * 1999-07-28 2001-11-27 Data General Corporation Upgrade of a program
CN101616018A (en) * 2008-06-27 2009-12-30 中兴通讯股份有限公司 The method of upgrading network management software and device
CN102025778A (en) * 2010-11-25 2011-04-20 成都勤智数码科技有限公司 Software version upgrading work method based on Shell

Also Published As

Publication number Publication date
CN103488503A (en) 2014-01-01

Similar Documents

Publication Publication Date Title
CN103176824B (en) A kind of method and device of system upgrade
CN104199706A (en) Firmware upgrade method and device for eMMC
CN103646656B (en) Sound effect treatment method, device, plugin manager and audio plug-in unit
CN106126203B (en) A kind of OTA start accelerated methods and system
CN105159718B (en) Firmware upgrade method and device
CN106095458A (en) The management method of plug-in unit and device in a kind of application program
CN104298526A (en) Software updating method and device
CN103077058A (en) Method and device for installing application program
CN104978258A (en) Software automation test method and system
CN108241500A (en) A kind of restorative procedure of hardware component, device, system and storage medium
CN105912340A (en) Primary device, remote control and overhead upgrading method of remote control
CN103455343A (en) Method and device for updating application programs
CN103019755B (en) The wireless program method for down loading of multi-CPU in embedded system
CN102023882A (en) System and method for computer to automatically identify mobile phone and install mobile phone driver
CN103309712A (en) Mobile phone software upgrade method and system
CN104077161A (en) Client application updating method and device
CN104572207A (en) Intelligent accessories based APP expanded application method and intelligent accessories
CN102938817A (en) Storage mount achieving method and device under recovery mode of mobile phone
CN109688427A (en) A kind of smart television and its system repair
CN103916846A (en) Terminal application updating method, system and device
CN104461621A (en) Attribute information updating method and device
CN107733974A (en) A kind of upgrade method of mobile terminal
CN105740025A (en) Bluetooth based firmware program upgrading method and apparatus
CN106201584B (en) Version upgrading method and terminal device
CN103488503B (en) Oftware updating method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method and device for upgrading client software based on encryption sever management

Effective date of registration: 20170401

Granted publication date: 20160615

Pledgee: Silicon Valley Bank Co.,Ltd.

Pledgor: TVMINING (BEIJING) MEDIA TECHNOLOGY Co.,Ltd.

Registration number: 2017310000019

PE01 Entry into force of the registration of the contract for pledge of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160615

Termination date: 20210911

CF01 Termination of patent right due to non-payment of annual fee