CN106375129A - Method and device for upgrading home gateway - Google Patents

Method and device for upgrading home gateway Download PDF

Info

Publication number
CN106375129A
CN106375129A CN201610836706.0A CN201610836706A CN106375129A CN 106375129 A CN106375129 A CN 106375129A CN 201610836706 A CN201610836706 A CN 201610836706A CN 106375129 A CN106375129 A CN 106375129A
Authority
CN
China
Prior art keywords
upgrading
message
client
server
upgrade
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
CN201610836706.0A
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.)
Shenzhen Ouruibo Electronic Co Ltd
Original Assignee
Shenzhen Ouruibo Electronic 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 Shenzhen Ouruibo Electronic Co Ltd filed Critical Shenzhen Ouruibo Electronic Co Ltd
Priority to CN201610836706.0A priority Critical patent/CN106375129A/en
Publication of CN106375129A publication Critical patent/CN106375129A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/026Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using e-messaging for transporting management information, e.g. email, instant messaging or chat

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and device for upgrading a home gateway. The method comprises the following steps of automatically upgrading after receiving an upgrade instruction sent by a server by the home gateway; sending an upgrade message to the server by the home gateway when the home gateway automatically starts to upgrade or after the automatic upgrade is completed; receiving the upgrade message by the server, and pushing the upgrade message to a client; and receiving the upgrade message by the client, and prompting according to the upgrade message. Therefore, through automatic upgrade, a tedious process of manual selection of users can be saved, and the upgrade process can be simplified; and meanwhile, the upgrade message is sent to the server through the home gateway timely, and the server pushes the upgrade message to the client, so that whenever and wherever, the users can timely learn the upgrade state of the home gateway timely, therefore, in the upgrade process, the users do not operate blindly, thus if even the operation fails, the users do not complain by mistakenly believing that the system fails, thereby invalid complaints of the users are greatly reduced, and user experience is improved.

Description

