CN106992892A - Agreement input method and device based on WIFI module - Google Patents
Agreement input method and device based on WIFI module Download PDFInfo
- Publication number
- CN106992892A CN106992892A CN201710329196.2A CN201710329196A CN106992892A CN 106992892 A CN106992892 A CN 106992892A CN 201710329196 A CN201710329196 A CN 201710329196A CN 106992892 A CN106992892 A CN 106992892A
- Authority
- CN
- China
- Prior art keywords
- wifi module
- agreement
- equipment
- module
- server
- 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
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- 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/18—Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
Abstract
The invention discloses a kind of agreement input method based on WIFI module, comprise the following steps:When detecting equipment into WIFI module fixing link, equipment is adjusted to WIFI module Installation Modes, and be powered for the WIFI module of access device, the linking relationship set up automatically with server according to WIFI module, from the corresponding agreement of whois lookup and send to WIFI module, when detecting WIFI module and getting agreement, agreement is entered into the local storage space of WIFI module, so that equipment installs correspondence agreement, when equipment WIFI module breaks down, the WIFI module for being provided with correspondence agreement is replaced with.Corresponding intrument is also proposed on the basis of agreement input method of this programme based on WIFI module.The present invention is being met customer need by installing correspondence agreement for WIFI module, while reducing hardware cost, improves WIFI module agreement installation effectiveness.
Description
Technical field
The present invention relates to smart home field, more particularly to agreement input method and device based on WIFI module.
Background technology
WIFI module is as the bridge in intelligent appliance linking of devices high in the clouds, and consumption is increasing.And runed into reduce
This, general developer can try one's best uniform hardware version and software version, but often hardware can unify software version
To preferable treating method.
Its reason is the unified method most straightforward approach of software, is to allow a WIFI module while support multi-protocols,
Yet with supporting multi-protocols to need bigger memory space, the rising of memory space result in other cost increase, or
Say that memory space requirement is high, raised the cost of module in itself.Because current each operator protocol is obstructed, therefore cause many associations
View be it is unavoidable, specifically, in existing WIFI module market, the WIFI module of same hardware version, it is impossible to
Accomplish meet different release protocols are installed for different clients, if using prior art in different WIFI modules basis
Customer demand installs different agreements, and can so cause the production and operation efficiency of WIFI module reduces.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is existing skill
Art.
The content of the invention
It is a primary object of the present invention to provide a kind of agreement input method and device based on WIFI module, it is intended to ensure
The same of relatively low hardware cost makes raising WIFI module agreement efficiency of inputting.
To achieve the above object, a kind of agreement input method based on WIFI module that the present invention is provided, it is described to be based on
The agreement input method of WIFI module comprises the following steps:
When detecting equipment into WIFI module fixing link, equipment is adjusted to WIFI module Installation Modes, and be
The WIFI module of access device is powered;
The linking relationship set up automatically with server according to WIFI module, it is concurrent from corresponding first agreement of whois lookup
Deliver to WIFI module;
When detecting WIFI module and getting the first agreement, sky is locally stored by what the first agreement was entered into WIFI module
Between in, for equipment install correspondence agreement.
Alternatively, electric-controlled plate, electric-controlled plate and workshop appliance, WIFI module and server communication link are installed in the equipment
Connect, energy input equipment production information on the workshop appliance, and equipment production information is sent to electric-controlled plate;
It is described to adjust equipment to WIFI module Installation Modes when detecting equipment into WIFI module fixing link,
And access after WIFI module be powered the step of after include:
When detect established the link between WIFI module serial ports and equipment electric-controlled plate when, obtain equipment production information simultaneously send
Production information is to server;
Server obtains the production information that equipment electric-controlled plate is sent, and sends corresponding second protocol extremely according to production information
WIFI module, so that WIFI module installs second protocol.
Alternatively, it is described when detecting equipment into WIFI module fixing link, equipment is adjusted to WIFI module and pacified
Die-filling formula, and access after WIFI module be powered the step of after include:
When detect established the link between WIFI module and equipment electric-controlled plate when, equipment electric-controlled plate based on production information send
Instruct to server;
Server obtains the instruction based on production information that equipment electric-controlled plate is sent, and according to instruction selection the corresponding 3rd
Agreement is sent to WIFI module, so that WIFI module installs corresponding 3rd agreement.
Alternatively, it is described when detecting equipment into WIFI module fixing link, equipment is adjusted to WIFI module and pacified
Die-filling formula, and access after WIFI module be powered the step of after also include:
The agreement that server is prestored sets up incidence relation with production information, so that server sends correspondence in preset time
Agreement is to WIFI module;
When detecting WIFI module access, server is according to the incidence relation of agreement and production information, by preset time
The 4th agreement of correspondence is sent to WIFI module, so that WIFI module installs the 4th agreement of correspondence.
Alternatively, it is described when detect WIFI module get correspondence agreement when, will correspondence agreement after be entered into WIFI moulds
In being locally stored of block, so as to also include after the step of equipment installs correspondence agreement:
When detecting WIFI module failure, correspondence is provided with according to the selection of the 5th agreement of typing in failure WIFI module
The WIFI module of 5th agreement is changed.
In addition, to achieve the above object, the present invention also provides a kind of agreement input device based on WIFI module, the base
Include in the agreement input device of WIFI module:
Adjustment module is installed, for when detecting equipment into WIFI module fixing link, equipment to be adjusted to WIFI
Module Installation Modes, and be powered for the WIFI module of access device;
Searching modul is linked, for the linking relationship set up automatically with server according to WIFI module, from whois lookup
Corresponding first agreement is simultaneously sent to WIFI module;
Typing module is obtained, for when detecting WIFI module and getting the first agreement, the first agreement to be entered into
In the local storage space of WIFI module, so that equipment installs correspondence agreement.
Alternatively, electric-controlled plate, electric-controlled plate and workshop appliance, WIFI module and server communication link are installed in the equipment
Connect, energy input equipment production information on the workshop appliance, and equipment production information is sent to electric-controlled plate;
The agreement input device based on WIFI module includes serial ports link module, and serial ports link module is used for:
When detect established the link between WIFI module serial ports and equipment electric-controlled plate when, obtain equipment production information simultaneously send
Production information is to server;
Server obtains the production information that equipment electric-controlled plate is sent, and sends corresponding second protocol extremely according to production information
WIFI module, so that WIFI module installs second protocol.
Alternatively, the agreement input device based on WIFI module includes WIFI module link module, WIFI module chain
Connection module, is used for:
When detect established the link between WIFI module and equipment electric-controlled plate when, equipment electric-controlled plate based on production information send
Instruct to server;
Server obtains the instruction based on production information that equipment electric-controlled plate is sent, and according to instruction selection the corresponding 3rd
Agreement is sent to WIFI module, so that WIFI module installs corresponding 3rd agreement.
Alternatively, the agreement input device based on WIFI module also includes default input module, presets input module,
For:
The agreement that server is prestored sets up incidence relation with production information, so that server sends correspondence in preset time
Agreement is to WIFI module;
When detecting WIFI module access, server is according to the incidence relation of agreement and production information, by preset time
The 4th agreement of correspondence is sent to WIFI module, so that WIFI module installs the 4th agreement of correspondence.
Alternatively, the agreement input device based on WIFI module also include failure replacement module, failure replacement module,
For:
When detecting WIFI module failure, correspondence is provided with according to the selection of the 5th agreement of typing in failure WIFI module
The WIFI module of 5th agreement is changed.
The present invention proposes a kind of agreement input method based on WIFI module, pacifies detecting equipment into WIFI module
When filling link, equipment is adjusted to WIFI module Installation Modes, and is powered for the WIFI module of access device, according to WIFI module
Automatically with server set up linking relationship, from corresponding first agreement of whois lookup and send to WIFI module, work as detection
When getting the first agreement to WIFI module, the first agreement is entered into the local storage space of WIFI module, for equipment
Correspondence agreement is installed;The present invention links pass after equipment enters WIFI module fixing link by WIFI module and server
System, the agreement typing WIFI module of Select input WIFI module from server, such method reduces the storage of WIFI module
Space and then hardware cost is reduced, when producer needs to produce the corresponding device of certain batch, the manufacturing equipment of workshop can
So that according to production requirement, by the WIFI module of specific agreement typing batch, WIFI is improved while hardware cost is reduced
Module protocol efficiency of inputting.
Brief description of the drawings
Fig. 1 is the schematic diagram of a scenario of agreement input method and device of the present invention based on WIFI module;
Fig. 2 is the schematic flow sheet of the agreement input method first embodiment of the invention based on WIFI module;
Fig. 3 is the schematic flow sheet of the agreement input method second embodiment of the invention based on WIFI module;
Fig. 4 is the schematic flow sheet of the agreement input method 3rd embodiment of the invention based on WIFI module;
Fig. 5 is the schematic flow sheet of the agreement input method fourth embodiment of the invention based on WIFI module;
Fig. 6 is the high-level schematic functional block diagram of agreement input device one embodiment of the invention based on WIFI module;
Fig. 7 is the high-level schematic functional block diagram of agreement input device another embodiment of the invention based on WIFI module;
Fig. 8 is server storage agreement schematic diagram in agreement input method of the present invention based on WIFI module and device;
Fig. 9 is each combination one schematic diagram of a scenario of implementation of the agreement of the invention based on WIFI module;
Figure 10 is each another schematic diagram of a scenario of combination implementation of the agreement of the invention based on WIFI module.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
The present invention provides a kind of agreement input method based on WIFI module.
It should be noted that the executive agent of this programme can be regarded as the workshop appliance of production equipment, workshop appliance can be wrapped
Include server, workshop appliance is connected with server communication, shop personnel can by server operation workshop appliance, so as to
The production for carrying out equipment is installed, in WIFI module installation process, it is also possible to equipment is occurred and is detected WIFI module and clothes in itself
Business device linking relationship, executive agent here can be understood as equipment in itself, intelligent appliance can be regarded as by production equipment, e.g.,
Air-conditioning, television set etc., intelligent appliance is by taking air-conditioning as an example in the present invention, before air-conditioning WIFI module fixing link is entered, empty
Tune has been provided with electric-controlled plate, and WIFI module, electric-controlled plate are component in air-conditioning.
Specifically, with reference to Fig. 1, Fig. 1 is the schematic diagram of a scenario of the agreement input method of the invention based on WIFI module, workshop
Equipment 100 can be used in the fixing link of WIFI module 220, it will be appreciated that be Digit Control Machine Tool, can be in the fixing link of housed device 200
Show interface 110 to show, for staff's visual presentation, staff is operated according to installation progress, server 120
It can include WIFI module 110 and electric-controlled plate 120, electric-controlled plate by network communication links, housed device 200 with housed device 200
120 can input the production information of housed device, and the agreement for server 120 selects output, and WIFI module 220 can typing
Agreement.
In the WIFI module fixing link of air-conditioning, according to the performance of WIFI module, after WIFI module energization, WIFI moulds
Block peace is by connection independently with server, so that server selects corresponding agreement to carry out being entered into WIFI module, with reference to Fig. 8,
Whole agreements are store in the protocol type of server storage, server when Fig. 8 is WIFI module agreement Select input, can root
Selected and transmitted to WIFI module according to production information, specifically, the first agreement, second protocol in claims until
5th agreement should be distinctive mark, can substantially refer to and treat an agreement, can also refer to different several agreements.
Reference picture 2, Fig. 2 is that the step flow of the first embodiment of the agreement input method of the invention based on WIFI module is shown
It is intended to, during WIFI module agreement typing, scanning production information transmits production information, and production information is used as agreement
Selection gist, in the first embodiment, a kind of agreement input method based on WIFI module comprise the following steps:
Step S10, when detecting equipment into WIFI module fixing link, equipment is adjusted to WIFI module and installs mould
Formula, and be powered for the WIFI module of access device;
Equipment (equipment should be distinguished with workshop appliance, and equipment here refers to by production equipment, i.e. intelligent air condition,
Intelligent television etc., and workshop appliance refers to the workshop appliance for production of intelligent household electrical appliances) when entering WIFI module fixing link, will
Equipment is adjusted to WIFI module Installation Modes, and access WIFI module (access WIFI module can be lathe equipments carry out,
It is probably to have what workshop appliance assembly working personnel were carried out) and be powered for the WIFI module of access device (in WIFI module installation
Link, WIFI module, which is powered, can make WIFI module be connected the transmission into row information with server).
Step S20, the linking relationship set up automatically with server according to WIFI module, from whois lookup corresponding first
Agreement is simultaneously sent to WIFI module;
After WIFI module access device and energization (electric-controlled plate that WIFI module and equipment occurs is linked, or
WIFI module serial ports and the electric-controlled plate of equipment are attached, and electric-controlled plate is linked with server, carry out information transfer, and server is obtained
Take the production information inputted on electric-controlled plate), linking relationship (WIFI module and service that WIFI module can be set up with server automatically
Device carries out agreement conveying, information transmission), server is searched the first agreement according to production information and sent to WIFI module.
Step S30, when detecting WIFI module and getting the first agreement, the first agreement is entered into the sheet of WIFI module
In ground memory space, so that equipment installs correspondence agreement.
Detect WIFI module get server transmission the first agreement when, the first agreement is entered into WIFI module
Be locally stored, specifically, WIFI module is obtained after the first agreement, and first agreement is burnt during WIFI module is locally stored,
So that WIFI module installs the first agreement in equipment.
In the present embodiment, when detecting equipment into WIFI module fixing link, equipment is adjusted to WIFI module and pacified
Die-filling formula, and be powered for the WIFI module of access device, the linking relationship set up automatically with server according to WIFI module, from clothes
Device of being engaged in is searched corresponding first agreement and simultaneously sent to WIFI module, when detecting WIFI module and getting the first agreement, by the
One agreement is entered into the local storage space of WIFI module, so that equipment installs correspondence agreement, passes through WIFI module and service
The link of device, WIFI module is sent to by corresponding agreement so that WIFI module is locally stored the corresponding agreement of middle typing, profit
Less local storage space is used, hardware cost is reduced on the premise of guarantee agreement is met customer need.
Reference picture 3 and Fig. 9, in the second embodiment of the present invention, are provided with electric-controlled plate, electric-controlled plate and car in the equipment
Between equipment, WIFI module and server communication connection, on the workshop appliance can input equipment production information, and equipment is produced
Information is sent to electric-controlled plate;
Include after step S10:
Step S40, when detect established the link between WIFI module serial ports and equipment electric-controlled plate when, obtain equipment production letter
Cease and send production information to server;
WIFI module serial ports is being detected (it should be noted that WIFI module serial ports here can be regarded as serial ports WIFI
What module had, the interface with WIFI wireless network links can realize serial data between wireless network by serial ports
Conversion), (established the link when being established the link between equipment electric-controlled plate between WIFI module serial ports and electric-controlled plate, WIFI module is only
It is passive reception agreement, it is adaptable to which a small amount of WIFI module agreement is installed), the process for installing WIFI module is produced in equipment
In, it is necessary to obtain the production information in production work order, production information can be shown by Quick Response Code or other form, in scanning life
Agreement will be selected after information according to production information by producing, and production information is sent to the electric-controlled plate of equipment, i.e. the equipment of production air-conditioning
Scanning obtains the corresponding production information of this batch of air-conditioning, and by production information and sends to air conditioner electric-controlled plate, (it should be noted that
For different intelligent appliances, the component for obtaining production information is different, and electric-controlled plate here can be replaced or adjusted, according to
Other parts carry out the transmission of production information, all should calculate in the protection domain of this programme) equipment electric-controlled plate transmission production letter
Breath is to server, so that server selects correspondence protocol contents according to production information.
Step S50, server obtains the production information that equipment electric-controlled plate is sent, and sends corresponding the according to production information
Two agreements are to WIFI module, so that WIFI module installs second protocol.
Server obtains the production information that equipment electric-controlled plate is sent, according to corresponding relation (that is, the root of production information and agreement
According to the corresponding relation of different production information and agreement, server can be selected according to production information to agreement), search correspondence association
Discuss and send second protocol to WIFI module, so that WIFI module installs second protocol (it should be noted that existing agreement
Because producer's difference is so have different versions, agreement can be interpreted as a plug-in unit, be primarily used to retouch by different contents
State regular term when information between process exchanges data).
In the present embodiment detect established the link between WIFI module serial ports and equipment electric-controlled plate when, obtain equipment life
Production information simultaneously sends production information to server, and server obtains the production information that equipment electric-controlled plate is sent, and is believed according to production
Breath sends corresponding agreement to WIFI module, so that WIFI module installs correspondence agreement, in the present embodiment WIFI module serial ports
Established the link between equipment electric-controlled plate, the transmission of solicited message is realized by WIFI module serial ports and informed, server selection
Correspondence agreement is installed to WIFI module, and hardware cost is reduced on the premise of guarantee agreement is met customer need.
Reference picture 4, in the third embodiment of the present invention, includes after step S10:
Step S60, when detect established the link between WIFI module and equipment electric-controlled plate when, equipment electric-controlled plate be based on production
Information sends a command to server;
(WIFI module association is downloaded when detecting to establish the link between WIFI module and equipment electric-controlled plate in production equipment batch
View can directly be established the link using WIFI module between electric-controlled plate, rather than rely on the serial ports progress signal biography of WIFI module
Pass, to ensure production efficiency) when, equipment electric-controlled plate forms corresponding protocol instructions based on production information, and equipment electric-controlled plate is sent
Instruction based on production information formation is to server.
Step S70, server obtains the instruction based on production information that equipment electric-controlled plate is sent, and according to instruction selection pair
The 3rd agreement answered is sent to WIFI module, so that WIFI module installs corresponding 3rd agreement.
Server obtains the instruction based on production information that equipment electric-controlled plate is sent, and selects the 3rd agreement according to instruction,
After WIFI module is established the link with server automatically, server sends the 3rd agreement to WIFI module, so that WIFI module is pacified
Dress correspondence Protocol Plug.
WIFI module independently establishes the link relation between equipment electric-controlled plate in the present embodiment, is obtained using server
The instruction based on production information that equipment electric-controlled plate is sent, and sent according to instruction selection correspondence agreement to WIFI module, so that
WIFI module installs the 3rd agreement, and server obtains the instruction based on production information that equipment electric-controlled plate is sent, and according to instruction
The 3rd agreement is selected to send to WIFI module, so that WIFI module installs correspondence agreement, this method is adapted to mass production facilities,
While production efficiency is ensured, the corresponding agreement of transmission is linked also by WIFI module and server, to meet the need of client
Ask.
Reference picture 5 and Figure 10, in the fourth embodiment of the present invention, also include after step S10:
Step S80, the agreement that server is prestored sets up incidence relation with production information, so that server is in preset time
Correspondence agreement is sent to WIFI module;
In the equipment production process to batch, the agreement that server can prestore sets up incidence relation with production information,
(that is, the production information in work order is produced according to equipment, the WIFI module of the equipment of setting time section is all installed into same association
View) (server is sent agreement extremely according to the period so that server sends correspondence agreement to WIFI module in preset time
WIFI module).
Step S90, when detecting WIFI module access, server, will according to the incidence relation of agreement and production information
The agreement of preset time the 4th is sent to WIFI module, so that WIFI module installs the 4th agreement.
When detecting WIFI module access, server is according to the incidence relation of agreement and production information (that is, in server
Middle setting makes product information corresponding with agreement according to product information, the nothing during substantial amounts of WIFI module agreement is installed
WIFI module serial ports is needed to link the corresponding production information of acquisition with electric-controlled plate, it is corresponding to link acquisition without WIFI module and electric-controlled plate
Production information, it is only necessary to the order for setting agreement to export in the server, make server according to the production time by specific protocol
Input to WIFI module), preset time correspondence agreement is sent to WIFI module, so that WIFI module is installed correspondence agreement and (needed
To be remarked additionally, it is necessary to mark plug-in unit Setup Type in the equipment of correspondence batch after Protocol Plug installation, make correspondence
Product supply corresponding producer because being only provided with specific plug-in protocol in WIFI module, mainly meet corresponding producer
Demand).
In the present embodiment, the agreement prestored by server sets up incidence relation with production information, so that server exists
Preset time sends correspondence agreement to WIFI module, and when detecting WIFI module access, server is believed according to agreement with production
The incidence relation of breath, the agreement of preset time the 4th is sent to WIFI module, so that WIFI module installs the 4th agreement;Make batch
Product correspondence input agreement, it is ensured that take the relatively low memory space of WIFI module, relatively low hardware cost can also correspond to full
Sufficient production efficiency.
In the agreement input method based on WIFI module of the present invention, also include after step S30:
Step S01, when detecting WIFI module failure, selects to pacify according to the 5th agreement of typing in failure WIFI module
WIFI module equipped with the 5th agreement of correspondence is changed.
, can be according to failure in the maintenance process of equipment when detecting the WIFI module failure of installation settings agreement
5th agreement of typing in WIFI module, the WIFI module for carrying out selecting to be provided with the 5th agreement is changed, it is not necessary to higher
Cost carry out renewal of the equipment, i.e. according to user's request by the WIFI module equipped with the 5th agreement of failure be used for newly be equipped with
The WIFI module maintenance of 5th agreement is replaced.
In the present embodiment mainly for the maintenance of equipment WIFI module failure, when the WIFI module equipped with the 5th agreement goes out
During existing failure, the WIFI module with all accord is reinstalled without user, user can be equipped with the 5th agreement according to failure
WIFI module or equipment on corresponding product information, the WIFI module equipped with the 5th agreement more renewed believes according to product
The corresponding WIFI module of breath selection is replaced, and such mode is while user's request is met, moreover it is possible to ensure that maintenance is changed
Expense is relatively low.
Reference picture 6, the present invention further provides the agreement input device based on WIFI module, in WIFI module agreement typing
During, scanning production information production information is transmitted, production information as agreement selection gist, in one embodiment,
A kind of agreement input device based on WIFI module includes:
Install adjustment module 10, for when detect equipment into WIFI module fixing link when, by equipment adjust to
WIFI module Installation Modes, and be powered for the WIFI module of access device;
Equipment (equipment should be distinguished with workshop appliance, and equipment here refers to by production equipment, i.e. intelligent air condition,
Intelligent television etc., and workshop appliance refers to the workshop appliance for production of intelligent household electrical appliances) when entering WIFI module fixing link, peace
Dress adjustment module 10 equipment is adjusted to WIFI module Installation Modes, and access WIFI module (access WIFI module can be car
What bed apparatus was carried out, it is also possible to have what workshop appliance assembly working personnel were carried out) and be powered for the WIFI module of access device
(in WIFI module fixing link, being powered to WIFI module can make WIFI module be connected the transmission into row information with server).
Searching modul 20 is linked, for the linking relationship set up automatically with server according to WIFI module, is looked into from server
Look for corresponding first agreement and send to WIFI module;
After WIFI module access device and energization (electric-controlled plate that WIFI module and equipment occurs is linked, or
WIFI module serial ports and the electric-controlled plate of equipment are attached, and electric-controlled plate is linked with server, carry out information transfer, and server is obtained
Take the production information inputted on electric-controlled plate), link searching modul 20 in WIFI module can automatically with server set up link pass
System's (WIFI module carries out agreement conveying, information transmission with server), it is concurrent that server searches the first agreement according to production information
Deliver to WIFI module.
Typing module 30 is obtained, for when detecting WIFI module and getting the first agreement, the first agreement to be entered into
In the local storage space of WIFI module, so that equipment installs correspondence agreement.
When detecting WIFI module and getting the first agreement of server transmission, typing module 30 is obtained by the first agreement
It is entered into being locally stored of WIFI module, specifically, WIFI module is obtained after the first agreement, and the first agreement is burnt into WIFI moulds
During block is locally stored, so that WIFI module installs the first agreement in equipment.
In the present embodiment, when detecting equipment into WIFI module fixing link, equipment is adjusted to WIFI module and pacified
Die-filling formula, and be powered for the WIFI module of access device, the linking relationship set up automatically with server according to WIFI module, from clothes
Device of being engaged in is searched corresponding first agreement and simultaneously sent to WIFI module, when detecting WIFI module and getting the first agreement, by the
One agreement is entered into the local storage space of WIFI module, so that equipment installs correspondence agreement, passes through WIFI module and service
The link of device, WIFI module is sent to by corresponding agreement so that WIFI module is locally stored the corresponding agreement of middle typing, profit
Less local storage space is used, hardware cost is reduced on the premise of guarantee agreement is met customer need.
Reference picture 7, in another embodiment of the invention, is provided with electric-controlled plate, electric-controlled plate is set with workshop in the equipment
Standby, WIFI module and server communication connection, on the workshop appliance can input equipment production information, and by equipment production information
Send to electric-controlled plate;Agreement input device based on WIFI module includes serial ports link module 40, and serial ports link module 40 is used
In:
Detect when being established the link between WIFI module serial ports and equipment electric-controlled plate, obtain equipment production information and simultaneously send life
Information is produced to server;
WIFI module serial ports is detected (it should be noted that WIFI module serial ports here can in serial ports link module 40
It is interpreted as what serial ports WIFI module had, the interface with WIFI wireless network links can realize that serial data is arrived by serial ports
Conversion between wireless network), (set up chain between WIFI module serial ports and electric-controlled plate when being established the link between equipment electric-controlled plate
Connect, WIFI module is passive reception agreement, it is adaptable to which a small amount of WIFI module agreement is installed), produce and install in equipment
, it is necessary to obtain the production information in production work order during WIFI module, production information can pass through Quick Response Code or other shapes
Formula is shown, will select agreement according to production information after scanning production information, production information is sent to the electric-controlled plate of equipment,
That is, the device scan of production air-conditioning obtains the corresponding production information of this batch of air-conditioning, and by production information and sends to air conditioner electricity
Plate is controlled, (it should be noted that for different intelligent appliances, the component for obtaining production information is different, and electric-controlled plate here can be done
Replace or adjust, the transmission of production information is carried out according to other parts, all should be calculated in the protection domain of this programme) set
Standby electric-controlled plate sends production information to server, so that server selects correspondence protocol contents according to production information.
Server obtains the production information that equipment electric-controlled plate is sent, and sends corresponding second protocol extremely according to production information
WIFI module, so that WIFI module installs second protocol.
Server obtains the production information that equipment electric-controlled plate is sent, and serial ports link module 40 is according to production information and agreement
Corresponding relation (that is, according to the corresponding relation of different production information and agreement, server can according to production information select to association
View), search correspondence agreement and send second protocol to WIFI module, so that WIFI module installs second protocol and (needs explanation
, due to producer's difference so there are different versions in existing agreement, agreement can be interpreted as one and insert by different contents
Part, is primarily used to regular term when information between description process exchanges data).
In the present embodiment detect established the link between WIFI module serial ports and equipment electric-controlled plate when, obtain equipment life
Production information simultaneously sends production information to server, and server obtains the production information that equipment electric-controlled plate is sent, and is believed according to production
Breath sends corresponding agreement to WIFI module, so that WIFI module installs correspondence agreement, in the present embodiment WIFI module serial ports
Established the link between equipment electric-controlled plate, the transmission of solicited message is realized by WIFI module serial ports and informed, server selection
Correspondence agreement is installed to WIFI module, and hardware cost is reduced on the premise of guarantee agreement is met customer need.
In another embodiment of the invention, the agreement input device based on WIFI module includes WIFI module link module
50, WIFI module link module 50 is used for:
When detect established the link between WIFI module and equipment electric-controlled plate when, equipment electric-controlled plate based on production information send
Instruct to server;
(WIFI module association is downloaded when detecting to establish the link between WIFI module and equipment electric-controlled plate in production equipment batch
View can directly be established the link using WIFI module between electric-controlled plate, rather than rely on the serial ports progress signal biography of WIFI module
Pass, to ensure production efficiency) when, equipment electric-controlled plate forms corresponding protocol instructions based on production information, and equipment electric-controlled plate is sent
Instruction based on production information formation is to server.
Server obtains the instruction based on production information that equipment electric-controlled plate is sent, and according to instruction selection the corresponding 3rd
Agreement is sent to WIFI module, so that WIFI module installs corresponding 3rd agreement.
Server obtains the instruction based on production information that equipment electric-controlled plate is sent, and selects the 3rd agreement according to instruction,
After WIFI module is established the link with server automatically, server sends the 3rd agreement to WIFI module, so that WIFI module is pacified
Dress correspondence Protocol Plug.
WIFI module independently establishes the link relation, WIFI module link mould between equipment electric-controlled plate in the present embodiment
Block 50 obtains the instruction based on production information that equipment electric-controlled plate is sent using server, and according to instruction selection correspondence agreement hair
Deliver to WIFI module so that WIFI module installs the 3rd agreement, server obtain that equipment electric-controlled plate sends based on production information
Instruction, and according to instruction selection the 3rd agreement send to WIFI module so that WIFI module install correspondence agreement, this method
It is adapted to mass production facilities, while production efficiency is ensured, links that transmission is corresponding to assist also by WIFI module and server
View, to meet the demand of client.
Reference picture 7, further, the agreement input device based on WIFI module also include default input module 60, preset
Input module 60, is used for:
The agreement that server is prestored sets up incidence relation with production information, so that server sends correspondence in preset time
Agreement is to WIFI module;
In the equipment production process to batch, agreement and production information that default input module 60 can prestore server
Incidence relation is set up, (that is, the production information in work order is produced according to equipment, by the WIFI module of the equipment of setting time section all
Same agreement is installed) so that server sends correspondence agreement to WIFI module in preset time (makes server according to the period
Agreement is sent to WIFI module).
When detecting WIFI module access, server is according to the incidence relation of agreement and production information, by preset time
4th agreement is sent to WIFI module, so that WIFI module installs the 4th agreement.
When detecting WIFI module access, server presets the associating according to agreement and production information of input module 60
System (that is, sets according to product information, makes product information corresponding with agreement, in substantial amounts of WIFI module agreement in the server
Link the corresponding production information of acquisition without WIFI module serial ports and electric-controlled plate during installation, without WIFI module with it is automatically controlled
Plate link obtains corresponding production information, it is only necessary to the order for setting agreement to export in the server, makes server according to production
Time inputs specific protocol to WIFI module), preset time correspondence agreement is sent to WIFI module, so that WIFI module is pacified
Dress correspondence agreement (it should be added that, the mark plug-in unit peace after Protocol Plug installation, it is necessary in the equipment of correspondence batch
Type is filled, corresponding product is supplied corresponding producer, it is main full because being only provided with specific plug-in protocol in WIFI module
The corresponding producer's demand of foot).
In the present embodiment, the agreement prestored by server sets up incidence relation with production information, so that server exists
Preset time sends correspondence agreement to WIFI module, and when detecting WIFI module access, server is believed according to agreement with production
The incidence relation of breath, the agreement of preset time the 4th is sent to WIFI module, so that WIFI module installs the 4th agreement;Make batch
Product correspondence input agreement, it is ensured that take the relatively low memory space of WIFI module, relatively low hardware cost can also correspond to full
Sufficient production efficiency.
Agreement input device based on WIFI module also includes failure replacement module 70, and failure replacement module 70 is used for:
When detecting WIFI module failure, correspondence is provided with according to the selection of the 5th agreement of typing in failure WIFI module
The WIFI module of 5th agreement is changed.
When detecting the WIFI module failure of installation settings agreement, in the maintenance process of equipment, failure replacement module
70 can carry out selection and be provided with the WIFI module of the 5th agreement to carry out more according to the 5th agreement of typing in failure WIFI module
Change, it is not necessary to which higher cost carries out renewal of the equipment, i.e. according to user's request by the WIFI module equipped with the 5th agreement of failure
Repair and replace for the new WIFI module equipped with the 5th agreement.
In the present embodiment mainly for the maintenance of equipment WIFI module failure, when the WIFI module equipped with the 5th agreement goes out
During existing failure, the WIFI module with all accord is reinstalled without user, user can be equipped with the 5th agreement according to failure
WIFI module or equipment on corresponding product information, the WIFI module equipped with the 5th agreement more renewed believes according to product
The corresponding WIFI module of breath selection is replaced, and such mode is while user's request is met, moreover it is possible to ensure that maintenance is changed
Expense is relatively low.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal equipment (can be mobile phone, computer, clothes
It is engaged in device, air conditioner, or network equipment etc.) method that performs each embodiment of the invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of agreement input method based on WIFI module, it is characterised in that the agreement typing side based on WIFI module
Method comprises the following steps:
When detecting equipment into WIFI module fixing link, equipment is adjusted to WIFI module Installation Modes, and is access
The WIFI module of equipment is powered;
According to WIFI module automatically with server set up linking relationship, from corresponding first agreement of whois lookup and send to
WIFI module;
When detecting WIFI module and getting the first agreement, the first agreement is entered into the local storage space of WIFI module
In, so that equipment installs correspondence agreement.
2. the agreement input method as claimed in claim 1 based on WIFI module, it is characterised in that be provided with the equipment
Electric-controlled plate, electric-controlled plate is communicated to connect with workshop appliance, WIFI module and server, can input equipment production on the workshop appliance
Information, and equipment production information is sent to electric-controlled plate;
It is described when detect equipment into WIFI module fixing link when, equipment is adjusted to WIFI module Installation Modes, and is connect
Include after the step of entering energization after WIFI module:
When detect established the link between WIFI module serial ports and equipment electric-controlled plate when, obtain equipment production information and simultaneously send production
Information is to server;
Server obtains the production information that equipment electric-controlled plate is sent, and sends corresponding second protocol to WIFI according to production information
Module, so that WIFI module installs second protocol.
3. the agreement input method as claimed in claim 1 based on WIFI module, it is characterised in that described to detect equipment
During into WIFI module fixing link, equipment is adjusted to WIFI module Installation Modes, and accesses the step being powered after WIFI module
Include after rapid:
When detect established the link between WIFI module and equipment electric-controlled plate when, equipment electric-controlled plate be based on production information send instruction
To server;
Server obtains the instruction based on production information that equipment electric-controlled plate is sent, and selects corresponding 3rd agreement according to instruction
Send to WIFI module, so that WIFI module installs corresponding 3rd agreement.
4. the agreement input method as claimed in claim 1 based on WIFI module, it is characterised in that described to detect equipment
During into WIFI module fixing link, equipment is adjusted to WIFI module Installation Modes, and accesses the step being powered after WIFI module
Also include after rapid:
The agreement that server is prestored sets up incidence relation with production information, so that server sends correspondence agreement in preset time
To WIFI module;
When detecting WIFI module access, server corresponds to preset time according to the incidence relation of agreement and production information
4th agreement is sent to WIFI module, so that WIFI module installs the 4th agreement of correspondence.
5. the agreement input method based on WIFI module as described in Claims 1-4 any one, it is characterised in that described
When detecting WIFI module and getting correspondence agreement, it will be entered into after correspondence agreement in being locally stored of WIFI module, so that
Also include after the step of equipment installs correspondence agreement:
When detecting WIFI module failure, correspondence the 5th is provided with according to the selection of the 5th agreement of typing in failure WIFI module
The WIFI module of agreement is changed.
6. a kind of agreement input device based on WIFI module, it is characterised in that the agreement typing dress based on WIFI module
Put including:
Adjustment module is installed, for when detecting equipment into WIFI module fixing link, equipment to be adjusted to WIFI module
Installation Modes, and be powered for the WIFI module of access device;
Searching modul is linked, for the linking relationship set up automatically with server according to WIFI module, from whois lookup correspondence
The first agreement and send to WIFI module;
Typing module is obtained, for when detecting WIFI module and getting the first agreement, the first agreement to be entered into WIFI moulds
In the local storage space of block, so that equipment installs correspondence agreement.
7. the agreement input device as claimed in claim 6 based on WIFI module, it is characterised in that be provided with the equipment
Electric-controlled plate, electric-controlled plate is communicated to connect with workshop appliance, WIFI module and server, can input equipment production on the workshop appliance
Information, and equipment production information is sent to electric-controlled plate;
The agreement input device based on WIFI module includes serial ports link module, and serial ports link module is used for:
When detect established the link between WIFI module serial ports and equipment electric-controlled plate when, obtain equipment production information and simultaneously send production
Information is to server;
Server obtains the production information that equipment electric-controlled plate is sent, and sends corresponding second protocol to WIFI according to production information
Module, so that WIFI module installs second protocol.
8. the agreement input device as claimed in claim 6 based on WIFI module, it is characterised in that described to be based on WIFI module
Agreement input device include WIFI module link module, WIFI module link module is used for:
When detect established the link between WIFI module and equipment electric-controlled plate when, equipment electric-controlled plate be based on production information send instruction
To server;
Server obtains the instruction based on production information that equipment electric-controlled plate is sent, and selects corresponding 3rd agreement according to instruction
Send to WIFI module, so that WIFI module installs corresponding 3rd agreement.
9. the agreement input device as claimed in claim 6 based on WIFI module, it is characterised in that described to be based on WIFI module
Agreement input device also include default input module, preset input module, be used for:
The agreement that server is prestored sets up incidence relation with production information, so that server sends correspondence agreement in preset time
To WIFI module;
When detecting WIFI module access, server corresponds to preset time according to the incidence relation of agreement and production information
4th agreement is sent to WIFI module, so that WIFI module installs the 4th agreement of correspondence.
10. the agreement input device based on WIFI module as described in claim 6 to 9 any one, it is characterised in that described
Agreement input device based on WIFI module also includes failure replacement module, and failure replacement module is used for:
When detecting WIFI module failure, correspondence the 5th is provided with according to the selection of the 5th agreement of typing in failure WIFI module
The WIFI module of agreement is changed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710329196.2A CN106992892A (en) | 2017-05-10 | 2017-05-10 | Agreement input method and device based on WIFI module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710329196.2A CN106992892A (en) | 2017-05-10 | 2017-05-10 | Agreement input method and device based on WIFI module |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106992892A true CN106992892A (en) | 2017-07-28 |
Family
ID=59417763
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710329196.2A Pending CN106992892A (en) | 2017-05-10 | 2017-05-10 | Agreement input method and device based on WIFI module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106992892A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112131504A (en) * | 2020-08-28 | 2020-12-25 | 长沙市到家悠享网络科技有限公司 | Webpage editing and displaying method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9402281B1 (en) * | 2011-05-26 | 2016-07-26 | Electric Imp Incorporated | Optically configured modularized control system to enable wireless network control and sensing of other devices |
CN106027542A (en) * | 2016-06-21 | 2016-10-12 | 杭州古北电子科技有限公司 | Method for enabling WiFi module to adapt to communication protocols of different manufacturer apparatuses |
CN106303717A (en) * | 2016-11-08 | 2017-01-04 | 深圳创维数字技术有限公司 | Set Top Box WiFi module upgrade method, device, Set Top Box and system |
CN106338974A (en) * | 2016-08-31 | 2017-01-18 | 杭州古北电子科技有限公司 | Method for enabling WiFi module to adapt to communication protocols of different devices |
CN106440386A (en) * | 2016-09-24 | 2017-02-22 | 广东万家乐燃气具有限公司 | WiFi water heater using multiple protocols |
-
2017
- 2017-05-10 CN CN201710329196.2A patent/CN106992892A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9402281B1 (en) * | 2011-05-26 | 2016-07-26 | Electric Imp Incorporated | Optically configured modularized control system to enable wireless network control and sensing of other devices |
CN106027542A (en) * | 2016-06-21 | 2016-10-12 | 杭州古北电子科技有限公司 | Method for enabling WiFi module to adapt to communication protocols of different manufacturer apparatuses |
CN106338974A (en) * | 2016-08-31 | 2017-01-18 | 杭州古北电子科技有限公司 | Method for enabling WiFi module to adapt to communication protocols of different devices |
CN106440386A (en) * | 2016-09-24 | 2017-02-22 | 广东万家乐燃气具有限公司 | WiFi water heater using multiple protocols |
CN106303717A (en) * | 2016-11-08 | 2017-01-04 | 深圳创维数字技术有限公司 | Set Top Box WiFi module upgrade method, device, Set Top Box and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112131504A (en) * | 2020-08-28 | 2020-12-25 | 长沙市到家悠享网络科技有限公司 | Webpage editing and displaying method, device, equipment and storage medium |
CN112131504B (en) * | 2020-08-28 | 2024-03-26 | 长沙市到家悠享网络科技有限公司 | Webpage editing and displaying method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105739460B (en) | A kind of method and apparatus for the control interface automatically generating Internet of Things household electrical appliances | |
CN1300912C (en) | System for monitoring and controlling a set of household appliances | |
CN108052674A (en) | Quick Response Code uses processing method, device, system and readable storage medium storing program for executing | |
CN105301383B (en) | A kind of automotive check method and system | |
CN105897860A (en) | Network device and information processing method | |
CN105471686A (en) | Terminal control method, terminal control apparatus and system | |
CN101951400A (en) | Software installation and upgrading method of application terminal in home network and system thereof | |
CN105744642A (en) | Wireless network connection method, mobile terminal and intelligent household devices | |
CN105387561A (en) | Air conditioner, fault treatment method, device and system of air conditioner and remote server | |
CN106506595A (en) | Upgrade method based on point-to-point Internet of Things intelligent Community equipment | |
CN105871995A (en) | Method for controlling intelligent device by router and the router | |
CN105005199A (en) | Method and apparatus for controlling equipment through gateway | |
CN105338707B (en) | Method for controlling street lamps, apparatus and system | |
CN105578515A (en) | Heartbeat frequency parameter maintenance method and server | |
CN106648721A (en) | Method and device for upgrading software | |
CN106992892A (en) | Agreement input method and device based on WIFI module | |
CN104896797A (en) | Heat pump unit and control method of heat pump unit | |
CN103679567A (en) | Plug and play system of smart power grids and implementation method thereof | |
CN101212346A (en) | Software version management method and device for network element management system | |
CN105722082A (en) | Method for intelligent equipment to obtain operation network configuration by using access point function | |
CN105792326A (en) | Method for accessing intelligent device to operational network | |
EP2663020B1 (en) | Network system | |
CN105681098B (en) | Electric appliance and its control method | |
CN103873284A (en) | Equipment management system and method | |
US10797978B2 (en) | Communication adapter and connection test run method therefor |
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: 20170728 |
|
RJ01 | Rejection of invention patent application after publication |