The prior art generallys use both (configuration) binding modes of softAP and smartLink.
Under softAP binding mode, the WiFi module of controlled plant enters hotspot pattern, and mobile phone cuts out home network company
Controlled plant Wi-Fi hotspot is connect, then home network SSID and password are sent to controlled plant by (for example, passing through cell phone application),
Controlled plant is connected and is accessed home network (that is, online) after receiving home network SSID and password, and mobile phone is again coupled to back
Home network, (for example, passing through cell phone application) search for online controlled plant, this controlled plant are tied to user (for example, cloud
Network) under account.
Under smartLink binding mode, the WiFi module of controlled plant enters smartlink configuration mode, and mobile phone connects
Home network is connect, (for example, passing through cell phone application) sends SSID and password in home network, and the WiFi module of controlled plant is received
To SSID and password and networked deployment success after, (for example, passing through cell phone application) mobile phone actively discovers controlled plant, by this by
It controls under apparatus bound to user account.
Both the above binding mode has the disadvantages that
1, under softAP binding mode, the heavy complexity of the workload of cell phone application client: need active handover network,
SSID and password are sent, judges whether configuration successful, switching home network, send and screen online equipment, bound device, to centre
The exception of process does detailed judgement processing, wants absolutely clear to entire configuration binding operation flow, APP is not only to configure
Promoter, and leading whole process of bearing a heavy burden.
2, the portability of two kinds of binding modes, reusability are all very poor: different mobile phones or difference APP (and H5, small routine
Deng) with same controlled plant (such as washing machine) carry out (configuration) bind when, need to develop this binding procedure repeatedly, Expenses Cost
And resource.
3, multiple controlled plants are not supported while carrying out configuration binding.
More specifically, Fig. 1, which is shown, realizes showing for the prior art for configuring binding using smartLink binding mode
Meaning flow chart.
As described in Figure 1, the prior art use this smartLink binding mode the following steps are included:
1, APP client, which passes through, sweeps the configuration information for sweeping function acquisition (controlled) equipment (for example, controlled plant is unique
Device identification, for making controlled plant enter the guide picture and text information of configuration mode), according to configuration information, user will
(controlled) equipment is set as configuration mode.
2, after controlled plant enters configuration mode (that is, prompt configuration mode mode in Fig. 1), APP client hair
Send (WiFi router --- the be not shown in Fig. 1) SSID for needing controlled plant to access and password (shown in FIG. 1 with installing
It is standby).
3, after controlled plant configuration successful online (that is, access WiFi router --- be not shown in Fig. 1), APP visitor
The legitimacy of family end inspection controlled plant.If there are the feelings such as time-out, abnormal during checking the legitimacy of controlled plant
Condition reexamines the legitimacy of controlled plant after time-out or progress abnormality processing.
4, after determining that controlled plant is legal, the key (that is, safe KEY) of controlled plant is obtained.If obtain by
There is situations such as time-out, abnormal during controlling the key of equipment, reacquires controlled set in time-out or after carrying out abnormality processing
Standby key.
5, after receiving the key from controlled plant, the binding interface of cloud platform is called, by controlled plant information
(that is, bound device shown in FIG. 1) is associated with user information (for example, user account of APP client).
6, after binding success, APP client (for example, by using user account of APP client) maintenance it is local by
List of devices is controlled, is refreshed list of controlled devices (being not shown in Fig. 1).
It can be seen that in entire binding procedure from above-mentioned binding procedure, APP will pay close attention to the state of controlled plant in real time,
Various troublesome operations (for example, operating procedure that dotted line frame is included in Fig. 1) is actively completed, and cannot interrupt or exit APP.
Therefore, to solve the above-mentioned problems, need to propose new technical solution.
Summary of the invention
Communication control system according to the present invention, comprising:
Controlled plant is mounted with the first WiFi module on controlled plant, carries out wireless communication via the first WiFi module, by
Control equipment stores the binding authorization code through secondary transmission, sends binding three times for receiving the binding authorization code through secondary transmission
Authorization code;
Mobile phone is mounted with the second WiFi module and the APP for controlling controlled plant on mobile phone, via the second WiFi module
It carries out wireless communication, generates the instruction for controlling controlled plant via APP, mobile phone is awarded for receiving the binding through sending for the first time
Weighted code, when sending the binding instruction for being used to indicate controlled plant binding mobile phone, authorization code is bound in secondary transmission simultaneously;
WiFi router is mounted with third WiFi module and the first the Internet communication module, the road WiFi on WiFi router
It is used to carry out wireless communication via third WiFi module and the first WiFi module and the second WiFi module by device, via the first interconnection
Network Communication module carries out wired internet communication;
Cloud platform is mounted with the second the Internet communication module in cloud platform, via the second the Internet communication module and first
The Internet communication module progress wired internet communication, cloud platform bind authorization code for generating and sending for the first time, reception and school
Test the binding authorization code through sending three times, after to the binding authorization code unsuccessful verification through sending three times, execute binding instruction,
The implementing result of binding instruction is sent to mobile phone.
Communication control system according to the present invention, controlled plant are also used to, and provide the two dimensional code of controlled plant, pre- advanced
Enter configuration mode or enters configuration mode for controlling when controlled plant enters the pattern configurations instruction of configuration mode receiving;
Its mobile phone is also used to, and unique device identity, generation and the transmission of controlled plant are scanned the two-dimensional code, obtained via APP
Pattern configurations instruction,
Wherein, pattern configurations instruction includes the picture and/or text letter for being used to indicate user and how entering configuration mode
Breath.
Communication control system according to the present invention, mobile phone are also used to, and obtain and send the SSID of WiFi router and close
Code;
Its controlled plant is also used to, and receives SSID and password, accesses WiFi router using SSID and password.
Communication control system according to the present invention, mobile phone are also used to, after controlled plant successfully binds mobile phone, via
APP is generated and directly to controlled plant sending device operational order;
Its controlled plant is also used to, and after controlled plant successfully binds mobile phone, receives the equipment behaviour of the APP from mobile phone
It instructs.
Communication control system according to the present invention, mobile phone and cloud platform are also used to, the Unique Device based on controlled plant
Mark makes mobile phone while configuring to bind multiple and different controlled plants.
Communication control method according to the present invention, comprising:
Following steps are executed via controlled plant:
Receive the binding authorization code through secondary transmission;
Store the binding authorization code through secondary transmission;
Binding authorization code is sent three times,
Following steps are executed via mobile phone:
Receive the binding authorization code through sending for the first time;
When sending the binding instruction for being used to indicate controlled plant binding mobile phone, authorization code is bound in secondary transmission simultaneously,
Following steps are executed via WiFi router:
It is carried out wireless communication via third WiFi module and the first WiFi module and the second WiFi module;
Wired internet communication is carried out via the first the Internet communication module,
Following steps are executed via cloud platform:
Generate and send for the first time binding authorization code;
Receive and verify the binding authorization code through sending three times;
After to the binding authorization code unsuccessful verification through sending three times, executes binding instruction, refers to mobile phone transmission binding
The implementing result of order,
Wherein, it is mounted with the first WiFi module on controlled plant, is carried out wireless communication via the first WiFi module;On mobile phone
It is mounted with the second WiFi module and the APP for controlling controlled plant, is carried out wireless communication via the second WiFi module, via
APP generates the instruction for controlling controlled plant;Third WiFi module and the first internet communication are mounted on WiFi router
Module;The second the Internet communication module is mounted in cloud platform, via the second the Internet communication module and the first internet communication
Module carries out wired internet communication.
Communication control method according to the present invention, further includes:
Following steps are executed via controlled plant:
The two dimensional code of controlled plant is provided;
It is introduced into configuration mode in advance or is receiving the pattern configurations instruction for entering configuration mode for controlling controlled plant
When enter configuration mode,
Following steps are executed via mobile phone:
Unique device identity, generation and the sending mode configuration-direct of controlled plant are scanned the two-dimensional code, obtained via APP,
Wherein, pattern configurations instruction includes the picture and/or text letter for being used to indicate user and how entering configuration mode
Breath.
Communication control method according to the present invention, further includes:
Following steps are executed via mobile phone:
The SSID and password of WiFi router are obtained and send,
Following steps are executed via controlled plant:
SSID and password are received, accesses WiFi router using SSID and password.
Communication control method according to the present invention, further includes:
After controlled plant successfully binds mobile phone, following steps are executed via mobile phone:
It is generated via APP and directly to controlled plant sending device operational order,
Following steps are executed via controlled plant:
Receive the equipment operation instruction of the APP from mobile phone.
Communication control method according to the present invention, further includes:
Following steps are executed via mobile phone and cloud platform:
Unique device identity based on controlled plant makes mobile phone while configuring to bind multiple and different controlled plants.
Above-mentioned technical proposal according to the present invention can be realized simply and efficiently between control equipment and controlled plant
Binding.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.It needs
It is noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can mutual any combination.
If background technique is described in conjunction with Figure 1, in the prior art scheme, APP client is needed to be implemented from starting to match
The each operating procedure for being tied to binding success is set, the exception in each step will also be handled with time-out, lead to APP industry
Business function very complicated, configuration binding rate is not high, and configuration binding experience is poor, portability very poor, the small routine, H5, OS of platform
Equal system compatibilities are poor, extension is bad.Cause the configuration binding procedure between the equipment of different vendor very complicated.
The present invention is based on by the tedious steps as performed by cell phone application in the prior art a part of step (for example, figure
A part of operating procedure that dotted line frame is included in 1) it is transferred to the general plotting of cloud platform execution, propose following technical side
Case is bound with the configuration simply and efficiently realized between control equipment and controlled plant.
Fig. 2 schematically illustrates the schematic diagram of communication control system 200 according to the present invention.
As shown in Fig. 2, communication control system 200 according to the present invention, comprising:
Controlled plant 201 is mounted with the first WiFi module (being not shown in Fig. 2) on controlled plant 201, via first
WiFi module carries out wireless communication 209, and controlled plant 201 is stored for receiving the binding authorization code through secondary transmission through secondary
The binding authorization code of transmission sends binding authorization code three times;
Mobile phone 203 is mounted with the second WiFi module (being not shown in Fig. 2) on mobile phone 203 and for controlling controlled plant
201 APP carries out wireless communication 209 via the second WiFi module, generates the finger for controlling controlled plant 201 via APP
It enables, mobile phone 203 is used to indicate controlled plant 201 in transmission and binds mobile phone 203 for receiving the binding authorization code through sending for the first time
Binding instruction when, the binding authorization code of secondary transmissions simultaneously;
WiFi router 205 is mounted with third WiFi module (being not shown in Fig. 2) and first on WiFi router 205
The Internet communication module (is not shown) in Fig. 2, and WiFi router 205 is used for via third WiFi module and the first WiFi module
And second WiFi module carry out wireless communication 209, via the first the Internet communication module carry out wired internet communication 211;
Cloud platform 207 is mounted with the second the Internet communication module (being not shown in Fig. 2) in cloud platform 207, via second
The Internet communication module carries out wired internet with the first the Internet communication module and communicates 211, and cloud platform 207 is for generation and head
Authorization code is bound in secondary transmission, is received and is verified the binding authorization code through sending three times, to the binding authorization code through sending three times
After unsuccessful verification, execute the implementing result for binding instruction, the transmission binding instruction of Xiang Shouji 203.
Optionally, controlled plant 201 is also used to, and provides the two dimensional code of controlled plant 201, be introduced into advance configuration mode or
It receives and enters configuration mode for controlling when controlled plant 201 enters the pattern configurations instruction of configuration mode;
Mobile phone 203 is also used to, scanned the two-dimensional code via APP, the unique device identity that obtains controlled plant 201, generate and
Sending mode configuration-direct,
Wherein, pattern configurations instruction includes the picture and/or text letter for being used to indicate user and how entering configuration mode
Breath.
For example, as shown in Fig. 2, controlled plant 201 may include digital camera, DV, printer etc..
Optionally, mobile phone 203 is also used to, and obtains and send the SSID and password of WiFi router 205;
Controlled plant 201 is also used to, and receives the SSID and password of WiFi router 205, is accessed using SSID and password
WiFi router 205.
Optionally, mobile phone 203 is also used to, and after controlled plant 201 successfully binds mobile phone 203, is generated via APP and straight
It connects to 201 sending device operational order of controlled plant;
Controlled plant 201 is also used to, and after controlled plant 201 successfully binds mobile phone 203, is received from mobile phone 203
The equipment operation of APP instructs.
For example, above equipment operational order includes completing between controlled plant 201 and mobile phone 203 (that is, control equipment)
After binding (that is, after successful execution binding instruction), user passes through the equipment control instruction that mobile phone 203 is able to carry out, these
Equipment control instruction can control controlled plant execute it is various operation (for example, the adjusting of air-conditioning switch machine, temperature, digital camera,
The shooting of DV plays, the printing etc. of printer).
Optionally, mobile phone 203 and cloud platform 207 are also used to, and the unique device identity based on controlled plant 201 makes mobile phone
203 configure the multiple and different controlled plant 201 of binding simultaneously.
For example, mobile phone 203 and cloud platform 207 can bind digital camera, DV, printing in Fig. 2 simultaneously
Multiple and different controlled plant 201 such as machine.
Fig. 3 schematically illustrates the schematic flow diagram of communication control method according to the present invention.
As shown in Fig. 3 (a)-(d) solid box, communication control method according to the present invention, comprising:
Following steps are executed via controlled plant:
S302a: the binding authorization code through secondary transmission is received;
S304a: binding authorization code of the storage through secondary transmission;
S306a: sending binding authorization code three times,
Following steps are executed via mobile phone:
S302b: the binding authorization code through sending for the first time is received;
S304b: when sending the binding instruction for being used to indicate controlled plant binding mobile phone, secondary transmission binding authorization simultaneously
Code,
Following steps are executed via WiFi router:
S302c: it is carried out wireless communication via third WiFi module and the first WiFi module and the second WiFi module;
S304c: carrying out wired internet communication via the first the Internet communication module,
Following steps are executed via cloud platform:
S302d: generating and sends binding authorization code for the first time;
S304d: receiving and binding authorization code of the verification through sending three times;
S306d: it after to the binding authorization code unsuccessful verification through sending three times, executes binding instruction, sent to mobile phone
The implementing result of instruction is bound,
Wherein, it is mounted with the first WiFi module on controlled plant, is carried out wireless communication via the first WiFi module;On mobile phone
It is mounted with the second WiFi module and the APP for controlling controlled plant, is carried out wireless communication via the second WiFi module, via
APP generates the instruction for controlling controlled plant;Third WiFi module and the first internet communication are mounted on WiFi router
Module;The second the Internet communication module is mounted in cloud platform, via the second the Internet communication module and the first internet communication
Module carries out wired internet communication.
Optionally, as shown in Fig. 3 (a)-(b) dotted line frame, communication control method according to the present invention, further includes:
Following steps are executed via controlled plant:
S308a: the two dimensional code of controlled plant is provided;
S310a: it is introduced into configuration mode in advance or matches receiving the mode for entering configuration mode for controlling controlled plant
Enter configuration mode when setting instruction,
Following steps are executed via mobile phone:
S306b: unique device identity, generation and the sending mode configuration of controlled plant are scanned the two-dimensional code, obtained via APP
Instruction,
Wherein, pattern configurations instruction includes the picture and/or text letter for being used to indicate user and how entering configuration mode
Breath.
Optionally, as shown in Fig. 3 (a)-(b) dotted line frame, communication control method according to the present invention, further includes:
Following steps are executed via mobile phone:
S308b: obtaining and sends the SSID and password of WiFi router,
Following steps are executed via controlled plant:
S312a: receiving SSID and password, accesses WiFi router using SSID and password.
Optionally, as shown in the dotted line frame of Fig. 3, communication control method according to the present invention, further includes:
After controlled plant successfully binds mobile phone, following steps are executed via mobile phone:
S310b: generating via APP and directly to controlled plant sending device operational order,
Following steps are executed via controlled plant:
S314a: the equipment operation instruction of the APP from mobile phone is received.
Optionally, as shown in the dotted line frame of Fig. 3 (b) and 3 (d), communication control method according to the present invention, further includes:
Following steps are executed via mobile phone and cloud platform:
S312b (S308d): the unique device identity based on controlled plant make mobile phone and meanwhile configure binding it is multiple and different by
Control equipment.
In order to make those skilled in the art be more clearly understood that above-mentioned technical proposal according to the present invention, below in conjunction with tool
Body embodiment is illustrated.
Fig. 4, which is schematically illustrated, realizes that the configuration of Lightweight AP P client is tied up in communication control method according to the present invention
Determine the schematic flow diagram of process.
As shown in figure 4, the example Lightweight AP P client configuration binding procedure the following steps are included:
1, user sends the request for obtaining (binding) authorization code by APP client to cloud platform.
2, cloud platform can generate (for example, encryption) according to token, User ID, timestamp carried in request etc. and award
Weighted code, and authorization code is sent to APP client.
3, APP client, which passes through, sweeps the configuration information for sweeping function acquisition (controlled) equipment (for example, controlled plant is unique
Device identification), according to configuration information, (controlled) equipment is set configuration mode by user.
4, determine that controlled plant enters configuration mode (that is, the prompt in Fig. 4 (for example, passing through the display information on APP)
Configuration mode mode) after, APP client send need controlled plant access (WiFi router --- be not shown in Fig. 4
) SSID, password and authorization code (configuration equipment shown in Fig. 4).
5, success it is online (that is, use SSID, password access WiFi router --- be not shown in Fig. 4) after, by
It controls equipment and received authorization code is sent to cloud platform.
6, cloud platform verifies authorization code, if verification is qualified, cloud platform be directly bound this user (for example, user mobile phone or
User APP account) and controlled plant, and binding success/failure information notifies to give APP client.
7, APP client need to only receive and show binding success/failure information that cloud platform pushes to user.
Optionally, it can also be executed after step 3 in conjunction with Fig. 4 above-mentioned steps 1,2 described.
That is, in this embodiment, APP client is used only for open configuration binding process, guidance user complete with it is controlled
Configuration binding between equipment.Cloud platform is for generating (binding) authorization code, verification authorization code and completing binding controlled plant.By
Control equipment is used to enter configuration mode, receives SSID and password that APP is sent, completion configuration is simultaneously online, (for example, passing through WiFi
Router is not shown in Fig. 4) be connected to cloud platform (server) after, authorization code is sent to cloud platform, completes pipe-line communication
Work.
Above-mentioned technical proposal according to the present invention can be realized simply and efficiently between control equipment and controlled plant
(configuration) binding.It also has the advantage that
1, the binding process of very complicated can be put on powerful cloud platform (for example, server) and is completed, reduce APP
The pressure of client, allow the closer lightweight of APP, binding speed faster, it is more efficient;APP, H5, OS etc. are cross-platform to be realized
Configuration binding, portable more preferable, binding procedure experience is more preferable.
2, such " postman " binding mode, can support to bind and configure simultaneously multiple equipment.
3, APP client may be implemented as the client of lightweight, in configuration process, only tries to make a match, is not necessarily to
Processing complicated cumbersome operation flow (for example, process in Fig. 1 in dotted line frame) and exception relevant to above-mentioned operation flow
With timeout treatment process, the compatibility issue between different cell phone manufacturers is avoided.Configuration binding rate is improved, configuration is allowed to bind
Experience is more friendly, and portability greatly improves between platform.Configuration binding is more smooth efficiently, is promoted in entire Internet of Things industry
Control equipment and controlled plant between binding it is horizontal.
Descriptions above can combine implementation individually or in various ways, and these variants all exist
Within protection scope of the present invention.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove
Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment,
Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one
Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain groups
Part or all components may be implemented as by processor, such as the software that digital signal processor or microprocessor execute, or by
It is embodied as hardware, or is implemented as integrated circuit, such as specific integrated circuit.Such software can be distributed in computer-readable
On medium, computer-readable medium may include computer storage medium (or non-transitory medium) and communication media (or temporarily
Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included in for storing information (such as
Computer readable instructions, data structure, program module or other data) any method or technique in the volatibility implemented and non-
Volatibility, removable and nonremovable medium.Computer storage medium include but is not limited to RAM, ROM, EEPROM, flash memory or its
His memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other
Magnetic memory apparatus or any other medium that can be used for storing desired information and can be accessed by a computer.This
Outside, known to a person of ordinary skill in the art to be, communication media generally comprises computer readable instructions, data structure, program mould
Other data in the modulated data signal of block or such as carrier wave or other transmission mechanisms etc, and may include any information
Delivery media.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations.Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, the spirit of the technical solution for various embodiments of the present invention that it does not separate the essence of the corresponding technical solution
And range.