CN110661859A - Air upgrading method for intelligent household equipment - Google Patents
Air upgrading method for intelligent household equipment Download PDFInfo
- Publication number
- CN110661859A CN110661859A CN201910875775.6A CN201910875775A CN110661859A CN 110661859 A CN110661859 A CN 110661859A CN 201910875775 A CN201910875775 A CN 201910875775A CN 110661859 A CN110661859 A CN 110661859A
- Authority
- CN
- China
- Prior art keywords
- equipment
- upgrading
- intelligent household
- cloud 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
Links
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/26—Speech to text systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Abstract
The invention belongs to the technical field of intelligent household equipment software, and particularly relates to an air upgrading method of intelligent household equipment, which relates to an intelligent household product and a cloud server; the intelligent household product comprises a DSP offline upgrading voice recognition system; the cloud server comprises a file management system and an online voice upgrading command recognition system; the cloud server stores the new firmware of the intelligent household equipment in the file management system, and bidirectional communication with the equipment end is realized by building the http server and the MQTT proxy server. Has the advantages that: the intelligent household equipment software is convenient and fast to update in a remote mode through air upgrading.
Description
Technical Field
The invention belongs to the technical field of intelligent household equipment software, and particularly relates to an air upgrading method for intelligent household equipment.
Background
At present, intelligent household equipment is rapidly popularized, and software upgrading and maintenance of the intelligent household equipment have important influence on the function of the equipment. The existing intelligent household equipment software upgrading mode mainly comprises the following steps: firstly, equipment is connected with a computer through a USB port for upgrading; secondly, the intelligent household equipment is automatically upgraded after being powered on and networked; thirdly, upgrading is carried out by inserting an SD card; fourthly, the FTP server is built at the cloud end, and the upgrading strategy is determined and initiated by the equipment end. However, these approaches all have disadvantages: firstly, the intelligent household equipment is connected with a computer by adopting a USB (universal serial bus) interface in an upgrading mode, a user needs a PC (personal computer) end to download upgrading software, and the upgrading is realized by applying the PC end, so that the upgrading method is complicated; secondly, an upgrading mode of automatic upgrading after the intelligent household equipment is started and networked is adopted, a user cannot use a product immediately after starting and can use the product only after finishing upgrading, and an upgrading strategy is not active; thirdly, at present, many smart homes are not designed with SD (secure digital) expansion interfaces any more, so that upgrading by inserting an SD card is difficult to realize; fourthly, the problem that the cloud end is adopted to build the ftp server to be connected with the intelligent home for upgrading is that when the upgrading quantity of the equipment end reaches the million level, a great data concurrency problem can be caused to the cloud end server.
Disclosure of Invention
In order to solve the technical problems, the invention provides a method for upgrading intelligent household equipment software in the air.
The specific technical scheme is as follows: an air upgrading method for intelligent household equipment relates to an intelligent household product and a cloud server;
the intelligent household product comprises a DSP offline upgrading voice recognition system;
the cloud server comprises a file management system and an online voice upgrading command recognition system; the cloud server stores new firmware of the intelligent household equipment in a file management system, and bidirectional communication with the equipment end is realized by building an http server and an MQTT proxy server;
the method comprises the following steps:
(1) after the smart home device is started and connected to the cloud server, a request for inquiring and upgrading is sent to the cloud server in an http request mode, and the json data format of the sent information is as follows:
{"timestamp":"1564803133","deviceID":"cmcc-31222-8005dfcb70a7","firmware_version":"v1.5","MAC_address":"8005dfcb70a7","extend":""}
(2) after receiving an air upgrading request of the intelligent household equipment, the cloud server judges the series of the intelligent household equipment through devicedID, and then judges whether the intelligent household equipment is the equipment which allows upgrading or not according to the MAC address; if the equipment is not in the white list allowed to be upgraded or the firmware is not updatable, replying { "ret": "-1" } to the equipment end, and after receiving the information, the equipment end does not upgrade; if the cloud server judges that the equipment is in the updated white list and has the updatable firmware through the deviceID and the MAC address, transmitting json data in the following format to the equipment:
{"ret":"0","url":"http://xxxxxxxxxxxxxxxxxxxx"}
after the equipment takes the data, the URL downloading link of the firmware is analyzed, and the firmware starts to be downloaded and updated;
(3) if the intelligent home equipment is actively upgraded, voice reminding is carried out, namely, after the upgrading is finished, audio with the content that the software of your is the latest version is played; if the equipment belongs to passive upgrade, namely the equipment is not an actively initiated upgrade request, voice reminding is not performed;
(4) the cloud server issues an MQTT theme for upgrading in the air, and the device side defines a theme/cchipDevice/cmcc-31222-; and if new firmware is deployed to the server, the user sets the MAC address field allowing OTA to directionally upgrade the equipment.
Preferably, in the step (4) of the air upgrading method for the smart home device, the MAC address fields of the OTA are allowed to be sequentially increased to "0 ~ 10000" on the first day, "0 ~ 20000" on the second day, and "0 ~ 30000" on the third day, so as to avoid the problem of data concurrence caused by excessive device upgrading platforms.
Preferably, the passive upgrade involved in the step (3) of the air upgrade method for the intelligent household equipment refers to an automatic networking upgrade request, an equipment idle upgrade request and an equipment timing upgrade request after the equipment is started; the active upgrade refers to an equipment combination key upgrade request and a voice command upgrade request;
the voice command upgrading request means that a user speaks a voice command with the content of 'upgrading software version' and the like to the intelligent household equipment; after receiving the voice command, the intelligent home equipment offline upgrades the voice recognition system through the built-in DSP or recognizes the voice upgrading command by using the online voice upgrading command recognition system, and then sends an upgrading request to the cloud server.
After the technical scheme is adopted, the invention has the beneficial effects that:
compared with the disclosed technical scheme, the technical scheme realizes convenient and fast and remote updating of the intelligent household equipment software through the air upgrading by providing the air upgrading method of the intelligent household equipment and optimizing the steps of the method. The concrete advantages are: firstly, through voice command upgrading and combined key upgrading, an active upgrading mode is provided for a user; the equipment is upgraded by judging whether the equipment is idle or not and by using passive strategies such as timing upgrade and the like under the condition of not disturbing a user, so that the user experience is improved; thirdly, the cloud server manages equipment upgrading in a black and white list mode, and the problem caused by data concurrence is avoided; fourthly, the cloud server and the equipment side are in MQTT communication mode, the cloud side can actively push an upgrading instruction to the equipment, and the equipment is forced to be upgraded under the condition that the equipment has security loopholes or heavy bugs, so that the equipment is prevented from being attacked by hackers; fifthly, the technology for simultaneously recognizing the upgrade command words through the offline voice and the online voice provides an alternative scheme for the cloud without voice recognition.
Drawings
FIG. 1 is a method for upgrading smart home devices in the air involving the devices;
fig. 2 shows steps of an air upgrading method for smart home devices.
Detailed Description
Example one
An air upgrading method for intelligent household equipment is shown in figure 1 and relates to an intelligent household product and a cloud server;
the intelligent household product comprises a DSP offline upgrading voice recognition system;
the cloud server comprises a file management system and an online voice upgrading command recognition system; the cloud server stores new firmware of the intelligent household equipment in a file management system, and bidirectional communication with the equipment end is realized by building an http server and an MQTT proxy server;
example two
On the basis of the first implementation, an air upgrading method for intelligent household equipment, as shown in fig. 2, comprises the following steps:
(1) after the smart home device is started and connected to the cloud server, a request for inquiring and upgrading is sent to the cloud server in an http request mode, and the json data format of the sent information is as follows:
{"timestamp":"1564803133","deviceID":"cmcc-31222-8005dfcb70a7","firmware_version":"v1.5","MAC_address":"8005dfcb70a7","extend":""}
(2) after receiving an air upgrading request of the intelligent household equipment, the cloud server judges the series of the intelligent household equipment through devicedID, and then judges whether the intelligent household equipment is the equipment which allows upgrading or not according to the MAC address; if the equipment is not in the white list allowed to be upgraded or the firmware is not updatable, replying { "ret": "-1" } to the equipment end, and after receiving the information, the equipment end does not upgrade; if the cloud server judges that the equipment is in the updated white list and has the updatable firmware through the deviceID and the MAC address, transmitting json data in the following format to the equipment:
{"ret":"0","url":"http://xxxxxxxxxxxxxxxxxxxx"}
after the equipment takes the data, the URL downloading link of the firmware is analyzed, and the firmware starts to be downloaded and updated;
(3) if the intelligent home equipment is actively upgraded, voice reminding is carried out, namely, after the upgrading is finished, audio with the content that the software of your is the latest version is played; if the equipment belongs to passive upgrade, namely the equipment is not an actively initiated upgrade request, voice reminding is not performed;
the passive upgrade refers to an automatic networking upgrade request, an idle upgrade request and a regular upgrade request after the equipment is started; the active upgrade refers to an equipment combination key upgrade request and a voice command upgrade request; the voice command upgrading request means that a user speaks a voice command with the content of 'upgrading software version' and the like to the intelligent household equipment; after receiving the voice command, the intelligent household equipment upgrades the voice recognition system offline through the built-in DSP or uses the online voice upgrading command.
(4) The cloud server issues an MQTT theme for over-the-air upgrading, a device end defines a theme/cchipDevice/cmcc-31222-.
It will be appreciated by those skilled in the art that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The embodiments disclosed above are therefore to be considered in all respects as illustrative and not restrictive. All changes which come within the scope of or equivalence to the invention are intended to be embraced therein.
Claims (3)
1. An air upgrading method for intelligent household equipment relates to an intelligent household product and a cloud server;
the intelligent household product comprises a DSP offline upgrading voice recognition system;
the cloud server comprises a file management system and an online voice upgrading command recognition system; the cloud server stores new firmware of the intelligent household equipment in a file management system, and bidirectional communication with the equipment end is realized by building an http server and an MQTT proxy server;
the method is characterized by comprising the following steps:
(1) after the smart home device is started and connected to the cloud server, a request for inquiring and upgrading is sent to the cloud server in an http request mode, and the json data format of the sent information is as follows:
{"timestamp":"1564803133","deviceID":"cmcc-31222-8005dfcb70a7","firmware_version":"v1.5","MAC_address":"8005dfcb70a7","extend":""}
(2) after receiving an air upgrading request of the intelligent household equipment, the cloud server judges the series of the intelligent household equipment through devicedID, and then judges whether the intelligent household equipment is the equipment which allows upgrading or not according to the MAC address; if the equipment is not in the white list allowed to be upgraded or the firmware is not updatable, replying { "ret": "-1" } to the equipment end, and after receiving the information, the equipment end does not upgrade; if the cloud server judges that the equipment is in the updated white list and has the updatable firmware through the deviceID and the MAC address, transmitting json data in the following format to the equipment:
{"ret":"0","url":"http://xxxxxxxxxxxxxxxxxxxx"}
after the equipment takes the data, the URL downloading link of the firmware is analyzed, and the firmware starts to be downloaded and updated;
(3) if the intelligent home equipment is actively upgraded, voice reminding is carried out, namely, after the upgrading is finished, audio with the content that the software of your is the latest version is played; if the equipment belongs to passive upgrade, namely the equipment is not an actively initiated upgrade request, voice reminding is not performed;
(4) the cloud server issues an MQTT theme for upgrading in the air, and the device side defines a theme/cchipDevice/cmcc-31222-; and if new firmware is deployed to the server, the user sets the MAC address field allowing OTA to directionally upgrade the equipment.
2. The over-the-air upgrading method for intelligent household equipment according to claim 1, wherein the OTA-allowed MAC address field in the step (4) is '0 ~ 10000' on the first day, '0 ~ 20000' on the second day, '0 ~ 30000' on the third day.
3. The aerial upgrading method of intelligent household equipment according to claim 1, characterized in that: the passive upgrade in the step (3) refers to an automatic networking upgrade request, an equipment idle upgrade request and an equipment timing upgrade request after the equipment is started; the active upgrade refers to an equipment combination key upgrade request and a voice command upgrade request;
the voice command upgrading request refers to that a user speaks a voice command with the content of 'upgrading software version' and the like to the intelligent household equipment; after receiving the voice command, the intelligent home equipment offline upgrades the voice recognition system through the built-in DSP or recognizes the voice upgrading command by using the online voice upgrading command recognition system, and then sends an upgrading request to the cloud server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910875775.6A CN110661859A (en) | 2019-09-17 | 2019-09-17 | Air upgrading method for intelligent household equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910875775.6A CN110661859A (en) | 2019-09-17 | 2019-09-17 | Air upgrading method for intelligent household equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110661859A true CN110661859A (en) | 2020-01-07 |
Family
ID=69037168
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910875775.6A Pending CN110661859A (en) | 2019-09-17 | 2019-09-17 | Air upgrading method for intelligent household equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110661859A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111722862A (en) * | 2020-06-18 | 2020-09-29 | 华人运通(上海)新能源驱动技术有限公司 | Voice scene updating method, device, terminal, server and system |
CN112230968A (en) * | 2020-12-17 | 2021-01-15 | 清华四川能源互联网研究院 | Firmware updating method, device, server and computer readable storage medium |
CN114189442A (en) * | 2021-11-30 | 2022-03-15 | 深圳市国电科技通信有限公司 | Remote upgrading of edge equipment and electronic equipment |
CN114500482A (en) * | 2022-01-19 | 2022-05-13 | 上海黑眸智能科技有限责任公司 | OTA (over the air) upgrading system, method, equipment side and server side based on manual upgrading of server side |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101060427A (en) * | 2006-04-19 | 2007-10-24 | 华为技术有限公司 | A system and method for realizing the remote software updating |
CN102387165A (en) * | 2010-08-27 | 2012-03-21 | 腾讯科技(深圳)有限公司 | System and method for upgrading software |
CN103024727A (en) * | 2012-11-30 | 2013-04-03 | 东莞宇龙通信科技有限公司 | Program upgrading method for server and mobile terminal |
US20140123186A1 (en) * | 2002-05-10 | 2014-05-01 | Convergent Media Solutions Llc | Method and apparatus for browsing using alternative linkbases |
CN105242945A (en) * | 2015-09-30 | 2016-01-13 | 小米科技有限责任公司 | System upgrading method and apparatus |
CN109347931A (en) * | 2018-09-28 | 2019-02-15 | 四川长虹电器股份有限公司 | A kind of OTA upgrading method for down loading based on layering interaction design |
-
2019
- 2019-09-17 CN CN201910875775.6A patent/CN110661859A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140123186A1 (en) * | 2002-05-10 | 2014-05-01 | Convergent Media Solutions Llc | Method and apparatus for browsing using alternative linkbases |
CN101060427A (en) * | 2006-04-19 | 2007-10-24 | 华为技术有限公司 | A system and method for realizing the remote software updating |
CN102387165A (en) * | 2010-08-27 | 2012-03-21 | 腾讯科技(深圳)有限公司 | System and method for upgrading software |
CN103024727A (en) * | 2012-11-30 | 2013-04-03 | 东莞宇龙通信科技有限公司 | Program upgrading method for server and mobile terminal |
CN105242945A (en) * | 2015-09-30 | 2016-01-13 | 小米科技有限责任公司 | System upgrading method and apparatus |
CN109347931A (en) * | 2018-09-28 | 2019-02-15 | 四川长虹电器股份有限公司 | A kind of OTA upgrading method for down loading based on layering interaction design |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111722862A (en) * | 2020-06-18 | 2020-09-29 | 华人运通(上海)新能源驱动技术有限公司 | Voice scene updating method, device, terminal, server and system |
CN112230968A (en) * | 2020-12-17 | 2021-01-15 | 清华四川能源互联网研究院 | Firmware updating method, device, server and computer readable storage medium |
CN114189442A (en) * | 2021-11-30 | 2022-03-15 | 深圳市国电科技通信有限公司 | Remote upgrading of edge equipment and electronic equipment |
CN114500482A (en) * | 2022-01-19 | 2022-05-13 | 上海黑眸智能科技有限责任公司 | OTA (over the air) upgrading system, method, equipment side and server side based on manual upgrading of server side |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110661859A (en) | Air upgrading method for intelligent household equipment | |
CN105791387B (en) | Vehicle control updating method and system | |
CN110032382A (en) | A kind of vehicle electronic control unit upgrade method, system and terminal device | |
US9858064B2 (en) | Methods and apparatus for vehicle computing system software updates | |
KR101481443B1 (en) | A method for management device in a communication network and a system thereof | |
CN101951400B (en) | Software installation and upgrading method of application terminal in home network and system thereof | |
CN103517110B (en) | A kind of multi-screen interaction communication system and method | |
CN101662533B (en) | Software updating system and method | |
CN104809006B (en) | Software-implemented apparatus and method between a vehicle and a mobile device | |
CN101241364B (en) | Local controller, remote management controller and method for automatically updating the local controller of an air conditioner system | |
US20140282467A1 (en) | Method and Apparatus for Multiple Vehicle Software Module Reflash | |
CN102223380B (en) | Client terminal automatic updating frame based on Webservice and application thereof | |
CN103580921A (en) | Automatic network equipment upgrading method and automatic network equipment upgrading system | |
CN104202323A (en) | Method for controlling application software based on mobile terminal | |
KR20090090801A (en) | Method and apparatus for updating firmware in portable terminal | |
KR101819236B1 (en) | Apparatus and method for providing application service based location | |
CN105389183A (en) | Method and apparatus for making application version and intelligent sound box software version correspond | |
CN102291249A (en) | Method and system for providing remote service for mobile terminal | |
CN102083005A (en) | Remote control advertisement playing system and method | |
AU2010285563A1 (en) | Method and apparatus for remote management of device | |
CN109495433A (en) | Data download method and device, storage medium and electronic device | |
CN102164363A (en) | Base station version updating realization method and base station | |
CN104079970A (en) | System and method of data interaction and control of mobile equipment and WIFI (Wireless Fidelity) smart television | |
CN109600451A (en) | A kind of terminal device firmware upgrade method and system based on Websocket long connection | |
CN104601740A (en) | Method and system for associating controlled terminal with control terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200107 |
|
RJ01 | Rejection of invention patent application after publication |