CN106648721A - Method and device for upgrading software - Google Patents

Method and device for upgrading software Download PDF

Info

Publication number
CN106648721A
CN106648721A CN201510740401.5A CN201510740401A CN106648721A CN 106648721 A CN106648721 A CN 106648721A CN 201510740401 A CN201510740401 A CN 201510740401A CN 106648721 A CN106648721 A CN 106648721A
Authority
CN
China
Prior art keywords
terminal
software
aku
recent
wireless short
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.)
Withdrawn
Application number
CN201510740401.5A
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.)
Xian Zhongxing New Software Co Ltd
Original Assignee
Xian Zhongxing New 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 Xian Zhongxing New Software Co Ltd filed Critical Xian Zhongxing New Software Co Ltd
Priority to CN201510740401.5A priority Critical patent/CN106648721A/en
Priority to PCT/CN2016/096560 priority patent/WO2017076109A1/en
Publication of CN106648721A publication Critical patent/CN106648721A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for upgrading software. The method includes the steps that when it is determined that a newest software upgrading packet of a first terminal exists at the server side, the newest software upgrading packet is downloaded from the server side; the newest software upgrading packet is transmitted to the first terminal through wireless short range communication established with the first terminal. The invention further discloses a device for upgrading the software.

Description

A kind of method for upgrading software and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of method for upgrading software and device.
Background technology
Intelligent domestic system typically at least includes a gateway terminal, and multiple controls for controlling home equipment Terminal processed, and these terminals install the software of respective version in advance when dispatching from the factory.But due to gateway terminal or The mounted software of control terminal there may be design defect, i.e., the software of version there may be and design scarce Fall into, or in order to extend the function of the software of existing version, it will usually the software of existing version is modified, So as to generate the software upgrade package of the software.Therefore, in order to improve the function of gateway terminal or control terminal, Generally software upgrading need to be carried out to gateway terminal or control terminal according to software upgrade package, will software upgrade package It is attached to gateway terminal or control terminal.
And the software upgrading mode of existing gateway terminal or control terminal is generally included, mode one, user is by net Close terminal or control terminal takes after-sale service ground to, the service personal on after-sale service ground will by data connecting line The gateway terminal or control terminal of user is connected with the computer on after-sale service ground, and service personal clicks on choosing manually Select the software upgrade package for storing in a computer, by the software upgrade package be burned onto user gateway terminal or In control terminal, burning is finished and removes the data wire being connected with the gateway terminal or control terminal, is repeated Aforesaid operations carry out software upgrading to another gateway terminal or control terminal.Mode two, after-sale service personnel To user location, the hard disk of the software upgrade package that is stored with is inserted into after-sale service personnel the net of user manually On pass or control terminal, the software upgrade package in gateway terminal or control terminal reading hard disk, reading finish clothes Hard disk is extracted by business personnel from the gateway terminal or control terminal, repeats aforesaid operations to another gateway Terminal or control terminal carry out software upgrading.But there are the following problems for existing software upgrading mode:Software upgrading Process need to manually perform many operations, and an attended operation can only be carried out to a gateway terminal or control terminal Software upgrading, so that software upgrade process is very time-consuming, laborious, software upgrading high cost reduces using Family Experience Degree.
The content of the invention
In view of this, the embodiment of the present invention is expected to provide a kind of method for upgrading software and device, with convenient, fast Prompt ground carries out software upgrading to terminal.
To reach above-mentioned purpose, the technical scheme is that what is be achieved in that:
The embodiment of the invention discloses a kind of method for upgrading software, methods described includes:
When confirmed service device end has the recent software AKU of first terminal, download from the server end The recent software AKU;
Communicated to connect by the wireless short-distance set up with the first terminal, institute is sent to the first terminal State recent software AKU.
Further, confirm recent software AKU of the server end with the presence or absence of first terminal, specially:
According to the identification information and current software version information of first terminal, confirmed service device end whether there is institute State the recent software AKU of first terminal.
Further, the acquisition modes of the identification information of the first terminal and current software version information, including:
According to the instruction of user input, communicated to connect by the wireless short-distance set up with first terminal, obtained The identification information and current software version information of the first terminal;Or,
Communicate to connect automatically by the wireless short-distance set up with first terminal, obtain the mark of the first terminal Knowledge information and current software version information.
Further, confirm recent software AKU of the server end with the presence or absence of first terminal, specially:
Confirm recent software difference AKU of the server end with the presence or absence of first terminal.
Further, the wireless short-distance by being set up with the first terminal is communicated to connect, to described the One terminal sends the recent software AKU, including:
Communicated to connect by the wireless short-distance directly set up with the first terminal, sent out to the first terminal Send the recent software AKU;Or,
Communicated to connect by the wireless short-distance set up with second terminal, and the second terminal and described first The wireless short-distance communication connection that terminal is set up, sends the recent software AKU to the first terminal.
The embodiment of the invention also discloses a kind of software updating apparatus, described device includes:
Download module, for there is first terminal at confirmed service device end recent software AKU when, from institute State server end and download the recent software AKU;
Sending module, is communicated to connect for the wireless short-distance by being set up with the first terminal, to described First terminal sends the recent software AKU.
Further, the download module, is additionally operable to the identification information and current software version according to first terminal Information, recent software AKU of the confirmed service device end with the presence or absence of the first terminal.
Further, the download module, is additionally operable to the instruction according to user input, by building with first terminal Vertical wireless short-distance communication connection, obtains the identification information and current software version information of the first terminal; Or, communicate to connect automatically by the wireless short-distance set up with first terminal, obtain the first terminal Identification information and current software version information.
Further, the download module, is additionally operable to confirm the server end with the presence or absence of first terminal most New software difference AKU.
Further, the sending module, specifically for by wireless near with what the first terminal was directly set up Distance communication connects, and sends the recent software AKU to the first terminal;Or, by with second The wireless short-distance that terminal is set up is communicated to connect, and the second terminal is wireless with what the first terminal was set up Short-range communication connects, and sends the recent software AKU to the first terminal.
A kind of method for upgrading software provided in an embodiment of the present invention and device, have first at confirmed service device end During the recent software AKU of terminal, the recent software AKU is downloaded from server end;By with first The wireless short-distance communication connection that terminal is set up, sends recent software AKU to first terminal.Thus, nothing Need to manually operate or only need to manually perform a small amount of operation, wirelessly one or more terminals can be entered Row software upgrading, realization quickly and easily can carry out software upgrading to terminal, reduce software upgrading cost, Improve the Experience Degree of user.
Description of the drawings
Fig. 1 is a kind of schematic flow sheet of method for upgrading software provided in an embodiment of the present invention;
Fig. 2 is a kind of structural representation of software updating apparatus provided in an embodiment of the present invention;
A kind of schematic flow sheet of method for upgrading software specific embodiment one that Fig. 3 is provided for the present invention;
A kind of schematic flow sheet of method for upgrading software specific embodiment two that Fig. 4 is provided for the present invention;
Fig. 5 is the interface schematic diagram of intelligent domestic system APP provided in an embodiment of the present invention.
Specific embodiment
In embodiments of the present invention, there is the recent software liter of first terminal at mobile terminal confirmed service device end During level bag, mobile terminal downloads the recent software AKU from server end;Mobile terminal is by with first The wireless short-distance communication connection that terminal is set up, sends recent software AKU to first terminal.
Below in conjunction with the accompanying drawings and specific embodiment, the present invention is described in more detail.
Fig. 1 is a kind of schematic flow sheet of method for upgrading software provided in an embodiment of the present invention, as shown in figure 1, The method includes:
Step 101:When confirmed service device end has the recent software AKU of first terminal, from server Download recent software AKU in end.
Specifically, this step can be there is the newest soft of first terminal at mobile terminal confirmed service device end During part AKU, mobile terminal downloads recent software AKU from server end.
Wherein, the mobile terminal can be mobile phone, or can be the mobile terminals such as panel computer.It is described First terminal can be the gateway terminal in intelligent domestic system, or can also be in intelligent domestic system Control terminal.
Specifically, this step can include that mobile terminal confirmed service device end whether there is first terminal most New software upgrade package;In the recent software AKU that there is first terminal, mobile terminal is under server end Carry recent software AKU.
It should be noted that, recent software AKU of the confirmed service device end with the presence or absence of first terminal, tool Body can be that, according to the identification information and current software version information of first terminal, whether confirmed service device end There is the recent software AKU of first terminal.Certainly can also be, according to the type information of first terminal and Current software version information, recent software AKU of the confirmed service device end with the presence or absence of first terminal.Such as exist When software that the terminal of same model is installed is the same, the step can be with the type information according to first terminal With current software version information, recent software AKU of the confirmed service device end with the presence or absence of first terminal.
Specifically, the identification information and current software version information according to first terminal, confirmed service device End can include that with the presence or absence of the recent software AKU of first terminal mobile terminal is by get first The identification information and current software version information of terminal is sent to server end;Server end parses first terminal Current software version information, obtain first terminal and the current version number of software be installed;Server end according to The identification information of the first terminal, from the latest edition number of the software upgrade package for locally reading out first terminal; Whether server end judges the latest edition number of first terminal more than its current version number;In first terminal most When new version number is more than its current version, server end confirms the recent software liter that locally there is first terminal Level bag;Server end feeds back the relevant information of recent software AKU to mobile terminal;Mobile terminal is received most The relevant information of new software upgrade package, and there is the recent software AKU of first terminal in confirmed service device end; When the latest edition number of first terminal is not more than its current version, server end confirms locally not exist the The recent software AKU of one terminal;There is no the newest soft of first terminal to mobile terminal feedback in server end Part upgrading package informatin;Mobile terminal receives the information, and confirmed service device end does not have the newest of first terminal Software upgrade package.
In actual applications, mobile terminal can be based on OMA DM (Open Mobile Alliance Device Management) agreement mobile terminal, the mobile terminal can pass through DM sessions and server End interacts, and completes above-mentioned confirmation process.
Wherein, the acquisition modes of the identification information of the first terminal and current software version information, can wrap Include mode one, mode two.Mode one, instruction of the mobile terminal according to user input, by with first terminal The wireless short-distance communication connection of foundation, obtains the identification information and current software version information of first terminal. Specifically, the instruction of mobile terminal receiving user's input, and acquisition request is generated according to the instruction;It is mobile whole Hold and communicated to connect by the wireless short-distance set up with first terminal, send to first terminal and obtain request;The One terminal is received and obtains request, and is communicated to connect by the wireless short-distance set up with mobile terminal, to movement Terminal sends the identification information of itself and current software version information.
Here above-mentioned acquisition process, such as mobile terminal receive user are illustrated by taking gateway terminal and control terminal as an example The software upgrade instruction of input;Mobile terminal is generated according to the software upgrade instruction and obtains request, and the acquisition please The terminal address of gateway terminal or corresponding control terminal is carried in asking;Mobile terminal is by building with gateway terminal Vertical wireless short-distance communication connection, sends to gateway terminal and obtains request;Gateway terminal receives and parses through this Request is obtained, terminal address is obtained;Gateway terminal judges whether terminal address is the address of itself;Confirming When terminal address is the address of itself, gateway terminal by the identification information of itself and current software version information, Mobile terminal is sent to by the wireless short-distance communication connection set up with mobile terminal;Mobile terminal receives net Close identification information and current software version information that terminal sends.
When it is not the address of itself to confirm terminal address, gateway terminal according to terminal address, by with it is corresponding The wireless short-distance communication connection set up of control terminal, acquisition request is sent to into corresponding control terminal; The control terminal receives and parses through the acquisition and asks, and obtains terminal address;The control terminal judges terminal address Whether it is the address of itself;When it is the address of itself to confirm terminal address, control terminal is by the mark of itself Information and current software version information, are sent to by the wireless short-distance communication connection set up with gateway terminal Gateway terminal;Gateway terminal receives the identification information and current software version information;Gateway terminal by with shifting The wireless short-distance communication connection that dynamic terminal is set up, the identification information and current software version information are sent to Mobile terminal;Mobile terminal receives identification information and the current software version information that gateway terminal sends;True When to recognize terminal address be not the address of itself, control terminal is not processed to acquisition request.
Mode two, is communicated to connect automatically by the wireless short-distance set up with first terminal, obtains first terminal Identification information and current software version information.Specifically, mobile terminal period ground is generated and obtains request; Mobile terminal is communicated to connect by the wireless short-distance set up with first terminal, is sent to obtain to first terminal and is asked Ask;First terminal is received and obtains request, and is communicated to connect by the wireless short-distance set up with mobile terminal, Itself identification information and current software version information are sent to mobile terminal.
Such as, it is in the case where intelligent domestic system includes a gateway terminal and two control terminals, above-mentioned Acquisition process can include that mobile terminal generates the acquisition request of gateway terminal, according to the acquisition acquisition request Gateway terminal identification information and current software version information;Mobile terminal generates the acquisition of first control terminal Request, according to first control terminal identification information of the acquisition acquisition request and current software version information;Move Dynamic terminal generates the acquisition request of second control terminal, according to second control terminal of the acquisition acquisition request Identification information and current software version information;When predetermined period is reached, mobile terminal repeats above-mentioned step Suddenly.Wherein, the predetermined period can be set according to the demand of user, and such as user expects that every month is true Recognize recent software AKU of the server end with the presence or absence of first terminal, the predetermined period may be configured as One month, user expected recent software liter of the server end with the presence or absence of first terminal is confirmed per two weeks Level bag, the predetermined period may be configured as two weeks.
Certainly, the acquisition modes of the identification information of first terminal and current software version information can also be to move Instruction of the dynamic terminal according to user input, is communicated by the wireless short-distance set up with each first terminal respectively Connection, obtains the identification information and current software version information of each first terminal respectively.That is mobile terminal root According to the instruction of user input, the identification information and current software version information of multiple first terminals are disposably obtained.
It should be noted that, recent software AKU of the confirmed service device end with the presence or absence of first terminal, tool Body can also be that confirmed service device end whether there is the recent software difference AKU of first terminal.It is described most New software difference AKU refers to, the packet of difference section between latest edition software and last revision software. Certainly, the confirmed service device end whether there is the recent software AKU of first terminal, can also be specifically, Recent software complete packet of the confirmed service device end with the presence or absence of first terminal.
It should be noted that, it is described in the recent software AKU that there is first terminal, download from server end Recent software AKU, can include, mobile terminal the reception server end feedback first terminal it is newest soft The relevant information of part AKU;Relevant information of the mobile terminal according to the recent software AKU, from server Download the recent software AKU in end.Wherein, the relevant information of the recent software AKU can include, The information such as the data volume size of recent software AKU, download address.
Step 102:Communicated to connect by the wireless short-distance set up with first terminal, sent to first terminal Recent software AKU.
Specifically, this step can be that mobile terminal is by communicating with the wireless short-distance that first terminal is set up Connection, sends recent software AKU to first terminal.Thus, without the need for manually operating or only needing to manually perform It is a small amount of to operate, wirelessly can one or more terminals be carried out with software upgrading, realization can have conveniently, Software upgrading is quickly carried out to terminal, software upgrading cost is reduced, the Experience Degree of user is improved.
Specifically, this step can include, mobile terminal is by the wireless low coverage directly set up with first terminal From communication connection, recent software AKU is sent to first terminal;Or, mobile terminal is by with second eventually The wireless short-distance that end is set up is communicated to connect, and the wireless short-distance that second terminal is set up with first terminal communicates Connection, sends recent software AKU to first terminal.Such as, mobile terminal is by directly building with gateway terminal Vertical wireless short-distance communication connection, sends recent software AKU to gateway terminal;Or, mobile terminal Communicated to connect by the wireless short-distance set up with gateway terminal, and gateway terminal is set up with corresponding control terminal Wireless short-distance communication connection, to corresponding control terminal send recent software AKU.
It should be noted that, method for upgrading software provided in an embodiment of the present invention can also include, first terminal leads to The wireless short-distance communication connection set up with mobile terminal is crossed, the recent software upgrading that mobile terminal sends is received Bag;First terminal carries out software upgrading according to the recent software AKU for receiving.So that first terminal The recent software AKU of itself can be obtained from mobile terminal wirelessly.
Here step 102 and the also included step of the embodiment of the present invention described above are illustrated, such as under When having carried the recent software AKU of gateway terminal or corresponding control terminal, mobile terminal by with gateway terminal The wireless short-distance communication connection directly set up, sends gateway terminal or corresponding control terminal to gateway terminal Recent software AKU and terminal address information;Gateway terminal reception gateway terminal or corresponding control terminal are most New software upgrade package and terminal address information;Gateway terminal parses the terminal address information, obtains terminal address; Gateway terminal judges whether the terminal address is the address of itself;When it is Self address to confirm, gateway terminal Recent software AKU according to receiving carries out software upgrading.
When Self address is really admitted a fault, gateway terminal according to terminal address, by with corresponding control terminal The wireless short-distance communication connection directly set up, sends the recent software liter for receiving to corresponding control terminal Level bag and terminal address information;The control terminal receives the recent software AKU and terminal address information;Should Control terminal parses the terminal address information, obtains terminal address;The control terminal judges that the terminal address is The no address for itself;When it is Self address to confirm, control terminal is according to the recent software upgrading for receiving Bag carries out software upgrading;Otherwise, software upgrading is not carried out.
Specifically, the first terminal carries out software upgrading according to the recent software AKU for receiving, can be with Including the integrity of the recent software AKU that first terminal verification is received;First terminal verification is received Recent software AKU whether be the software upgrade package of oneself;When verification passes through, first terminal is restarted Itself, and enter recovery (Recovery) pattern installation recent software AKU.Wherein, first terminal can It is newest to be verified using Message Digest Algorithm 5 (Message Digest Algorithm, MD5) algorithm The integrity of software upgrade package, and whether be the software upgrade package of oneself.
It should be noted that, method for upgrading software provided in an embodiment of the present invention can also include, complete software After upgrading, first terminal is restarted itself and simultaneously sends log-on message.Such as in order to after software upgrading so that intelligence The gateway terminal or control terminal of house system, can set up into WLAN again, complete software liter After level, gateway terminal or control terminal restart itself, and each control terminal sends the ground of itself to gateway terminal Location information, gateway terminal send the address information of itself to mobile terminal.
It should be noted that, it is in order to server end feedback software updating result, provided in an embodiment of the present invention soft Part upgrade method, can also include, the upgrading of the first terminal that mobile terminal is arrived to server end feedback reception Object information.Such as after software upgrading is completed, gateway terminal or control terminal send upgrading knot to mobile terminal Fruit information;Mobile terminal receives the updating result information, and sends the updating result information to server end.
It should be noted that, the wireless short-distance communication connection described in the embodiment of the present invention can be based on Z-wave The wireless short-distances such as technology, ZigBee technology, WiFi (Wireless Fidelity, Wireless Fidelity) technology lead to Letter technology.
In order to realize said method, the invention discloses a kind of software updating apparatus.
Fig. 2 is a kind of structural representation of software updating apparatus provided in an embodiment of the present invention, as shown in Fig. 2 The software updating apparatus include:
Download module 201, for there is first terminal at confirmed service device end recent software AKU when, The recent software AKU is downloaded from the server end;
Sending module 202, is communicated to connect for the wireless short-distance by being set up with the first terminal, to The first terminal sends the recent software AKU.
Further, the download module 201, is additionally operable to the identification information and Current software according to first terminal Version information, recent software AKU of the confirmed service device end with the presence or absence of the first terminal.
Further, the download module 201, is additionally operable to the instruction according to user input, by with first eventually The wireless short-distance communication connection that end is set up, obtains the identification information and current software version of the first terminal Information;Or, communicate to connect automatically by the wireless short-distance set up with first terminal, obtain described first The identification information and current software version information of terminal.
Further, the download module 201, is additionally operable to confirm that the server end whether there is first terminal Recent software difference AKU.
Further, the sending module 202, specifically for the nothing by directly setting up with the first terminal Line short-range communication connects, and sends the recent software AKU to the first terminal;Or, by with Wireless short-distance communication connection that second terminal is set up, and the second terminal and the first terminal set up Wireless short-distance is communicated to connect, and sends the recent software AKU to the first terminal.
In actual applications, during the download module 201, sending module 202 can be by being located in terminal Central processor (Central Processing Unit, CPU), microprocessor (Micro Processor Unit, MPU), digital signal processor (Digital Signal Processor, DSP), or field-programmable gate array Row (Field Programmable Gate Array, FPGA) etc. are realized.
A kind of schematic flow sheet of method for upgrading software specific embodiment one that Fig. 3 is provided for the present invention, such as schemes Shown in 3, concrete steps include:
Step 301:Mobile terminal is communicated to connect by the wireless short-distance set up with first terminal, obtains the The identification information and current software version information of one terminal.
Specifically, this step can be, instruction of the mobile terminal according to user input, by with first terminal The wireless short-distance communication connection of foundation, obtains the identification information and current software version information of first terminal. Or can be that mobile terminal is communicated to connect automatically by the wireless short-distance set up with first terminal, is obtained The identification information and current software version information of first terminal.
Step 302:Identification information and current software version information of the mobile terminal according to first terminal, confirm Recent software AKU of the server end with the presence or absence of first terminal.
Specifically, this step can include that mobile terminal is by the identification information of the first terminal for getting and works as Front software version information is sent to server end;Server end parses the current software version information of first terminal, Obtain the current version number that first terminal has installed software;Identification information of the server end according to the first terminal, From the latest edition number of the software upgrade package for locally reading out first terminal;Server end judges first terminal Whether latest edition number is more than its current version number;It is more than its current version in the latest edition number of first terminal Number when, server end confirms locally there is the recent software AKU of first terminal;Server end is whole to movement The relevant information of end feedback recent software AKU;Mobile terminal receives the relevant information of recent software AKU, And there is the recent software AKU of first terminal in confirmed service device end;First terminal latest edition number not During more than its current version, server end confirms the recent software AKU that locally there is no first terminal; There is no the recent software upgrading package informatin of first terminal to mobile terminal feedback in server end;Mobile terminal connects The information is received, and confirmed service device end does not have the recent software AKU of first terminal.
Step 303:In the recent software AKU that there is first terminal, mobile terminal is under server end Carry recent software AKU.
Specifically, this step can include, the first terminal of mobile terminal the reception server end feedback it is newest The relevant information of software upgrade package;Relevant information of the mobile terminal according to the recent software AKU, from service Download the recent software AKU in device end.Wherein, the relevant information of the recent software AKU can include, The information such as the data volume size of recent software AKU, download address.
Step 304:Mobile terminal is communicated to connect by the wireless short-distance set up with first terminal, to first Terminal sends recent software AKU.
Specifically, this step can be, mobile terminal is by the wireless short-distance directly set up with first terminal Communication connection, sends the recent software AKU to first terminal.Or can be that mobile terminal passes through Communicate to connect with the wireless short-distance that second terminal is set up, and second terminal is wireless near with what first terminal was set up Distance communication connects, and sends recent software AKU to first terminal.
Step 305:First terminal receives recent software AKU, and is carried out according to the recent software AKU Software upgrading.
Specifically, this step can include that first terminal receives recent software AKU;First terminal is verified The integrity of the recent software AKU for receiving;First terminal verifies the recent software AKU for receiving The no software upgrade package for oneself;When verification passes through, first terminal restarts itself, and enters Recovery Pattern installs recent software AKU.
Step 306:First terminal is restarted itself and simultaneously sends log-on message.
Specifically, such as in order to after software upgrading so that the gateway terminal or control terminal of intelligent domestic system, WLAN is set up into again can, after software upgrading is completed, gateway terminal or control terminal are restarted certainly Body, each control terminal send the address information of itself to gateway terminal, and gateway terminal is sent to mobile terminal The address information of itself.
Step 307:First terminal sends updating result information to mobile terminal.
Step 308:The updating result information of the first terminal that mobile terminal is arrived to server end feedback reception.
A kind of schematic flow sheet of method for upgrading software specific embodiment two that Fig. 4 is provided for the present invention, such as schemes Shown in 4, software upgrading is carried out to the TV control terminal of intelligent domestic system, concrete steps include:
Step 401:The software upgrading order of the TV control terminal of mobile phone receiving user's input.
Specifically, the intelligent domestic system also includes the control of gateway terminal, control terminal for air conditioner and refrigerator eventually The terminals such as end, gateway terminal set up into WLAN, net based on Z-wave technologies and each control terminal Close terminal also to be communicated with mobile phone based on Z-wave technologies, intelligent domestic system APP is installed on mobile phone (Application, application program).Wherein, the Z-wave technologies be it is a kind of it is emerging based on radio frequency, Low cost, low-power consumption, short-distance wireless communication technology that is highly reliable, being suitable to network.
Specifically, as shown in figure 5, Fig. 5 is the surface chart of intelligent domestic system APP, user can pass through TV control terminal button 501, control terminal for air conditioner button 502 or refrigerator control terminal button 503 are clicked on, The control command of control TV, air-conditioning or refrigerator is input into mobile phone, intelligent domestic system APP is to gateway terminal The control command of user input is sent, and gateway terminal is responsible for the control command being forwarded to each control terminal.
Specifically, as shown in figure 5, can also include on the interface of intelligent domestic system APP, smart home The inspection software upgrade button 504 of system each terminal, this step is specifically as follows, and user is by clicking on electricity Depending on the inspection software upgrade button of control terminal, the software upgrading order of TV control terminal is input into mobile phone; Mobile phone receives the order.
Step 402:Software upgrading order of the mobile phone according to TV control terminal, by gateway terminal to TV Control terminal sends and obtains order.
Specifically, the first software upgrading client is also equipped with mobile phone, this step can be, the first software Software upgrading order of the updating client according to TV control terminal, generates for obtaining TV control terminal The acquisition order of identification information and current software version information;First software upgrading client passes through gateway terminal The acquisition order is sent to TV control terminal.
Step 403:TV control terminal is received and obtains order, and sends itself to mobile phone by gateway terminal Identification information and current software version information.
Specifically, TV control terminal is provided with the second software upgrading client, and this step can be, TV Second software upgrading client of control terminal is received and obtains order;The second software upgrading client reads electricity Depending on the identification information and current software version information of control terminal;The second software upgrading client passes through gateway Terminal sends the identification information and current software version information for reading to mobile phone.
Step 404:Mobile phone initiates DM sessions, according to the identification information of the TV control terminal for receiving and Current software version information, the recent software difference for inquiring about server end with the presence or absence of TV control terminal are upgraded Bag.
Specifically, this step can include that the first software upgrading client of mobile phone receives TV control terminal Identification information and current software version information;First software upgrading client initiates DM sessions and server End interaction, sends the identification information and current software version information of TV control terminal to server end;Service Device end whether there is the recent software difference AKU of TV control terminal according to the information inquiry itself.Wherein, The first software upgrading client initiation DM sessions are interacted with server end and are referred to, the first software upgrading visitor Family end group is communicated with server end in OMA DM agreements.
Step 405:There is electricity in the download description information that mobile phone the reception server end sends, confirmed service device end Depending on the recent software difference AKU of control terminal, and TV control is downloaded eventually from server end according to the information The recent software difference AKU at end.
Specifically, this step can include that the first software upgrading client the reception server end of mobile phone sends Download description information, there is the recent software difference AKU of TV control terminal in confirmed service device end;The One software upgrading client downloads the recent software difference liter of TV control terminal according to the information from server end Level bag.Wherein, the download description information can include that the recent software difference of TV control terminal is upgraded The information such as the data volume size of bag, download address,
Step 406:The recent software difference AKU of TV control terminal is sent out by mobile phone by gateway terminal Give TV control terminal.
Specifically, this step can be, the first software upgrading client of mobile phone by TV control terminal most New software difference AKU, is sent to TV control terminal by gateway terminal.
Step 407:TV control terminal is verified to the recent software difference AKU for receiving.
Specifically, this step can include that the second software upgrading client of TV control terminal receives newest Software difference AKU;The second software upgrading client is verified to recent software difference AKU.
Step 408:Verification restarts itself by rear TV control terminal, and enters Recovery patterns Software upgrading is carried out according to recent software difference AKU.
Specifically, this step can include that, after verification passes through, the second software upgrading of TV control terminal is objective Family end restarts TV control terminal, and into the Recovery patterns of TV control terminal, according to newest Software difference AKU carries out software upgrading.
Step 409:After the completion of upgrading, TV control terminal restarts itself, and sends note to gateway terminal Volume information, sends updating result information to mobile phone by gateway terminal.
Specifically, this step can include that, after the completion of upgrading, the second software upgrading of TV control terminal is objective Family end restarts TV control terminal, and sends log-on message to gateway terminal, by gateway terminal to handss Machine sends updating result information.
Step 410:Mobile phone is by the updating result feedback of the information for receiving to server end.
Specifically, this step can include that the upgrading for receiving is tied by the first software upgrading client of mobile phone Fruit feedback of the information is to server end.First software upgrading client can also by the updating result information for receiving, Feed back to intelligent domestic system APP.Thus, realizing by end of the upgrading mode to intelligent domestic system of eating dishes without rice or wine End carries out software upgrading, so that software upgrade process is convenient, quick, reduces software upgrading cost, Improve the Experience Degree of user.
It should be noted that, as shown in figure 5, can also arrange on the interface of intelligent domestic system APP, a key Formula detects upgrade button 505, when user clicks on one-touch detection upgrade button, the first software liter of mobile phone Level client can to intelligent domestic system in all terminals carry out software upgrading, each terminal software upgrading Process can be identical with the software upgrade process of above-mentioned TV control terminal.
Specifically, it is above-mentioned it is one-touch detection escalation process can include, mobile phone receiving user's input it is one-touch Detection upgrade command;First software upgrading client of mobile phone to gateway terminal send, gateway terminal and each The acquisition order of control terminal;Gateway terminal forwards the acquisition order of each control terminal to each control terminal; Second software upgrading client of gateway terminal and each control terminal, sends the identification information of itself to mobile phone With current software version information;First software upgrading client of mobile phone initiates DM sessions, according to receiving Identification information and current software version information, inquiry server end whether there is gateway terminal and each control The recent software difference AKU of terminal;What the first software upgrading client the reception server end of mobile phone sent Description information is downloaded, confirmed service device end has recent software difference AKU, and according to the information from service Download the recent software difference AKU of gateway terminal and/or corresponding control terminal in device end;First software of mobile phone Updating client is sent to gateway terminal, the recent software difference upgrading of gateway terminal and/or corresponding control terminal Bag;Gateway terminal forwards the recent software difference AKU of each control terminal to corresponding control terminal;Gateway Second software upgrading client of terminal and each control terminal, it is poor according to the recent software of itself for receiving AKU is divided to carry out software upgrading.
It should be noted that, as shown in figure 5, can also arrange on the interface of intelligent domestic system APP, arrange Cycle autopolling detects upgrade button 506, when user clicks on, the first software upgrading of mobile phone Client can according to the instruction of user arrange detection upgrade cycle, according to the cycle to smart home Each terminal in system carries out software upgrading, and the process of each terminal software upgrading can be with above-mentioned TV control The software upgrade process of terminal processed is identical.
Specifically, it is above-mentioned each terminal in intelligent domestic system to be carried out according to the cycle for arranging Software upgrading can include that the setting cycle autopolling of mobile phone receiving user's input detects upgrade command;Handss First software upgrading client of machine is sent to gateway terminal, the acquisition life of gateway terminal and each control terminal Order;Gateway terminal forwards the acquisition order of each control terminal to each control terminal;Gateway terminal and each Second software upgrading client of control terminal, sends itself identification information and current software version to mobile phone Information;First software upgrading client of mobile phone initiates DM sessions, according to the identification information for receiving and works as Front software version information, inquires about the recent software that server end whether there is gateway terminal and each control terminal Difference AKU;The download description information that first software upgrading client the reception server end of mobile phone sends, There is recent software difference AKU in confirmed service device end, and download gateway end from server end according to the information End and/or the recent software difference AKU of corresponding control terminal;First software upgrading client of mobile phone is to net Close terminal to send, the recent software difference AKU of gateway terminal and/or corresponding control terminal;Gateway terminal to Corresponding control terminal forwards the recent software difference AKU of each control terminal;Gateway terminal and each control Second software upgrading client of terminal, is carried out according to the recent software difference AKU of itself for receiving soft Part is upgraded.When reaching the detection upgrade cycle for arranging, said process is re-executed.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for ability For the technical staff in domain, the present invention can have various modifications and variations, and protection scope of the present invention is with right Requirement is defined.

