CN106161641A - A kind of programme upgrade method with multi-link low-power consumption terminal and device thereof - Google Patents

A kind of programme upgrade method with multi-link low-power consumption terminal and device thereof Download PDF

Info

Publication number
CN106161641A
CN106161641A CN201610585352.7A CN201610585352A CN106161641A CN 106161641 A CN106161641 A CN 106161641A CN 201610585352 A CN201610585352 A CN 201610585352A CN 106161641 A CN106161641 A CN 106161641A
Authority
CN
China
Prior art keywords
terminal
upgrade
server
power consumption
module
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
CN201610585352.7A
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.)
In Three Data Technology Ltd By Share Ltd
Original Assignee
In Three Data Technology Ltd By Share 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 In Three Data Technology Ltd By Share Ltd filed Critical In Three Data Technology Ltd By Share Ltd
Priority to CN201610585352.7A priority Critical patent/CN106161641A/en
Publication of CN106161641A publication Critical patent/CN106161641A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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
    • 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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The present invention discloses a kind of programme upgrade method with multi-link low-power consumption terminal and device thereof.Programme upgrade method includes step: terminal integral point automatically wakens up;Judge whether terminal connects data server, be then reported data to data server;Judge whether terminal connects upgrade server, be, judge whether the current program version of terminal is latest edition;If the current program version of terminal is not latest edition, then terminal is carried out program upgrading and allows the upgrading of breakpoint transmission formula;Judge whether the program version after terminal staging is latest edition, be to upgrade successfully and restart;Auto sleep.Using the programme upgrade method of the present invention, can be to allow low-power consumption terminal maintenance multi-wad join, a road be specifically used to upgrading, if upgrading starts, is then temporarily retained in line, until upgrading terminates, this addresses the problem the technical problem of the later maintenance difficulty of low-power consumption terminal.

Description

