CN106255177A - The transmission method of a kind of equipment state and device - Google Patents

The transmission method of a kind of equipment state and device Download PDF

Info

Publication number
CN106255177A
CN106255177A CN201610619069.1A CN201610619069A CN106255177A CN 106255177 A CN106255177 A CN 106255177A CN 201610619069 A CN201610619069 A CN 201610619069A CN 106255177 A CN106255177 A CN 106255177A
Authority
CN
China
Prior art keywords
configuration
smart machine
status information
beacon frame
configuration status
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610619069.1A
Other languages
Chinese (zh)
Inventor
胡鼎譞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Haier Uplus Intelligent Technology Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Haier Uplus Intelligent Technology Beijing Co Ltd
Priority to CN201610619069.1A priority Critical patent/CN106255177A/en
Publication of CN106255177A publication Critical patent/CN106255177A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels

Abstract

The invention discloses transmission method and the device of a kind of equipment state.Transmission method includes: during smart machine configuration networks, described smart machine obtains the configuration result of configuration operation, according to described configuration result, builds the beacon frame of the configuration status information carrying described smart machine, sends described beacon frame;Wherein when building described beacon frame, selecting component identifier in described beacon frame is the field of 221, and writes described configuration status information in the field.The method enables smart machine to make intelligent terminal obtain the state of smart machine clearly, accurately accessing before WiFi wireless network, so that whole configuration process becomes apparent from, understand, and adds the friendly of configuration, improves the use quality of user.

Description

