CN104065724A - Method for carrying out wireless upgrade on monitor terminal device through mobile phone - Google Patents
Method for carrying out wireless upgrade on monitor terminal device through mobile phone Download PDFInfo
- Publication number
- CN104065724A CN104065724A CN201410289141.XA CN201410289141A CN104065724A CN 104065724 A CN104065724 A CN 104065724A CN 201410289141 A CN201410289141 A CN 201410289141A CN 104065724 A CN104065724 A CN 104065724A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- firmware
- monitoring terminal
- terminal equipment
- upgrading
- 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
Abstract
The invention provides a method for carrying out wireless upgrade on a monitor terminal device through a mobile phone. The mobile phone is utilized as an intermediate medium, and relevant firmware upgrade programs of a monitor terminal device is remotely pushed to an intelligent mobile phone from a firmware downloading server; then, the mobile phone is utilized as a carrier and is connected to a monitor terminal device to be upgraded in the same local area network in a WIFI manner; and finally, the firmware upgrade in the local area network is started through mobile phone side software. The operation safety of the method in the invention is basically consistent with that of the method where upgrading is done by enabling a PC side to be connected to the local area network in a wired manner, but the convenience and optimized user experience brought about in the method is much more than that with the PC side upgrading method; and the method in the invention is very suitable for user self-upgrading of consumption-type monitor terminal devices. The intelligent mobile phone is utilized to enable the operation convenient; the good-user-experience tool can solve the problems that firmware upgrading of the monitor terminal device with a conventional method is tedious and complex, high in expertise and difficult to operate easily and conveniently; and even non-professionals can also carry out upgrade themselves easily.
Description
Technical field
The present invention relates to a kind of method for upgrading software, be specifically related to a kind of method of radio upgrade of monitoring terminal equipment being carried out by mobile phone, belong to wireless remote software upgrading technical field.
Background technology
Along with the development of Internet service and the continuous lifting of mechanics of communication, digitized video monitoring terminal equipment based on pure IP link is applied at increasing environment and industry, and progressively become the main product of protection and monitor field, meanwhile, traditional simulation security product is also just progressively eliminated by mainstream market.
Yet, various video monitoring equipments are limited to stability and cost, and memory space and master control SOC (System onChip, SOC (system on a chip) or system level chip) performance of chip, even if need to carry out firmware upgrade to its built-in master control SOC chip, also often need to carry out localization by PC (computer) and connect realization upgrading.Therefore,, once be applied to after field of consumer electronics when product, if need to carry out firmware upgrade to video monitoring equipment, need staff to carry relevant device and go subscriber household to make house calls.In general, traditional pass through PC wired connection to realize the mode of firmware upgrade comparatively loaded down with trivial details, and highly professional, and be not suitable for non-specialized-technical librarian use, thereby become monitoring terminal equipment, enter one of consumer electronics market and hinder greatly.
Along with the 4G arrival in communication epoch, various video monitoring products are all checked support mobile phone terminal.Therefore, utilize mobile phone as an intermediate medium, be pushed to a smart mobile phone by relevant monitor terminal firmware upgrade procedure is long-range, again by this mobile phone as carrier, by WIFI mode, be connected to the equipment to be upgraded in same local area network (LAN), and finally by mobile phone side software (APP), start firmware upgrade in local area network (LAN), to be typically wire connected in local area network (LAN) upgrading basically identical with carrying out PC end for its processing safety, but the convenience that it brings and the user of optimization experience the PC end upgrading mode that is far longer than, be applicable to being very much applied to the user of video monitoring product in consumer (domestic consumer) market from upgrading.
Summary of the invention
The object of the invention is need to adopt wired connection mode for overcoming current monitoring terminal equipment firmware upgrade, process is loaded down with trivial details, uses inconvenient shortcoming.
For achieving the above object, the present invention is by the following technical solutions:
By mobile phone, monitoring terminal equipment is carried out a method for radio upgrade, by firmware downloads unit and two software modules of upgrading control unit of being located in mobile phone, realizes, first move firmware downloads unit, comprise the following steps:
201: to firmware downloads server, send firmware version inquiry request, and the version of existing firmware in detection of handset;
202: by the version of existing firmware in mobile phone with from firmware downloads server lookup to firmware version compare, as identical, exit, as difference enters next step;
203: from firmware downloads server, download latest edition firmware to mobile phone ROM;
204: downloaded firmware file is carried out to integrality effect;
Then move upgrading control unit, comprise the following steps:
301: check whether mobile phone is operated under charge mode, in this way, enters next step;
302: check the whether opened WIFI of mobile phone and by WIFI, be connected to the local area network (LAN) at monitoring terminal equipment place, in this way, enter next step;
303: search the monitoring terminal equipment mating in local area network (LAN), as found, exist and be connected to this monitoring terminal equipment;
304: the firmware version of monitoring terminal equipment in check local area network (LAN), as the firmware version in monitoring terminal equipment with from firmware downloads server lookup to firmware version identically exit, as difference enters next step;
305: call the corresponding updating protocol of SOC main control chip and interface startup upgrading in monitoring terminal equipment.
The operating system of described mobile phone adopts Android (operating system of Google company exploitation) or iOS (American apple company Mobile operating system).
The operating system of described monitoring terminal equipment adopts Linux.
Described monitoring terminal equipment is network video monitor terminal.
Along with the 4G arrival in communication epoch, various monitoring terminal equipments are all checked support mobile phone terminal.The present invention utilizes mobile phone as an intermediate medium, relevant monitoring terminal equipment firmware upgrade procedure is pushed to a smart mobile phone from firmware downloads server is long-range, again by this mobile phone as carrier, by WIFI mode, be connected to the monitoring terminal equipment to be upgraded in same local area network (LAN), and finally by mobile phone side software, start firmware upgrade in local area network (LAN), to be typically wire connected in local area network (LAN) upgrading basically identical with carrying out PC end for its processing safety, but the convenience that it brings and the user of optimization experience the PC end upgrading mode that is far longer than, the user who is applicable to being very much applied to consumer monitoring terminal equipment is from upgrading.This is easy to operate to utilize smart mobile phone, and user experiences loaded down with trivial details, the highly professional unworkable problem that good instrument can solve traditional monitoring terminal equipment firmware upgrade simply and easily, even can make layman also can easily go up manual manipulation.
Accompanying drawing explanation
Fig. 1: theory diagram of the present invention;
Fig. 2: the operational flowchart of firmware downloads unit.
Fig. 3: the operational flowchart of upgrading control unit.
Embodiment
Below in conjunction with accompanying drawing, the present invention will be further described:
As shown in Figure 1, the present invention is mainly comprised of two kernel software functional modules that run in mobile phone, and the one, firmware downloads unit, this unit is responsible for, from firmware downloads server, firmware upgrade bag is downloaded to user mobile phone end through WIFI or 3G/4G network; Another is upgrading control unit, is responsible in local area network (LAN) the monitoring terminal equipment of the need upgrading of search coupling, as network video monitor terminal, and calls in this terminal updating protocol in SOC chip standard local area network (LAN) and completes firmware upgrade to control it.Mobile phone adopts Android operating system.
As shown in Figure 2, the concrete implementation step of firmware downloads unit is as follows:
Step 201: first to firmware downloads server, send firmware version inquiry request, and the firmware version number of possessing in detection of handset, to determine whether to need renewal.
Mobile phone A PP (application program) calls server_connect () interface and sends Socket connection request to firmware downloads server, after receiving return value " connect_ok ", call server_getid () interface and send version querying request command " get_ver " to firmware downloads server, obtain latest version information, firmware downloads server returns to firmware version number information to mobile phone.
Step 202: by the version of existing firmware in mobile phone with from firmware downloads server lookup to firmware version compare, as being up-to-date, both are identical, exit upgrading, upgrade version firmware exist as found that there is, both are different, enter next step.
Mobile phone A PP calls the firmware version information that check_id () interface deposits in by this version information and mobile phone and compares after obtaining the version number that firmware downloads server issues, to judge whether to need upgrading.
Step 203: download latest edition firmware to mobile phone ROM from firmware downloads server.
If need upgrading, call server_getnew () interface and obtain up-to-date firmware, and downloaded stored is to mobile phone.
Step 204: downloaded firmware file is carried out to integrality effect, to determine whether propelling movement correctly completes.Can complete by modes such as MD5 or SHA1.
After firmware downloads is complete, call MD5_CHECK () function and check its integrality, if return==ok, effect is passed through, and can carry out next step upgrading.If find, institute's download firmware version is imperfect, returns to previous step and again downloads this firmware file.At latest firmware file, be successfully downloaded to after mobile phone ROM, escalation process enters the workflow of next Service Processing Unit-upgrading control unit.
As shown in Figure 3, the concrete implementation step of upgrading control unit is as follows:
Step 301: check whether mobile phone is operated under power supply access (charging) pattern, can not cause upgrading unsuccessfully because of mobile phone power-off guaranteeing in escalation process.
Call power supply and detect interface,
If(get_powerstate()==onpower)
{
Prepare to start upgrading
}。
Step 302: check the whether opened WIFI of mobile phone and be connected to the local area network (LAN) at Video Monitoring Terminal place by WIFI.
Call wifi and detect interface,
If(get_wifistate()==open)
{
Prepare to start upgrading
}。
Step 303: search the Video Monitoring Terminal mating in local area network (LAN), as discovering device exists, be connected to this equipment preparation upgrading.
If (client_serch () unequal to NULL) // the search terminal of coupling
{
Prepare to start upgrading
}。
Step 304: the firmware version number of Video Monitoring Terminal to be upgraded in check local area network (LAN), to determine whether it needs to carry out firmware upgrade.As found, the firmware version in this terminal is legacy version, needs upgrading, enters next step; Otherwise exit flow process.
Whether if (check_id () unequal to newid) // inspection terminal is up-to-date version number
{
Prepare to start upgrading
}。
Step 305: call the corresponding updating protocol of SOC main control chip and interface startup upgrading in terminal.
Call client_update () and start upgrading
In terminal, return after the complete return value of correct upgrading, complete all upgrade job flow processs, otherwise return, upgrade unsuccessfully, exit application.
That the present invention can realize is easily that the Video Monitoring Terminal of remote upgrade carries out supporting without PC to not supporting by smart mobile phone, without firmware upgrade in the local area network (LAN) of wired connection, thereby greatly simplified the workflow that Video Monitoring Terminal equipment carries out firmware upgrade, also broken away from traditional SOC firmware upgrade and need pass through the limitation of wired connection mode.
Claims (4)
1. by mobile phone, monitoring terminal equipment is carried out a method for radio upgrade, it is characterized in that: by firmware downloads unit and two software modules of upgrading control unit of being located in mobile phone, realize, first move firmware downloads unit, comprise the following steps:
201: to firmware downloads server, send firmware version inquiry request, and the version of existing firmware in detection of handset;
202: by the version of existing firmware in mobile phone with from firmware downloads server lookup to firmware version compare, as identical, exit, as difference enters next step;
203: from firmware downloads server, download latest edition firmware to mobile phone ROM;
204: downloaded firmware file is carried out to integrality effect, as imperfect, return to previous step and again download;
Then move upgrading control unit, comprise the following steps:
301: check whether mobile phone is operated under charge mode, in this way, enters next step;
302: check the whether opened WIFI of mobile phone and by WIFI, be connected to the local area network (LAN) at monitoring terminal equipment place, in this way, enter next step;
303: search the monitoring terminal equipment mating in local area network (LAN), as found, exist and be connected to this monitoring terminal equipment;
304: the firmware version of monitoring terminal equipment in check local area network (LAN), as the firmware version in monitoring terminal equipment with from firmware downloads server lookup to firmware version identically exit, as difference enters next step;
305: call the corresponding updating protocol of SOC main control chip and interface startup upgrading in monitoring terminal equipment.
2. the method for radio upgrade of monitoring terminal equipment being carried out by mobile phone according to claim 1, is characterized in that: the operating system of described mobile phone adopts Android or iOS.
3. the method for radio upgrade of monitoring terminal equipment being carried out by mobile phone according to claim 1, is characterized in that: the operating system of described monitoring terminal equipment adopts Linux.
4. according to the mobile phone that passes through described in claim 1-3 any one, monitoring terminal equipment is carried out to the method for radio upgrade, it is characterized in that: described monitoring terminal equipment is network video monitor terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410289141.XA CN104065724A (en) | 2014-06-25 | 2014-06-25 | Method for carrying out wireless upgrade on monitor terminal device through mobile phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410289141.XA CN104065724A (en) | 2014-06-25 | 2014-06-25 | Method for carrying out wireless upgrade on monitor terminal device through mobile phone |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104065724A true CN104065724A (en) | 2014-09-24 |
Family
ID=51553251
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410289141.XA Pending CN104065724A (en) | 2014-06-25 | 2014-06-25 | Method for carrying out wireless upgrade on monitor terminal device through mobile phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104065724A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105278595A (en) * | 2015-11-25 | 2016-01-27 | 北方民族大学 | Crops storage environment monitoring system |
CN106033204A (en) * | 2015-03-11 | 2016-10-19 | 郭小璇 | Network-based management control system and method for robot program updating |
CN106126293A (en) * | 2016-06-30 | 2016-11-16 | 深圳市合元科技有限公司 | Electronic cigarette firmware upgrade method and system |
CN109218520A (en) * | 2018-08-14 | 2019-01-15 | 南京英安特科技实业有限公司 | A method of realizing that alarm host machine remotely programs and upgrades by cell phone application |
US10394572B2 (en) | 2015-09-24 | 2019-08-27 | Guangdong Oppo Mobile Telecommunications Corp. Ltd. | Power adapter and method for upgrading the power adapter |
CN110286923A (en) * | 2019-05-31 | 2019-09-27 | 重庆海德世拉索系统(集团)有限公司 | Based on cloud to the method for vehicle electronic control unit system upgrade |
CN111443931A (en) * | 2020-03-26 | 2020-07-24 | 杭州涂鸦信息技术有限公司 | Method and system for upgrading equipment |
CN115904457A (en) * | 2023-03-01 | 2023-04-04 | 江苏安世朗智能科技有限公司 | Internet of things-based computer firmware remote upgrading system and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040184063A1 (en) * | 2000-10-03 | 2004-09-23 | Baldwin Marie Ann | Apparatus for and method of updating a device driver from a local resource |
CN1773455A (en) * | 2004-11-11 | 2006-05-17 | 乐金电子(中国)研究开发中心有限公司 | Upgrading system and method for electronic product firmware utilizing intelligent cell phone |
CN1776618A (en) * | 2004-11-20 | 2006-05-24 | 三星电子株式会社 | Method for upgrading firmware of image forming device using mobile terminal |
CN101610501A (en) * | 2009-07-16 | 2009-12-23 | 中兴通讯股份有限公司 | Device firmware upgrade system and method, device management server and portable terminal |
-
2014
- 2014-06-25 CN CN201410289141.XA patent/CN104065724A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040184063A1 (en) * | 2000-10-03 | 2004-09-23 | Baldwin Marie Ann | Apparatus for and method of updating a device driver from a local resource |
CN1773455A (en) * | 2004-11-11 | 2006-05-17 | 乐金电子(中国)研究开发中心有限公司 | Upgrading system and method for electronic product firmware utilizing intelligent cell phone |
CN1776618A (en) * | 2004-11-20 | 2006-05-24 | 三星电子株式会社 | Method for upgrading firmware of image forming device using mobile terminal |
CN101610501A (en) * | 2009-07-16 | 2009-12-23 | 中兴通讯股份有限公司 | Device firmware upgrade system and method, device management server and portable terminal |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106033204A (en) * | 2015-03-11 | 2016-10-19 | 郭小璇 | Network-based management control system and method for robot program updating |
US10394572B2 (en) | 2015-09-24 | 2019-08-27 | Guangdong Oppo Mobile Telecommunications Corp. Ltd. | Power adapter and method for upgrading the power adapter |
CN105278595A (en) * | 2015-11-25 | 2016-01-27 | 北方民族大学 | Crops storage environment monitoring system |
CN106126293A (en) * | 2016-06-30 | 2016-11-16 | 深圳市合元科技有限公司 | Electronic cigarette firmware upgrade method and system |
CN109218520A (en) * | 2018-08-14 | 2019-01-15 | 南京英安特科技实业有限公司 | A method of realizing that alarm host machine remotely programs and upgrades by cell phone application |
CN110286923A (en) * | 2019-05-31 | 2019-09-27 | 重庆海德世拉索系统(集团)有限公司 | Based on cloud to the method for vehicle electronic control unit system upgrade |
CN111443931A (en) * | 2020-03-26 | 2020-07-24 | 杭州涂鸦信息技术有限公司 | Method and system for upgrading equipment |
CN115904457A (en) * | 2023-03-01 | 2023-04-04 | 江苏安世朗智能科技有限公司 | Internet of things-based computer firmware remote upgrading system and method |
CN115904457B (en) * | 2023-03-01 | 2024-01-30 | 江苏安世朗智能科技有限公司 | Remote upgrading system and method for computer firmware based on Internet of things |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104065724A (en) | Method for carrying out wireless upgrade on monitor terminal device through mobile phone | |
CN105592479A (en) | Method for performing wireless upgrading on monitoring terminal device through mobile phone | |
US20190238626A1 (en) | System and method for appliance detection and app configuration | |
CN105282583B (en) | A kind of remote controler intelligent Matching system and implementation method | |
CN108023778A (en) | Firmware upgrade method and its system | |
CN106031092A (en) | Gateway management using virtual gateways and wildcards | |
CN103685458A (en) | System for managing home appliances and push service method thereof | |
CN104199706A (en) | Firmware upgrade method and device for eMMC | |
US20120154172A1 (en) | Remote operation and monitoring of measurement systems and remote measurement data processing | |
US20150205316A1 (en) | Apparatus and method for managing energy information profile of home based on smart plug | |
CN102595384A (en) | Method and device for software updating, mobile terminal and system thereof | |
CN105425065A (en) | Intelligent household electrical appliance automatic production test system and method | |
CN104468260A (en) | Recognition method, device and system for mobile terminal device | |
CN104023257A (en) | Method and system for controlling television terminal by means of mobile terminal | |
CN105487877A (en) | Version updating method, system and base station | |
CN104360598A (en) | HTML5 based intelligent household movement control system and method | |
CN104615464A (en) | Updating method, device and system for wearable equipment | |
CN104991806A (en) | Remote firmware upgrading system and method for single-chip microcomputer program | |
CN109688427A (en) | A kind of smart television and its system repair | |
TWI482461B (en) | Device management system and method | |
CN103634173B (en) | Electronic apparatus activating controls equipment, system, methods and procedures | |
US20170374045A1 (en) | Systems and methods for implementing a proximity lock using bluetooth low energy | |
US20150178068A1 (en) | Electric product and method for updating firmware of the same | |
CN105429847A (en) | Client side display head portrait setting method and device | |
CN104462197A (en) | Method for obtaining information from print data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140924 |