Household gateway update method and apparatus
Technical field
The present invention relates to home wiring control technical field, especially relate to a kind of household gateway update method and apparatus.
Background technology
Progressively it is deep into subscriber household with intelligent appliance, home gateway has become as aggregation network access, home wiring control With functions such as information gatherings in the comprehensive equipment of one.Home gateway is that the core of whole household network is located, in order to connect Information household appliance network (i.e. LAN) and external network (the Internet), complete between internal-external network the conversion of different communication protocol and Smart collaboration between each information household appliances in family, realizes the intelligent management to home appliance and remotely control.
When solving great leak (bug), having repaired original problem, increased New function or release redaction, it is both needed to Home gateway is upgraded, the management to home appliance and control will to be stopped in escalation process.
However, in prior art, to the more trifling trouble of flow process of in the escalation process of home gateway, upgrading, needing user's handss Dynamic selection upgrading, if upgrading is frequently, not only increases the psychological burden of client, also damages the enthusiasm of client's upgrading, if some Client does not actively select upgrading, can affect the normal use of subsequently some functions again, cause Consumer's Experience not good;And, family In escalation process, user cannot know the upgrade status of home gateway to front yard gateway in time, still client can be operated to attempt right Home appliance is controlled and leads to operation failure so that user takes for the system failure, thus causing the invalid complaint of user, Have a strong impact on Consumer's Experience.
Content of the invention
The main purpose of the embodiment of the present invention is to provide a kind of household gateway update method and apparatus it is intended to simplify upgrading Flow process, reduces the invalid complaint of user, lifts Consumer's Experience.
To achieve these objectives, propose a kind of household gateway update method, the method comprising the steps of:
When home gateway receives the upgrade command of server transmission, automatically upgraded;
Home gateway, when automatically beginning to upgrading or after the completion of automatic upgrading, sends upgrading message to server;
Described server receives described upgrading message, and described upgrading message is pushed to client;
Described client receives described upgrading message, and is pointed out according to described upgrading message.
Further, described to server send upgrading message include:
Whether described home gateway judges described client in LAN;
When described client is not in described LAN, described home gateway sends described upgrading to described server and disappears Breath.
Further, described upgrading message includes message and the message completing of upgrading, the described home gateway starting to upgrade Send upgrading message to server to include:
When automatically beginning to upgrading, described home gateway sends the described message starting and upgrading to described server;
After the completion of automatic upgrading, described home gateway sends, to described server, the message that described upgrading completes.
The present invention also proposes a kind of household gateway update method, and methods described is applied to home gateway, comprising:
When receiving the upgrade command that server sends, automatically upgraded;
When automatically beginning to upgrading or after the completion of automatic upgrading, send upgrading message to server, so that described server Described upgrading message is pushed to client.
Further, described to server send upgrading message include:
Judge described client whether in LAN;
When described client is not in described LAN, send described upgrading message to described server.
Further, described upgrading message includes starting the message that the message upgraded and upgrading complete, described to server Send upgrading message to include:
When automatically beginning to upgrading, send the described message starting and upgrading to described server;
After the completion of automatic upgrading, send, to described server, the message that described upgrading completes.
Further, described automatically carry out upgrading include:
Before starting upgrading, obtain the upgrading custom of user, when the upgrading of user is accustomed to as preferably automated upgrading, from Move and start to upgrade.
The present invention also proposes a kind of household gateway update method, and methods described is applied to server, comprises the following steps:
Receive the upgrading message that home gateway sends when automatically beginning to upgrade or after the completion of automatic upgrading;
Described upgrading message is pushed to client.
Further, described described upgrading message be pushed to client include:
Judge whether described client is online;
When described client is online, by tcp message to upgrading message described in described client push;
When described client is not online, by instant messaging application, short message or phone to described client push institute State upgrading message.
Further, described upgrading message includes starting the message upgraded and the message completing of upgrading, and methods described is also wrapped Include:
Also it is not received by the message that described upgrading completes when receiving after the described message starting to upgrade reaches Preset Time When, automatically notify described client upgrading to complete.
Further, methods described also includes:
Receive the instruction of the inquiry household gateway update state that described client sends;
The current upgrade status of described home gateway are obtained according to described instruction and feeds back to described client.
The present invention proposes a kind of household gateway update device simultaneously, and described device is applied to home gateway, including upgrading mould Block and sending module, wherein:
Described upgraded module, when being used for receiving upgrade command, is upgraded automatically;
Described sending module, for, when automatically beginning to upgrading or after the completion of automatic upgrading, sending upgrading to server and disappearing Breath, so that described upgrading message is pushed to client by described server.
Further, described device also includes judge module, and described sending module includes the first transmitting element and second Send unit, wherein:
Whether described judge module, for judging described client in LAN;
Described first transmitting element, for when described client is not in described LAN, sending to described server Described upgrading message;
Described second transmitting element, for when described client is in described LAN, directly sending out to described client Send described upgrading message.
Further, described upgrading message includes message and the message completing of upgrading, the described sending module starting to upgrade For:
When automatically beginning to upgrading, send the described message starting and upgrading to described server;
After the completion of automatic upgrading, send, to described server, the message that described upgrading completes.
Further, described upgraded module is used for: before starting upgrading, obtains the upgrading custom of user, when user's Upgrading custom is for during preferably automated upgrading, automatically beginning to upgrade.
A kind of household gateway update method that the embodiment of the present invention is provided, is upgraded by automatic, eliminates user manual The loaded down with trivial details flow process selecting, simplifies upgrading flow process;Meanwhile, upgrading message is sent in time by server by home gateway, then Upgrading message is pushed to by client by server so that user no matter when and where, all can timely know home gateway Upgrade status, therefore, in escalation process, user will not blindly operate, even if operation failure also will not take for the system failure And complained, thus substantially reducing the invalid complaint of the user that knows clearly, improve Consumer's Experience.
Brief description
Fig. 1 is the flow chart of the household gateway update method first embodiment of the present invention;
Fig. 2 is the schematic diagram that Client-Prompt subscriber household gateway starts to upgrade;
Fig. 3 is the flow chart of a complete flow process of upgrading of household gateway update method one alternative embodiment of the present invention;
Fig. 4 is the flow chart of the household gateway update method second embodiment of the present invention;
Fig. 5 is the flow chart of the household gateway update method 3rd embodiment of the present invention;;
Fig. 6 is the flow chart of the household gateway update method fourth embodiment of the present invention;
Fig. 7 is the module diagram of household gateway update system one embodiment of the present invention;
Fig. 8 is the module diagram of the household gateway update device first embodiment of the present invention;
Fig. 9 is the module diagram of the household gateway update device second embodiment of the present invention;
Figure 10 is the module diagram of the household gateway update device 3rd embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further in conjunction with the embodiments referring to the drawings.
Specific embodiment
It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, propose the household gateway update method first embodiment of the present invention, the method comprising the steps of:
When s101, home gateway receive the upgrade command of server transmission, automatically upgraded.
Specifically, when needing to upgrade to gateway (when solving great leak, repaired original problem, increased When New function, release redaction etc.), server sends upgrade command, this upgrade command to all online home gateways Include the download address of firmware updating;If home gateway (or claiming main frame) is not online, server can detect this family Front yard gateway retransmits upgrade command when reaching the standard grade it is also possible to send announcement information to notify user to allow on home gateway to client Net.After home gateway receives upgrade command, download firmware updating according to the download address that upgrade command collects, downloaded upgrading Automatically begin to after firmware upgrade.
Alternatively, server can judge whether home gateway is online in the following manner: when home gateway can connect Automatically server can be logged on during outer net, and with server keep communication, now server in gateway status table by this family The state of front yard gateway is set to online, if home gateway exceedes preset duration not with server communication, server is in gateway shape In state table, the state of this home gateway is set to offline;Thus server can by read gateway status table status information Lai Judge whether home gateway is online, when the status information of home gateway in gateway status table is online, then judge this home network Close online, when the status information of home gateway in gateway status table is offline, then judge that this home gateway is not online.
Alternatively, server can send announcement information to client in the following manner: when client is online, to visitor Family end sends transmission control protocol (transmission control protocol, a tcp) message, notifies user to allow house Front yard gateway online;When client is not online, then applied by instant messaging, short message or phone send to client and notify letter Breath.For example, server passes through the service number of the instant messaging such as qq, wechat, credulity application to client transmission announcement information.Again As when user uses phone number registration, server can be sent short by third party's SMS platform to the client of user Information, it is also possible to make a phone call to the client of user by artificial or third party's voice platform, notifies user to allow on home gateway Net.
S102, home gateway, when automatically beginning to upgrading or after the completion of automatic upgrading, send upgrading message to server.
Alternatively, described upgrading message at least includes the message starting to upgrade, and further, can also include upgrading and complete Message.That is: (before automatically beginning to upgrading, automatically begin to while upgrading or automatically begin to upgrade when automatically beginning to upgrading Afterwards), home gateway sends, to server, the message starting to upgrade;After the completion of automatic upgrading, home gateway is sent out to server Send the message that upgrading completes.
For example, after home gateway has downloaded firmware updating, new firmware can't be installed at once and upgraded, but first Send the message starting to upgrade to server, just automatically begin to after sending message upgrade.Certainly, home gateway can also Automatically begin to upgrade while to server send start upgrade message, can also automatically begin to upgrading after immediately to Server sends the message starting to upgrade.
S103, server receive upgrading message, and upgrading message is pushed to client.
In this step s103, after server receives upgrading message, just upgrading message is pushed to client, this upgrading disappears Breath possibly starts the message upgraded it is also possible to the message that completes of upgrading.During server push upgrading message, first determine whether visitor Whether family end is online;When client is online, by tcp message to client push upgrading message;When client is not online, Can be by instant messaging application, short message or phone to client push upgrading message it is also possible to not push upgrading message.
Specifically, after receiving the message starting to upgrade, the upgrade status of home gateway are then set to by server Upgrading, and record the time that this home gateway starts to upgrade.Whether judge to bind the client of the user of this home gateway simultaneously Online;If online, push a tcp message to the application-specific (app) of client, inform that subscriber household gateway starts to rise Level or upgrading so that user knows that current home gateway is unavailable;If not online, not push and start disappearing of upgrading Breath, or, by instant messaging application, short message or phone to this message of client push, or, work as inspection before upgrading completes Measure client online when push this message again.
After receiving the message that upgrading completes, the upgrade status of this home gateway are then set to upgrading and complete by server. And judge whether the client binding the user of this home gateway is online;If online, push to the application-specific of client Article one, tcp message, tells that the upgrading of subscriber household gateway completes;If not online, by instant messaging application, short message or electricity Talk about to the client push message that completes of upgrading, or, detect client online when push this message again.For example, service Device passes through the message that the service number of the instant messaging such as qq, wechat, credulity application completes to client push upgrading.And for example, when with When family uses phone number registration, server can send short message by third party's SMS platform to the client of user, Can be made a phone call to the client of user by artificial or third party's voice platform, notify customer upgrade to complete.Thus, by complete , to user's PUSH message, no matter whether client is online, and user can learn household gateway update in time for the message channel in orientation Complete, the message of functional rehabilitation, do not delay timely using of user.
Server judge the whether online method of client can with previous step s101 in judge whether home network online Method be similar to, will not be described here.
Further, when receive start upgrade message reach Preset Time after be also not received by the message completing of upgrading When, server then notifies client upgrading to complete automatically, and wherein, Preset Time can be the longest according to household gateway update needs Time determines, is such as set as 10 minutes.Thus, prevent network reason from causing to can not receive upgrading that home gateway reports completes Message and lead to user can not learn in time household gateway update complete, the message of functional rehabilitation, it is to avoid delay the timely of user Use.
Further, server receives the instruction of the inquiry household gateway update state that client sends, according to this instruction Obtain the current upgrade status of home gateway and feed back to client, such as: when home gateway is currently upgraded, then to client The status information that end feedback home gateway is being upgraded;When home gateway currently upgraded complete when, then to client feedback man The status information that front yard gateway upgrading completes.Thus so that user can inquire about current upgrade status at any time, it is to avoid invalid throwing Tell.
S104, client receive upgrading message, and are pointed out according to upgrading message.
In this step s104, after client receives upgrading message, then according to upgrading message, user is pointed out, such as Point out user by voice messaging and/or visual information, described visual information includes Word message and/or image information.This liter Level message possibly starts the message upgraded it is also possible to the message that completes of upgrading.
Specifically, after receiving the message starting to upgrade, client is pointed out to user, and suggestion content mays include: Home gateway is upgraded, and reminds and home appliance must not be operated it is contemplated that time required for household gateway update etc..As Shown in Fig. 2, it is the schematic diagram that Client-Prompt subscriber household gateway starts to upgrade, suggestion content includes a upgrading progress pattern (circular pattern), and word content: in main frame (i.e. home gateway) firmware upgrade ...;Upgrading takes around 5 minutes, please slightly Wait;Note: host power supply please don't be disconnected.
Thus so that user knows that home gateway is being upgraded it is impossible to normal work.When receiving the message that completes of upgrading Afterwards, client is pointed out to user, and suggestion content mays include: the version of renewal, the content of renewal, updates the spent time Deng.And up-to-date home gateway version can be shown.
Further, after client receives the message starting to upgrade, in order to prevent that client is caused due to reasons such as networks End cannot receive the message that the upgrading of server push completes, and client can be sent out to server every preset duration (as 1 minute) Send the instruction of an inquiry household gateway update state, if the state that the household gateway update receiving server feedback completes Information, then prompting customer upgrade completes.
Further, client, after logging in home gateway failure, actively sends inquiry household gateway update to server The instruction of state, and the status information of the reception server feedback.
Further, when receive start upgrade message reach Preset Time after be also not received by the message completing of upgrading When, client then automatically allow user operated, wherein, Preset Time can according to household gateway update need the longest when Between to determine, be such as set as 10 minutes.Thus, preventing network reason from causing, the upgrading not receiving server push completes disappears Cease and delay timely using of user.
In the embodiment of the present invention, client refers mainly to the terminal unit that user carries with, and such as mobile phone, flat board etc. are mobile eventually End.
As shown in figure 3, a complete upgrading flow process of household gateway update method one alternative embodiment for the present invention, bag Include following steps:
S111, server issue upgrade command to home gateway.
S112, home gateway have been downloaded after firmware according to upgrade command, send, to server, the message starting to upgrade, and from Move and start to upgrade.
Additionally, home gateway can also or automatically begin to send to server while upgrading before automatically beginning to upgrading Start the message upgraded.
S113, server receive the message starting to upgrade, and judge whether client is online.When client is online, execution Step s114;When client is not online, then do not start the message of upgrading to client push, be directly entered step s116.
Alternatively, when client is not online, server can also be applied by instant messaging, short message or phone are to visitor Family end pushes the message starting to upgrade, or, push again when client is detected and being online before upgrading completes and start upgrading Message.
S114, server push, to the application-specific of client, the message starting to upgrade.
S115, client receive the message starting to upgrade, and point out subscriber household gateway to start to upgrade.
After the completion of s116, home gateway are upgraded automatically, send, to server, the message that upgrading completes.
S117, server receive the message that upgrading completes, and judge whether client is online.When client is online, execution Step s118;When client is not online, when detect client online after execution step s118 again.
Alternatively, when client is not online, server can also be applied by instant messaging, short message or phone are to visitor Family end pushes the message that upgrading completes.
S118, server push, to the application-specific of client, the message that upgrading completes.
S119, client receive the message that upgrading completes, and point out the upgrading of subscriber household gateway to complete.
The household gateway update method of the embodiment of the present invention, is upgraded by automatic, and eliminate that user manually selects is loaded down with trivial details Flow process, simplifies upgrading flow process;Meanwhile, upgrading message is sent in time by server by home gateway, then will by server Upgrading message is pushed to client so that user no matter when and where, all can timely know the upgrade status of home gateway, Therefore, in escalation process, user will not blindly operate, even if operation failure also will not take for the system failure and be complained, Thus substantially reducing the invalid complaint of the user that knows clearly, improve Consumer's Experience.
Referring to Fig. 4, propose the household gateway update method second embodiment of the present invention, the method comprising the steps of:
When s201, home gateway receive the upgrade command of server transmission, automatically upgraded.
Whether s202, home gateway automatically begin to, during upgrading or after the completion of automatic upgrading, judge client in LAN. When in LAN, execution step s203;When not in LAN, execution step s204.
S203, home gateway send upgrading message to client.
S204, home gateway send upgrading message to server.
S205, server receive upgrading message, and upgrading message is pushed to client.
S206, client receive upgrading message, and are pointed out according to upgrading message.
The difference of the present embodiment and first embodiment is the increase in judgement step and step s203 of step s202, i.e. family Gateway, before sending upgrading message (starting the message that the message of upgrading or upgrading complete), initially enters step s202, judges Client whether in LAN (i.e. user whether at home or family vicinity).When client is in LAN, then enter Enter step s203, home gateway directly sends upgrading message to client;When client is not in LAN, just as first is real Apply example like that, enter step s204, send upgrading message to server, upgrading message is pushed to by client by server.
The present embodiment is that the push of upgrading message increased a kind of channel, that is, when client is in LAN, by family Gateway directly transmits upgrading message, on the one hand reduces the burden of server, reduces energy consumption, on the other hand prevents network not good And lead to server timely upgrading message can not be pushed to client.And when client is not in LAN, then pass through Server forwards upgrading message to client.Thus, no matter user is in where, timely can receive upgrading message, The upgrade status of solution home gateway, greatly reduce invalid complaint, improve Consumer's Experience.
In sum, the household gateway update method of the embodiment of the present invention, has the advantages that
1), upgrading is carried out automatically, simplifies user operation, reduces the burden that user frequently upgrades, can effectively lift use Family is experienced;
2), user, effectively less maloperation are reminded in escalation process in time;
3), reduce and user is bothered, only point out online user;
4), the present invention takes multiple fault-tolerant measures, is not result in that user cannot use;
5), the present invention notifies user using various ways, can inform customer upgrade state in time.
Further, in an alternative embodiment, home gateway, before starting upgrading, obtains the upgrading custom of user, When the upgrading of user is accustomed to as preferably automated upgrading, just automatically begins to upgrade, otherwise upgrading is manually selected by user, wherein, The upgrading custom of user can be analyzed by big data and obtain it is also possible to statistics obtains within a period of time.
For example within a period of time, home gateway before upgrading, directly or indirectly (by server) use by inquiry Family, the need of upgrading, selects to carry out Upgrading Now, waits a moment upgrading or the not operation such as upgrading according to user, and record user's Selection result.Then in setting time section or set upgrading and select the selection result of user in number of times to carry out statistical analysiss, obtain Take the ratio that family selects upgrading, judge whether this ratio exceedes threshold value, if then it is assumed that the preferably automated upgrading of user, subsequently Home gateway needs then no longer to inquire user during upgrading, is automatically upgraded.
Referring to Fig. 5, the household gateway update method 3rd embodiment of the present invention is proposed, methods described is applied to foregoing home Gateway, comprises the following steps:
S11, receive server transmission upgrade command when, automatically upgraded.
S12, automatically begin to during upgrading or automatic upgrade after the completion of, judge client whether in LAN.When in local When in net, execution step s13;When not in LAN, execution step s14.
S13, to client send upgrading message.
S14, to server send upgrading message so that upgrading message is pushed to client by server.
In the present embodiment, home gateway, before sending upgrading message, initially enters step s12, whether judges client In LAN (i.e. user whether at home or family vicinity).When client is in LAN, then enter step s13, Directly send upgrading message to client;When client is not in LAN, then enters step s14, send to server and rise Upgrading message is pushed to client by server by level message.
Described upgrading message at least includes the message starting to upgrade, further, the message that can also include upgrades completes. I.e.: when starting upgrading (before starting upgrading, start while upgrading or start upgrading after), home gateway to server or Client sends the message starting to upgrade;After the completion of automatic upgrading, home gateway sends to server or client has upgraded The message becoming.
In certain embodiments it is also possible to omit judgement step and step s13 of step s12, that is, no matter client is in office In the net of domain or outside LAN, home gateway all sends upgrading message to server without exception, is pushed upgrading message by server To client.
Thus, upgraded by automatic, eliminate the loaded down with trivial details flow process that user manually selects, simplify upgrading flow process;Meanwhile, lead to Cross direct or indirect send upgrading message so that user can timely know the upgrade status of home gateway to client, Therefore, in escalation process, user will not blindly operate, even if operation failure also will not take for the system failure and be complained, Thus substantially reducing the invalid complaint of the user that knows clearly, improve Consumer's Experience.
Referring to Fig. 6, the household gateway update method fourth embodiment of the present invention is proposed, methods described is applied to aforementioned service Device, comprises the following steps:
The upgrading message that s21, reception home gateway send when automatically beginning to upgrade or after the completion of automatic upgrading.
Described upgrading message possibly starts the message upgraded it is also possible to the message that completes of upgrading.
S22, upgrading message is sent to client.
Alternatively, before server sends upgrading message to client, first determine whether whether client is online;Work as client When online, by tcp message to client push upgrading message;When client is not online, by instant messaging application, note Breath or phone are to client push upgrading message.
Alternatively, when receive start upgrade message reach Preset Time after be also not received by the message completing of upgrading When, server then notifies client upgrading to complete automatically.
Alternatively, server receives the instruction of the inquiry household gateway update state that client sends;Obtained according to instruction The current upgrade status of home gateway simultaneously feed back to client.
This step s22 is identical with step s102 in first embodiment, will not be described here.
Thus, upgraded by automatic, eliminate the loaded down with trivial details flow process that user manually selects, simplify upgrading flow process;Meanwhile, lead to Cross server and the upgrading message of home gateway is timely pushed to client so that user can timely know home gateway Upgrade status, therefore, in escalation process, user will not blindly operate, even if operation failure also will not take for the system failure And complained, thus substantially reducing the invalid complaint of the user that knows clearly, improve Consumer's Experience.
Referring to Fig. 7, household gateway update system one embodiment of the present invention is proposed, described system includes home gateway, clothes Business device and client, wherein:
Home gateway: for, after the upgrade command receiving server transmission, automatically being upgraded;Automatically beginning to rise During level or after the completion of automatic upgrading, send upgrading message to server.
Specifically, when needing to upgrade to gateway, server sends a upgrade command to all online home gateways, This upgrade command includes the download address of firmware updating;If home gateway (or claim main frame) is online, server can be Detect and retransmit upgrade command when this home gateway is reached the standard grade it is also possible to send announcement information to notify user to allow house to client Front yard gateway online.After home gateway receives upgrade command, download firmware updating according to the download address that upgrade command collects, under Automatically begin to after having carried firmware updating upgrade.
Alternatively, described upgrading message at least includes the message starting to upgrade, and further, can also include upgrading and complete Message.That is: (before automatically beginning to upgrading, automatically begin to while upgrading or automatically begin to upgrade when automatically beginning to upgrading Afterwards), home gateway sends, to server, the message starting to upgrade;After the completion of automatic upgrading, home gateway is sent out to server Send the message that upgrading completes.
Alternatively, whether home gateway, before sending upgrading message, first determines whether client in LAN;Work as client When end is in LAN, then directly send upgrading message to client;When client is not in LAN, just send out to server Send upgrading message, so that upgrading message is pushed to client by server.
Server: for sending upgrade command to home gateway, receive home gateway when automatically beginning to upgrading or automatic The upgrading message sending after the completion of upgrading, and upgrading message is pushed to client.
Alternatively, before server sends upgrading message to client, first determine whether whether client is online;Work as client When online, by tcp message to client push upgrading message;When client is not online, by instant messaging application, note Breath or phone are to client push upgrading message.
Alternatively, when receive start upgrade message reach Preset Time after be also not received by the message completing of upgrading When, server then notifies client upgrading to complete automatically.
Alternatively, server receives the instruction of the inquiry household gateway update state that client sends;Obtained according to instruction The current upgrade status of home gateway simultaneously feed back to client.
Client: for receiving upgrading message, and pointed out according to upgrading message.
Client can be pointed out to user by voice messaging and/or visual information, and described visual information includes literary composition Word information and/or image information.
Further, after client receives the message starting to upgrade, in order to prevent that client is caused due to reasons such as networks End cannot receive the message that the upgrading of server push completes, and client can be sent out to server every preset duration (as 1 minute) Send the instruction of an inquiry household gateway update state, if the state that the household gateway update receiving server feedback completes Information, then prompting customer upgrade completes.
Further, client, after logging in home gateway failure, actively sends inquiry household gateway update to server The instruction of state, and the status information of the reception server feedback.
Further, when receive start upgrade message reach Preset Time after be also not received by the message completing of upgrading When, client then automatically allow user operated, wherein, Preset Time can according to household gateway update need the longest when Between to determine, be such as set as 10 minutes.Thus, preventing network reason from causing, the upgrading not receiving server push completes disappears Cease and avoid delaying timely using of user.
The household gateway update system of the embodiment of the present invention, is upgraded by automatic, and eliminate that user manually selects is loaded down with trivial details Flow process, simplifies upgrading flow process;Meanwhile, upgrading message is sent in time by server by home gateway, then will by server Upgrading message is pushed to client so that user can timely know the upgrade status of home gateway, therefore, in escalation process Middle user will not blindly operate, even if operation failure also will not take for the system failure and be complained, thus greatly reducing The invalid complaint of user, improves Consumer's Experience.
The household gateway update system that above-described embodiment provides and household gateway update embodiment of the method belong to same design, It is all corresponding suitable in system embodiment that it implements the technical characteristic that process refers in embodiment of the method, and embodiment of the method With repeating no more here.
Referring to Fig. 8, the household gateway update device first embodiment of the present invention is proposed, described device is applied to home network Close, including a upgraded module and a sending module, wherein:
Upgraded module: when being used for receiving upgrade command, automatically upgraded.
Specifically, when needing to upgrade to gateway, server sends a upgrade command to all online home gateways, This upgrade command includes the download address of firmware updating;If home gateway (or claim main frame) is online, server can be Detect and retransmit upgrade command when this home gateway is reached the standard grade it is also possible to send announcement information to notify user to allow house to client Front yard gateway online.After the upgraded module of home gateway receives upgrade command, download according to the download address that upgrade command collects Firmware updating, automatically begins to after having downloaded firmware updating upgrade.
Sending module: for, when automatically beginning to upgrading or after the completion of automatic upgrading, sending upgrading message to server, with Make server that upgrading message is pushed to client.Alternatively, described upgrading message at least includes the message starting to upgrade, and enters one Step ground, the message that can also include upgrades completes.That is: (before starting upgrading, start while upgrading or open when starting upgrading After beginning to upgrade), sending module sends, to server, the message starting to upgrade;After the completion of automatic upgrading, sending module is to clothes Business device sends the message that upgrading completes.
Further, upgraded module start upgrading before, obtain user upgrading custom, when the upgrading of user be accustomed to be During preferably automated upgrading, just automatically begin to upgrade, otherwise upgrading is manually selected by user, wherein, the upgrading custom of user is permissible Analyzed by big data and obtain it is also possible to statistics obtains within a period of time.
For example within a period of time, upgraded module before upgrading, directly or indirectly (by server) use by inquiry Family, the need of upgrading, selects to carry out Upgrading Now, waits a moment upgrading or the not operation such as upgrading according to user, and record user's Selection result.Then in setting time section or set upgrading and select the selection result of user in number of times to carry out statistical analysiss, obtain Take the ratio that family selects upgrading, judge whether this ratio exceedes threshold value, if then it is assumed that the preferably automated upgrading of user, subsequently When home gateway needs upgrading, upgraded module then no longer inquires user, is automatically upgraded.
The household gateway update device of the embodiment of the present invention, is upgraded by automatic, and eliminate that user manually selects is loaded down with trivial details Flow process, simplifies upgrading flow process;Meanwhile, by direct or indirect to client send upgrading message so that user can and When the upgrade status knowing home gateway, therefore, in escalation process, user will not blindly operate, even if operation failure is not yet The system failure being takeed for and be complained, thus substantially reducing the invalid complaint of the user that knows clearly, improving Consumer's Experience.
Referring to Fig. 9, the household gateway update device second embodiment of the present invention is proposed, the present embodiment is in the aforementioned first enforcement Increased judge module on the basis of example, and, sending module include the first transmitting element and the second transmitting element, wherein:
Judge module: for judging client whether in LAN.
First transmitting element: for when client is not in LAN, sending upgrading message to server.
Second transmitting element: for when client is in LAN, directly sending upgrading message to client.
Thus, it is that the push of upgrading message increased a kind of channel, that is, when client is in LAN, by home gateway Directly transmit upgrading message, on the one hand reduce the burden of server, reduce energy consumption, on the other hand prevent network not good and lead Cause server timely upgrading message can not be pushed to client.And when client is not in LAN, then pass through service Device forwards upgrading message to client.Thus, no matter user is in where, can timely receive upgrading message, understands house The upgrade status of front yard gateway, greatly reduce invalid complaint, improve Consumer's Experience.
The household gateway update device that previous embodiment provides and household gateway update embodiment of the method belong to same design, It is all corresponding suitable in device embodiment that it implements the technical characteristic that process refers in embodiment of the method, and embodiment of the method With repeating no more here.
Referring to Figure 10, the household gateway update device 3rd embodiment of the present invention is proposed, described device is applied to aforementioned clothes Business device, including receiver module and pushing module, wherein:
Receiver module: disappear for receiving the upgrading that home gateway sends when automatically beginning to upgrade or after the completion of automatic upgrading Breath.
Described upgrading message possibly starts the message upgraded it is also possible to the message that completes of upgrading.
Pushing module: for upgrading message is pushed to client.
Alternatively, pushing module, before pushing upgrading message, first determines whether whether client is online;When client is online When, by tcp message to client push upgrading message;When client is not online, applied by instant messaging, short message or Phone is to client push upgrading message.
Alternatively, when receive start upgrade message reach Preset Time after be also not received by the message completing of upgrading When, pushing module notifies client upgrading to complete automatically.
Further, receiver module is additionally operable to receive the instruction of the inquiry household gateway update state that client sends;Push away Module is sent to be additionally operable to obtain the current upgrade status of home gateway according to this instruction and feed back to client.
The household gateway update device of the embodiment of the present invention, by the automatic upgrading of home gateway, eliminates user manual The loaded down with trivial details flow process selecting, simplifies upgrading flow process;Meanwhile, by receiving the upgrading message of home gateway, and by upgrading message and When be pushed to client so that user can timely know the upgrade status of home gateway, therefore, in escalation process use Family will not blindly operate, even if operation failure also will not take for the system failure and be complained, thus substantially reducing use of knowing clearly The invalid complaint at family, improves Consumer's Experience.
The household gateway update device that above-described embodiment provides and household gateway update embodiment of the method belong to same design, It is all corresponding suitable in device embodiment that it implements the technical characteristic that process refers in embodiment of the method, and embodiment of the method With repeating no more here.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by the mode of software plus necessary general hardware platform naturally it is also possible to pass through hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Go out partly can embodying in the form of software product of contribution, this computer software product is stored in a storage medium In (as rom/ram, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, clothes Business device, or the network equipment etc.) method described in execution each embodiment of the present invention.
The preferred embodiments of the present invention above by reference to brief description, not thereby limit to the interest field of the present invention.This Skilled person, without departing from the scope of the present invention and essence, can have multiple flexible programs to realize the present invention, for example as one The feature of individual embodiment can be used for another embodiment and obtains another embodiment.All institutes within the technology design with the present invention Any modification, equivalent and the improvement made, all should be within the interest field of the present invention.