The transmission method of a kind of equipment state and device
Technical field
The present invention relates to the communications field, particularly relate to transmission method and the device of a kind of equipment state.
Background technology
At present smart machine typically accesses the Internet by WIFI, is interconnected by equipment such as the Internet and intelligent terminal Intercommunication.The typical method that the WIFI module configuration process status that existing smart machine uses reports has: smart machine is to intelligence eventually Hold and send multicast message by router, use rear two the IP addresses in multicast message to carry out by after certain rule composition state State reporting., there is following problems: the router of (1) some specific model can not forwarding multicasting in the mode of above-mentioned access network Message, it is impossible to normal uploaded state;(2) in WiFi wireless network, multicast message sends generally by router or mobile phone cipher , applicable rule is less, and limitation is bigger.
Accordingly, it would be desirable to a kind of smart machine is quickly and easily to intelligent terminal's transmission equipment state, and access wireless network Method.
Summary of the invention
In order to solve the problem that prior art exists, the invention provides transmission method and the device of a kind of equipment state.
According to the first aspect of the invention, it is provided that the transmission method of a kind of equipment state, described method includes:
During smart machine configuration networks, described smart machine obtains the configuration result of configuration operation, according to described Configuration result, builds the beacon frame of the configuration status information carrying described smart machine, sends described beacon frame;
Wherein when building described beacon frame, selecting component identifier in described beacon frame is the field of 221, and at this Field writes described configuration status information.
Wherein, the beacon frame building the configuration status information carrying described smart machine includes:
The instruction indicating described beacon frame to carry described configuration status information is carried in the field that component identifier is 221 Information.
Wherein, described instruction information is the organization unique identifier that described smart machine is preset.
Wherein, build the beacon frame of configuration status information carrying described smart machine include performed below during extremely Few one:
When the described configuration result of described smart machine is not for receiving radio configuration data, structure carries described intelligence and sets The beacon frame of standby configuration status information, described configuration status information is for indicating the information entering configuration status, sends institute State beacon frame;
When the described configuration result of described smart machine is not for being properly received described configuration data, builds and carry described intelligence The beacon frame of the configuration status information of equipment, described configuration status information is the information for indicating data receiver timeout mode, Send described beacon frame;
When the described configuration result of described smart machine is for being properly received described configuration data, structure carries described intelligence and sets The beacon frame of standby configuration status information, described configuration status information is the information for indicating data to receive state, sends out Send described beacon frame, and use described configuration data to carry out equipment configuration to access wireless network;
When the described configuration result of described smart machine is for being successfully accessed described wireless network, structure carries described intelligence and sets The beacon frame of standby configuration status information, described configuration status information is the information for indicating network insertion success status, sends out Send described beacon frame;
When the described configuration result of described smart machine is for failing to access described wireless network, structure carries described intelligence and sets The beacon frame of standby configuration status information, described configuration status information is the information for indicating network insertion status of fail, sends out Send described beacon frame.
Wherein, when described configuration status information is the information for indicating data receiver timeout mode, described configuration shape State information also includes the reason of the configuration failure corresponding to described data receiver timeout mode;
When described configuration status information is the information for indicating network insertion status of fail, described configuration status information Also include the reason of configuration failure corresponding to described network insertion status of fail.
According to the second aspect of the invention, it is provided that the transmission method of a kind of equipment state, described method includes:
Step 1 intelligent terminal starts half monitoring pattern;
Intelligent terminal for reception beacon frame described in step 2;
Intelligent terminal described in step 3 extracts described intelligence from the field that component identifier is 221 of described beacon frame and sets Standby configuration status information, wherein said configuration status information is according to smart machine configuration operation during configuration networks Configuration result obtains;
Step 4 performs corresponding operation according to the described configuration status information of described smart machine.
Wherein, described step 3 also includes:
Described intelligent terminal judges that whether carrying the described beacon frame of instruction in the field that component identifier is 221 carries described The instruction information of configuration status information, if carried, then extracts the described configuration status information of described smart machine.
Wherein, described instruction information is the organization unique identifier that described smart machine is preset.
Wherein, in described step 3, configuration status information according to described smart machine performs corresponding operation and includes following At least one during execution:
When described configuration status information indicates the configuration status of described smart machine for entering configuration status, by wireless Network sends the configuration data needed for the configuration of described smart machine;
When the configuration status that described configuration status information indicates described smart machine is data receiver timeout mode, stop Send the configuration data needed for the configuration of described smart machine, notify that described intelligent terminal re-starts configuration;
When the configuration status that described configuration status information indicates described smart machine is the complete state of data receiver, stop Send the configuration data needed for the configuration of described smart machine;
When the configuration status that described configuration status information indicates described smart machine is network insertion success status, terminate Configuration process;
When the configuration status that described configuration status information indicates described smart machine is network insertion status of fail, according to The configuration reason of described configuration status information instruction notifies that described intelligent terminal operates accordingly, and terminates configuration process.
According to the third aspect of the invention we, it is provided that the transmitting device of a kind of equipment state, described transmitting device is applied to In smart machine, described transmitting device includes:
Configuration result acquisition module, during networking in the configuration of described smart machine, obtains the configuration of configuration operation As a result, and by described configuration result it is transferred to beacon frame and builds module;
Described beacon frame builds module, for building the beacon frame of the configuration status information carrying described smart machine, and By described beacon frame transmissions to sending module, wherein when building described beacon frame, described beacon frame selects component identification Symbol is the field of 221, and writes described configuration status information in the field;
Described sending module, is used for sending described beacon frame.
Wherein, described beacon frame structure module is additionally operable to carry the described letter of instruction in the field that component identifier is 221 Mark frame carries the instruction information of described configuration status information.
Wherein, described instruction information is the organization unique identifier that described smart machine is preset.
Wherein, described beacon frame build module be additionally operable to perform following at least one:
When the described configuration result of described smart machine is not for receiving radio configuration data, structure carries described intelligence and sets The beacon frame of standby configuration status information, described configuration status information is for indicating the information entering configuration status;
When the described configuration result of described smart machine is not for being properly received described configuration data, builds and carry described intelligence The beacon frame of the configuration status information of equipment, described configuration status information is the information for indicating data receiver timeout mode;
When the described configuration result of described smart machine is for being properly received described configuration data, structure carries described intelligence and sets The beacon frame of standby configuration status information, described configuration status information is the information for indicating data to receive state;
When the described configuration result of described smart machine is for being successfully accessed described wireless network, structure carries described intelligence and sets The beacon frame of standby configuration status information, described configuration status information is the information for indicating network insertion success status;
When the described configuration result of described smart machine is for failing to access described wireless network, structure carries described intelligence and sets The beacon frame of standby configuration status information, described configuration status information is the information for indicating network insertion status of fail.
Wherein, described beacon frame structure module is additionally operable to:
When described configuration status information is the information for indicating data receiver timeout mode, believe at described configuration status Breath includes the reason of the configuration failure corresponding to described data receiver timeout mode;
When described configuration status information is the information for indicating network insertion status of fail, believe at described configuration status Breath includes the reason of the configuration failure corresponding to described network insertion status of fail.
According to the fourth aspect of the invention, it is provided that the transmitting device of a kind of equipment state, described transmitting device is applied to In intelligent terminal, described transmitting device includes:
Pattern arranges module, for described intelligent terminal is set to half monitoring pattern;
Receiver module, for received beacon frame, and is transferred to information extraction modules;
Described information extraction modules, for extracting described intelligence from the field that component identifier is 221 of described beacon frame The configuration status information of energy equipment, and be transferred to described configuration status information perform module, wherein said configuration status information It is during configuration networks, to configure the configuration result of operation according to smart machine to obtain;
Described execution module, performs corresponding operation for the configuration status information according to described smart machine.
Wherein, described information extraction modules is additionally operable to:
Judge that whether carrying the described beacon frame of instruction in the field that component identifier is 221 carries described configuration status information Instruction information, if carried, then extract the described configuration status information of described smart machine.
Wherein, described instruction information is the organization unique identifier that described smart machine is preset.
Wherein, described execution module is for performing at least one in procedure below:
When described configuration status information indicates the configuration status of described smart machine for entering configuration status, by wireless Network sends the configuration data needed for the configuration of described smart machine;
When the configuration status that described configuration status information indicates described smart machine is data receiver timeout mode, stop Send the configuration data needed for the configuration of described smart machine, notify that described intelligent terminal re-starts configuration;
When the configuration status that described configuration status information indicates described smart machine is the complete state of data receiver, stop Send the configuration data needed for the configuration of described smart machine;
When the configuration status that described configuration status information indicates described smart machine is network insertion success status, terminate Configuration process;
When the configuration status that described configuration status information indicates described smart machine is network insertion status of fail, according to The configuration reason of described configuration status information instruction notifies that described intelligent terminal operates accordingly, and terminates configuration process.
The transmission method of the equipment state of the present invention and device make the smart machine being in monitoring pattern access WiFi without Intelligent terminal is enable to obtain the state of smart machine clearly, accurately before gauze network, so that whole configuration process is more Clearly, understand, and add the friendly of configuration, improve the use quality of user.Intelligent terminal can obtain in time simultaneously Configuration completion status also stops sending configuration data, reduces offered load, makes smart machine faster, preferably access wireless network Network.
Accompanying drawing explanation
The accompanying drawing of the part constituting the present invention is used for providing a further understanding of the present invention, and the present invention's is schematic real Execute example and illustrate for explaining the present invention, being not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the transmission method in smart machine side of the equipment state according to the present invention;
Fig. 2 is the transmission method in intelligent terminal side of the equipment state according to the present invention;
Fig. 3 is the Signalling exchange figure between the smart machine according to the present invention and intelligent terminal;
Fig. 4 is the flow chart of the normal flow of the transmission configuration state according to the present invention;
Fig. 5 is the flow chart of the abnormal flow process of the transmission configuration state according to the present invention;
Fig. 6 is the flow chart of another abnormal flow process of the transmission configuration state according to the present invention;
Fig. 7 is that application according to the present invention is in the module map of the transmitting device of smart machine;
Fig. 8 is that application according to the present invention is in the module map of the transmitting device of intelligent terminal.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.Need Illustrating, in the case of not conflicting, the embodiment in the application and the feature in embodiment can mutual combination in any.
Fig. 1 shows the transmission method in smart machine side of the equipment state according to the present invention.As it is shown in figure 1, this transmission Method includes:
Step 101, during smart machine configuration networks, smart machine obtains the configuration result of configuration operation;
Step 102, according to configuration result, builds the beacon frame of the configuration status information carrying smart machine, wherein at structure When building beacon frame, selecting component identifier within a beacon frame is the field of 221, and write configuration status information in the field;
Step 103, sends beacon frame.
Smart machine is in half monitoring pattern, i.e. sniffer and ap mode are opened simultaneously.This way it is possible to realize often Stop Fixed Time Interval on individual wireless working channel, (comprise management frame, control receiving all wireless datas on this channel Frame, Frame), and beacon message can be sent while collecting wireless data packet.
Smart machine poll in the range of available channel sends beacon frame, and this beacon frame carries configuration status information.Letter Mark frame is a kind of broadcast frame, can be broadcasted by smart machine, and any have monitoring in the range of wireless network signal receiving range The intelligent terminal of function, such as mobile phone, can receive.
In the field that component identifier (Element ID) is 221, carry instruction beacon frame carry configuration status information Instruction information.This instruction information may refer to the organization unique identifier (OUI) that smart machine is preset.Certainly, instruction information is also Can be other information user-defined, carry configuration status information for the field that labelled element identifier is 221. Selecting component identifier i.e., within a beacon frame is the field setting numerical value, and writes institute in the organization unique identifier of field State the organization unique identifier that smart machine is preset.Specifically, in the present invention, selecting Element ID is the field of 221, OUI in Element ID 221 fills in the OUI of this smart machine manufacturer definition.It addition, the number in Element ID 221 Configuration status information according to district's write smart machine.The a length of presetting length of configuration status information, it can include configuration State and configuration reason corresponding to this state.Such as, the length range of configuration status information is 0-252 byte, wherein configures State accounts for 4 bytes, and configuration reason accounts for 4 bytes, and remaining byte retains.Certainly, specific rules can require to make by oneself according to manufacturer Justice, but the length of configuration status information need to be in 0-252 bytes range.
The beacon frame and the transmission beacon frame that build the configuration status information carrying smart machine include following execution process In at least one:
When the configuration result of smart machine is not for receiving radio configuration data, build the configuration status carrying smart machine The beacon frame of information, configuration status information is for indicating the information entering configuration status, sends beacon frame;
When the configuration result of smart machine is not for being properly received configuration data, build the configuration status letter carrying smart machine The beacon frame of breath, configuration status information is the information for indicating data receiver timeout mode, sends beacon frame;
When the configuration result of smart machine is for being properly received configuration data, build the configuration status information carrying smart machine Beacon frame, configuration status information is for indicating data to receive the information of state, sends beacon frame, and uses configuration number Configure according to carrying out equipment to access wireless network;
When the configuration result of smart machine is for being successfully accessed wireless network, build the configuration status information carrying smart machine Beacon frame, configuration status information is the information for indicating network insertion success status, send beacon frame;
When the configuration result of smart machine is for failing to access wireless network, build the configuration status information carrying smart machine Beacon frame, configuration status information is the information for indicating network insertion status of fail, send beacon frame.
Wherein, when the information that configuration status information is for indicating data receiver timeout mode, configuration status information is also Including the reason of the configuration failure corresponding to data receiver timeout mode, the reason of this configuration failure can be do not receive data, Receive incomplete data etc..When the information that configuration status information is for indicating network insertion status of fail, configuration status information Also including the reason of configuration failure corresponding to network insertion status of fail, the reason of this configuration failure can be without available targets Network, user name or code error, Dynamic Host Configuration Protocol server request timed out etc..
Fig. 2 shows the transmission method in intelligent terminal side of the equipment state according to the present invention.As in figure 2 it is shown, this transmission Method includes:
Step 201, intelligent terminal starts half monitoring pattern;
Step 202, intelligent terminal for reception beacon frame;
Step 203, intelligent terminal extracts the configuration shape of smart machine from the field that the component identifier of beacon frame is 221 State information, wherein configuration status information is to configure the configuration result of operation according to smart machine during configuration networks to obtain 's;
Step 204, performs corresponding operation according to the configuration status information of smart machine.
Step 203 also includes: intelligent terminal judges that whether carrying instruction beacon frame in the field that component identifier is 221 takes With the instruction information of configuration status information, if carried, then extract the described configuration status information of smart machine.As with reference to Fig. 1 Described, instruction information can be the organization unique identifier that described smart machine is preset.Certainly, instruction information can also be user Other information self-defining, carry configuration status information for the field that labelled element identifier is 221.
Smart machine writes configuration status information in the field that Element ID is 221.When intelligent terminal for reception is to letter During mark frame, the Element ID 221 in beacon frame is resolved, (the such as C8-D7-when the OUI resolved is privately owned definition 79), the data field of Element ID 221 is resolved, obtain the configuration status of smart machine.Intelligent terminal is according to acquisition The state of smart machine with open arms this configuration status can be shown to user, make user clearly obtain smart machine current State.Such as, configuration status can include normal condition and abnormality, and wherein, normal condition includes: configuration starts, configures Data receiver is complete, network insertion is successful;Abnormality includes: configuration data receiver time-out, network insertion failure (specifically can be wrapped Include user name or code error, acquisition IP failure, signal is weak cannot establish the link).This is described in detail below in conjunction with embodiment A little configuration statuses.
It addition, in step 203, perform corresponding operation according to the configuration status information of smart machine and include mistake performed below At least one in journey:
When the configuration status of configuration status information indicating intelligent equipment is for entering configuration status, sent by wireless network Configuration data needed for smart machine configuration;
When the configuration status of configuration status information indicating intelligent equipment is data receiver timeout mode, stop sending intelligence Configuration data needed for equipment configuration, notify that intelligent terminal re-starts configuration;
When the configuration status of configuration status information indicating intelligent equipment is the complete state of data receiver, stop sending intelligence Configuration data needed for equipment configuration;
When the configuration status of configuration status information indicating intelligent equipment is network insertion success status, terminate to configure Journey;
When the configuration status of configuration status information indicating intelligent equipment is network insertion status of fail, according to configuration status The configuration reason of information instruction notifies that intelligent terminal operates accordingly, and terminates configuration process.
Fig. 3 shows the Signalling exchange figure between smart machine and intelligent terminal.Shown in reference Fig. 3, this Signalling exchange mistake Journey comprises the following steps:
Step 301, smart machine starts partly monitors pattern;
Step 302, smart machine sends the beacon frame carrying its configuration status information, and this configuration status information is included in letter In Element ID 221 field of mark frame, this configuration status information indicating intelligent equipment enters configuration status;
Step 303, intelligent terminal, according to default analytic method, resolves Element ID 221 field in beacon frame, And parse configuration status;
Step 304, intelligent terminal sends configuration data;
Step 305, intelligent terminal uses the configuration status of the smart machine of acquisition to perform corresponding operation.
The specific embodiment of transmission configuration state between smart machine and intelligent terminal is described below in detail.
Embodiment one
This embodiment is the normal flow of transmission configuration state.With reference to shown in Fig. 4, comprise the following steps:
Step 401, smart machine starts partly monitors pattern;
Step 402, smart machine sends the beacon frame carrying its configuration status information, and this configuration status information is included in letter In Element ID 221 field of mark frame, this configuration status information indicating intelligent equipment enters configuration status;
Step 403, intelligent terminal, according to default analytic method, resolves Element ID 221 field in beacon frame, And parse configuration status;
Step 404, intelligent terminal sends configuration data;
Step 405, smart machine receives configuration data and completes, and to update the configuration status in beacon frame be that data receiver is complete Finish state;
Step 406, smart machine sends beacon frame, and uses configuration data access wireless network;
Step 407, it is the complete state of data receiver that intelligent terminal obtains the state of smart machine, stops sending configuration number According to;
Step 408, smart machine uses configuration data to be successfully accessed networking;
Step 409, the configuration status that smart machine updates in beacon frame is network insertion success status, mark of concurrently delivering letters Frame;
Step 410, it is network insertion success status that intelligent terminal obtains the state of smart machine, exits configuration.
Embodiment two
This embodiment is the abnormal flow process of transmission configuration state.With reference to shown in Fig. 5, comprise the following steps:
Step 501, smart machine starts partly monitors pattern;
Step 502, smart machine sends the beacon frame carrying its configuration status information, and this configuration status information is included in letter In Element ID 221 field of mark frame, this configuration status information indicating intelligent equipment enters configuration status;
Step 503, intelligent terminal, according to default analytic method, resolves Element ID 221 field in beacon frame, And parse configuration status;
Step 504, intelligent terminal sends configuration data;
Step 505, smart machine receives configuration data exception, exceedes special time and be not successfully received, by new configuration shape State, i.e. data receiver timeout mode, is filled up in beacon frame;
Step 506, smart machine sends beacon frame;
Step 507, it is configuration data receiver timeout mode that intelligent terminal obtains the state of smart machine, stops sending configuration Data, and according to time-out reason, instruct user to reconfigure.
Embodiment three
This embodiment is another abnormal flow process of transmission configuration state.With reference to shown in Fig. 6, comprise the following steps:
Step 601, smart machine starts partly monitors pattern;
Step 602, smart machine sends the beacon frame carrying its configuration status information, and this configuration status information is included in letter In Element ID 221 field of mark frame, this configuration status information indicating intelligent equipment enters configuration status;
Step 603, intelligent terminal, according to default analytic method, resolves Element ID 221 field in beacon frame, And parse configuration status;
Step 604, intelligent terminal sends configuration data;
Step 605, smart machine receives configuration data and completes, and to update the configuration status in beacon frame be that data receiver is complete Finish state;
Step 606, smart machine sends beacon frame, and uses configuration data access wireless network;
Step 607, it is the configuration complete state of data receiver that intelligent terminal obtains the state of smart machine, stops sending configuration Data;
Step 608, smart machine uses configuration data access network failure;
Step 609, the configuration status that smart machine updates in beacon frame is network insertion status of fail, mark of concurrently delivering letters Frame;
Step 610, it is network insertion status of fail that intelligent terminal obtains the state of smart machine, carries out according to error reason Corresponding prompting, exits configuration.
Present invention also offers the transmitting device of a kind of equipment state, this transmitting device is applied in smart machine.Reference Shown in Fig. 7, this transmitting device includes:
Configuration result acquisition module 701, during networking in smart machine configuration, obtains the configuration knot of configuration operation Really, and by configuration result it is transferred to beacon frame and builds module;
Described beacon frame builds module 702, for building the beacon frame of the configuration status information carrying smart machine, and will Beacon frame transmissions is to sending module, and wherein when building beacon frame, selecting component identifier within a beacon frame is the field of 221, And write configuration status information in the field;
Sending module 703, is used for sending beacon frame.
Wherein, beacon frame structure module is additionally operable to carry in the field that component identifier is 221 and indicates beacon frame to carry The instruction information of configuration status information.This instruction information is the organization unique identifier that smart machine is preset.
Beacon frame build module 702 be additionally operable to perform following at least one:
When the configuration result of smart machine is not for receiving radio configuration data, build the configuration status carrying smart machine The beacon frame of information, configuration status information is for indicating the information entering configuration status;
When the configuration result of smart machine is not for being properly received configuration data, build the configuration status letter carrying smart machine The beacon frame of breath, configuration status information is the information for indicating data receiver timeout mode;
When the configuration result of smart machine is for being properly received configuration data, build the configuration status information carrying smart machine Beacon frame, configuration status information is for indicating data to receive the information of state;
When the configuration result of smart machine is for being successfully accessed wireless network, build the configuration status information carrying smart machine Beacon frame, configuration status information is the information for indicating network insertion success status;
When the configuration result of smart machine is for failing to access wireless network, build the configuration status information carrying smart machine Beacon frame, configuration status information is the information for indicating network insertion status of fail.
Beacon frame builds module 702 and is additionally operable to:
When described configuration status information is the information for indicating data receiver timeout mode, believe at described configuration status Breath includes the reason of the configuration failure corresponding to described data receiver timeout mode;
When described configuration status information is the information for indicating network insertion status of fail, believe at described configuration status Breath includes the reason of the configuration failure corresponding to described network insertion status of fail.
This is applied to the concrete function of each module of transmitting device of smart machine with reference to being previously with regard to the biography of equipment state Described in transmission method, do not repeat them here.
Present invention also offers the transmitting device of a kind of equipment state, this transmitting device is applied in intelligent terminal.Reference Shown in Fig. 8, this transmitting device includes::
Pattern arranges module 801, for intelligent terminal is set to monitoring pattern;
Receiver module 802, for received beacon frame, and is transferred to information extraction modules;
Information extraction modules 803, for extracting joining of smart machine from the field that component identifier is 221 of beacon frame Configuration state information, and be transferred to configuration status information perform module, wherein configuration status information is to join according to smart machine Insert and network process configures what the configuration result of operation obtained;
Perform module 804, perform corresponding operation for the configuration status information according to smart machine.
Information extraction modules 803 is additionally operable to judge that whether carrying instruction beacon frame in the field that component identifier is 221 takes With the instruction information of configuration status information, if carried, then extract the configuration status information of smart machine.Instruction information is intelligence The organization unique identifier that equipment is preset.
Perform module 804 for performing at least one in procedure below:
When the configuration status of configuration status information indicating intelligent equipment is for entering configuration status, sent by wireless network Configuration data needed for smart machine configuration;
When the configuration status of configuration status information indicating intelligent equipment is data receiver timeout mode, stop sending intelligence Configuration data needed for equipment configuration, notify that intelligent terminal re-starts configuration;
When the configuration status of configuration status information indicating intelligent equipment is the complete state of data receiver, stop sending intelligence Configuration data needed for equipment configuration;
When the configuration status of configuration status information indicating intelligent equipment is network insertion success status, terminate to configure Journey;
When the configuration status of configuration status information indicating intelligent equipment is network insertion status of fail, according to configuration status The configuration reason of information instruction notifies that intelligent terminal operates accordingly, and terminates configuration process.
This is applied to the concrete function of each module of transmitting device of intelligent terminal with reference to being previously with regard to the biography of equipment state Described in transmission method, do not repeat them here.
The transmission method of the equipment state of the present invention and device make the smart machine being in half monitoring pattern access WiFi Intelligent terminal is enable to obtain the state of smart machine clearly, accurately before wireless network, so that whole configuration process is more Add clear, understand, and add the friendly of equipment, improve the use quality of user, and solve intelligent wireless and set The problem that before standby access wireless network, mobile terminal device cannot obtain this smart machine state.Intelligent terminal can be timely simultaneously Obtain configuration completion status and stop sending configuration data, reducing offered load, make smart machine faster, preferably access wireless Network.Additionally, the transmission method of the equipment state of the present invention and the device suitability are wide, reporting schemes is simple, reliable, builds Low cost.
Specifically, the transmission method of the equipment state of the present invention and having the beneficial effect that of device
(1) Element 221 of Beacon frame carries configuration status, has uniqueness.Further, by this Element 221, the configuration rule of any manufacturer all definables oneself.
(2) this transmission method supports holotype router or mobile phone, as long as i.e. 802.11 agreements supported by router or mobile phone All can receive the beacon frame comprising configuration status.
(3) in this transmission method, it is clear, stable that configuration status is expressed.
(4) can notify that intelligent terminal stops sending configuration data in time, reduce offered load, promote after having configured WiFi access efficiency.
Descriptions above can combine enforcement individually or in every way, and these variant all exist Within protection scope of the present invention.
It should be noted that in this article, term " includes ", " comprising " or its any other variant are intended to non-row Comprising of his property, so that include that the article of a series of key element or equipment not only include those key elements, but also include not There are other key elements being expressly recited, or also include the key element intrinsic for this article or equipment.There is no more limit In the case of system, statement " including ... " key element limited, it is not excluded that in the article including described key element or equipment There is also other identical element.
Above example is only in order to illustrate technical scheme and unrestricted, reference only to preferred embodiment to this Bright it is described in detail.It will be understood by those within the art that, technical scheme can be modified Or equivalent, without deviating from the spirit and scope of technical solution of the present invention, all should contain the claim model in the present invention In the middle of enclosing.