A kind of programme upgrade method with multi-link low-power consumption terminal and device thereof
Technical field
The present invention relates to a kind of programme upgrade method and corresponding program upgrade apparatus thereof, have in particular to one The programme upgrade method of multi-link low-power consumption terminal and corresponding program upgrade apparatus thereof.
Background technology
It is directed to Water Conservancy Information smart terminal product, under terminal all operates in normal line model at ordinary times, if program needs Upgrade, local programming program can be reached by or upgraded by remote server, and as the intelligent terminal of low-power consumption Product, terminal is under the deep power down mode of lowest power consumption at ordinary times, because terminal is not the most online, cannot pass through remote server liter Level, can only be by local programming.
For low-power consumption terminal, existing programme upgrade method be can only local programming program, to the later maintenance of terminal Bring the biggest inconvenience, largely reduce work efficiency.
Summary of the invention
In view of this, the present invention provides a kind of programme upgrade method with multi-link low-power consumption terminal and corresponding Program upgrade apparatus, use the present invention programme upgrade method, can be to allow low-power consumption terminal maintenance multi-wad join, a road is special It is used for upgrading, if upgrading starts, is then temporarily retained in line, until upgrading terminates, after this addresses the problem low-power consumption terminal The technical problem that phase is difficult in maintenance.
The present invention is achieved through the following technical solutions: a kind of programme upgrade method with multi-link low-power consumption terminal, It comprises the following steps:
Terminal integral point automatically wakens up;
Judge whether terminal connects data server;
If terminal connects data server, then reported data is to data server;
Judge whether terminal connects upgrade server;
If terminal connects upgrade server, then judge whether the current program version of terminal is latest edition;
If the current program version of terminal is not latest edition, then terminal is carried out program upgrading and allows breakpoint transmission Formula is upgraded;
Judge whether the program version after terminal staging is latest edition,
If the program version after terminal staging is latest edition, then upgrades successfully and restart;
Auto sleep.
As the further improvement of such scheme, if terminal does not connect data server, then connect data server, Judge that the connection of data server is the most overtime;If the connection time-out of data server, then perform step: whether judge terminal Connect upgrade server, otherwise perform step: connect data server.
As the further improvement of such scheme, if terminal does not connect upgrade server, then connect upgrade server, Judge that the connection of upgrade server is the most overtime;If the connection time-out of upgrade server, then perform step: auto sleep, no Then perform step: connect upgrade server.
As the further improvement of such scheme, if the current program version of terminal is latest edition, then perform step: Auto sleep.
As the further improvement of such scheme, if the program version after terminal staging is not latest edition, then perform Step: auto sleep.
The present invention also provides for a kind of program upgrade apparatus with multi-link low-power consumption terminal, comprising:
Automatically wakening up module, it automatically wakens up for terminal integral point;
Judge module one, it is used for judging whether terminal connects data server;
Data reporting module, if it connects data server for terminal, then reported data is to data server;
Judge module two, it is used for judging whether terminal connects upgrade server;
Whether judge module three, if it connects upgrade server for terminal, then judge the current program version of terminal It it is latest edition;
Upgraded module, if it is not latest edition for the program version that terminal is current, then carries out program liter to terminal Level and permission breakpoint transmission formula upgrading;
Judge module four, whether its program version after judging terminal staging is latest edition,
Restart module, if its program version after terminal staging is latest edition, then upgrades successfully and restart;
Auto sleep module, it is used for auto sleep.
As the further improvement of such scheme, program upgrade apparatus also includes link block one and judge module five;Institute If stating link block one do not connect data server for terminal, then connect data server;Described judge module five is used The most overtime in the connection judging data server;Wherein, if data server connects time-out, then described judge module is performed Two;It is not timed-out if data server connects, then performs described link block one.
As the further improvement of such scheme, program upgrade apparatus also includes link block two and judge module six;Institute If stating link block two do not connect upgrade server for terminal, then connect upgrade server;Described judge module six is used The most overtime in the connection judging upgrade server;Wherein, if the connection time-out of upgrade server, then perform described automatically to stop Dormancy module, otherwise performs described link block two.
As the further improvement of such scheme, if the current program version of terminal is latest edition, then perform described Auto sleep module.
As the further improvement of such scheme, if the program version after terminal staging is not latest edition, then perform Described auto sleep module.
The present invention solves the later maintenance problem of conventional Water Conservancy Information product low-power consumption integrated terminal, and it can be to allow Low-power consumption terminal maintenance multi-wad join, greatly enhances work efficiency when not affecting normal communication function, Reduce maintenance cost.The most special advantage of the present invention is exactly: low-power consumption product can in the case of not affecting normal communication Upgrading terminals program.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet that the present invention has the programme upgrade method of multi-link low-power consumption terminal.
Fig. 2 is the modular structure schematic diagram that the present invention has the program upgrade apparatus of multi-link low-power consumption terminal.
Detailed description of the invention
Below in conjunction with embodiment, the present invention is further elaborated.Should be appreciated that concrete reality described herein Execute example only in order to explain the present invention, do not limit the present invention.
Seeing also Fig. 1 and Fig. 2, it is computer that the present invention has the programme upgrade method of multi-link low-power consumption terminal Program is invented, the program upgrade apparatus that the present invention can have multi-link low-power consumption terminal to be designed to APP form to correspond to, side Just program is installed and is embedded.
The program upgrade apparatus with multi-link low-power consumption terminal includes automatically wakening up module 1, judge module 1, number According to reporting module 3, judge module 24, judge module 35, upgraded module 6, judge module 47, restart module 8, auto sleep Module 9, link block 1, judge module 5 11, link block 2 12, judge module 6 13.
Automatically waken up module 1 to automatically waken up for terminal integral point;Judge module 1 is used for judging whether terminal connects data Server;If data reporting module 3 connects data server for terminal, then reported data is to data server;Judge mould Block 24 is used for judging whether terminal connects upgrade server;If judge module 35 connects upgrade server for terminal, then Judge whether the current program version of terminal is latest edition;If upgraded module 6 for the program version that terminal is current is not Latest edition, then carry out program upgrading and allow the upgrading of breakpoint transmission formula terminal;Judge module 47 is used for judging terminal staging After program version whether be latest edition;If restarting the module 8 program version after terminal staging is latest edition, then Upgrade successfully and restart, if the program version after terminal staging is not latest edition, then perform described auto sleep module 9;Auto sleep module 9 is for auto sleep.If the current program version of terminal is latest edition, the most also perform described automatically Sleep block 9.
If link block 1 does not connect data server for terminal, then connect data server;Judge module 5 11 for judging that the connection of data server is the most overtime;Wherein, if data server connects time-out, then sentence described in execution Disconnected module 24;It is not timed-out if data server connects, then performs described link block 1.
If described link block 2 12 does not connect upgrade server for terminal, then connect upgrade server;Described Judge module 6 13 is for judging that the connection of upgrade server is the most overtime;Wherein, if the connection time-out of upgrade server, then Perform described auto sleep module 9, otherwise perform described link block 2 12.
The programme upgrade method with multi-link low-power consumption terminal comprises the following steps.
Step S10: terminal integral point automatically wakens up, step S10 is performed by automatically wakening up module 1.
Step S11: judge whether terminal connects data server;Step S11 is performed by judge module 1.
If terminal does not connect data server, then step S12: connect data server, the most again step S13: sentence The connection of disconnected data server is the most overtime.If the connection time-out of data server, then perform step S15: judge that terminal is No connection upgrade server, otherwise performs step S12: connect data server.If terminal connects data server, then step S14: reported data is to data server.Step S12 is performed by link block 1, and step S13 is performed by judge module 5 11, Step S15 is performed by judge module 24, and step S14 is performed by data reporting module 3.
If terminal does not connect upgrade server, then step S16: connect upgrade server, then step S17: judge The connection of upgrade server is the most overtime.If the connection time-out of upgrade server, then execution step S22: auto sleep, otherwise Perform step S16: connect upgrade server.Step S16 is performed by link block 2 12, and step S17 is held by judge module 6 13 OK, step S22 is performed by auto sleep module 9.
If terminal connects upgrade server, then step S18: judge whether the current program version of terminal is latest edition This.If the current program version of terminal is not latest edition, then step S19: terminal is carried out program upgrading and allows breakpoint Resume formula upgrading, otherwise step S22: auto sleep.Step S18 is performed by judge module 35, and step S19 is held by upgraded module 6 OK.
Step S20: judge whether the program version after terminal staging is latest edition.If the program version after terminal staging Originally be latest edition, then step S21 upgrades successfully and restarts, otherwise step S22: auto sleep.Step S20 is by judge module 47 perform, and step S21 is performed by restarting module 8.
In the present embodiment, every day, 8 terminals started the data reporting 6 points of day on time, were connecting reported data clothes While business device, also can attempt connecting upgrade server, if not connecting upgrade server, reported data continues to stop after completing Sleep.If having connected upgrade server before dormancy, then can wait until the just dormancy of certain time point, if within this time period eventually End starts upgrading, and terminal then keeps interim presence, upgrades always, if midway broken string, then waits until second day again Start upgrading flow process, resume the most exactly, start upgrading without accent.Which if time fully scalable success, then restart end End, this time new procedures the most brings into operation.Auto sleep again, so far, escalation process terminates.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention Any amendment, equivalent and the improvement etc. made within god and principle, should be included within the scope of the present invention.

