CN109495644A - A kind of device end wifi upgrade method based on the transmission of big file - Google Patents
A kind of device end wifi upgrade method based on the transmission of big file Download PDFInfo
- Publication number
- CN109495644A CN109495644A CN201811300960.4A CN201811300960A CN109495644A CN 109495644 A CN109495644 A CN 109495644A CN 201811300960 A CN201811300960 A CN 201811300960A CN 109495644 A CN109495644 A CN 109495644A
- Authority
- CN
- China
- Prior art keywords
- device end
- mobile terminal
- terminal app
- data
- sends
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72406—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention belongs to fields of communication technology, propose a kind of device end wifi upgrade method based on the transmission of big file, the device end is upgraded by mobile terminal APP, comprising the following steps: when S1, mobile terminal APP detect that new version occurs, user is prompted to upgrade;S2, mobile terminal APP download upgrade file;The hot spot ssid that S3, the front end mobile terminal APP presentation device terminal create, after user confirms the hot spot ssid of connection device end creation, APP sends request command to device end, with device end progress three-way handshake;S4, device end carry out communication preparation, and mobile terminal APP sends authentication, after device end is verified, send request of data to mobile terminal APP, the data received are stored in local flsah by device end;S5 device end sends upgrading complement mark to mobile terminal APP;S6, device end run new firmware data, and wifi upgrading is completed.The present invention can solve due to the excessive caused communication restricted problem of data volume.
Description
Technical field
The invention belongs to fields of communication technology, and in particular to a kind of upgrading side device end wifi based on the transmission of big file
Method.
Background technique
More and more, live from family to industrial construction, function of the user to intelligent terminal is used with intelligent terminal
Demand is also increasingly harsher.When if there is function upgrading demand, the cumbersome increase with cost of wired upgrading mode bring,
People cannot receive, a kind of remote upgrade ability of terminal mode that necessarily everybody approves.Traditional short-distance wireless communication
Mode includes Bluetooth communication and wifi communication, based on the considerations of transmission range, communication reliability, transmission rate, the communication of wifi
Scheme is with greater advantage.Intelligent terminal is applied comprehensive, brings the increasing of internal executable data file itself, far
The dependence of journey large data files transmittability is reinforced therewith.Intelligent terminal usually all has upgrade file when being upgraded
Big feature, and when being communicated by wifi, if amount of communication data excessive the problem of frequently can lead to communication limitation, thus shadow
Ring the upgrading efficiency of intelligent terminal.
Summary of the invention
The present invention overcomes the shortcomings of the prior art, technical problem to be solved are as follows: provides a kind of based on big file
The intelligent terminal wifi upgrade method of transmission, to solve intelligent terminal in upgrading due to the excessive caused communication limitation of data volume
Problem.
In order to solve the above-mentioned technical problem, a kind of the technical solution adopted by the present invention are as follows: equipment based on the transmission of big file
Terminal wifi upgrade method, the device end are upgraded by mobile terminal APP, and the wifi upgrade method includes following
Step:
When S1, mobile terminal APP detect that new version occurs, user is prompted to upgrade;
After S2, user's selection upgrade, upgrade file is downloaded to mobile phone sheet from server on backstage by mobile terminal APP
Ground storage;
The hot spot ssid that S3, the front end mobile terminal APP presentation device terminal create, user confirm connection device end creation
Hot spot ssid after, APP send request command arrive device end, with device end progress three-way handshake;
S4, after shaking hands successfully, device end carries out communication preparation, and mobile terminal APP sends authentication, and device end is tested
After card passes through, request of data is sent to mobile terminal APP, after mobile terminal APP receives request of data, is sent to device end
The data received are stored in local flsah by data, device end;
After S5, data are sent completely, device end sends upgrading complement mark to mobile terminal APP, and mobile terminal APP is rung
Answer ok;
S6, device end run new firmware data, and wifi upgrading is completed.
The step S3 specifically: the hot spot ssid of the front end mobile terminal APP presentation device terminal creation, user, which confirms, to be connected
After the hot spot ssid for connecing device end creation, APP sends request command and carries out authentication to device end, after being verified,
Device end sends FirUp Ack and responds to mobile terminal APP, and mobile terminal app is sent again responds Ack to device end,
It then shakes hands success.
The step S4 specifically includes the following steps:
After shaking hands successfully, device end carries out upgrading preparation, and mobile terminal APP sends identity after waiting 10s again
Verifying after device end is verified, directly sends data 1 to mobile terminal APP and receives request, mobile terminal APP is to equipment
Terminal sends data 1;Device end carries out after verifying successfully data 1, and the specified position flash is written;Then device end is again
Secondary directly to request to mobile terminal APP transmission data 2, mobile terminal APP sends data 2 to device end;Device end logarithm
It is carried out after verifying successfully according to 2, the specified position flash is written;The above process is recycled, until total data is sent completely.
The mobile terminal APP is mounted on mobile phone or tablet computer.
The device end includes wifi router and intelligent sound box.
The mobile terminal APP can bind multiple equipment terminal, and the device end is encrypted by the IMEI of itself and generated
Hot spot ssid when the device end is connect with mobile terminal, carries out authentication by ssid.
Compared with the prior art, the invention has the following beneficial effects: good based on wifi long transmission distance itself, security type
The fast advantage with transmission rate, the program are guaranteeing also to have taken into account firmware data safety while upgrading efficiency.To big file liter
When grade, the program can be solved perfectly due to the excessive caused communication restricted problem of data volume.The entire communication of app and equipment end,
The complete reliability of communication is also fully considered in the design of agreement, for example the identity of app and equipment end is tested before connection setup
Card, the three-way handshake of communication, the verification of protocol data, the error in data transmission procedure re-request.
Detailed description of the invention
Fig. 1 is the communication process schematic diagram of the embodiment of the present invention;
Fig. 2 is the data transmission stream journey schematic diagram of the embodiment of the present invention.
Specific embodiment
To keep technical solution of the present invention and advantage clearer, below in conjunction with specific embodiments and the drawings, to this hair
Bright technical solution is clearly and completely described, it is clear that and described embodiment is a part of the embodiments of the present invention, and
The embodiment being not all of;Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work
Under the premise of every other embodiment obtained, shall fall within the protection scope of the present invention.
As illustrated in fig. 1 and 2, the embodiment of the invention provides a kind of upgrading sides device end wifi based on the transmission of big file
Method, the device end are upgraded by mobile terminal APP, the wifi upgrade method the following steps are included:
S1, when there is new version publication, firmware is uploaded to server and mentions when mobile terminal APP detects that new version occurs
Show that user upgrades.
After S2, user's selection upgrade, upgrade file is downloaded to mobile phone sheet from server on backstage by mobile terminal APP
Ground storage.Wherein, when having upgrade request, before the wifi hotspot for being not attached to equipment creation, upgrade file is passed through http by app
Mobile phone is downloaded to be locally stored;
The hot spot ssid that S3, the front end mobile terminal APP presentation device terminal create, user confirm connection device end creation
Hot spot ssid after, mobile terminal APP send request command arrive device end, with device end progress three-way handshake.
Wherein, as illustrated in fig. 1 and 2, mobile terminal APP and device end carry out the detailed process of three-way handshake are as follows: mobile
The hot spot ssid of the front end terminal APP presentation device terminal creation, after user confirms the hot spot ssid of connection device end creation,
APP sends request command and carries out authentication to device end, and after being verified, device end sends FirUp Ack and responds to
Mobile terminal APP, mobile terminal app send again response Ack to device end, then success of shaking hands.
S4, after shaking hands successfully, device end carries out communication preparation, and mobile terminal APP sends authentication, and device end is tested
After card passes through, request of data is sent to mobile terminal APP, after mobile terminal APP receives request of data, is sent to device end
The data received are stored in local flsah by data, device end.
Wherein, as illustrated in fig. 1 and 2, mobile terminal APP sends the detailed process of data are as follows: after shaking hands successfully, device end
Upgrading preparation is carried out, mobile terminal APP sends authentication after waiting 10s again, after device end is verified, directly
Data 1 are sent to mobile terminal APP and receive request, and mobile terminal APP sends data 1 to device end;Device end is to data 1
It carries out after verifying successfully, the specified position flash is written;Then device end directly sends data 2 to mobile terminal APP again and asks
It asks, mobile terminal APP sends data 2 to device end;Device end carries out after verifying successfully data 2, and specified flash is written
Position;The above process is recycled, device end directly sends data N request to mobile terminal APP again, and mobile terminal APP is to setting
Standby terminal sends data N, until total data is sent completely.
After S5, data are sent completely, device end sends upgrading complement mark to mobile terminal APP, and mobile terminal APP is rung
Answer ok;
S6, device end run new firmware data, and wifi upgrading is completed.
Wherein, in the embodiment of the present invention, the mobile terminal APP is mounted on mobile phone or tablet computer, and the movement is whole
End includes ios and android mobile terminal.
In addition, the device end includes wifi router, intelligent sound box.That is, the upgrading side wifi of the invention
Method can be used for the escalation process of various intelligent terminals.
The mobile terminal APP can bind multiple equipment terminal, but the same time can only select one of them to be upgraded.
Each equipment has exclusive IMEI, is encrypted according to IMEI and generates hot spot ssid, and the wifi server of creation connects without password
It needs to carry out authentication to ssid when connecing.
The invention proposes a kind of device end wifi upgrade methods based on the transmission of big file, pass through mobile terminal APP
Then the upgrade file is transmitted to device end using wifi by downloading upgrade file in advance, this method is based on wifi itself and passes
The advantage that defeated distance is remote, security type is good and transmission rate is fast is guaranteeing also to have taken into account firmware data safety while upgrading efficiency.
When to big document upgrading, the program can be solved perfectly due to the excessive caused communication restricted problem of data volume.Mobile terminal app and
The entire communication of device end has also fully considered the complete reliability of communication in the design of agreement, such as before connection setup
Error in the verification of the three-way handshake, protocol data of authentication, the communication of app and equipment end, data transmission procedure is again
Request.
The embodiment of the present invention is explained in detail above in conjunction with attached drawing, but the present invention is not limited to above-mentioned implementations
Example, within the knowledge of a person skilled in the art, can also make without departing from the purpose of the present invention
Various change out.
Claims (6)
1. a kind of device end wifi upgrade method based on the transmission of big file, which is characterized in that the device end passes through shifting
Dynamic terminal APP is upgraded, the wifi upgrade method the following steps are included:
When S1, mobile terminal APP detect that new version occurs, user is prompted to upgrade;
After S2, user's selection upgrade, upgrade file is downloaded to mobile phone from server on backstage and locally deposited by mobile terminal APP
Storage;
The hot spot ssid that S3, the front end mobile terminal APP presentation device terminal create, user confirm the heat of connection device end creation
After point ssid, APP sends request command to device end, carries out three-way handshake with device end;
S4, after shaking hands successfully, device end carries out communication preparation, and mobile terminal APP sends authentication, and device end verifying is logical
Later, request of data is sent to mobile terminal APP, after mobile terminal APP receives request of data, sends number to device end
According to the data received are stored in local flsah by device end;
After S5, data are sent completely, device end sends upgrading complement mark, mobile terminal APP response to mobile terminal APP
ok;
S6, device end run new firmware data, and wifi upgrading is completed.
2. a kind of device end wifi upgrade method based on the transmission of big file according to claim 1, which is characterized in that
The step S3 specifically: the hot spot ssid of the front end mobile terminal APP presentation device terminal creation, user confirm that connection equipment is whole
After the hot spot ssid for holding creation, APP sends request command and carries out authentication, after being verified, device end to device end
It sends FirUp Ack and responds to mobile terminal APP, mobile terminal app sends response Ack to device end again, then shakes hands into
Function.
3. a kind of device end wifi upgrade method based on the transmission of big file according to claim 1, which is characterized in that
The step S4 specifically includes the following steps:
After shaking hands successfully, device end carries out upgrading preparation, and mobile terminal APP sends authentication after waiting 10s again,
After device end is verified, data 1 directly are sent to mobile terminal APP and receive request, mobile terminal APP is sent out to device end
Send data 1;Device end carries out after verifying successfully data 1, and the specified position flash is written;Then device end is direct again
It sends data 2 to mobile terminal APP to request, mobile terminal APP sends data 2 to device end;Device end carries out data 2
After verifying successfully, the specified position flash is written;The above process is recycled, until total data is sent completely.
4. a kind of device end wifi upgrade method based on the transmission of big file according to claim 1, which is characterized in that
The mobile terminal APP is mounted on mobile phone or tablet computer.
5. a kind of device end wifi upgrade method based on the transmission of big file according to claim 1, which is characterized in that
The device end includes wifi router and intelligent sound box.
6. a kind of device end wifi upgrade method based on the transmission of big file according to claim 1, which is characterized in that
The mobile terminal APP can bind multiple equipment terminal, and the device end generates hot spot ssid by the IMEI encryption of itself,
When the device end is connect with mobile terminal, authentication is carried out by ssid.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811300960.4A CN109495644A (en) | 2018-11-02 | 2018-11-02 | A kind of device end wifi upgrade method based on the transmission of big file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811300960.4A CN109495644A (en) | 2018-11-02 | 2018-11-02 | A kind of device end wifi upgrade method based on the transmission of big file |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109495644A true CN109495644A (en) | 2019-03-19 |
Family
ID=65692297
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811300960.4A Pending CN109495644A (en) | 2018-11-02 | 2018-11-02 | A kind of device end wifi upgrade method based on the transmission of big file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109495644A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112187531A (en) * | 2020-09-17 | 2021-01-05 | 青岛海尔科技有限公司 | Module upgrading method and system, storage medium and electronic device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102222010A (en) * | 2011-06-21 | 2011-10-19 | 中兴通讯股份有限公司 | Edition upgrading method of mobile terminal and implement system thereof |
CN104915237A (en) * | 2015-06-24 | 2015-09-16 | 深圳市兰丁科技有限公司 | Upgrading method and upgrading control method of Bluetooth device firmware program, and equipment |
CN105608364A (en) * | 2015-12-16 | 2016-05-25 | 北京奇虎科技有限公司 | Application security protection method and apparatus |
CN106126293A (en) * | 2016-06-30 | 2016-11-16 | 深圳市合元科技有限公司 | Electronic cigarette firmware upgrade method and system |
CN106415490A (en) * | 2015-09-24 | 2017-02-15 | 广东欧珀移动通信有限公司 | Mobile terminal, power supply adapter and upgrading method thereof |
CN107065578A (en) * | 2016-12-28 | 2017-08-18 | 北京极科极客科技有限公司 | A kind of App controls the method and system of smart home |
CN107239302A (en) * | 2017-05-10 | 2017-10-10 | 努比亚技术有限公司 | A kind of firmware upgrade method, terminal and server |
CN108459865A (en) * | 2018-01-25 | 2018-08-28 | 成都贝发信息技术有限公司 | A kind of newer detection method of application APP |
-
2018
- 2018-11-02 CN CN201811300960.4A patent/CN109495644A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102222010A (en) * | 2011-06-21 | 2011-10-19 | 中兴通讯股份有限公司 | Edition upgrading method of mobile terminal and implement system thereof |
CN104915237A (en) * | 2015-06-24 | 2015-09-16 | 深圳市兰丁科技有限公司 | Upgrading method and upgrading control method of Bluetooth device firmware program, and equipment |
CN106415490A (en) * | 2015-09-24 | 2017-02-15 | 广东欧珀移动通信有限公司 | Mobile terminal, power supply adapter and upgrading method thereof |
CN105608364A (en) * | 2015-12-16 | 2016-05-25 | 北京奇虎科技有限公司 | Application security protection method and apparatus |
CN106126293A (en) * | 2016-06-30 | 2016-11-16 | 深圳市合元科技有限公司 | Electronic cigarette firmware upgrade method and system |
CN107065578A (en) * | 2016-12-28 | 2017-08-18 | 北京极科极客科技有限公司 | A kind of App controls the method and system of smart home |
CN107239302A (en) * | 2017-05-10 | 2017-10-10 | 努比亚技术有限公司 | A kind of firmware upgrade method, terminal and server |
CN108459865A (en) * | 2018-01-25 | 2018-08-28 | 成都贝发信息技术有限公司 | A kind of newer detection method of application APP |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112187531A (en) * | 2020-09-17 | 2021-01-05 | 青岛海尔科技有限公司 | Module upgrading method and system, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019149036A1 (en) | Mesh network and mesh device and network distribution method thereof | |
CN103428696B (en) | Virtual SIM card achieving method and system and relevant device | |
CN105472595B (en) | Mobile radio communication device, server and method for controlling them | |
JP5513527B2 (en) | Application download system and application download method | |
CN105992306B (en) | Binding method of terminal and home gateway | |
CN102752375B (en) | Realize the remote-operated method and system of smart card | |
CN103458057B (en) | Resource acquiring method, device and server | |
EP3134976A1 (en) | Systems and methods for short range wireless data transfer | |
CN105450617A (en) | Payment validation method, device and system | |
CN108702624A (en) | Method of mobile communication, device and equipment | |
CN104936178A (en) | Wireless power transmitting devices, methods for signaling access information for a wireless communication network and method for authorizing a wireless power receiving device | |
CN104717218A (en) | Wifi certification system and method | |
WO2018121272A1 (en) | Firmware upgrade method, device and system | |
JP5952973B2 (en) | Mutual authentication method between terminal and remote server via third-party portal | |
CN109561413B (en) | Bluetooth authentication and authorization method and system of BLE equipment | |
CN106161385A (en) | The long-range control method of a kind of equipment and device | |
WO2017097129A1 (en) | Method and apparatus for establishing short-distance wireless channel | |
CN103906170A (en) | Method for setting hardware Wi-Fi access point information | |
CN105491034A (en) | Method for establishing connection with terminal and terminal authentication method and apparatus | |
WO2018196463A1 (en) | Method and apparatus for network access, storage medium, and processor | |
CN104461616A (en) | Updating method and system of software of chip card | |
CN106452763A (en) | Method for employing cipher key through remote virtual USB device | |
CN115915492A (en) | Communication method and system among distributed devices and related devices | |
CN107211265A (en) | The safety interacting method and device of a kind of terminal room | |
EP3174357A1 (en) | Method for accessing lte network, electronic device, and computing storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190319 |