A kind of network collocating method, device, electronic equipment and system
Technical field
This specification embodiment is related to network communication technology field more particularly to a kind of network collocating method, device, electronics
Equipment and system.
Background technology
Internet of Things is fast-developing as generation information technology, meanwhile, the internet of things equipment that Internet of Things derives
Gradually popularized in people’s lives, work.Currently, the network that internet of things equipment can be sent by the mobile device networked
Configuration information accesses target WIFI network in such a way that a key configures SmartConfig distributions.
However, during SmartConfig distributions, internet of things equipment typically relies on the hardware device feedback letter of itself
Single prompt message, for example, passing through lamp effect (red light indicates in connection that green light indicates successful connection), voice (continuous drop drop sound
Indicate connection in) etc. carry out distribution progress prompt;Moreover, because being currently at during distribution, mobile device can not receive object
The distribution progress of networked devices is fed back, and can only reflect distribution progress by the timeout mechanism of itself.
Invention content
The purpose of this specification embodiment is to provide a kind of network collocating method, device, electronic equipment and system, to solve
The distribution progress feedback inaccuracy and non-intuitive problem of internet of things equipment existing in the prior art.
In order to solve the above technical problems, the realization of this specification embodiment is as follows:
In a first aspect, providing a kind of network collocating method, this method includes:
The data packet that mobile device is sent is received, the access that target access network is carried in the data packet configures parameter;
Parsing obtains the access and configures parameter;
By sonic data access configuration progress is sent to the mobile device.
Second aspect, provides a kind of network collocating method, and this method includes:
To internet of things equipment transmission data packet, the access that target access network is carried in the data packet configures parameter;
It receives the internet of things equipment and progress is configured by the access that sonic data returns, and show;Wherein, the access
Configuration progress is for reflecting process of the internet of things equipment in network configuration process.
The third aspect, provides a kind of network configuration device, which includes:
Receiving module receives the data packet that mobile device is sent, the access of target access network is carried in the data packet
Configure parameter;
Parsing module, parsing obtain the access and configure parameter;
Sending module sends access configuration progress by sonic data to the mobile device.
Fourth aspect, provides a kind of network configuration device, which includes:
Sending module, to internet of things equipment transmission data packet, the access that target access network is carried in the data packet is matched
Set parameter;
Receiving module receives the internet of things equipment and configures progress by the access that sonic data returns, and shows;Its
In, the access configuration progress is for reflecting process of the internet of things equipment in network configuration process.
5th aspect, provides a kind of network configuration system, which includes:
Internet of things equipment receives the data packet that mobile device is sent, connecing for target access network is carried in the data packet
Enter and configure parameter, parsing obtains the access and configures parameter, sent to the mobile device by sonic data access configure into
Degree;
Mobile device receives what the internet of things equipment was returned by sonic data to internet of things equipment transmission data packet
Configuration progress is accessed, and is shown.
6th aspect, provides a kind of internet of things equipment, which includes:Processor;And it is arranged to deposit
The memory of computer executable instructions is stored up, the executable instruction makes the processor execute following operation when executed:
The data packet that mobile device is sent is received, the access that target access network is carried in the data packet configures parameter;
Parsing obtains the access and configures parameter;
By sonic data access configuration progress is sent to the mobile device.
7th aspect, provides a kind of mobile device, which includes:Processor;And it is arranged to storage meter
The memory of calculation machine executable instruction, the executable instruction make the processor execute following operation when executed:
To internet of things equipment transmission data packet, the access that target access network is carried in the data packet configures parameter;
It receives the internet of things equipment and progress is configured by the access that sonic data returns, and show;Wherein, the access
Configuration progress is for reflecting process of the internet of things equipment in network configuration process.
Eighth aspect provides a kind of computer readable storage medium, the computer-readable recording medium storage one
Or multiple programs, one or more of programs by the internet of things equipment including multiple application programs when being executed so that described
Internet of things equipment executes following operation:
The data packet that mobile device is sent is received, the access that target access network is carried in the data packet configures parameter;
Parsing obtains the access and configures parameter;
By sonic data access configuration progress is sent to the mobile device.
9th aspect, provides a kind of computer readable storage medium, the computer-readable recording medium storage one
Or multiple programs, one or more of programs by the mobile device including multiple application programs when being executed so that the shifting
Dynamic equipment executes following operation:
To internet of things equipment transmission data packet, the access that target access network is carried in the data packet configures parameter;
It receives the internet of things equipment and progress is configured by the access that sonic data returns, and show;Wherein, the access
Configuration progress is for reflecting process of the internet of things equipment in network configuration process.
By above technical scheme as it can be seen that this specification example scheme at least has a kind of following technique effect:
During internet of things equipment distribution, connecing for distribution progress can be reflected to mobile device feedback by sonic data
Enter configuration progress, in order to which mobile device effectively shows access configuration progress.To improve distribution progress feedback
Promptness and accuracy avoid the distribution progress of internet of things equipment from feeding back inaccurate and non-intuitive problem.
Description of the drawings
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or
Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only
Some embodiments described in this specification embodiment are not paying creative labor for those of ordinary skill in the art
Under the premise of dynamic property, other drawings may also be obtained based on these drawings.
Fig. 1 a are one of the network collocating method flow charts that this specification embodiment provides;
Fig. 1 b are the two of the network collocating method flow chart that this specification embodiment provides;
Fig. 2 a are the three of the network collocating method flow chart that this specification embodiment provides;
Fig. 2 b are the four of the network collocating method flow chart that this specification embodiment provides;
Fig. 3 is the five of the network collocating method flow chart that this specification embodiment provides;
Fig. 4 is the structural schematic diagram for the internet of things equipment that this specification embodiment provides;
Fig. 5 is the structural schematic diagram for the mobile device that this specification embodiment provides;
Fig. 6 is the structural schematic diagram for the network configuration system that this specification embodiment provides;
Fig. 7 is one of the structural schematic diagram for the network configuration device that this specification embodiment provides;
Fig. 8 is the second structural representation for the network configuration device that this specification embodiment provides.
Specific implementation mode
In order to make those skilled in the art more fully understand the technical solution in this specification embodiment, below in conjunction with
The technical solution in this specification embodiment is clearly and completely described in attached drawing in this specification embodiment, it is clear that
Described embodiment is only this specification a part of the embodiment, instead of all the embodiments.Implemented based on this specification
Embodiment in example, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example should all belong to the range of this specification embodiment protection.
This specification example scheme is described in detail below by specific embodiment.
It should be noted that the network collocating method that this specification embodiment is based on is key configuration
(SmartConfig) scheme, so-called SmartConfig distributions refer to the internet of things equipment of network to be configured by monitoring surrounding
The data packet of multiple channels in Wireless Fidelity (WIreless-Fidelity, WIFI) network signal is sent out when receiving mobile device
After the access configuration parameter for carrying target access network sent, parsing obtains access configuration parameter and (includes at least:Network identity
And network cipher), and target access network is connected to according to access configuration parameter.
Embodiment one
Referring to Fig.1 shown in a, for the schematic diagram for the network collocating method that this specification embodiment provides, the network configuration side
The executive agent of method can be internet of things equipment, which can be regarded as being capable of module connection interconnection by radio communication
The electronic equipment of net or LAN, this method mainly include the following steps that:
Step 102:Receive the data packet that mobile device is sent.
Here data packet can be understood as the data that mobile device is sent with predeterminated frequency in local WIFI network
Packet sequence.The sequence of data packet can be the predetermined number data packet group that is continuously transmitted in predetermined time period at data packet
Sequence, wherein the sequence of data packet can have continuous serial number of giving out a contract for a project, alternatively, having the same can also give out a contract for a project interval when
It is long.
In fact, can also be made an appointment rule or the data packet spy of giving out a contract for a project in this specification example scheme using other
Sign, mobile device according to make an appointment transmission data packet when, internet of things equipment can be selected from receiving in numerous data packets
Retain the data packet for meeting and making an appointment, and abandons other data packets for being unsatisfactory for making an appointment.
In this step, internet of things equipment can monitor each network in local WIFI network by the WIFI chips of itself
The data packet that signal broadcasting channel issues.In fact, in addition to WIFI chips, monitoring work(can also be realized by other communication modules
Can, this specification embodiment is defined not to this.
It should be understood that the access configuration parameter of target access network is carried in the data packet that internet of things equipment receives, it should
Access configuration parameter includes at least the network identity and network cipher of target access network, wherein network identity is specifically as follows
Service set (Service Set Identifier, SSID).
Step 104:Parsing obtains the access and configures parameter.
Specifically, can be by being parsed to the data packet received, acquisition lies in access configuration parameter therein, with
It can access network according to the network identity and network cipher of acquisition, selection target convenient for internet of things equipment and carry out distribution processing.
Step 106:By sonic data access configuration progress is sent to the mobile device.
After internet of things equipment parses and obtains access configuration parameter, that is, start to execute distribution processing.Due to Internet of Things at this time
Net equipment does not access network, can not carry out information exchange by network communication, also just can not be real by way of network communication
Now access the effective Feedback of configuration progress;Simultaneously, it is contemplated that the limitation of the hardware configuration of internet of things equipment may cannot achieve word
The functions such as curtain display, speech play.In order to realize that the effective Feedback of access configuration progress, the internet of things equipment can pass through sound
Wave number sends access configuration progress according to mobile device.Sonic data in this specification embodiment can be understood as non-audible
The acoustic signals for carrying specific information that wave frequency section plays.In this specification embodiment, which can be regarded as
Access configuration progress.
Wherein, the access configuration progress includes:Be connected to the relevant distribution progress of this process of target access network,
For example, the progress that the data packet received is parsed, as a result, the network identity and network cipher that are obtained according to parsing carry out
Progress, result of networking etc..
For the step in specific implementation, current access configuration progress is encoded to sound by internet of things equipment as specific information
Wave signal is sent to it at a distance of closer one or more mobile devices.Optionally, internet of things equipment can pass through the sound of itself
Frequency playing device is played the access transmitted in the form of sonic data and configures progress, in order to which mobile device can pass through the sound of itself
Frequency harvester receives sonic data, parses the sonic data and obtains access configuration progress therein, and is configured to access
Progress is shown.Specifically, mobile device can reflect the word of access configuration progress, picture letter by screen shows
Breath, alternatively, the voice that can reflect access configuration progress can be played by audio playing apparatus such as loud speakers.
It, can to mobile device feedback by sonic data during internet of things equipment distribution by the technical solution
Reflect that the access of distribution progress configures progress, in order to which mobile device effectively shows access configuration progress.To avoid
The distribution progress feedback of internet of things equipment is inaccurate in the prior art and non-intuitive problem, improve distribution progress feedback and
When property and accuracy.
A kind of achievable scheme, step 106 are sending access configuration progress by sonic data to the mobile device
When, it can specifically execute and be:After being parsed, analysis result is sent to the mobile device by sonic data.As a result,
After internet of things equipment parsing data packet obtains access configuration parameter, it will be sent and be parsed to mobile device by sonic data
As a result, so as to the current distribution progress of timely information mobile device, to promote the timely of internet of things equipment distribution progress feedback
Property and effective transporting.
It should be understood that when internet of things equipment parses the data packet received, may not be able to parse required
Access configure parameter, then, analysis result might not succeed, therefore, can through the above scheme in time use sound wave number
According to feedback analysis result to mobile device, to avoid in the prior art by being determined using delay product in mobile device side
It is fed back caused by malfunctioning with network process non-timely and the problem of inaccuracy.
Another achievable scheme, step 106 by sonic data to the mobile device send access configure into
When spending, it can specifically execute and be:When configuring parameter progress distribution according to the access, set to the movement by sonic data
Standby periodicity sending distribution progress.
It, can be timely by sonic data during internet of things equipment carries out distribution according to network identity and network cipher
To mobile device periodic feedback distribution progress;Wherein:
-- the period of feedback sonic data can be arranged according to the hardware limitation of internet of things equipment.For example, when the t1 of interval
The distribution progress of distribution progress of long feedback, current t moment feedback can be identical with the distribution progress that the t+t1 moment feeds back
Can be different, this needs is fed back according to the practical distribution progress of internet of things equipment.To ensure that internet of things equipment can use up
Amount is by there is a situation where more comprehensively feed back to mobile device during distribution.
-- the period of feedback sonic data can also be configured according to the use demand of user, adjust.For example, Internet of Things
The initial feedback period of equipment is t1, however, in order to adapt to the use demand of user, can artificially be arranged, adjust feedback cycle and be
t2.When in order to promote distribution accuracy and can be by feedback cycle when user wishes to obtain more distribution progresses with net spee
What is adjusted is shorter;When user is not intended to obtain excessive distribution progress, feedback cycle can be adjusted longer.Pass through as a result,
The program can promote the flexibility for the period control that distribution progress is fed back to internet of things equipment, be conducive to matching for internet of things equipment
Net progress feeds back validity.
In fact, access configuration progress, connecing here are sent to mobile device by sonic data in this specification embodiment
Enter configuration progress and be not limited to the information such as analysis result, distribution progress, can also include other and the relevant letter of network configuration
Breath.
Based on any of the above-described scheme, it is contemplated that in the distribution process of the internet of things equipment, in local WIFI network environment
It may be more than the internet of things equipment, there is also other internet of things equipment, then, matched at the same time for multiple internet of things equipment
When net, in order to distinguish different internet of things equipment, referring to Fig.1 shown in b, before executing step 102, it can also be performed:
Step 100:It is identified to the mobile device sending device by sonic data.
It should be understood that device identification can refer to that can be identified for that the identification information of internet of things equipment uniqueness, for example, it may be
Equipment identities identify (Identification, ID), the address media access control (Media Access Control, MAC) etc.,
It can be specifically character string.Different internet of things equipment can be distinguished by device identification, consequently facilitating mobile device is not for
Different accesses is fed back with internet of things equipment and configures parameter, that is, it is identical or different to determine that different internet of things equipment accesses
WIFI network.Moreover, being identified by sonic data sending device, need not be carried out by the hardware device of internet of things equipment anti-
Feedback, so that in the case of internet of things equipment failed cluster, more timely and convenient device identification are fed back to mobile device.
In this specification example scheme, involved data packet can be User Datagram Protocol (User
Datagram Protocol, UDP) data packet.The UDP message packet does not need the reception feedback of offside mobile device, therefore, can
To carry out unidirectional data transmission.
Since the content in the data packet that receives can be encrypted transmit in network bottom layer link transmission, even if
It is listened to by the third party device other than internet of things equipment, packet content can not also be resolved acquisition, only data packet length
Or the address procotol (Internet Protocol, IP) can be trapped.Moreover, it is contemplated that in the data packet received
Therefore each byte conversion is no more than 256 bytes at number can tear the network identity of target access network and network cipher open
It is divided into byte to be hidden in respectively in the length and/or IP address of the data packet.
Optionally, in this specification example scheme, step 104 can have when parsing obtains the access and configures parameter
Body executes following steps:
The first step:Parse the data packet received.
Second step:Access configuration parameter is obtained from the length information of the data packet and/or IP address information.
It should be understood that internet of things equipment can obtain access configuration parameter from the length information of data packet, it can also be from number
Parameter is configured according to access is obtained in the IP address information of packet;When specific implementation:Net can be obtained from the length information of data packet
Network identifies and network cipher;Alternatively, network identity and network cipher can be obtained from the IP address information of data packet;Alternatively,
Network identity can be obtained from the length information of data packet, network cipher is obtained from the IP address information of data packet;Alternatively,
Network cipher can be obtained from the length information of data packet, network identity is obtained from the IP address information of data packet.
In fact, this specification embodiment does not limit the partial bytes of network identity yet and lies in the length information of data packet
In, another part byte and network cipher lie in the mode in the IP address information of data packet;Alternatively, network identity and net
The partial bytes of network password are lain in the length information of data packet, and another part byte of network cipher lies in data packet
Mode etc. in IP address information.Thus, it is possible to which parsing obtains access configuration parameter through the above scheme, ensure access configuration ginseng
Several safeties.
Embodiment two
With reference to shown in Fig. 2 a, for the schematic diagram for the network collocating method that this specification embodiment provides, the network configuration side
The executive agent of method is mobile device, which can be the electronic equipments such as mobile phone, tablet computer.This method includes mainly
Following steps:
Step 202:To internet of things equipment transmission data packet.
It is after internet of things equipment starts distribution in mobile device, mobile device carries target to internet of things equipment transmission and connects
Enter the data packet of the access configuration parameter of network.The meaning of involved data packet and step 102 in embodiment one in this step
Involved in data packet meaning it is identical, this will not be repeated here.
Step 204:It receives the internet of things equipment and progress is configured by the access that sonic data returns, and show.
Wherein, the access configuration progress is for reflecting process of the internet of things equipment in network configuration process.It moves
Dynamic equipment receives the sonic data that internet of things equipment returns, and specifically can acquire the sound wave number listened to by apparatus for receiving audio
According to being then decoded to the sonic data, obtain access configuration progress this feedback information.Later, mobile device is to access
Configuration progress is shown, for example, mobile device can reflect word, the picture of access configuration progress by screen shows
Information, alternatively, the voice that can reflect access configuration progress can be played by audio playing apparatus such as loud speakers.
By the technical solution, during internet of things equipment distribution, mobile device receives internet of things equipment and passes through sound wave
What data returned can reflect the access configuration progress of distribution progress, and effectively be shown to access configuration progress.To carry
The promptness and accuracy for rising distribution progress feedback avoid the distribution progress of internet of things equipment in the prior art from feeding back inaccurate
And non-intuitive problem.
A kind of achievable scheme, step 204 are matched in the reception internet of things equipment by the access that sonic data returns
When setting progress, specific execute is:Receive the parsing knot that the internet of things equipment is returned after being parsed by sonic data
Fruit.As a result, after internet of things equipment parsing data packet obtains access configuration parameter, so that it may pass through sound to receive Internet of Things and set
Wave number is according to the analysis result of transmission, and mobile device can know current distribution progress in time, to promote distribution progress feedback
Promptness and effective transporting.
Another achievable scheme, the access that step 204 is returned in the reception internet of things equipment by sonic data
When configuration progress, it can specifically execute and be:It receives the internet of things equipment and is configured when parameter carries out distribution according to the access and passed through
The distribution progress that sonic data periodically returns.To the promptness on the one hand promoting distribution progress feedback and effectively transmission
Property, on the other hand ensure mobile device can obtain more comprehensively with the relevant information of distribution progress.
Based on said program, it is contemplated that, may in local WIFI network environment in the distribution process of the internet of things equipment
The more than internet of things equipment, there is also other internet of things equipment, then, at the same time distribution is carried out for multiple internet of things equipment
When, in order to distinguish different internet of things equipment, with reference to shown in Fig. 2 b, before executing step 202, can also be performed:
Step 200:Receive the device identification that the internet of things equipment is sent by sonic data.
In this way, mobile device can parse the sonic data received to obtain device identification, and therefrom selection needs
Carry out the internet of things equipment of distribution.To which in the case of internet of things equipment failed cluster, mobile device can be timely and convenient
Device identification is obtained to distinguish internet of things equipment.
In this specification example scheme, the data packet is User Datagram Protocol UDP message packet.The UDP message
Packet does not need the reception feedback of offside mobile device, therefore, can carry out unidirectional data transmission.In mobile device side, need
Access configuration parameter is carried using the data packet, and accesses length and/or IP address that configuration parameter is specifically added to data packet
In can refer to the parsing scheme of embodiment side, this will not be repeated here.
Embodiment three
With reference to shown in Fig. 3, for the flow diagram for the network collocating method that this specification embodiment provides, this method is from net
The whole of network allocation plan considers that executive agent is related to internet of things equipment and mobile device, mainly includes the following steps that:
Step 300:Internet of things equipment monitors the UDP message packet in WIFI network, and broadcasts itself by sonic data
Device identification.
Internet of things equipment enters mono- key distribution flows of SmartConfig, starts with the WIFI chips of itself and obtains monitoring
The broadcast band of each network signal, mixes mould in WIFI chips in WIFI network list and the network list in range
Under formula, the number transmitted on broadcast band can be monitored with the broadcast band of each network signal in the poll WIFI network list
According to packet.
Step 302:After mobile device receiving device mark, the UDP message packet for carrying access configuration parameter is sent.
In this specification embodiment, mobile device and internet of things equipment could be provided as being always on sound wave transmission, connect
Receive function.After mobile device receives the device identification with acoustic data transmissions by audio collecting device, that is, start to this
The corresponding internet of things equipment of device identification carries out matching net operation.
It sends it should be understood, of course, that mobile device and internet of things equipment can also just open sound wave when needed, receive work(
Energy.
It should be understood that target access network can be the WIFI network that mobile device currently connects, can also be WIFI network
Other WIFI networks in list;Correspondingly, believed according to the WIFI network of WIFI network information input by user or itself connection
Breath, determines the network identity and network cipher of target access network.Later, network identity and network cipher are split as word respectively
The mode of section is added in UDP message packet.Specific point of addition is referred to the parsing scheme in embodiment one.
Mobile device broadcasts UDP message packet in a manner of making an appointment into local network context.
Step 304:Internet of things equipment receives UDP message packet, and parses acquisition access configuration parameter.
Internet of things equipment listens to the UDP message packet sequence of mobile device transmission made an appointment, and abandons others UDP
Data packet, and parsing obtains access configuration parameter, access configuration ginseng from the length information of data packet and/or IP address information
Number includes at least:The network identity and network cipher of target access network.
Step 306:Internet of things equipment sends analysis result by sonic data to the mobile device.
In view of internet of things equipment generally feeds back distribution by hardware device (such as breath light or simple voice)
Progress, still, analysis result not necessarily intuitively can accurately be fed back as a stage in distribution process.And this explanation
Book embodiment can regard this analysis result as feedback information by sonic data and be sent to mobile device.
Step 308:Mobile device is received with the analysis result of acoustic data transmissions, and is shown.
Mobile device can receive analysis result of the internet of things equipment to data packet in time, with know current distribution into
Journey, and accurate and visual show user.Specific exhibition method can refer to the exhibition scheme involved by embodiment one, herein not
It repeats.
Step 310:Internet of things equipment is networked according to access configuration parameter, and all to mobile device by sonic data
Phase property sends distribution progress.
The network identity and network cipher of target access network are successfully parsed from UDP message packet in internet of things equipment
Afterwards, it can carry out matching net operation according to these access configuration parameters to access target access network.In fact, it is parsed in basis
Access configuration parameter start to during being successfully accessed target access network with net operation, can be by sonic data to shifting
Dynamic device periodically sends any distribution progress occurred during this period.
Step 312:Mobile device is received with the distribution progress of acoustic data transmissions, and is shown.
Mobile device can receive the distribution progress of internet of things equipment feedback fed back with sonic data in time, and accurate and visual
Show.For example, reflecting internet of things equipment by way of showing Dynamic Schedule item on the display screen in mobile device
Distribution progress, alternatively, passing through every 2S plays the similar exhibition methods such as voice broadcast " completing 20% ".
Through the above technical solutions, during internet of things equipment distribution, mobile device passes through sound wave with internet of things equipment
Data carry out information exchange, meanwhile, the access that internet of things equipment returns to reflection distribution process by sonic data configures progress, moves
Dynamic equipment carries out intuitive effectively displaying to access configuration progress.To promote the promptness of distribution progress feedback and accurate
Property, avoid the distribution progress of internet of things equipment from feeding back inaccurate and non-intuitive problem.
Example IV
Fig. 4 be this specification one embodiment in internet of things equipment structural schematic diagram.Referring to FIG. 4, in hardware layer
Face, the internet of things equipment include processor, further include optionally internal bus, network interface, memory.Wherein, memory can
Can include memory, such as high-speed random access memory (Random-AccessMemory, RAM), it is also possible to further include non-volatile
Property memory (Non-Nolatile Memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible to
Including the required hardware of other business.
Processor, network interface and memory can be connected with each other by internal bus, which can be industry
Standard architecture (Industry Standard Architecture, ISA) bus, Peripheral Component Interconnect standard
(Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended
Industry Standard Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus,
Controlling bus etc..For ease of indicating, only indicated with a four-headed arrow in Fig. 4, it is not intended that an only bus or one kind
The bus of type.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating
Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from then operation in corresponding computer program to memory is read in nonvolatile memory, in logical layer
Network configuration device is formed on face.Processor executes the program that memory is stored, and specifically for executing following operation:
The data packet that mobile device is sent is received, the access that target access network is carried in the data packet configures parameter;
Parsing obtains the access and configures parameter;
By sonic data access configuration progress is sent to the mobile device.
The method that network configuration device disclosed in the above-mentioned embodiment illustrated in fig. 1 such as this specification executes can be applied to handle
In device, or realized by processor.Processor may be a kind of IC chip, the processing capacity with signal.It is realizing
In the process, each step of the above method can pass through the integrated logic circuit of the hardware in processor or the instruction of software form
It completes.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processor, DSP), it is application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device are divided
Vertical door or transistor logic, discrete hardware components.It may be implemented or execute and is each disclosed in this specification embodiment
Method, step and logic diagram.General processor can be microprocessor or the processor can also be any conventional place
Manage device etc..Method and step in conjunction with disclosed in this specification embodiment can be embodied directly in hardware decoding processor and execute
At, or in decoding processor hardware and software module combination execute completion.Software module can be located at random access memory,
This fields such as flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register maturation
In storage medium.The storage medium is located at memory, and processor reads the information in memory, and above-mentioned side is completed in conjunction with its hardware
The step of method.
The method that the internet of things equipment can also carry out Fig. 1, and realize the work(of network configuration device embodiment shown in Fig. 1
Can, details are not described herein for this specification embodiment.
Certainly, other than software realization mode, other realizations are not precluded in the internet of things equipment of this specification embodiment
Mode, for example, logical device or software and hardware combining mode etc., that is to say, that the executive agent of following process flow is not
It is defined in each logic unit, can also be hardware or logical device.
Fig. 5 be this specification one embodiment in mobile device structural schematic diagram.Referring to FIG. 5, in hardware view,
The mobile device includes processor, further includes optionally internal bus, network interface, memory.Wherein, memory may include
Memory, such as high-speed random access memory (Random-AccessMemory, RAM), it is also possible to further include non-volatile memories
Device (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible that other
The required hardware of business.
Processor, network interface and memory can be connected with each other by internal bus, which can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (PeripheralComponent
Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended IndustryStandard
Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..For ease of indicating, only indicated with a four-headed arrow in Fig. 5, it is not intended that an only bus or a type of
Bus.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating
Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from then operation in corresponding computer program to memory is read in nonvolatile memory, in logical layer
Network configuration device is formed on face.Processor executes the program that memory is stored, and specifically for executing following operation:
To internet of things equipment transmission data packet, the access that target access network is carried in the data packet configures parameter;
It receives the internet of things equipment and progress is configured by the access that sonic data returns, and show;Wherein, the access
Configuration progress is for reflecting process of the internet of things equipment in network configuration process.
The method that network configuration device disclosed in the above-mentioned embodiment embodiment illustrated in fig. 2 such as this specification executes can be applied
It is realized in processor, or by processor.Processor may be a kind of IC chip, the processing capacity with signal.
During realization, each step of the above method can pass through the integrated logic circuit or software form of the hardware in processor
Instruction complete.Above-mentioned processor can be general processor, including central processing unit (Central Processing
Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital
Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit,
ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute and is public in this specification embodiment
Each method, step and the logic diagram opened.General processor can be microprocessor or the processor can also be any normal
The processor etc. of rule.Method and step in conjunction with disclosed in this specification embodiment can be embodied directly in hardware decoding processor and hold
Row complete, or in decoding processor hardware and software module combine execute completion.Software module can be located at deposits at random
Reservoir, flash memory, read-only memory, this fields such as programmable read only memory or electrically erasable programmable memory, register
In ripe storage medium.The storage medium is located at memory, and processor reads the information in memory, is completed in conjunction with its hardware
The step of above method.
The method that the mobile device can also carry out Fig. 2, and realize the function of network configuration device embodiment shown in Fig. 2,
Details are not described herein for this specification embodiment.
Certainly, other than software realization mode, other realization sides are not precluded in the mobile device of this specification embodiment
Formula, for example, logical device or software and hardware combining mode etc., that is to say, that the executive agent of following process flow does not limit
Can also be hardware or logical device in each logic unit.
Fig. 6 is a kind of structural schematic diagram for network configuration system that this specification embodiment provides, the network configuration system
Include mainly:
Internet of things equipment 62 receives the data packet that mobile device 64 is sent, target access network is carried in the data packet
Access configure parameter, parsing obtains the access and configures parameter, and access is sent to the mobile device 64 by sonic data
Configuration progress;
Mobile device 64 receives the internet of things equipment 62 and passes through sonic data to 62 transmission data packet of internet of things equipment
The access of return configures progress, and shows.
Embodiment five
This specification embodiment proposes a kind of computer readable storage medium, the computer-readable recording medium storage one
A or multiple programs, the one or more program include instruction, which can make the Internet of Things when being executed by internet of things equipment
The method that net equipment executes embodiment illustrated in fig. 1, and specifically for executing following operation:
The data packet that mobile device is sent is received, the access that target access network is carried in the data packet configures parameter;
Parsing obtains the access and configures parameter;
By sonic data access configuration progress is sent to the mobile device.
This specification embodiment also proposed another computer readable storage medium, which deposits
The one or more programs of storage, which includes instruction, which can make the shifting when mobile device executes
The method that dynamic equipment executes embodiment illustrated in fig. 2, and specifically for executing following operation:
To internet of things equipment transmission data packet, the access that target access network is carried in the data packet configures parameter;
It receives the internet of things equipment and progress is configured by the access that sonic data returns, and show;Wherein, the access
Configuration progress is for reflecting process of the internet of things equipment in network configuration process.
Embodiment six
This specification embodiment additionally provides a kind of network configuration device.With reference to shown in Fig. 7, the network configuration device is main
Including:
Receiving module 702 receives the data packet that mobile device is sent, connecing for target access network is carried in the data packet
Enter to configure parameter.
Parsing module 704, parsing obtain the access and configure parameter.
Sending module 706 sends access configuration progress by sonic data to the mobile device.
Optionally, as one embodiment, sending module 706 can be after being parsed, by sonic data to described
Mobile device sends analysis result.
Optionally, as one embodiment, sending module 706 can carry out matching network process configuring parameter according to the access
In, by sonic data to the mobile device periodicity sending distribution progress.
Optionally, as one embodiment, the sending module 706 before receiving the data packet that mobile device is sent,
It can also be identified to the mobile device sending device by sonic data.
Optionally, as one embodiment, parsing module 704 can parse the data packet received, and from the number
Parameter is configured according to access is obtained in the length information and/or IP address information of packet.
Optionally, as one embodiment, the data packet is User Datagram Protocol UDP message packet.
This specification embodiment additionally provides another network configuration device.With reference to shown in Fig. 8, network configuration device master
Including:
Sending module 802 carries the access of target access network to internet of things equipment transmission data packet in the data packet
Configure parameter.
Receiving module 804 receives the internet of things equipment and configures progress by the access that sonic data returns, and shows;
Wherein, the access configuration progress is for reflecting process of the internet of things equipment in network configuration process.
Optionally, as one embodiment, receiving module 804 receives the internet of things equipment and passes through after being parsed
The analysis result that sonic data returns.
Optionally, as one embodiment, receiving module 804, which receives the internet of things equipment and configured according to the access, joins
Number carries out the distribution progress periodically returned by sonic data when distribution.
Optionally, as one embodiment, receiving module 804 is also received to before internet of things equipment transmission data packet
The device identification that the internet of things equipment is sent by sonic data.
Optionally, as one embodiment, the data packet is User Datagram Protocol UDP message packet.
In short, the foregoing is merely the preferred embodiment of this specification embodiment, it is not intended to limit this specification
The protection domain of embodiment.It is all this specification embodiment spirit and principle within, made by any modification, equivalent replacement,
Improve etc., it should be included within the protection domain of this specification embodiment.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus
Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described
There is also other identical elements in the process of element, method, commodity or equipment.
Each embodiment in this specification embodiment is described in a progressive manner, identical phase between each embodiment
As part just to refer each other, each embodiment focuses on the differences from other embodiments.Especially for
For system embodiment, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to method
The part of embodiment illustrates.