Claims (10)

1. a programme upgrade method with multi-link low-power consumption terminal, it is characterised in that: it comprises the following steps:
Terminal integral point automatically wakens up;
Judge whether terminal connects data server;
If terminal connects data server, then reported data is to data server;
Judge whether terminal connects upgrade server;
If terminal connects upgrade server, then judge whether the current program version of terminal is latest edition;
If the current program version of terminal is not latest edition, then terminal is carried out program upgrading and allows breakpoint transmission formula liter Level;
Judge whether the program version after terminal staging is latest edition,
If the program version after terminal staging is latest edition, then upgrades successfully and restart;
Auto sleep.
There is the programme upgrade method of multi-link low-power consumption terminal the most as claimed in claim 1, it is characterised in that: if eventually End does not connect data server, then connect data server, it is judged that the connection of data server is the most overtime;If data take The connection time-out of business device, then perform step: judge whether terminal connects upgrade server, otherwise performs step: connect data clothes Business device.
There is the programme upgrade method of multi-link low-power consumption terminal the most as claimed in claim 1, it is characterised in that: if eventually End does not connect upgrade server, then connect upgrade server, it is judged that the connection of upgrade server is the most overtime;If upgrading clothes The connection time-out of business device, then perform step: auto sleep, otherwise performs step: connect upgrade server.
There is the programme upgrade method of multi-link low-power consumption terminal the most as claimed in claim 1, it is characterised in that: if eventually Holding current program version is latest edition, then perform step: auto sleep.
There is the programme upgrade method of multi-link low-power consumption terminal the most as claimed in claim 1, it is characterised in that: if eventually Program version after end upgrading is not latest edition, then perform step: auto sleep.
6. a program upgrade apparatus with multi-link low-power consumption terminal, it is characterised in that: comprising:
Automatically wakening up module, it automatically wakens up for terminal integral point;
Judge module one, it is used for judging whether terminal connects data server;
Data reporting module, if it connects data server for terminal, then reported data is to data server;
Judge module two, it is used for judging whether terminal connects upgrade server;
Judge module three, if it connects upgrade server for terminal, then judges whether the current program version of terminal is Redaction;
Upgraded module, if it is not latest edition for the current program version of terminal, then terminal is carried out program upgrading and Allow the upgrading of breakpoint transmission formula;
Judge module four, whether its program version after judging terminal staging is latest edition;
Restart module, if its program version after terminal staging is latest edition, then upgrades successfully and restart;
Auto sleep module, it is used for auto sleep.
There is the program upgrade apparatus of multi-link low-power consumption terminal the most as claimed in claim 6, it is characterised in that: program liter Stage arrangement also includes link block one and judge module five;If described link block one does not connect data, services for terminal Device, then connect data server;Described judge module five is for judging that the connection of data server is the most overtime;Wherein, if Data server connects time-out, then perform described judge module two;It is not timed-out if data server connects, then performs described Link block one.
There is the program upgrade apparatus of multi-link low-power consumption terminal the most as claimed in claim 6, it is characterised in that: program liter Stage arrangement also includes link block two and judge module six;If described link block two does not connect upgrade service for terminal Device, then connect upgrade server;Described judge module six is for judging that the connection of upgrade server is the most overtime;Wherein, if The connection time-out of upgrade server, then perform described auto sleep module, otherwise perform described link block two.
There is the program upgrade apparatus of multi-link low-power consumption terminal the most as claimed in claim 6, it is characterised in that: if eventually Holding current program version is latest edition, then perform described auto sleep module.
There is the program upgrade apparatus of multi-link low-power consumption terminal the most as claimed in claim 6, it is characterised in that: if Program version after terminal staging is not latest edition, then perform described auto sleep module.
CN201610585352.7A 2016-07-22 2016-07-22 A kind of programme upgrade method with multi-link low-power consumption terminal and device thereof Pending CN106161641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610585352.7A CN106161641A (en) 2016-07-22 2016-07-22 A kind of programme upgrade method with multi-link low-power consumption terminal and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610585352.7A CN106161641A (en) 2016-07-22 2016-07-22 A kind of programme upgrade method with multi-link low-power consumption terminal and device thereof

