CN106027542A - Method for enabling WiFi module to adapt to communication protocols of different manufacturer apparatuses - Google Patents
Method for enabling WiFi module to adapt to communication protocols of different manufacturer apparatuses Download PDFInfo
- Publication number
- CN106027542A CN106027542A CN201610449710.1A CN201610449710A CN106027542A CN 106027542 A CN106027542 A CN 106027542A CN 201610449710 A CN201610449710 A CN 201610449710A CN 106027542 A CN106027542 A CN 106027542A
- Authority
- CN
- China
- Prior art keywords
- wifi module
- communications protocol
- configuration file
- different manufacturers
- plant equipment
- 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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Communication Control (AREA)
Abstract
The invention discloses a method for enabling a WiFi module to adapt to communication protocols of different manufacturer apparatuses. The method comprises the following steps: configuration files of the communication protocol of manufacturer apparatus are stored in a server; when the WiFi module needs to adapt to the communication protocol of a certain manufacturer apparatus, the WiFi module accesses the server and downloads the configuration files of the communication protocol of the manufacturer apparatus from the server; the WiFi module stores the downloaded configuration files in a storage; and the WiFi module loads the configuration files stored in the storage and the original communication protocol is replaced. According to the method for enabling the WiFi module to adapt to the communication protocols of the different manufacturer apparatuses, the communication protocol of the WiFi module can be modified, so that the WiFi module can adapt to the communication protocols of the different manufacturer apparatuses.
Description
Technical field
The present invention relates to WIFI module technical field, particularly relate to a kind of method making the adaptive devices from different manufacturers communications protocol of WIFI module energy.
Background technology
Current WIFI intelligent appliance product, WIFI module is for the communications protocol of adaptive different manufacturers, generally different producers all can be given different WIFI module and give adaptation, but like this, module cannot be general, module type is the most, risk of error and maintenance cost also can be the biggest, so, preferably come adaptive different producer by same WIFI module, different communications protocol: distribution order, control command, querying command, factory surveys order, baud rate, check bit, data bit, stop position, minimum frame gap, data reporting schemes (the cycle, trigger, actively), data report time interval, the Retransmission timeout time, Retransmission timeout number of times, triggering reports position, reported data length etc..
Summary of the invention
The communications protocol that it is an object of the invention to overcome existing WIFI module can not be changed, can only the communications protocol of an adaptive plant equipment, WIFI module can not be general, risk of error and the big technical problem of maintenance cost, provide a kind of method making the adaptive devices from different manufacturers communications protocol of WIFI module energy, it can revise the communications protocol of WIFI module, makes the communications protocol of the adaptive devices from different manufacturers of WIFI module energy.
In order to solve the problems referred to above, the present invention is achieved by the following technical solutions:
A kind of method making the adaptive devices from different manufacturers communications protocol of WIFI module energy of the present invention, comprises the following steps:
Store the configuration file of each plant equipment communications protocol on the server;
When WIFI module needs the communications protocol of certain plant equipment adaptive, WIFI module accesses server, the configuration file of this plant equipment communications protocol is downloaded from server, the configuration file downloaded is stored in memory by WIFI module, in WIFI module load store device, the configuration file of storage, replaces original communications protocol.
In the technical program, equipment manufacturer or user have purchased WIFI module after can according to oneself need allow at any time WIFI module access server, download the configuration file of the communications protocol needed from server, the communications protocol of WIFI module is updated, convenient, flexible.WIFI module manufacturer produces different WIFI module without for each equipment manufacturer, and the risk and cost is all substantially reduced, it is achieved that a WIFI module is from adaptive devices from different manufacturers communications protocol.
As preferably, described configuration file includes that distribution order, control command, querying command, factory's survey order, baud rate, check bit, data bit, stopping position, minimum frame gap, data reporting schemes, data report time interval, Retransmission timeout time, Retransmission timeout number of times, triggering to report position, reported data length.
As preferably, when the configuration file of download is stored in memory by WIFI module, the flag bit of configuration file is set to 1;Before the configuration file that WIFI module stores in load store device, first judge in memorizer, whether the flag bit of configuration file is 1, if flag bit is 1, in load store device, the configuration file of storage replaces original communications protocol, the flag bit of the configuration file stored in memorizer is set to " 0 " after having loaded by configuration file, if flag bit is not 1, is not loaded with.
As preferably, described WIFI module is provided with interface, interface can be connected with computer or is connected with computer by switching device, storing the configuration file of each plant equipment communications protocol on computers, WIFI module may have access to the computer configuration file from each plant equipment communications protocol of downloaded.WIFI module has the method for two kinds of configuration files downloading each plant equipment communications protocol: one is to be downloaded by wireless network access server, but by wired mode from downloaded.
As preferably, it is provided with backing storage in described WIFI module, backing storage internal memory contains the configuration file of the communications protocol that WIFI module initially carries, can be by making WIFI module return to the communications protocol initially carried to WIFI module transmission factory reset order or hardware reset.Ensure that WIFI module can repeat adaptation.
As preferably, described memorizer is internal flash or outside EEPROM.
The invention has the beneficial effects as follows: the communications protocol of WIFI module can be revised, make the communications protocol of the adaptive devices from different manufacturers of WIFI module energy, reduce risk of error and maintenance cost.
Accompanying drawing explanation
Fig. 1 is a kind of workflow diagram of the present invention.
Detailed description of the invention
Below by embodiment, and combine accompanying drawing, technical scheme is described in further detail.
Embodiment: a kind of method making the adaptive devices from different manufacturers communications protocol of WIFI module energy of the present embodiment, as it is shown in figure 1, comprise the following steps:
Store the configuration file of each plant equipment communications protocol on the server;
When WIFI module needs the communications protocol of certain plant equipment adaptive, WIFI module accesses server, the configuration file of this plant equipment communications protocol is downloaded to self RAM from server, then copy to the configuration file in RAM be set to 1 in memorizer and by the flag bit of configuration file, WIFI module is restarted, judge in memorizer, whether the flag bit of the configuration file of storage is 1, if the configuration file of storage replaces original communications protocol in 1 load store device, the flag bit of the configuration file stored in memorizer is set to " 0 " after having loaded by configuration file, if flag bit is not 1, it is not loaded with.
Configuration file includes that order is surveyed in distribution order, control command, querying command, factory, baud rate, check bit, data bit, stopping position, minimum frame gap, data reporting schemes (cycle, triggering, actively), data report time interval, Retransmission timeout time, Retransmission timeout number of times, triggering to report position, reported data length.Memorizer is internal flash or outside EEPROM.
Equipment manufacturer or user have purchased WIFI module after can according to oneself need allow WIFI module access server at any time, download the configuration file of communications protocol needed from server, the communications protocol of WIFI module be updated, convenient, flexible.WIFI module manufacturer produces different WIFI module without for each equipment manufacturer, and the risk and cost is all substantially reduced, it is achieved that a WIFI module is from adaptive devices from different manufacturers communications protocol.
Backing storage it is provided with in WIFI module, backing storage internal memory contains the configuration file of the communications protocol that WIFI module initially carries, can be by making WIFI module return to the communications protocol initially carried to WIFI module transmission factory reset order or hardware reset.Ensure that WIFI module can repeat adaptation.
WIFI module is provided with interface, interface can be connected with computer or is connected with computer by switching device, storing the configuration file of each plant equipment communications protocol on computers, WIFI module may have access to the computer configuration file from each plant equipment communications protocol of downloaded.Switching device is specific power supply base, and power supply base connects computer by serial ports.
Claims (6)
1. the method making the adaptive devices from different manufacturers communications protocol of WIFI module energy, it is characterised in that comprise the following steps:
Store the configuration file of each plant equipment communications protocol on the server;
When WIFI module needs the communications protocol of certain plant equipment adaptive, WIFI module accesses server, the configuration file of this plant equipment communications protocol is downloaded from server, the configuration file downloaded is stored in memory by WIFI module, in WIFI module load store device, the configuration file of storage, replaces original communications protocol.
A kind of method making the adaptive devices from different manufacturers communications protocol of WIFI module energy the most according to claim 1, it is characterised in that: described configuration file includes that distribution order, control command, querying command, factory's survey order, baud rate, check bit, data bit, stopping position, minimum frame gap, data reporting schemes, data report time interval, Retransmission timeout time, Retransmission timeout number of times, triggering to report position, reported data length.
A kind of method making the adaptive devices from different manufacturers communications protocol of WIFI module energy the most according to claim 1, it is characterised in that: when the configuration file of download is stored in memory by WIFI module, the flag bit of configuration file is set to 1;Before the configuration file that WIFI module stores in load store device, first judge in memorizer, whether the flag bit of configuration file is 1, if flag bit is 1, in load store device, the configuration file of storage replaces original communications protocol, the flag bit of the configuration file stored in memorizer is set to " 0 " after having loaded by configuration file, if flag bit is not 1, is not loaded with.
4. according to a kind of method making the adaptive devices from different manufacturers communications protocol of WIFI module energy described in claim 1 or 2 or 3, it is characterized in that: described WIFI module is provided with interface, interface can be connected with computer or is connected with computer by switching device, storing the configuration file of each plant equipment communications protocol on computers, WIFI module may have access to the computer configuration file from each plant equipment communications protocol of downloaded.
5. according to a kind of method making the adaptive devices from different manufacturers communications protocol of WIFI module energy described in claim 1 or 2 or 3, it is characterized in that: in described WIFI module, be provided with backing storage, backing storage internal memory contains the configuration file of the communications protocol that WIFI module initially carries, can be by making WIFI module return to the communications protocol initially carried to WIFI module transmission factory reset order or hardware reset.
6. according to a kind of method making the adaptive devices from different manufacturers communications protocol of WIFI module energy described in claim 1 or 2 or 3, it is characterised in that: described memorizer is internal flash or outside EEPROM.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610449710.1A CN106027542A (en) | 2016-06-21 | 2016-06-21 | Method for enabling WiFi module to adapt to communication protocols of different manufacturer apparatuses |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610449710.1A CN106027542A (en) | 2016-06-21 | 2016-06-21 | Method for enabling WiFi module to adapt to communication protocols of different manufacturer apparatuses |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106027542A true CN106027542A (en) | 2016-10-12 |
Family
ID=57086369
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610449710.1A Pending CN106027542A (en) | 2016-06-21 | 2016-06-21 | Method for enabling WiFi module to adapt to communication protocols of different manufacturer apparatuses |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106027542A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106992892A (en) * | 2017-05-10 | 2017-07-28 | 广东美的制冷设备有限公司 | Agreement input method and device based on WIFI module |
CN108260184A (en) * | 2016-12-28 | 2018-07-06 | 上海掌门科技有限公司 | A kind of method and apparatus for performing WiFi mode tasks |
CN109842428A (en) * | 2019-02-19 | 2019-06-04 | 康佳集团股份有限公司 | A kind of WiFi chip and adaptive approach |
US20200412566A1 (en) * | 2018-10-08 | 2020-12-31 | Google Llc | Control and/or registration of smart devices, locally by an assistant client device |
CN112348499A (en) * | 2020-11-09 | 2021-02-09 | 百富计算机技术(深圳)有限公司 | Communication service method and device of payment terminal |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102455916A (en) * | 2010-10-21 | 2012-05-16 | 西安龙飞软件有限公司 | Method for virtualizing flash in third-generation (3G) / wireless fidelity (WiFi) double-module wireless router system |
CN102843611A (en) * | 2012-08-28 | 2012-12-26 | 深圳市同洲电子股份有限公司 | WiFi (wireless fidelity) configuration method, device and system |
CN103412832A (en) * | 2013-08-27 | 2013-11-27 | 深圳市视维科技有限公司 | Automatic WIFI (Wireless Fidelity) adaptation method |
CN103677921A (en) * | 2013-12-13 | 2014-03-26 | Tcl康钛汽车信息服务(深圳)有限公司 | Method and system for enabling Android system to be compatible with wifi chip |
CN103997428A (en) * | 2014-03-13 | 2014-08-20 | 杭州古北电子科技有限公司 | Fast intelligent network interface type detection, configuration and guide system |
CN104079432A (en) * | 2014-06-20 | 2014-10-01 | 珠海市君天电子科技有限公司 | Method and device for processing abnormity of network equipment |
CN104853368A (en) * | 2015-05-27 | 2015-08-19 | 北京汉柏科技有限公司 | Method and management system for configuring WIFI access point based on user mode |
-
2016
- 2016-06-21 CN CN201610449710.1A patent/CN106027542A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102455916A (en) * | 2010-10-21 | 2012-05-16 | 西安龙飞软件有限公司 | Method for virtualizing flash in third-generation (3G) / wireless fidelity (WiFi) double-module wireless router system |
CN102843611A (en) * | 2012-08-28 | 2012-12-26 | 深圳市同洲电子股份有限公司 | WiFi (wireless fidelity) configuration method, device and system |
CN103412832A (en) * | 2013-08-27 | 2013-11-27 | 深圳市视维科技有限公司 | Automatic WIFI (Wireless Fidelity) adaptation method |
CN103677921A (en) * | 2013-12-13 | 2014-03-26 | Tcl康钛汽车信息服务(深圳)有限公司 | Method and system for enabling Android system to be compatible with wifi chip |
CN103997428A (en) * | 2014-03-13 | 2014-08-20 | 杭州古北电子科技有限公司 | Fast intelligent network interface type detection, configuration and guide system |
CN104079432A (en) * | 2014-06-20 | 2014-10-01 | 珠海市君天电子科技有限公司 | Method and device for processing abnormity of network equipment |
CN104853368A (en) * | 2015-05-27 | 2015-08-19 | 北京汉柏科技有限公司 | Method and management system for configuring WIFI access point based on user mode |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108260184A (en) * | 2016-12-28 | 2018-07-06 | 上海掌门科技有限公司 | A kind of method and apparatus for performing WiFi mode tasks |
CN106992892A (en) * | 2017-05-10 | 2017-07-28 | 广东美的制冷设备有限公司 | Agreement input method and device based on WIFI module |
US20200412566A1 (en) * | 2018-10-08 | 2020-12-31 | Google Llc | Control and/or registration of smart devices, locally by an assistant client device |
US11700141B2 (en) * | 2018-10-08 | 2023-07-11 | Google Llc | Control and/or registration of smart devices, locally by an assistant client device |
CN109842428A (en) * | 2019-02-19 | 2019-06-04 | 康佳集团股份有限公司 | A kind of WiFi chip and adaptive approach |
CN109842428B (en) * | 2019-02-19 | 2020-08-14 | 康佳集团股份有限公司 | WiFi chip and self-adaptive method |
CN112348499A (en) * | 2020-11-09 | 2021-02-09 | 百富计算机技术(深圳)有限公司 | Communication service method and device of payment terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106027542A (en) | Method for enabling WiFi module to adapt to communication protocols of different manufacturer apparatuses | |
CN105389191A (en) | Software upgrading method, apparatus and system based on local area network | |
CN105988846B (en) | Page loading method and page loading device | |
Samteladze et al. | DELTA: Delta encoding for less traffic for apps | |
CN104298526A (en) | Software updating method and device | |
CN104125276A (en) | Upgrading method and device | |
CN107347025A (en) | Data processing method, device, server and system | |
CN104348849A (en) | Instant communication key-value data issuing method, server, client and system | |
WO2017092458A1 (en) | Mobile terminal browser file transmission method and mobile terminal | |
CN110597539A (en) | Electric energy meter upgrading method, system and storage medium | |
CN102915249A (en) | Method and device for remotely realizing firmware updating | |
CN110933170A (en) | Multi-device linkage control method and device of ZigBee gateway and storage medium | |
CN114024951B (en) | Cloud edge collaboration-based power edge heterogeneous deployment method | |
CN105544085B (en) | A kind of Computerized flat knitting machine file sharing method based on internet | |
CN108874825A (en) | A kind of method of calibration and device of abnormal data | |
CN105227606A (en) | Application program adaptation method and device | |
WO2019169191A1 (en) | Electronic telemetry-based device monitoring | |
CN103457748A (en) | Data transmission method, system and device | |
CN107526584B (en) | Data access method and device | |
CN108107792B (en) | Loading method, terminal and the computer readable storage medium of LUA script | |
CN104168145B (en) | A kind of system and method that radio upgrade is carried out to wireless communication unit | |
CN105262604A (en) | Virtual machine migration method and equipment | |
CN102148702B (en) | Method for managing network by utilizing network configuration protocol | |
CN107368523B (en) | Data processing method and system | |
CN105227600A (en) | The method of mobile device system upgrading |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161012 |
|
RJ01 | Rejection of invention patent application after publication |