Claims (10)

1. a kind of method for upgrading software, it is characterised in that methods described includes:
When confirmed service device end has the recent software AKU of first terminal, download from the server end The recent software AKU;
Communicated to connect by the wireless short-distance set up with the first terminal, institute is sent to the first terminal State recent software AKU.
2. method according to claim 1, it is characterised in that confirm that the server end whether there is The recent software AKU of first terminal, specially:
According to the identification information and current software version information of first terminal, confirmed service device end whether there is institute State the recent software AKU of first terminal.
3. method according to claim 2, it is characterised in that the identification information of the first terminal and The acquisition modes of current software version information, including:
According to the instruction of user input, communicated to connect by the wireless short-distance set up with first terminal, obtained The identification information and current software version information of the first terminal;Or,
Communicate to connect automatically by the wireless short-distance set up with first terminal, obtain the mark of the first terminal Knowledge information and current software version information.
4. method according to claim 1, it is characterised in that confirm that the server end whether there is The recent software AKU of first terminal, specially:
Confirm recent software difference AKU of the server end with the presence or absence of first terminal.
5. method according to claim 1, it is characterised in that described by building with the first terminal Vertical wireless short-distance communication connection, sends the recent software AKU to the first terminal, including:
Communicated to connect by the wireless short-distance directly set up with the first terminal, sent out to the first terminal Send the recent software AKU;Or,
Communicated to connect by the wireless short-distance set up with second terminal, and the second terminal and described first The wireless short-distance communication connection that terminal is set up, sends the recent software AKU to the first terminal.
6. a kind of software updating apparatus, it is characterised in that described device includes:
Download module, for there is first terminal at confirmed service device end recent software AKU when, from institute State server end and download the recent software AKU;
Sending module, is communicated to connect for the wireless short-distance by being set up with the first terminal, to described First terminal sends the recent software AKU.
7. device according to claim 6, it is characterised in that the download module, is additionally operable to basis The identification information and current software version information of first terminal, confirmed service device end are whole with the presence or absence of described first The recent software AKU at end.
8. device according to claim 7, it is characterised in that the download module, is additionally operable to basis The instruction of user input, is communicated to connect by the wireless short-distance set up with first terminal, obtains described first The identification information and current software version information of terminal;Or, automatically by wireless with what first terminal was set up Short-range communication connects, and obtains the identification information and current software version information of the first terminal.
9. device according to claim 6, it is characterised in that the download module, is additionally operable to confirm Recent software difference AKU of the server end with the presence or absence of first terminal.
10. device according to claim 6, it is characterised in that the sending module, specifically for Communicated to connect by the wireless short-distance directly set up with the first terminal, institute is sent to the first terminal State recent software AKU;Or, communicated to connect by the wireless short-distance set up with second terminal, and institute State second terminal to communicate to connect with the wireless short-distance that the first terminal is set up, send to the first terminal The recent software AKU.
CN201510740401.5A 2015-11-04 2015-11-04 Method and device for upgrading software Withdrawn CN106648721A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510740401.5A CN106648721A (en) 2015-11-04 2015-11-04 Method and device for upgrading software
PCT/CN2016/096560 WO2017076109A1 (en) 2015-11-04 2016-08-24 Software upgrading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510740401.5A CN106648721A (en) 2015-11-04 2015-11-04 Method and device for upgrading software