Publications (1)

Publication Number Publication Date
CN106161641A true CN106161641A (en) 2016-11-23

Family

ID=58059581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610585352.7A Pending CN106161641A (en) 2016-07-22 2016-07-22 A kind of programme upgrade method with multi-link low-power consumption terminal and device thereof

Country Status (1)

Country Link
CN (1) CN106161641A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010029178A1 (en) * 1996-08-07 2001-10-11 Criss Mark A. Wireless software upgrades with version control
CN102681857A (en) * 2011-03-07 2012-09-19 北京博创理想科技有限公司 Method and device for realizing restoration and update of vehicle-mounted software system
CN103136001A (en) * 2011-11-25 2013-06-05 中国北车股份有限公司大连电力牵引研发中心 Vehicle-mounted device program updating device and program updating method
CN103885806A (en) * 2014-04-02 2014-06-25 深圳市兰丁科技有限公司 Implementation method and device for online upgrading of system software of set top box
CN204481978U (en) * 2015-02-10 2015-07-15 四川长虹电器股份有限公司 The Set Top Box of support software upgrading under a kind of true holding state

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010029178A1 (en) * 1996-08-07 2001-10-11 Criss Mark A. Wireless software upgrades with version control
CN102681857A (en) * 2011-03-07 2012-09-19 北京博创理想科技有限公司 Method and device for realizing restoration and update of vehicle-mounted software system
CN103136001A (en) * 2011-11-25 2013-06-05 中国北车股份有限公司大连电力牵引研发中心 Vehicle-mounted device program updating device and program updating method
CN103885806A (en) * 2014-04-02 2014-06-25 深圳市兰丁科技有限公司 Implementation method and device for online upgrading of system software of set top box
CN204481978U (en) * 2015-02-10 2015-07-15 四川长虹电器股份有限公司 The Set Top Box of support software upgrading under a kind of true holding state

Similar Documents

Publication Publication Date Title
CN106637805B (en) Internet of things washing machine control method and system and washing machine
CN101119517B (en) Method of automatic downloading software from network server
CN101799751B (en) Method for building monitoring agent software of host machine
CN102681857B (en) A kind of realize vehicle-mounted software system reparation or the method for upgrading, device
CN104166577B (en) A kind of method and apparatus of mobile terminal system upgrading
CN101252458A (en) Firmware batch upgrading method
CN106713384B (en) Remote updating method and system for peripheral programs of vehicle-mounted terminal
CN107656751A (en) User program upgrade method and device
CN105743948A (en) Network version upgrading method and apparatus
CN101739305A (en) Operating system kernel level real-time dongle monitoring device and monitoring method thereof
CN101729562A (en) Reliable data transmission method under unreliable network connection
CN102098182A (en) Method for restoring allocation of distributed equipment and distributed equipment
CN106339236A (en) Software upgrading method, client, interphone and soft upgrading system
WO2011079565A1 (en) Intelligent data terminal and application method thereof
CN103309712A (en) Mobile phone software upgrade method and system
CN102096646A (en) Method and device for starting wireless communication terminal
CN102905245A (en) Method and device for updating information of residential area system in long-term evolution system
CN109947576B (en) Method for managing internal agent program of virtual machine
CN102958044A (en) Dynamic wake-up method based on 3G (third generation) network communication terminals
CN102156648A (en) Wireless communication terminal starting method and device
CN102346456A (en) Programmable intelligent terminal device and programmable intelligent terminal operation method
CN106161641A (en) A kind of programme upgrade method with multi-link low-power consumption terminal and device thereof
CN103177213B (en) A kind of software vulnerability restorative procedure and system
CN103096174A (en) Method using intelligent terminal to directly start television (TV) application program and system thereof
CN104915291A (en) Terminal restart verification method and system

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: 20161123