Claims (18)

1. the transmission method of an equipment state, it is characterised in that described method includes:
During smart machine configuration networks, described smart machine obtains the configuration result of configuration operation, according to described configuration As a result, build the beacon frame of the configuration status information carrying described smart machine, send described beacon frame;
Wherein when building described beacon frame, selecting component identifier in described beacon frame is the field of 221, and in this field Middle write described configuration status information.
2. the method for claim 1, it is characterised in that build the letter of the configuration status information carrying described smart machine Mark frame includes:
The instruction letter indicating described beacon frame to carry described configuration status information is carried in the field that component identifier is 221 Breath.
3. method as claimed in claim 2, it is characterised in that described instruction information be the tissue preset of described smart machine only One identifier.
4. the method as described in any one of claims 1 to 3, it is characterised in that build the configuration shape carrying described smart machine The beacon frame of state information and send described beacon frame include performed below during at least one:
When the described configuration result of described smart machine is not for receiving radio configuration data, builds and carry described smart machine The beacon frame of configuration status information, described configuration status information is for indicating the information entering configuration status, sending described letter Mark frame;
When the described configuration result of described smart machine is not for being properly received described configuration data, builds and carry described smart machine The beacon frame of configuration status information, described configuration status information is the information for indicating data receiver timeout mode, sends Described beacon frame;
When the described configuration result of described smart machine is for being properly received described configuration data, builds and carry described smart machine The beacon frame of configuration status information, described configuration status information is the information for indicating data to receive state, sends institute State beacon frame, and use described configuration data to carry out equipment configuration to access wireless network;
When the described configuration result of described smart machine is for being successfully accessed described wireless network, builds and carry described smart machine The beacon frame of configuration status information, described configuration status information is the information for indicating network insertion success status, sends institute State beacon frame;
When the described configuration result of described smart machine is for failing to access described wireless network, builds and carry described smart machine The beacon frame of configuration status information, described configuration status information is the information for indicating network insertion status of fail, sends institute State beacon frame.
5. method as claimed in claim 4, it is characterised in that
When described configuration status information is the information for indicating data receiver timeout mode, described configuration status information is also wrapped Include the reason of configuration failure corresponding to described data receiver timeout mode;
When described configuration status information is the information for indicating network insertion status of fail, described configuration status information is also wrapped Include the reason of configuration failure corresponding to described network insertion status of fail.
6. the transmission method of an equipment state, it is characterised in that described method includes:
Step 1 intelligent terminal starts half monitoring pattern;
Intelligent terminal for reception beacon frame described in step 2;
Intelligent terminal described in step 3 extracts described smart machine from the field that component identifier is 221 of described beacon frame Configuration status information, wherein said configuration status information is to configure the configuration of operation during configuration networks according to smart machine Result obtains;
Step 4 performs corresponding operation according to the described configuration status information of described smart machine.
7. method as claimed in claim 6, it is characterised in that described step 3 also includes:
Described intelligent terminal judges that whether carrying the described beacon frame of instruction in the field that component identifier is 221 carries described configuration The instruction information of status information, if carried, then extracts the described configuration status information of described smart machine.
8. method as claimed in claim 7, it is characterised in that described instruction information be the tissue preset of described smart machine only One identifier.
9. the method as described in any one of claim 6 to 8, it is characterised in that according to described smart machine in described step 3 Configuration status information perform corresponding operation include performed below during at least one:
When described configuration status information indicates the configuration status of described smart machine for entering configuration status, pass through wireless network Send the configuration data needed for the configuration of described smart machine;
When the configuration status that described configuration status information indicates described smart machine is data receiver timeout mode, stop sending Configuration data needed for the configuration of described smart machine, notify that described intelligent terminal re-starts configuration;
When the configuration status that described configuration status information indicates described smart machine is the complete state of data receiver, stop sending Configuration data needed for the configuration of described smart machine;
When the configuration status that described configuration status information indicates described smart machine is network insertion success status, terminate configuration Process;
When the configuration status that described configuration status information indicates described smart machine is network insertion status of fail, according to described The configuration reason of configuration status information instruction notifies that described intelligent terminal operates accordingly, and terminates configuration process.
10. the transmitting device of an equipment state, it is characterised in that described transmitting device is applied in smart machine, described biography Defeated device includes:
Configuration result acquisition module, during networking in the configuration of described smart machine, obtains the configuration result of configuration operation, And described configuration result is transferred to beacon frame structure module;
Described beacon frame builds module, for building the beacon frame of the configuration status information carrying described smart machine, and by institute State beacon frame transmissions to sending module, wherein when building described beacon frame, select the component identifier to be in described beacon frame The field of 221, and write described configuration status information in the field;
Described sending module, is used for sending described beacon frame.
11. transmitting devices as claimed in claim 10, it is characterised in that described beacon frame builds module and is additionally operable at element mark Know in the field that symbol is 221 and carry the instruction information indicating described beacon frame to carry described configuration status information.
12. transmitting devices as claimed in claim 11, it is characterised in that described instruction information is that described smart machine is preset Organization unique identifier.
13. transmitting devices as described in any one of claim 10 to 12, it is characterised in that described beacon frame builds module and also uses At least one in execution is following:
When the described configuration result of described smart machine is not for receiving radio configuration data, builds and carry described smart machine The beacon frame of configuration status information, described configuration status information is for indicating the information entering configuration status;
When the described configuration result of described smart machine is not for being properly received described configuration data, builds and carry described smart machine The beacon frame of configuration status information, described configuration status information is the information for indicating data receiver timeout mode;
When the described configuration result of described smart machine is for being properly received described configuration data, builds and carry described smart machine The beacon frame of configuration status information, described configuration status information is the information for indicating data to receive state;
When the described configuration result of described smart machine is for being successfully accessed described wireless network, builds and carry described smart machine The beacon frame of configuration status information, described configuration status information is the information for indicating network insertion success status;
When the described configuration result of described smart machine is for failing to access described wireless network, builds and carry described smart machine The beacon frame of configuration status information, described configuration status information is the information for indicating network insertion status of fail.
14. transmitting devices as claimed in claim 13, it is characterised in that described beacon frame builds module and is additionally operable to:
When described configuration status information is the information for indicating data receiver timeout mode, in described configuration status information Reason including the configuration failure corresponding to described data receiver timeout mode;
When described configuration status information is the information for indicating network insertion status of fail, in described configuration status information Reason including the configuration failure corresponding to described network insertion status of fail.
The transmitting device of 15. 1 kinds of equipment states, it is characterised in that described transmitting device is applied in intelligent terminal, described biography Defeated device includes:
Pattern arranges module, for described intelligent terminal is set to half monitoring pattern;
Receiver module, for received beacon frame, and is transferred to information extraction modules;
Described information extraction modules, sets for extracting described intelligence from the field that component identifier is 221 of described beacon frame Standby configuration status information, and be transferred to described configuration status information perform module, wherein said configuration status information is root During configuration networks, configure what the configuration result of operation obtained according to smart machine;
Described execution module, performs corresponding operation for the configuration status information according to described smart machine.
16. transmitting devices as claimed in claim 15, it is characterised in that described information extraction modules is additionally operable to:
Judge whether the field that component identifier is 221 carries the finger indicating described beacon frame to carry described configuration status information Showing information, if carried, then extracting the described configuration status information of described smart machine.
17. transmitting devices as claimed in claim 16, it is characterised in that described instruction information is that described smart machine is preset Organization unique identifier.
18. methods as described in any one of claim 15 to 17, it is characterised in that described execution module is used for performing following mistake At least one in journey:
When described configuration status information indicates the configuration status of described smart machine for entering configuration status, pass through wireless network Send the configuration data needed for the configuration of described smart machine;
When the configuration status that described configuration status information indicates described smart machine is data receiver timeout mode, stop sending Configuration data needed for the configuration of described smart machine, notify that described intelligent terminal re-starts configuration;
When the configuration status that described configuration status information indicates described smart machine is the complete state of data receiver, stop sending Configuration data needed for the configuration of described smart machine;
When the configuration status that described configuration status information indicates described smart machine is network insertion success status, terminate configuration Process;
When the configuration status that described configuration status information indicates described smart machine is network insertion status of fail, according to described The configuration reason of configuration status information instruction notifies that described intelligent terminal operates accordingly, and terminates configuration process.
CN201610619069.1A 2016-07-29 2016-07-29 The transmission method of a kind of equipment state and device Pending CN106255177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610619069.1A CN106255177A (en) 2016-07-29 2016-07-29 The transmission method of a kind of equipment state and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610619069.1A CN106255177A (en) 2016-07-29 2016-07-29 The transmission method of a kind of equipment state and device