Publications (1)

Publication Number Publication Date
CN106648721A true CN106648721A (en) 2017-05-10

Family

ID=58661682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510740401.5A Withdrawn CN106648721A (en) 2015-11-04 2015-11-04 Method and device for upgrading software

Country Status (2)

Country Link
CN (1) CN106648721A (en)
WO (1) WO2017076109A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688427A (en) * 2018-12-14 2019-04-26 广州市科虎电子有限公司 A kind of smart television and its system repair

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110286918B (en) * 2019-05-31 2023-04-14 Oppo(重庆)智能科技有限公司 Circuit board software downloading method, software downloading device and storage medium
CN111158720A (en) * 2019-12-26 2020-05-15 联陆智能交通科技(上海)有限公司 Method, system, medium and equipment for upgrading road test unit (RSU)
CN113760331A (en) * 2021-08-24 2021-12-07 联想(北京)有限公司 Information processing method, electronic equipment, server and storage medium
CN116991450A (en) * 2023-09-28 2023-11-03 北京紫光青藤微系统有限公司 Method and system for upgrading equipment, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387165A (en) * 2010-08-27 2012-03-21 腾讯科技(深圳)有限公司 System and method for upgrading software
CN102646043A (en) * 2012-02-29 2012-08-22 青岛海信移动通信技术股份有限公司 Method and device for upgrading mobile terminal software and mobile terminal
CN103699408A (en) * 2013-12-12 2014-04-02 乐视网信息技术(北京)股份有限公司 Software updating method and equipment
CN104820611A (en) * 2015-05-22 2015-08-05 中国科学院上海高等研究院 Equipment software upgrade method based on Bluetooth and upgrade device
CN104850429A (en) * 2015-04-22 2015-08-19 北京五悦信息科技有限公司 Software upgrading method and system for intelligent equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383847A (en) * 2008-08-25 2009-03-11 中兴通讯股份有限公司 Firmware upgrading method and device for wireless data terminal
CN101577901B (en) * 2009-06-19 2012-05-23 中兴通讯股份有限公司 Wireless access platform and equipment upgrading management system and method thereof
CN102006181A (en) * 2010-02-26 2011-04-06 中山大学 Intelligent home appliance on-line upgrade method
CN103686685A (en) * 2012-09-20 2014-03-26 芯讯通无线科技(上海)有限公司 Wireless communication module over-the-air upgrading method
CN104915237B (en) * 2015-06-24 2019-02-15 深圳市海蕴新能源有限公司 Upgrading, upgrade control method and the equipment of bluetooth equipment firmware program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387165A (en) * 2010-08-27 2012-03-21 腾讯科技(深圳)有限公司 System and method for upgrading software
CN102646043A (en) * 2012-02-29 2012-08-22 青岛海信移动通信技术股份有限公司 Method and device for upgrading mobile terminal software and mobile terminal
CN103699408A (en) * 2013-12-12 2014-04-02 乐视网信息技术(北京)股份有限公司 Software updating method and equipment
CN104850429A (en) * 2015-04-22 2015-08-19 北京五悦信息科技有限公司 Software upgrading method and system for intelligent equipment
CN104820611A (en) * 2015-05-22 2015-08-05 中国科学院上海高等研究院 Equipment software upgrade method based on Bluetooth and upgrade device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688427A (en) * 2018-12-14 2019-04-26 广州市科虎电子有限公司 A kind of smart television and its system repair