Claims (15)

1. a kind of household gateway update method is it is characterised in that comprise the following steps:
When home gateway receives the upgrade command of server transmission, automatically upgraded;
Described home gateway, when automatically beginning to upgrading or after the completion of automatic upgrading, sends upgrading message to described server;
Described server receives described upgrading message, and described upgrading message is pushed to client;
Described client receives described upgrading message, and is pointed out according to described upgrading message.
2. household gateway update method according to claim 1 is it is characterised in that described send upgrading message to server Including:
Whether described home gateway judges described client in LAN;
When described client is not in described LAN, described home gateway sends described upgrading message to described server.
3. household gateway update method according to claim 1 and 2 is it is characterised in that described upgrading message includes starting The message of upgrading and the message that completes of upgrading, described send upgrading message to server and include:
When automatically beginning to upgrading, described home gateway sends the described message starting and upgrading to described server;
After the completion of automatic upgrading, described home gateway sends, to described server, the message that described upgrading completes.
4. a kind of household gateway update method, is applied to home gateway it is characterised in that including:
When receiving the upgrade command that server sends, automatically upgraded;
When automatically beginning to upgrading or after the completion of automatic upgrading, send upgrading message to described server, so that described server Described upgrading message is pushed to client.
5. household gateway update method according to claim 4 is it is characterised in that described send upgrading message to server Including:
Judge described client whether in LAN;
When described client is not in described LAN, send described upgrading message to described server.
6. the household gateway update method according to claim 4 or 5 is it is characterised in that described upgrading message includes starting The message of upgrading and the message that completes of upgrading, described send upgrading message to server and include:
When automatically beginning to upgrading, send the described message starting and upgrading to described server;
After the completion of automatic upgrading, send, to described server, the message that described upgrading completes.
7. the household gateway update method according to claim 4 or 5 is it is characterised in that described carry out upgrading including automatically:
Before starting upgrading, obtain the upgrading custom of user, when the upgrading of user is accustomed to as preferably automated upgrading, automatically open Begin to upgrade.
8. a kind of household gateway update method, is applied to server it is characterised in that comprising the following steps:
Receive the upgrading message that home gateway sends when automatically beginning to upgrade or after the completion of automatic upgrading;
Described upgrading message is pushed to client.
9. household gateway update method according to claim 7 is it is characterised in that described be pushed to described upgrading message Client includes:
Judge whether described client is online;
When described client is online, by transmission control protocol tcp message to upgrading message described in described client push;
When described client is not online, applied by instant messaging, short message or phone rise to described in described client push Level message.
10. household gateway update method according to claim 8 is it is characterised in that described upgrading message includes starting to rise The message of level and the message completing of upgrading, methods described also includes:
When being also not received by, after receiving the described message starting to upgrade and reaching Preset Time, the message that described upgrading completes, from Move and notify described client upgrading to complete.
11. according to Claim 8 the household gateway update method described in -10 any one it is characterised in that methods described is also wrapped Include:
Receive the instruction of the inquiry household gateway update state that described client sends;
The current upgrade status of described home gateway are obtained according to described instruction and feeds back to described client.
A kind of 12. household gateway update devices, are applied to home gateway it is characterised in that including upgraded module and sending module, Wherein:
Described upgraded module, when being used for receiving upgrade command, is upgraded automatically;
Described sending module is used for: when automatically beginning to upgrading or after the completion of automatic upgrading, send upgrading message to server, with Make described server that described upgrading message is pushed to client.
13. household gateway update devices according to claim 12 are it is characterised in that described device also includes judging mould Block, described sending module includes the first transmitting element and the second transmitting element, wherein:
Whether described judge module, for judging described client in LAN;
Described first transmitting element, for when described client is not in described LAN, sending described to described server Upgrading message;
Described second transmitting element, for when described client is in described LAN, directly sending institute to described client State upgrading message.
The 14. household gateway update devices according to claim 12 or 13 are it is characterised in that described upgrading message includes out The message that the message of upgrading that begins completes with upgrading, described sending module is used for:
When automatically beginning to upgrading, send the described message starting and upgrading to described server;
After the completion of automatic upgrading, send, to described server, the message that described upgrading completes.
The 15. household gateway update devices according to claim 12 or 13 are it is characterised in that described upgraded module is used for: Before starting upgrading, obtain the upgrading custom of user, when the upgrading of user is accustomed to as preferably automated upgrading, automatically begin to rise Level.
CN201610836706.0A 2016-09-21 2016-09-21 Method and device for upgrading home gateway Pending CN106375129A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610836706.0A CN106375129A (en) 2016-09-21 2016-09-21 Method and device for upgrading home gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610836706.0A CN106375129A (en) 2016-09-21 2016-09-21 Method and device for upgrading home gateway