Publications (1)

Publication Number Publication Date
CN106255177A true CN106255177A (en) 2016-12-21

Family

ID=57607300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610619069.1A Pending CN106255177A (en) 2016-07-29 2016-07-29 The transmission method of a kind of equipment state and device

Country Status (1)

Country Link
CN (1) CN106255177A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108811033A (en) * 2017-04-26 2018-11-13 国基电子(上海)有限公司 Network creating method and the network equipment
CN109150656A (en) * 2018-08-15 2019-01-04 北京小米移动软件有限公司 State based reminding method, device, equipment and the storage medium of smart machine
WO2019037661A1 (en) * 2017-08-22 2019-02-28 阿里巴巴集团控股有限公司 Method, device, and system for monitoring network access status of network distribution device
CN110099393A (en) * 2018-01-30 2019-08-06 阿里巴巴集团控股有限公司 Monitor the methods, devices and systems of the network insertion state of distribution net equipment
CN110099429A (en) * 2018-01-29 2019-08-06 九阳股份有限公司 A kind of household appliance networking method
CN111586691A (en) * 2020-05-20 2020-08-25 青岛海尔科技有限公司 Method and device for configuring wireless connection and wireless connectable equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202794A (en) * 2014-08-20 2014-12-10 广东美的集团芜湖制冷设备有限公司 Household appliance, and wireless network configuration method and device thereof
CN104469981A (en) * 2014-11-21 2015-03-25 广东瑞德智能科技股份有限公司 Method and system for connecting intelligent household appliance into router
CN104486755A (en) * 2014-12-03 2015-04-01 北京京东尚科信息技术有限公司 System and method for realizing WIFI (Wireless Fidelity) configuration of intelligent equipment based on ibeacon
CN105141450A (en) * 2015-07-29 2015-12-09 青岛海尔科技有限公司 Configuration methods and devices for WIFI module of internet of things device
CN105491600A (en) * 2015-12-30 2016-04-13 青岛海尔智能家电科技有限公司 Network access method, device and related equipment for household appliances
US20160210185A1 (en) * 2015-01-21 2016-07-21 Samsung Electronics Co., Ltd. Method and apparatus for wireless communication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202794A (en) * 2014-08-20 2014-12-10 广东美的集团芜湖制冷设备有限公司 Household appliance, and wireless network configuration method and device thereof
CN104469981A (en) * 2014-11-21 2015-03-25 广东瑞德智能科技股份有限公司 Method and system for connecting intelligent household appliance into router
CN104486755A (en) * 2014-12-03 2015-04-01 北京京东尚科信息技术有限公司 System and method for realizing WIFI (Wireless Fidelity) configuration of intelligent equipment based on ibeacon
US20160210185A1 (en) * 2015-01-21 2016-07-21 Samsung Electronics Co., Ltd. Method and apparatus for wireless communication
CN105141450A (en) * 2015-07-29 2015-12-09 青岛海尔科技有限公司 Configuration methods and devices for WIFI module of internet of things device
CN105491600A (en) * 2015-12-30 2016-04-13 青岛海尔智能家电科技有限公司 Network access method, device and related equipment for household appliances

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108811033A (en) * 2017-04-26 2018-11-13 国基电子(上海)有限公司 Network creating method and the network equipment
WO2019037661A1 (en) * 2017-08-22 2019-02-28 阿里巴巴集团控股有限公司 Method, device, and system for monitoring network access status of network distribution device
CN109429243A (en) * 2017-08-22 2019-03-05 阿里巴巴集团控股有限公司 Monitor the methods, devices and systems of the network insertion state of distribution net equipment
US11533225B2 (en) 2017-08-22 2022-12-20 Alibaba Group Holding Limited Method, apparatus, and system for monitoring network access state of network distribution device
CN110099429A (en) * 2018-01-29 2019-08-06 九阳股份有限公司 A kind of household appliance networking method
CN110099393A (en) * 2018-01-30 2019-08-06 阿里巴巴集团控股有限公司 Monitor the methods, devices and systems of the network insertion state of distribution net equipment
CN109150656A (en) * 2018-08-15 2019-01-04 北京小米移动软件有限公司 State based reminding method, device, equipment and the storage medium of smart machine
CN111586691A (en) * 2020-05-20 2020-08-25 青岛海尔科技有限公司 Method and device for configuring wireless connection and wireless connectable equipment