Also Published As

Publication number Publication date
WO2017076109A1 (en) 2017-05-11

Similar Documents

Publication Publication Date Title
KR102202660B1 (en) A method and apparatus for controlling devices for a smart home service
CN106648721A (en) Method and device for upgrading software
CN107465584A (en) Method for network access and device, the intelligent appliance of intelligent appliance
CN105824241A (en) Configuration method of intelligent appliance control function, device and system
US20140121786A1 (en) Smart gateway, smart home system and smart remote control method thereof
CN104714817B (en) Upgrade method, system and the control terminal of home appliance software by infrared signal
CN105683845A (en) System and method for appliance detection and app configuration
CN103532733B (en) Wireless communication system and information providing method
TW201513710A (en) A method, apparatus and system of configuring equipments for joining a network group
CN102694870B (en) The online upgrading method of the gateway of dynamically allocate address
JP2019537142A (en) Adaptive IoT Service System Using Removable Hardware Module
CN102567061B (en) The method and system of televisor and the two-way upgrading of telepilot
CN103237069A (en) Intelligent wireless household appliance controlling system and intelligent wireless household appliance controlling method
WO2015000379A1 (en) Method for remotely controlling air conditioner and remote control system for air conditioner
CN102143508A (en) Upgrading method and upgrading device for wireless repeater
CN106789475A (en) Household electric appliance control method and device
CN104486383A (en) Method for installing application program on smart mobile device
KR101822940B1 (en) Method and device for executing a device management command based on an execution time
KR101620260B1 (en) Network system and a method controlling the same
CN104980994A (en) Equipment control method, device and mobile terminal
CN110113234B (en) Method and device for determining equipment parameters, household appliance and electronic equipment
CN112305926A (en) Distribution network control method, distribution network control device, household appliance and storage medium
CN107807619A (en) Intelligent home control system and its method of work based on virtual server module
CN105391749A (en) Equipment networking system in Internet of Things, and display method
CN106292560A (en) The communication means of appliance system and appliance system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170510