Publications (1)

Publication Number Publication Date
CN106375129A true CN106375129A (en) 2017-02-01

Family

ID=57897766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610836706.0A Pending CN106375129A (en) 2016-09-21 2016-09-21 Method and device for upgrading home gateway

Country Status (1)

Country Link
CN (1) CN106375129A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020238523A1 (en) * 2019-05-24 2020-12-03 深圳云里物里科技股份有限公司 Gateway configuration method, system, computer storage medium and electronic device
CN113254044A (en) * 2021-06-07 2021-08-13 深圳市蔚来芯科技有限公司 High-reliability image chip remote upgrading method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877650A (en) * 2010-05-20 2010-11-03 中兴通讯股份有限公司 Method and system for updating software version automatically
US8387112B1 (en) * 2008-10-29 2013-02-26 Juniper Networks, Inc. Automatic software update on network devices
CN103024773A (en) * 2012-12-10 2013-04-03 上海斐讯数据通信技术有限公司 Method, management device and system for upgrading software of wireless router
CN104639376A (en) * 2015-03-05 2015-05-20 太仓市同维电子有限公司 Novel method for human-machine interaction type remote upgrading of home gateway
CN105207867A (en) * 2015-10-30 2015-12-30 北京奇艺世纪科技有限公司 Equipment connecting method and equipment connecting device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8387112B1 (en) * 2008-10-29 2013-02-26 Juniper Networks, Inc. Automatic software update on network devices
CN101877650A (en) * 2010-05-20 2010-11-03 中兴通讯股份有限公司 Method and system for updating software version automatically
CN103024773A (en) * 2012-12-10 2013-04-03 上海斐讯数据通信技术有限公司 Method, management device and system for upgrading software of wireless router
CN104639376A (en) * 2015-03-05 2015-05-20 太仓市同维电子有限公司 Novel method for human-machine interaction type remote upgrading of home gateway
CN105207867A (en) * 2015-10-30 2015-12-30 北京奇艺世纪科技有限公司 Equipment connecting method and equipment connecting device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020238523A1 (en) * 2019-05-24 2020-12-03 深圳云里物里科技股份有限公司 Gateway configuration method, system, computer storage medium and electronic device
CN113254044A (en) * 2021-06-07 2021-08-13 深圳市蔚来芯科技有限公司 High-reliability image chip remote upgrading method and system