Similar Documents

Publication Publication Date Title
CN106255177A (en) The transmission method of a kind of equipment state and device
CN102461288B (en) The enhanced debugging of Radio Network System
EP2541834B1 (en) Method and device for managing machince-to-machine network topology structure
CN105050087B (en) A kind of method and system of multi-protocols compatible equipment access WiFi network
KR101740449B1 (en) Method for changing gateway in machine-to-machine (m2m) system and device therefor
CN103747441B (en) Wireless network access method and access device
US9872128B2 (en) Method of establishing stable Piconet and system of establishment of stable Piconet based on bluetooth
CN105554754A (en) Method and system for accessing WIFI module of the internet of things to network
CN103713608A (en) Hierarchical network architecture of wireless Internet-of-Things home system and networking communication method thereof
CN103416090A (en) Method and apparatus for handling bursty network entry and re-entry in machine to machine networks
CN105120507A (en) Data packet monitoring method and system
CN103369510B (en) The collocation method of APN information and device
CN104768150A (en) Method and system for connecting WiFi equipment with wireless hot spot
CN108023687B (en) Information sending and receiving method and device, base station and terminal
CN111405492A (en) Method, device, storage medium, and electronic device for connecting to target network
KR20220119477A (en) Method and device for sidelink communication
CN107645496A (en) A kind of distribution method and system of intelligent electronic device
CN104869621B (en) A kind of Network Recognition method and apparatus
CN111226463B (en) Method and device for processing link establishment failure and computer storage medium
CN105245695B (en) A kind of method and system improving wechat AirKiss compatibility
CN103533665A (en) Realization method of LTE terminal comprehensive tester state machine
CN105992162A (en) Method for communication through multicast frame embedded data under unrelated WIFI environment
CN106162647A (en) A kind of smart machine configuration method of network entry and device
CN113613251A (en) Information synchronization method and system, storage medium and electronic device
CN116614172A (en) Satellite communication method, nonvolatile storage medium, and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161221

RJ01 Rejection of invention patent application after publication