CN109218520A - A method of realizing that alarm host machine remotely programs and upgrades by cell phone application - Google Patents
A method of realizing that alarm host machine remotely programs and upgrades by cell phone application Download PDFInfo
- Publication number
- CN109218520A CN109218520A CN201810920331.5A CN201810920331A CN109218520A CN 109218520 A CN109218520 A CN 109218520A CN 201810920331 A CN201810920331 A CN 201810920331A CN 109218520 A CN109218520 A CN 109218520A
- Authority
- CN
- China
- Prior art keywords
- host machine
- alarm host
- mobile phone
- alarm
- user
- 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/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72415—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- 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
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention relates to safety precaution industries, and in particular to a method of realize that alarm host machine remotely programs and upgrades by cell phone application;Including mechanical floor and software layer;The mechanical floor includes server, the network switch, wireless router, mobile phone, at least one alarm host machine;All alarm host machines are connected to local area network by the network switch and router.The software layer is included self-service selection alarm host machine system, is checked and modified alarm host machine essential information system, alarm host machine In-circuit programming system using Android studio programming research and development, software layer;Alarm host machine upgrade-system.A common Android phone, which can be used, by this method can carry out that the alarm host machine being connected on the same router is programmed and is controlled.Systematic knowledge of the alarm host machine programming without profession is carried out using this method, host programs Chinese Graphicization display, and foolproof operation is not necessarily to specific purpose tool, only needs an APP software.
Description
Technical field
The present invention relates to safety precaution industries, and in particular to one kind by cell phone application realize alarm host machine remotely program with
The method of upgrading.
Background technique
With the improvement of living standards, the awareness of safety of people is also constantly enhancing, this provides good for security industry
Good development environment and wide development space.Mainly there are programming two kinds of keyboard, programming software sides to alarm host machine programming at present
Method, both modes are more professional, need to have certain programming professional knowledge, and it is more difficult to get started.In addition to alarm host machine firmware
Upgrading then requires higher, needs to have the upgrading recording device (such as: ST-LINK, J-LINK etc.) of profession, then cooperates introduction door
The higher upgrading software operation firmware upgrading of sill, it is careless slightly, upgrading failure is also resulted in, system crash etc. surprisingly occurs.
Therefore need it is a kind of it is more convenient, can be realized through mobile phone and uniformly complete the programming, test, cloth of alarm host machine/withdraw a garrison
The method of equal work.
Summary of the invention
1, technical problem to be solved:
To solve the above-mentioned problems, this method provides a kind of side for realizing that alarm host machine remotely programs and upgrades by cell phone application
Method can facilitate and realize and uniformly complete the work such as the programming, test, cloth of alarm host machine/withdraw a garrison by mobile phone.
2, technical solution:
A method of by cell phone application realize alarm host machine remotely program and upgrade, it is characterised in that: including mechanical floor with it is soft
Part layer;The mechanical floor includes server, the network switch, wireless router, mobile phone, at least one alarm host machine;All reports
Alert host is connected to local area network by the network switch and router.
The software layer using Android studio programming research and development, software layer include self-service selection alarm host machine system,
Check and modify alarm host machine essential information system, alarm host machine In-circuit programming system;Alarm host machine upgrade-system.
Self-service selection alarm host machine system: at least one alarm host machine is connected in the same router;Wherein each alarm
Host all store including IP address, subnet mask, gateway, DNS, MAC Address, host model, hardware version, software version, on
The essential information data packet of secondary update time;User mobile phone is searched by wireless router in WiFi connection by UDP multicast protocol
The IP of Suo Hou, all alarm host machines connected under the same router are shown on mobile phone by way of list, and in mobile phone
It is upper to be logged in by password;The user is engineer.
It checks and modifies alarm host machine essential information system: when alarm host machine in user's selective listing, being selected
The essential information data packet of alarm host machine is sent to mobile phone by WiFi, and shows in mobile phone;The wherein data packet
In MAC Address, host model, hardware version, software version, last time upgrade to a readable information, IP address, subnet mask,
Gateway, DNS are the information that user can modify;After user modifies the information of data packet, modified data packet is passed through
WiFi is sent to alarm host machine, and alarm host machine saves the data packet received to memory, and with the ginseng that works after modification
Number restarts work.
Alarm host machine In-circuit programming system: when user's selection is programmed an alarm host machine, cell phone application is with the side TCP
Formula sends the order of programming to alarm host machine, and alarm host machine identifies the order, and is changed according to the order of programming education, and will modification
Data afterwards are saved to memory.
Alarm host machine upgrade-system: mobile phone is first coupled to the upgrade port of alarm host machine, and cell phone application passes through WiFi from service
The downloading of device end obtains the corresponding firmware updating packet of host, and firmware updating packet is sent to have been selected by WiFi and needs to upgrade
Corresponding alarm host machine, and send the order of upgrading to alarm host machine, alarm host machine receives the upgrading data packet from mobile phone
After execute upgrade command;Program in host is replaced, alarm host machine restarts starting after the completion of replacement, is run with new procedures
Upgrading is completed afterwards.
Further, software layer further includes logging in system by user;Wherein user is engineer;The logging in system by user passes through close
Code logs in.
Further, further include regular check TCP state mark, when finding that TCP is in non-ESTA BL ISH ED, break
It opens router and initiates new connection, and send warning message in the mobile phone for having been coupled to the router.
Further, mobile phone sends data to alarm host machine using UDP multicast packets;Alarm host machine is sent out by UDP multicast packets
Send data to mobile phone.
Further, mobile phone sends a command to alarm host machine by Transmission Control Protocol.
3, the utility model has the advantages that
(1) a common Android phone can be used by this method can carry out to being connected on the same router
Alarm host machine is programmed and controls.Systematic knowledge of the alarm host machine programming without profession, host programming are carried out using this method
Chinese Graphicization display, foolproof operation are not necessarily to specific purpose tool, only need an APP software.
(2) host firmware updating automatic identification is compatible in the method.When mobile phone first uploads upgrade package extremely by WiFi
Whether alarm host machine buffer area, the mark that at this moment host first checks upgrade package are compatible with the host, if incompatible, host abandons the number
It according to file, returns and receives file content error message, disconnect, if the matching of hardware revision information contained by file and the school CRC
It tests correctly, set upgrading mark restarts host.Self- recoverage can be upgraded unsuccessfully.
Detailed description of the invention
Fig. 1 is the hardware connection figure of this method;
Fig. 2 is the flow chart of this method;
Fig. 3 is the schematic diagram of the data exchange of cell phone application and alarm host machine in the present invention.
Specific embodiment
It is shown in Fig. 2 such as attached drawing 1, a method of realizing that alarm host machine remotely programs and upgrades by cell phone application,
It is characterized in that: including mechanical floor and software layer;The mechanical floor include server, the network switch, wireless router, mobile phone,
At least one alarm host machine;All alarm host machines are connected to local area network by the network switch and router.
The software layer using Android studio programming research and development, software layer include self-service selection alarm host machine system,
Check and modify alarm host machine essential information system, alarm host machine In-circuit programming system;Alarm host machine upgrade-system.
Self-service selection alarm host machine system: at least one alarm host machine is connected in the same router;Wherein each alarm
Host all store including IP address, subnet mask, gateway, DNS, MAC Address, host model, hardware version, software version, on
The essential information data packet of secondary update time;User mobile phone is searched by wireless router in WiFi connection by UDP multicast protocol
The IP of Suo Hou, all alarm host machines connected under the same router are shown on mobile phone by way of list, and in mobile phone
It is upper to be logged in by password;The user is engineer.
It checks and modifies alarm host machine essential information system: when alarm host machine in user's selective listing, being selected
The essential information data packet of alarm host machine is sent to mobile phone by WiFi, and shows in mobile phone;The wherein data packet
In MAC Address, host model, hardware version, software version, last time upgrade to a readable information, IP address, subnet mask,
Gateway, DNS are the information that user can modify;After user modifies the information of data packet, modified data packet is passed through
WiFi is sent to alarm host machine, and alarm host machine saves the data packet received to memory, and with the ginseng that works after modification
Number restarts work.
Alarm host machine In-circuit programming system: when user's selection is programmed an alarm host machine, cell phone application is with the side TCP
Formula sends the order of programming to alarm host machine, and alarm host machine identifies the order, and is changed according to the order of programming education, and will modification
Data afterwards are saved to memory.
Alarm host machine upgrade-system: mobile phone is first coupled to the upgrade port of alarm host machine, and cell phone application passes through WiFi from service
The downloading of device end obtains the corresponding firmware updating packet of host, and firmware updating packet is sent to have been selected by WiFi and needs to upgrade
Corresponding alarm host machine, and send the order of upgrading to alarm host machine, alarm host machine receives the upgrading data packet from mobile phone
After execute upgrade command;Program in host is replaced, alarm host machine restarts starting after the completion of replacement, is run with new procedures
Upgrading is completed afterwards.
Further, software layer further includes logging in system by user;Wherein user is engineer;The logging in system by user passes through close
Code logs in.
Further, further include regular check TCP state mark, when finding that TCP is in non-ESTA BL ISH ED, break
It opens router and initiates new connection, and send warning message in the mobile phone for having been coupled to the router.
Further, mobile phone sends data to alarm host machine using UDP multicast packets;Alarm host machine is sent out by UDP multicast packets
Send data to mobile phone.
Further, mobile phone sends a command to alarm host machine by Transmission Control Protocol.
The alarm host machine for being connected to this router is presented on mobile phone by way of list, and user sends UDP multicast packets
Carry out selection alarm host machine;Wherein alarm host machine provides TCP service, carries out local parameter configuration and upgrading.Alarm host machine receives
When to UDP multicast packets, the essential information of alarm host machine is broadcast in mobile phone by alarm host machine by multicast packets.Mobile phone passes through UDP
Multicast packets are modified the part that can be modified in essential information and are sent in alarm host machine.Alarm host machine is by modified basic letter
Breath is saved to memory.
Although the present invention has been described by way of example and in terms of the preferred embodiments, they be not it is for the purpose of limiting the invention, it is any ripe
This those skilled in the art is practised, without departing from the spirit and scope of the invention, can make various changes or retouch from working as, therefore guarantor of the invention
Shield range should be subject to what claims hereof protection scope was defined.
Claims (5)
1. a kind of realize the alarm host machine method that remotely program and upgrade by cell phone application, it is characterised in that: including mechanical floor and
Software layer;The mechanical floor includes server, the network switch, wireless router, mobile phone, at least one alarm host machine;It is all
Alarm host machine is connected to local area network by the network switch and router;
The software layer is included self-service selection alarm host machine system, is checked using Android studio programming research and development, software layer
And modification alarm host machine essential information system, alarm host machine In-circuit programming system;Alarm host machine upgrade-system;
Self-service selection alarm host machine system: at least one alarm host machine is connected in the same router;Wherein each alarm host machine
All storage includes IP address, subnet mask, gateway, DNS, MAC Address, host model, hardware version, software version, last time liter
The essential information data packet of grade time;User mobile phone is searched for by wireless router in WiFi connection by UDP multicast protocol
Afterwards, the IP of all alarm host machines connected under the same router is shown on mobile phone by way of list, and on mobile phone
It is logged in by password;The user is engineer;
Check and modify alarm host machine essential information system: when alarm host machine in user's selective listing, the alarm that is selected
The essential information data packet of host is sent to mobile phone by WiFi, and shows in mobile phone;Wherein in the data packet
MAC Address, host model, hardware version, software version, last time upgrade to a readable information, IP address, subnet mask, gateway,
DNS is the information that user can modify;After user modifies the information of data packet, modified data packet is sent by WiFi
To alarm host machine, alarm host machine saves the data packet received to memory, and is opened again with running parameter after modification
Beginning work;
Alarm host machine In-circuit programming system: when user's selection is programmed an alarm host machine, cell phone application is sent out in a manner of TCP
Send the order of programming to alarm host machine, alarm host machine identifies the order, and is changed according to the order of programming education, and will be modified
Data are saved to memory;
Alarm host machine upgrade-system: mobile phone is first coupled to the upgrade port of alarm host machine, and cell phone application passes through WiFi from server end
Downloading obtains the corresponding firmware updating packet of host, and sends firmware updating packet to by WiFi the phase for having been selected and needing to upgrade
The alarm host machine answered, and the order of upgrading is sent to alarm host machine, alarm host machine is held after receiving the upgrading data packet from mobile phone
Row upgrade command;Program in host is replaced, alarm host machine restarts starting after the completion of replacement, rises after being run with new procedures
Grade is completed.
2. a kind of method for realizing that alarm host machine remotely programs and upgrades by cell phone application according to claim 1, special
Sign is: software layer further includes logging in system by user;Wherein user is engineer;The logging in system by user is stepped on by password
Record.
3. a kind of method for realizing that alarm host machine remotely programs and upgrades by cell phone application according to claim 1, special
Sign is: further including regular check TCP state mark, when finding that TCP is in non-ESTA BL ISH ED, disconnects router simultaneously
New connection is initiated, and sends warning message in the mobile phone for having been coupled to the router.
4. a kind of method for realizing that alarm host machine remotely programs and upgrades by cell phone application according to claim 1, special
Sign is: mobile phone sends data to alarm host machine using UDP multicast packets;Alarm host machine sends data to hand by UDP multicast packets
Machine.
5. a kind of method for realizing that alarm host machine remotely programs and upgrades by cell phone application according to claim 1, special
Sign is: mobile phone sends a command to alarm host machine by Transmission Control Protocol.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810920331.5A CN109218520A (en) | 2018-08-14 | 2018-08-14 | A method of realizing that alarm host machine remotely programs and upgrades by cell phone application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810920331.5A CN109218520A (en) | 2018-08-14 | 2018-08-14 | A method of realizing that alarm host machine remotely programs and upgrades by cell phone application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109218520A true CN109218520A (en) | 2019-01-15 |
Family
ID=64988506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810920331.5A Pending CN109218520A (en) | 2018-08-14 | 2018-08-14 | A method of realizing that alarm host machine remotely programs and upgrades by cell phone application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109218520A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859125A (en) * | 2006-03-31 | 2006-11-08 | 华为技术有限公司 | System and its method for central remote automatic upgrading software |
CN101124779A (en) * | 2004-10-14 | 2008-02-13 | 北美泰密克汽车公司 | System and method for reprogramming nodes in an automotive switch fabric network |
CN102868558A (en) * | 2012-09-17 | 2013-01-09 | 苏州迈科网络安全技术股份有限公司 | Multi-device software upgrading method and multi-device software upgrading system |
CN103023681A (en) * | 2011-09-22 | 2013-04-03 | 北京天成信宇科技有限责任公司 | Smart home control device and updating method |
CN103677871A (en) * | 2012-09-10 | 2014-03-26 | 上海达实联欣科技发展有限公司 | Online upgrading system and method |
CN104065724A (en) * | 2014-06-25 | 2014-09-24 | 扬州芯云智能系统有限公司 | Method for carrying out wireless upgrade on monitor terminal device through mobile phone |
US8910142B2 (en) * | 2011-04-13 | 2014-12-09 | Xerox Corporation | Method and system to regulate the electronic availability of application software updates based on information collected regarding installation, usage and support for these updates |
CN105404247A (en) * | 2014-09-15 | 2016-03-16 | 上海纯米电子科技有限公司 | Internet household appliance control system |
CN107453891A (en) * | 2016-06-01 | 2017-12-08 | 艾默生环境优化技术(苏州)有限公司 | Maintenance device, field device and method for maintaining and updating a field device |
CN108055209A (en) * | 2017-12-26 | 2018-05-18 | 温岭卓致智能科技有限公司 | A kind of router batch terminal upgrading method and system |
-
2018
- 2018-08-14 CN CN201810920331.5A patent/CN109218520A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101124779A (en) * | 2004-10-14 | 2008-02-13 | 北美泰密克汽车公司 | System and method for reprogramming nodes in an automotive switch fabric network |
CN1859125A (en) * | 2006-03-31 | 2006-11-08 | 华为技术有限公司 | System and its method for central remote automatic upgrading software |
US8910142B2 (en) * | 2011-04-13 | 2014-12-09 | Xerox Corporation | Method and system to regulate the electronic availability of application software updates based on information collected regarding installation, usage and support for these updates |
CN103023681A (en) * | 2011-09-22 | 2013-04-03 | 北京天成信宇科技有限责任公司 | Smart home control device and updating method |
CN103677871A (en) * | 2012-09-10 | 2014-03-26 | 上海达实联欣科技发展有限公司 | Online upgrading system and method |
CN102868558A (en) * | 2012-09-17 | 2013-01-09 | 苏州迈科网络安全技术股份有限公司 | Multi-device software upgrading method and multi-device software upgrading system |
CN104065724A (en) * | 2014-06-25 | 2014-09-24 | 扬州芯云智能系统有限公司 | Method for carrying out wireless upgrade on monitor terminal device through mobile phone |
CN105404247A (en) * | 2014-09-15 | 2016-03-16 | 上海纯米电子科技有限公司 | Internet household appliance control system |
CN107453891A (en) * | 2016-06-01 | 2017-12-08 | 艾默生环境优化技术(苏州)有限公司 | Maintenance device, field device and method for maintaining and updating a field device |
CN108055209A (en) * | 2017-12-26 | 2018-05-18 | 温岭卓致智能科技有限公司 | A kind of router batch terminal upgrading method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3048759B1 (en) | Fault diagnosis method, device and system | |
US20170078143A1 (en) | Method, apparatus, and system for implementing virtualized network management | |
CN106331189B (en) | Log obtaining method and device and network management server | |
CN101478458B (en) | SIP protocol security test method | |
JP6796656B2 (en) | Basic service set identifier BSSID update | |
CN110752954A (en) | Networking fault detection method and related device for household electrical appliance | |
CN108989103A (en) | Device updating method, debugger, the network equipment and network system | |
US9462535B2 (en) | Method, apparatus and system for obtaining error code information | |
JP2004333186A (en) | Remote support system of analyzer | |
CN103841587A (en) | Method, apparatus, and system for realization of internet-of-things converged gateway | |
CN112463511B (en) | Automatic test system and test method for serial port equipment of Internet of things | |
CN109218520A (en) | A method of realizing that alarm host machine remotely programs and upgrades by cell phone application | |
CN112636973A (en) | NETCONF protocol-based automatic cloud network fusion method | |
CN106130863B (en) | Transfer approach, device and the system of LAN protocol message | |
CN112039708A (en) | Network equipment operation and maintenance method | |
US8656011B2 (en) | Method and management apparatus for detecting communication apparatus coupled to communication network | |
CN111200519A (en) | Data processing method and device, BBU, access network equipment and storage medium | |
Cisco | Release Notes for Cisco MGX 8260 Media Gateway, Version 1.2.3 | |
Cisco | Release Notes for Cisco MGX 8260 Media Gateway, Version 1.2.4 | |
Cisco | Diagnostics and Troubleshooting | |
US20080316915A1 (en) | Method & apparatus for identifying the cause of communication session faults | |
US9832636B2 (en) | Method, device and system for determining working mode of data card type terminal | |
CN113259468A (en) | Network equipment configuration method and device | |
CN112751706A (en) | Target data transmission method and device | |
KR101311513B1 (en) | Remote opening to traffic system for customer equipment and method thereof |
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: 20190115 |
|
RJ01 | Rejection of invention patent application after publication |