Similar Documents

Publication Publication Date Title
CN101222519B (en) Remote activation of home devices
KR101481443B1 (en) A method for management device in a communication network and a system thereof
CN106533813A (en) Method for remotely controlling upgrade of intelligent device
CN106301785A (en) The binding method of a kind of intelligent home device and intelligent terminal and system
CN105739460A (en) Method and device for automatically generating control interface of Internet-of-Things household appliances
CN101895873B (en) The update method of the Java application of mobile terminal, server and mobile terminal
CN105991380A (en) Household appliance network access method, router, and household appliance
CN104219653A (en) Method and device for controlling double-card Internet access
WO2005036902A3 (en) Telecommunications system
CN105259875A (en) Intelligent home equipment binding method, device and system
CN103685330A (en) Data transmission method and data transmission device
CN102387156B (en) Equipment logging treatment method, device and system
CN104182819A (en) Intelligent repair reporting method and system
CN101877650A (en) Method and system for updating software version automatically
CN110011885B (en) Control authority binding method and device of electric appliance, storage medium and electric appliance
CN103731562B (en) For the method and apparatus of smart machine Adaptive matching bluetooth equipment
CN102088494A (en) Method and system for connecting internet protocol version 4 (IPv4)/IPv6 dual-stack terminal with network
CN106648781A (en) Remote firmware upgrading method and system for communication equipment
CN105245556A (en) Intelligent mobile phone remote control method and device
CN102111728B (en) Network connection management module and method of mobile terminal
CN106375129A (en) Method and device for upgrading home gateway
CN112752325A (en) Network distribution method and device of household appliance, computer readable storage medium and processor
CN102348198A (en) Wireless terminal and remote parameter setting method thereof
CN106648721A (en) Method and device for upgrading software
CN109547536B (en) Method and system for automatically identifying type of intelligent gateway equipment and upgrading software version

Legal Events

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

Application publication date: 20170201

RJ01 Rejection of invention patent application after publication