CN108632056A - A kind of smart machine network collocating method and system - Google Patents
A kind of smart machine network collocating method and system Download PDFInfo
- Publication number
- CN108632056A CN108632056A CN201710160396.XA CN201710160396A CN108632056A CN 108632056 A CN108632056 A CN 108632056A CN 201710160396 A CN201710160396 A CN 201710160396A CN 108632056 A CN108632056 A CN 108632056A
- Authority
- CN
- China
- Prior art keywords
- networked devices
- broadcast packet
- network configuration
- information
- configuration information
- 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.)
- Granted
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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a kind of smart machine network collocating method and systems, wait for that networked devices send the first broadcast packet for acquisition request network configuration information, after networked devices receive the first broadcast packet, judge whether the platform information that the first broadcast packet includes is consistent with the platform information belonging to networked devices;When platform information is consistent, it has included the second broadcast packet of network configuration information that networked devices, which are then sent, can be dependent on the network configuration information that the second broadcast packet includes after networked devices receive second broadcast packet, realize network configuration.It can be seen that, the network configuration information for including that can be dependent in the broadcast packet that networked devices have been sent for waiting for the network configuration of networked devices, realize network configuration, it no longer needs to repeat artificial distribution operating process, can fast and efficiently realize smart machine matches net operation, improves user experience.
Description
Technical field
The present invention relates to internet of things field, more particularly to a kind of smart machine network collocating method and system.
Background technology
When smart machine realizes networking, need to carry out network configuration network pairing in other words, hereinafter referred to as distribution.Configuration
The username and password of router needed for networking, this process is commonly referred to as a key distribution technical solution, and user is first in intelligence
Distribution pattern triggering button is found in equipment, so that smart machine is entered distribution pattern according to specified operation, then open mobile phone application,
It manually selects and matches net mode, for example, scanning the special Quick Response Code of the smart machine or the intelligence being selected to set from list of devices
It is standby, start router hot spot and search for, connect Designated Router title, input networking password is somebody's turn to do by being completed after a series of interactions
The network configuration of smart machine.In the configuration process, the model for knowing smart machine in advance or smart machine is needed to correspond to
Quick Response Code can just start with net operation, the operating time is slow, success rate is not high, and if for there are more in the same area
When smart machine is in distribution pattern, it is possible that the case where configuration error.
Traditional distribution technical solution, cannot achieve sharing for smart machine distribution information, and every smart machine realizes networking
When, it being required for manually carrying out above-mentioned distribution operating process, when realizing networking for more smart machines, distribution elapsed time is long,
Operating quantity is big, influences the experience of user.
As it can be seen that working efficiency when how to improve to more smart machine distributions, improves user experience, is art technology
Personnel's urgent problem to be solved.
Invention content
The object of the present invention is to provide a kind of smart machine network collocating method and systems, can fast and efficiently realize
Smart machine matches net operation, improves user experience.
In order to solve the above technical problems, the present invention provides a kind of smart machine network collocating method, it is applied to consolidated network
Smart machine on platform, the smart machine include waiting for networked devices and networked devices, the method includes:
It is described to wait for that networked devices send the first broadcast packet for acquisition request network configuration information, first broadcast packet
Include the facility information and platform information for waiting for networked devices;It is described to wait for that networked devices are that the network configuration letter is not arranged
The equipment of breath;
Second broadcast packet for carrying specific identifier for waiting for that networked devices are sent described in networked devices reception, is dependent on
The network configuration information that second broadcast packet includes realizes network configuration.
Optionally, described to wait for that networked devices are dependent on the network configuration information that second broadcast packet includes, it is real
Now network configuration includes:
It is described that the network configuration information after encryption is decrypted according to the facility information after networked devices
Processing;Network configuration information after the decryption includes Wi-Fi connection information and platform log-on message;
It is described to wait for that networked devices are connected the Wi-Fi specified in the Wi-Fi connection information using itself Wi-Fi module and route
Device;
If successful connection, the equipment of networked devices is waited for described in the registration of corresponding platform according to the platform log-on message
Information realizes network configuration.
Optionally, described after networked devices according to the facility information to the network configuration information after encryption
Before being decrypted, further include:
It is described to wait for that networked devices judge whether the signal strength of second broadcast packet received meets second threshold;
If meeting the second threshold, it is described after networked devices according to the facility information to encryption after described in
Network configuration information is decrypted.
Optionally, further include after networked devices realize network configuration described:
It is described to wait for that networked devices are sent for informing the third broadcast packet for having got network configuration information.
The embodiment of the present invention also provides a kind of smart machine network collocating method, the intelligence being applied on consolidated network platform
Equipment, the smart machine include waiting for networked devices and networked devices, the method includes:
The networked devices wait for first for acquisition request network configuration information that networked devices are sent described in receiving
Broadcast packet;Judge whether the platform information that first broadcast packet includes is believed with the platform belonging to the networked devices
Breath is consistent;First broadcast packet includes the facility information and platform information for waiting for networked devices;The networked devices
Equipment for the network configuration information has been arranged;
If consistent, the networked devices send the second broadcast packet for carrying specific identifier;It is wrapped in second broadcast packet
Include the network configuration information.
Optionally, before the networked devices send the second broadcast packet for carrying specific identifier, further include:
The networked devices judge whether the signal strength of first broadcast packet received meets first threshold;
If meeting the first threshold, the networked devices send the second broadcast packet for carrying specific identifier.
Optionally, before the networked devices send the second broadcast packet for carrying specific identifier, further include:
The facility information that first broadcast packet that the foundation of networked devices receives includes is to the net
Network configuration information is encrypted.
Optionally, after the networked devices send the second broadcast packet for carrying specific identifier, further include:
If the networked devices receive and described wait for that networked devices sent has got network configuration letter for informing
The third broadcast packet of breath then stops sending second broadcast packet.
Optionally, further include:
If the network configuration information being arranged in the first equipment is changed, first equipment matches modified network
Confidence breath is encrypted;First equipment is any one in the networked devices for including under consolidated network environment;
First equipment sends the 4th broadcast packet changed for informing network configuration information at the appointed time;Institute
It includes the network configuration information after encryption to state the 4th broadcast packet;
Second equipment receives the 4th broadcast packet that first equipment is sent;Second equipment is consolidated network ring
Any one in networked devices under border in addition to the first equipment;
The 4th broadcast packet is decrypted in second equipment, and according to the network configuration information after decryption,
Realize network configuration.
The embodiment of the present invention also provides a kind of smart machine network configuration system, including waits for networked devices and networked to set
It is standby, it is described to wait for that networked devices and the networked devices are the smart machine on consolidated network platform;
It is described to wait for networked devices, for sends be used for acquisition request network configuration information the first broadcast packet, described first
Broadcast packet includes the facility information and platform information for waiting for networked devices;The carrying that networked devices have been sent described in receiving is special
The second broadcast packet known is calibrated, the network configuration information that second broadcast packet includes is dependent on, realizes network configuration;
The networked devices judge that first broadcast packet includes described for receiving first broadcast packet
Whether platform information is consistent with the platform information belonging to the networked devices;First broadcast packet waits networking described in including
The facility information and platform information of equipment;If consistent, the networked devices send the second broadcast packet for carrying specific identifier;Institute
It includes the network configuration information to state the second broadcast packet.
It is wide for the first of acquisition request network configuration information to wait for that networked devices are sent it can be seen from above-mentioned technical proposal
Packet is broadcast, the first broadcast packet includes the facility information and platform information for waiting for networked devices, and networked devices receive described
After first broadcast packet, wait for whether networked devices belong to the same network platform with networked devices to identify, it can be by sentencing
Whether the platform information that first broadcast packet includes that breaks is consistent with the platform information belonging to networked devices;Work as platform
When information is consistent, networked devices can then send the second broadcast packet including network configuration information, wait for that networked devices receive this
After second broadcast packet, it can be dependent on the network configuration information that second broadcast packet includes, realize network configuration.
As it can be seen that for waiting for that the network for including that the network configuration of networked devices can be dependent in the broadcast packet that networked devices have been sent is matched
Confidence ceases, and realizes network configuration, no longer needs to repeat artificial distribution operating process, can fast and efficiently realize that intelligence is set
Standby matches net operation, improves user experience.
Description of the drawings
In order to illustrate the embodiments of the present invention more clearly, attached drawing needed in the embodiment will be done simply below
It introduces, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ordinary skill people
For member, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of flow chart of smart machine network collocating method provided in an embodiment of the present invention;
Fig. 2 is the flow chart that a kind of networked devices provided in an embodiment of the present invention change network configuration information method;
Fig. 3 is a kind of structural schematic diagram of smart machine network configuration system provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole embodiments.Based on this
Embodiment in invention, without making creative work, what is obtained is every other by those of ordinary skill in the art
Embodiment belongs to the scope of the present invention.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.
In traditional approach, when more smart machines realize networking, every smart machine is required for manually carrying out matching net operation
Flow, distribution elapsed time is long, and operating quantity is big, influences the experience of user.For this purpose, an embodiment of the present invention provides a kind of intelligence to set
Standby network collocating method and system, the smart machine being mainly used on consolidated network platform.Wait for that networked devices can be dependent on
The network configuration information for including in the broadcast packet that networked devices have been sent, realizes network configuration, without manually being matched again
Net operation flow, can fast and efficiently realize smart machine matches net operation.
When smart machine realizes networking, relevant facility information can be registered beyond the clouds, in identical high in the clouds registration equipment letter
The smart machine of breath belongs to the same network platform, can be referred to as the same platform.What the embodiment of the present invention was proposed waits joining
Net equipment and networked devices refer to the smart machine for belonging to the same network platform, wherein wait for that networked devices can be not
The equipment of network configuration information is set, and networked devices can be the equipment that network configuration information has been arranged.
In view of the transmission range of broadcast packet is limited, the application scenarios of the embodiment of the present invention are primarily directed to consolidated network ring
Smart machine under border, consolidated network environment can be understood as the smart machine and used by the same user, in other words
It is that the smart machine realizes networking using the username and password of identical router.It should be noted that for one
Networked devices, when the network environment residing for it changes, the network configuration information of this networked devices setting is no longer suitable
For new network environment, cause this equipment can not be under new network environment in fact using original network configuration information
It now networks, at this point, under new network environment, this equipment is equivalent to one and waits for networked devices.
Using smart machine network collocating method provided in an embodiment of the present invention, the intelligence under consolidated network environment is set
Standby, as long as there is a smart machine that network configuration information has been arranged, this smart machine is networked devices, then in the network
The network configuration information that other smart machines under environment need to include only according to this broadcast packet that networked devices have been sent, just
Network configuration can be achieved, no longer need to manually carry out network configuration.Next, one kind that the embodiment of the present invention is provided is discussed in detail
Smart machine network collocating method, the smart machine being applied on consolidated network platform, the smart machine include waiting for that networking is set
Standby and networked devices.Fig. 1 is a kind of flow chart of smart machine network collocating method provided in an embodiment of the present invention, this method
Including:
S101:It is described to wait for that networked devices send the first broadcast packet for acquisition request network configuration information.
By taking a smart machine as an example, after the device power, it can detect and whether network configuration information, institute itself were set
It may include Wi-Fi connection information, platform information and equipment platform log-on message to state network configuration information.Wherein, Wi-Fi connection
Information can be that smart machine realizes service set (Service Set Identifier, SSID) specified when networking
The username and password of Wi-Fi routers;Platform information can be used to indicate that the network platform belonging to the smart machine;Platform is noted
Volume information can be information of the smart machine when the platform is registered, and it includes the intelligence to be removed in the platform log-on message
Can also include the user information belonging to the smart machine, in order to which the smart machine can be specified outside the facility information of equipment
It is used by which user, or perhaps which network environment is belonged to.
If the network configuration information is not arranged for the smart machine, which is to wait for networked devices, then the intelligence
Equipment can send the first broadcast packet by the bluetooth module of itself.
May include the facility information and platform information for waiting for networked devices in first broadcast packet.Wherein, facility information
Can be for identifying the relevant information for waiting for networked devices, specifically, can be the device identifier for waiting for networked devices.For
It is more detailed to understand the information for waiting for networked devices, in facility information can also include the equipment class for waiting for networked devices
Type and unit type.Platform information can be used to indicate that this waits for the network platform belonging to networked devices.
It should be noted that in view of in practical applications, the data length of the information carried in the first broadcast packet compares
Greatly, so, in embodiments of the present invention can according to data length to the information that is carried in broadcast packet carry out cutting namely this
One broadcast packet can be a complete broadcast packet, can also be to be made of multiple broadcast packets after cutting.
S102:The networked devices receive described in wait for that networked devices send for acquisition request network configuration information
First broadcast packet.
For networked devices, the broadcast packet of surrounding can be continued to monitor.When, networked devices have monitored intelligence
After the first broadcast packet for acquisition request network configuration information that equipment is sent, can be received by the bluetooth module of itself should
First broadcast packet.
S103:Judge the platform information that first broadcast packet includes whether with belonging to the networked devices
Platform information is consistent.
It waits for that networked devices belong to the same network platform with networked devices in order to ensure the first broadcast packet of transmission, has joined
Net equipment can wait for this network platform belonging to networked devices judges.
Due to waiting in the first broadcast packet that networked devices are sent including that this waits for platform information belonging to networked devices, therefore
This, the platform information belonging to it can be compared by networked devices with the platform information that the first broadcast packet includes, when this
When two platform informations are consistent, then illustrate that this waits for that networked devices belong to the same network platform to networked devices with this.
S104:If consistent, the networked devices send the second broadcast packet for carrying specific identifier.
When networked devices with networked devices belong to the same network platform when, networked devices can pass through itself for this
Bluetooth module send the second broadcast packet, include network configuration information in second broadcast packet.For the ease of waiting for networked devices
It can quickly identify second broadcast packet, specific identifier can be carried in the second broadcast packet, which can be used for table
Show second broadcast packet belong to include network configuration information broadcast packet.It may include Wi-Fi connection in network configuration information
Information, it should be noted that in practical applications, may there is a situation where that Wi-Fi router passwords are sky, at this time Wi-Fi
Wi-Fi routers password can be used as password by transmitting a null character string in link information.
Due to the influence of the factors such as network environment, the distance of transmission when in view of sending broadcast packet, may influence to send
Broadcast packet integrality and transmission rate, that is, wait for the network configuration information that the broadcast packet that networked devices receive includes
May be imperfect, or when networked devices when receiving broadcast packet, the rate of reception is relatively low, influences working efficiency.
Therefore, networked devices can first judge the signal strength of broadcast packet before sending the second broadcast packet.
Signal strength is higher, illustrates that integrality of the broadcast packet when being transmitted is better, and the rate transmitted is sufficiently fast.
Specifically, networked devices can be by judging whether the signal strength of first broadcast packet received meets
First threshold.
Wherein, first threshold can be used to indicate that the intensity value of signal strength, when signal strength meets first threshold, say
It is bright in networked devices and to wait for that the integrality of the broadcast packet transmitted between networked devices and transmission rate be guaranteed,
So can be after signal strength meets first threshold, networked devices retransmit the second broadcast packet for carrying specific identifier.
It should be noted that similar with the first broadcast packet, in embodiments of the present invention, the second broadcast packet can be one complete
Whole broadcast packet can also be to be made of multiple broadcast packets after cutting.
S105:Second broadcast packet for carrying specific identifier for waiting for that networked devices are sent described in networked devices reception,
It is dependent on the network configuration information that second broadcast packet includes, realizes network configuration.
It, can be according to the Wi-Fi connection letter that network configuration information includes after networked devices receive the second broadcast packet
The specified Wi-Fi routers of breath connection.Specifically, waiting for that networked devices can use itself Wi-Fi module to connect the Wi-Fi and connect
Connect the Wi-Fi routers specified in information;If successful connection, letter can be registered according to the platform that network configuration information includes
It ceases in the facility information for waiting for waiting for networked devices described in the corresponding platform registration of networked devices, realizes network configuration.
In view of when networked devices connection specified Wi-Fi routers, may because of network signal it is unstable etc. because
The influence of element, causes to connect unsuccessful, therefore, can repeatedly be connected automatically, the embodiment of the present invention pair after connection failure
It does not limit, can be set according to actual conditions in connection number.If can not be still successfully connected to after repeatedly attempting
Specified Wi-Fi routers, then may be because wait for that the network configuration information that networked devices are got is imperfect or incorrect, therefore
This, can repeat aforesaid operations process, reacquire network configuration information.
It should be noted that in embodiments of the present invention, for networked devices and waiting for that networked devices are sent, reception is broadcasted
The mode of packet does not limit, and can be dependent on networked devices and wait for that the function module that networked devices have determines.For having
The networked devices of bluetooth module wait for networked devices, can be sent by itself bluetooth module, receive broadcast packet, for tool
There are the networked devices of wireless near field communication (Near Field Communication, NFC) chip or wait for networked devices,
Can be that the transmission of broadcast packet is realized by the NFC chip, is received.It is with indigo plant in embodiments of the present invention in order to facilitate introduction
The introduction carried out for tooth module.
It is wide for the first of acquisition request network configuration information to wait for that networked devices are sent it can be seen from above-mentioned technical proposal
Packet is broadcast, the first broadcast packet includes the facility information and platform information for waiting for networked devices, and networked devices receive described
After first broadcast packet, wait for whether networked devices belong to the same network platform with networked devices to identify, it can be by sentencing
Whether the platform information that first broadcast packet includes that breaks is consistent with the platform information belonging to networked devices;Work as platform
When information is consistent, networked devices can then send the second broadcast packet including network configuration information, wait for that networked devices receive this
After second broadcast packet, it can be dependent on the network configuration information that second broadcast packet includes, realize network configuration.
As it can be seen that for waiting for that the network for including that the network configuration of networked devices can be dependent in the broadcast packet that networked devices have been sent is matched
Confidence ceases, and realizes network configuration, no longer needs to repeat artificial distribution operating process, can fast and efficiently realize that intelligence is set
Standby matches net operation, improves user experience.
In practical applications, the second broadcast packet that networked devices have been sent may have been joined with this by other smart machines
Net equipment is not that smart machine under consolidated network environment receives, which may be according to wrapping in the second broadcast packet
The network configuration information included establishes illegal network connection, or even generates threat to network environment, therefore, is sent to be promoted
When the second broadcast packet, the safety of network configuration information can be encrypted the network configuration information, i.e., in S104
Before networked devices send the second broadcast packet, the network configuration information that can include to second broadcast packet first is added
Close processing.
Specifically, the networked devices can be according to the equipment letter that first broadcast packet received includes
The network configuration information is encrypted in breath.
What the second broadcast packet that networked devices have been sent at this time included is the network configuration information after encryption.
Wherein, for the determination of the key of encryption, it is contemplated that the purpose that networked devices have sent the second broadcast packet exists
Wait for that networked devices receive second broadcast packet in alloing, and this waits for that the first broadcast packet that networked devices are sent includes this
Wait for the facility information of networked devices, so, can include using first broadcast packet this wait for the facility informations of networked devices as
The key of encryption.
In the case of the network configuration information that the second broadcast packet includes is encrypted, then wait for that networked devices are receiving this
After second broadcast packet, it is necessary first to which encrypted network configuration information is decrypted.Specifically, waiting for that networked devices receive
After second broadcast packet, the encrypted network configuration information can be decrypted according to the facility information of itself, to obtain
To network configuration information, then according to the network configuration information, to realize network configuration.
In embodiments of the present invention, the facility information of networked devices will be waited for as to the close of network configuration information encryption
Key, therefore even if other smart machines receive second broadcast packet, it, can not be from this due to that can not know the key of decryption
Network configuration information is got in second broadcast packet, to fully ensure that the safety of network configuration information.
Can judge that first is wide in networked devices it should be noted that network configuration information is encrypted
Broadcast packet signal strength meet first threshold on the basis of be encrypted, the judgment step can not also be carried out, directly it is right
Network configuration information performs encryption processing, and it is not limited in the embodiment of the present invention.In addition, the embodiment of the present invention, for that will set
Standby information is not limited as the concrete mode of key, can be include by the facility information all information after treatment
Can also be to choose key message from the facility information to be used as key after treatment as key.
In embodiments of the present invention, after networked devices receive the second broadcast packet, to ensure the receive second broadcast
The integrality of packet is waiting for networked devices according to network configuration information, before realizing network configuration, can increase to signal strength
Deterministic process.The case where having carried out encryption for network configuration information can then believe network configuration waiting for networked devices
Before breath is decrypted, increase the deterministic process to signal strength.Specifically, it is described wait for networked devices judgement receive it is described
Whether the signal strength of the second broadcast packet meets second threshold.
Wherein, second threshold can be used to indicate that the intensity value of signal strength, when signal strength meets second threshold, say
It is bright to wait for that the integrality of the second broadcast packet of networked devices reception be guaranteed, so, second can be met in signal strength
After threshold value, wait for that networked devices carry out network configuration according to network configuration information again.
It should be noted that second threshold and first threshold can be identical numerical value, it can also be different numerical value,
This is not limited.
In embodiments of the present invention, for avoid networked devices send the second broadcast packet always, therefore, waiting for networked devices
After receiving second broadcast packet, networked devices stopping being made to send the second broadcast by the form of transmission feedback information
Packet.Specifically, described wait for that networked devices can be sent for informing the third broadcast packet for having got network configuration information;If institute
State networked devices receive it is described wait for that networked devices send for informing the third broadcast for having got network configuration information
Packet, then stop sending second broadcast packet.
The specific operation process for waiting for that networked devices carry out network configuration is described in the above-described embodiments.For the same net
Smart machine under network environment, when the network configuration information under the network environment is changed, for example, the user of Wi-Fi routers
The password that name is changed Wi-Fi routers is changed or the username and password of Wi-Fi routers is by simultaneously
Modification.At this point, the networked devices under the network environment cannot achieve normally according to the network configuration information being originally arranged
Networking, so, need the network configuration information to these networked devices settings to be changed accordingly.
Next the operating process for changing networked devices network configuration information is unfolded to introduce, concrete operations are as follows:
S201:If the network configuration information being arranged in the first equipment is changed, first equipment is to modified
Network configuration information is encrypted.
S202:First equipment sends the 4th broadcast changed for informing network configuration information at the appointed time
Packet;4th broadcast packet includes the network configuration information after encryption.
The case where being changed for network configuration information can be chosen in the networked devices for including under the network environment
Any one can realize repairing to the network configuration information of first equipment as the first equipment by way of manual amendment
Change.
To realize under the network environment modification of other network configuration informations of networked devices, it is arranged when in the first equipment
Network configuration information changed after, which can send the 4th broadcast packet by the bluetooth module of itself, this
Four broadcast packets include modified network configuration information.
It in embodiments of the present invention, can be first to modified network configuration to ensure the safety of network configuration information
Information is encrypted.In view of networked devices can get a correspondence when corresponding platform registers facility information
Private key, for the networked devices in identical platform, the private key obtained is identical.So the first equipment can according to its
The private key that platform obtains when registering, is encrypted modified network configuration information.
To avoid the first equipment from sending the 4th broadcast packet always, cause to carry out useless work, when regulation can be arranged
Between, the first equipment sends the 4th broadcast packet within the stipulated time.The stipulated time can be a specific time value, example
Such as, it can be 20 seconds.Timing then stops after reaching the time value when can send four broadcast packets since first equipment
Only send the 4th broadcast packet.The embodiment of the present invention is not specifically limited the length of the stipulated time, can root actual conditions
It is configured.
S203:Second equipment receives the 4th broadcast packet that first equipment is sent;Second equipment is same
Any one in networked devices under network environment in addition to the first equipment.
S204:The 4th broadcast packet is decrypted in second equipment, and according to the network configuration after decryption
Information realizes network configuration.
Since the second equipment and the first equipment belong to the smart machine on the same platform, the second equipment have with
The identical private key of first equipment, the second equipment is after receiving the 4th broadcast packet, the private key pair that can be had according to itself
Encrypted network configuration information is decrypted, to get modified network configuration information.
According to the network configuration information, realize that network configuration is similar with the implementation procedure of above-mentioned S105, details are not described herein.
First equipment by send the 4th broadcast packet form, come inform other networked devices network configuration information by
Modification so that other networked devices can be dependent on the modified network configuration information received, re-start net
Network configures, to realize networking.According to this method, the operating process of manual amendment's network configuration information can be saved, is improved
The efficiency for changing network configuration information, can bring better user experience to user.
It should be noted that it is similar with the first broadcast packet, in embodiments of the present invention, third broadcast packet, the 4th broadcast packet
It can be a complete broadcast packet, can also be to be made of multiple broadcast packets after cutting.
Fig. 3 is a kind of structural schematic diagram of smart machine network configuration system provided in an embodiment of the present invention, the system
It is described to wait for that networked devices 31 and the networked devices 32 are flat for consolidated network including waiting for networked devices 31 and networked devices 32
Smart machine on platform.
It is described to wait for networked devices 31, for sending the first broadcast packet for being used for acquisition request network configuration information, described the
One broadcast packet includes the facility information and platform information for waiting for networked devices;The carrying that networked devices are sent described in receiving
Second broadcast packet of specific identifier is dependent on the network configuration information that second broadcast packet includes, and realizes that network is matched
It sets.
Networked devices 32 judge the institute that first broadcast packet includes for receiving first broadcast packet
Whether consistent with the platform information belonging to the networked devices state platform information;First broadcast packet waits joining described in including
The facility information and platform information of net equipment;If consistent, the networked devices send the second broadcast packet for carrying specific identifier;
Second broadcast packet includes the network configuration information.
The explanation of feature may refer to the related description of embodiment corresponding to Fig. 1, Fig. 2 in embodiment corresponding to Fig. 3, here
No longer repeat one by one.
A kind of smart machine network collocating method provided by the present invention is described in detail with system above.Explanation
Each embodiment is described by the way of progressive in book, the highlights of each of the examples are it is different from other embodiment it
Locate, just to refer each other for identical similar portion between each embodiment.For the device disclosed in the embodiment, due to itself and reality
Apply that method disclosed in example is corresponding, so description is fairly simple, reference may be made to the description of the method.It should refer to
Go out, it for those skilled in the art, without departing from the principle of the present invention, can also be to the present invention
Some improvement and modification can also be carried out, these improvement and modification are also fallen within the protection scope of the claims of the present invention.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, depends on the specific application and design constraint of technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Claims (10)
1. a kind of smart machine network collocating method, which is characterized in that the smart machine being applied on consolidated network platform, it is described
Smart machine includes waiting for networked devices and networked devices, the method includes:
It is described to wait for that networked devices send the first broadcast packet for acquisition request network configuration information, it is wrapped in first broadcast packet
Include the facility information and platform information for waiting for networked devices;It is described to wait for that networked devices are that the network configuration information is not arranged
Equipment;
Second broadcast packet for carrying specific identifier for waiting for that networked devices are sent described in networked devices reception, is dependent on described
The network configuration information that second broadcast packet includes realizes network configuration.
2. according to the method described in claim 1, it is characterized in that, described wait for that networked devices are dependent in second broadcast packet
Including the network configuration information, realize network configuration include:
It is described that the network configuration information after encryption is decrypted according to the facility information after networked devices;
Network configuration information after the decryption includes Wi-Fi connection information and platform log-on message;
It is described to wait for that networked devices connect the Wi-Fi routers specified in the Wi-Fi connection information using itself Wi-Fi module;
If successful connection, the equipment letter of networked devices is waited for described in the registration of corresponding platform according to the platform log-on message
Breath realizes network configuration.
3. according to the method described in claim 2, it is characterized in that, waiting for that networked devices add according to the facility information pair described
Close treated before the network configuration information is decrypted, and further includes:
It is described to wait for that networked devices judge whether the signal strength of second broadcast packet received meets second threshold;
If meeting the second threshold, it is described after networked devices according to the facility information to the network after encryption
Configuration information is decrypted.
4. according to the method described in claim 1-3 any one, which is characterized in that wait for that networked devices realize that network is matched described
It postpones, further includes:
It is described to wait for that networked devices are sent for informing the third broadcast packet for having got network configuration information.
5. a kind of smart machine network collocating method, which is characterized in that the smart machine being applied on consolidated network platform, it is described
Smart machine includes waiting for networked devices and networked devices, the method includes:
The networked devices wait for the first broadcast for acquisition request network configuration information that networked devices are sent described in receiving
Packet;Judge the platform information that first broadcast packet includes whether with the platform information one belonging to the networked devices
It causes;First broadcast packet includes the facility information and platform information for waiting for networked devices;The networked devices are
The equipment of the network configuration information is set;
If consistent, the networked devices send the second broadcast packet for carrying specific identifier;Second broadcast packet includes institute
State network configuration information.
6. according to the method described in claim 5, carrying the of specific identifier it is characterized in that, being sent in the networked devices
Before two broadcast packets, further include:
The networked devices judge whether the signal strength of first broadcast packet received meets first threshold;
If meeting the first threshold, the networked devices send the second broadcast packet for carrying specific identifier.
7. according to the method described in claim 5, it is characterized in that, the networked devices, which are sent, carries the second of specific identifier
Before broadcast packet, further include:
The networked devices match the network according to the facility information that first broadcast packet received includes
Confidence breath is encrypted.
8. according to the method described in claim 5-7 any one, which is characterized in that sent in the networked devices and carry spy
After calibrating the second broadcast packet known, further include:
If the networked devices receive and described wait for that networked devices sent has got network configuration information for informing
Third broadcast packet then stops sending second broadcast packet.
9. according to the method described in claim 5-7 any one, which is characterized in that further include:
If the network configuration information being arranged in the first equipment is changed, first equipment believes modified network configuration
Breath is encrypted;First equipment is any one in the networked devices for including under consolidated network environment;
First equipment sends the 4th broadcast packet changed for informing network configuration information at the appointed time;Described
Four broadcast packets include the network configuration information after encryption;
Second equipment receives the 4th broadcast packet that first equipment is sent;Second equipment is under consolidated network environment
Any one in networked devices in addition to the first equipment;
The 4th broadcast packet is decrypted in second equipment, and according to the network configuration information after decryption, realizes
Network configuration.
10. a kind of smart machine network configuration system, which is characterized in that described to wait for including waiting for networked devices and networked devices
Networked devices and the networked devices are the smart machine on consolidated network platform;
It is described to wait for networked devices, for sending the first broadcast packet for acquisition request network configuration information, first broadcast
Packet includes the facility information and platform information for waiting for networked devices;The specific mark of carrying that networked devices are sent described in receiving
The second broadcast packet known is dependent on the network configuration information that second broadcast packet includes, and realizes network configuration;
The networked devices judge the platform that first broadcast packet includes for receiving first broadcast packet
Whether information is consistent with the platform information belonging to the networked devices;First broadcast packet waits for networked devices described in including
Facility information and platform information;If consistent, the networked devices send the second broadcast packet for carrying specific identifier;Described
Two broadcast packets include the network configuration information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710160396.XA CN108632056B (en) | 2017-03-17 | 2017-03-17 | Intelligent equipment network configuration method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710160396.XA CN108632056B (en) | 2017-03-17 | 2017-03-17 | Intelligent equipment network configuration method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108632056A true CN108632056A (en) | 2018-10-09 |
CN108632056B CN108632056B (en) | 2023-01-31 |
Family
ID=63686234
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710160396.XA Active CN108632056B (en) | 2017-03-17 | 2017-03-17 | Intelligent equipment network configuration method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108632056B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109769234A (en) * | 2018-12-13 | 2019-05-17 | 深圳绿米联创科技有限公司 | Method, apparatus, smart home system, equipment and the storage medium of distribution |
CN110139271A (en) * | 2019-04-30 | 2019-08-16 | 普联技术有限公司 | A kind of method, system and device that smart home device batch configuration networks |
CN110365511A (en) * | 2018-04-11 | 2019-10-22 | 乐鑫信息科技(上海)股份有限公司 | Network collocating method, device, equipment, system and storage medium |
CN110880978A (en) * | 2019-12-19 | 2020-03-13 | 浙江诺诺网络科技有限公司 | Method, device and medium for connecting business processing PC (personal computer) with terminal equipment |
WO2020103360A1 (en) * | 2018-11-21 | 2020-05-28 | 广东美的制冷设备有限公司 | Device network configuration method and apparatus, and household appliance and server |
CN111327653A (en) * | 2018-12-14 | 2020-06-23 | 美的集团股份有限公司 | Equipment network distribution method, medium, household appliance and device |
CN111328124A (en) * | 2018-12-14 | 2020-06-23 | 美的集团股份有限公司 | Method, medium, household appliance and device for updating distribution network information |
CN111328074A (en) * | 2018-12-14 | 2020-06-23 | 美的集团股份有限公司 | Equipment network distribution method, medium, household appliance and device |
CN112003714A (en) * | 2019-05-27 | 2020-11-27 | 广东美的制冷设备有限公司 | Equipment network distribution method, device and equipment based on Internet of things |
CN112436985A (en) * | 2020-11-10 | 2021-03-02 | 深圳Tcl新技术有限公司 | Network distribution method, device, terminal equipment and storage medium |
CN113573339A (en) * | 2021-07-23 | 2021-10-29 | 青岛海尔科技有限公司 | Equipment wireless connection method and system |
CN113840353A (en) * | 2020-06-23 | 2021-12-24 | 云米互联科技(广东)有限公司 | Network distribution method of IOT (input/output) equipment, intelligent household appliance, system and storage medium |
CN114040323A (en) * | 2021-10-29 | 2022-02-11 | 青岛海尔科技有限公司 | Device control method and apparatus, storage medium, and electronic apparatus |
WO2022048125A1 (en) * | 2020-09-06 | 2022-03-10 | Oppo广东移动通信有限公司 | Information processing method and apparatus, device and storage medium |
WO2022057521A1 (en) * | 2020-09-18 | 2022-03-24 | 华为技术有限公司 | Method and devices for configuring device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104869612A (en) * | 2015-04-30 | 2015-08-26 | 小米科技有限责任公司 | Method and device for accessing network |
CN105101464A (en) * | 2015-06-30 | 2015-11-25 | 广东美的制冷设备有限公司 | Wireless network configuration method and wireless network configuration system |
US9204346B1 (en) * | 2014-04-07 | 2015-12-01 | Sprint Spectrum L.P. | Dynamic configuration of base station settings for controlling handover to preferred coverage frequency |
CN105120456A (en) * | 2015-09-08 | 2015-12-02 | 南京创维信息技术研究院有限公司 | Method and system for intelligent device to access to wireless network quickly |
CN105873186A (en) * | 2016-04-26 | 2016-08-17 | 杭州赫智电子科技有限公司 | Smart home equipment adding method and equipment |
CN105933904A (en) * | 2016-05-17 | 2016-09-07 | 腾讯科技(深圳)有限公司 | Network connection method and device |
CN106211264A (en) * | 2016-07-11 | 2016-12-07 | 九阳股份有限公司 | A kind of household electrical appliances distribution method and device |
-
2017
- 2017-03-17 CN CN201710160396.XA patent/CN108632056B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9204346B1 (en) * | 2014-04-07 | 2015-12-01 | Sprint Spectrum L.P. | Dynamic configuration of base station settings for controlling handover to preferred coverage frequency |
CN104869612A (en) * | 2015-04-30 | 2015-08-26 | 小米科技有限责任公司 | Method and device for accessing network |
CN105101464A (en) * | 2015-06-30 | 2015-11-25 | 广东美的制冷设备有限公司 | Wireless network configuration method and wireless network configuration system |
CN105120456A (en) * | 2015-09-08 | 2015-12-02 | 南京创维信息技术研究院有限公司 | Method and system for intelligent device to access to wireless network quickly |
CN105873186A (en) * | 2016-04-26 | 2016-08-17 | 杭州赫智电子科技有限公司 | Smart home equipment adding method and equipment |
CN105933904A (en) * | 2016-05-17 | 2016-09-07 | 腾讯科技(深圳)有限公司 | Network connection method and device |
CN106211264A (en) * | 2016-07-11 | 2016-12-07 | 九阳股份有限公司 | A kind of household electrical appliances distribution method and device |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110365511A (en) * | 2018-04-11 | 2019-10-22 | 乐鑫信息科技(上海)股份有限公司 | Network collocating method, device, equipment, system and storage medium |
CN110365511B (en) * | 2018-04-11 | 2022-07-19 | 乐鑫信息科技(上海)股份有限公司 | Network configuration method, device, equipment, system and storage medium |
WO2020103360A1 (en) * | 2018-11-21 | 2020-05-28 | 广东美的制冷设备有限公司 | Device network configuration method and apparatus, and household appliance and server |
CN109769234A (en) * | 2018-12-13 | 2019-05-17 | 深圳绿米联创科技有限公司 | Method, apparatus, smart home system, equipment and the storage medium of distribution |
CN111327653A (en) * | 2018-12-14 | 2020-06-23 | 美的集团股份有限公司 | Equipment network distribution method, medium, household appliance and device |
CN111328124A (en) * | 2018-12-14 | 2020-06-23 | 美的集团股份有限公司 | Method, medium, household appliance and device for updating distribution network information |
CN111328074A (en) * | 2018-12-14 | 2020-06-23 | 美的集团股份有限公司 | Equipment network distribution method, medium, household appliance and device |
CN110139271A (en) * | 2019-04-30 | 2019-08-16 | 普联技术有限公司 | A kind of method, system and device that smart home device batch configuration networks |
CN110139271B (en) * | 2019-04-30 | 2023-02-14 | 普联技术有限公司 | Method, system and device for configuring intelligent household equipment to access network in batch |
CN112003714A (en) * | 2019-05-27 | 2020-11-27 | 广东美的制冷设备有限公司 | Equipment network distribution method, device and equipment based on Internet of things |
CN110880978B (en) * | 2019-12-19 | 2021-10-15 | 浙江诺诺网络科技有限公司 | Method, device and medium for connecting business processing PC (personal computer) with terminal equipment |
CN110880978A (en) * | 2019-12-19 | 2020-03-13 | 浙江诺诺网络科技有限公司 | Method, device and medium for connecting business processing PC (personal computer) with terminal equipment |
CN113840353A (en) * | 2020-06-23 | 2021-12-24 | 云米互联科技(广东)有限公司 | Network distribution method of IOT (input/output) equipment, intelligent household appliance, system and storage medium |
WO2022048125A1 (en) * | 2020-09-06 | 2022-03-10 | Oppo广东移动通信有限公司 | Information processing method and apparatus, device and storage medium |
WO2022057521A1 (en) * | 2020-09-18 | 2022-03-24 | 华为技术有限公司 | Method and devices for configuring device |
CN112436985A (en) * | 2020-11-10 | 2021-03-02 | 深圳Tcl新技术有限公司 | Network distribution method, device, terminal equipment and storage medium |
CN113573339A (en) * | 2021-07-23 | 2021-10-29 | 青岛海尔科技有限公司 | Equipment wireless connection method and system |
CN113573339B (en) * | 2021-07-23 | 2024-03-22 | 青岛海尔科技有限公司 | Equipment wireless connection method and system |
CN114040323A (en) * | 2021-10-29 | 2022-02-11 | 青岛海尔科技有限公司 | Device control method and apparatus, storage medium, and electronic apparatus |
CN114040323B (en) * | 2021-10-29 | 2023-12-19 | 青岛海尔科技有限公司 | Control method and device of equipment, storage medium and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN108632056B (en) | 2023-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108632056A (en) | A kind of smart machine network collocating method and system | |
CN108632814A (en) | A kind of terminal device network collocating method and system | |
CN104010309B (en) | The method and terminal of connection are established between access point and terminal | |
CN108391238A (en) | Wireless MESH network matches network method | |
CN102905265B (en) | A kind of method and device realizing mobile device attachment | |
CN103874114B (en) | A kind of AP fault handling methods, AP equipment and AC equipment | |
CN103124267B (en) | The method, system and the cloud server that log in/register is carried out by mobile terminal | |
KR101461236B1 (en) | Methods for performing an Authentication of entities during establishment of wireless call connection | |
CN106254147A (en) | A kind of collocation method for Wi Fi network, internet-of-things terminal and control end | |
CN103596173A (en) | Wireless network authentication method, client wireless network authentication device, and server wireless network authentication device | |
CN104995891B (en) | The method, apparatus and gateway of processing business message | |
CN107567072A (en) | A kind of WIFI hot spot information amending method and device | |
CN109890029B (en) | Automatic network distribution method of intelligent wireless equipment | |
CN102143492B (en) | Method for establishing virtual private network (VPN) connection, mobile terminal and server | |
CN103957580A (en) | Rapid WIFI networking matching method and module for smart hardware | |
CN108476131A (en) | Data transmission method, device and equipment | |
CN106789219A (en) | The management method and device of router | |
CN112188488A (en) | Network distribution method, device and system | |
CN108541077B (en) | WPS-based rapid network distribution method and system for intelligent hardware equipment | |
CN105451298A (en) | Network-sharing method and system, network access method and system, and electronic device | |
CN108924827A (en) | A kind of fast access method and system of wireless network | |
CN106576238A (en) | Method and apparatus for establishment of private communication between devices | |
CN108306938A (en) | A kind of method, apparatus and gateway of Internet of Things product automatic networking | |
CN103312677B (en) | Terminal, server and the method for building up of communication connection | |
CN104244373B (en) | A kind of method that wireless terminal adds wireless network |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |